Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /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:59:03.782619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_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
 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":["1401965264","1401965261","1401965266","1401965335","1401965295","1401965268"],"photo_ids_order":["1401965261","1401965264","1401965266","1401965268","1401965295","1401965335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e16ac900fda4bbdf4acac35440565034.jpg","text":"TemporaryFile(/tmp/multipartBody1958083916920282127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222005416,"filename":"image_30122025_23_08_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb4798159959f2cde91a32a68007c23c.jpg","text":"TemporaryFile(/tmp/multipartBody1370033799944082191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222005416,"filename":"image_30122025_23_08_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bf38e4653313240ae04d24d1b7ee0b5.jpg","text":"TemporaryFile(/tmp/multipartBody7803755215022188000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222005416,"filename":"image_30122025_23_09_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e067ce76cfac2c78deb88bf5cbd7464.jpg","text":"TemporaryFile(/tmp/multipartBody1469942048442186123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222005416,"filename":"image_30122025_23_09_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad30da2778e5c7c25bdb27503712786b.jpg","text":"TemporaryFile(/tmp/multipartBody8309043796172541284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222005416,"filename":"image_30122025_23_09_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b7b0caaf594eaa3f93934a4cf35397e.jpg","text":"TemporaryFile(/tmp/multipartBody1506259812122936953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222005416,"filename":"image_30122025_23_09_14_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965266","file1":"1401965264","file0":"1401965261","file4":"1401965295","file5":"1401965335","file3":"1401965268"},"map_files_photo_id_array":[{"photo_id":"1401965335","filename":"file5"},{"photo_id":"1401965266","filename":"file2"},{"photo_id":"1401965295","filename":"file4"},{"photo_id":"1401965264","filename":"file1"},{"photo_id":"1401965261","filename":"file0"},{"photo_id":"1401965268","filename":"file3"}],"portfolio_id":29790658,"hashtag_by_photo_ids":[{"1401965264":["hashtag1","hashtag2"]},{"1401965261":["hashtag1","hashtag2"]},{"1401965266":["hashtag1","hashtag2"]},{"1401965335":["hashtag1","hashtag2"]},{"1401965295":["hashtag1","hashtag2"]},{"1401965268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29790658 used, photo_id : ArrayBuffer(1401965264, 1401965261, 1401965266, 1401965335, 1401965295, 1401965268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49788165092468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:00:02.484801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_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/09/image_30122025_23_09_44_10542.jpg', '/home/pi/Desktop/images/30122025/23/09/image_30122025_23_09_54_9622.jpg', '/home/pi/Desktop/images/30122025/23/09/image_30122025_23_10_05_10624.jpg', '/home/pi/Desktop/images/30122025/23/10/image_30122025_23_10_14_9805.jpg', '/home/pi/Desktop/images/30122025/23/10/image_30122025_23_10_24_9811.jpg', '/home/pi/Desktop/images/30122025/23/10/image_30122025_23_10_34_9702.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/09/image_30122025_23_09_44_10542.jpg
/home/pi/Desktop/images/30122025/23/09/image_30122025_23_09_54_9622.jpg
/home/pi/Desktop/images/30122025/23/09/image_30122025_23_10_05_10624.jpg
/home/pi/Desktop/images/30122025/23/10/image_30122025_23_10_14_9805.jpg
/home/pi/Desktop/images/30122025/23/10/image_30122025_23_10_24_9811.jpg
/home/pi/Desktop/images/30122025/23/10/image_30122025_23_10_34_9702.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.067603349685669 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:00:11.950696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_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
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965733","1401965732","1401965728","1401965731","1401965694","1401965730"],"photo_ids_order":["1401965694","1401965728","1401965730","1401965731","1401965732","1401965733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cc42c807df767280ea53bdb2268634e.jpg","text":"TemporaryFile(/tmp/multipartBody8832578778968969707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222073478,"filename":"image_03112025_20_59_08_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82fa97de312d2d8079a8a8f63f94e32c.jpg","text":"TemporaryFile(/tmp/multipartBody3999092994727126157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222073478,"filename":"image_03112025_20_59_05_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3abe68bd3917629a7f7a647cb447c81.jpg","text":"TemporaryFile(/tmp/multipartBody1862024954096741569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222073478,"filename":"image_03112025_20_58_50_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d081f76c1b865f38ccbda1c92e733b59.jpg","text":"TemporaryFile(/tmp/multipartBody7783027314708481467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222073478,"filename":"image_03112025_20_58_56_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8468e3a69e4230386f8a7a7c7080f9d6.jpg","text":"TemporaryFile(/tmp/multipartBody5328106024782969323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222073478,"filename":"image_03112025_20_58_47_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d60b197392a74ea79a21df710d5cb788.jpg","text":"TemporaryFile(/tmp/multipartBody6793245706290146565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222073478,"filename":"image_03112025_20_58_53_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965730","file1":"1401965728","file0":"1401965694","file4":"1401965732","file5":"1401965733","file3":"1401965731"},"map_files_photo_id_array":[{"photo_id":"1401965733","filename":"file5"},{"photo_id":"1401965730","filename":"file2"},{"photo_id":"1401965732","filename":"file4"},{"photo_id":"1401965728","filename":"file1"},{"photo_id":"1401965694","filename":"file0"},{"photo_id":"1401965731","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965733":["hashtag1","hashtag2"]},{"1401965732":["hashtag1","hashtag2"]},{"1401965728":["hashtag1","hashtag2"]},{"1401965731":["hashtag1","hashtag2"]},{"1401965694":["hashtag1","hashtag2"]},{"1401965730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965733, 1401965732, 1401965728, 1401965731, 1401965694, 1401965730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5307400226593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:01:02.753735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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_01012026
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29866072, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1767222123000}
4219
4297234
4219
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/31122025/23/59/image_01012026_00_00_05_9907.jpg', '/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_15_9714.jpg', '/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_24_9768.jpg', '/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_35_10660.jpg', '/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_45_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/31122025/23/59/image_01012026_00_00_05_9907.jpg
/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_15_9714.jpg
/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_24_9768.jpg
/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_35_10660.jpg
/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_45_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965894","1401965867","1401965893","1401965875","1401965892"],"photo_ids_order":["1401965867","1401965875","1401965892","1401965893","1401965894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de20bfff9ea9f25cd6ae35c1f9b6172f.jpg","text":"TemporaryFile(/tmp/multipartBody4808233898659145399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222124330,"filename":"image_01012026_00_00_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b0550aa3f4080dbb5fbc3eb0b0dabea.jpg","text":"TemporaryFile(/tmp/multipartBody2640955089845511345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222124330,"filename":"image_01012026_00_00_05_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce2ec119a0bb972167b94aa4fa29e1a5.jpg","text":"TemporaryFile(/tmp/multipartBody216396626572406852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222124330,"filename":"image_01012026_00_00_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1b0381d4a16cf70c92bcfd8e213d1b2.jpg","text":"TemporaryFile(/tmp/multipartBody844146376712218377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222124330,"filename":"image_01012026_00_00_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfdb5906760fc96b1b5767a511451784.jpg","text":"TemporaryFile(/tmp/multipartBody7879969894390006877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222124330,"filename":"image_01012026_00_00_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965892","file1":"1401965875","file0":"1401965867","file4":"1401965894","file3":"1401965893"},"map_files_photo_id_array":[{"photo_id":"1401965892","filename":"file2"},{"photo_id":"1401965894","filename":"file4"},{"photo_id":"1401965875","filename":"file1"},{"photo_id":"1401965867","filename":"file0"},{"photo_id":"1401965893","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401965894":["hashtag1","hashtag2"]},{"1401965867":["hashtag1","hashtag2"]},{"1401965893":["hashtag1","hashtag2"]},{"1401965875":["hashtag1","hashtag2"]},{"1401965892":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401965894, 1401965867, 1401965893, 1401965875, 1401965892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.26743817329407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:01:42.132102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_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/59/image_03112025_20_59_11_2642.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_14_3665.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_17_2620.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_20_2693.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_23_3681.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_26_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/20/59/image_03112025_20_59_11_2642.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_14_3665.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_17_2620.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_20_2693.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_23_3681.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_26_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401965901","1401965903","1401965906","1401965900","1401965902","1401965905"],"photo_ids_order":["1401965900","1401965901","1401965902","1401965903","1401965905","1401965906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed24a993ab50a1888aa5b25ba08a4283.jpg","text":"TemporaryFile(/tmp/multipartBody9207773648646804075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222163861,"filename":"image_03112025_20_59_14_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72a60d57e53178767c8399b689714706.jpg","text":"TemporaryFile(/tmp/multipartBody6896065963006243036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222163861,"filename":"image_03112025_20_59_20_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7470bf431585042a80f0182ceda077b3.jpg","text":"TemporaryFile(/tmp/multipartBody2026392017837366778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222163861,"filename":"image_03112025_20_59_26_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75b3d59d88d5ba48146558ca43ae49df.jpg","text":"TemporaryFile(/tmp/multipartBody4721315380552701264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222163861,"filename":"image_03112025_20_59_11_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0dd94a2b22b42cc0cfaab54710258df.jpg","text":"TemporaryFile(/tmp/multipartBody6412802609230766252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222163861,"filename":"image_03112025_20_59_17_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f54a0b77dbdddd3cd3b555ee7af9fe0.jpg","text":"TemporaryFile(/tmp/multipartBody8533051411627001812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222163861,"filename":"image_03112025_20_59_23_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401965902","file1":"1401965901","file0":"1401965900","file4":"1401965905","file5":"1401965906","file3":"1401965903"},"map_files_photo_id_array":[{"photo_id":"1401965906","filename":"file5"},{"photo_id":"1401965902","filename":"file2"},{"photo_id":"1401965905","filename":"file4"},{"photo_id":"1401965901","filename":"file1"},{"photo_id":"1401965900","filename":"file0"},{"photo_id":"1401965903","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401965901":["hashtag1","hashtag2"]},{"1401965903":["hashtag1","hashtag2"]},{"1401965906":["hashtag1","hashtag2"]},{"1401965900":["hashtag1","hashtag2"]},{"1401965902":["hashtag1","hashtag2"]},{"1401965905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401965901, 1401965903, 1401965906, 1401965900, 1401965902, 1401965905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.61631464958191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:02:32.304070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_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/59/image_03112025_20_59_32_3308.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_35_2662.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_38_3714.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_41_2594.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_47_3588.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_50_2593.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/59/image_03112025_20_59_32_3308.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_35_2662.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_38_3714.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_41_2594.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_47_3588.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_50_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":["1401966108","1401965910","1401966209","1401966005","1401966310","1401966406"],"photo_ids_order":["1401965910","1401966005","1401966108","1401966209","1401966310","1401966406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14416dbc01579e0fdc68658a770125ce.jpg","text":"TemporaryFile(/tmp/multipartBody121434583518468355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222214062,"filename":"image_03112025_20_59_38_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e23d9227a6d00b8f73493500897a3f2.jpg","text":"TemporaryFile(/tmp/multipartBody2078226873584139168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222214062,"filename":"image_03112025_20_59_32_3308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e258277f736bf1bf0b22dcca08d6d1d7.jpg","text":"TemporaryFile(/tmp/multipartBody19911152866487445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222214062,"filename":"image_03112025_20_59_41_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/659e0c35a274d8380d76c83543ddd69a.jpg","text":"TemporaryFile(/tmp/multipartBody7127110472264670171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222214062,"filename":"image_03112025_20_59_35_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81d9d223bc44817782e9915534bae1bd.jpg","text":"TemporaryFile(/tmp/multipartBody1505061430422286414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222214062,"filename":"image_03112025_20_59_47_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96f4417ae65fd106d79b668fa5a931b4.jpg","text":"TemporaryFile(/tmp/multipartBody1919211586738238953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222214062,"filename":"image_03112025_20_59_50_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401966108","file1":"1401966005","file0":"1401965910","file4":"1401966310","file5":"1401966406","file3":"1401966209"},"map_files_photo_id_array":[{"photo_id":"1401966406","filename":"file5"},{"photo_id":"1401966108","filename":"file2"},{"photo_id":"1401966310","filename":"file4"},{"photo_id":"1401966005","filename":"file1"},{"photo_id":"1401965910","filename":"file0"},{"photo_id":"1401966209","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401966108":["hashtag1","hashtag2"]},{"1401965910":["hashtag1","hashtag2"]},{"1401966209":["hashtag1","hashtag2"]},{"1401966005":["hashtag1","hashtag2"]},{"1401966310":["hashtag1","hashtag2"]},{"1401966406":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401966108, 1401965910, 1401966209, 1401966005, 1401966310, 1401966406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.455997705459595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:03:12.624603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_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/59/image_03112025_20_59_53_3557.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_56_2668.jpg', '/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_59_2635.jpg', '/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_08_3016.jpg', '/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_11_3513.jpg', '/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_14_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/20/59/image_03112025_20_59_53_3557.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_56_2668.jpg
/home/pi/Desktop/images/03112025/20/59/image_03112025_20_59_59_2635.jpg
/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_08_3016.jpg
/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_11_3513.jpg
/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_14_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":["1401966443","1401966586","1401966700","1401966756","1401966543","1401966648"],"photo_ids_order":["1401966443","1401966543","1401966586","1401966648","1401966700","1401966756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57a0f0f507b8377367a8f4241c7438c8.jpg","text":"TemporaryFile(/tmp/multipartBody9031020304695138224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222254253,"filename":"image_03112025_20_59_53_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d43217f75010af6ae2c42d20f7f64784.jpg","text":"TemporaryFile(/tmp/multipartBody7070667541203697995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222254253,"filename":"image_03112025_20_59_59_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b7bae8758a36d16030fbdc3012fb21e.jpg","text":"TemporaryFile(/tmp/multipartBody5811246273323029414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222254253,"filename":"image_03112025_21_00_11_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdf81aab9edd0c2a491c95fea879a3a0.jpg","text":"TemporaryFile(/tmp/multipartBody6693163055022891444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222254253,"filename":"image_03112025_21_00_14_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1592857fc35420196ac14302320b2c45.jpg","text":"TemporaryFile(/tmp/multipartBody5994214225427690552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222254253,"filename":"image_03112025_20_59_56_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/652e69595974905d3ea835dbd254fbea.jpg","text":"TemporaryFile(/tmp/multipartBody7528919906948623743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222254253,"filename":"image_03112025_21_00_08_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401966586","file1":"1401966543","file0":"1401966443","file4":"1401966700","file5":"1401966756","file3":"1401966648"},"map_files_photo_id_array":[{"photo_id":"1401966756","filename":"file5"},{"photo_id":"1401966586","filename":"file2"},{"photo_id":"1401966700","filename":"file4"},{"photo_id":"1401966543","filename":"file1"},{"photo_id":"1401966443","filename":"file0"},{"photo_id":"1401966648","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401966443":["hashtag1","hashtag2"]},{"1401966586":["hashtag1","hashtag2"]},{"1401966700":["hashtag1","hashtag2"]},{"1401966756":["hashtag1","hashtag2"]},{"1401966543":["hashtag1","hashtag2"]},{"1401966648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401966443, 1401966586, 1401966700, 1401966756, 1401966543, 1401966648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25236773490906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:04:02.582255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_54_9671.jpg', '/home/pi/Desktop/images/01012026/00/00/image_01012026_00_01_05_10638.jpg', '/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_15_9694.jpg', '/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_24_9735.jpg', '/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_34_9712.jpg', '/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_45_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/00/image_01012026_00_00_54_9671.jpg
/home/pi/Desktop/images/01012026/00/00/image_01012026_00_01_05_10638.jpg
/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_15_9694.jpg
/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_24_9735.jpg
/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_34_9712.jpg
/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_45_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401966959","1401967063","1401967098","1401967134","1401967029","1401966993"],"photo_ids_order":["1401966959","1401966993","1401967029","1401967063","1401967098","1401967134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2527fae8112f90b583dc300acc1301f8.jpg","text":"TemporaryFile(/tmp/multipartBody4598739032079428437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222303234,"filename":"image_01012026_00_00_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6105382762622dcae319458fc80eab09.jpg","text":"TemporaryFile(/tmp/multipartBody7733026415374418373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222303234,"filename":"image_01012026_00_01_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da7c18b9283de1699459924baa09b4c5.jpg","text":"TemporaryFile(/tmp/multipartBody2149893808700748361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222303234,"filename":"image_01012026_00_01_34_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6792ed7b944e496e1fce9033c266db16.jpg","text":"TemporaryFile(/tmp/multipartBody8681694743877949353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222303234,"filename":"image_01012026_00_01_45_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96e86d701f6823158e200f5427da8704.jpg","text":"TemporaryFile(/tmp/multipartBody4229497879671813370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222303234,"filename":"image_01012026_00_01_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65f54c2cccefeb1c058fe77eebfba007.jpg","text":"TemporaryFile(/tmp/multipartBody6644550315192614161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222303234,"filename":"image_01012026_00_01_05_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967029","file1":"1401966993","file0":"1401966959","file4":"1401967098","file5":"1401967134","file3":"1401967063"},"map_files_photo_id_array":[{"photo_id":"1401967134","filename":"file5"},{"photo_id":"1401967029","filename":"file2"},{"photo_id":"1401967098","filename":"file4"},{"photo_id":"1401966993","filename":"file1"},{"photo_id":"1401966959","filename":"file0"},{"photo_id":"1401967063","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401966959":["hashtag1","hashtag2"]},{"1401967063":["hashtag1","hashtag2"]},{"1401967098":["hashtag1","hashtag2"]},{"1401967134":["hashtag1","hashtag2"]},{"1401967029":["hashtag1","hashtag2"]},{"1401966993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401966959, 1401967063, 1401967098, 1401967134, 1401967029, 1401966993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.442169427871704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:04:41.848259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_27_2730.jpg', '/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_29_2589.jpg', '/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_33_3557.jpg', '/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_35_2705.jpg', '/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_45_3566.jpg', '/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_59_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/21/00/image_03112025_21_00_27_2730.jpg
/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_29_2589.jpg
/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_33_3557.jpg
/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_35_2705.jpg
/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_45_3566.jpg
/home/pi/Desktop/images/03112025/21/00/image_03112025_21_00_59_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":["1401967232","1401967234","1401967230","1401967233","1401967236","1401967235"],"photo_ids_order":["1401967230","1401967232","1401967233","1401967234","1401967235","1401967236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/390f1d30467ed9bd9b6a1c3c09727a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4609903766601136999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222343635,"filename":"image_03112025_21_00_29_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae25cfeb74ad529783ff83a8c0581372.jpg","text":"TemporaryFile(/tmp/multipartBody4056145366898514025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222343635,"filename":"image_03112025_21_00_35_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/929db333406b63504851ff8754da4599.jpg","text":"TemporaryFile(/tmp/multipartBody8571292671777295400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222343635,"filename":"image_03112025_21_00_27_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bfa77b69600b17f1a4ecd5f4cf1941d.jpg","text":"TemporaryFile(/tmp/multipartBody4531021043996955372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222343635,"filename":"image_03112025_21_00_33_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0170b2545a4e9237b37d6189a6fa7f3d.jpg","text":"TemporaryFile(/tmp/multipartBody9029832727806761657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222343635,"filename":"image_03112025_21_00_59_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/673e117f2fdaa847e58e3add0d1b8431.jpg","text":"TemporaryFile(/tmp/multipartBody1551180849348558106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222343635,"filename":"image_03112025_21_00_45_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967233","file1":"1401967232","file0":"1401967230","file4":"1401967235","file5":"1401967236","file3":"1401967234"},"map_files_photo_id_array":[{"photo_id":"1401967236","filename":"file5"},{"photo_id":"1401967233","filename":"file2"},{"photo_id":"1401967235","filename":"file4"},{"photo_id":"1401967232","filename":"file1"},{"photo_id":"1401967230","filename":"file0"},{"photo_id":"1401967234","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967232":["hashtag1","hashtag2"]},{"1401967234":["hashtag1","hashtag2"]},{"1401967230":["hashtag1","hashtag2"]},{"1401967233":["hashtag1","hashtag2"]},{"1401967236":["hashtag1","hashtag2"]},{"1401967235":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967232, 1401967234, 1401967230, 1401967233, 1401967236, 1401967235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09627437591553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:05:22.061034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_55_10059.jpg', '/home/pi/Desktop/images/01012026/00/01/image_01012026_00_02_05_9636.jpg', '/home/pi/Desktop/images/01012026/00/02/image_01012026_00_02_14_9600.jpg', '/home/pi/Desktop/images/01012026/00/02/image_01012026_00_02_34_9557.jpg', '/home/pi/Desktop/images/01012026/00/02/image_01012026_00_02_45_10537.jpg', '/home/pi/Desktop/images/01012026/00/02/image_01012026_00_02_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/01/image_01012026_00_01_55_10059.jpg
/home/pi/Desktop/images/01012026/00/01/image_01012026_00_02_05_9636.jpg
/home/pi/Desktop/images/01012026/00/02/image_01012026_00_02_14_9600.jpg
/home/pi/Desktop/images/01012026/00/02/image_01012026_00_02_34_9557.jpg
/home/pi/Desktop/images/01012026/00/02/image_01012026_00_02_45_10537.jpg
/home/pi/Desktop/images/01012026/00/02/image_01012026_00_02_54_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":["1401967436","1401967337","1401967445","1401967297","1401967377","1401967413"],"photo_ids_order":["1401967297","1401967337","1401967377","1401967413","1401967436","1401967445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be47321ffb1916f0786f101b76f6b6cf.jpg","text":"TemporaryFile(/tmp/multipartBody2325989181748747866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222382655,"filename":"image_01012026_00_02_45_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38ca258e0c17c0922125d8a765639cb9.jpg","text":"TemporaryFile(/tmp/multipartBody6248538445951295111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222382655,"filename":"image_01012026_00_02_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87af57bb05607530721ff5a8abd5ef43.jpg","text":"TemporaryFile(/tmp/multipartBody134511345100909781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222382655,"filename":"image_01012026_00_02_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02961a33f7bb549493d397341af0f7cd.jpg","text":"TemporaryFile(/tmp/multipartBody5477594066159352390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222382655,"filename":"image_01012026_00_01_55_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16adb812d03e20f37c43c1616f6033c8.jpg","text":"TemporaryFile(/tmp/multipartBody2529492316140137637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222382655,"filename":"image_01012026_00_02_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f7add9f7401947d12c1cb503c14f9f6.jpg","text":"TemporaryFile(/tmp/multipartBody4781726937468591977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222382655,"filename":"image_01012026_00_02_34_9557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967377","file1":"1401967337","file0":"1401967297","file4":"1401967436","file5":"1401967445","file3":"1401967413"},"map_files_photo_id_array":[{"photo_id":"1401967445","filename":"file5"},{"photo_id":"1401967377","filename":"file2"},{"photo_id":"1401967436","filename":"file4"},{"photo_id":"1401967337","filename":"file1"},{"photo_id":"1401967297","filename":"file0"},{"photo_id":"1401967413","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967436":["hashtag1","hashtag2"]},{"1401967337":["hashtag1","hashtag2"]},{"1401967445":["hashtag1","hashtag2"]},{"1401967297":["hashtag1","hashtag2"]},{"1401967377":["hashtag1","hashtag2"]},{"1401967413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967436, 1401967337, 1401967445, 1401967297, 1401967377, 1401967413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31088924407959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:06:02.659722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/02/image_01012026_00_03_05_10541.jpg', '/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_14_9078.jpg', '/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_25_10670.jpg', '/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_34_9511.jpg', '/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_44_9905.jpg', '/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_55_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/02/image_01012026_00_03_05_10541.jpg
/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_14_9078.jpg
/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_25_10670.jpg
/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_34_9511.jpg
/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_44_9905.jpg
/home/pi/Desktop/images/01012026/00/03/image_01012026_00_03_55_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":["1401967579","1401967549","1401967528","1401967491","1401967458","1401967547"],"photo_ids_order":["1401967458","1401967491","1401967528","1401967547","1401967549","1401967579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb32e21abd0715bfbbf5c516a1a44d03.jpg","text":"TemporaryFile(/tmp/multipartBody3758291729740291788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222423278,"filename":"image_01012026_00_03_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20a27c2beb7b62b9f0a684273c25fcf6.jpg","text":"TemporaryFile(/tmp/multipartBody4775304179814091221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222423278,"filename":"image_01012026_00_03_44_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9c3d34e49bfeaabd42a2809c1975a26.jpg","text":"TemporaryFile(/tmp/multipartBody8861152926392155629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222423278,"filename":"image_01012026_00_03_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d9c333d07ab838f5e766ecfd8ac31f4.jpg","text":"TemporaryFile(/tmp/multipartBody2898706963961832385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222423278,"filename":"image_01012026_00_03_14_9078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5c5aa7f55b74d9d784227bb574e9e24.jpg","text":"TemporaryFile(/tmp/multipartBody6887998950849135066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222423278,"filename":"image_01012026_00_03_05_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22adde9b4425a95bf0e850c08b807325.jpg","text":"TemporaryFile(/tmp/multipartBody3629762727766011656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222423278,"filename":"image_01012026_00_03_34_9511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967528","file1":"1401967491","file0":"1401967458","file4":"1401967549","file5":"1401967579","file3":"1401967547"},"map_files_photo_id_array":[{"photo_id":"1401967579","filename":"file5"},{"photo_id":"1401967528","filename":"file2"},{"photo_id":"1401967549","filename":"file4"},{"photo_id":"1401967491","filename":"file1"},{"photo_id":"1401967458","filename":"file0"},{"photo_id":"1401967547","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967579":["hashtag1","hashtag2"]},{"1401967549":["hashtag1","hashtag2"]},{"1401967528":["hashtag1","hashtag2"]},{"1401967491":["hashtag1","hashtag2"]},{"1401967458":["hashtag1","hashtag2"]},{"1401967547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967579, 1401967549, 1401967528, 1401967491, 1401967458, 1401967547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17422533035278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:06:42.237990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_03_3627.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_05_2525.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_08_2786.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_11_2730.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_14_3427.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_32_1552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_03_3627.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_05_2525.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_08_2786.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_11_2730.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_14_3427.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_32_1552.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.6820778846740723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:07:02.943284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/03/image_01012026_00_04_05_9725.jpg', '/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_14_9756.jpg', '/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_25_10692.jpg', '/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_35_9596.jpg', '/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_44_9682.jpg', '/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/03/image_01012026_00_04_05_9725.jpg
/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_14_9756.jpg
/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_25_10692.jpg
/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_35_9596.jpg
/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_44_9682.jpg
/home/pi/Desktop/images/01012026/00/04/image_01012026_00_04_55_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967594","1401967597","1401967596","1401967600","1401967595","1401967598"],"photo_ids_order":["1401967594","1401967595","1401967596","1401967597","1401967598","1401967600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a2b56825847105572c9dcf207793484.jpg","text":"TemporaryFile(/tmp/multipartBody1589531787027611253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222483595,"filename":"image_01012026_00_04_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcec27aaa281f5cfbfc96dd9a870b89f.jpg","text":"TemporaryFile(/tmp/multipartBody5023132006067984298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222483595,"filename":"image_01012026_00_04_35_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8373eee3085d2da2408d5a18942c7a60.jpg","text":"TemporaryFile(/tmp/multipartBody8362021821788270609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222483595,"filename":"image_01012026_00_04_25_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b667386d90171d73e880f7d4d325d839.jpg","text":"TemporaryFile(/tmp/multipartBody2725742814559674522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222483595,"filename":"image_01012026_00_04_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e37e3e0e7f6b916222ce41e71b7b2fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6105065832604202990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222483595,"filename":"image_01012026_00_04_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddd84b6a8b11345b7f9e8d6ba1c00dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7686212645776596745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222483595,"filename":"image_01012026_00_04_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967596","file1":"1401967595","file0":"1401967594","file4":"1401967598","file5":"1401967600","file3":"1401967597"},"map_files_photo_id_array":[{"photo_id":"1401967600","filename":"file5"},{"photo_id":"1401967596","filename":"file2"},{"photo_id":"1401967598","filename":"file4"},{"photo_id":"1401967595","filename":"file1"},{"photo_id":"1401967594","filename":"file0"},{"photo_id":"1401967597","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967594":["hashtag1","hashtag2"]},{"1401967597":["hashtag1","hashtag2"]},{"1401967596":["hashtag1","hashtag2"]},{"1401967600":["hashtag1","hashtag2"]},{"1401967595":["hashtag1","hashtag2"]},{"1401967598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967594, 1401967597, 1401967596, 1401967600, 1401967595, 1401967598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65588116645813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:07:42.461919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_03_3627.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_05_2525.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_08_2786.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_11_2730.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_14_3427.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_32_1552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_03_3627.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_05_2525.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_08_2786.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_11_2730.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_14_3427.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_32_1552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967607","1401967610","1401967609","1401967611","1401967605","1401967608"],"photo_ids_order":["1401967605","1401967607","1401967608","1401967609","1401967610","1401967611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b715eca859b420f21da5bdf3510168cf.jpg","text":"TemporaryFile(/tmp/multipartBody2985429375796468777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222524087,"filename":"image_03112025_21_01_05_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/804e0300d3588207466adf435b064440.jpg","text":"TemporaryFile(/tmp/multipartBody6088951124940056080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222524087,"filename":"image_03112025_21_01_14_3427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf53676ac1ca93abfe86169e4ba0ccfc.jpg","text":"TemporaryFile(/tmp/multipartBody7794371085076804166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222524087,"filename":"image_03112025_21_01_11_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44e6b645f055440215c0864dccdaf6a4.jpg","text":"TemporaryFile(/tmp/multipartBody6699888561641260172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222524087,"filename":"image_03112025_21_01_32_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/237c81d3f03380aa6e2a740ba4d5a967.jpg","text":"TemporaryFile(/tmp/multipartBody6740798757583617705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222524087,"filename":"image_03112025_21_01_03_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec297b427fbb9c4627b162ce36dd98b5.jpg","text":"TemporaryFile(/tmp/multipartBody1075302911909734939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222524087,"filename":"image_03112025_21_01_08_2786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967608","file1":"1401967607","file0":"1401967605","file4":"1401967610","file5":"1401967611","file3":"1401967609"},"map_files_photo_id_array":[{"photo_id":"1401967611","filename":"file5"},{"photo_id":"1401967608","filename":"file2"},{"photo_id":"1401967610","filename":"file4"},{"photo_id":"1401967607","filename":"file1"},{"photo_id":"1401967605","filename":"file0"},{"photo_id":"1401967609","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967607":["hashtag1","hashtag2"]},{"1401967610":["hashtag1","hashtag2"]},{"1401967609":["hashtag1","hashtag2"]},{"1401967611":["hashtag1","hashtag2"]},{"1401967605":["hashtag1","hashtag2"]},{"1401967608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967607, 1401967610, 1401967609, 1401967611, 1401967605, 1401967608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.510998249053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:08:22.623148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/04/image_01012026_00_05_05_9605.jpg', '/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_14_9626.jpg', '/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_25_10684.jpg', '/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_35_9681.jpg', '/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_44_9522.jpg', '/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_55_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/04/image_01012026_00_05_05_9605.jpg
/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_14_9626.jpg
/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_25_10684.jpg
/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_35_9681.jpg
/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_44_9522.jpg
/home/pi/Desktop/images/01012026/00/05/image_01012026_00_05_55_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967616","1401967618","1401967627","1401967612","1401967615","1401967620"],"photo_ids_order":["1401967612","1401967615","1401967616","1401967618","1401967620","1401967627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abb64a4bd69b68c7e749ad6945ed58b2.jpg","text":"TemporaryFile(/tmp/multipartBody8732382522572696798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222563219,"filename":"image_01012026_00_05_25_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e7fc318ea18e7b8030788c6a95f1c86.jpg","text":"TemporaryFile(/tmp/multipartBody4184481398579900617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222563219,"filename":"image_01012026_00_05_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c69f3c9098342778aaae5734e20309a.jpg","text":"TemporaryFile(/tmp/multipartBody7615105639835615374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222563219,"filename":"image_01012026_00_05_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfada1db1b1a18ee2d55d2c18627d8c7.jpg","text":"TemporaryFile(/tmp/multipartBody2400967066985142924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222563219,"filename":"image_01012026_00_05_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c5a0563a3d954f2450eee0687e3fd38.jpg","text":"TemporaryFile(/tmp/multipartBody884613072061545797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222563219,"filename":"image_01012026_00_05_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e7577722487ac48f0deae8a29e33e15.jpg","text":"TemporaryFile(/tmp/multipartBody7354688987013853361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222563219,"filename":"image_01012026_00_05_44_9522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967616","file1":"1401967615","file0":"1401967612","file4":"1401967620","file5":"1401967627","file3":"1401967618"},"map_files_photo_id_array":[{"photo_id":"1401967627","filename":"file5"},{"photo_id":"1401967616","filename":"file2"},{"photo_id":"1401967620","filename":"file4"},{"photo_id":"1401967615","filename":"file1"},{"photo_id":"1401967612","filename":"file0"},{"photo_id":"1401967618","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967616":["hashtag1","hashtag2"]},{"1401967618":["hashtag1","hashtag2"]},{"1401967627":["hashtag1","hashtag2"]},{"1401967612":["hashtag1","hashtag2"]},{"1401967615":["hashtag1","hashtag2"]},{"1401967620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967616, 1401967618, 1401967627, 1401967612, 1401967615, 1401967620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30123567581177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:09:02.668648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/05/image_01012026_00_06_04_9711.jpg', '/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_14_9769.jpg', '/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_25_10755.jpg', '/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_35_9602.jpg', '/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_44_9640.jpg', '/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_55_10536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/05/image_01012026_00_06_04_9711.jpg
/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_14_9769.jpg
/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_25_10755.jpg
/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_35_9602.jpg
/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_44_9640.jpg
/home/pi/Desktop/images/01012026/00/06/image_01012026_00_06_55_10536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967634","1401967630","1401967635","1401967629","1401967632","1401967631"],"photo_ids_order":["1401967629","1401967630","1401967631","1401967632","1401967634","1401967635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d818935ffb7e752eccdc5b861bc253c3.jpg","text":"TemporaryFile(/tmp/multipartBody5798153890825185645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222603440,"filename":"image_01012026_00_06_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9acce6dcb9dd43ba03e0c927bf56b32.jpg","text":"TemporaryFile(/tmp/multipartBody6860854872844880058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222603440,"filename":"image_01012026_00_06_14_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fc2456d69b0cff85573b67421b41326.jpg","text":"TemporaryFile(/tmp/multipartBody8595550875988634019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222603440,"filename":"image_01012026_00_06_55_10536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/643eb723e87cf21d8b7a437add104be8.jpg","text":"TemporaryFile(/tmp/multipartBody8824057642579688177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222603440,"filename":"image_01012026_00_06_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8fd13989fdad45561bf984aaf9820aa.jpg","text":"TemporaryFile(/tmp/multipartBody1509991559924428411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222603440,"filename":"image_01012026_00_06_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe4014e340602e64a62734348ea94b0c.jpg","text":"TemporaryFile(/tmp/multipartBody7486020436745963203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222603440,"filename":"image_01012026_00_06_25_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967631","file1":"1401967630","file0":"1401967629","file4":"1401967634","file5":"1401967635","file3":"1401967632"},"map_files_photo_id_array":[{"photo_id":"1401967635","filename":"file5"},{"photo_id":"1401967631","filename":"file2"},{"photo_id":"1401967634","filename":"file4"},{"photo_id":"1401967630","filename":"file1"},{"photo_id":"1401967629","filename":"file0"},{"photo_id":"1401967632","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967634":["hashtag1","hashtag2"]},{"1401967630":["hashtag1","hashtag2"]},{"1401967635":["hashtag1","hashtag2"]},{"1401967629":["hashtag1","hashtag2"]},{"1401967632":["hashtag1","hashtag2"]},{"1401967631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967634, 1401967630, 1401967635, 1401967629, 1401967632, 1401967631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42212152481079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:09:41.991678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_36_3662.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_38_2594.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_41_2598.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_50_3382.jpg', '/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_56_2880.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_09_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/21/01/image_03112025_21_01_36_3662.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_38_2594.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_41_2598.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_50_3382.jpg
/home/pi/Desktop/images/03112025/21/01/image_03112025_21_01_56_2880.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_09_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":["1401967640","1401967642","1401967645","1401967644","1401967643","1401967646"],"photo_ids_order":["1401967640","1401967642","1401967643","1401967644","1401967645","1401967646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4c627341c041655b5c19ab6e1e764d4.jpg","text":"TemporaryFile(/tmp/multipartBody1363180199011537032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222643721,"filename":"image_03112025_21_01_36_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7bf7dffba0be97f47456ae5365702201.jpg","text":"TemporaryFile(/tmp/multipartBody3683905638080438093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222643721,"filename":"image_03112025_21_01_38_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b15ffafc2fe8641f03a1b71d0d33a1ff.jpg","text":"TemporaryFile(/tmp/multipartBody6033658618898479314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222643721,"filename":"image_03112025_21_01_56_2880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5d7ca19974e4e803cd11d151601ff58.jpg","text":"TemporaryFile(/tmp/multipartBody6827099518339204863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222643721,"filename":"image_03112025_21_01_50_3382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ccc874b047e4248c3f8f05076b26ad34.jpg","text":"TemporaryFile(/tmp/multipartBody5906609126474300178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222643721,"filename":"image_03112025_21_01_41_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc97a8a3792572d485546c766c62cdf1.jpg","text":"TemporaryFile(/tmp/multipartBody2966629332131997017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222643721,"filename":"image_03112025_21_02_09_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967643","file1":"1401967642","file0":"1401967640","file4":"1401967645","file5":"1401967646","file3":"1401967644"},"map_files_photo_id_array":[{"photo_id":"1401967646","filename":"file5"},{"photo_id":"1401967643","filename":"file2"},{"photo_id":"1401967645","filename":"file4"},{"photo_id":"1401967642","filename":"file1"},{"photo_id":"1401967640","filename":"file0"},{"photo_id":"1401967644","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967640":["hashtag1","hashtag2"]},{"1401967642":["hashtag1","hashtag2"]},{"1401967645":["hashtag1","hashtag2"]},{"1401967644":["hashtag1","hashtag2"]},{"1401967643":["hashtag1","hashtag2"]},{"1401967646":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967640, 1401967642, 1401967645, 1401967644, 1401967643, 1401967646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63352656364441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:10:22.265175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/06/image_01012026_00_07_04_9740.jpg', '/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_14_9653.jpg', '/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_25_10662.jpg', '/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_35_9862.jpg', '/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_44_9698.jpg', '/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_55_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/06/image_01012026_00_07_04_9740.jpg
/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_14_9653.jpg
/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_25_10662.jpg
/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_35_9862.jpg
/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_44_9698.jpg
/home/pi/Desktop/images/01012026/00/07/image_01012026_00_07_55_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967655","1401967654","1401967657","1401967648","1401967650","1401967652"],"photo_ids_order":["1401967648","1401967650","1401967652","1401967654","1401967655","1401967657"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66ab52b741e34cc6441af1b4ac713f10.jpg","text":"TemporaryFile(/tmp/multipartBody4945813834954660122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222682860,"filename":"image_01012026_00_07_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b57b4ef80fb3c185ba0f7e1c5c8b2a0.jpg","text":"TemporaryFile(/tmp/multipartBody6094341423465500442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222682860,"filename":"image_01012026_00_07_35_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5dedf44678fb6505977cbe6599290f0.jpg","text":"TemporaryFile(/tmp/multipartBody3901661423885982644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222682860,"filename":"image_01012026_00_07_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1e0a6a0b576786f48cc01ca0c2c3d1c.jpg","text":"TemporaryFile(/tmp/multipartBody7686576116664536388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222682860,"filename":"image_01012026_00_07_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ede76625ad7944924ef84717ee44e1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1748873731181800491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222682860,"filename":"image_01012026_00_07_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b316f67fd1a9ad551bddf6e028c64d8.jpg","text":"TemporaryFile(/tmp/multipartBody4026622600492966324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222682860,"filename":"image_01012026_00_07_25_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967652","file1":"1401967650","file0":"1401967648","file4":"1401967655","file5":"1401967657","file3":"1401967654"},"map_files_photo_id_array":[{"photo_id":"1401967657","filename":"file5"},{"photo_id":"1401967652","filename":"file2"},{"photo_id":"1401967655","filename":"file4"},{"photo_id":"1401967650","filename":"file1"},{"photo_id":"1401967648","filename":"file0"},{"photo_id":"1401967654","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967655":["hashtag1","hashtag2"]},{"1401967654":["hashtag1","hashtag2"]},{"1401967657":["hashtag1","hashtag2"]},{"1401967648":["hashtag1","hashtag2"]},{"1401967650":["hashtag1","hashtag2"]},{"1401967652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967655, 1401967654, 1401967657, 1401967648, 1401967650, 1401967652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.066346168518066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:11:02.920099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/07/image_01012026_00_08_05_9786.jpg', '/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_15_9839.jpg', '/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_24_9681.jpg', '/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_34_9831.jpg', '/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_45_10866.jpg', '/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_55_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/07/image_01012026_00_08_05_9786.jpg
/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_15_9839.jpg
/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_24_9681.jpg
/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_34_9831.jpg
/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_45_10866.jpg
/home/pi/Desktop/images/01012026/00/08/image_01012026_00_08_55_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":["1401967660","1401967659","1401967662","1401967661","1401967664","1401967658"],"photo_ids_order":["1401967658","1401967659","1401967660","1401967661","1401967662","1401967664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77526ea34412b8362414ae6b390cee94.jpg","text":"TemporaryFile(/tmp/multipartBody223064583614013364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222723565,"filename":"image_01012026_00_08_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25a84664701182fa88f2d42eebf02d3e.jpg","text":"TemporaryFile(/tmp/multipartBody8386041503916773573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222723565,"filename":"image_01012026_00_08_15_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7adefe98a5763374712775ebf6f1d7c0.jpg","text":"TemporaryFile(/tmp/multipartBody2853412297449902431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222723565,"filename":"image_01012026_00_08_45_10866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b3353c8a7a42795eb2c4617e6b37670.jpg","text":"TemporaryFile(/tmp/multipartBody3670327882950382721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222723565,"filename":"image_01012026_00_08_34_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/351e2dff45a8c401a4fe6c1d98807ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6106142342318306542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222723565,"filename":"image_01012026_00_08_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e88513ba61b7cdbcf7f8678531563195.jpg","text":"TemporaryFile(/tmp/multipartBody455088715421816255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222723565,"filename":"image_01012026_00_08_05_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967660","file1":"1401967659","file0":"1401967658","file4":"1401967662","file5":"1401967664","file3":"1401967661"},"map_files_photo_id_array":[{"photo_id":"1401967664","filename":"file5"},{"photo_id":"1401967660","filename":"file2"},{"photo_id":"1401967662","filename":"file4"},{"photo_id":"1401967659","filename":"file1"},{"photo_id":"1401967658","filename":"file0"},{"photo_id":"1401967661","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967660":["hashtag1","hashtag2"]},{"1401967659":["hashtag1","hashtag2"]},{"1401967662":["hashtag1","hashtag2"]},{"1401967661":["hashtag1","hashtag2"]},{"1401967664":["hashtag1","hashtag2"]},{"1401967658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967660, 1401967659, 1401967662, 1401967661, 1401967664, 1401967658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.994160652160645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:11:42.491083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_37_1607.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_38_1617.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_40_1618.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_44_4458.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_46_1689.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_48_1738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_37_1607.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_38_1617.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_40_1618.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_44_4458.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_46_1689.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_48_1738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967672","1401967675","1401967674","1401967676","1401967670","1401967673"],"photo_ids_order":["1401967670","1401967672","1401967673","1401967674","1401967675","1401967676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e3a0d20c42f81a1c6f907fd425744ff.jpg","text":"TemporaryFile(/tmp/multipartBody5787104038754264833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222764228,"filename":"image_03112025_21_02_38_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3315d8448f2badad283ffe2035b6128e.jpg","text":"TemporaryFile(/tmp/multipartBody8685973186479586611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222764228,"filename":"image_03112025_21_02_46_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0931ad2e4df9419fbd29b237d974ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3461428577260835977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222764228,"filename":"image_03112025_21_02_44_4458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8af719fb5f6db50079d5d7c52fbfe1e.jpg","text":"TemporaryFile(/tmp/multipartBody4451930690567357611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222764228,"filename":"image_03112025_21_02_48_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc1d0335453c458bf162f38f402e227a.jpg","text":"TemporaryFile(/tmp/multipartBody2614797898605374739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222764228,"filename":"image_03112025_21_02_37_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e796cd4b1ca20034cb8bfe224df5366.jpg","text":"TemporaryFile(/tmp/multipartBody4386898279964205288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222764228,"filename":"image_03112025_21_02_40_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967673","file1":"1401967672","file0":"1401967670","file4":"1401967675","file5":"1401967676","file3":"1401967674"},"map_files_photo_id_array":[{"photo_id":"1401967676","filename":"file5"},{"photo_id":"1401967673","filename":"file2"},{"photo_id":"1401967675","filename":"file4"},{"photo_id":"1401967672","filename":"file1"},{"photo_id":"1401967670","filename":"file0"},{"photo_id":"1401967674","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967672":["hashtag1","hashtag2"]},{"1401967675":["hashtag1","hashtag2"]},{"1401967674":["hashtag1","hashtag2"]},{"1401967676":["hashtag1","hashtag2"]},{"1401967670":["hashtag1","hashtag2"]},{"1401967673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967672, 1401967675, 1401967674, 1401967676, 1401967670, 1401967673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.057740688323975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:12:22.749224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/08/image_01012026_00_09_04_9660.jpg', '/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_15_10592.jpg', '/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_25_9657.jpg', '/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_34_9778.jpg', '/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_45_10769.jpg', '/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_55_9885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/08/image_01012026_00_09_04_9660.jpg
/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_15_10592.jpg
/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_25_9657.jpg
/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_34_9778.jpg
/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_45_10769.jpg
/home/pi/Desktop/images/01012026/00/09/image_01012026_00_09_55_9885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967684","1401967678","1401967686","1401967680","1401967688","1401967682"],"photo_ids_order":["1401967678","1401967680","1401967682","1401967684","1401967686","1401967688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da53231e754f360bb0d1970da637186f.jpg","text":"TemporaryFile(/tmp/multipartBody1987714931160289984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222803377,"filename":"image_01012026_00_09_34_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5a7b2657094ef80193ac46ebc4ba5e8.jpg","text":"TemporaryFile(/tmp/multipartBody7734578698010422388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222803377,"filename":"image_01012026_00_09_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfc8998b3760eb77b1720f0d7f8f8d30.jpg","text":"TemporaryFile(/tmp/multipartBody4734833336820741767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222803377,"filename":"image_01012026_00_09_45_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c59482f341fb3cd18411144f49bc686b.jpg","text":"TemporaryFile(/tmp/multipartBody6891320654552381733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222803377,"filename":"image_01012026_00_09_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0fe9349775cf020520260a109ca703e.jpg","text":"TemporaryFile(/tmp/multipartBody7574041263856960314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222803377,"filename":"image_01012026_00_09_55_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3e9d15e597b1277781095ea688cd4e0.jpg","text":"TemporaryFile(/tmp/multipartBody796775808004174599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222803377,"filename":"image_01012026_00_09_25_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967682","file1":"1401967680","file0":"1401967678","file4":"1401967686","file5":"1401967688","file3":"1401967684"},"map_files_photo_id_array":[{"photo_id":"1401967688","filename":"file5"},{"photo_id":"1401967682","filename":"file2"},{"photo_id":"1401967686","filename":"file4"},{"photo_id":"1401967680","filename":"file1"},{"photo_id":"1401967678","filename":"file0"},{"photo_id":"1401967684","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967684":["hashtag1","hashtag2"]},{"1401967678":["hashtag1","hashtag2"]},{"1401967686":["hashtag1","hashtag2"]},{"1401967680":["hashtag1","hashtag2"]},{"1401967688":["hashtag1","hashtag2"]},{"1401967682":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967684, 1401967678, 1401967686, 1401967680, 1401967688, 1401967682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03357458114624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:13:03.386163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_14_9653.jpg', '/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_25_10662.jpg', '/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_35_9653.jpg', '/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_44_9625.jpg', '/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_55_10726.jpg', '/home/pi/Desktop/images/01012026/00/10/image_01012026_00_11_05_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_14_9653.jpg
/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_25_10662.jpg
/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_35_9653.jpg
/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_44_9625.jpg
/home/pi/Desktop/images/01012026/00/10/image_01012026_00_10_55_10726.jpg
/home/pi/Desktop/images/01012026/00/10/image_01012026_00_11_05_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":["1401967690","1401967696","1401967692","1401967689","1401967694","1401967691"],"photo_ids_order":["1401967689","1401967690","1401967691","1401967692","1401967694","1401967696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47fededc940838cfb2f8c940d9d1117c.jpg","text":"TemporaryFile(/tmp/multipartBody4877064384108308112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222844032,"filename":"image_01012026_00_10_25_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/138775266bff26c1408e5c24ae94cb88.jpg","text":"TemporaryFile(/tmp/multipartBody869715590418421787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222844032,"filename":"image_01012026_00_11_05_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bc9d4b29800cd3549e32048c94eca33.jpg","text":"TemporaryFile(/tmp/multipartBody2583285861999621464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222844032,"filename":"image_01012026_00_10_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e13d6dc48d47c4f805ed612f41d473c6.jpg","text":"TemporaryFile(/tmp/multipartBody5326913237381217870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222844032,"filename":"image_01012026_00_10_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7af174122277eea124382c40ce621ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6905423725132396802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222844032,"filename":"image_01012026_00_10_55_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/359a96d24b77a2d120996f4ad3f5c806.jpg","text":"TemporaryFile(/tmp/multipartBody1613098421453163948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222844032,"filename":"image_01012026_00_10_35_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967691","file1":"1401967690","file0":"1401967689","file4":"1401967694","file5":"1401967696","file3":"1401967692"},"map_files_photo_id_array":[{"photo_id":"1401967696","filename":"file5"},{"photo_id":"1401967691","filename":"file2"},{"photo_id":"1401967694","filename":"file4"},{"photo_id":"1401967690","filename":"file1"},{"photo_id":"1401967689","filename":"file0"},{"photo_id":"1401967692","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967690":["hashtag1","hashtag2"]},{"1401967696":["hashtag1","hashtag2"]},{"1401967692":["hashtag1","hashtag2"]},{"1401967689":["hashtag1","hashtag2"]},{"1401967694":["hashtag1","hashtag2"]},{"1401967691":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967690, 1401967696, 1401967692, 1401967689, 1401967694, 1401967691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05153155326843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:13:42.766880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_50_1857.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_53_1745.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_56_1541.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_58_1684.jpg', '/home/pi/Desktop/images/03112025/21/02/image_03112025_21_03_00_1648.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_05_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/21/02/image_03112025_21_02_50_1857.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_53_1745.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_56_1541.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_02_58_1684.jpg
/home/pi/Desktop/images/03112025/21/02/image_03112025_21_03_00_1648.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_05_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":["1401967706","1401967700","1401967703","1401967705","1401967702","1401967704"],"photo_ids_order":["1401967700","1401967702","1401967703","1401967704","1401967705","1401967706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dca66be799e5c51bdb17577d661f00ef.jpg","text":"TemporaryFile(/tmp/multipartBody6956219171303306604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222884558,"filename":"image_03112025_21_03_05_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6eb1822124831ef54ea86823220c826a.jpg","text":"TemporaryFile(/tmp/multipartBody4219092654733432173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222884558,"filename":"image_03112025_21_02_50_1857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69ffe2de45121212aec2f8e1620ae9ed.jpg","text":"TemporaryFile(/tmp/multipartBody4012898479912859855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222884558,"filename":"image_03112025_21_02_56_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a880dab463662120ac74e95e13748622.jpg","text":"TemporaryFile(/tmp/multipartBody9115655539037892459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222884558,"filename":"image_03112025_21_03_00_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/439053bcd74245c8f5b64fb75d248d13.jpg","text":"TemporaryFile(/tmp/multipartBody6226057595049464703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222884558,"filename":"image_03112025_21_02_53_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cce3d3ef193d59a35a934f8966728d3e.jpg","text":"TemporaryFile(/tmp/multipartBody1517202144025797599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222884558,"filename":"image_03112025_21_02_58_1684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967703","file1":"1401967702","file0":"1401967700","file4":"1401967705","file5":"1401967706","file3":"1401967704"},"map_files_photo_id_array":[{"photo_id":"1401967706","filename":"file5"},{"photo_id":"1401967703","filename":"file2"},{"photo_id":"1401967705","filename":"file4"},{"photo_id":"1401967702","filename":"file1"},{"photo_id":"1401967700","filename":"file0"},{"photo_id":"1401967704","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967706":["hashtag1","hashtag2"]},{"1401967700":["hashtag1","hashtag2"]},{"1401967703":["hashtag1","hashtag2"]},{"1401967705":["hashtag1","hashtag2"]},{"1401967702":["hashtag1","hashtag2"]},{"1401967704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967706, 1401967700, 1401967703, 1401967705, 1401967702, 1401967704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.933266162872314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:14:24.473253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_15_9924.jpg', '/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_24_9836.jpg', '/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_35_10557.jpg', '/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_45_9582.jpg', '/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_54_9675.jpg', '/home/pi/Desktop/images/01012026/00/11/image_01012026_00_12_05_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_15_9924.jpg
/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_24_9836.jpg
/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_35_10557.jpg
/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_45_9582.jpg
/home/pi/Desktop/images/01012026/00/11/image_01012026_00_11_54_9675.jpg
/home/pi/Desktop/images/01012026/00/11/image_01012026_00_12_05_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":["1401967721","1401967715","1401967723","1401967717","1401967710","1401967713"],"photo_ids_order":["1401967710","1401967713","1401967715","1401967717","1401967721","1401967723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fafc5517f6886f9213fc874d63c5af72.jpg","text":"TemporaryFile(/tmp/multipartBody7225748959301521028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222925064,"filename":"image_01012026_00_11_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dd3c9662dbd70dc1684dd3379a82c0a.jpg","text":"TemporaryFile(/tmp/multipartBody9087204769984249612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222925064,"filename":"image_01012026_00_11_35_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e4035927e46457d8e36808119c49119.jpg","text":"TemporaryFile(/tmp/multipartBody1093797913775296365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222925064,"filename":"image_01012026_00_12_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/537e4049b042a33068052f65d3e8fd25.jpg","text":"TemporaryFile(/tmp/multipartBody2150042933450326410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222925064,"filename":"image_01012026_00_11_45_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20f95a4168af9ad418525b6167e78e4a.jpg","text":"TemporaryFile(/tmp/multipartBody6272735844176702996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222925064,"filename":"image_01012026_00_11_15_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa83a4c3c6a64ced9ab4b81cefc4bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody4584655922286361688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222925064,"filename":"image_01012026_00_11_24_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967715","file1":"1401967713","file0":"1401967710","file4":"1401967721","file5":"1401967723","file3":"1401967717"},"map_files_photo_id_array":[{"photo_id":"1401967723","filename":"file5"},{"photo_id":"1401967715","filename":"file2"},{"photo_id":"1401967721","filename":"file4"},{"photo_id":"1401967713","filename":"file1"},{"photo_id":"1401967710","filename":"file0"},{"photo_id":"1401967717","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967721":["hashtag1","hashtag2"]},{"1401967715":["hashtag1","hashtag2"]},{"1401967723":["hashtag1","hashtag2"]},{"1401967717":["hashtag1","hashtag2"]},{"1401967710":["hashtag1","hashtag2"]},{"1401967713":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967721, 1401967715, 1401967723, 1401967717, 1401967710, 1401967713)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.00228786468506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:15:12.194857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_09_3841.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_11_2742.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_14_2753.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_23_2699.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_26_2623.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_29_3768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_09_3841.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_11_2742.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_14_2753.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_23_2699.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_26_2623.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_29_3768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967733","1401967727","1401967729","1401967731","1401967725","1401967724"],"photo_ids_order":["1401967724","1401967725","1401967727","1401967729","1401967731","1401967733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/878bbda80357474788d2db7b02bafba8.jpg","text":"TemporaryFile(/tmp/multipartBody2395182823439818139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222973827,"filename":"image_03112025_21_03_29_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0682096ba7a7bacb401bd76f3a9dcedf.jpg","text":"TemporaryFile(/tmp/multipartBody4674843328966995637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222973827,"filename":"image_03112025_21_03_14_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/982ad3f6e7af175f88a78bdaebc9a89b.jpg","text":"TemporaryFile(/tmp/multipartBody5840568881711249005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222973827,"filename":"image_03112025_21_03_23_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abebf02b3c9952b29e9a9fac6f139562.jpg","text":"TemporaryFile(/tmp/multipartBody5523738522701787690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222973827,"filename":"image_03112025_21_03_26_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04d77eec97dfe758a600f6b0f4cdfb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7273642278490168762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222973827,"filename":"image_03112025_21_03_11_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/385653aff6fdde22627458753f581f94.jpg","text":"TemporaryFile(/tmp/multipartBody4010030723325601913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767222973827,"filename":"image_03112025_21_03_09_3841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967727","file1":"1401967725","file0":"1401967724","file4":"1401967731","file5":"1401967733","file3":"1401967729"},"map_files_photo_id_array":[{"photo_id":"1401967733","filename":"file5"},{"photo_id":"1401967727","filename":"file2"},{"photo_id":"1401967731","filename":"file4"},{"photo_id":"1401967725","filename":"file1"},{"photo_id":"1401967724","filename":"file0"},{"photo_id":"1401967729","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967733":["hashtag1","hashtag2"]},{"1401967727":["hashtag1","hashtag2"]},{"1401967729":["hashtag1","hashtag2"]},{"1401967731":["hashtag1","hashtag2"]},{"1401967725":["hashtag1","hashtag2"]},{"1401967724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967733, 1401967727, 1401967729, 1401967731, 1401967725, 1401967724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21651220321655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:16:02.758442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_15_9758.jpg', '/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_24_9631.jpg', '/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_35_10694.jpg', '/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_45_9661.jpg', '/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_54_9686.jpg', '/home/pi/Desktop/images/01012026/00/12/image_01012026_00_13_04_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_15_9758.jpg
/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_24_9631.jpg
/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_35_10694.jpg
/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_45_9661.jpg
/home/pi/Desktop/images/01012026/00/12/image_01012026_00_12_54_9686.jpg
/home/pi/Desktop/images/01012026/00/12/image_01012026_00_13_04_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401967736","1401967738","1401967740","1401967737","1401967742","1401967739"],"photo_ids_order":["1401967736","1401967737","1401967738","1401967739","1401967740","1401967742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a96318b0607ee994d29ef400cbf51420.jpg","text":"TemporaryFile(/tmp/multipartBody4702683096231736669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223023371,"filename":"image_01012026_00_12_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c529fa181c0aa96f74450c87bca4511d.jpg","text":"TemporaryFile(/tmp/multipartBody2412784984653775628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223023371,"filename":"image_01012026_00_12_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ce2c2ce8b877fe73197f6ddfcad4d94.jpg","text":"TemporaryFile(/tmp/multipartBody3409069889494603355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223023371,"filename":"image_01012026_00_12_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68241e3ce729bdfa9a91bd4d283a6ee7.jpg","text":"TemporaryFile(/tmp/multipartBody5181840189527718570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223023371,"filename":"image_01012026_00_12_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/429dff0505e6d7309ffd4e4c3bcce17a.jpg","text":"TemporaryFile(/tmp/multipartBody5103672783697913843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223023371,"filename":"image_01012026_00_13_04_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c886b97a9ed5b0cc63be7c195612d5ed.jpg","text":"TemporaryFile(/tmp/multipartBody3941371412090149869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223023371,"filename":"image_01012026_00_12_45_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967738","file1":"1401967737","file0":"1401967736","file4":"1401967740","file5":"1401967742","file3":"1401967739"},"map_files_photo_id_array":[{"photo_id":"1401967742","filename":"file5"},{"photo_id":"1401967738","filename":"file2"},{"photo_id":"1401967740","filename":"file4"},{"photo_id":"1401967737","filename":"file1"},{"photo_id":"1401967736","filename":"file0"},{"photo_id":"1401967739","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967736":["hashtag1","hashtag2"]},{"1401967738":["hashtag1","hashtag2"]},{"1401967740":["hashtag1","hashtag2"]},{"1401967737":["hashtag1","hashtag2"]},{"1401967742":["hashtag1","hashtag2"]},{"1401967739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967736, 1401967738, 1401967740, 1401967737, 1401967742, 1401967739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.65495491027832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:17:02.726213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_15_10810.jpg', '/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_25_9590.jpg', '/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_34_9628.jpg', '/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_45_10721.jpg', '/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_54_9585.jpg', '/home/pi/Desktop/images/01012026/00/13/image_01012026_00_14_04_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_15_10810.jpg
/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_25_9590.jpg
/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_34_9628.jpg
/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_45_10721.jpg
/home/pi/Desktop/images/01012026/00/13/image_01012026_00_13_54_9585.jpg
/home/pi/Desktop/images/01012026/00/13/image_01012026_00_14_04_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":["1401967748","1401967753","1401967750","1401967747","1401967749","1401967751"],"photo_ids_order":["1401967747","1401967748","1401967749","1401967750","1401967751","1401967753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d076f3865d527b5034c417dc9a459f36.jpg","text":"TemporaryFile(/tmp/multipartBody2463779630609186161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223083407,"filename":"image_01012026_00_13_25_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5d46f6308782c21aadf4bd076a37aae.jpg","text":"TemporaryFile(/tmp/multipartBody4593509430408233141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223083407,"filename":"image_01012026_00_14_04_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ea400e2494ffe12f3999413632ba3d7.jpg","text":"TemporaryFile(/tmp/multipartBody2382586573641174190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223083407,"filename":"image_01012026_00_13_45_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb432996321a4a731fa08857eae2e0a1.jpg","text":"TemporaryFile(/tmp/multipartBody440243318859415020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223083407,"filename":"image_01012026_00_13_15_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdec163397f68685d882eddaf6f46d96.jpg","text":"TemporaryFile(/tmp/multipartBody1573623765489420100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223083407,"filename":"image_01012026_00_13_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b277ea94c8cc4e25f7d7063a7847c462.jpg","text":"TemporaryFile(/tmp/multipartBody1590192969438280891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223083407,"filename":"image_01012026_00_13_54_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967749","file1":"1401967748","file0":"1401967747","file4":"1401967751","file5":"1401967753","file3":"1401967750"},"map_files_photo_id_array":[{"photo_id":"1401967753","filename":"file5"},{"photo_id":"1401967749","filename":"file2"},{"photo_id":"1401967751","filename":"file4"},{"photo_id":"1401967748","filename":"file1"},{"photo_id":"1401967747","filename":"file0"},{"photo_id":"1401967750","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967748":["hashtag1","hashtag2"]},{"1401967753":["hashtag1","hashtag2"]},{"1401967750":["hashtag1","hashtag2"]},{"1401967747":["hashtag1","hashtag2"]},{"1401967749":["hashtag1","hashtag2"]},{"1401967751":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967748, 1401967753, 1401967750, 1401967747, 1401967749, 1401967751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.583404541015625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:17:42.068023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_32_2859.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_44_2797.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_47_2785.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_50_2814.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_56_3726.jpg', '/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_59_3004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_32_2859.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_44_2797.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_47_2785.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_50_2814.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_56_3726.jpg
/home/pi/Desktop/images/03112025/21/03/image_03112025_21_03_59_3004.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967762","1401967765","1401967764","1401967761","1401967763","1401967766"],"photo_ids_order":["1401967761","1401967762","1401967763","1401967764","1401967765","1401967766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/911ddd86b34a42026721c87a3e990384.jpg","text":"TemporaryFile(/tmp/multipartBody7021930532383153756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223123700,"filename":"image_03112025_21_03_44_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d28a1535e99aff702612dc556036777.jpg","text":"TemporaryFile(/tmp/multipartBody2317612888188327735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223123700,"filename":"image_03112025_21_03_56_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/852937ed3346ecbde8a428af37f47d6f.jpg","text":"TemporaryFile(/tmp/multipartBody446764868411950665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223123700,"filename":"image_03112025_21_03_50_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9783bd0e4beee7948a434eb2e41b83c1.jpg","text":"TemporaryFile(/tmp/multipartBody6457136517717755611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223123700,"filename":"image_03112025_21_03_32_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fdbb1c8923981a4a89113eb5f240e5e.jpg","text":"TemporaryFile(/tmp/multipartBody3517844265978158312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223123700,"filename":"image_03112025_21_03_47_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94bcb89de745467046ef91d3dada05b9.jpg","text":"TemporaryFile(/tmp/multipartBody3857740709836014309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223123700,"filename":"image_03112025_21_03_59_3004.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967763","file1":"1401967762","file0":"1401967761","file4":"1401967765","file5":"1401967766","file3":"1401967764"},"map_files_photo_id_array":[{"photo_id":"1401967766","filename":"file5"},{"photo_id":"1401967763","filename":"file2"},{"photo_id":"1401967765","filename":"file4"},{"photo_id":"1401967762","filename":"file1"},{"photo_id":"1401967761","filename":"file0"},{"photo_id":"1401967764","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967762":["hashtag1","hashtag2"]},{"1401967765":["hashtag1","hashtag2"]},{"1401967764":["hashtag1","hashtag2"]},{"1401967761":["hashtag1","hashtag2"]},{"1401967763":["hashtag1","hashtag2"]},{"1401967766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967762, 1401967765, 1401967764, 1401967761, 1401967763, 1401967766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.933953046798706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:18:22.342486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/14/image_01012026_00_14_15_10552.jpg', '/home/pi/Desktop/images/01012026/00/14/image_01012026_00_14_24_9673.jpg', '/home/pi/Desktop/images/01012026/00/14/image_01012026_00_14_34_9743.jpg', '/home/pi/Desktop/images/01012026/00/14/image_01012026_00_14_55_9726.jpg', '/home/pi/Desktop/images/01012026/00/14/image_01012026_00_15_04_9572.jpg', '/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_15_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/14/image_01012026_00_14_15_10552.jpg
/home/pi/Desktop/images/01012026/00/14/image_01012026_00_14_24_9673.jpg
/home/pi/Desktop/images/01012026/00/14/image_01012026_00_14_34_9743.jpg
/home/pi/Desktop/images/01012026/00/14/image_01012026_00_14_55_9726.jpg
/home/pi/Desktop/images/01012026/00/14/image_01012026_00_15_04_9572.jpg
/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_15_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":["1401967771","1401967773","1401967767","1401967775","1401967769","1401967778"],"photo_ids_order":["1401967767","1401967769","1401967771","1401967773","1401967775","1401967778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b7d3faa965aa0e8dcec4794ef7e65e5.jpg","text":"TemporaryFile(/tmp/multipartBody8228916311931012712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223162977,"filename":"image_01012026_00_14_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1fdbe5e3941527d6d1dcf7ee524bcca.jpg","text":"TemporaryFile(/tmp/multipartBody4409584662852338723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223162977,"filename":"image_01012026_00_14_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71d4e73923bfb534da3161b164607389.jpg","text":"TemporaryFile(/tmp/multipartBody7884644454439010320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223162977,"filename":"image_01012026_00_14_15_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49ae86f2a527f13bc44cf1f41127e778.jpg","text":"TemporaryFile(/tmp/multipartBody2780028500547286869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223162977,"filename":"image_01012026_00_15_04_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0249715e7b49b1cf2bdbcdbdc068afb4.jpg","text":"TemporaryFile(/tmp/multipartBody4630133883499909532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223162977,"filename":"image_01012026_00_14_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a15fa8b1fdb2027bf41311161a1ab5a.jpg","text":"TemporaryFile(/tmp/multipartBody2910543684382080982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223162977,"filename":"image_01012026_00_15_15_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967771","file1":"1401967769","file0":"1401967767","file4":"1401967775","file5":"1401967778","file3":"1401967773"},"map_files_photo_id_array":[{"photo_id":"1401967778","filename":"file5"},{"photo_id":"1401967771","filename":"file2"},{"photo_id":"1401967775","filename":"file4"},{"photo_id":"1401967769","filename":"file1"},{"photo_id":"1401967767","filename":"file0"},{"photo_id":"1401967773","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967771":["hashtag1","hashtag2"]},{"1401967773":["hashtag1","hashtag2"]},{"1401967767":["hashtag1","hashtag2"]},{"1401967775":["hashtag1","hashtag2"]},{"1401967769":["hashtag1","hashtag2"]},{"1401967778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967771, 1401967773, 1401967767, 1401967775, 1401967769, 1401967778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.426547050476074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:19:03.483154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_24_9436.jpg', '/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_34_9691.jpg', '/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_45_10977.jpg', '/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_55_9617.jpg', '/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_04_9402.jpg', '/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_15_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_24_9436.jpg
/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_34_9691.jpg
/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_45_10977.jpg
/home/pi/Desktop/images/01012026/00/15/image_01012026_00_15_55_9617.jpg
/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_04_9402.jpg
/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_15_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":["1401967780","1401967783","1401967782","1401967785","1401967779","1401967781"],"photo_ids_order":["1401967779","1401967780","1401967781","1401967782","1401967783","1401967785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/318bc28382029f13fd7aa11a55324194.jpg","text":"TemporaryFile(/tmp/multipartBody1851071877341731111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223204204,"filename":"image_01012026_00_15_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff07fcd1f0c1f449f8e56551bdf9e912.jpg","text":"TemporaryFile(/tmp/multipartBody1435079759003441781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223204204,"filename":"image_01012026_00_16_04_9402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6b6e5bcd3a5075e84c62474290be947.jpg","text":"TemporaryFile(/tmp/multipartBody6738532437662327355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223204204,"filename":"image_01012026_00_15_55_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a10c0aa4952021807cf39327f7751d8b.jpg","text":"TemporaryFile(/tmp/multipartBody2731696615013786153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223204204,"filename":"image_01012026_00_16_15_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/919684e5e1660b91a3f0579df972b71a.jpg","text":"TemporaryFile(/tmp/multipartBody8896618899538007970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223204204,"filename":"image_01012026_00_15_24_9436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3aae49e39698397f73fccf41924afeb1.jpg","text":"TemporaryFile(/tmp/multipartBody302873105023305927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223204204,"filename":"image_01012026_00_15_45_10977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967781","file1":"1401967780","file0":"1401967779","file4":"1401967783","file5":"1401967785","file3":"1401967782"},"map_files_photo_id_array":[{"photo_id":"1401967785","filename":"file5"},{"photo_id":"1401967781","filename":"file2"},{"photo_id":"1401967783","filename":"file4"},{"photo_id":"1401967780","filename":"file1"},{"photo_id":"1401967779","filename":"file0"},{"photo_id":"1401967782","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967780":["hashtag1","hashtag2"]},{"1401967783":["hashtag1","hashtag2"]},{"1401967782":["hashtag1","hashtag2"]},{"1401967785":["hashtag1","hashtag2"]},{"1401967779":["hashtag1","hashtag2"]},{"1401967781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967780, 1401967783, 1401967782, 1401967785, 1401967779, 1401967781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72130727767944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:19:42.498801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_02_2806.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_05_2690.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_07_2690.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_11_3790.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_14_2678.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_20_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/21/04/image_03112025_21_04_02_2806.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_05_2690.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_07_2690.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_11_3790.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_14_2678.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_20_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":["1401967792","1401967795","1401967794","1401967793","1401967796","1401967790"],"photo_ids_order":["1401967790","1401967792","1401967793","1401967794","1401967795","1401967796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbc4d63de0aa009ff37691651996e204.jpg","text":"TemporaryFile(/tmp/multipartBody3524162536073036497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223244289,"filename":"image_03112025_21_04_05_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fd9f54c91fa13311c857ae60969cf92.jpg","text":"TemporaryFile(/tmp/multipartBody9122991529139418763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223244289,"filename":"image_03112025_21_04_14_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1016893bf42cdae80d857fa58c80be24.jpg","text":"TemporaryFile(/tmp/multipartBody6809750236229120595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223244289,"filename":"image_03112025_21_04_11_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29690fce83c542098a8aa976e7a9abf7.jpg","text":"TemporaryFile(/tmp/multipartBody6232653050841771945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223244289,"filename":"image_03112025_21_04_07_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64169f1ddb04aa96088f6e4861f1dca3.jpg","text":"TemporaryFile(/tmp/multipartBody7201873466860821623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223244289,"filename":"image_03112025_21_04_20_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/794c943d6905e1c5d6632830b6cc5a7b.jpg","text":"TemporaryFile(/tmp/multipartBody706800444844430047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223244289,"filename":"image_03112025_21_04_02_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967793","file1":"1401967792","file0":"1401967790","file4":"1401967795","file5":"1401967796","file3":"1401967794"},"map_files_photo_id_array":[{"photo_id":"1401967796","filename":"file5"},{"photo_id":"1401967793","filename":"file2"},{"photo_id":"1401967795","filename":"file4"},{"photo_id":"1401967792","filename":"file1"},{"photo_id":"1401967790","filename":"file0"},{"photo_id":"1401967794","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967792":["hashtag1","hashtag2"]},{"1401967795":["hashtag1","hashtag2"]},{"1401967794":["hashtag1","hashtag2"]},{"1401967793":["hashtag1","hashtag2"]},{"1401967796":["hashtag1","hashtag2"]},{"1401967790":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967792, 1401967795, 1401967794, 1401967793, 1401967796, 1401967790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42070698738098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:20:22.629439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_24_9585.jpg', '/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_34_9814.jpg', '/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_45_10793.jpg', '/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_55_9652.jpg', '/home/pi/Desktop/images/01012026/00/16/image_01012026_00_17_04_9696.jpg', '/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_15_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_24_9585.jpg
/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_34_9814.jpg
/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_45_10793.jpg
/home/pi/Desktop/images/01012026/00/16/image_01012026_00_16_55_9652.jpg
/home/pi/Desktop/images/01012026/00/16/image_01012026_00_17_04_9696.jpg
/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_15_10600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967805","1401967798","1401967810","1401967807","1401967801","1401967803"],"photo_ids_order":["1401967798","1401967801","1401967803","1401967805","1401967807","1401967810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/677fa8b525a77f62ccd762622276acce.jpg","text":"TemporaryFile(/tmp/multipartBody6605900518142763347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223283254,"filename":"image_01012026_00_16_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1aad8162fc24790ce86b9590710d378.jpg","text":"TemporaryFile(/tmp/multipartBody4710033143129454538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223283254,"filename":"image_01012026_00_16_24_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4692f5549da8189c8404264f4156e0f6.jpg","text":"TemporaryFile(/tmp/multipartBody5913797791504177740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223283254,"filename":"image_01012026_00_17_15_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a67079d88052abb6179286093f5a15a7.jpg","text":"TemporaryFile(/tmp/multipartBody5293307332823475384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223283254,"filename":"image_01012026_00_17_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/461882f680bfd464f08cfdfa1f6b3b67.jpg","text":"TemporaryFile(/tmp/multipartBody3422130075404369234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223283254,"filename":"image_01012026_00_16_34_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d65ebf4267e05cfcd6c3b2a48a6ccd7.jpg","text":"TemporaryFile(/tmp/multipartBody2316989899364603221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223283254,"filename":"image_01012026_00_16_45_10793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967803","file1":"1401967801","file0":"1401967798","file4":"1401967807","file5":"1401967810","file3":"1401967805"},"map_files_photo_id_array":[{"photo_id":"1401967810","filename":"file5"},{"photo_id":"1401967803","filename":"file2"},{"photo_id":"1401967807","filename":"file4"},{"photo_id":"1401967801","filename":"file1"},{"photo_id":"1401967798","filename":"file0"},{"photo_id":"1401967805","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967805":["hashtag1","hashtag2"]},{"1401967798":["hashtag1","hashtag2"]},{"1401967810":["hashtag1","hashtag2"]},{"1401967807":["hashtag1","hashtag2"]},{"1401967801":["hashtag1","hashtag2"]},{"1401967803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967805, 1401967798, 1401967810, 1401967807, 1401967801, 1401967803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.548908710479736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:21:03.410807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_24_9631.jpg', '/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_35_10609.jpg', '/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_45_9677.jpg', '/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_55_10168.jpg', '/home/pi/Desktop/images/01012026/00/17/image_01012026_00_18_05_9638.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_14_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_24_9631.jpg
/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_35_10609.jpg
/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_45_9677.jpg
/home/pi/Desktop/images/01012026/00/17/image_01012026_00_17_55_10168.jpg
/home/pi/Desktop/images/01012026/00/17/image_01012026_00_18_05_9638.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_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":["1401967811","1401967814","1401967816","1401967819","1401967813","1401967812"],"photo_ids_order":["1401967811","1401967812","1401967813","1401967814","1401967816","1401967819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38fc7f7f75acc1209da858a98b1f196b.jpg","text":"TemporaryFile(/tmp/multipartBody5829788741450281520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223324085,"filename":"image_01012026_00_17_24_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/626560a9eccfdc6c8f3c6dd7395bafb6.jpg","text":"TemporaryFile(/tmp/multipartBody6570674872302205521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223324085,"filename":"image_01012026_00_17_55_10168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9489927b2dc9e9af83bf2acbcbada9e2.jpg","text":"TemporaryFile(/tmp/multipartBody898637248208319937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223324085,"filename":"image_01012026_00_18_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f425d7b113a415fa8e46167bea25230a.jpg","text":"TemporaryFile(/tmp/multipartBody6406769117132928739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223324085,"filename":"image_01012026_00_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/2026/1/1/2866669335a0ad2870fb7a2b1311c805.jpg","text":"TemporaryFile(/tmp/multipartBody8043303431557015072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223324085,"filename":"image_01012026_00_17_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec01c989d4e478b10b1224aa944bed3c.jpg","text":"TemporaryFile(/tmp/multipartBody7900211981975446415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223324085,"filename":"image_01012026_00_17_35_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967813","file1":"1401967812","file0":"1401967811","file4":"1401967816","file5":"1401967819","file3":"1401967814"},"map_files_photo_id_array":[{"photo_id":"1401967819","filename":"file5"},{"photo_id":"1401967813","filename":"file2"},{"photo_id":"1401967816","filename":"file4"},{"photo_id":"1401967812","filename":"file1"},{"photo_id":"1401967811","filename":"file0"},{"photo_id":"1401967814","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967811":["hashtag1","hashtag2"]},{"1401967814":["hashtag1","hashtag2"]},{"1401967816":["hashtag1","hashtag2"]},{"1401967819":["hashtag1","hashtag2"]},{"1401967813":["hashtag1","hashtag2"]},{"1401967812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967811, 1401967814, 1401967816, 1401967819, 1401967813, 1401967812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74026942253113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:21:42.898961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_30_1616.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_35_4502.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_41_1587.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_43_2483.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_47_3867.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_50_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/21/04/image_03112025_21_04_30_1616.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_35_4502.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_41_1587.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_43_2483.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_47_3867.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_50_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":["1401967826","1401967829","1401967828","1401967830","1401967827","1401967824"],"photo_ids_order":["1401967824","1401967826","1401967827","1401967828","1401967829","1401967830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61086c5d4d529373715d53d151925170.jpg","text":"TemporaryFile(/tmp/multipartBody147843712623331089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223364626,"filename":"image_03112025_21_04_35_4502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed912a238af970ae7a941cf2906813f2.jpg","text":"TemporaryFile(/tmp/multipartBody8648463234664571099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223364626,"filename":"image_03112025_21_04_47_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69c4346e7d4189cbbfc66136f2692d3c.jpg","text":"TemporaryFile(/tmp/multipartBody7762919387006025018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223364626,"filename":"image_03112025_21_04_43_2483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac87f2ba31019875c5deb5f4f5ab6379.jpg","text":"TemporaryFile(/tmp/multipartBody5344834282675998242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223364626,"filename":"image_03112025_21_04_50_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04aebd8aece42f6838075f886a187d0a.jpg","text":"TemporaryFile(/tmp/multipartBody9115721691168638982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223364626,"filename":"image_03112025_21_04_41_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9de273ad79a59ffae6e0473eec732bc2.jpg","text":"TemporaryFile(/tmp/multipartBody9103061837364930051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223364626,"filename":"image_03112025_21_04_30_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967827","file1":"1401967826","file0":"1401967824","file4":"1401967829","file5":"1401967830","file3":"1401967828"},"map_files_photo_id_array":[{"photo_id":"1401967830","filename":"file5"},{"photo_id":"1401967827","filename":"file2"},{"photo_id":"1401967829","filename":"file4"},{"photo_id":"1401967826","filename":"file1"},{"photo_id":"1401967824","filename":"file0"},{"photo_id":"1401967828","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967826":["hashtag1","hashtag2"]},{"1401967829":["hashtag1","hashtag2"]},{"1401967828":["hashtag1","hashtag2"]},{"1401967830":["hashtag1","hashtag2"]},{"1401967827":["hashtag1","hashtag2"]},{"1401967824":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967826, 1401967829, 1401967828, 1401967830, 1401967827, 1401967824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03619599342346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:22:22.070092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_25_10552.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_34_9551.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_45_10637.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_55_9622.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_19_04_9815.jpg', '/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_25_10552.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_34_9551.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_45_10637.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_55_9622.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_19_04_9815.jpg
/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_14_9775.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.48507070541381836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:22:32.062396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_53_3252.jpg', '/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_56_2695.jpg', '/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_05_2669.jpg', '/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_08_2884.jpg', '/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_17_2603.jpg', '/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_20_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/21/04/image_03112025_21_04_53_3252.jpg
/home/pi/Desktop/images/03112025/21/04/image_03112025_21_04_56_2695.jpg
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_05_2669.jpg
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_08_2884.jpg
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_17_2603.jpg
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_20_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401967847","1401967846","1401967840","1401967843","1401967837","1401967845"],"photo_ids_order":["1401967837","1401967840","1401967843","1401967845","1401967846","1401967847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b460803f97e1fc0aec1248510463fad.jpg","text":"TemporaryFile(/tmp/multipartBody4120285249559835051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223413950,"filename":"image_03112025_21_05_20_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d50be812c7d0df812f236973f9bfd11a.jpg","text":"TemporaryFile(/tmp/multipartBody9167579337824547350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223413950,"filename":"image_03112025_21_05_17_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4d48bd49020f7e7f5a42bad488f35a0.jpg","text":"TemporaryFile(/tmp/multipartBody4995141653028283878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223413950,"filename":"image_03112025_21_04_56_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3dd8d3b81e5d88435dda15efc10cf60a.jpg","text":"TemporaryFile(/tmp/multipartBody2989105778174273114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223413950,"filename":"image_03112025_21_05_05_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88697e664aec545888bfe6a5bd2a20af.jpg","text":"TemporaryFile(/tmp/multipartBody5432840568419343369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223413950,"filename":"image_03112025_21_04_53_3252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3e11ea39d30ca3715d1e5edf318e82a.jpg","text":"TemporaryFile(/tmp/multipartBody5389363434075824757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223413950,"filename":"image_03112025_21_05_08_2884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967843","file1":"1401967840","file0":"1401967837","file4":"1401967846","file5":"1401967847","file3":"1401967845"},"map_files_photo_id_array":[{"photo_id":"1401967847","filename":"file5"},{"photo_id":"1401967843","filename":"file2"},{"photo_id":"1401967846","filename":"file4"},{"photo_id":"1401967840","filename":"file1"},{"photo_id":"1401967837","filename":"file0"},{"photo_id":"1401967845","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967847":["hashtag1","hashtag2"]},{"1401967846":["hashtag1","hashtag2"]},{"1401967840":["hashtag1","hashtag2"]},{"1401967843":["hashtag1","hashtag2"]},{"1401967837":["hashtag1","hashtag2"]},{"1401967845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967847, 1401967846, 1401967840, 1401967843, 1401967837, 1401967845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.05962824821472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:23:22.127735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_25_10552.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_34_9551.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_45_10637.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_55_9622.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_19_04_9815.jpg', '/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_25_10552.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_34_9551.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_45_10637.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_55_9622.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_19_04_9815.jpg
/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_14_9775.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.45569872856140137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:23:32.185442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_23_2668.jpg', '/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_29_3598.jpg', '/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_32_2608.jpg', '/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_34_2705.jpg', '/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_59_2676.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_01_2762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_23_2668.jpg
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_29_3598.jpg
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_32_2608.jpg
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_34_2705.jpg
/home/pi/Desktop/images/03112025/21/05/image_03112025_21_05_59_2676.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_01_2762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967870","1401967855","1401967858","1401967872","1401967874","1401967862"],"photo_ids_order":["1401967855","1401967858","1401967862","1401967870","1401967872","1401967874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14fdb758b59aba506d56f08634a8e9e9.jpg","text":"TemporaryFile(/tmp/multipartBody9131169450882529259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223473922,"filename":"image_03112025_21_05_34_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08360aa8d038b3c7a1cf72e4543a0fea.jpg","text":"TemporaryFile(/tmp/multipartBody1372199475617092400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223473922,"filename":"image_03112025_21_05_23_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/113171bcfca5ba1aa88ad3641dbc8a7b.jpg","text":"TemporaryFile(/tmp/multipartBody8098273710187462459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223473922,"filename":"image_03112025_21_05_29_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/256fcf509f7240e51b33fe8bfc6307c9.jpg","text":"TemporaryFile(/tmp/multipartBody7563933612480734114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223473922,"filename":"image_03112025_21_05_59_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f4240219b6fbdab89b9365da97ba6b3.jpg","text":"TemporaryFile(/tmp/multipartBody8212117496491252905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223473922,"filename":"image_03112025_21_06_01_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95df5db83a17c021e9da0507d3db7690.jpg","text":"TemporaryFile(/tmp/multipartBody2152121371434627444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223473922,"filename":"image_03112025_21_05_32_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967862","file1":"1401967858","file0":"1401967855","file4":"1401967872","file5":"1401967874","file3":"1401967870"},"map_files_photo_id_array":[{"photo_id":"1401967874","filename":"file5"},{"photo_id":"1401967862","filename":"file2"},{"photo_id":"1401967872","filename":"file4"},{"photo_id":"1401967858","filename":"file1"},{"photo_id":"1401967855","filename":"file0"},{"photo_id":"1401967870","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967870":["hashtag1","hashtag2"]},{"1401967855":["hashtag1","hashtag2"]},{"1401967858":["hashtag1","hashtag2"]},{"1401967872":["hashtag1","hashtag2"]},{"1401967874":["hashtag1","hashtag2"]},{"1401967862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967870, 1401967855, 1401967858, 1401967872, 1401967874, 1401967862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.842041969299316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:24:12.254255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_05_3677.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_08_2657.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_10_2832.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_14_3511.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_23_3520.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_26_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/21/06/image_03112025_21_06_05_3677.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_08_2657.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_10_2832.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_14_3511.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_23_3520.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_26_2823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967882","1401967876","1401967875","1401967878","1401967886","1401967883"],"photo_ids_order":["1401967875","1401967876","1401967878","1401967882","1401967883","1401967886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ccd99475fefed266505e0c2a233bd637.jpg","text":"TemporaryFile(/tmp/multipartBody5183610283497990694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223513882,"filename":"image_03112025_21_06_14_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c819643b4333cdb5258aed26bbd90d0.jpg","text":"TemporaryFile(/tmp/multipartBody277882808996490514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223513882,"filename":"image_03112025_21_06_08_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46ac47e424ed6c1ad0a989dff5d458a0.jpg","text":"TemporaryFile(/tmp/multipartBody4935936256481593104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223513882,"filename":"image_03112025_21_06_05_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91a9d50395353d10a3ee8edd17344497.jpg","text":"TemporaryFile(/tmp/multipartBody6079797370750541748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223513882,"filename":"image_03112025_21_06_10_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1574d32beb962d5e40a529841d9476b5.jpg","text":"TemporaryFile(/tmp/multipartBody2126918466701680833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223513882,"filename":"image_03112025_21_06_26_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e716b969846470bb769607adaf67ebc.jpg","text":"TemporaryFile(/tmp/multipartBody2643863970996511613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223513882,"filename":"image_03112025_21_06_23_3520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967878","file1":"1401967876","file0":"1401967875","file4":"1401967883","file5":"1401967886","file3":"1401967882"},"map_files_photo_id_array":[{"photo_id":"1401967886","filename":"file5"},{"photo_id":"1401967878","filename":"file2"},{"photo_id":"1401967883","filename":"file4"},{"photo_id":"1401967876","filename":"file1"},{"photo_id":"1401967875","filename":"file0"},{"photo_id":"1401967882","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967882":["hashtag1","hashtag2"]},{"1401967876":["hashtag1","hashtag2"]},{"1401967875":["hashtag1","hashtag2"]},{"1401967878":["hashtag1","hashtag2"]},{"1401967886":["hashtag1","hashtag2"]},{"1401967883":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967882, 1401967876, 1401967875, 1401967878, 1401967886, 1401967883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24290442466736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:25:03.164570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_25_10552.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_34_9551.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_45_10637.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_55_9622.jpg', '/home/pi/Desktop/images/01012026/00/18/image_01012026_00_19_04_9815.jpg', '/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_14_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_25_10552.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_34_9551.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_45_10637.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_18_55_9622.jpg
/home/pi/Desktop/images/01012026/00/18/image_01012026_00_19_04_9815.jpg
/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_14_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":["1401967897","1401967891","1401967890","1401967892","1401967895","1401967889"],"photo_ids_order":["1401967889","1401967890","1401967891","1401967892","1401967895","1401967897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/980364784ebae1e739da9556328b9559.jpg","text":"TemporaryFile(/tmp/multipartBody7599415289285379626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223563848,"filename":"image_01012026_00_19_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dde6d9d05c5e9cac543126cbfc169497.jpg","text":"TemporaryFile(/tmp/multipartBody5236835114399262666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223563848,"filename":"image_01012026_00_18_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98ff3254b84d790f17e0251c8fee4dbc.jpg","text":"TemporaryFile(/tmp/multipartBody660406967286885556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223563848,"filename":"image_01012026_00_18_34_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba6e94de4c9d1dc069c6bc7e9069796b.jpg","text":"TemporaryFile(/tmp/multipartBody7736369370803652689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223563848,"filename":"image_01012026_00_18_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2f6898fbf61a0d6e64b059884ef6048.jpg","text":"TemporaryFile(/tmp/multipartBody7860822913285463678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223563848,"filename":"image_01012026_00_19_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/671aa0ca98182517dfaadc1cd45f186b.jpg","text":"TemporaryFile(/tmp/multipartBody3964756019616154216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223563848,"filename":"image_01012026_00_18_25_10552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967891","file1":"1401967890","file0":"1401967889","file4":"1401967895","file5":"1401967897","file3":"1401967892"},"map_files_photo_id_array":[{"photo_id":"1401967897","filename":"file5"},{"photo_id":"1401967891","filename":"file2"},{"photo_id":"1401967895","filename":"file4"},{"photo_id":"1401967890","filename":"file1"},{"photo_id":"1401967889","filename":"file0"},{"photo_id":"1401967892","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967897":["hashtag1","hashtag2"]},{"1401967891":["hashtag1","hashtag2"]},{"1401967890":["hashtag1","hashtag2"]},{"1401967892":["hashtag1","hashtag2"]},{"1401967895":["hashtag1","hashtag2"]},{"1401967889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967897, 1401967891, 1401967890, 1401967892, 1401967895, 1401967889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95365619659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:25:42.623588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_38_3594.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_44_2797.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_52_2634.jpg', '/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_56_3656.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_20_3672.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_26_5655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_38_3594.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_44_2797.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_52_2634.jpg
/home/pi/Desktop/images/03112025/21/06/image_03112025_21_06_56_3656.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_20_3672.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_26_5655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967904","1401967907","1401967906","1401967908","1401967902","1401967905"],"photo_ids_order":["1401967902","1401967904","1401967905","1401967906","1401967907","1401967908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d28c125334da5f2fa1b100892583734c.jpg","text":"TemporaryFile(/tmp/multipartBody6765033328717426399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223604368,"filename":"image_03112025_21_06_44_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57d556443a4f9ae1e857dd63765345c1.jpg","text":"TemporaryFile(/tmp/multipartBody8907651371411961208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223604368,"filename":"image_03112025_21_07_20_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dc585b53eae94a12b49d84ace7cba91.jpg","text":"TemporaryFile(/tmp/multipartBody2062310498392018262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223604368,"filename":"image_03112025_21_06_56_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e366cc68406e4051c9d5cd19869aba3.jpg","text":"TemporaryFile(/tmp/multipartBody8774161228245795566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223604368,"filename":"image_03112025_21_07_26_5655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9e6159f4ad29b6a2b0372067df2618c.jpg","text":"TemporaryFile(/tmp/multipartBody3871420855478220106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223604368,"filename":"image_03112025_21_06_38_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd7d98178931bba53eab33622e66274f.jpg","text":"TemporaryFile(/tmp/multipartBody6430746766985448075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223604368,"filename":"image_03112025_21_06_52_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967905","file1":"1401967904","file0":"1401967902","file4":"1401967907","file5":"1401967908","file3":"1401967906"},"map_files_photo_id_array":[{"photo_id":"1401967908","filename":"file5"},{"photo_id":"1401967905","filename":"file2"},{"photo_id":"1401967907","filename":"file4"},{"photo_id":"1401967904","filename":"file1"},{"photo_id":"1401967902","filename":"file0"},{"photo_id":"1401967906","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401967904":["hashtag1","hashtag2"]},{"1401967907":["hashtag1","hashtag2"]},{"1401967906":["hashtag1","hashtag2"]},{"1401967908":["hashtag1","hashtag2"]},{"1401967902":["hashtag1","hashtag2"]},{"1401967905":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401967904, 1401967907, 1401967906, 1401967908, 1401967902, 1401967905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1138813495636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:26:22.758348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_24_9900.jpg', '/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_35_10772.jpg', '/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_45_9598.jpg', '/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_54_9606.jpg', '/home/pi/Desktop/images/01012026/00/19/image_01012026_00_20_05_10701.jpg', '/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_15_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_24_9900.jpg
/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_35_10772.jpg
/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_45_9598.jpg
/home/pi/Desktop/images/01012026/00/19/image_01012026_00_19_54_9606.jpg
/home/pi/Desktop/images/01012026/00/19/image_01012026_00_20_05_10701.jpg
/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_15_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967925","1401967916","1401967912","1401967920","1401967914","1401967917"],"photo_ids_order":["1401967912","1401967914","1401967916","1401967917","1401967920","1401967925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7c14c9cc6c8104761de7a6c58ab91f8.jpg","text":"TemporaryFile(/tmp/multipartBody7513545214383359422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223643321,"filename":"image_01012026_00_20_15_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f357d3eea60c7474fce0dbb60c8c9ff.jpg","text":"TemporaryFile(/tmp/multipartBody3601157327907764280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223643321,"filename":"image_01012026_00_19_45_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1a51a29841fec4afdb3b43ad62ce1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1312400293916548409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223643321,"filename":"image_01012026_00_19_24_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b8e7d62f89030417014438aad6367b7.jpg","text":"TemporaryFile(/tmp/multipartBody7628781366304977187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223643321,"filename":"image_01012026_00_20_05_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a37ec98905d0e9639732a1f3be432a6.jpg","text":"TemporaryFile(/tmp/multipartBody7039911631913593412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223643321,"filename":"image_01012026_00_19_35_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ff6bcea976ca514d9fd29a0c81d2326.jpg","text":"TemporaryFile(/tmp/multipartBody5869295964239669510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223643321,"filename":"image_01012026_00_19_54_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967916","file1":"1401967914","file0":"1401967912","file4":"1401967920","file5":"1401967925","file3":"1401967917"},"map_files_photo_id_array":[{"photo_id":"1401967925","filename":"file5"},{"photo_id":"1401967916","filename":"file2"},{"photo_id":"1401967920","filename":"file4"},{"photo_id":"1401967914","filename":"file1"},{"photo_id":"1401967912","filename":"file0"},{"photo_id":"1401967917","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967925":["hashtag1","hashtag2"]},{"1401967916":["hashtag1","hashtag2"]},{"1401967912":["hashtag1","hashtag2"]},{"1401967920":["hashtag1","hashtag2"]},{"1401967914":["hashtag1","hashtag2"]},{"1401967917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967925, 1401967916, 1401967912, 1401967920, 1401967914, 1401967917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56270480155945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:27:02.663291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_24_9724.jpg', '/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_35_10546.jpg', '/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_45_9793.jpg', '/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_54_9544.jpg', '/home/pi/Desktop/images/01012026/00/20/image_01012026_00_21_05_10654.jpg', '/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_15_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_24_9724.jpg
/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_35_10546.jpg
/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_45_9793.jpg
/home/pi/Desktop/images/01012026/00/20/image_01012026_00_20_54_9544.jpg
/home/pi/Desktop/images/01012026/00/20/image_01012026_00_21_05_10654.jpg
/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_15_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":["1401967928","1401967933","1401967927","1401967930","1401967926","1401967929"],"photo_ids_order":["1401967926","1401967927","1401967928","1401967929","1401967930","1401967933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec269ee86f8b2aebc810ac254d13c225.jpg","text":"TemporaryFile(/tmp/multipartBody2857516227522761129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223683322,"filename":"image_01012026_00_20_45_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4431e62d244bb26432acd4c7b00ed40c.jpg","text":"TemporaryFile(/tmp/multipartBody7602287499456206410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223683322,"filename":"image_01012026_00_21_15_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58e962b2c428bfc9630b7d867e5271a9.jpg","text":"TemporaryFile(/tmp/multipartBody483517486049976270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223683322,"filename":"image_01012026_00_20_35_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ffdb8187d4265977577df537175f005.jpg","text":"TemporaryFile(/tmp/multipartBody1504208246092464107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223683322,"filename":"image_01012026_00_21_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64ba49468abcbff3cfaf52ff11084b02.jpg","text":"TemporaryFile(/tmp/multipartBody97913054433679026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223683322,"filename":"image_01012026_00_20_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e535cb4b2117f4a420a027f0ac88d411.jpg","text":"TemporaryFile(/tmp/multipartBody8080233951177231361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223683322,"filename":"image_01012026_00_20_54_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967928","file1":"1401967927","file0":"1401967926","file4":"1401967930","file5":"1401967933","file3":"1401967929"},"map_files_photo_id_array":[{"photo_id":"1401967933","filename":"file5"},{"photo_id":"1401967928","filename":"file2"},{"photo_id":"1401967930","filename":"file4"},{"photo_id":"1401967927","filename":"file1"},{"photo_id":"1401967926","filename":"file0"},{"photo_id":"1401967929","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967928":["hashtag1","hashtag2"]},{"1401967933":["hashtag1","hashtag2"]},{"1401967927":["hashtag1","hashtag2"]},{"1401967930":["hashtag1","hashtag2"]},{"1401967926":["hashtag1","hashtag2"]},{"1401967929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967928, 1401967933, 1401967927, 1401967930, 1401967926, 1401967929)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.26240611076355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:28:02.427123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_24_9612.jpg', '/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_35_10769.jpg', '/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_45_9685.jpg', '/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_54_9659.jpg', '/home/pi/Desktop/images/01012026/00/21/image_01012026_00_22_04_9885.jpg', '/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_14_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_24_9612.jpg
/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_35_10769.jpg
/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_45_9685.jpg
/home/pi/Desktop/images/01012026/00/21/image_01012026_00_21_54_9659.jpg
/home/pi/Desktop/images/01012026/00/21/image_01012026_00_22_04_9885.jpg
/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_14_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401967946","1401967942","1401967944","1401967941","1401967940","1401967943"],"photo_ids_order":["1401967940","1401967941","1401967942","1401967943","1401967944","1401967946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8264e838834b9475989aed04294dd945.jpg","text":"TemporaryFile(/tmp/multipartBody5778156777772299929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223743047,"filename":"image_01012026_00_22_14_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44b59dbef1f6339d449faaf169e95465.jpg","text":"TemporaryFile(/tmp/multipartBody7426529263372338122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223743047,"filename":"image_01012026_00_21_45_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb423709893b894eff72d2d309d5ba45.jpg","text":"TemporaryFile(/tmp/multipartBody8229333922677932608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223743047,"filename":"image_01012026_00_22_04_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/747650ac92fe519bad540cc9202b1a4d.jpg","text":"TemporaryFile(/tmp/multipartBody3667328299317841256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223743047,"filename":"image_01012026_00_21_35_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f3cf3d6d992ccf0e58745582f5f3f80.jpg","text":"TemporaryFile(/tmp/multipartBody6494303280972569843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223743047,"filename":"image_01012026_00_21_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73cf8a41e0ac9e80e194158d887a026d.jpg","text":"TemporaryFile(/tmp/multipartBody1357840068709852986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223743047,"filename":"image_01012026_00_21_54_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967942","file1":"1401967941","file0":"1401967940","file4":"1401967944","file5":"1401967946","file3":"1401967943"},"map_files_photo_id_array":[{"photo_id":"1401967946","filename":"file5"},{"photo_id":"1401967942","filename":"file2"},{"photo_id":"1401967944","filename":"file4"},{"photo_id":"1401967941","filename":"file1"},{"photo_id":"1401967940","filename":"file0"},{"photo_id":"1401967943","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967946":["hashtag1","hashtag2"]},{"1401967942":["hashtag1","hashtag2"]},{"1401967944":["hashtag1","hashtag2"]},{"1401967941":["hashtag1","hashtag2"]},{"1401967940":["hashtag1","hashtag2"]},{"1401967943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967946, 1401967942, 1401967944, 1401967941, 1401967940, 1401967943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50010681152344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:28:41.920189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_34_2723.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_38_3784.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_43_2756.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_46_2696.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_50_3562.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_53_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_34_2723.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_38_3784.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_43_2756.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_46_2696.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_50_3562.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_53_2811.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.5338246822357178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:29:03.198349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_25_10675.jpg', '/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_34_9290.jpg', '/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_45_10689.jpg', '/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_54_9663.jpg', '/home/pi/Desktop/images/01012026/00/22/image_01012026_00_23_04_9730.jpg', '/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_15_10817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_25_10675.jpg
/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_34_9290.jpg
/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_45_10689.jpg
/home/pi/Desktop/images/01012026/00/22/image_01012026_00_22_54_9663.jpg
/home/pi/Desktop/images/01012026/00/22/image_01012026_00_23_04_9730.jpg
/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_15_10817.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":["1401967963","1401967966","1401967969","1401967960","1401967962","1401967959"],"photo_ids_order":["1401967959","1401967960","1401967962","1401967963","1401967966","1401967969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3837e81b411d0b48aee68e9e9deeceb.jpg","text":"TemporaryFile(/tmp/multipartBody1593800550232424156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223806020,"filename":"image_01012026_00_22_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b413084e259b565f415c830f76e39795.jpg","text":"TemporaryFile(/tmp/multipartBody3255775512070528081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223806020,"filename":"image_01012026_00_23_04_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c204b5c0d2dbdbef213bedc209e6c5dc.jpg","text":"TemporaryFile(/tmp/multipartBody8146826628508731637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223806020,"filename":"image_01012026_00_23_15_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/828cdcc97b102c7fd12d5bb0ebdfe6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4879107585971794278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223806020,"filename":"image_01012026_00_22_34_9290.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/addbf1a3167ba850ce82e0fdbda924e4.jpg","text":"TemporaryFile(/tmp/multipartBody2535837293629280537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223806020,"filename":"image_01012026_00_22_45_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31cea96a1b15b39ff6df04ce0543ce6a.jpg","text":"TemporaryFile(/tmp/multipartBody1467439362822044170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223806020,"filename":"image_01012026_00_22_25_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967962","file1":"1401967960","file0":"1401967959","file4":"1401967966","file5":"1401967969","file3":"1401967963"},"map_files_photo_id_array":[{"photo_id":"1401967969","filename":"file5"},{"photo_id":"1401967962","filename":"file2"},{"photo_id":"1401967966","filename":"file4"},{"photo_id":"1401967960","filename":"file1"},{"photo_id":"1401967959","filename":"file0"},{"photo_id":"1401967963","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967963":["hashtag1","hashtag2"]},{"1401967966":["hashtag1","hashtag2"]},{"1401967969":["hashtag1","hashtag2"]},{"1401967960":["hashtag1","hashtag2"]},{"1401967962":["hashtag1","hashtag2"]},{"1401967959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967963, 1401967966, 1401967969, 1401967960, 1401967962, 1401967959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63106107711792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:30:02.940172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_25_9779.jpg', '/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_34_9683.jpg', '/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_45_10584.jpg', '/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_55_9756.jpg', '/home/pi/Desktop/images/01012026/00/23/image_01012026_00_24_04_9706.jpg', '/home/pi/Desktop/images/01012026/00/24/image_01012026_00_24_14_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_25_9779.jpg
/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_34_9683.jpg
/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_45_10584.jpg
/home/pi/Desktop/images/01012026/00/23/image_01012026_00_23_55_9756.jpg
/home/pi/Desktop/images/01012026/00/23/image_01012026_00_24_04_9706.jpg
/home/pi/Desktop/images/01012026/00/24/image_01012026_00_24_14_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":["1401967984","1401967983","1401967986","1401967991","1401967985","1401967988"],"photo_ids_order":["1401967983","1401967984","1401967985","1401967986","1401967988","1401967991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed320e76f82e2ae8fd1941b44073fb01.jpg","text":"TemporaryFile(/tmp/multipartBody6374657539032302839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223863566,"filename":"image_01012026_00_23_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecfcbc6d07c7716742e89438f1b20d84.jpg","text":"TemporaryFile(/tmp/multipartBody7878308089945808233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223863566,"filename":"image_01012026_00_23_25_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e130a2b1b45bd55b791f3fda879e8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5014538800984495406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223863566,"filename":"image_01012026_00_23_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0fca5d7ba258eca597870f72c7c9623.jpg","text":"TemporaryFile(/tmp/multipartBody6466441635400223475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223863566,"filename":"image_01012026_00_24_14_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dd3b9d1328544f46cdd5684c1186a81.jpg","text":"TemporaryFile(/tmp/multipartBody5667226388415244842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223863566,"filename":"image_01012026_00_23_45_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5807ca4c17ef0f8ec240aaf19baf508c.jpg","text":"TemporaryFile(/tmp/multipartBody291183149988047545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223863566,"filename":"image_01012026_00_24_04_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967985","file1":"1401967984","file0":"1401967983","file4":"1401967988","file5":"1401967991","file3":"1401967986"},"map_files_photo_id_array":[{"photo_id":"1401967991","filename":"file5"},{"photo_id":"1401967985","filename":"file2"},{"photo_id":"1401967988","filename":"file4"},{"photo_id":"1401967984","filename":"file1"},{"photo_id":"1401967983","filename":"file0"},{"photo_id":"1401967986","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401967984":["hashtag1","hashtag2"]},{"1401967983":["hashtag1","hashtag2"]},{"1401967986":["hashtag1","hashtag2"]},{"1401967991":["hashtag1","hashtag2"]},{"1401967985":["hashtag1","hashtag2"]},{"1401967988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401967984, 1401967983, 1401967986, 1401967991, 1401967985, 1401967988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.648566007614136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:30:42.513207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_34_2723.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_38_3784.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_43_2756.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_46_2696.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_50_3562.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_53_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_34_2723.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_38_3784.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_43_2756.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_46_2696.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_50_3562.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_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":["1401968000","1401967996","1401967999","1401968002","1401967998","1401968001"],"photo_ids_order":["1401967996","1401967998","1401967999","1401968000","1401968001","1401968002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e827f540def479683704756f01ba46e4.jpg","text":"TemporaryFile(/tmp/multipartBody5591117740430890720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223904155,"filename":"image_03112025_21_07_46_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39a8853bca2e5c898c5883f4e2496773.jpg","text":"TemporaryFile(/tmp/multipartBody8662133052106628312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223904155,"filename":"image_03112025_21_07_34_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/808fa6ce1e428366cf08da04821f8fdf.jpg","text":"TemporaryFile(/tmp/multipartBody8287794328242530476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223904155,"filename":"image_03112025_21_07_43_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a2864cd57b5166be9fe50176db0d791.jpg","text":"TemporaryFile(/tmp/multipartBody6489321569056444707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223904155,"filename":"image_03112025_21_07_53_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02db75afdaa115025cb00b7627aaba43.jpg","text":"TemporaryFile(/tmp/multipartBody9198124289871939353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223904155,"filename":"image_03112025_21_07_38_3784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d64977fa481364591d47a678249433d.jpg","text":"TemporaryFile(/tmp/multipartBody3112125069209796159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223904155,"filename":"image_03112025_21_07_50_3562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401967999","file1":"1401967998","file0":"1401967996","file4":"1401968001","file5":"1401968002","file3":"1401968000"},"map_files_photo_id_array":[{"photo_id":"1401968002","filename":"file5"},{"photo_id":"1401967999","filename":"file2"},{"photo_id":"1401968001","filename":"file4"},{"photo_id":"1401967998","filename":"file1"},{"photo_id":"1401967996","filename":"file0"},{"photo_id":"1401968000","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968000":["hashtag1","hashtag2"]},{"1401967996":["hashtag1","hashtag2"]},{"1401967999":["hashtag1","hashtag2"]},{"1401968002":["hashtag1","hashtag2"]},{"1401967998":["hashtag1","hashtag2"]},{"1401968001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968000, 1401967996, 1401967999, 1401968002, 1401967998, 1401968001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.41840744018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:31:22.588202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/24/image_01012026_00_24_24_9952.jpg', '/home/pi/Desktop/images/01012026/00/24/image_01012026_00_24_45_9667.jpg', '/home/pi/Desktop/images/01012026/00/24/image_01012026_00_24_54_9657.jpg', '/home/pi/Desktop/images/01012026/00/24/image_01012026_00_25_05_10705.jpg', '/home/pi/Desktop/images/01012026/00/25/image_01012026_00_25_15_9719.jpg', '/home/pi/Desktop/images/01012026/00/25/image_01012026_00_25_24_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/24/image_01012026_00_24_24_9952.jpg
/home/pi/Desktop/images/01012026/00/24/image_01012026_00_24_45_9667.jpg
/home/pi/Desktop/images/01012026/00/24/image_01012026_00_24_54_9657.jpg
/home/pi/Desktop/images/01012026/00/24/image_01012026_00_25_05_10705.jpg
/home/pi/Desktop/images/01012026/00/25/image_01012026_00_25_15_9719.jpg
/home/pi/Desktop/images/01012026/00/25/image_01012026_00_25_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":["1401968014","1401968008","1401968011","1401968010","1401968016","1401968006"],"photo_ids_order":["1401968006","1401968008","1401968010","1401968011","1401968014","1401968016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6ce6c9e2e46d12bb5f7280a5f242178.jpg","text":"TemporaryFile(/tmp/multipartBody1513664856952067007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223943155,"filename":"image_01012026_00_25_15_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bed33f08758214b57622d81c84af7cd.jpg","text":"TemporaryFile(/tmp/multipartBody1324097470992897995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223943155,"filename":"image_01012026_00_24_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6760cbcb7afb50e38e7ea9ed8803adbe.jpg","text":"TemporaryFile(/tmp/multipartBody5501764186713846252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223943155,"filename":"image_01012026_00_25_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f33556b23846144349e7e6aaf3bfc7f1.jpg","text":"TemporaryFile(/tmp/multipartBody6249335945632402174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223943155,"filename":"image_01012026_00_24_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/913e28b84338b77cb1139c5ecda6417e.jpg","text":"TemporaryFile(/tmp/multipartBody4971632467477525468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223943155,"filename":"image_01012026_00_25_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f82ffcc58ab60444d389ed2e0d9f2e14.jpg","text":"TemporaryFile(/tmp/multipartBody543573074660879123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223943155,"filename":"image_01012026_00_24_24_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968010","file1":"1401968008","file0":"1401968006","file4":"1401968014","file5":"1401968016","file3":"1401968011"},"map_files_photo_id_array":[{"photo_id":"1401968016","filename":"file5"},{"photo_id":"1401968010","filename":"file2"},{"photo_id":"1401968014","filename":"file4"},{"photo_id":"1401968008","filename":"file1"},{"photo_id":"1401968006","filename":"file0"},{"photo_id":"1401968011","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968014":["hashtag1","hashtag2"]},{"1401968008":["hashtag1","hashtag2"]},{"1401968011":["hashtag1","hashtag2"]},{"1401968010":["hashtag1","hashtag2"]},{"1401968016":["hashtag1","hashtag2"]},{"1401968006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968014, 1401968008, 1401968011, 1401968010, 1401968016, 1401968006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40850019454956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:32:02.350948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/25/image_01012026_00_25_34_9771.jpg', '/home/pi/Desktop/images/01012026/00/25/image_01012026_00_25_45_10710.jpg', '/home/pi/Desktop/images/01012026/00/25/image_01012026_00_26_04_9758.jpg', '/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_15_10658.jpg', '/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_25_9676.jpg', '/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_34_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/25/image_01012026_00_25_34_9771.jpg
/home/pi/Desktop/images/01012026/00/25/image_01012026_00_25_45_10710.jpg
/home/pi/Desktop/images/01012026/00/25/image_01012026_00_26_04_9758.jpg
/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_15_10658.jpg
/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_25_9676.jpg
/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_34_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":["1401968020","1401968017","1401968019","1401968022","1401968024","1401968018"],"photo_ids_order":["1401968017","1401968018","1401968019","1401968020","1401968022","1401968024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01002e59b05fe405690c1076c38bc565.jpg","text":"TemporaryFile(/tmp/multipartBody3029823998295145895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223983017,"filename":"image_01012026_00_26_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6160377d0ac671ff6584face6f4104f5.jpg","text":"TemporaryFile(/tmp/multipartBody4859576347197539272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223983017,"filename":"image_01012026_00_25_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/129b2e23ff01946763a62a3cf68aecac.jpg","text":"TemporaryFile(/tmp/multipartBody6457073803166827435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223983017,"filename":"image_01012026_00_26_04_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19ede17b8db0e2505a9b58a8b143fcbf.jpg","text":"TemporaryFile(/tmp/multipartBody3874457939655887268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223983017,"filename":"image_01012026_00_26_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d11ab70b6da42d4c292d040f60bcd44.jpg","text":"TemporaryFile(/tmp/multipartBody6171150232504844467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223983017,"filename":"image_01012026_00_26_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b915fb3ca8bc78e3047e9840fe79c15.jpg","text":"TemporaryFile(/tmp/multipartBody2354191969815811003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767223983017,"filename":"image_01012026_00_25_45_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968019","file1":"1401968018","file0":"1401968017","file4":"1401968022","file5":"1401968024","file3":"1401968020"},"map_files_photo_id_array":[{"photo_id":"1401968024","filename":"file5"},{"photo_id":"1401968019","filename":"file2"},{"photo_id":"1401968022","filename":"file4"},{"photo_id":"1401968018","filename":"file1"},{"photo_id":"1401968017","filename":"file0"},{"photo_id":"1401968020","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968020":["hashtag1","hashtag2"]},{"1401968017":["hashtag1","hashtag2"]},{"1401968019":["hashtag1","hashtag2"]},{"1401968022":["hashtag1","hashtag2"]},{"1401968024":["hashtag1","hashtag2"]},{"1401968018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968020, 1401968017, 1401968019, 1401968022, 1401968024, 1401968018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.814629554748535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:32:41.962584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_56_3509.jpg', '/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_59_2809.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_01_2670.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_04_2612.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_08_3589.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_10_2721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_56_3509.jpg
/home/pi/Desktop/images/03112025/21/07/image_03112025_21_07_59_2809.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_01_2670.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_04_2612.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_08_3589.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_10_2721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968032","1401968035","1401968038","1401968037","1401968034","1401968036"],"photo_ids_order":["1401968032","1401968034","1401968035","1401968036","1401968037","1401968038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7b608b141fa5fa0fec692c89aa9d37d.jpg","text":"TemporaryFile(/tmp/multipartBody7299249004038733070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224023695,"filename":"image_03112025_21_07_56_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70bfa55e1817f6cc6b756044ee1ef5ec.jpg","text":"TemporaryFile(/tmp/multipartBody8826863218185169777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224023695,"filename":"image_03112025_21_08_01_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64e7e8b4c253fd029a117cd320413daf.jpg","text":"TemporaryFile(/tmp/multipartBody2386734962806350979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224023695,"filename":"image_03112025_21_08_10_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28c93dcf6a2aeb7c51b9a98b37f4f3c6.jpg","text":"TemporaryFile(/tmp/multipartBody1087909330356563032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224023695,"filename":"image_03112025_21_08_08_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c29d8927f1cc62aec3f65d676ef35f8.jpg","text":"TemporaryFile(/tmp/multipartBody4717008936201997735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224023695,"filename":"image_03112025_21_07_59_2809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2d12d0305206cb12d5f79ca80667135.jpg","text":"TemporaryFile(/tmp/multipartBody8092271818676174759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224023695,"filename":"image_03112025_21_08_04_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968035","file1":"1401968034","file0":"1401968032","file4":"1401968037","file5":"1401968038","file3":"1401968036"},"map_files_photo_id_array":[{"photo_id":"1401968038","filename":"file5"},{"photo_id":"1401968035","filename":"file2"},{"photo_id":"1401968037","filename":"file4"},{"photo_id":"1401968034","filename":"file1"},{"photo_id":"1401968032","filename":"file0"},{"photo_id":"1401968036","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968032":["hashtag1","hashtag2"]},{"1401968035":["hashtag1","hashtag2"]},{"1401968038":["hashtag1","hashtag2"]},{"1401968037":["hashtag1","hashtag2"]},{"1401968034":["hashtag1","hashtag2"]},{"1401968036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968032, 1401968035, 1401968038, 1401968037, 1401968034, 1401968036)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.20850658416748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:33:32.232370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_17_3735.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_20_2764.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_22_2759.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_25_2745.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_33_1516.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_34_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_17_3735.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_20_2764.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_22_2759.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_25_2745.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_33_1516.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_34_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968044","1401968053","1401968047","1401968049","1401968042","1401968051"],"photo_ids_order":["1401968042","1401968044","1401968047","1401968049","1401968051","1401968053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb9948a12a075fafd535fd635ab7cad8.jpg","text":"TemporaryFile(/tmp/multipartBody2863701931982261499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224073988,"filename":"image_03112025_21_08_20_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/167b0fc9f4d179a95075f184208a8495.jpg","text":"TemporaryFile(/tmp/multipartBody7178408803661029211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224073988,"filename":"image_03112025_21_08_34_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82225b4637eed31035b09d7cb7e3fb20.jpg","text":"TemporaryFile(/tmp/multipartBody3663949601324744615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224073988,"filename":"image_03112025_21_08_22_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20365d9e67866ee40fcbfa4a5ba27775.jpg","text":"TemporaryFile(/tmp/multipartBody1229489296062693884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224073988,"filename":"image_03112025_21_08_25_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9d38618fc1ca33ffba73e8fc2f94b12.jpg","text":"TemporaryFile(/tmp/multipartBody9010716453624698497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224073988,"filename":"image_03112025_21_08_17_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4e8fd9f0787d34d0dc461795d299e16.jpg","text":"TemporaryFile(/tmp/multipartBody2889771839351710115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224073988,"filename":"image_03112025_21_08_33_1516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968047","file1":"1401968044","file0":"1401968042","file4":"1401968051","file5":"1401968053","file3":"1401968049"},"map_files_photo_id_array":[{"photo_id":"1401968053","filename":"file5"},{"photo_id":"1401968047","filename":"file2"},{"photo_id":"1401968051","filename":"file4"},{"photo_id":"1401968044","filename":"file1"},{"photo_id":"1401968042","filename":"file0"},{"photo_id":"1401968049","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968044":["hashtag1","hashtag2"]},{"1401968053":["hashtag1","hashtag2"]},{"1401968047":["hashtag1","hashtag2"]},{"1401968049":["hashtag1","hashtag2"]},{"1401968042":["hashtag1","hashtag2"]},{"1401968051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968044, 1401968053, 1401968047, 1401968049, 1401968042, 1401968051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.881367444992065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:34:12.038655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_38_3794.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_41_2562.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_50_2806.jpg', '/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_59_2775.jpg', '/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_05_6363.jpg', '/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_18_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_38_3794.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_41_2562.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_50_2806.jpg
/home/pi/Desktop/images/03112025/21/08/image_03112025_21_08_59_2775.jpg
/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_05_6363.jpg
/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_18_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968056","1401968058","1401968066","1401968060","1401968063","1401968057"],"photo_ids_order":["1401968056","1401968057","1401968058","1401968060","1401968063","1401968066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2aedf4e0c354dd15474df7a813be38b.jpg","text":"TemporaryFile(/tmp/multipartBody8237775579184427122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224113687,"filename":"image_03112025_21_08_38_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c40db31a16837515e6c3380895ec04d.jpg","text":"TemporaryFile(/tmp/multipartBody6929489861026899663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224113687,"filename":"image_03112025_21_08_50_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe5c85b9bc863c31e7de8b66b3aa4fd2.jpg","text":"TemporaryFile(/tmp/multipartBody6826490153155433383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224113687,"filename":"image_03112025_21_09_18_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a32ea2e2d1d6388c3dc1f2196641f35.jpg","text":"TemporaryFile(/tmp/multipartBody7828789397943505955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224113687,"filename":"image_03112025_21_08_59_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dda2bf5ecd05ddb48bf0d26494f40ac.jpg","text":"TemporaryFile(/tmp/multipartBody2246124222986555619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224113687,"filename":"image_03112025_21_09_05_6363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8911dc9961957452a40676d1ecfe1d6.jpg","text":"TemporaryFile(/tmp/multipartBody2669545846677291064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224113687,"filename":"image_03112025_21_08_41_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968058","file1":"1401968057","file0":"1401968056","file4":"1401968063","file5":"1401968066","file3":"1401968060"},"map_files_photo_id_array":[{"photo_id":"1401968066","filename":"file5"},{"photo_id":"1401968058","filename":"file2"},{"photo_id":"1401968063","filename":"file4"},{"photo_id":"1401968057","filename":"file1"},{"photo_id":"1401968056","filename":"file0"},{"photo_id":"1401968060","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968056":["hashtag1","hashtag2"]},{"1401968058":["hashtag1","hashtag2"]},{"1401968066":["hashtag1","hashtag2"]},{"1401968060":["hashtag1","hashtag2"]},{"1401968063":["hashtag1","hashtag2"]},{"1401968057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968056, 1401968058, 1401968066, 1401968060, 1401968063, 1401968057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65486979484558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:35:02.955887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_45_10846.jpg', '/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_55_9819.jpg', '/home/pi/Desktop/images/01012026/00/26/image_01012026_00_27_05_10057.jpg', '/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_14_9558.jpg', '/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_24_9738.jpg', '/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_35_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_45_10846.jpg
/home/pi/Desktop/images/01012026/00/26/image_01012026_00_26_55_9819.jpg
/home/pi/Desktop/images/01012026/00/26/image_01012026_00_27_05_10057.jpg
/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_14_9558.jpg
/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_24_9738.jpg
/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_35_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":["1401968071","1401968073","1401968070","1401968078","1401968072","1401968075"],"photo_ids_order":["1401968070","1401968071","1401968072","1401968073","1401968075","1401968078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d35e4d6b395cb3e96727d369b973f24.jpg","text":"TemporaryFile(/tmp/multipartBody1498012699055246778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224163650,"filename":"image_01012026_00_26_55_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c89771837cb87c953b7d7b59379fc01.jpg","text":"TemporaryFile(/tmp/multipartBody5225887814945915905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224163650,"filename":"image_01012026_00_27_14_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1033df14a5017b4e0ac12d5f011f55e2.jpg","text":"TemporaryFile(/tmp/multipartBody461580412201794029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224163650,"filename":"image_01012026_00_26_45_10846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a14cea35362fbe36b6ad52fb90e2630.jpg","text":"TemporaryFile(/tmp/multipartBody2458237996605050246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224163650,"filename":"image_01012026_00_27_35_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5011e655f4de07e70c889e1e256847a.jpg","text":"TemporaryFile(/tmp/multipartBody4982239091533925529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224163650,"filename":"image_01012026_00_27_05_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f89b53f7c52ef6d33d346969f7795195.jpg","text":"TemporaryFile(/tmp/multipartBody3193295669245158450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224163650,"filename":"image_01012026_00_27_24_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968072","file1":"1401968071","file0":"1401968070","file4":"1401968075","file5":"1401968078","file3":"1401968073"},"map_files_photo_id_array":[{"photo_id":"1401968078","filename":"file5"},{"photo_id":"1401968072","filename":"file2"},{"photo_id":"1401968075","filename":"file4"},{"photo_id":"1401968071","filename":"file1"},{"photo_id":"1401968070","filename":"file0"},{"photo_id":"1401968073","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968071":["hashtag1","hashtag2"]},{"1401968073":["hashtag1","hashtag2"]},{"1401968070":["hashtag1","hashtag2"]},{"1401968078":["hashtag1","hashtag2"]},{"1401968072":["hashtag1","hashtag2"]},{"1401968075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968071, 1401968073, 1401968070, 1401968078, 1401968072, 1401968075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91317343711853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:35:42.301491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_20_1715.jpg', '/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_23_2599.jpg', '/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_24_1514.jpg', '/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_47_1625.jpg', '/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_49_1545.jpg', '/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_51_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_20_1715.jpg
/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_23_2599.jpg
/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_24_1514.jpg
/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_47_1625.jpg
/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_49_1545.jpg
/home/pi/Desktop/images/03112025/21/09/image_03112025_21_09_51_1612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968086","1401968088","1401968090","1401968084","1401968087","1401968089"],"photo_ids_order":["1401968084","1401968086","1401968087","1401968088","1401968089","1401968090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/319fc105165471e2f3fb713e300049a2.jpg","text":"TemporaryFile(/tmp/multipartBody3229728411879578478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224204057,"filename":"image_03112025_21_09_23_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72273afa732958704b85454422da213a.jpg","text":"TemporaryFile(/tmp/multipartBody3120881622663173333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224204057,"filename":"image_03112025_21_09_47_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55589c33ed16497c86fdabfa8363c316.jpg","text":"TemporaryFile(/tmp/multipartBody7525834700616311769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224204057,"filename":"image_03112025_21_09_51_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5c26e96104f7e4bcf9aebe975aa6903.jpg","text":"TemporaryFile(/tmp/multipartBody454990254483456493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224204057,"filename":"image_03112025_21_09_20_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9edd2826ca38bf9488a5dc98e0c44894.jpg","text":"TemporaryFile(/tmp/multipartBody2892765743175634104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224204057,"filename":"image_03112025_21_09_24_1514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b88f76d1518084aa2ffd8b7b3327056.jpg","text":"TemporaryFile(/tmp/multipartBody7095896642258234408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224204057,"filename":"image_03112025_21_09_49_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968087","file1":"1401968086","file0":"1401968084","file4":"1401968089","file5":"1401968090","file3":"1401968088"},"map_files_photo_id_array":[{"photo_id":"1401968090","filename":"file5"},{"photo_id":"1401968087","filename":"file2"},{"photo_id":"1401968089","filename":"file4"},{"photo_id":"1401968086","filename":"file1"},{"photo_id":"1401968084","filename":"file0"},{"photo_id":"1401968088","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968086":["hashtag1","hashtag2"]},{"1401968088":["hashtag1","hashtag2"]},{"1401968090":["hashtag1","hashtag2"]},{"1401968084":["hashtag1","hashtag2"]},{"1401968087":["hashtag1","hashtag2"]},{"1401968089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968086, 1401968088, 1401968090, 1401968084, 1401968087, 1401968089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89228367805481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:36:22.452330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_45_9651.jpg', '/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_54_9664.jpg', '/home/pi/Desktop/images/01012026/00/27/image_01012026_00_28_05_10703.jpg', '/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_15_9638.jpg', '/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_25_10189.jpg', '/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_45_9651.jpg
/home/pi/Desktop/images/01012026/00/27/image_01012026_00_27_54_9664.jpg
/home/pi/Desktop/images/01012026/00/27/image_01012026_00_28_05_10703.jpg
/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_15_9638.jpg
/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_25_10189.jpg
/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_34_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968098","1401968092","1401968094","1401968100","1401968102","1401968095"],"photo_ids_order":["1401968092","1401968094","1401968095","1401968098","1401968100","1401968102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0e88e5e0e7253fbba855d48cb8015c1.jpg","text":"TemporaryFile(/tmp/multipartBody6711142477418410041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224243042,"filename":"image_01012026_00_28_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5bbcef9e78612494608171332d01980.jpg","text":"TemporaryFile(/tmp/multipartBody7178089997932638325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224243042,"filename":"image_01012026_00_27_45_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b32e41995104e21cd5e29c90b038acb.jpg","text":"TemporaryFile(/tmp/multipartBody6408670955400220944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224243042,"filename":"image_01012026_00_27_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0349e0e9c761d7bbd936cd85ecfc23ee.jpg","text":"TemporaryFile(/tmp/multipartBody693053918528202602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224243042,"filename":"image_01012026_00_28_25_10189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84090974aa3369cf7d67a13ce280b82e.jpg","text":"TemporaryFile(/tmp/multipartBody8371954588811930623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224243042,"filename":"image_01012026_00_28_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5205a94d954798a9356b8ee70f14f36b.jpg","text":"TemporaryFile(/tmp/multipartBody8637464346659526513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224243042,"filename":"image_01012026_00_28_05_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968095","file1":"1401968094","file0":"1401968092","file4":"1401968100","file5":"1401968102","file3":"1401968098"},"map_files_photo_id_array":[{"photo_id":"1401968102","filename":"file5"},{"photo_id":"1401968095","filename":"file2"},{"photo_id":"1401968100","filename":"file4"},{"photo_id":"1401968094","filename":"file1"},{"photo_id":"1401968092","filename":"file0"},{"photo_id":"1401968098","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968098":["hashtag1","hashtag2"]},{"1401968092":["hashtag1","hashtag2"]},{"1401968094":["hashtag1","hashtag2"]},{"1401968100":["hashtag1","hashtag2"]},{"1401968102":["hashtag1","hashtag2"]},{"1401968095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968098, 1401968092, 1401968094, 1401968100, 1401968102, 1401968095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80994486808777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:37:03.405069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_45_10252.jpg', '/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_55_9810.jpg', '/home/pi/Desktop/images/01012026/00/28/image_01012026_00_29_04_9757.jpg', '/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_15_10571.jpg', '/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_25_9845.jpg', '/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_35_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_45_10252.jpg
/home/pi/Desktop/images/01012026/00/28/image_01012026_00_28_55_9810.jpg
/home/pi/Desktop/images/01012026/00/28/image_01012026_00_29_04_9757.jpg
/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_15_10571.jpg
/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_25_9845.jpg
/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_35_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":["1401968108","1401968113","1401968118","1401968112","1401968115","1401968111"],"photo_ids_order":["1401968108","1401968111","1401968112","1401968113","1401968115","1401968118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43e260b9e4f9492d39e573d0e11fbca2.jpg","text":"TemporaryFile(/tmp/multipartBody4539757133319541322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224284057,"filename":"image_01012026_00_28_45_10252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f02d7c32de2f1702e84d69e34e26de3.jpg","text":"TemporaryFile(/tmp/multipartBody97388092869450574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224284057,"filename":"image_01012026_00_29_15_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a80e58832cd16d88347fb64e6ac51143.jpg","text":"TemporaryFile(/tmp/multipartBody6404434908426826099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224284057,"filename":"image_01012026_00_29_35_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83c2160636ba2e9a9bcb23f9f17d09fb.jpg","text":"TemporaryFile(/tmp/multipartBody5456308008687851139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224284057,"filename":"image_01012026_00_29_04_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/992be06e68140807812f2b7399defcab.jpg","text":"TemporaryFile(/tmp/multipartBody3202747677646857329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224284057,"filename":"image_01012026_00_29_25_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd13a63a306d323934f4aefa3f70fbe9.jpg","text":"TemporaryFile(/tmp/multipartBody7994854150190248235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224284057,"filename":"image_01012026_00_28_55_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968112","file1":"1401968111","file0":"1401968108","file4":"1401968115","file5":"1401968118","file3":"1401968113"},"map_files_photo_id_array":[{"photo_id":"1401968118","filename":"file5"},{"photo_id":"1401968112","filename":"file2"},{"photo_id":"1401968115","filename":"file4"},{"photo_id":"1401968111","filename":"file1"},{"photo_id":"1401968108","filename":"file0"},{"photo_id":"1401968113","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968108":["hashtag1","hashtag2"]},{"1401968113":["hashtag1","hashtag2"]},{"1401968118":["hashtag1","hashtag2"]},{"1401968112":["hashtag1","hashtag2"]},{"1401968115":["hashtag1","hashtag2"]},{"1401968111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968108, 1401968113, 1401968118, 1401968112, 1401968115, 1401968111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.295323848724365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:37:42.675465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_09_18058.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_12_1609.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_15_1539.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_19_1718.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_20_1503.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_34_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_09_18058.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_12_1609.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_15_1539.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_19_1718.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_20_1503.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_34_1601.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.6787500381469727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:38:02.400572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_44_9819.jpg', '/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_55_10658.jpg', '/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_14_9682.jpg', '/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_25_10717.jpg', '/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_35_9721.jpg', '/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_44_9819.jpg
/home/pi/Desktop/images/01012026/00/29/image_01012026_00_29_55_10658.jpg
/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_14_9682.jpg
/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_25_10717.jpg
/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_35_9721.jpg
/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_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":["1401968131","1401968130","1401968133","1401968135","1401968129","1401968132"],"photo_ids_order":["1401968129","1401968130","1401968131","1401968132","1401968133","1401968135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94221a22ba8929f873fc607402bc3d79.jpg","text":"TemporaryFile(/tmp/multipartBody8794674210965762470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224343006,"filename":"image_01012026_00_30_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8ae6606c524558c99069d91dd10b977.jpg","text":"TemporaryFile(/tmp/multipartBody3811624999527041137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224343006,"filename":"image_01012026_00_29_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/289f6154721834748040333ab66c320a.jpg","text":"TemporaryFile(/tmp/multipartBody8539045450075019742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224343006,"filename":"image_01012026_00_30_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e80aec807fbabe6ebc85dd0fb1fb0e8.jpg","text":"TemporaryFile(/tmp/multipartBody2734234297139686341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224343006,"filename":"image_01012026_00_30_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b3583afa611eb3aa8a38b390c6cb9b8.jpg","text":"TemporaryFile(/tmp/multipartBody6939902694827177203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224343006,"filename":"image_01012026_00_29_44_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd1f53f20f86e58ca52d26325760570c.jpg","text":"TemporaryFile(/tmp/multipartBody2396923020071435485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224343006,"filename":"image_01012026_00_30_25_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968131","file1":"1401968130","file0":"1401968129","file4":"1401968133","file5":"1401968135","file3":"1401968132"},"map_files_photo_id_array":[{"photo_id":"1401968135","filename":"file5"},{"photo_id":"1401968131","filename":"file2"},{"photo_id":"1401968133","filename":"file4"},{"photo_id":"1401968130","filename":"file1"},{"photo_id":"1401968129","filename":"file0"},{"photo_id":"1401968132","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968131":["hashtag1","hashtag2"]},{"1401968130":["hashtag1","hashtag2"]},{"1401968133":["hashtag1","hashtag2"]},{"1401968135":["hashtag1","hashtag2"]},{"1401968129":["hashtag1","hashtag2"]},{"1401968132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968131, 1401968130, 1401968133, 1401968135, 1401968129, 1401968132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46211647987366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:38:41.935430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_09_18058.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_12_1609.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_15_1539.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_19_1718.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_20_1503.jpg', '/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_34_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_09_18058.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_12_1609.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_15_1539.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_19_1718.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_20_1503.jpg
/home/pi/Desktop/images/03112025/21/10/image_03112025_21_10_34_1601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968146","1401968149","1401968148","1401968147","1401968150","1401968144"],"photo_ids_order":["1401968144","1401968146","1401968147","1401968148","1401968149","1401968150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/925381a06b79535dd71147666a77c1e9.jpg","text":"TemporaryFile(/tmp/multipartBody4832437148334330957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224383570,"filename":"image_03112025_21_10_12_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bd86c521f0377298c84a11182e1a910.jpg","text":"TemporaryFile(/tmp/multipartBody9178445302269705979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224383570,"filename":"image_03112025_21_10_20_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6e73660bbd5d6767b6456d30d5e56ae.jpg","text":"TemporaryFile(/tmp/multipartBody8993015649958106489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224383570,"filename":"image_03112025_21_10_19_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da60ed3067ec3997992f56b801e7b7ba.jpg","text":"TemporaryFile(/tmp/multipartBody6825574227430354956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224383570,"filename":"image_03112025_21_10_15_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/447836ffb4f585b934679f1d6936adde.jpg","text":"TemporaryFile(/tmp/multipartBody4028082779103522411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224383570,"filename":"image_03112025_21_10_34_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dc837b3ff13229044b1308aba1e498f.jpg","text":"TemporaryFile(/tmp/multipartBody226227133852733368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224383570,"filename":"image_03112025_21_10_09_18058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968147","file1":"1401968146","file0":"1401968144","file4":"1401968149","file5":"1401968150","file3":"1401968148"},"map_files_photo_id_array":[{"photo_id":"1401968150","filename":"file5"},{"photo_id":"1401968147","filename":"file2"},{"photo_id":"1401968149","filename":"file4"},{"photo_id":"1401968146","filename":"file1"},{"photo_id":"1401968144","filename":"file0"},{"photo_id":"1401968148","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968146":["hashtag1","hashtag2"]},{"1401968149":["hashtag1","hashtag2"]},{"1401968148":["hashtag1","hashtag2"]},{"1401968147":["hashtag1","hashtag2"]},{"1401968150":["hashtag1","hashtag2"]},{"1401968144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968146, 1401968149, 1401968148, 1401968147, 1401968150, 1401968144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61487436294556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:39:22.031347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_55_10557.jpg', '/home/pi/Desktop/images/01012026/00/30/image_01012026_00_31_05_9826.jpg', '/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_14_9718.jpg', '/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_25_10112.jpg', '/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_34_9640.jpg', '/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_45_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/30/image_01012026_00_30_55_10557.jpg
/home/pi/Desktop/images/01012026/00/30/image_01012026_00_31_05_9826.jpg
/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_14_9718.jpg
/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_25_10112.jpg
/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_34_9640.jpg
/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_45_10563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968161","1401968155","1401968157","1401968151","1401968159","1401968153"],"photo_ids_order":["1401968151","1401968153","1401968155","1401968157","1401968159","1401968161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3fd5dd552c72f3f405f8b11bbd226ec.jpg","text":"TemporaryFile(/tmp/multipartBody8015940194598118996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224422625,"filename":"image_01012026_00_31_45_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6a3061ff0478ea7897055be08c90d2d.jpg","text":"TemporaryFile(/tmp/multipartBody2349837154745163789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224422625,"filename":"image_01012026_00_31_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f41aa5175fd5005a0749e2a3ce036942.jpg","text":"TemporaryFile(/tmp/multipartBody5409209124713046967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224422625,"filename":"image_01012026_00_31_25_10112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37178c3b3a12cc81f3eb625daf0f8f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8887425587196576009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224422625,"filename":"image_01012026_00_30_55_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3ed9872ca17784ca045888510de77a8.jpg","text":"TemporaryFile(/tmp/multipartBody9182812551051728245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224422625,"filename":"image_01012026_00_31_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac9f9ce87373117710725b3db2f4ee85.jpg","text":"TemporaryFile(/tmp/multipartBody8073589632796686043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224422625,"filename":"image_01012026_00_31_05_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968155","file1":"1401968153","file0":"1401968151","file4":"1401968159","file5":"1401968161","file3":"1401968157"},"map_files_photo_id_array":[{"photo_id":"1401968161","filename":"file5"},{"photo_id":"1401968155","filename":"file2"},{"photo_id":"1401968159","filename":"file4"},{"photo_id":"1401968153","filename":"file1"},{"photo_id":"1401968151","filename":"file0"},{"photo_id":"1401968157","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968161":["hashtag1","hashtag2"]},{"1401968155":["hashtag1","hashtag2"]},{"1401968157":["hashtag1","hashtag2"]},{"1401968151":["hashtag1","hashtag2"]},{"1401968159":["hashtag1","hashtag2"]},{"1401968153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968161, 1401968155, 1401968157, 1401968151, 1401968159, 1401968153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2741265296936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:40:02.562388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_54_9564.jpg', '/home/pi/Desktop/images/01012026/00/31/image_01012026_00_32_05_10598.jpg', '/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_15_9657.jpg', '/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_24_9595.jpg', '/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_35_10642.jpg', '/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_45_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/31/image_01012026_00_31_54_9564.jpg
/home/pi/Desktop/images/01012026/00/31/image_01012026_00_32_05_10598.jpg
/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_15_9657.jpg
/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_24_9595.jpg
/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_35_10642.jpg
/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_45_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":["1401968164","1401968163","1401968166","1401968171","1401968165","1401968168"],"photo_ids_order":["1401968163","1401968164","1401968165","1401968166","1401968168","1401968171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4f131bcd48149b024df2ae98a46e79a.jpg","text":"TemporaryFile(/tmp/multipartBody8252571122564213985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224463214,"filename":"image_01012026_00_32_05_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8535b2c3c29fa759011e0dfdadb102b6.jpg","text":"TemporaryFile(/tmp/multipartBody1285683576854475585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224463214,"filename":"image_01012026_00_31_54_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/239f315ece5bbdc7da902d6c1e57af1a.jpg","text":"TemporaryFile(/tmp/multipartBody4235414315870639703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224463214,"filename":"image_01012026_00_32_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a92823d9c8c17d05a5c7407ca934e04.jpg","text":"TemporaryFile(/tmp/multipartBody4254484999558127450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224463214,"filename":"image_01012026_00_32_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4abbe7e3e2899049274c894e8e128af3.jpg","text":"TemporaryFile(/tmp/multipartBody2780665445193864841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224463214,"filename":"image_01012026_00_32_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f05d25305feba6ad60d8554b96b91154.jpg","text":"TemporaryFile(/tmp/multipartBody4304973721093318017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224463214,"filename":"image_01012026_00_32_35_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968165","file1":"1401968164","file0":"1401968163","file4":"1401968168","file5":"1401968171","file3":"1401968166"},"map_files_photo_id_array":[{"photo_id":"1401968171","filename":"file5"},{"photo_id":"1401968165","filename":"file2"},{"photo_id":"1401968168","filename":"file4"},{"photo_id":"1401968164","filename":"file1"},{"photo_id":"1401968163","filename":"file0"},{"photo_id":"1401968166","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968164":["hashtag1","hashtag2"]},{"1401968163":["hashtag1","hashtag2"]},{"1401968166":["hashtag1","hashtag2"]},{"1401968171":["hashtag1","hashtag2"]},{"1401968165":["hashtag1","hashtag2"]},{"1401968168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968164, 1401968163, 1401968166, 1401968171, 1401968165, 1401968168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.037543296813965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:40:42.210913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/11/image_03112025_21_11_36_7258.jpg', '/home/pi/Desktop/images/03112025/21/11/image_03112025_21_11_40_1735.jpg', '/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_07_27223.jpg', '/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_13_4079.jpg', '/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_44_1584.jpg', '/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_45_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/21/11/image_03112025_21_11_36_7258.jpg
/home/pi/Desktop/images/03112025/21/11/image_03112025_21_11_40_1735.jpg
/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_07_27223.jpg
/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_13_4079.jpg
/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_44_1584.jpg
/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_45_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":["1401968182","1401968185","1401968179","1401968181","1401968184","1401968183"],"photo_ids_order":["1401968179","1401968181","1401968182","1401968183","1401968184","1401968185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/687a5b2025defdcc0421f23a5379142f.jpg","text":"TemporaryFile(/tmp/multipartBody3426037062199157819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224503980,"filename":"image_03112025_21_12_07_27223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de12ea52fcff8fd28a90a285df755bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7867606212184015105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224503980,"filename":"image_03112025_21_12_45_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a21101e533284d59ba48c56bdc57c394.jpg","text":"TemporaryFile(/tmp/multipartBody9211098938734865430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224503980,"filename":"image_03112025_21_11_36_7258.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1751c0dae757777d736e3034fde09c8.jpg","text":"TemporaryFile(/tmp/multipartBody2567183655546562717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224503980,"filename":"image_03112025_21_11_40_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce9d68812c355dc85057c9e96d0d7c39.jpg","text":"TemporaryFile(/tmp/multipartBody4825094661180993173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224503980,"filename":"image_03112025_21_12_44_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cff05356a0af7dc9f32346f3d312619c.jpg","text":"TemporaryFile(/tmp/multipartBody4662565570652291937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224503980,"filename":"image_03112025_21_12_13_4079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968182","file1":"1401968181","file0":"1401968179","file4":"1401968184","file5":"1401968185","file3":"1401968183"},"map_files_photo_id_array":[{"photo_id":"1401968185","filename":"file5"},{"photo_id":"1401968182","filename":"file2"},{"photo_id":"1401968184","filename":"file4"},{"photo_id":"1401968181","filename":"file1"},{"photo_id":"1401968179","filename":"file0"},{"photo_id":"1401968183","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968182":["hashtag1","hashtag2"]},{"1401968185":["hashtag1","hashtag2"]},{"1401968179":["hashtag1","hashtag2"]},{"1401968181":["hashtag1","hashtag2"]},{"1401968184":["hashtag1","hashtag2"]},{"1401968183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968182, 1401968185, 1401968179, 1401968181, 1401968184, 1401968183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57777428627014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:41:22.497921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_54_9585.jpg', '/home/pi/Desktop/images/01012026/00/32/image_01012026_00_33_05_10661.jpg', '/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_15_9791.jpg', '/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_24_9705.jpg', '/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_35_10682.jpg', '/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_45_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/32/image_01012026_00_32_54_9585.jpg
/home/pi/Desktop/images/01012026/00/32/image_01012026_00_33_05_10661.jpg
/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_15_9791.jpg
/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_24_9705.jpg
/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_35_10682.jpg
/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_45_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968191","1401968193","1401968187","1401968195","1401968189","1401968201"],"photo_ids_order":["1401968187","1401968189","1401968191","1401968193","1401968195","1401968201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7421621b6f5ba8b0119bcfdc4a60ab0f.jpg","text":"TemporaryFile(/tmp/multipartBody8447377048027794589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224543089,"filename":"image_01012026_00_33_15_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67a4c61ca247cd4a431f0d05b50ebdf6.jpg","text":"TemporaryFile(/tmp/multipartBody8947890052923264736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224543089,"filename":"image_01012026_00_33_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a19ee44f57a52e2031672eb93a6e3dd.jpg","text":"TemporaryFile(/tmp/multipartBody1860358193541116904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224543089,"filename":"image_01012026_00_32_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00ad680f7bb7bd55bff3db08e21e9592.jpg","text":"TemporaryFile(/tmp/multipartBody6083320864619883785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224543089,"filename":"image_01012026_00_33_35_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/586d32a083ac07aa1f45cbe9a56a50fd.jpg","text":"TemporaryFile(/tmp/multipartBody1114793746218904633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224543089,"filename":"image_01012026_00_33_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9022f1297c69a15a0115adf108728dc.jpg","text":"TemporaryFile(/tmp/multipartBody9020141640209983305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224543089,"filename":"image_01012026_00_33_45_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968191","file1":"1401968189","file0":"1401968187","file4":"1401968195","file5":"1401968201","file3":"1401968193"},"map_files_photo_id_array":[{"photo_id":"1401968201","filename":"file5"},{"photo_id":"1401968191","filename":"file2"},{"photo_id":"1401968195","filename":"file4"},{"photo_id":"1401968189","filename":"file1"},{"photo_id":"1401968187","filename":"file0"},{"photo_id":"1401968193","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968191":["hashtag1","hashtag2"]},{"1401968193":["hashtag1","hashtag2"]},{"1401968187":["hashtag1","hashtag2"]},{"1401968195":["hashtag1","hashtag2"]},{"1401968189":["hashtag1","hashtag2"]},{"1401968201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968191, 1401968193, 1401968187, 1401968195, 1401968189, 1401968201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.729774713516235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:42:03.187267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_54_9816.jpg', '/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_04_10145.jpg', '/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_14_9614.jpg', '/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_25_10636.jpg', '/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_34_9561.jpg', '/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_45_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/33/image_01012026_00_33_54_9816.jpg
/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_04_10145.jpg
/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_14_9614.jpg
/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_25_10636.jpg
/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_34_9561.jpg
/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_45_10606.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":["1401968207","1401968212","1401968209","1401968211","1401968205","1401968216"],"photo_ids_order":["1401968205","1401968207","1401968209","1401968211","1401968212","1401968216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/742012a8309000915a0dfbfa884b7d90.jpg","text":"TemporaryFile(/tmp/multipartBody7491627359062643296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224583838,"filename":"image_01012026_00_34_04_10145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72f9e37e702612acd05be410c74f8ea5.jpg","text":"TemporaryFile(/tmp/multipartBody263588607074082443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224583838,"filename":"image_01012026_00_34_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6912f4896846ef8da5b0351582cd4413.jpg","text":"TemporaryFile(/tmp/multipartBody1407571249994358951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224583838,"filename":"image_01012026_00_34_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e3849327337f73f43aa92da2be4b739.jpg","text":"TemporaryFile(/tmp/multipartBody1408676261975180011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224583838,"filename":"image_01012026_00_34_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b38f2acdc415926b8042a47192b31eb.jpg","text":"TemporaryFile(/tmp/multipartBody7075717863059009150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224583838,"filename":"image_01012026_00_33_54_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/346afc59e5107f06865a0a7519ecb3aa.jpg","text":"TemporaryFile(/tmp/multipartBody60547017608099650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224583838,"filename":"image_01012026_00_34_45_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968209","file1":"1401968207","file0":"1401968205","file4":"1401968212","file5":"1401968216","file3":"1401968211"},"map_files_photo_id_array":[{"photo_id":"1401968216","filename":"file5"},{"photo_id":"1401968209","filename":"file2"},{"photo_id":"1401968212","filename":"file4"},{"photo_id":"1401968207","filename":"file1"},{"photo_id":"1401968205","filename":"file0"},{"photo_id":"1401968211","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968207":["hashtag1","hashtag2"]},{"1401968212":["hashtag1","hashtag2"]},{"1401968209":["hashtag1","hashtag2"]},{"1401968211":["hashtag1","hashtag2"]},{"1401968205":["hashtag1","hashtag2"]},{"1401968216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968207, 1401968212, 1401968209, 1401968211, 1401968205, 1401968216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.91704988479614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:43:03.457374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_55_9620.jpg', '/home/pi/Desktop/images/01012026/00/34/image_01012026_00_35_04_9742.jpg', '/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_15_10666.jpg', '/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_25_9658.jpg', '/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_34_9741.jpg', '/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_45_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/34/image_01012026_00_34_55_9620.jpg
/home/pi/Desktop/images/01012026/00/34/image_01012026_00_35_04_9742.jpg
/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_15_10666.jpg
/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_25_9658.jpg
/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_34_9741.jpg
/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_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":["1401968224","1401968221","1401968223","1401968226","1401968220","1401968222"],"photo_ids_order":["1401968220","1401968221","1401968222","1401968223","1401968224","1401968226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca53d3954fc0f00026e865acdbaacdc9.jpg","text":"TemporaryFile(/tmp/multipartBody3286622808018106184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224644111,"filename":"image_01012026_00_35_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4dd99f172ec4ccd2bb582de1ed8c59dd.jpg","text":"TemporaryFile(/tmp/multipartBody4155717861335035523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224644111,"filename":"image_01012026_00_35_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44ffbf5130038e57efdeb105baf302ae.jpg","text":"TemporaryFile(/tmp/multipartBody7041888604292802829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224644111,"filename":"image_01012026_00_35_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/198580ae5146c9368af2da56514b29be.jpg","text":"TemporaryFile(/tmp/multipartBody2652276983102842554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224644111,"filename":"image_01012026_00_35_45_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61aa1b736ea48aa67d5baf82c388063d.jpg","text":"TemporaryFile(/tmp/multipartBody8834085241246797721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224644111,"filename":"image_01012026_00_34_55_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a92a97d4afea7e9ccf435ab174fb6e80.jpg","text":"TemporaryFile(/tmp/multipartBody6332106195355270884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224644111,"filename":"image_01012026_00_35_15_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968222","file1":"1401968221","file0":"1401968220","file4":"1401968224","file5":"1401968226","file3":"1401968223"},"map_files_photo_id_array":[{"photo_id":"1401968226","filename":"file5"},{"photo_id":"1401968222","filename":"file2"},{"photo_id":"1401968224","filename":"file4"},{"photo_id":"1401968221","filename":"file1"},{"photo_id":"1401968220","filename":"file0"},{"photo_id":"1401968223","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968224":["hashtag1","hashtag2"]},{"1401968221":["hashtag1","hashtag2"]},{"1401968223":["hashtag1","hashtag2"]},{"1401968226":["hashtag1","hashtag2"]},{"1401968220":["hashtag1","hashtag2"]},{"1401968222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968224, 1401968221, 1401968223, 1401968226, 1401968220, 1401968222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6373245716095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:43:42.888860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_49_1779.jpg', '/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_52_1666.jpg', '/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_55_1513.jpg', '/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_30_17425.jpg', '/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_38_1682.jpg', '/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_48_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/21/12/image_03112025_21_12_49_1779.jpg
/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_52_1666.jpg
/home/pi/Desktop/images/03112025/21/12/image_03112025_21_12_55_1513.jpg
/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_30_17425.jpg
/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_38_1682.jpg
/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_48_1621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968239","1401968233","1401968241","1401968235","1401968240","1401968237"],"photo_ids_order":["1401968233","1401968235","1401968237","1401968239","1401968240","1401968241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7dab9fc7e241404f99dcf578fe80539.jpg","text":"TemporaryFile(/tmp/multipartBody2872205750346040578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224684613,"filename":"image_03112025_21_13_30_17425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c346e7e1fe7eb4a22e468e571926000.jpg","text":"TemporaryFile(/tmp/multipartBody4715588370038514925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224684613,"filename":"image_03112025_21_12_49_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41d9e2973ae8bdb49573a818950993d8.jpg","text":"TemporaryFile(/tmp/multipartBody8966824024498427527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224684613,"filename":"image_03112025_21_13_48_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4729d585f885febf0881333698dc5cc5.jpg","text":"TemporaryFile(/tmp/multipartBody5475368833794635030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224684613,"filename":"image_03112025_21_12_52_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a34184a9dbf7da14664bc1c99b975886.jpg","text":"TemporaryFile(/tmp/multipartBody8335498582637846305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224684613,"filename":"image_03112025_21_13_38_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b39334517b83e31a90dc0b88ced3bb8.jpg","text":"TemporaryFile(/tmp/multipartBody4180174863433659943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224684613,"filename":"image_03112025_21_12_55_1513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968237","file1":"1401968235","file0":"1401968233","file4":"1401968240","file5":"1401968241","file3":"1401968239"},"map_files_photo_id_array":[{"photo_id":"1401968241","filename":"file5"},{"photo_id":"1401968237","filename":"file2"},{"photo_id":"1401968240","filename":"file4"},{"photo_id":"1401968235","filename":"file1"},{"photo_id":"1401968233","filename":"file0"},{"photo_id":"1401968239","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968239":["hashtag1","hashtag2"]},{"1401968233":["hashtag1","hashtag2"]},{"1401968241":["hashtag1","hashtag2"]},{"1401968235":["hashtag1","hashtag2"]},{"1401968240":["hashtag1","hashtag2"]},{"1401968237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968239, 1401968233, 1401968241, 1401968235, 1401968240, 1401968237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26129460334778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:44:22.126798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_54_9621.jpg', '/home/pi/Desktop/images/01012026/00/35/image_01012026_00_36_04_9588.jpg', '/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_15_10678.jpg', '/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_24_9572.jpg', '/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_35_10532.jpg', '/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_45_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/35/image_01012026_00_35_54_9621.jpg
/home/pi/Desktop/images/01012026/00/35/image_01012026_00_36_04_9588.jpg
/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_15_10678.jpg
/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_24_9572.jpg
/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_35_10532.jpg
/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_45_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968257","1401968251","1401968254","1401968248","1401968246","1401968243"],"photo_ids_order":["1401968243","1401968246","1401968248","1401968251","1401968254","1401968257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6318e33da0b4056778838b99fb41d6e.jpg","text":"TemporaryFile(/tmp/multipartBody671147271177916925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224722724,"filename":"image_01012026_00_36_45_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1f00be01d3c43a60cbc3ade980318d3.jpg","text":"TemporaryFile(/tmp/multipartBody3589901074469844923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224722724,"filename":"image_01012026_00_36_24_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8cefdf31476f539799b5afd59835b1e5.jpg","text":"TemporaryFile(/tmp/multipartBody182322573123165784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224722724,"filename":"image_01012026_00_36_35_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a23bcd71ea67e2896cc72bc6f04d8639.jpg","text":"TemporaryFile(/tmp/multipartBody5457093505044431508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224722724,"filename":"image_01012026_00_36_15_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8fe45c53f66f125fdff4e3c944d18327.jpg","text":"TemporaryFile(/tmp/multipartBody477719487834515596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224722724,"filename":"image_01012026_00_36_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e3c7ce22060e2861065279b83e087b0.jpg","text":"TemporaryFile(/tmp/multipartBody5941083118066840233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224722724,"filename":"image_01012026_00_35_54_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968248","file1":"1401968246","file0":"1401968243","file4":"1401968254","file5":"1401968257","file3":"1401968251"},"map_files_photo_id_array":[{"photo_id":"1401968257","filename":"file5"},{"photo_id":"1401968248","filename":"file2"},{"photo_id":"1401968254","filename":"file4"},{"photo_id":"1401968246","filename":"file1"},{"photo_id":"1401968243","filename":"file0"},{"photo_id":"1401968251","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968257":["hashtag1","hashtag2"]},{"1401968251":["hashtag1","hashtag2"]},{"1401968254":["hashtag1","hashtag2"]},{"1401968248":["hashtag1","hashtag2"]},{"1401968246":["hashtag1","hashtag2"]},{"1401968243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968257, 1401968251, 1401968254, 1401968248, 1401968246, 1401968243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94654870033264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:45:02.875813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_54_9644.jpg', '/home/pi/Desktop/images/01012026/00/36/image_01012026_00_37_04_9946.jpg', '/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_15_10646.jpg', '/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_25_9742.jpg', '/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_35_10009.jpg', '/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_45_10009.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/36/image_01012026_00_36_54_9644.jpg
/home/pi/Desktop/images/01012026/00/36/image_01012026_00_37_04_9946.jpg
/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_15_10646.jpg
/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_25_9742.jpg
/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_35_10009.jpg
/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_45_10009.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968260","1401968262","1401968259","1401968264","1401968258","1401968261"],"photo_ids_order":["1401968258","1401968259","1401968260","1401968261","1401968262","1401968264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07f0848ce4edd10e15894dbfdf42e554.jpg","text":"TemporaryFile(/tmp/multipartBody4651737168400660617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224763595,"filename":"image_01012026_00_37_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20358b36a0ebcf321e1d5d6b348f712a.jpg","text":"TemporaryFile(/tmp/multipartBody141490957698932886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224763595,"filename":"image_01012026_00_37_35_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/685fc3fd72db60e1966ad708348e9b27.jpg","text":"TemporaryFile(/tmp/multipartBody9135713812092768258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224763595,"filename":"image_01012026_00_37_04_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1196b98b0b025191d2e4f9d3dbe2a951.jpg","text":"TemporaryFile(/tmp/multipartBody7087966751549361828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224763595,"filename":"image_01012026_00_37_45_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2cda45562cd7cba942890191e47b8215.jpg","text":"TemporaryFile(/tmp/multipartBody6649631194099538154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224763595,"filename":"image_01012026_00_36_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/997a24fd32bec530fa8a318dc5bdc395.jpg","text":"TemporaryFile(/tmp/multipartBody4808619814446070795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224763595,"filename":"image_01012026_00_37_25_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968260","file1":"1401968259","file0":"1401968258","file4":"1401968262","file5":"1401968264","file3":"1401968261"},"map_files_photo_id_array":[{"photo_id":"1401968264","filename":"file5"},{"photo_id":"1401968260","filename":"file2"},{"photo_id":"1401968262","filename":"file4"},{"photo_id":"1401968259","filename":"file1"},{"photo_id":"1401968258","filename":"file0"},{"photo_id":"1401968261","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968260":["hashtag1","hashtag2"]},{"1401968262":["hashtag1","hashtag2"]},{"1401968259":["hashtag1","hashtag2"]},{"1401968264":["hashtag1","hashtag2"]},{"1401968258":["hashtag1","hashtag2"]},{"1401968261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968260, 1401968262, 1401968259, 1401968264, 1401968258, 1401968261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89840388298035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:45:42.222642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_49_1555.jpg', '/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_53_1739.jpg', '/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_59_4444.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_02_1605.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_04_1627.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_09_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/21/13/image_03112025_21_13_49_1555.jpg
/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_53_1739.jpg
/home/pi/Desktop/images/03112025/21/13/image_03112025_21_13_59_4444.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_02_1605.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_04_1627.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_09_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":["1401968269","1401968278","1401968272","1401968280","1401968274","1401968276"],"photo_ids_order":["1401968269","1401968272","1401968274","1401968276","1401968278","1401968280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/327a3bff9338f3dc37e6d8a0872bcfa7.jpg","text":"TemporaryFile(/tmp/multipartBody212366182806340371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224803963,"filename":"image_03112025_21_13_49_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aad1cb293767958ce33410ec71c8bf20.jpg","text":"TemporaryFile(/tmp/multipartBody7489723548027737570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224803963,"filename":"image_03112025_21_14_04_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd54a3fccc62246a8cc10c7932538ed7.jpg","text":"TemporaryFile(/tmp/multipartBody47536250476397778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224803963,"filename":"image_03112025_21_13_53_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97556c9c5ab82b52da8533f0448f864c.jpg","text":"TemporaryFile(/tmp/multipartBody7132523161135440143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224803963,"filename":"image_03112025_21_14_09_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/176aaa6314d6c762a9f27d7b6dd0d097.jpg","text":"TemporaryFile(/tmp/multipartBody1372228286505083362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224803963,"filename":"image_03112025_21_13_59_4444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/887f4418b964a7f16b82f4a5693c6f41.jpg","text":"TemporaryFile(/tmp/multipartBody5462848569275384387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224803963,"filename":"image_03112025_21_14_02_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968274","file1":"1401968272","file0":"1401968269","file4":"1401968278","file5":"1401968280","file3":"1401968276"},"map_files_photo_id_array":[{"photo_id":"1401968280","filename":"file5"},{"photo_id":"1401968274","filename":"file2"},{"photo_id":"1401968278","filename":"file4"},{"photo_id":"1401968272","filename":"file1"},{"photo_id":"1401968269","filename":"file0"},{"photo_id":"1401968276","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968269":["hashtag1","hashtag2"]},{"1401968278":["hashtag1","hashtag2"]},{"1401968272":["hashtag1","hashtag2"]},{"1401968280":["hashtag1","hashtag2"]},{"1401968274":["hashtag1","hashtag2"]},{"1401968276":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968269, 1401968278, 1401968272, 1401968280, 1401968274, 1401968276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.241122007369995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:46:22.362118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_54_9638.jpg', '/home/pi/Desktop/images/01012026/00/37/image_01012026_00_38_05_10716.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_15_9691.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_24_9628.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_35_10674.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_45_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_54_9638.jpg
/home/pi/Desktop/images/01012026/00/37/image_01012026_00_38_05_10716.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_15_9691.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_24_9628.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_35_10674.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_45_9837.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.49266862869262695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:46:32.360454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_20_1568.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_22_1837.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_25_1642.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_27_1493.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_32_1754.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_34_1771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_20_1568.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_22_1837.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_25_1642.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_27_1493.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_32_1754.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_34_1771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968296","1401968290","1401968295","1401968297","1401968293","1401968287"],"photo_ids_order":["1401968287","1401968290","1401968293","1401968295","1401968296","1401968297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85f2014a90656bd10a256d61f090d5e5.jpg","text":"TemporaryFile(/tmp/multipartBody4877249341661003264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224854162,"filename":"image_03112025_21_14_32_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92c36b08c8eaeaa3c2d4dc2f70e2816d.jpg","text":"TemporaryFile(/tmp/multipartBody3683301975802821369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224854162,"filename":"image_03112025_21_14_22_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e31c2784d722f9a52adac93be53bade4.jpg","text":"TemporaryFile(/tmp/multipartBody4783733494792971224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224854162,"filename":"image_03112025_21_14_27_1493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad8b172e1e5d17f4f8883c4b5dc675ce.jpg","text":"TemporaryFile(/tmp/multipartBody1920289871885369029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224854162,"filename":"image_03112025_21_14_34_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2a77503af3cfb3e33cd6faa7b352cfa.jpg","text":"TemporaryFile(/tmp/multipartBody4098584546316053721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224854162,"filename":"image_03112025_21_14_25_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e61f58303e3998e4a806b9440bf7c8d.jpg","text":"TemporaryFile(/tmp/multipartBody2912557522848487478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224854162,"filename":"image_03112025_21_14_20_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968293","file1":"1401968290","file0":"1401968287","file4":"1401968296","file5":"1401968297","file3":"1401968295"},"map_files_photo_id_array":[{"photo_id":"1401968297","filename":"file5"},{"photo_id":"1401968293","filename":"file2"},{"photo_id":"1401968296","filename":"file4"},{"photo_id":"1401968290","filename":"file1"},{"photo_id":"1401968287","filename":"file0"},{"photo_id":"1401968295","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968296":["hashtag1","hashtag2"]},{"1401968290":["hashtag1","hashtag2"]},{"1401968295":["hashtag1","hashtag2"]},{"1401968297":["hashtag1","hashtag2"]},{"1401968293":["hashtag1","hashtag2"]},{"1401968287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968296, 1401968290, 1401968295, 1401968297, 1401968293, 1401968287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32097554206848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:47:12.468884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_35_1749.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_40_1632.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_42_1571.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_44_1796.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_47_1522.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_49_1834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_35_1749.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_40_1632.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_42_1571.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_44_1796.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_47_1522.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_49_1834.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968306","1401968299","1401968308","1401968298","1401968301","1401968303"],"photo_ids_order":["1401968298","1401968299","1401968301","1401968303","1401968306","1401968308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ed7e2139deb66d13de999e9f077d9ed.jpg","text":"TemporaryFile(/tmp/multipartBody7636604044834373725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224894094,"filename":"image_03112025_21_14_47_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c911f461afc3e310e6a1cdbea5e06c0b.jpg","text":"TemporaryFile(/tmp/multipartBody96757619424943837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224894094,"filename":"image_03112025_21_14_40_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06140c8634d66e8b466788e2bc569a08.jpg","text":"TemporaryFile(/tmp/multipartBody1408569334623488250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224894094,"filename":"image_03112025_21_14_49_1834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2088d9239251fe54cfe45a659e80cde.jpg","text":"TemporaryFile(/tmp/multipartBody5973648833801493439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224894094,"filename":"image_03112025_21_14_35_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cca071e19a620a9b32526d79cdd8f474.jpg","text":"TemporaryFile(/tmp/multipartBody1806988774724976404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224894094,"filename":"image_03112025_21_14_42_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c42f4c308eb0695a7c713163103f0c44.jpg","text":"TemporaryFile(/tmp/multipartBody1188624353731444585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224894094,"filename":"image_03112025_21_14_44_1796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968301","file1":"1401968299","file0":"1401968298","file4":"1401968306","file5":"1401968308","file3":"1401968303"},"map_files_photo_id_array":[{"photo_id":"1401968308","filename":"file5"},{"photo_id":"1401968301","filename":"file2"},{"photo_id":"1401968306","filename":"file4"},{"photo_id":"1401968299","filename":"file1"},{"photo_id":"1401968298","filename":"file0"},{"photo_id":"1401968303","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968306":["hashtag1","hashtag2"]},{"1401968299":["hashtag1","hashtag2"]},{"1401968308":["hashtag1","hashtag2"]},{"1401968298":["hashtag1","hashtag2"]},{"1401968301":["hashtag1","hashtag2"]},{"1401968303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968306, 1401968299, 1401968308, 1401968298, 1401968301, 1401968303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85496926307678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:48:03.019074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_54_9638.jpg', '/home/pi/Desktop/images/01012026/00/37/image_01012026_00_38_05_10716.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_15_9691.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_24_9628.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_35_10674.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_45_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/37/image_01012026_00_37_54_9638.jpg
/home/pi/Desktop/images/01012026/00/37/image_01012026_00_38_05_10716.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_15_9691.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_24_9628.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_35_10674.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_45_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968314","1401968317","1401968316","1401968319","1401968313","1401968315"],"photo_ids_order":["1401968313","1401968314","1401968315","1401968316","1401968317","1401968319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8929385cfa0cb9d493798a1732959c70.jpg","text":"TemporaryFile(/tmp/multipartBody4015948293997533952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224943635,"filename":"image_01012026_00_38_05_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d685882063d1d8e44f654f5527bcd17.jpg","text":"TemporaryFile(/tmp/multipartBody5917177634739992991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224943635,"filename":"image_01012026_00_38_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd7648e9cdbe1c64adecf7e630875611.jpg","text":"TemporaryFile(/tmp/multipartBody6547128457928700342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224943635,"filename":"image_01012026_00_38_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a01a975befb3304fbfc188684754352.jpg","text":"TemporaryFile(/tmp/multipartBody8906459347590635619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224943635,"filename":"image_01012026_00_38_45_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42d313ca75b9ec9bd845be025b90dc88.jpg","text":"TemporaryFile(/tmp/multipartBody7968831656130835259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224943635,"filename":"image_01012026_00_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/2026/1/1/5ca85d033977b0c3c5fe0c4f87c4025d.jpg","text":"TemporaryFile(/tmp/multipartBody6544106698742556441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224943635,"filename":"image_01012026_00_38_15_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968315","file1":"1401968314","file0":"1401968313","file4":"1401968317","file5":"1401968319","file3":"1401968316"},"map_files_photo_id_array":[{"photo_id":"1401968319","filename":"file5"},{"photo_id":"1401968315","filename":"file2"},{"photo_id":"1401968317","filename":"file4"},{"photo_id":"1401968314","filename":"file1"},{"photo_id":"1401968313","filename":"file0"},{"photo_id":"1401968316","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968314":["hashtag1","hashtag2"]},{"1401968317":["hashtag1","hashtag2"]},{"1401968316":["hashtag1","hashtag2"]},{"1401968319":["hashtag1","hashtag2"]},{"1401968313":["hashtag1","hashtag2"]},{"1401968315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968314, 1401968317, 1401968316, 1401968319, 1401968313, 1401968315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09679365158081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:48:42.751329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_54_1594.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_55_1593.jpg', '/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_57_1640.jpg', '/home/pi/Desktop/images/03112025/21/15/image_03112025_21_15_04_6690.jpg', '/home/pi/Desktop/images/03112025/21/15/image_03112025_21_15_44_21792.jpg', '/home/pi/Desktop/images/03112025/21/15/image_03112025_21_15_47_3205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_54_1594.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_55_1593.jpg
/home/pi/Desktop/images/03112025/21/14/image_03112025_21_14_57_1640.jpg
/home/pi/Desktop/images/03112025/21/15/image_03112025_21_15_04_6690.jpg
/home/pi/Desktop/images/03112025/21/15/image_03112025_21_15_44_21792.jpg
/home/pi/Desktop/images/03112025/21/15/image_03112025_21_15_47_3205.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968326","1401968329","1401968328","1401968330","1401968327","1401968324"],"photo_ids_order":["1401968324","1401968326","1401968327","1401968328","1401968329","1401968330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86bb0a49fd92b295f65a7e05952137b9.jpg","text":"TemporaryFile(/tmp/multipartBody8045088759030844182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224984505,"filename":"image_03112025_21_14_55_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee5ca15871b22f7b3d1fcf9bf62654b1.jpg","text":"TemporaryFile(/tmp/multipartBody3491536200806067871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224984505,"filename":"image_03112025_21_15_44_21792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63dcd4349deb8feee825095952400b96.jpg","text":"TemporaryFile(/tmp/multipartBody5619339644678098289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224984505,"filename":"image_03112025_21_15_04_6690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8ad2bbdf5d2e1b412cbfd6b07539b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6890761338147103808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224984505,"filename":"image_03112025_21_15_47_3205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fd74e5f298d7063fc0ff78abe20a7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1327188063650815622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224984505,"filename":"image_03112025_21_14_57_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/964f8b0a4bb87dd896588b87f331e631.jpg","text":"TemporaryFile(/tmp/multipartBody588553760686308688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767224984505,"filename":"image_03112025_21_14_54_1594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968327","file1":"1401968326","file0":"1401968324","file4":"1401968329","file5":"1401968330","file3":"1401968328"},"map_files_photo_id_array":[{"photo_id":"1401968330","filename":"file5"},{"photo_id":"1401968327","filename":"file2"},{"photo_id":"1401968329","filename":"file4"},{"photo_id":"1401968326","filename":"file1"},{"photo_id":"1401968324","filename":"file0"},{"photo_id":"1401968328","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968326":["hashtag1","hashtag2"]},{"1401968329":["hashtag1","hashtag2"]},{"1401968328":["hashtag1","hashtag2"]},{"1401968330":["hashtag1","hashtag2"]},{"1401968327":["hashtag1","hashtag2"]},{"1401968324":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968326, 1401968329, 1401968328, 1401968330, 1401968327, 1401968324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.856056213378906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:49:21.921557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_54_9669.jpg', '/home/pi/Desktop/images/01012026/00/38/image_01012026_00_39_04_9807.jpg', '/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_15_10571.jpg', '/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_25_9649.jpg', '/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_34_9714.jpg', '/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_45_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_38_54_9669.jpg
/home/pi/Desktop/images/01012026/00/38/image_01012026_00_39_04_9807.jpg
/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_15_10571.jpg
/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_25_9649.jpg
/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_34_9714.jpg
/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_45_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":["1401968341","1401968343","1401968331","1401968339","1401968333","1401968336"],"photo_ids_order":["1401968331","1401968333","1401968336","1401968339","1401968341","1401968343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c68c00d9c78a3b12646e53b1b8cf0a0d.jpg","text":"TemporaryFile(/tmp/multipartBody6469533149614770846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225022549,"filename":"image_01012026_00_39_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6364d141db0a71be86a16c8947cc95e0.jpg","text":"TemporaryFile(/tmp/multipartBody5046440935307743939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225022549,"filename":"image_01012026_00_39_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edd5efa4a74ead17101488f82f234de3.jpg","text":"TemporaryFile(/tmp/multipartBody685333242450439207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225022549,"filename":"image_01012026_00_38_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/718796582552bd5062b273c77e1dbdd0.jpg","text":"TemporaryFile(/tmp/multipartBody6379833325845065542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225022549,"filename":"image_01012026_00_39_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb2491e1ce74f7282dff79de86894e06.jpg","text":"TemporaryFile(/tmp/multipartBody4507632851759899973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225022549,"filename":"image_01012026_00_39_04_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07a27660997fda6d6aaf05881e71a518.jpg","text":"TemporaryFile(/tmp/multipartBody223448442369149662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225022549,"filename":"image_01012026_00_39_15_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968336","file1":"1401968333","file0":"1401968331","file4":"1401968341","file5":"1401968343","file3":"1401968339"},"map_files_photo_id_array":[{"photo_id":"1401968343","filename":"file5"},{"photo_id":"1401968336","filename":"file2"},{"photo_id":"1401968341","filename":"file4"},{"photo_id":"1401968333","filename":"file1"},{"photo_id":"1401968331","filename":"file0"},{"photo_id":"1401968339","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968341":["hashtag1","hashtag2"]},{"1401968343":["hashtag1","hashtag2"]},{"1401968331":["hashtag1","hashtag2"]},{"1401968339":["hashtag1","hashtag2"]},{"1401968333":["hashtag1","hashtag2"]},{"1401968336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968341, 1401968343, 1401968331, 1401968339, 1401968333, 1401968336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.904162883758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:50:02.709545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_55_9641.jpg', '/home/pi/Desktop/images/01012026/00/39/image_01012026_00_40_04_9633.jpg', '/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_15_10604.jpg', '/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_24_9665.jpg', '/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_34_9654.jpg', '/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_45_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/39/image_01012026_00_39_55_9641.jpg
/home/pi/Desktop/images/01012026/00/39/image_01012026_00_40_04_9633.jpg
/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_15_10604.jpg
/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_24_9665.jpg
/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_34_9654.jpg
/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_45_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":["1401968353","1401968347","1401968349","1401968351","1401968345","1401968348"],"photo_ids_order":["1401968345","1401968347","1401968348","1401968349","1401968351","1401968353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a62ce5bd38507abb6ab034fb864e0f24.jpg","text":"TemporaryFile(/tmp/multipartBody963668009110997059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225063328,"filename":"image_01012026_00_40_45_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b13f307205e01d19b32b5670d2f59c4e.jpg","text":"TemporaryFile(/tmp/multipartBody4534439931281904114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225063328,"filename":"image_01012026_00_40_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47338b85d63660d80e94d46cbe5bdd27.jpg","text":"TemporaryFile(/tmp/multipartBody4246367339411804444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225063328,"filename":"image_01012026_00_40_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b5d3bdd6f6a50a3633ebcb204fdcef6.jpg","text":"TemporaryFile(/tmp/multipartBody6345349971421494705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225063328,"filename":"image_01012026_00_40_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9699a79e33bb19f1cc12a9cb7a0355a.jpg","text":"TemporaryFile(/tmp/multipartBody9058914862566388128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225063328,"filename":"image_01012026_00_39_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2753ed3d403379b946354a9487ea4e2.jpg","text":"TemporaryFile(/tmp/multipartBody7915428542437587269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225063328,"filename":"image_01012026_00_40_15_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968348","file1":"1401968347","file0":"1401968345","file4":"1401968351","file5":"1401968353","file3":"1401968349"},"map_files_photo_id_array":[{"photo_id":"1401968353","filename":"file5"},{"photo_id":"1401968348","filename":"file2"},{"photo_id":"1401968351","filename":"file4"},{"photo_id":"1401968347","filename":"file1"},{"photo_id":"1401968345","filename":"file0"},{"photo_id":"1401968349","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968353":["hashtag1","hashtag2"]},{"1401968347":["hashtag1","hashtag2"]},{"1401968349":["hashtag1","hashtag2"]},{"1401968351":["hashtag1","hashtag2"]},{"1401968345":["hashtag1","hashtag2"]},{"1401968348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968353, 1401968347, 1401968349, 1401968351, 1401968345, 1401968348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74887466430664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:50:42.225991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_05_1634.jpg', '/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_10_1701.jpg', '/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_12_1555.jpg', '/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_13_1700.jpg', '/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_25_1629.jpg', '/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_27_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/21/16/image_03112025_21_16_05_1634.jpg
/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_10_1701.jpg
/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_12_1555.jpg
/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_13_1700.jpg
/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_25_1629.jpg
/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_27_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":["1401968368","1401968365","1401968364","1401968367","1401968358","1401968366"],"photo_ids_order":["1401968358","1401968364","1401968365","1401968366","1401968367","1401968368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae7c706c97bccf68c1defb848c03959a.jpg","text":"TemporaryFile(/tmp/multipartBody1977252701819817434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225103963,"filename":"image_03112025_21_16_27_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e27eaab9276543037eaf58b3237d9ce5.jpg","text":"TemporaryFile(/tmp/multipartBody9108649714622830401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225103963,"filename":"image_03112025_21_16_12_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70db528509d709d424463adbe5de64e7.jpg","text":"TemporaryFile(/tmp/multipartBody8533817777955157028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225103963,"filename":"image_03112025_21_16_10_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1528276febba635b273404e417d88e2.jpg","text":"TemporaryFile(/tmp/multipartBody8371784776971771384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225103963,"filename":"image_03112025_21_16_25_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c45c913be63d9630eb8a0c9e35b9877.jpg","text":"TemporaryFile(/tmp/multipartBody1120792204659607923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225103963,"filename":"image_03112025_21_16_05_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a015f828c7e03cc56890fc5862331d5.jpg","text":"TemporaryFile(/tmp/multipartBody2158054063520603927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225103963,"filename":"image_03112025_21_16_13_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968365","file1":"1401968364","file0":"1401968358","file4":"1401968367","file5":"1401968368","file3":"1401968366"},"map_files_photo_id_array":[{"photo_id":"1401968368","filename":"file5"},{"photo_id":"1401968365","filename":"file2"},{"photo_id":"1401968367","filename":"file4"},{"photo_id":"1401968364","filename":"file1"},{"photo_id":"1401968358","filename":"file0"},{"photo_id":"1401968366","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968368":["hashtag1","hashtag2"]},{"1401968365":["hashtag1","hashtag2"]},{"1401968364":["hashtag1","hashtag2"]},{"1401968367":["hashtag1","hashtag2"]},{"1401968358":["hashtag1","hashtag2"]},{"1401968366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968368, 1401968365, 1401968364, 1401968367, 1401968358, 1401968366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50818419456482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:51:22.369896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_55_9702.jpg', '/home/pi/Desktop/images/01012026/00/40/image_01012026_00_41_04_9722.jpg', '/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_15_10632.jpg', '/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_25_9618.jpg', '/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_34_9651.jpg', '/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_45_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/40/image_01012026_00_40_55_9702.jpg
/home/pi/Desktop/images/01012026/00/40/image_01012026_00_41_04_9722.jpg
/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_15_10632.jpg
/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_25_9618.jpg
/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_34_9651.jpg
/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_45_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968377","1401968371","1401968379","1401968373","1401968375","1401968369"],"photo_ids_order":["1401968369","1401968371","1401968373","1401968375","1401968377","1401968379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54378028610374442b9574f5839aa9c7.jpg","text":"TemporaryFile(/tmp/multipartBody5832927582160765824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225142968,"filename":"image_01012026_00_41_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d86bba8ec9aee657f7a38e6e01df77e.jpg","text":"TemporaryFile(/tmp/multipartBody2465707257340527073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225142968,"filename":"image_01012026_00_41_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae83d8c9c14fb2a28a938355f7b24377.jpg","text":"TemporaryFile(/tmp/multipartBody189934412791555240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225142968,"filename":"image_01012026_00_41_45_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43032662168d8f40324f249b2d0ed472.jpg","text":"TemporaryFile(/tmp/multipartBody907751800729628813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225142968,"filename":"image_01012026_00_41_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d81342722f8fd58760015e474518c96.jpg","text":"TemporaryFile(/tmp/multipartBody3400664625670399057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225142968,"filename":"image_01012026_00_41_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/572c4c4059f51b0c39f183b274f9e11d.jpg","text":"TemporaryFile(/tmp/multipartBody7128337743001341321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225142968,"filename":"image_01012026_00_40_55_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968373","file1":"1401968371","file0":"1401968369","file4":"1401968377","file5":"1401968379","file3":"1401968375"},"map_files_photo_id_array":[{"photo_id":"1401968379","filename":"file5"},{"photo_id":"1401968373","filename":"file2"},{"photo_id":"1401968377","filename":"file4"},{"photo_id":"1401968371","filename":"file1"},{"photo_id":"1401968369","filename":"file0"},{"photo_id":"1401968375","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968377":["hashtag1","hashtag2"]},{"1401968371":["hashtag1","hashtag2"]},{"1401968379":["hashtag1","hashtag2"]},{"1401968373":["hashtag1","hashtag2"]},{"1401968375":["hashtag1","hashtag2"]},{"1401968369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968377, 1401968371, 1401968379, 1401968373, 1401968375, 1401968369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74697542190552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:52:02.995313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_54_9560.jpg', '/home/pi/Desktop/images/01012026/00/41/image_01012026_00_42_04_9687.jpg', '/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_15_10906.jpg', '/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_25_9656.jpg', '/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_34_9800.jpg', '/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_44_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/41/image_01012026_00_41_54_9560.jpg
/home/pi/Desktop/images/01012026/00/41/image_01012026_00_42_04_9687.jpg
/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_15_10906.jpg
/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_25_9656.jpg
/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_34_9800.jpg
/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_44_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968383","1401968382","1401968385","1401968381","1401968384","1401968387"],"photo_ids_order":["1401968381","1401968382","1401968383","1401968384","1401968385","1401968387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1e78a9cfbb5b1637117258ce7190a97.jpg","text":"TemporaryFile(/tmp/multipartBody1339351804811775420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225183625,"filename":"image_01012026_00_42_15_10906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4ecb7754e6caef6beca8ff043dc341b.jpg","text":"TemporaryFile(/tmp/multipartBody514525199849314534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225183625,"filename":"image_01012026_00_42_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4574deb9b1b457c37be88ae17ae9901d.jpg","text":"TemporaryFile(/tmp/multipartBody4162499376790851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225183625,"filename":"image_01012026_00_42_34_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/688aea3aeb8f29fe3fc15edbfd396486.jpg","text":"TemporaryFile(/tmp/multipartBody6927885107327798674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225183625,"filename":"image_01012026_00_41_54_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ad1d4206e9d2052759048b4db4d39ac.jpg","text":"TemporaryFile(/tmp/multipartBody8573282151905302121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225183625,"filename":"image_01012026_00_42_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cd633e94d43625fe683de97e0c488c0.jpg","text":"TemporaryFile(/tmp/multipartBody9171249893220498175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225183625,"filename":"image_01012026_00_42_44_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968383","file1":"1401968382","file0":"1401968381","file4":"1401968385","file5":"1401968387","file3":"1401968384"},"map_files_photo_id_array":[{"photo_id":"1401968387","filename":"file5"},{"photo_id":"1401968383","filename":"file2"},{"photo_id":"1401968385","filename":"file4"},{"photo_id":"1401968382","filename":"file1"},{"photo_id":"1401968381","filename":"file0"},{"photo_id":"1401968384","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968383":["hashtag1","hashtag2"]},{"1401968382":["hashtag1","hashtag2"]},{"1401968385":["hashtag1","hashtag2"]},{"1401968381":["hashtag1","hashtag2"]},{"1401968384":["hashtag1","hashtag2"]},{"1401968387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968383, 1401968382, 1401968385, 1401968381, 1401968384, 1401968387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.321306467056274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:52:42.598858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_28_1581.jpg', '/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_34_1759.jpg', '/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_46_2910.jpg', '/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_14_24847.jpg', '/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_16_1595.jpg', '/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_19_1524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_28_1581.jpg
/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_34_1759.jpg
/home/pi/Desktop/images/03112025/21/16/image_03112025_21_16_46_2910.jpg
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_14_24847.jpg
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_16_1595.jpg
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_19_1524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968395","1401968398","1401968397","1401968394","1401968393","1401968396"],"photo_ids_order":["1401968393","1401968394","1401968395","1401968396","1401968397","1401968398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e981e9de59dd3acdfb4f07fe406187c.jpg","text":"TemporaryFile(/tmp/multipartBody4487642761311900465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225224338,"filename":"image_03112025_21_16_46_2910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca0331b461b194e1c0670a9837124d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7325144884797483654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225224338,"filename":"image_03112025_21_17_19_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cc678ac85c1a93130eccc0feda0d728.jpg","text":"TemporaryFile(/tmp/multipartBody4232169253338801494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225224338,"filename":"image_03112025_21_17_16_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/862e04fca1721f7416a9cd0b27eff083.jpg","text":"TemporaryFile(/tmp/multipartBody4841897432319457282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225224338,"filename":"image_03112025_21_16_34_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/726b2a28c48debe4f512068d8484a3a1.jpg","text":"TemporaryFile(/tmp/multipartBody3056257886879835562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225224338,"filename":"image_03112025_21_16_28_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c94551494d776ef93f7505cc05248643.jpg","text":"TemporaryFile(/tmp/multipartBody2567251093160023193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225224338,"filename":"image_03112025_21_17_14_24847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968395","file1":"1401968394","file0":"1401968393","file4":"1401968397","file5":"1401968398","file3":"1401968396"},"map_files_photo_id_array":[{"photo_id":"1401968398","filename":"file5"},{"photo_id":"1401968395","filename":"file2"},{"photo_id":"1401968397","filename":"file4"},{"photo_id":"1401968394","filename":"file1"},{"photo_id":"1401968393","filename":"file0"},{"photo_id":"1401968396","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968395":["hashtag1","hashtag2"]},{"1401968398":["hashtag1","hashtag2"]},{"1401968397":["hashtag1","hashtag2"]},{"1401968394":["hashtag1","hashtag2"]},{"1401968393":["hashtag1","hashtag2"]},{"1401968396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968395, 1401968398, 1401968397, 1401968394, 1401968393, 1401968396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26720118522644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:53:22.747460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_55_10584.jpg', '/home/pi/Desktop/images/01012026/00/42/image_01012026_00_43_05_9980.jpg', '/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_15_9656.jpg', '/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_24_9828.jpg', '/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_34_9731.jpg', '/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_45_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/42/image_01012026_00_42_55_10584.jpg
/home/pi/Desktop/images/01012026/00/42/image_01012026_00_43_05_9980.jpg
/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_15_9656.jpg
/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_24_9828.jpg
/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_34_9731.jpg
/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_45_10565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968404","1401968413","1401968406","1401968400","1401968408","1401968402"],"photo_ids_order":["1401968400","1401968402","1401968404","1401968406","1401968408","1401968413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0670a9234065081d2113471c0cfa153a.jpg","text":"TemporaryFile(/tmp/multipartBody1357924581614897040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225263341,"filename":"image_01012026_00_43_15_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6d456d58da93d8f98a0ed20993821ba.jpg","text":"TemporaryFile(/tmp/multipartBody1863265612135346607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225263341,"filename":"image_01012026_00_43_45_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22ac99d7482071eb9e2f67ef59889323.jpg","text":"TemporaryFile(/tmp/multipartBody613204370680355572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225263341,"filename":"image_01012026_00_43_24_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b3d563211faa26ca90b93a32d194db1.jpg","text":"TemporaryFile(/tmp/multipartBody5208973312890790317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225263341,"filename":"image_01012026_00_42_55_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7814e4fc859403510d2d6fe38608c83c.jpg","text":"TemporaryFile(/tmp/multipartBody1390644614601321867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225263341,"filename":"image_01012026_00_43_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c1a37d8eeb752f102dece722496648b.jpg","text":"TemporaryFile(/tmp/multipartBody7923165738980501904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225263341,"filename":"image_01012026_00_43_05_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968404","file1":"1401968402","file0":"1401968400","file4":"1401968408","file5":"1401968413","file3":"1401968406"},"map_files_photo_id_array":[{"photo_id":"1401968413","filename":"file5"},{"photo_id":"1401968404","filename":"file2"},{"photo_id":"1401968408","filename":"file4"},{"photo_id":"1401968402","filename":"file1"},{"photo_id":"1401968400","filename":"file0"},{"photo_id":"1401968406","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968404":["hashtag1","hashtag2"]},{"1401968413":["hashtag1","hashtag2"]},{"1401968406":["hashtag1","hashtag2"]},{"1401968400":["hashtag1","hashtag2"]},{"1401968408":["hashtag1","hashtag2"]},{"1401968402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968404, 1401968413, 1401968406, 1401968400, 1401968408, 1401968402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68856072425842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:54:02.631173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_54_9690.jpg', '/home/pi/Desktop/images/01012026/00/43/image_01012026_00_44_04_9707.jpg', '/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_15_10574.jpg', '/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_24_9668.jpg', '/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_35_10638.jpg', '/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_45_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/43/image_01012026_00_43_54_9690.jpg
/home/pi/Desktop/images/01012026/00/43/image_01012026_00_44_04_9707.jpg
/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_15_10574.jpg
/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_24_9668.jpg
/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_35_10638.jpg
/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_45_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968419","1401968416","1401968415","1401968418","1401968414","1401968417"],"photo_ids_order":["1401968414","1401968415","1401968416","1401968417","1401968418","1401968419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8746c8073da6d8bc83fdf66f7f8b4395.jpg","text":"TemporaryFile(/tmp/multipartBody3105483384272050938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225303362,"filename":"image_01012026_00_44_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46cbbf787b18e48e85249d4c697e4736.jpg","text":"TemporaryFile(/tmp/multipartBody8723737790166277724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225303362,"filename":"image_01012026_00_44_15_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70bb9c45a2097abc25cbe0259f37ee25.jpg","text":"TemporaryFile(/tmp/multipartBody2259254737747629524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225303362,"filename":"image_01012026_00_44_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f2d5f6b537e54c3d73bdab67d1ea762.jpg","text":"TemporaryFile(/tmp/multipartBody6554032666985098807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225303362,"filename":"image_01012026_00_44_35_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f181326b0cc5b53da5b7a085a2ab0356.jpg","text":"TemporaryFile(/tmp/multipartBody236280977432926450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225303362,"filename":"image_01012026_00_43_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65bfc15c9d807410637f706c2233c341.jpg","text":"TemporaryFile(/tmp/multipartBody3961854732493854997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225303362,"filename":"image_01012026_00_44_24_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968416","file1":"1401968415","file0":"1401968414","file4":"1401968418","file5":"1401968419","file3":"1401968417"},"map_files_photo_id_array":[{"photo_id":"1401968419","filename":"file5"},{"photo_id":"1401968416","filename":"file2"},{"photo_id":"1401968418","filename":"file4"},{"photo_id":"1401968415","filename":"file1"},{"photo_id":"1401968414","filename":"file0"},{"photo_id":"1401968417","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968419":["hashtag1","hashtag2"]},{"1401968416":["hashtag1","hashtag2"]},{"1401968415":["hashtag1","hashtag2"]},{"1401968418":["hashtag1","hashtag2"]},{"1401968414":["hashtag1","hashtag2"]},{"1401968417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968419, 1401968416, 1401968415, 1401968418, 1401968414, 1401968417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26252317428589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:54:41.993452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_22_3433.jpg', '/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_26_1606.jpg', '/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_27_1525.jpg', '/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_29_2038.jpg', '/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_35_1852.jpg', '/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_56_8913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_22_3433.jpg
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_26_1606.jpg
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_27_1525.jpg
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_29_2038.jpg
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_35_1852.jpg
/home/pi/Desktop/images/03112025/21/17/image_03112025_21_17_56_8913.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968437","1401968425","1401968434","1401968428","1401968430","1401968432"],"photo_ids_order":["1401968425","1401968428","1401968430","1401968432","1401968434","1401968437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b21beca5203cfdaf999decbbb24ba57a.jpg","text":"TemporaryFile(/tmp/multipartBody5721288553734545847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225343740,"filename":"image_03112025_21_17_56_8913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/302fd49fc29fc097600ab1bc4b6681d8.jpg","text":"TemporaryFile(/tmp/multipartBody4184565183721907682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225343740,"filename":"image_03112025_21_17_22_3433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad5a066332c4d5af6567acc3ef4cb890.jpg","text":"TemporaryFile(/tmp/multipartBody6677339057606361710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225343740,"filename":"image_03112025_21_17_35_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b42e09e84be55e6b623abb52530d0cad.jpg","text":"TemporaryFile(/tmp/multipartBody9049192886173612280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225343740,"filename":"image_03112025_21_17_26_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/981968299cbd009a7b94ed3ba58ec9da.jpg","text":"TemporaryFile(/tmp/multipartBody7714382212960340441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225343740,"filename":"image_03112025_21_17_27_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abaa23269b7ff100d6ab0a5f3ee0064f.jpg","text":"TemporaryFile(/tmp/multipartBody5501161891642764873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225343740,"filename":"image_03112025_21_17_29_2038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968430","file1":"1401968428","file0":"1401968425","file4":"1401968434","file5":"1401968437","file3":"1401968432"},"map_files_photo_id_array":[{"photo_id":"1401968437","filename":"file5"},{"photo_id":"1401968430","filename":"file2"},{"photo_id":"1401968434","filename":"file4"},{"photo_id":"1401968428","filename":"file1"},{"photo_id":"1401968425","filename":"file0"},{"photo_id":"1401968432","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968437":["hashtag1","hashtag2"]},{"1401968425":["hashtag1","hashtag2"]},{"1401968434":["hashtag1","hashtag2"]},{"1401968428":["hashtag1","hashtag2"]},{"1401968430":["hashtag1","hashtag2"]},{"1401968432":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968437, 1401968425, 1401968434, 1401968428, 1401968430, 1401968432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.876094579696655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 00:55:22.159185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_54_9669.jpg', '/home/pi/Desktop/images/01012026/00/44/image_01012026_00_45_05_10577.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_15_9696.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_24_9687.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_35_10607.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_45_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_54_9669.jpg
/home/pi/Desktop/images/01012026/00/44/image_01012026_00_45_05_10577.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_15_9696.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_24_9687.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_35_10607.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_45_9669.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.5226681232452393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:55:32.237784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_05_6990.jpg', '/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_18_1585.jpg', '/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_20_1639.jpg', '/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_28_8153.jpg', '/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_37_8921.jpg', '/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_42_1884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_05_6990.jpg
/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_18_1585.jpg
/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_20_1639.jpg
/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_28_8153.jpg
/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_37_8921.jpg
/home/pi/Desktop/images/03112025/21/18/image_03112025_21_18_42_1884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968452","1401968454","1401968450","1401968444","1401968453","1401968447"],"photo_ids_order":["1401968444","1401968447","1401968450","1401968452","1401968453","1401968454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5de170e31b5864cfefcec6193b0117b5.jpg","text":"TemporaryFile(/tmp/multipartBody1432535049838953335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225394074,"filename":"image_03112025_21_18_28_8153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8841476548f45902261c0d705a1b30ec.jpg","text":"TemporaryFile(/tmp/multipartBody462346431876601960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225394074,"filename":"image_03112025_21_18_42_1884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f0978f5b419d12480c053e53f7765f3.jpg","text":"TemporaryFile(/tmp/multipartBody3473112014037235018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225394074,"filename":"image_03112025_21_18_20_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74a572fd7b30c62a15bf4a040b5696fd.jpg","text":"TemporaryFile(/tmp/multipartBody5442651532818147165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225394074,"filename":"image_03112025_21_18_05_6990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01cf9bc4224d312b02c6da7a1017c9e2.jpg","text":"TemporaryFile(/tmp/multipartBody7707971461924765360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225394074,"filename":"image_03112025_21_18_37_8921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b609433705fcabfcdb9701f25d9d3387.jpg","text":"TemporaryFile(/tmp/multipartBody8580447241675933516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225394074,"filename":"image_03112025_21_18_18_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968450","file1":"1401968447","file0":"1401968444","file4":"1401968453","file5":"1401968454","file3":"1401968452"},"map_files_photo_id_array":[{"photo_id":"1401968454","filename":"file5"},{"photo_id":"1401968450","filename":"file2"},{"photo_id":"1401968453","filename":"file4"},{"photo_id":"1401968447","filename":"file1"},{"photo_id":"1401968444","filename":"file0"},{"photo_id":"1401968452","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968452":["hashtag1","hashtag2"]},{"1401968454":["hashtag1","hashtag2"]},{"1401968450":["hashtag1","hashtag2"]},{"1401968444":["hashtag1","hashtag2"]},{"1401968453":["hashtag1","hashtag2"]},{"1401968447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968452, 1401968454, 1401968450, 1401968444, 1401968453, 1401968447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85019588470459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:56:12.406852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/19/image_03112025_21_19_07_1766.jpg', '/home/pi/Desktop/images/03112025/21/19/image_03112025_21_19_12_3033.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_14_1648.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_16_1645.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_20_1778.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_21_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/21/19/image_03112025_21_19_07_1766.jpg
/home/pi/Desktop/images/03112025/21/19/image_03112025_21_19_12_3033.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_14_1648.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_16_1645.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_20_1778.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_21_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":["1401968461","1401968455","1401968463","1401968457","1401968465","1401968459"],"photo_ids_order":["1401968455","1401968457","1401968459","1401968461","1401968463","1401968465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d83b9813873d6e6ea509e957a7405d02.jpg","text":"TemporaryFile(/tmp/multipartBody6517787526760481283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225434048,"filename":"image_03112025_21_20_16_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48322495ac572443c4234cdc1a7a69e3.jpg","text":"TemporaryFile(/tmp/multipartBody7243367497470709636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225434048,"filename":"image_03112025_21_19_07_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d1ae3d0b0d28786f210393501d145b1.jpg","text":"TemporaryFile(/tmp/multipartBody2806285421962813099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225434048,"filename":"image_03112025_21_20_20_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/955f9d02da647b17c1b51e506a07ad7f.jpg","text":"TemporaryFile(/tmp/multipartBody1031318875417729632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225434048,"filename":"image_03112025_21_19_12_3033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf6a359a0a2f508982b9808f291a0601.jpg","text":"TemporaryFile(/tmp/multipartBody8445081854492676247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225434048,"filename":"image_03112025_21_20_21_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e32d4af558f0f629b55642afe2c0fc55.jpg","text":"TemporaryFile(/tmp/multipartBody8605450118008460098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225434048,"filename":"image_03112025_21_20_14_1648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968459","file1":"1401968457","file0":"1401968455","file4":"1401968463","file5":"1401968465","file3":"1401968461"},"map_files_photo_id_array":[{"photo_id":"1401968465","filename":"file5"},{"photo_id":"1401968459","filename":"file2"},{"photo_id":"1401968463","filename":"file4"},{"photo_id":"1401968457","filename":"file1"},{"photo_id":"1401968455","filename":"file0"},{"photo_id":"1401968461","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968461":["hashtag1","hashtag2"]},{"1401968455":["hashtag1","hashtag2"]},{"1401968463":["hashtag1","hashtag2"]},{"1401968457":["hashtag1","hashtag2"]},{"1401968465":["hashtag1","hashtag2"]},{"1401968459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968461, 1401968455, 1401968463, 1401968457, 1401968465, 1401968459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73180627822876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:57:03.110822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_54_9669.jpg', '/home/pi/Desktop/images/01012026/00/44/image_01012026_00_45_05_10577.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_15_9696.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_24_9687.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_35_10607.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_45_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/44/image_01012026_00_44_54_9669.jpg
/home/pi/Desktop/images/01012026/00/44/image_01012026_00_45_05_10577.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_15_9696.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_24_9687.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_35_10607.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_45_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":["1401968473","1401968472","1401968475","1401968474","1401968477","1401968471"],"photo_ids_order":["1401968471","1401968472","1401968473","1401968474","1401968475","1401968477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70dd11361dac769b035f08400234646e.jpg","text":"TemporaryFile(/tmp/multipartBody922471422574743475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225483751,"filename":"image_01012026_00_45_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c307a3ea0de2f0781aa2c9d95af429a.jpg","text":"TemporaryFile(/tmp/multipartBody8211890029145195953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225483751,"filename":"image_01012026_00_45_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb6e7a90a5f1fdedb103fbac0468c10e.jpg","text":"TemporaryFile(/tmp/multipartBody7697838683420333752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225483751,"filename":"image_01012026_00_45_35_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1880f8cd1006b2b069a9151f7bc89e4c.jpg","text":"TemporaryFile(/tmp/multipartBody1985126123557269097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225483751,"filename":"image_01012026_00_45_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d0efd4ebe8ef85f887aa7d44cb9c3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8147463965857298577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225483751,"filename":"image_01012026_00_45_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/724065b503895664e82e8759227d8061.jpg","text":"TemporaryFile(/tmp/multipartBody3837631037362052283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225483751,"filename":"image_01012026_00_44_54_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968473","file1":"1401968472","file0":"1401968471","file4":"1401968475","file5":"1401968477","file3":"1401968474"},"map_files_photo_id_array":[{"photo_id":"1401968477","filename":"file5"},{"photo_id":"1401968473","filename":"file2"},{"photo_id":"1401968475","filename":"file4"},{"photo_id":"1401968472","filename":"file1"},{"photo_id":"1401968471","filename":"file0"},{"photo_id":"1401968474","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968473":["hashtag1","hashtag2"]},{"1401968472":["hashtag1","hashtag2"]},{"1401968475":["hashtag1","hashtag2"]},{"1401968474":["hashtag1","hashtag2"]},{"1401968477":["hashtag1","hashtag2"]},{"1401968471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968473, 1401968472, 1401968475, 1401968474, 1401968477, 1401968471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37814545631409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 00:57:42.440779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_26_1726.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_28_1624.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_30_1786.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_36_6193.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_38_1706.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_39_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/21/20/image_03112025_21_20_26_1726.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_28_1624.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_30_1786.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_36_6193.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_38_1706.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_39_1649.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968488","1401968482","1401968484","1401968487","1401968486","1401968485"],"photo_ids_order":["1401968482","1401968484","1401968485","1401968486","1401968487","1401968488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac227022ffffec1cab7ba20b8c886183.jpg","text":"TemporaryFile(/tmp/multipartBody8062690572435683515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225524190,"filename":"image_03112025_21_20_39_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dd610a8345139df5c7ce79da3feacba.jpg","text":"TemporaryFile(/tmp/multipartBody8749868576443290874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225524190,"filename":"image_03112025_21_20_26_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2ee8230bf097e7ef7a0bdd73665ad08.jpg","text":"TemporaryFile(/tmp/multipartBody6797836877096174948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225524190,"filename":"image_03112025_21_20_28_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd1ea0078993d8ec56d2fbdfeb1c031b.jpg","text":"TemporaryFile(/tmp/multipartBody3604556756063082176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225524190,"filename":"image_03112025_21_20_38_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90864bfe35595c49d39481c58c4f385c.jpg","text":"TemporaryFile(/tmp/multipartBody3017878834268383905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225524190,"filename":"image_03112025_21_20_36_6193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9758af2f21f988e5540ccbccc2df37e6.jpg","text":"TemporaryFile(/tmp/multipartBody3384879336180827759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225524190,"filename":"image_03112025_21_20_30_1786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968485","file1":"1401968484","file0":"1401968482","file4":"1401968487","file5":"1401968488","file3":"1401968486"},"map_files_photo_id_array":[{"photo_id":"1401968488","filename":"file5"},{"photo_id":"1401968485","filename":"file2"},{"photo_id":"1401968487","filename":"file4"},{"photo_id":"1401968484","filename":"file1"},{"photo_id":"1401968482","filename":"file0"},{"photo_id":"1401968486","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968488":["hashtag1","hashtag2"]},{"1401968482":["hashtag1","hashtag2"]},{"1401968484":["hashtag1","hashtag2"]},{"1401968487":["hashtag1","hashtag2"]},{"1401968486":["hashtag1","hashtag2"]},{"1401968485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968488, 1401968482, 1401968484, 1401968487, 1401968486, 1401968485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62792158126831 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 00:59:03.782082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_54_9612.jpg', '/home/pi/Desktop/images/01012026/00/45/image_01012026_00_46_05_10834.jpg', '/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_15_9701.jpg', '/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_24_9567.jpg', '/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_34_9773.jpg', '/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_45_10907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_45_54_9612.jpg
/home/pi/Desktop/images/01012026/00/45/image_01012026_00_46_05_10834.jpg
/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_15_9701.jpg
/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_24_9567.jpg
/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_34_9773.jpg
/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_45_10907.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":["1401968503","1401968496","1401968500","1401968493","1401968498","1401968491"],"photo_ids_order":["1401968491","1401968493","1401968496","1401968498","1401968500","1401968503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad757959ae3976f17f28c836281776a6.jpg","text":"TemporaryFile(/tmp/multipartBody535880424147747667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225604701,"filename":"image_01012026_00_46_45_10907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/321654f17916bc64c9df043f7d1ff6f8.jpg","text":"TemporaryFile(/tmp/multipartBody7190508342888737959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225604701,"filename":"image_01012026_00_46_15_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40b1cc5162f8d860fb0229a4c6773bb8.jpg","text":"TemporaryFile(/tmp/multipartBody2851515455930924709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225604701,"filename":"image_01012026_00_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/2026/1/1/bbbed49b2017cce82a0c5d09673d2b67.jpg","text":"TemporaryFile(/tmp/multipartBody4422994214024034756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225604701,"filename":"image_01012026_00_46_05_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df3ae222004ba6b889986c95c0dd0703.jpg","text":"TemporaryFile(/tmp/multipartBody7448003885606059648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225604701,"filename":"image_01012026_00_46_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41f4d425251d9f5c07c30ffe60b21efe.jpg","text":"TemporaryFile(/tmp/multipartBody8067163415591009421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225604701,"filename":"image_01012026_00_45_54_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968496","file1":"1401968493","file0":"1401968491","file4":"1401968500","file5":"1401968503","file3":"1401968498"},"map_files_photo_id_array":[{"photo_id":"1401968503","filename":"file5"},{"photo_id":"1401968496","filename":"file2"},{"photo_id":"1401968500","filename":"file4"},{"photo_id":"1401968493","filename":"file1"},{"photo_id":"1401968491","filename":"file0"},{"photo_id":"1401968498","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968503":["hashtag1","hashtag2"]},{"1401968496":["hashtag1","hashtag2"]},{"1401968500":["hashtag1","hashtag2"]},{"1401968493":["hashtag1","hashtag2"]},{"1401968498":["hashtag1","hashtag2"]},{"1401968491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968503, 1401968496, 1401968500, 1401968493, 1401968498, 1401968491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58562350273132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:00:02.375205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_55_9837.jpg', '/home/pi/Desktop/images/01012026/00/46/image_01012026_00_47_05_9685.jpg', '/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_14_9695.jpg', '/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_25_10688.jpg', '/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_35_9609.jpg', '/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_44_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/46/image_01012026_00_46_55_9837.jpg
/home/pi/Desktop/images/01012026/00/46/image_01012026_00_47_05_9685.jpg
/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_14_9695.jpg
/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_25_10688.jpg
/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_35_9609.jpg
/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_44_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":["1401968527","1401968512","1401968515","1401968514","1401968564","1401968599"],"photo_ids_order":["1401968512","1401968514","1401968515","1401968527","1401968564","1401968599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b667349f80babf529b876c15af931687.jpg","text":"TemporaryFile(/tmp/multipartBody3276325223996044951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225663043,"filename":"image_01012026_00_47_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68f99ac7740e6a8c3c4df5bba1c8dd2b.jpg","text":"TemporaryFile(/tmp/multipartBody3663068862787424806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225663043,"filename":"image_01012026_00_46_55_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e09eae5e0ee2a6dfadfd48ec65e17f30.jpg","text":"TemporaryFile(/tmp/multipartBody8883097535058639034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225663043,"filename":"image_01012026_00_47_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8562e68dab1b3fc98ac9f0f7a255c8ff.jpg","text":"TemporaryFile(/tmp/multipartBody6000068909951797729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225663043,"filename":"image_01012026_00_47_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df642ad179fbd844d8c32fcf4f9d3f22.jpg","text":"TemporaryFile(/tmp/multipartBody5874017896194795061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225663043,"filename":"image_01012026_00_47_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60bd11d5ecf36581714573e47b3f6403.jpg","text":"TemporaryFile(/tmp/multipartBody7851007986955322973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225663043,"filename":"image_01012026_00_47_44_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968515","file1":"1401968514","file0":"1401968512","file4":"1401968564","file5":"1401968599","file3":"1401968527"},"map_files_photo_id_array":[{"photo_id":"1401968599","filename":"file5"},{"photo_id":"1401968515","filename":"file2"},{"photo_id":"1401968564","filename":"file4"},{"photo_id":"1401968514","filename":"file1"},{"photo_id":"1401968512","filename":"file0"},{"photo_id":"1401968527","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401968527":["hashtag1","hashtag2"]},{"1401968512":["hashtag1","hashtag2"]},{"1401968515":["hashtag1","hashtag2"]},{"1401968514":["hashtag1","hashtag2"]},{"1401968564":["hashtag1","hashtag2"]},{"1401968599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401968527, 1401968512, 1401968515, 1401968514, 1401968564, 1401968599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.362117290496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:00:41.912421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_43_1738.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_48_1611.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_51_1725.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_53_1587.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_54_1607.jpg', '/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_56_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/21/20/image_03112025_21_20_43_1738.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_48_1611.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_51_1725.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_53_1587.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_54_1607.jpg
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_56_1585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401968737","1401968917","1401968952","1401968877","1401968777","1401968825"],"photo_ids_order":["1401968737","1401968777","1401968825","1401968877","1401968917","1401968952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8bf5b88462229c4f59cf36e88f3718d1.jpg","text":"TemporaryFile(/tmp/multipartBody125101066361552281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225703547,"filename":"image_03112025_21_20_43_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f887193f1bb98b1829bc88a8586be2f.jpg","text":"TemporaryFile(/tmp/multipartBody6972405668701256799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225703547,"filename":"image_03112025_21_20_54_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2aeefe3bb863ad7265629b10baa4eef4.jpg","text":"TemporaryFile(/tmp/multipartBody1455093117543695055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225703547,"filename":"image_03112025_21_20_56_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f672158bf78829527edfe040abb78b38.jpg","text":"TemporaryFile(/tmp/multipartBody3725512465171885240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225703547,"filename":"image_03112025_21_20_53_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/334a4313e6f8f36488254e448a0c23ef.jpg","text":"TemporaryFile(/tmp/multipartBody1090938065536016139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225703547,"filename":"image_03112025_21_20_48_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f722c7b27edf871578d76560f729e60.jpg","text":"TemporaryFile(/tmp/multipartBody4780053736616731237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225703547,"filename":"image_03112025_21_20_51_1725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401968825","file1":"1401968777","file0":"1401968737","file4":"1401968917","file5":"1401968952","file3":"1401968877"},"map_files_photo_id_array":[{"photo_id":"1401968952","filename":"file5"},{"photo_id":"1401968825","filename":"file2"},{"photo_id":"1401968917","filename":"file4"},{"photo_id":"1401968777","filename":"file1"},{"photo_id":"1401968737","filename":"file0"},{"photo_id":"1401968877","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401968737":["hashtag1","hashtag2"]},{"1401968917":["hashtag1","hashtag2"]},{"1401968952":["hashtag1","hashtag2"]},{"1401968877":["hashtag1","hashtag2"]},{"1401968777":["hashtag1","hashtag2"]},{"1401968825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401968737, 1401968917, 1401968952, 1401968877, 1401968777, 1401968825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.09137535095215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:01:32.176723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_58_1744.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_05_7492.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_07_1753.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_13_4012.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_16_1634.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_17_1738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/20/image_03112025_21_20_58_1744.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_05_7492.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_07_1753.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_13_4012.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_16_1634.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_17_1738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401969162","1401969156","1401969158","1401969137","1401969160","1401969154"],"photo_ids_order":["1401969137","1401969154","1401969156","1401969158","1401969160","1401969162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32d7c00c1a668730937b8ce41076df53.jpg","text":"TemporaryFile(/tmp/multipartBody1414482708625626465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225754779,"filename":"image_03112025_21_21_17_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42b30da589e651af3031afe5dea96fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1519480029178165997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225754779,"filename":"image_03112025_21_21_07_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc25eb1f9621f5ddacd886d64a55ff42.jpg","text":"TemporaryFile(/tmp/multipartBody1122573973654694216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225754779,"filename":"image_03112025_21_21_13_4012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac4699a0e400d6441ce68e94b8fe2156.jpg","text":"TemporaryFile(/tmp/multipartBody5058743172058534908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225754779,"filename":"image_03112025_21_20_58_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60ac909bf0b12851c412ba49e92a168f.jpg","text":"TemporaryFile(/tmp/multipartBody1761200959392905916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225754779,"filename":"image_03112025_21_21_16_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7a4baacb39026189d14ad9a439d60b4.jpg","text":"TemporaryFile(/tmp/multipartBody7403425676219337029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225754779,"filename":"image_03112025_21_21_05_7492.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401969156","file1":"1401969154","file0":"1401969137","file4":"1401969160","file5":"1401969162","file3":"1401969158"},"map_files_photo_id_array":[{"photo_id":"1401969162","filename":"file5"},{"photo_id":"1401969156","filename":"file2"},{"photo_id":"1401969160","filename":"file4"},{"photo_id":"1401969154","filename":"file1"},{"photo_id":"1401969137","filename":"file0"},{"photo_id":"1401969158","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401969162":["hashtag1","hashtag2"]},{"1401969156":["hashtag1","hashtag2"]},{"1401969158":["hashtag1","hashtag2"]},{"1401969137":["hashtag1","hashtag2"]},{"1401969160":["hashtag1","hashtag2"]},{"1401969154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401969162, 1401969156, 1401969158, 1401969137, 1401969160, 1401969154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.283169746398926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:02:20.801455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_23_5953.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_25_1741.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_29_4154.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_33_1593.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_34_1737.jpg', '/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_56_1490.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_23_5953.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_25_1741.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_29_4154.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_33_1593.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_34_1737.jpg
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_21_56_1490.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401969358","1401969228","1401969342","1401969303","1401969353","1401969268"],"photo_ids_order":["1401969228","1401969268","1401969303","1401969342","1401969353","1401969358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05bf9732032c5203e3931dcac06519c9.jpg","text":"TemporaryFile(/tmp/multipartBody5949271056233296679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225802727,"filename":"image_03112025_21_21_56_1490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25e2ed1308f379cde3abac0988aa00b9.jpg","text":"TemporaryFile(/tmp/multipartBody4168313275590028832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225802727,"filename":"image_03112025_21_21_23_5953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6a5f57d60c5f72c67517836da4a452d.jpg","text":"TemporaryFile(/tmp/multipartBody63747345076375300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225802727,"filename":"image_03112025_21_21_33_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/249dfd7196ed660aa48de539958ee93f.jpg","text":"TemporaryFile(/tmp/multipartBody6047880903974152365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225802727,"filename":"image_03112025_21_21_29_4154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3be050d06ac31ab9d702da193146d09.jpg","text":"TemporaryFile(/tmp/multipartBody2111629262342442019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225802727,"filename":"image_03112025_21_21_34_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12520505c00cf957eb3ee8ecb17d7054.jpg","text":"TemporaryFile(/tmp/multipartBody8309619573295339517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225802727,"filename":"image_03112025_21_21_25_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401969303","file1":"1401969268","file0":"1401969228","file4":"1401969353","file5":"1401969358","file3":"1401969342"},"map_files_photo_id_array":[{"photo_id":"1401969358","filename":"file5"},{"photo_id":"1401969303","filename":"file2"},{"photo_id":"1401969353","filename":"file4"},{"photo_id":"1401969268","filename":"file1"},{"photo_id":"1401969228","filename":"file0"},{"photo_id":"1401969342","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401969358":["hashtag1","hashtag2"]},{"1401969228":["hashtag1","hashtag2"]},{"1401969342":["hashtag1","hashtag2"]},{"1401969303":["hashtag1","hashtag2"]},{"1401969353":["hashtag1","hashtag2"]},{"1401969268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401969358, 1401969228, 1401969342, 1401969303, 1401969353, 1401969268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.01774334907532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:03:02.825310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_55_10649.jpg', '/home/pi/Desktop/images/01012026/00/47/image_01012026_00_48_05_9754.jpg', '/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_14_9903.jpg', '/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_25_10567.jpg', '/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_35_9621.jpg', '/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_44_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/47/image_01012026_00_47_55_10649.jpg
/home/pi/Desktop/images/01012026/00/47/image_01012026_00_48_05_9754.jpg
/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_14_9903.jpg
/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_25_10567.jpg
/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_35_9621.jpg
/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_44_9767.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":["1401969693","1401969485","1401969650","1401969608","1401969568","1401969526"],"photo_ids_order":["1401969485","1401969526","1401969568","1401969608","1401969650","1401969693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c64894d3184baa3cb74cc062c97d5fc.jpg","text":"TemporaryFile(/tmp/multipartBody6145624332501541303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225844182,"filename":"image_01012026_00_48_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/760e707c24c3522f0860b4ea228a8604.jpg","text":"TemporaryFile(/tmp/multipartBody2596533046456113594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225844182,"filename":"image_01012026_00_47_55_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/782dd25a785cce8cfed369f01ef392d4.jpg","text":"TemporaryFile(/tmp/multipartBody6092213297897150628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225844182,"filename":"image_01012026_00_48_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9078899c709480372d8b72d912d408fa.jpg","text":"TemporaryFile(/tmp/multipartBody4282936659307142092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225844182,"filename":"image_01012026_00_48_25_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a95d13df308149ff8337067181aeca11.jpg","text":"TemporaryFile(/tmp/multipartBody4802494107067668816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225844182,"filename":"image_01012026_00_48_14_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87e4700c0664faf28340c83f22660056.jpg","text":"TemporaryFile(/tmp/multipartBody1373903234362869478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225844182,"filename":"image_01012026_00_48_05_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401969568","file1":"1401969526","file0":"1401969485","file4":"1401969650","file5":"1401969693","file3":"1401969608"},"map_files_photo_id_array":[{"photo_id":"1401969693","filename":"file5"},{"photo_id":"1401969568","filename":"file2"},{"photo_id":"1401969650","filename":"file4"},{"photo_id":"1401969526","filename":"file1"},{"photo_id":"1401969485","filename":"file0"},{"photo_id":"1401969608","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401969693":["hashtag1","hashtag2"]},{"1401969485":["hashtag1","hashtag2"]},{"1401969650":["hashtag1","hashtag2"]},{"1401969608":["hashtag1","hashtag2"]},{"1401969568":["hashtag1","hashtag2"]},{"1401969526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401969693, 1401969485, 1401969650, 1401969608, 1401969568, 1401969526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.64149045944214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:04:02.846029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_54_9729.jpg', '/home/pi/Desktop/images/01012026/00/48/image_01012026_00_49_05_10559.jpg', '/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_14_9695.jpg', '/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_24_9759.jpg', '/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_35_10811.jpg', '/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_45_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/48/image_01012026_00_48_54_9729.jpg
/home/pi/Desktop/images/01012026/00/48/image_01012026_00_49_05_10559.jpg
/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_14_9695.jpg
/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_24_9759.jpg
/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_35_10811.jpg
/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_45_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":["1401969990","1401969984","1401969986","1401969956","1401969985","1401969988"],"photo_ids_order":["1401969956","1401969984","1401969985","1401969986","1401969988","1401969990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8999bb898bcd8d0ad3d36f7861d0fba7.jpg","text":"TemporaryFile(/tmp/multipartBody1408850919625930703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225903880,"filename":"image_01012026_00_49_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/929e6e2ce178f4484f0cc8fe16970730.jpg","text":"TemporaryFile(/tmp/multipartBody8372079159662369823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225903880,"filename":"image_01012026_00_49_05_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f803f4cdb537501f148c5757ed79c1ed.jpg","text":"TemporaryFile(/tmp/multipartBody8057536027450027251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225903880,"filename":"image_01012026_00_49_24_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/114858ea04ccd37b8ab115ea03649e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6312297202268156806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225903880,"filename":"image_01012026_00_48_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25b99678835d01373fab82d64a42fa11.jpg","text":"TemporaryFile(/tmp/multipartBody1486628601025270848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225903880,"filename":"image_01012026_00_49_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09dbd375c6ead6e1612fb9ce2511e25f.jpg","text":"TemporaryFile(/tmp/multipartBody1867720470998100982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225903880,"filename":"image_01012026_00_49_35_10811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401969985","file1":"1401969984","file0":"1401969956","file4":"1401969988","file5":"1401969990","file3":"1401969986"},"map_files_photo_id_array":[{"photo_id":"1401969990","filename":"file5"},{"photo_id":"1401969985","filename":"file2"},{"photo_id":"1401969988","filename":"file4"},{"photo_id":"1401969984","filename":"file1"},{"photo_id":"1401969956","filename":"file0"},{"photo_id":"1401969986","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401969990":["hashtag1","hashtag2"]},{"1401969984":["hashtag1","hashtag2"]},{"1401969986":["hashtag1","hashtag2"]},{"1401969956":["hashtag1","hashtag2"]},{"1401969985":["hashtag1","hashtag2"]},{"1401969988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401969990, 1401969984, 1401969986, 1401969956, 1401969985, 1401969988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.393890619277954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:04:42.257044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/21/image_03112025_21_22_00_1520.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_01_1602.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_03_1598.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_05_1730.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_06_1604.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_10_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/21/image_03112025_21_22_00_1520.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_01_1602.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_03_1598.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_05_1730.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_06_1604.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_10_1601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401970039","1401970006","1401970146","1401970073","1401970107","1401969994"],"photo_ids_order":["1401969994","1401970006","1401970039","1401970073","1401970107","1401970146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40d7446ae1e6a7e252a2a74ed4e6aa03.jpg","text":"TemporaryFile(/tmp/multipartBody4940723754511860820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225944012,"filename":"image_03112025_21_22_03_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fe10dfe1c70b076e6fa20b48d311f68.jpg","text":"TemporaryFile(/tmp/multipartBody4509051832941582204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225944012,"filename":"image_03112025_21_22_01_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/462c298b7eb3c0458918299d99e665f3.jpg","text":"TemporaryFile(/tmp/multipartBody2891931854697033875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225944012,"filename":"image_03112025_21_22_10_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b541d3a31079a8baae7ca0b43679e69f.jpg","text":"TemporaryFile(/tmp/multipartBody8058365396275757799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225944012,"filename":"image_03112025_21_22_05_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/408ff6af9a087c09b5dc57e74cbb0ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5952715597720531549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225944012,"filename":"image_03112025_21_22_06_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8019ca742da49283a719a3392b1809a.jpg","text":"TemporaryFile(/tmp/multipartBody3080278422348677433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225944012,"filename":"image_03112025_21_22_00_1520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401970039","file1":"1401970006","file0":"1401969994","file4":"1401970107","file5":"1401970146","file3":"1401970073"},"map_files_photo_id_array":[{"photo_id":"1401970146","filename":"file5"},{"photo_id":"1401970039","filename":"file2"},{"photo_id":"1401970107","filename":"file4"},{"photo_id":"1401970006","filename":"file1"},{"photo_id":"1401969994","filename":"file0"},{"photo_id":"1401970073","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401970039":["hashtag1","hashtag2"]},{"1401970006":["hashtag1","hashtag2"]},{"1401970146":["hashtag1","hashtag2"]},{"1401970073":["hashtag1","hashtag2"]},{"1401970107":["hashtag1","hashtag2"]},{"1401969994":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401970039, 1401970006, 1401970146, 1401970073, 1401970107, 1401969994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.840896129608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:05:22.478153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_54_9826.jpg', '/home/pi/Desktop/images/01012026/00/49/image_01012026_00_50_04_9688.jpg', '/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_15_10630.jpg', '/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_24_9721.jpg', '/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_35_10553.jpg', '/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_45_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/49/image_01012026_00_49_54_9826.jpg
/home/pi/Desktop/images/01012026/00/49/image_01012026_00_50_04_9688.jpg
/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_15_10630.jpg
/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_24_9721.jpg
/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_35_10553.jpg
/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_45_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":["1401970285","1401970267","1401970255","1401970210","1401970308","1401970218"],"photo_ids_order":["1401970210","1401970218","1401970255","1401970267","1401970285","1401970308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf3cf8cde0f7e7baf55269f1547ced08.jpg","text":"TemporaryFile(/tmp/multipartBody3040220867876295259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225983073,"filename":"image_01012026_00_50_35_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea18311c49e2276c4460f8d684bc0232.jpg","text":"TemporaryFile(/tmp/multipartBody8948770203964615049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225983073,"filename":"image_01012026_00_50_24_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6938c939839dbea19e2df352d696b8c8.jpg","text":"TemporaryFile(/tmp/multipartBody7649974805413566398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225983073,"filename":"image_01012026_00_50_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69724b09c8fbd09606ec6ba2c7cf32df.jpg","text":"TemporaryFile(/tmp/multipartBody5197169802263963581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225983073,"filename":"image_01012026_00_49_54_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60cc746d228f99b140dbc74b4de36b1b.jpg","text":"TemporaryFile(/tmp/multipartBody3966577594885630024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225983073,"filename":"image_01012026_00_50_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64bb60fbd429cd8dc1df98c2db828c55.jpg","text":"TemporaryFile(/tmp/multipartBody9009998697080924057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767225983073,"filename":"image_01012026_00_50_04_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401970255","file1":"1401970218","file0":"1401970210","file4":"1401970285","file5":"1401970308","file3":"1401970267"},"map_files_photo_id_array":[{"photo_id":"1401970308","filename":"file5"},{"photo_id":"1401970255","filename":"file2"},{"photo_id":"1401970285","filename":"file4"},{"photo_id":"1401970218","filename":"file1"},{"photo_id":"1401970210","filename":"file0"},{"photo_id":"1401970267","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401970285":["hashtag1","hashtag2"]},{"1401970267":["hashtag1","hashtag2"]},{"1401970255":["hashtag1","hashtag2"]},{"1401970210":["hashtag1","hashtag2"]},{"1401970308":["hashtag1","hashtag2"]},{"1401970218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401970285, 1401970267, 1401970255, 1401970210, 1401970308, 1401970218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03312635421753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:06:03.141226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_55_9965.jpg', '/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_15_10624.jpg', '/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_25_9733.jpg', '/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_34_9662.jpg', '/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_45_10772.jpg', '/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_55_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/50/image_01012026_00_50_55_9965.jpg
/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_15_10624.jpg
/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_25_9733.jpg
/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_34_9662.jpg
/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_45_10772.jpg
/home/pi/Desktop/images/01012026/00/51/image_01012026_00_51_55_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":["1401970315","1401970312","1401970311","1401970314","1401970317","1401970313"],"photo_ids_order":["1401970311","1401970312","1401970313","1401970314","1401970315","1401970317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6525f99d7052305beadc6e5ead63aa4.jpg","text":"TemporaryFile(/tmp/multipartBody232357914208795537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226023747,"filename":"image_01012026_00_51_45_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f7beff28b87d9e477e034d2cb5953fd.jpg","text":"TemporaryFile(/tmp/multipartBody9067569092851593581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226023747,"filename":"image_01012026_00_51_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e6f639c77137027dba1ff746cd119de.jpg","text":"TemporaryFile(/tmp/multipartBody8641596958830304034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226023747,"filename":"image_01012026_00_50_55_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6d50661fad434fdfaaf985a3537c8bf.jpg","text":"TemporaryFile(/tmp/multipartBody6762046305810748879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226023747,"filename":"image_01012026_00_51_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54b75e95e7ec48b78d574af823bef4c4.jpg","text":"TemporaryFile(/tmp/multipartBody5719733496404244818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226023747,"filename":"image_01012026_00_51_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8897d0d82c2e68d08d62d1e8d66ca533.jpg","text":"TemporaryFile(/tmp/multipartBody8478521253653671078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226023747,"filename":"image_01012026_00_51_25_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401970313","file1":"1401970312","file0":"1401970311","file4":"1401970315","file5":"1401970317","file3":"1401970314"},"map_files_photo_id_array":[{"photo_id":"1401970317","filename":"file5"},{"photo_id":"1401970313","filename":"file2"},{"photo_id":"1401970315","filename":"file4"},{"photo_id":"1401970312","filename":"file1"},{"photo_id":"1401970311","filename":"file0"},{"photo_id":"1401970314","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401970315":["hashtag1","hashtag2"]},{"1401970312":["hashtag1","hashtag2"]},{"1401970311":["hashtag1","hashtag2"]},{"1401970314":["hashtag1","hashtag2"]},{"1401970317":["hashtag1","hashtag2"]},{"1401970313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401970315, 1401970312, 1401970311, 1401970314, 1401970317, 1401970313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25628852844238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:06:42.751749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_12_1787.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_13_1649.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_21_1536.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_23_1597.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_26_1554.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_43_14886.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_12_1787.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_13_1649.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_21_1536.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_23_1597.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_26_1554.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_43_14886.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971038","1401970651","1401970846","1401970554","1401970755","1401970943"],"photo_ids_order":["1401970554","1401970651","1401970755","1401970846","1401970943","1401971038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/127d3bd455f97a96622c3f6743132c03.jpg","text":"TemporaryFile(/tmp/multipartBody6710951287025463770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226064494,"filename":"image_03112025_21_22_43_14886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0477ab99aac22d8d2f0a4cf863bcfce3.jpg","text":"TemporaryFile(/tmp/multipartBody541288075429421970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226064494,"filename":"image_03112025_21_22_13_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/285116e938f87edda8f4a85b1b06a7b0.jpg","text":"TemporaryFile(/tmp/multipartBody1596602393797963205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226064494,"filename":"image_03112025_21_22_23_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87d361af5cb973041f0b5c8748a841ae.jpg","text":"TemporaryFile(/tmp/multipartBody4477914635216896403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226064494,"filename":"image_03112025_21_22_12_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23b2b6da3a01e0afbd183540245f5c95.jpg","text":"TemporaryFile(/tmp/multipartBody2639330544680200164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226064494,"filename":"image_03112025_21_22_21_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9fbc09de3c57ba4422ae917d8bed7c5.jpg","text":"TemporaryFile(/tmp/multipartBody6321637698984342274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226064494,"filename":"image_03112025_21_22_26_1554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401970755","file1":"1401970651","file0":"1401970554","file4":"1401970943","file5":"1401971038","file3":"1401970846"},"map_files_photo_id_array":[{"photo_id":"1401971038","filename":"file5"},{"photo_id":"1401970755","filename":"file2"},{"photo_id":"1401970943","filename":"file4"},{"photo_id":"1401970651","filename":"file1"},{"photo_id":"1401970554","filename":"file0"},{"photo_id":"1401970846","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971038":["hashtag1","hashtag2"]},{"1401970651":["hashtag1","hashtag2"]},{"1401970846":["hashtag1","hashtag2"]},{"1401970554":["hashtag1","hashtag2"]},{"1401970755":["hashtag1","hashtag2"]},{"1401970943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971038, 1401970651, 1401970846, 1401970554, 1401970755, 1401970943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61738181114197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:07:22.010112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/51/image_01012026_00_52_04_9733.jpg', '/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_15_10609.jpg', '/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_25_9701.jpg', '/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_34_9614.jpg', '/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_45_10697.jpg', '/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_55_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/51/image_01012026_00_52_04_9733.jpg
/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_15_10609.jpg
/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_25_9701.jpg
/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_34_9614.jpg
/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_45_10697.jpg
/home/pi/Desktop/images/01012026/00/52/image_01012026_00_52_55_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":["1401971142","1401971148","1401971249","1401971150","1401971144","1401971146"],"photo_ids_order":["1401971142","1401971144","1401971146","1401971148","1401971150","1401971249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35e2534f07b7db5e4d3b4fc77558d75f.jpg","text":"TemporaryFile(/tmp/multipartBody713892265382132570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226102605,"filename":"image_01012026_00_52_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb128ff003016fe659ac84a327cb1aad.jpg","text":"TemporaryFile(/tmp/multipartBody7365578120674972492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226102605,"filename":"image_01012026_00_52_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1be3200857ee0821ff0c36b85490782c.jpg","text":"TemporaryFile(/tmp/multipartBody1086679192488426679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226102605,"filename":"image_01012026_00_52_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8ca5aa879a06b25a08e9df143fb9021.jpg","text":"TemporaryFile(/tmp/multipartBody5339485494173050342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226102605,"filename":"image_01012026_00_52_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3635ecd8fee2bb8f5646e6fab47379ac.jpg","text":"TemporaryFile(/tmp/multipartBody2277968986845078969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226102605,"filename":"image_01012026_00_52_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4df334de577e4ceb2ebea67142ae9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody2397446513598956669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226102605,"filename":"image_01012026_00_52_25_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971146","file1":"1401971144","file0":"1401971142","file4":"1401971150","file5":"1401971249","file3":"1401971148"},"map_files_photo_id_array":[{"photo_id":"1401971249","filename":"file5"},{"photo_id":"1401971146","filename":"file2"},{"photo_id":"1401971150","filename":"file4"},{"photo_id":"1401971144","filename":"file1"},{"photo_id":"1401971142","filename":"file0"},{"photo_id":"1401971148","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971142":["hashtag1","hashtag2"]},{"1401971148":["hashtag1","hashtag2"]},{"1401971249":["hashtag1","hashtag2"]},{"1401971150":["hashtag1","hashtag2"]},{"1401971144":["hashtag1","hashtag2"]},{"1401971146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971142, 1401971148, 1401971249, 1401971150, 1401971144, 1401971146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79769039154053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:08:02.600164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/52/image_01012026_00_53_05_9754.jpg', '/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_14_9678.jpg', '/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_25_10591.jpg', '/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_34_9556.jpg', '/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_44_9747.jpg', '/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_55_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/52/image_01012026_00_53_05_9754.jpg
/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_14_9678.jpg
/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_25_10591.jpg
/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_34_9556.jpg
/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_44_9747.jpg
/home/pi/Desktop/images/01012026/00/53/image_01012026_00_53_55_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":["1401971409","1401971358","1401971411","1401971408","1401971389","1401971359"],"photo_ids_order":["1401971358","1401971359","1401971389","1401971408","1401971409","1401971411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d176bac696f2a20da0760ab331107e1.jpg","text":"TemporaryFile(/tmp/multipartBody1569289056264673971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226143269,"filename":"image_01012026_00_53_44_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71ba4e6cfd74cdd51d99e0cf017701a1.jpg","text":"TemporaryFile(/tmp/multipartBody6932319747279095447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226143269,"filename":"image_01012026_00_53_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/878399ce707df96ca0967c676dd0316d.jpg","text":"TemporaryFile(/tmp/multipartBody696969273628670022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226143269,"filename":"image_01012026_00_53_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1208ad04e29a34bba51a644119a60be2.jpg","text":"TemporaryFile(/tmp/multipartBody1887329790260470235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226143269,"filename":"image_01012026_00_53_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99a5e742b383491316d6777483801eba.jpg","text":"TemporaryFile(/tmp/multipartBody2637339323875010535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226143269,"filename":"image_01012026_00_53_25_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04871261fa78bb8796c1022c276e932a.jpg","text":"TemporaryFile(/tmp/multipartBody514336581934872707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226143269,"filename":"image_01012026_00_53_14_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971389","file1":"1401971359","file0":"1401971358","file4":"1401971409","file5":"1401971411","file3":"1401971408"},"map_files_photo_id_array":[{"photo_id":"1401971411","filename":"file5"},{"photo_id":"1401971389","filename":"file2"},{"photo_id":"1401971409","filename":"file4"},{"photo_id":"1401971359","filename":"file1"},{"photo_id":"1401971358","filename":"file0"},{"photo_id":"1401971408","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971409":["hashtag1","hashtag2"]},{"1401971358":["hashtag1","hashtag2"]},{"1401971411":["hashtag1","hashtag2"]},{"1401971408":["hashtag1","hashtag2"]},{"1401971389":["hashtag1","hashtag2"]},{"1401971359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971409, 1401971358, 1401971411, 1401971408, 1401971389, 1401971359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41341161727905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:08:42.140345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_46_3002.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_54_8733.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_12_1741.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_17_1661.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_20_1625.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_22_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_46_3002.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_54_8733.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_12_1741.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_17_1661.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_20_1625.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_22_1645.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.6369972229003906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:09:02.943859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/53/image_01012026_00_54_04_9638.jpg', '/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_14_9796.jpg', '/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_25_10671.jpg', '/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_35_9640.jpg', '/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_44_9622.jpg', '/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_55_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/53/image_01012026_00_54_04_9638.jpg
/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_14_9796.jpg
/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_25_10671.jpg
/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_35_9640.jpg
/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_44_9622.jpg
/home/pi/Desktop/images/01012026/00/54/image_01012026_00_54_55_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971425","1401971428","1401971427","1401971430","1401971424","1401971426"],"photo_ids_order":["1401971424","1401971425","1401971426","1401971427","1401971428","1401971430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62afa9b3345c110d1ece2be143e845e7.jpg","text":"TemporaryFile(/tmp/multipartBody7506781595482022434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226203691,"filename":"image_01012026_00_54_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9672778d3bb35b2757c1ccf75ba67d07.jpg","text":"TemporaryFile(/tmp/multipartBody8206720422995540815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226203691,"filename":"image_01012026_00_54_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a4104a97b42fc6a87abc5f7e7745565.jpg","text":"TemporaryFile(/tmp/multipartBody5422026885243643961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226203691,"filename":"image_01012026_00_54_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/132dea6ad58c39039b10cb118659f8eb.jpg","text":"TemporaryFile(/tmp/multipartBody222357553212989979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226203691,"filename":"image_01012026_00_54_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1971396ae774bb2a4330ac3359c2468b.jpg","text":"TemporaryFile(/tmp/multipartBody3316266472443613901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226203691,"filename":"image_01012026_00_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/2026/1/1/0061252fb88e88397da949ae1081395f.jpg","text":"TemporaryFile(/tmp/multipartBody4881475657080540698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226203691,"filename":"image_01012026_00_54_25_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971426","file1":"1401971425","file0":"1401971424","file4":"1401971428","file5":"1401971430","file3":"1401971427"},"map_files_photo_id_array":[{"photo_id":"1401971430","filename":"file5"},{"photo_id":"1401971426","filename":"file2"},{"photo_id":"1401971428","filename":"file4"},{"photo_id":"1401971425","filename":"file1"},{"photo_id":"1401971424","filename":"file0"},{"photo_id":"1401971427","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971425":["hashtag1","hashtag2"]},{"1401971428":["hashtag1","hashtag2"]},{"1401971427":["hashtag1","hashtag2"]},{"1401971430":["hashtag1","hashtag2"]},{"1401971424":["hashtag1","hashtag2"]},{"1401971426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971425, 1401971428, 1401971427, 1401971430, 1401971424, 1401971426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.911704301834106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:09:42.254603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_46_3002.jpg', '/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_54_8733.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_12_1741.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_17_1661.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_20_1625.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_22_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_46_3002.jpg
/home/pi/Desktop/images/03112025/21/22/image_03112025_21_22_54_8733.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_12_1741.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_17_1661.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_20_1625.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_22_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971439","1401971438","1401971441","1401971435","1401971440","1401971437"],"photo_ids_order":["1401971435","1401971437","1401971438","1401971439","1401971440","1401971441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fac9a0ef042e5508ed7932669f552471.jpg","text":"TemporaryFile(/tmp/multipartBody8403157405771145076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226243886,"filename":"image_03112025_21_23_17_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93abfc004f75e3790c6fdddcfe0710ba.jpg","text":"TemporaryFile(/tmp/multipartBody808352875604519574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226243886,"filename":"image_03112025_21_23_12_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/894e9c8e462ae85b24baec557499d600.jpg","text":"TemporaryFile(/tmp/multipartBody3024636492841469588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226243886,"filename":"image_03112025_21_23_22_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52cc32540473ff507134283e9a6fc075.jpg","text":"TemporaryFile(/tmp/multipartBody5624359004040617825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226243886,"filename":"image_03112025_21_22_46_3002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d372a7be1e0d1f96930f410c1f51bbaf.jpg","text":"TemporaryFile(/tmp/multipartBody5220498731914378681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226243886,"filename":"image_03112025_21_23_20_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dad05735dfbceae916eb0267d398f310.jpg","text":"TemporaryFile(/tmp/multipartBody1486246581222243530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226243886,"filename":"image_03112025_21_22_54_8733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971438","file1":"1401971437","file0":"1401971435","file4":"1401971440","file5":"1401971441","file3":"1401971439"},"map_files_photo_id_array":[{"photo_id":"1401971441","filename":"file5"},{"photo_id":"1401971438","filename":"file2"},{"photo_id":"1401971440","filename":"file4"},{"photo_id":"1401971437","filename":"file1"},{"photo_id":"1401971435","filename":"file0"},{"photo_id":"1401971439","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971439":["hashtag1","hashtag2"]},{"1401971438":["hashtag1","hashtag2"]},{"1401971441":["hashtag1","hashtag2"]},{"1401971435":["hashtag1","hashtag2"]},{"1401971440":["hashtag1","hashtag2"]},{"1401971437":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971439, 1401971438, 1401971441, 1401971435, 1401971440, 1401971437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04982376098633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:10:22.471020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/54/image_01012026_00_55_05_9726.jpg', '/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_14_9618.jpg', '/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_25_10892.jpg', '/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_35_9786.jpg', '/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_44_9651.jpg', '/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_54_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/54/image_01012026_00_55_05_9726.jpg
/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_14_9618.jpg
/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_25_10892.jpg
/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_35_9786.jpg
/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_44_9651.jpg
/home/pi/Desktop/images/01012026/00/55/image_01012026_00_55_54_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":["1401971452","1401971446","1401971448","1401971442","1401971450","1401971444"],"photo_ids_order":["1401971442","1401971444","1401971446","1401971448","1401971450","1401971452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/020ff0e3a8ae0fde9704433018010fd9.jpg","text":"TemporaryFile(/tmp/multipartBody2156077378649967392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226283067,"filename":"image_01012026_00_55_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01b4c4822b23ba6970b3cb78279aaefc.jpg","text":"TemporaryFile(/tmp/multipartBody3577248987569136172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226283067,"filename":"image_01012026_00_55_25_10892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f08f6f0c273f1747a0ce1bf9c9e33319.jpg","text":"TemporaryFile(/tmp/multipartBody627198232951607803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226283067,"filename":"image_01012026_00_55_35_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79b1801cb076b50d2bd880033dd8e59f.jpg","text":"TemporaryFile(/tmp/multipartBody703358464986922326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226283067,"filename":"image_01012026_00_55_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4fe8dc0f0adf2138aa8787066edee7c4.jpg","text":"TemporaryFile(/tmp/multipartBody3659478684624210399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226283067,"filename":"image_01012026_00_55_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c651a8bec516aa363665428448fd5463.jpg","text":"TemporaryFile(/tmp/multipartBody1185974256244419991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226283067,"filename":"image_01012026_00_55_14_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971446","file1":"1401971444","file0":"1401971442","file4":"1401971450","file5":"1401971452","file3":"1401971448"},"map_files_photo_id_array":[{"photo_id":"1401971452","filename":"file5"},{"photo_id":"1401971446","filename":"file2"},{"photo_id":"1401971450","filename":"file4"},{"photo_id":"1401971444","filename":"file1"},{"photo_id":"1401971442","filename":"file0"},{"photo_id":"1401971448","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971452":["hashtag1","hashtag2"]},{"1401971446":["hashtag1","hashtag2"]},{"1401971448":["hashtag1","hashtag2"]},{"1401971442":["hashtag1","hashtag2"]},{"1401971450":["hashtag1","hashtag2"]},{"1401971444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971452, 1401971446, 1401971448, 1401971442, 1401971450, 1401971444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.530728578567505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:11:03.306750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/55/image_01012026_00_56_05_10596.jpg', '/home/pi/Desktop/images/01012026/00/56/image_01012026_00_56_34_9912.jpg', '/home/pi/Desktop/images/01012026/00/56/image_01012026_00_56_45_10814.jpg', '/home/pi/Desktop/images/01012026/00/56/image_01012026_00_56_55_9937.jpg', '/home/pi/Desktop/images/01012026/00/56/image_01012026_00_57_05_9766.jpg', '/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_15_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/55/image_01012026_00_56_05_10596.jpg
/home/pi/Desktop/images/01012026/00/56/image_01012026_00_56_34_9912.jpg
/home/pi/Desktop/images/01012026/00/56/image_01012026_00_56_45_10814.jpg
/home/pi/Desktop/images/01012026/00/56/image_01012026_00_56_55_9937.jpg
/home/pi/Desktop/images/01012026/00/56/image_01012026_00_57_05_9766.jpg
/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_15_9889.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971460","1401971454","1401971457","1401971456","1401971455","1401971458"],"photo_ids_order":["1401971454","1401971455","1401971456","1401971457","1401971458","1401971460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f96351016dbaf39928bcc6665f3bf4ca.jpg","text":"TemporaryFile(/tmp/multipartBody1805724411377632314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226323947,"filename":"image_01012026_00_57_15_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e1b0891832cf2d4622ec8d5f95cfb05.jpg","text":"TemporaryFile(/tmp/multipartBody7042190568767832137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226323947,"filename":"image_01012026_00_56_05_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a50f4d1fae02722139a8ec0340add24.jpg","text":"TemporaryFile(/tmp/multipartBody8970595283095025471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226323947,"filename":"image_01012026_00_56_55_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c3dc917401804612d199145020991ee.jpg","text":"TemporaryFile(/tmp/multipartBody1389806420806786795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226323947,"filename":"image_01012026_00_56_45_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f3802b75bcb4534828f8122449e1500.jpg","text":"TemporaryFile(/tmp/multipartBody461623185488527333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226323947,"filename":"image_01012026_00_56_34_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cfcdb349bf2c1ed4b9a47f427aa448f.jpg","text":"TemporaryFile(/tmp/multipartBody1340353662440241373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226323947,"filename":"image_01012026_00_57_05_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971456","file1":"1401971455","file0":"1401971454","file4":"1401971458","file5":"1401971460","file3":"1401971457"},"map_files_photo_id_array":[{"photo_id":"1401971460","filename":"file5"},{"photo_id":"1401971456","filename":"file2"},{"photo_id":"1401971458","filename":"file4"},{"photo_id":"1401971455","filename":"file1"},{"photo_id":"1401971454","filename":"file0"},{"photo_id":"1401971457","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971460":["hashtag1","hashtag2"]},{"1401971454":["hashtag1","hashtag2"]},{"1401971457":["hashtag1","hashtag2"]},{"1401971456":["hashtag1","hashtag2"]},{"1401971455":["hashtag1","hashtag2"]},{"1401971458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971460, 1401971454, 1401971457, 1401971456, 1401971455, 1401971458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51991152763367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:11:42.637274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_23_1738.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_25_1800.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_27_1615.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_29_1763.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_32_1648.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_35_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_23_1738.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_25_1800.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_27_1615.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_29_1763.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_32_1648.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_35_1589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971472","1401971469","1401971471","1401971468","1401971473","1401971470"],"photo_ids_order":["1401971468","1401971469","1401971470","1401971471","1401971472","1401971473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f0af386c2f025849ff964ad3dd3cced.jpg","text":"TemporaryFile(/tmp/multipartBody3544632807287286199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226364412,"filename":"image_03112025_21_23_32_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d74ccf2241d4e5eacd5590ee528bbf94.jpg","text":"TemporaryFile(/tmp/multipartBody5979781122234647466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226364412,"filename":"image_03112025_21_23_25_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc126f3baa655e1beebdd12860b497ba.jpg","text":"TemporaryFile(/tmp/multipartBody8406232432480236494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226364412,"filename":"image_03112025_21_23_29_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8894f0e2dc34a5f57b5f39018a75f0f6.jpg","text":"TemporaryFile(/tmp/multipartBody2005204774309618769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226364412,"filename":"image_03112025_21_23_23_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00a5326d8f2cdda70625d958a71ff219.jpg","text":"TemporaryFile(/tmp/multipartBody5555123349642986819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226364412,"filename":"image_03112025_21_23_35_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d529d3f1f9d3e7ee5d8ef6d1d7fceaa.jpg","text":"TemporaryFile(/tmp/multipartBody1102465301490637334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226364412,"filename":"image_03112025_21_23_27_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971470","file1":"1401971469","file0":"1401971468","file4":"1401971472","file5":"1401971473","file3":"1401971471"},"map_files_photo_id_array":[{"photo_id":"1401971473","filename":"file5"},{"photo_id":"1401971470","filename":"file2"},{"photo_id":"1401971472","filename":"file4"},{"photo_id":"1401971469","filename":"file1"},{"photo_id":"1401971468","filename":"file0"},{"photo_id":"1401971471","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971472":["hashtag1","hashtag2"]},{"1401971469":["hashtag1","hashtag2"]},{"1401971471":["hashtag1","hashtag2"]},{"1401971468":["hashtag1","hashtag2"]},{"1401971473":["hashtag1","hashtag2"]},{"1401971470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971472, 1401971469, 1401971471, 1401971468, 1401971473, 1401971470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45143365859985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:12:22.784594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_24_9807.jpg', '/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_35_10628.jpg', '/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_45_9768.jpg', '/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_54_9627.jpg', '/home/pi/Desktop/images/01012026/00/57/image_01012026_00_58_05_10705.jpg', '/home/pi/Desktop/images/01012026/00/58/image_01012026_00_58_25_9913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_24_9807.jpg
/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_35_10628.jpg
/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_45_9768.jpg
/home/pi/Desktop/images/01012026/00/57/image_01012026_00_57_54_9627.jpg
/home/pi/Desktop/images/01012026/00/57/image_01012026_00_58_05_10705.jpg
/home/pi/Desktop/images/01012026/00/58/image_01012026_00_58_25_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":["1401971481","1401971475","1401971483","1401971477","1401971485","1401971479"],"photo_ids_order":["1401971475","1401971477","1401971479","1401971481","1401971483","1401971485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d0a2eb10e17bf765beee0c67979f429.jpg","text":"TemporaryFile(/tmp/multipartBody5372181556005679220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226404639,"filename":"image_01012026_00_57_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77128ff883902d5b4f3ef6a5aad18de7.jpg","text":"TemporaryFile(/tmp/multipartBody6567214674215007549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226404639,"filename":"image_01012026_00_57_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/387fc8dbf54085199f74b5a0fb22a588.jpg","text":"TemporaryFile(/tmp/multipartBody3773507640171193208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226404639,"filename":"image_01012026_00_58_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab721c8785ac9803d82bc9bf0fb4a34e.jpg","text":"TemporaryFile(/tmp/multipartBody4821496744403972862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226404639,"filename":"image_01012026_00_57_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b9b545844f1e5b7b1ecf4c7deccfee6.jpg","text":"TemporaryFile(/tmp/multipartBody8759739275105322746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226404639,"filename":"image_01012026_00_58_25_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b88978daad3e1753f4ec2b41f647eeec.jpg","text":"TemporaryFile(/tmp/multipartBody8514529212970606206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226404639,"filename":"image_01012026_00_57_45_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971479","file1":"1401971477","file0":"1401971475","file4":"1401971483","file5":"1401971485","file3":"1401971481"},"map_files_photo_id_array":[{"photo_id":"1401971485","filename":"file5"},{"photo_id":"1401971479","filename":"file2"},{"photo_id":"1401971483","filename":"file4"},{"photo_id":"1401971477","filename":"file1"},{"photo_id":"1401971475","filename":"file0"},{"photo_id":"1401971481","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971481":["hashtag1","hashtag2"]},{"1401971475":["hashtag1","hashtag2"]},{"1401971483":["hashtag1","hashtag2"]},{"1401971477":["hashtag1","hashtag2"]},{"1401971485":["hashtag1","hashtag2"]},{"1401971479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971481, 1401971475, 1401971483, 1401971477, 1401971485, 1401971479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.52835178375244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:13:11.966412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_37_1607.jpg', '/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_59_22560.jpg', '/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_23_23306.jpg', '/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_24_1667.jpg', '/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_26_1650.jpg', '/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_31_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_37_1607.jpg
/home/pi/Desktop/images/03112025/21/23/image_03112025_21_23_59_22560.jpg
/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_23_23306.jpg
/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_24_1667.jpg
/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_26_1650.jpg
/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_31_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971493","1401971487","1401971495","1401971489","1401971486","1401971491"],"photo_ids_order":["1401971486","1401971487","1401971489","1401971491","1401971493","1401971495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82df302cbda612e72c8b69d0ca4b6a69.jpg","text":"TemporaryFile(/tmp/multipartBody3258983852946800891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226454369,"filename":"image_03112025_21_24_26_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ca842c634ff8abc5c1985c6be17d6f9.jpg","text":"TemporaryFile(/tmp/multipartBody6779948166391149612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226454369,"filename":"image_03112025_21_23_59_22560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f869a995e3fd25ba9fe1c33b163bfa62.jpg","text":"TemporaryFile(/tmp/multipartBody4136065720041776749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226454369,"filename":"image_03112025_21_24_31_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/602bde6b82f63f245872661a435ac151.jpg","text":"TemporaryFile(/tmp/multipartBody1325532798400341050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226454369,"filename":"image_03112025_21_24_23_23306.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebf51b8d005b74c81622fe0061e20e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7063364223262315189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226454369,"filename":"image_03112025_21_23_37_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9197b3280c29c78243ada8f64faefea.jpg","text":"TemporaryFile(/tmp/multipartBody771974580198981963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226454369,"filename":"image_03112025_21_24_24_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971489","file1":"1401971487","file0":"1401971486","file4":"1401971493","file5":"1401971495","file3":"1401971491"},"map_files_photo_id_array":[{"photo_id":"1401971495","filename":"file5"},{"photo_id":"1401971489","filename":"file2"},{"photo_id":"1401971493","filename":"file4"},{"photo_id":"1401971487","filename":"file1"},{"photo_id":"1401971486","filename":"file0"},{"photo_id":"1401971491","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971493":["hashtag1","hashtag2"]},{"1401971487":["hashtag1","hashtag2"]},{"1401971495":["hashtag1","hashtag2"]},{"1401971489":["hashtag1","hashtag2"]},{"1401971486":["hashtag1","hashtag2"]},{"1401971491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971493, 1401971487, 1401971495, 1401971489, 1401971486, 1401971491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.308878660202026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:14:03.033087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/58/image_01012026_00_58_35_9804.jpg', '/home/pi/Desktop/images/01012026/00/58/image_01012026_00_58_44_9657.jpg', '/home/pi/Desktop/images/01012026/00/58/image_01012026_00_58_55_10561.jpg', '/home/pi/Desktop/images/01012026/00/58/image_01012026_00_59_05_9671.jpg', '/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_14_9737.jpg', '/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_25_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/58/image_01012026_00_58_35_9804.jpg
/home/pi/Desktop/images/01012026/00/58/image_01012026_00_58_44_9657.jpg
/home/pi/Desktop/images/01012026/00/58/image_01012026_00_58_55_10561.jpg
/home/pi/Desktop/images/01012026/00/58/image_01012026_00_59_05_9671.jpg
/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_14_9737.jpg
/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_25_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971500","1401971499","1401971502","1401971505","1401971501","1401971497"],"photo_ids_order":["1401971497","1401971499","1401971500","1401971501","1401971502","1401971505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c534992ca3edb0ac3cb7052d8d74be90.jpg","text":"TemporaryFile(/tmp/multipartBody2182810867963481793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226503898,"filename":"image_01012026_00_58_55_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f02d85fcaea87e29b744eb4846acbb8.jpg","text":"TemporaryFile(/tmp/multipartBody2327501743662895498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226503898,"filename":"image_01012026_00_58_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d18829c1f992767de3fed4135b2a126d.jpg","text":"TemporaryFile(/tmp/multipartBody6881148597854448273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226503898,"filename":"image_01012026_00_59_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a586a2345d054c75dbfb889d7f6abf7.jpg","text":"TemporaryFile(/tmp/multipartBody9071390710770339597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226503898,"filename":"image_01012026_00_59_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3051b81d2f1392957e8e1d5e980807dc.jpg","text":"TemporaryFile(/tmp/multipartBody1410996762848765598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226503898,"filename":"image_01012026_00_59_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0dd0807c5ebcc97b3e71caa240976ca.jpg","text":"TemporaryFile(/tmp/multipartBody6112320850014144611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226503898,"filename":"image_01012026_00_58_35_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971500","file1":"1401971499","file0":"1401971497","file4":"1401971502","file5":"1401971505","file3":"1401971501"},"map_files_photo_id_array":[{"photo_id":"1401971505","filename":"file5"},{"photo_id":"1401971500","filename":"file2"},{"photo_id":"1401971502","filename":"file4"},{"photo_id":"1401971499","filename":"file1"},{"photo_id":"1401971497","filename":"file0"},{"photo_id":"1401971501","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971500":["hashtag1","hashtag2"]},{"1401971499":["hashtag1","hashtag2"]},{"1401971502":["hashtag1","hashtag2"]},{"1401971505":["hashtag1","hashtag2"]},{"1401971501":["hashtag1","hashtag2"]},{"1401971497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971500, 1401971499, 1401971502, 1401971505, 1401971501, 1401971497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39923453330994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:14:42.449954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_41_9064.jpg', '/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_43_1667.jpg', '/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_50_1645.jpg', '/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_23_4399.jpg', '/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_24_1611.jpg', '/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_46_6296.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_41_9064.jpg
/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_43_1667.jpg
/home/pi/Desktop/images/03112025/21/24/image_03112025_21_24_50_1645.jpg
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_23_4399.jpg
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_24_1611.jpg
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_46_6296.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971518","1401971512","1401971515","1401971520","1401971517","1401971516"],"photo_ids_order":["1401971512","1401971515","1401971516","1401971517","1401971518","1401971520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b84a0b51fe8b3ad5b64fb680821201f.jpg","text":"TemporaryFile(/tmp/multipartBody7623059122653020434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226544249,"filename":"image_03112025_21_26_24_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab0ccadd9ae2ca7c9db6b8ad76043f36.jpg","text":"TemporaryFile(/tmp/multipartBody9156699434526335082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226544249,"filename":"image_03112025_21_24_41_9064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71aaca4523d361c1ee4bfd9c56a0476e.jpg","text":"TemporaryFile(/tmp/multipartBody1948484453972083381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226544249,"filename":"image_03112025_21_24_43_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7952b831d3617725844b3c4d7347bbc6.jpg","text":"TemporaryFile(/tmp/multipartBody3444860423508491414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226544249,"filename":"image_03112025_21_26_46_6296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/598ba7e45d29176751b06907a3e02675.jpg","text":"TemporaryFile(/tmp/multipartBody1633032444501313084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226544249,"filename":"image_03112025_21_26_23_4399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ac8d0d47a9d1a88579573caf4dfef47.jpg","text":"TemporaryFile(/tmp/multipartBody8470091447084670341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226544249,"filename":"image_03112025_21_24_50_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971516","file1":"1401971515","file0":"1401971512","file4":"1401971518","file5":"1401971520","file3":"1401971517"},"map_files_photo_id_array":[{"photo_id":"1401971520","filename":"file5"},{"photo_id":"1401971516","filename":"file2"},{"photo_id":"1401971518","filename":"file4"},{"photo_id":"1401971515","filename":"file1"},{"photo_id":"1401971512","filename":"file0"},{"photo_id":"1401971517","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971518":["hashtag1","hashtag2"]},{"1401971512":["hashtag1","hashtag2"]},{"1401971515":["hashtag1","hashtag2"]},{"1401971520":["hashtag1","hashtag2"]},{"1401971517":["hashtag1","hashtag2"]},{"1401971516":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971518, 1401971512, 1401971515, 1401971520, 1401971517, 1401971516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68060612678528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:15:22.633786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_35_9573.jpg', '/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_44_9781.jpg', '/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_54_9725.jpg', '/home/pi/Desktop/images/01012026/00/59/image_01012026_01_00_05_10611.jpg', '/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_14_9704.jpg', '/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_24_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_35_9573.jpg
/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_44_9781.jpg
/home/pi/Desktop/images/01012026/00/59/image_01012026_00_59_54_9725.jpg
/home/pi/Desktop/images/01012026/00/59/image_01012026_01_00_05_10611.jpg
/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_14_9704.jpg
/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_24_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":["1401971530","1401971526","1401971523","1401971531","1401971525","1401971528"],"photo_ids_order":["1401971523","1401971525","1401971526","1401971528","1401971530","1401971531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bac85a3503e2ee3a1e2eebcb1cfa2672.jpg","text":"TemporaryFile(/tmp/multipartBody3085305481826475878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226583227,"filename":"image_01012026_01_00_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41b08341546004b88920b74560df8523.jpg","text":"TemporaryFile(/tmp/multipartBody2066039764500135007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226583227,"filename":"image_01012026_00_59_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edf315fcb312d312d52d2d624a17701c.jpg","text":"TemporaryFile(/tmp/multipartBody4082729809796290407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226583227,"filename":"image_01012026_00_59_35_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3a45b42f6a3662a9ee63efa538ad45d.jpg","text":"TemporaryFile(/tmp/multipartBody8502969486721974350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226583227,"filename":"image_01012026_01_00_24_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e123c2b9e6ad3880e9260de6739a3bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6180756199284584601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226583227,"filename":"image_01012026_00_59_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/895a3cffbec8dac586865c97659130b7.jpg","text":"TemporaryFile(/tmp/multipartBody8041947198940851375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226583227,"filename":"image_01012026_01_00_05_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971526","file1":"1401971525","file0":"1401971523","file4":"1401971530","file5":"1401971531","file3":"1401971528"},"map_files_photo_id_array":[{"photo_id":"1401971531","filename":"file5"},{"photo_id":"1401971526","filename":"file2"},{"photo_id":"1401971530","filename":"file4"},{"photo_id":"1401971525","filename":"file1"},{"photo_id":"1401971523","filename":"file0"},{"photo_id":"1401971528","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971530":["hashtag1","hashtag2"]},{"1401971526":["hashtag1","hashtag2"]},{"1401971523":["hashtag1","hashtag2"]},{"1401971531":["hashtag1","hashtag2"]},{"1401971525":["hashtag1","hashtag2"]},{"1401971528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971530, 1401971526, 1401971523, 1401971531, 1401971525, 1401971528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.193477392196655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:16:03.172543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_35_10656.jpg', '/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_44_9675.jpg', '/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_54_9763.jpg', '/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_05_10618.jpg', '/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_15_9640.jpg', '/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_24_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_35_10656.jpg
/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_44_9675.jpg
/home/pi/Desktop/images/01012026/01/00/image_01012026_01_00_54_9763.jpg
/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_05_10618.jpg
/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_15_9640.jpg
/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_24_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":["1401971533","1401971532","1401971535","1401971538","1401971534","1401971536"],"photo_ids_order":["1401971532","1401971533","1401971534","1401971535","1401971536","1401971538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4837dc86a44e2ec476c8decbb126e8b2.jpg","text":"TemporaryFile(/tmp/multipartBody2530882150772154892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226623786,"filename":"image_01012026_01_00_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0c87deee460667d33c88f391aea9b66.jpg","text":"TemporaryFile(/tmp/multipartBody5108057169215949019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226623786,"filename":"image_01012026_01_00_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd3dd89501e263cc1b510ea399a3a7f6.jpg","text":"TemporaryFile(/tmp/multipartBody4146946262858709084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226623786,"filename":"image_01012026_01_01_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ed34c52bab23018634f7762e1231572.jpg","text":"TemporaryFile(/tmp/multipartBody3166746795004526783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226623786,"filename":"image_01012026_01_01_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0459158b70348ce157d1cf563c4594a9.jpg","text":"TemporaryFile(/tmp/multipartBody8913458902777473570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226623786,"filename":"image_01012026_01_00_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bba5f316ba8f365b385aca5711fd544d.jpg","text":"TemporaryFile(/tmp/multipartBody3650140163889012779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226623786,"filename":"image_01012026_01_01_15_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971534","file1":"1401971533","file0":"1401971532","file4":"1401971536","file5":"1401971538","file3":"1401971535"},"map_files_photo_id_array":[{"photo_id":"1401971538","filename":"file5"},{"photo_id":"1401971534","filename":"file2"},{"photo_id":"1401971536","filename":"file4"},{"photo_id":"1401971533","filename":"file1"},{"photo_id":"1401971532","filename":"file0"},{"photo_id":"1401971535","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971533":["hashtag1","hashtag2"]},{"1401971532":["hashtag1","hashtag2"]},{"1401971535":["hashtag1","hashtag2"]},{"1401971538":["hashtag1","hashtag2"]},{"1401971534":["hashtag1","hashtag2"]},{"1401971536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971533, 1401971532, 1401971535, 1401971538, 1401971534, 1401971536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.188093423843384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:16:42.897229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_52_6136.jpg', '/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_54_1580.jpg', '/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_59_1524.jpg', '/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_19_1766.jpg', '/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_37_5869.jpg', '/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_48_1877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_52_6136.jpg
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_54_1580.jpg
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_59_1524.jpg
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_19_1766.jpg
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_37_5869.jpg
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_48_1877.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.7145321369171143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:17:02.668278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_35_10597.jpg', '/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_44_9716.jpg', '/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_14_9565.jpg', '/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_24_9745.jpg', '/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_35_10632.jpg', '/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_45_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_35_10597.jpg
/home/pi/Desktop/images/01012026/01/01/image_01012026_01_01_44_9716.jpg
/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_14_9565.jpg
/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_24_9745.jpg
/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_35_10632.jpg
/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_45_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":["1401971551","1401971550","1401971552","1401971549","1401971554","1401971548"],"photo_ids_order":["1401971548","1401971549","1401971550","1401971551","1401971552","1401971554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/039883ae5441ee27abd172f4ff53807d.jpg","text":"TemporaryFile(/tmp/multipartBody637191028754719580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226683347,"filename":"image_01012026_01_02_24_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cac0c23dfb3c34ece613b6c808e237fb.jpg","text":"TemporaryFile(/tmp/multipartBody9145084631966356495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226683347,"filename":"image_01012026_01_02_14_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dc0264486fbb139874be4f2a4c00145.jpg","text":"TemporaryFile(/tmp/multipartBody5420591833506986999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226683347,"filename":"image_01012026_01_02_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f458e0f0353e1d62f5e41d2421c260c.jpg","text":"TemporaryFile(/tmp/multipartBody3021510744754884036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226683347,"filename":"image_01012026_01_01_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cac4cd55898ea0b1df497c604323f8fb.jpg","text":"TemporaryFile(/tmp/multipartBody6880813940477905515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226683347,"filename":"image_01012026_01_02_45_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/197ea402cabf0a6efab541a5e6d5fcf1.jpg","text":"TemporaryFile(/tmp/multipartBody1844787771359828183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226683347,"filename":"image_01012026_01_01_35_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971550","file1":"1401971549","file0":"1401971548","file4":"1401971552","file5":"1401971554","file3":"1401971551"},"map_files_photo_id_array":[{"photo_id":"1401971554","filename":"file5"},{"photo_id":"1401971550","filename":"file2"},{"photo_id":"1401971552","filename":"file4"},{"photo_id":"1401971549","filename":"file1"},{"photo_id":"1401971548","filename":"file0"},{"photo_id":"1401971551","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971551":["hashtag1","hashtag2"]},{"1401971550":["hashtag1","hashtag2"]},{"1401971552":["hashtag1","hashtag2"]},{"1401971549":["hashtag1","hashtag2"]},{"1401971554":["hashtag1","hashtag2"]},{"1401971548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971551, 1401971550, 1401971552, 1401971549, 1401971554, 1401971548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6532998085022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:17:42.138133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_52_6136.jpg', '/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_54_1580.jpg', '/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_59_1524.jpg', '/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_19_1766.jpg', '/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_37_5869.jpg', '/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_48_1877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_52_6136.jpg
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_54_1580.jpg
/home/pi/Desktop/images/03112025/21/26/image_03112025_21_26_59_1524.jpg
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_19_1766.jpg
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_37_5869.jpg
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_48_1877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971562","1401971565","1401971561","1401971564","1401971566","1401971563"],"photo_ids_order":["1401971561","1401971562","1401971563","1401971564","1401971565","1401971566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/417e1443303d4e9ca20cf4c35cf97863.jpg","text":"TemporaryFile(/tmp/multipartBody6348591862674569263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226723773,"filename":"image_03112025_21_26_54_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/373abd801016ee23dd4f3e546519263f.jpg","text":"TemporaryFile(/tmp/multipartBody8174093711269389025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226723773,"filename":"image_03112025_21_27_37_5869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d57aec3cc650844f2ccf98242d8903d1.jpg","text":"TemporaryFile(/tmp/multipartBody3132558127873847623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226723773,"filename":"image_03112025_21_26_52_6136.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/806d914ebabe97d4d74e19898f0b33f6.jpg","text":"TemporaryFile(/tmp/multipartBody4326080058209386119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226723773,"filename":"image_03112025_21_27_19_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f62e4dfbccdadf5460af658b7056d97c.jpg","text":"TemporaryFile(/tmp/multipartBody8106600309559750828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226723773,"filename":"image_03112025_21_27_48_1877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62c99b40db82db55b67766d97bab4ea7.jpg","text":"TemporaryFile(/tmp/multipartBody7340365408636641547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226723773,"filename":"image_03112025_21_26_59_1524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971563","file1":"1401971562","file0":"1401971561","file4":"1401971565","file5":"1401971566","file3":"1401971564"},"map_files_photo_id_array":[{"photo_id":"1401971566","filename":"file5"},{"photo_id":"1401971563","filename":"file2"},{"photo_id":"1401971565","filename":"file4"},{"photo_id":"1401971562","filename":"file1"},{"photo_id":"1401971561","filename":"file0"},{"photo_id":"1401971564","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971562":["hashtag1","hashtag2"]},{"1401971565":["hashtag1","hashtag2"]},{"1401971561":["hashtag1","hashtag2"]},{"1401971564":["hashtag1","hashtag2"]},{"1401971566":["hashtag1","hashtag2"]},{"1401971563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971562, 1401971565, 1401971561, 1401971564, 1401971566, 1401971563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61169910430908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:18:22.218047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_54_9619.jpg', '/home/pi/Desktop/images/01012026/01/02/image_01012026_01_03_05_10811.jpg', '/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_15_9452.jpg', '/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_24_9800.jpg', '/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_35_10706.jpg', '/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_45_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/02/image_01012026_01_02_54_9619.jpg
/home/pi/Desktop/images/01012026/01/02/image_01012026_01_03_05_10811.jpg
/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_15_9452.jpg
/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_24_9800.jpg
/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_35_10706.jpg
/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_45_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971577","1401971571","1401971573","1401971567","1401971575","1401971569"],"photo_ids_order":["1401971567","1401971569","1401971571","1401971573","1401971575","1401971577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/506d9ad5c0ecd067b7ce73619247d0ed.jpg","text":"TemporaryFile(/tmp/multipartBody3143374691448442200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226762780,"filename":"image_01012026_01_03_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d5a567dacb72a5fc77643e4495e78a7.jpg","text":"TemporaryFile(/tmp/multipartBody6622824577433633440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226762780,"filename":"image_01012026_01_03_15_9452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6613ab4dffb4a406eeaddda1229376a3.jpg","text":"TemporaryFile(/tmp/multipartBody6017013729406410675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226762780,"filename":"image_01012026_01_03_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28ccbcdc612236d59fcc9d0bcc5336f5.jpg","text":"TemporaryFile(/tmp/multipartBody167567690883984366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226762780,"filename":"image_01012026_01_02_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/164131b35011d9b5d38eb46eb0af5053.jpg","text":"TemporaryFile(/tmp/multipartBody733710206296804508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226762780,"filename":"image_01012026_01_03_35_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4607761034717ab208652b99b35a015f.jpg","text":"TemporaryFile(/tmp/multipartBody2397566925513098602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226762780,"filename":"image_01012026_01_03_05_10811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971571","file1":"1401971569","file0":"1401971567","file4":"1401971575","file5":"1401971577","file3":"1401971573"},"map_files_photo_id_array":[{"photo_id":"1401971577","filename":"file5"},{"photo_id":"1401971571","filename":"file2"},{"photo_id":"1401971575","filename":"file4"},{"photo_id":"1401971569","filename":"file1"},{"photo_id":"1401971567","filename":"file0"},{"photo_id":"1401971573","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971577":["hashtag1","hashtag2"]},{"1401971571":["hashtag1","hashtag2"]},{"1401971573":["hashtag1","hashtag2"]},{"1401971567":["hashtag1","hashtag2"]},{"1401971575":["hashtag1","hashtag2"]},{"1401971569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971577, 1401971571, 1401971573, 1401971567, 1401971575, 1401971569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88137865066528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:19:03.552926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_54_9749.jpg', '/home/pi/Desktop/images/01012026/01/03/image_01012026_01_04_05_10629.jpg', '/home/pi/Desktop/images/01012026/01/04/image_01012026_01_04_15_9635.jpg', '/home/pi/Desktop/images/01012026/01/04/image_01012026_01_04_25_9900.jpg', '/home/pi/Desktop/images/01012026/01/04/image_01012026_01_04_45_10566.jpg', '/home/pi/Desktop/images/01012026/01/04/image_01012026_01_04_55_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/03/image_01012026_01_03_54_9749.jpg
/home/pi/Desktop/images/01012026/01/03/image_01012026_01_04_05_10629.jpg
/home/pi/Desktop/images/01012026/01/04/image_01012026_01_04_15_9635.jpg
/home/pi/Desktop/images/01012026/01/04/image_01012026_01_04_25_9900.jpg
/home/pi/Desktop/images/01012026/01/04/image_01012026_01_04_45_10566.jpg
/home/pi/Desktop/images/01012026/01/04/image_01012026_01_04_55_9728.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":["1401971580","1401971586","1401971582","1401971579","1401971584","1401971581"],"photo_ids_order":["1401971579","1401971580","1401971581","1401971582","1401971584","1401971586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74782af14505156715e50dc833c3264f.jpg","text":"TemporaryFile(/tmp/multipartBody2102123215324383440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226804379,"filename":"image_01012026_01_04_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9cea0d75e132a6602c96630ab9302b1.jpg","text":"TemporaryFile(/tmp/multipartBody1840396521019430991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226804379,"filename":"image_01012026_01_04_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f51bca7cfa9c6c42e75dd9e14b503f4.jpg","text":"TemporaryFile(/tmp/multipartBody2340245122681867566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226804379,"filename":"image_01012026_01_04_25_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cabdfca697efdaae186cf0e46737bb9b.jpg","text":"TemporaryFile(/tmp/multipartBody478029269513221403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226804379,"filename":"image_01012026_01_03_54_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcbf9ce3072dd09ba31e80acae26c454.jpg","text":"TemporaryFile(/tmp/multipartBody6860456175129453189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226804379,"filename":"image_01012026_01_04_45_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/450aacd1c93e8c2d47ebb1d54c95eaf8.jpg","text":"TemporaryFile(/tmp/multipartBody6872074436242773448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226804379,"filename":"image_01012026_01_04_15_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971581","file1":"1401971580","file0":"1401971579","file4":"1401971584","file5":"1401971586","file3":"1401971582"},"map_files_photo_id_array":[{"photo_id":"1401971586","filename":"file5"},{"photo_id":"1401971581","filename":"file2"},{"photo_id":"1401971584","filename":"file4"},{"photo_id":"1401971580","filename":"file1"},{"photo_id":"1401971579","filename":"file0"},{"photo_id":"1401971582","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971580":["hashtag1","hashtag2"]},{"1401971586":["hashtag1","hashtag2"]},{"1401971582":["hashtag1","hashtag2"]},{"1401971579":["hashtag1","hashtag2"]},{"1401971584":["hashtag1","hashtag2"]},{"1401971581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971580, 1401971586, 1401971582, 1401971579, 1401971584, 1401971581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70079445838928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:20:03.105116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/04/image_01012026_01_05_04_9657.jpg', '/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_14_9917.jpg', '/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_25_10730.jpg', '/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_34_9588.jpg', '/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_44_9798.jpg', '/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_55_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/04/image_01012026_01_05_04_9657.jpg
/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_14_9917.jpg
/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_25_10730.jpg
/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_34_9588.jpg
/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_44_9798.jpg
/home/pi/Desktop/images/01012026/01/05/image_01012026_01_05_55_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":["1401971595","1401971592","1401971591","1401971594","1401971596","1401971593"],"photo_ids_order":["1401971591","1401971592","1401971593","1401971594","1401971595","1401971596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe0c3d7e9e7635afb9bf6c021b1ddf7d.jpg","text":"TemporaryFile(/tmp/multipartBody2004893476074231546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226863755,"filename":"image_01012026_01_05_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b151a5c7c10cdcc1ba0524e3a35be856.jpg","text":"TemporaryFile(/tmp/multipartBody258783865492390083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226863755,"filename":"image_01012026_01_05_14_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/975f0892b6558d0014d0bb8d7a973afe.jpg","text":"TemporaryFile(/tmp/multipartBody1411458378634533101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226863755,"filename":"image_01012026_01_05_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4713c455d2667b15c8693a9b2df11293.jpg","text":"TemporaryFile(/tmp/multipartBody309004045980298022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226863755,"filename":"image_01012026_01_05_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/242ebb160d233530514841c82db61ac7.jpg","text":"TemporaryFile(/tmp/multipartBody1365126878193440549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226863755,"filename":"image_01012026_01_05_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e37c8db6e017fd7ae159d1804b016ca5.jpg","text":"TemporaryFile(/tmp/multipartBody8887257536060935852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226863755,"filename":"image_01012026_01_05_25_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971593","file1":"1401971592","file0":"1401971591","file4":"1401971595","file5":"1401971596","file3":"1401971594"},"map_files_photo_id_array":[{"photo_id":"1401971596","filename":"file5"},{"photo_id":"1401971593","filename":"file2"},{"photo_id":"1401971595","filename":"file4"},{"photo_id":"1401971592","filename":"file1"},{"photo_id":"1401971591","filename":"file0"},{"photo_id":"1401971594","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971595":["hashtag1","hashtag2"]},{"1401971592":["hashtag1","hashtag2"]},{"1401971591":["hashtag1","hashtag2"]},{"1401971594":["hashtag1","hashtag2"]},{"1401971596":["hashtag1","hashtag2"]},{"1401971593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971595, 1401971592, 1401971591, 1401971594, 1401971596, 1401971593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90148162841797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:20:42.732984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_51_3212.jpg', '/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_53_1700.jpg', '/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_55_1731.jpg', '/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_02_7003.jpg', '/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_03_1694.jpg', '/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_05_1524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_51_3212.jpg
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_53_1700.jpg
/home/pi/Desktop/images/03112025/21/27/image_03112025_21_27_55_1731.jpg
/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_02_7003.jpg
/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_03_1694.jpg
/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_05_1524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971602","1401971608","1401971610","1401971604","1401971612","1401971606"],"photo_ids_order":["1401971602","1401971604","1401971606","1401971608","1401971610","1401971612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/530ae6a74fd3b6d0dc947fbf8fe9cff9.jpg","text":"TemporaryFile(/tmp/multipartBody6629930088652708621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226904473,"filename":"image_03112025_21_27_51_3212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9703a5d3ad7e9a9cb24238f4524e9da5.jpg","text":"TemporaryFile(/tmp/multipartBody684109484631625007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226904473,"filename":"image_03112025_21_28_02_7003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/906a3e7d7de8302d3e4bfac39e41a4e7.jpg","text":"TemporaryFile(/tmp/multipartBody6708091524378430677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226904473,"filename":"image_03112025_21_28_03_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4fe0b560b25640697bc399a7b3af9611.jpg","text":"TemporaryFile(/tmp/multipartBody1896954407069920836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226904473,"filename":"image_03112025_21_27_53_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e319a257544b720948d4ba9be782502.jpg","text":"TemporaryFile(/tmp/multipartBody8807964671343127856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226904473,"filename":"image_03112025_21_28_05_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddabf99a84554b309dd24ecb38348288.jpg","text":"TemporaryFile(/tmp/multipartBody2455439728283645983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226904473,"filename":"image_03112025_21_27_55_1731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971606","file1":"1401971604","file0":"1401971602","file4":"1401971610","file5":"1401971612","file3":"1401971608"},"map_files_photo_id_array":[{"photo_id":"1401971612","filename":"file5"},{"photo_id":"1401971606","filename":"file2"},{"photo_id":"1401971610","filename":"file4"},{"photo_id":"1401971604","filename":"file1"},{"photo_id":"1401971602","filename":"file0"},{"photo_id":"1401971608","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971602":["hashtag1","hashtag2"]},{"1401971608":["hashtag1","hashtag2"]},{"1401971610":["hashtag1","hashtag2"]},{"1401971604":["hashtag1","hashtag2"]},{"1401971612":["hashtag1","hashtag2"]},{"1401971606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971602, 1401971608, 1401971610, 1401971604, 1401971612, 1401971606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91618871688843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:21:21.891799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/05/image_01012026_01_06_05_9678.jpg', '/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_14_9801.jpg', '/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_24_9719.jpg', '/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_35_10714.jpg', '/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_45_9805.jpg', '/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_54_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/05/image_01012026_01_06_05_9678.jpg
/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_14_9801.jpg
/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_24_9719.jpg
/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_35_10714.jpg
/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_45_9805.jpg
/home/pi/Desktop/images/01012026/01/06/image_01012026_01_06_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":["1401971623","1401971617","1401971613","1401971616","1401971619","1401971621"],"photo_ids_order":["1401971613","1401971616","1401971617","1401971619","1401971621","1401971623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5347616edd4a2e5f0de9552397f8dd7.jpg","text":"TemporaryFile(/tmp/multipartBody5381618817782635798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226942517,"filename":"image_01012026_01_06_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7ac0683d891129d1b027a027c64d393.jpg","text":"TemporaryFile(/tmp/multipartBody7793828564877091466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226942517,"filename":"image_01012026_01_06_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1618699cacbbe3147bd3902a67839e95.jpg","text":"TemporaryFile(/tmp/multipartBody818814698294328193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226942517,"filename":"image_01012026_01_06_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c03f4aee14759b7a0c5095ae2175fdf3.jpg","text":"TemporaryFile(/tmp/multipartBody268326196776322255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226942517,"filename":"image_01012026_01_06_14_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41b5b18c781489b31d2632645f176946.jpg","text":"TemporaryFile(/tmp/multipartBody1353998686620640880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226942517,"filename":"image_01012026_01_06_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8089b6eaaff0f26133523ef5caa5586.jpg","text":"TemporaryFile(/tmp/multipartBody4369648055829063730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226942517,"filename":"image_01012026_01_06_45_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971617","file1":"1401971616","file0":"1401971613","file4":"1401971621","file5":"1401971623","file3":"1401971619"},"map_files_photo_id_array":[{"photo_id":"1401971623","filename":"file5"},{"photo_id":"1401971617","filename":"file2"},{"photo_id":"1401971621","filename":"file4"},{"photo_id":"1401971616","filename":"file1"},{"photo_id":"1401971613","filename":"file0"},{"photo_id":"1401971619","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971623":["hashtag1","hashtag2"]},{"1401971617":["hashtag1","hashtag2"]},{"1401971613":["hashtag1","hashtag2"]},{"1401971616":["hashtag1","hashtag2"]},{"1401971619":["hashtag1","hashtag2"]},{"1401971621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971623, 1401971617, 1401971613, 1401971616, 1401971619, 1401971621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38682842254639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:22:02.651527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/06/image_01012026_01_07_05_10723.jpg', '/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_15_9740.jpg', '/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_25_9731.jpg', '/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_34_9666.jpg', '/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_45_10667.jpg', '/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_55_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/06/image_01012026_01_07_05_10723.jpg
/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_15_9740.jpg
/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_25_9731.jpg
/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_34_9666.jpg
/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_45_10667.jpg
/home/pi/Desktop/images/01012026/01/07/image_01012026_01_07_55_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":["1401971632","1401971626","1401971625","1401971630","1401971627","1401971629"],"photo_ids_order":["1401971625","1401971626","1401971627","1401971629","1401971630","1401971632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adae57b2ce32e63dd06a57510a824811.jpg","text":"TemporaryFile(/tmp/multipartBody7778813779348450713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226983271,"filename":"image_01012026_01_07_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c19b651612ad85aa29fecd4cd778b616.jpg","text":"TemporaryFile(/tmp/multipartBody1732708236812391006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226983271,"filename":"image_01012026_01_07_15_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/658158c2d734dfcda394e3a6f4fa48c5.jpg","text":"TemporaryFile(/tmp/multipartBody8811522773676907128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226983271,"filename":"image_01012026_01_07_05_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed72dfdb5e66eb5810261d110b45baef.jpg","text":"TemporaryFile(/tmp/multipartBody1157716594428305194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226983271,"filename":"image_01012026_01_07_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/999d806e21b504b5f0d57d0282390203.jpg","text":"TemporaryFile(/tmp/multipartBody4973320703200085792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226983271,"filename":"image_01012026_01_07_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a77a42e0fd8eadb72794a1bd6c090f3a.jpg","text":"TemporaryFile(/tmp/multipartBody847255851020128058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767226983271,"filename":"image_01012026_01_07_34_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971627","file1":"1401971626","file0":"1401971625","file4":"1401971630","file5":"1401971632","file3":"1401971629"},"map_files_photo_id_array":[{"photo_id":"1401971632","filename":"file5"},{"photo_id":"1401971627","filename":"file2"},{"photo_id":"1401971630","filename":"file4"},{"photo_id":"1401971626","filename":"file1"},{"photo_id":"1401971625","filename":"file0"},{"photo_id":"1401971629","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971632":["hashtag1","hashtag2"]},{"1401971626":["hashtag1","hashtag2"]},{"1401971625":["hashtag1","hashtag2"]},{"1401971630":["hashtag1","hashtag2"]},{"1401971627":["hashtag1","hashtag2"]},{"1401971629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971632, 1401971626, 1401971625, 1401971630, 1401971627, 1401971629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84048366546631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:22:42.191183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_08_1870.jpg', '/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_54_2546.jpg', '/home/pi/Desktop/images/03112025/21/28/image_03112025_21_29_00_2704.jpg', '/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_13_3752.jpg', '/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_15_2625.jpg', '/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_22_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_08_1870.jpg
/home/pi/Desktop/images/03112025/21/28/image_03112025_21_28_54_2546.jpg
/home/pi/Desktop/images/03112025/21/28/image_03112025_21_29_00_2704.jpg
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_13_3752.jpg
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_15_2625.jpg
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_22_3674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971643","1401971640","1401971637","1401971642","1401971639","1401971641"],"photo_ids_order":["1401971637","1401971639","1401971640","1401971641","1401971642","1401971643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c0db3f046b446a0c0e2d7b166d1eb05.jpg","text":"TemporaryFile(/tmp/multipartBody8382496632427264705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227023968,"filename":"image_03112025_21_29_22_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d32e718b458a4fce01e036fe1892ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8898127945633204527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227023968,"filename":"image_03112025_21_29_00_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b77dac14bd4ec55af730a951aa4ff99d.jpg","text":"TemporaryFile(/tmp/multipartBody6197105166607742604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227023968,"filename":"image_03112025_21_28_08_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f363fad51742b61fb28457b2554c95ea.jpg","text":"TemporaryFile(/tmp/multipartBody2576870269764476252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227023968,"filename":"image_03112025_21_29_15_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66a3a09114139869eca3ee4d8186572f.jpg","text":"TemporaryFile(/tmp/multipartBody8650384262960938962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227023968,"filename":"image_03112025_21_28_54_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76d1ebe77fe11d9ccc66ffe6fc5a15ce.jpg","text":"TemporaryFile(/tmp/multipartBody5648481230929744454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227023968,"filename":"image_03112025_21_29_13_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971640","file1":"1401971639","file0":"1401971637","file4":"1401971642","file5":"1401971643","file3":"1401971641"},"map_files_photo_id_array":[{"photo_id":"1401971643","filename":"file5"},{"photo_id":"1401971640","filename":"file2"},{"photo_id":"1401971642","filename":"file4"},{"photo_id":"1401971639","filename":"file1"},{"photo_id":"1401971637","filename":"file0"},{"photo_id":"1401971641","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971643":["hashtag1","hashtag2"]},{"1401971640":["hashtag1","hashtag2"]},{"1401971637":["hashtag1","hashtag2"]},{"1401971642":["hashtag1","hashtag2"]},{"1401971639":["hashtag1","hashtag2"]},{"1401971641":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971643, 1401971640, 1401971637, 1401971642, 1401971639, 1401971641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.389643907547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:23:22.377929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/07/image_01012026_01_08_04_9619.jpg', '/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_15_10660.jpg', '/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_24_9655.jpg', '/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_34_9682.jpg', '/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_44_10010.jpg', '/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_55_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/07/image_01012026_01_08_04_9619.jpg
/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_15_10660.jpg
/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_24_9655.jpg
/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_34_9682.jpg
/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_44_10010.jpg
/home/pi/Desktop/images/01012026/01/08/image_01012026_01_08_55_10703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971649","1401971660","1401971654","1401971651","1401971653","1401971647"],"photo_ids_order":["1401971647","1401971649","1401971651","1401971653","1401971654","1401971660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12d68071dc08ed80b1bd892d658c7211.jpg","text":"TemporaryFile(/tmp/multipartBody8585812625542332135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227062974,"filename":"image_01012026_01_08_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ca23845a19df37eb3d0f28a8126e7cb.jpg","text":"TemporaryFile(/tmp/multipartBody4871745002735042379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227062974,"filename":"image_01012026_01_08_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f13985baaac610eff15db9fa3ff5523b.jpg","text":"TemporaryFile(/tmp/multipartBody4899695483793875962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227062974,"filename":"image_01012026_01_08_44_10010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31a725d39631e8a08272d66c6e5b2305.jpg","text":"TemporaryFile(/tmp/multipartBody5534923783726414562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227062974,"filename":"image_01012026_01_08_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bbaa176ed3f032b1c6069cd2be6ea8a.jpg","text":"TemporaryFile(/tmp/multipartBody8894263394106074373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227062974,"filename":"image_01012026_01_08_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e37bddb39313479f5587aa5aa347db.jpg","text":"TemporaryFile(/tmp/multipartBody2445683159129316148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227062974,"filename":"image_01012026_01_08_04_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971651","file1":"1401971649","file0":"1401971647","file4":"1401971654","file5":"1401971660","file3":"1401971653"},"map_files_photo_id_array":[{"photo_id":"1401971660","filename":"file5"},{"photo_id":"1401971651","filename":"file2"},{"photo_id":"1401971654","filename":"file4"},{"photo_id":"1401971649","filename":"file1"},{"photo_id":"1401971647","filename":"file0"},{"photo_id":"1401971653","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971649":["hashtag1","hashtag2"]},{"1401971660":["hashtag1","hashtag2"]},{"1401971654":["hashtag1","hashtag2"]},{"1401971651":["hashtag1","hashtag2"]},{"1401971653":["hashtag1","hashtag2"]},{"1401971647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971649, 1401971660, 1401971654, 1401971651, 1401971653, 1401971647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71243381500244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:24:03.190760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/08/image_01012026_01_09_05_9840.jpg', '/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_14_9671.jpg', '/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_24_9844.jpg', '/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_35_10820.jpg', '/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_45_9843.jpg', '/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/08/image_01012026_01_09_05_9840.jpg
/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_14_9671.jpg
/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_24_9844.jpg
/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_35_10820.jpg
/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_45_9843.jpg
/home/pi/Desktop/images/01012026/01/09/image_01012026_01_09_55_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971664","1401971667","1401971669","1401971663","1401971666","1401971662"],"photo_ids_order":["1401971662","1401971663","1401971664","1401971666","1401971667","1401971669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20234adcc281512849d36b70706b314d.jpg","text":"TemporaryFile(/tmp/multipartBody5483497136356111449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227103917,"filename":"image_01012026_01_09_24_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cc05687d4bd9294da878d0fe78c5adc.jpg","text":"TemporaryFile(/tmp/multipartBody7843459395830455609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227103917,"filename":"image_01012026_01_09_45_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3431b9ba9f0f81c3d2b52c99a6b5497.jpg","text":"TemporaryFile(/tmp/multipartBody819114879652815189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227103917,"filename":"image_01012026_01_09_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f925dbd98f91f2497fad18f4670e0ad7.jpg","text":"TemporaryFile(/tmp/multipartBody8706516832527941474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227103917,"filename":"image_01012026_01_09_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/841f10c30c22fdccd77908aa119c580e.jpg","text":"TemporaryFile(/tmp/multipartBody7036172826049882576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227103917,"filename":"image_01012026_01_09_35_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecc437c74232515b74168c63ed848366.jpg","text":"TemporaryFile(/tmp/multipartBody4044061903189119039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227103917,"filename":"image_01012026_01_09_05_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971664","file1":"1401971663","file0":"1401971662","file4":"1401971667","file5":"1401971669","file3":"1401971666"},"map_files_photo_id_array":[{"photo_id":"1401971669","filename":"file5"},{"photo_id":"1401971664","filename":"file2"},{"photo_id":"1401971667","filename":"file4"},{"photo_id":"1401971663","filename":"file1"},{"photo_id":"1401971662","filename":"file0"},{"photo_id":"1401971666","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971664":["hashtag1","hashtag2"]},{"1401971667":["hashtag1","hashtag2"]},{"1401971669":["hashtag1","hashtag2"]},{"1401971663":["hashtag1","hashtag2"]},{"1401971666":["hashtag1","hashtag2"]},{"1401971662":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971664, 1401971667, 1401971669, 1401971663, 1401971666, 1401971662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91383910179138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:24:42.603354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_24_2589.jpg', '/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_27_2725.jpg', '/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_36_9452.jpg', '/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_38_1561.jpg', '/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_46_1742.jpg', '/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_51_3662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_24_2589.jpg
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_27_2725.jpg
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_36_9452.jpg
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_38_1561.jpg
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_46_1742.jpg
/home/pi/Desktop/images/03112025/21/29/image_03112025_21_29_51_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":["1401971676","1401971679","1401971678","1401971677","1401971680","1401971674"],"photo_ids_order":["1401971674","1401971676","1401971677","1401971678","1401971679","1401971680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60f307474aded2f4f909f9ac4564ff7c.jpg","text":"TemporaryFile(/tmp/multipartBody7296374712100144515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227144507,"filename":"image_03112025_21_29_27_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9d5ab56142ef2ec737e3f75f89d80cd.jpg","text":"TemporaryFile(/tmp/multipartBody3100459211758333128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227144507,"filename":"image_03112025_21_29_46_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d319b94552fd8923e77fe88a00e9c243.jpg","text":"TemporaryFile(/tmp/multipartBody2080247291416904307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227144507,"filename":"image_03112025_21_29_38_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5de1b4abb65bbb6e90703eea154a8f9.jpg","text":"TemporaryFile(/tmp/multipartBody1622698725565831228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227144507,"filename":"image_03112025_21_29_36_9452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8bb1fd8231c59fed48cc87ba21535401.jpg","text":"TemporaryFile(/tmp/multipartBody3727621866647443495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227144507,"filename":"image_03112025_21_29_51_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2daf4ed0a91bdce594f66e8f88deecb2.jpg","text":"TemporaryFile(/tmp/multipartBody1545234837993317809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227144507,"filename":"image_03112025_21_29_24_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971677","file1":"1401971676","file0":"1401971674","file4":"1401971679","file5":"1401971680","file3":"1401971678"},"map_files_photo_id_array":[{"photo_id":"1401971680","filename":"file5"},{"photo_id":"1401971677","filename":"file2"},{"photo_id":"1401971679","filename":"file4"},{"photo_id":"1401971676","filename":"file1"},{"photo_id":"1401971674","filename":"file0"},{"photo_id":"1401971678","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971676":["hashtag1","hashtag2"]},{"1401971679":["hashtag1","hashtag2"]},{"1401971678":["hashtag1","hashtag2"]},{"1401971677":["hashtag1","hashtag2"]},{"1401971680":["hashtag1","hashtag2"]},{"1401971674":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971676, 1401971679, 1401971678, 1401971677, 1401971680, 1401971674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.033451318740845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:25:22.766914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/09/image_01012026_01_10_04_9775.jpg', '/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_14_9826.jpg', '/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_25_10780.jpg', '/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_35_9778.jpg', '/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_45_9850.jpg', '/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_54_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/09/image_01012026_01_10_04_9775.jpg
/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_14_9826.jpg
/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_25_10780.jpg
/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_35_9778.jpg
/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_45_9850.jpg
/home/pi/Desktop/images/01012026/01/10/image_01012026_01_10_54_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":["1401971688","1401971682","1401971691","1401971684","1401971686","1401971689"],"photo_ids_order":["1401971682","1401971684","1401971686","1401971688","1401971689","1401971691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83ba590f3128d231f8bcb94f7aa2544a.jpg","text":"TemporaryFile(/tmp/multipartBody8969459596524589864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227183359,"filename":"image_01012026_01_10_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b293c44040f1465a443e1d0c3d057fc1.jpg","text":"TemporaryFile(/tmp/multipartBody2736114664693069482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227183359,"filename":"image_01012026_01_10_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cbb696ca162f76ba1587da85cbf5d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3659473640483035533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227183359,"filename":"image_01012026_01_10_54_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31b831c506030c89889d46a86565737a.jpg","text":"TemporaryFile(/tmp/multipartBody7464239907786360691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227183359,"filename":"image_01012026_01_10_14_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d46171b80ef402d37290d27ffbe63571.jpg","text":"TemporaryFile(/tmp/multipartBody5383214432744672969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227183359,"filename":"image_01012026_01_10_25_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9802198df8cdb52f4d4998780fa040c.jpg","text":"TemporaryFile(/tmp/multipartBody367914198992454013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227183359,"filename":"image_01012026_01_10_45_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971686","file1":"1401971684","file0":"1401971682","file4":"1401971689","file5":"1401971691","file3":"1401971688"},"map_files_photo_id_array":[{"photo_id":"1401971691","filename":"file5"},{"photo_id":"1401971686","filename":"file2"},{"photo_id":"1401971689","filename":"file4"},{"photo_id":"1401971684","filename":"file1"},{"photo_id":"1401971682","filename":"file0"},{"photo_id":"1401971688","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971688":["hashtag1","hashtag2"]},{"1401971682":["hashtag1","hashtag2"]},{"1401971691":["hashtag1","hashtag2"]},{"1401971684":["hashtag1","hashtag2"]},{"1401971686":["hashtag1","hashtag2"]},{"1401971689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971688, 1401971682, 1401971691, 1401971684, 1401971686, 1401971689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64023470878601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:26:02.397847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_15_9752.jpg', '/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_24_9669.jpg', '/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_34_9823.jpg', '/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_45_10736.jpg', '/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_54_9608.jpg', '/home/pi/Desktop/images/01012026/01/11/image_01012026_01_12_04_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_15_9752.jpg
/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_24_9669.jpg
/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_34_9823.jpg
/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_45_10736.jpg
/home/pi/Desktop/images/01012026/01/11/image_01012026_01_11_54_9608.jpg
/home/pi/Desktop/images/01012026/01/11/image_01012026_01_12_04_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":["1401971694","1401971697","1401971699","1401971693","1401971696","1401971695"],"photo_ids_order":["1401971693","1401971694","1401971695","1401971696","1401971697","1401971699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecc63598859d299e2d4327e99f3cfdd1.jpg","text":"TemporaryFile(/tmp/multipartBody7806089921420471314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227223015,"filename":"image_01012026_01_11_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2da7246ca575aef533b5fed78a24998b.jpg","text":"TemporaryFile(/tmp/multipartBody2901255880695017093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227223015,"filename":"image_01012026_01_11_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7c14a391fcb632f1134ae05417aaeac.jpg","text":"TemporaryFile(/tmp/multipartBody2216741564673315202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227223015,"filename":"image_01012026_01_12_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e99b360743b6c7d922542dc704826c77.jpg","text":"TemporaryFile(/tmp/multipartBody2622651780668575317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227223015,"filename":"image_01012026_01_11_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/537b9dfc9b783da7ed313dae12efc510.jpg","text":"TemporaryFile(/tmp/multipartBody1371947787042463506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227223015,"filename":"image_01012026_01_11_45_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69c06fd26561103b8031386eb0533ebd.jpg","text":"TemporaryFile(/tmp/multipartBody2767711725081069616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227223015,"filename":"image_01012026_01_11_34_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971695","file1":"1401971694","file0":"1401971693","file4":"1401971697","file5":"1401971699","file3":"1401971696"},"map_files_photo_id_array":[{"photo_id":"1401971699","filename":"file5"},{"photo_id":"1401971695","filename":"file2"},{"photo_id":"1401971697","filename":"file4"},{"photo_id":"1401971694","filename":"file1"},{"photo_id":"1401971693","filename":"file0"},{"photo_id":"1401971696","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971694":["hashtag1","hashtag2"]},{"1401971697":["hashtag1","hashtag2"]},{"1401971699":["hashtag1","hashtag2"]},{"1401971693":["hashtag1","hashtag2"]},{"1401971696":["hashtag1","hashtag2"]},{"1401971695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971694, 1401971697, 1401971699, 1401971693, 1401971696, 1401971695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49879813194275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:26:41.948363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_12_3622.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_14_2812.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_17_2556.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_27_1660.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_56_2726.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_59_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/21/30/image_03112025_21_30_12_3622.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_14_2812.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_17_2556.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_27_1660.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_56_2726.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_59_2628.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.6290173530578613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:27:02.699338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 01:27:12.062195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_12_3622.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_14_2812.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_17_2556.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_27_1660.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_56_2726.jpg', '/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_59_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/21/30/image_03112025_21_30_12_3622.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_14_2812.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_17_2556.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_27_1660.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_56_2726.jpg
/home/pi/Desktop/images/03112025/21/30/image_03112025_21_30_59_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":["1401971722","1401971716","1401971715","1401971718","1401971720","1401971714"],"photo_ids_order":["1401971714","1401971715","1401971716","1401971718","1401971720","1401971722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0523113ef2a4fa4d6fe0f892e1bf2cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7354079746911827984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227293600,"filename":"image_03112025_21_30_59_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae155b8332a899430b316095a0342469.jpg","text":"TemporaryFile(/tmp/multipartBody6431011508201859334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227293600,"filename":"image_03112025_21_30_17_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb7e88a5bb9c9502f67476f4c175dce3.jpg","text":"TemporaryFile(/tmp/multipartBody7831420707298584945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227293600,"filename":"image_03112025_21_30_14_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff926ffbce2c1df3385811b8bcca3af7.jpg","text":"TemporaryFile(/tmp/multipartBody5199421835970382209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227293600,"filename":"image_03112025_21_30_27_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/230f561489fb0d39d25ab68df0e8778d.jpg","text":"TemporaryFile(/tmp/multipartBody5837746364647649466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227293600,"filename":"image_03112025_21_30_56_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fabe3cfd7c1f7c13a4208ca2e0be5e16.jpg","text":"TemporaryFile(/tmp/multipartBody1701117304538778007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227293600,"filename":"image_03112025_21_30_12_3622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971716","file1":"1401971715","file0":"1401971714","file4":"1401971720","file5":"1401971722","file3":"1401971718"},"map_files_photo_id_array":[{"photo_id":"1401971722","filename":"file5"},{"photo_id":"1401971716","filename":"file2"},{"photo_id":"1401971720","filename":"file4"},{"photo_id":"1401971715","filename":"file1"},{"photo_id":"1401971714","filename":"file0"},{"photo_id":"1401971718","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971722":["hashtag1","hashtag2"]},{"1401971716":["hashtag1","hashtag2"]},{"1401971715":["hashtag1","hashtag2"]},{"1401971718":["hashtag1","hashtag2"]},{"1401971720":["hashtag1","hashtag2"]},{"1401971714":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971722, 1401971716, 1401971715, 1401971718, 1401971720, 1401971714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86876344680786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:28:02.635252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 01:28:12.278512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_02_3664.jpg', '/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_05_2528.jpg', '/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_23_2675.jpg', '/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_26_2558.jpg', '/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_29_3487.jpg', '/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_32_3008.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_02_3664.jpg
/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_05_2528.jpg
/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_23_2675.jpg
/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_26_2558.jpg
/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_29_3487.jpg
/home/pi/Desktop/images/03112025/21/31/image_03112025_21_31_32_3008.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971730","1401971727","1401971732","1401971726","1401971734","1401971728"],"photo_ids_order":["1401971726","1401971727","1401971728","1401971730","1401971732","1401971734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e505d402dc3e81a87a87366f9e3d60a.jpg","text":"TemporaryFile(/tmp/multipartBody5736066147166490306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227354023,"filename":"image_03112025_21_31_26_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d01ac4d7373f33c1c47c67f1d0ff61d.jpg","text":"TemporaryFile(/tmp/multipartBody3530997069872173457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227354023,"filename":"image_03112025_21_31_05_2528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bf2d97eae7f719e38bcbf00568aa0c1.jpg","text":"TemporaryFile(/tmp/multipartBody7855394379415534254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227354023,"filename":"image_03112025_21_31_29_3487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9d2c9520b04a43dbf4d6edc508775a6.jpg","text":"TemporaryFile(/tmp/multipartBody4775320872908718376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227354023,"filename":"image_03112025_21_31_02_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a730bdabddfec2dbf9eabdd9f1eec6c5.jpg","text":"TemporaryFile(/tmp/multipartBody4685053221086337804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227354023,"filename":"image_03112025_21_31_32_3008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c174507463f9ee50a5313e863fa8772.jpg","text":"TemporaryFile(/tmp/multipartBody8576854452008103555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227354023,"filename":"image_03112025_21_31_23_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971728","file1":"1401971727","file0":"1401971726","file4":"1401971732","file5":"1401971734","file3":"1401971730"},"map_files_photo_id_array":[{"photo_id":"1401971734","filename":"file5"},{"photo_id":"1401971728","filename":"file2"},{"photo_id":"1401971732","filename":"file4"},{"photo_id":"1401971727","filename":"file1"},{"photo_id":"1401971726","filename":"file0"},{"photo_id":"1401971730","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971730":["hashtag1","hashtag2"]},{"1401971727":["hashtag1","hashtag2"]},{"1401971732":["hashtag1","hashtag2"]},{"1401971726":["hashtag1","hashtag2"]},{"1401971734":["hashtag1","hashtag2"]},{"1401971728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971730, 1401971727, 1401971732, 1401971726, 1401971734, 1401971728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50012254714966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:29:02.951462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 01:29:11.928397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_05_3350.jpg', '/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_12_3651.jpg', '/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_17_2648.jpg', '/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_23_2492.jpg', '/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_27_3703.jpg', '/home/pi/Desktop/images/03112025/21/33/image_03112025_21_33_05_2983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_05_3350.jpg
/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_12_3651.jpg
/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_17_2648.jpg
/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_23_2492.jpg
/home/pi/Desktop/images/03112025/21/32/image_03112025_21_32_27_3703.jpg
/home/pi/Desktop/images/03112025/21/33/image_03112025_21_33_05_2983.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971742","1401971751","1401971739","1401971746","1401971749","1401971740"],"photo_ids_order":["1401971739","1401971740","1401971742","1401971746","1401971749","1401971751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d1be1ae5f82b769135cedcaee779adf.jpg","text":"TemporaryFile(/tmp/multipartBody9027009794330176116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227415516,"filename":"image_03112025_21_32_17_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fdedeccf3e3720223cc3d36957491ac.jpg","text":"TemporaryFile(/tmp/multipartBody3645541807289361765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227415516,"filename":"image_03112025_21_33_05_2983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdb4316c4420bd13b94d1fab336fdfd6.jpg","text":"TemporaryFile(/tmp/multipartBody5617286823120903963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227415516,"filename":"image_03112025_21_32_05_3350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/263d6cae167abd160b6fd9c923e4ec0d.jpg","text":"TemporaryFile(/tmp/multipartBody5903520564025814450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227415516,"filename":"image_03112025_21_32_23_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edf5dbae9c01982f7ad9f691f75c5b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4929845475401570583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227415516,"filename":"image_03112025_21_32_27_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c58ccee39c9c66fa23ee1e665bae2b6.jpg","text":"TemporaryFile(/tmp/multipartBody8639071818105538104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227415516,"filename":"image_03112025_21_32_12_3651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971742","file1":"1401971740","file0":"1401971739","file4":"1401971749","file5":"1401971751","file3":"1401971746"},"map_files_photo_id_array":[{"photo_id":"1401971751","filename":"file5"},{"photo_id":"1401971742","filename":"file2"},{"photo_id":"1401971749","filename":"file4"},{"photo_id":"1401971740","filename":"file1"},{"photo_id":"1401971739","filename":"file0"},{"photo_id":"1401971746","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971742":["hashtag1","hashtag2"]},{"1401971751":["hashtag1","hashtag2"]},{"1401971739":["hashtag1","hashtag2"]},{"1401971746":["hashtag1","hashtag2"]},{"1401971749":["hashtag1","hashtag2"]},{"1401971740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971742, 1401971751, 1401971739, 1401971746, 1401971749, 1401971740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.81899118423462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:30:03.949086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/12/image_01012026_01_12_15_10675.jpg', '/home/pi/Desktop/images/01012026/01/12/image_01012026_01_12_25_9766.jpg', '/home/pi/Desktop/images/01012026/01/12/image_01012026_01_12_34_9773.jpg', '/home/pi/Desktop/images/01012026/01/12/image_01012026_01_12_45_10693.jpg', '/home/pi/Desktop/images/01012026/01/12/image_01012026_01_13_04_9551.jpg', '/home/pi/Desktop/images/01012026/01/13/image_01012026_01_13_15_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/12/image_01012026_01_12_15_10675.jpg
/home/pi/Desktop/images/01012026/01/12/image_01012026_01_12_25_9766.jpg
/home/pi/Desktop/images/01012026/01/12/image_01012026_01_12_34_9773.jpg
/home/pi/Desktop/images/01012026/01/12/image_01012026_01_12_45_10693.jpg
/home/pi/Desktop/images/01012026/01/12/image_01012026_01_13_04_9551.jpg
/home/pi/Desktop/images/01012026/01/13/image_01012026_01_13_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":["1401971760","1401971757","1401971762","1401971759","1401971764","1401971758"],"photo_ids_order":["1401971757","1401971758","1401971759","1401971760","1401971762","1401971764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de994a391ded65da7339975f8b9851ae.jpg","text":"TemporaryFile(/tmp/multipartBody4333229409780536997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227467139,"filename":"image_01012026_01_12_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08c4cff78b783476356acb95506fb461.jpg","text":"TemporaryFile(/tmp/multipartBody959995820314537088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227467139,"filename":"image_01012026_01_12_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddb379d7c49261244b6eeee409926550.jpg","text":"TemporaryFile(/tmp/multipartBody877644963224316357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227467139,"filename":"image_01012026_01_13_04_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/184e4c5a95fbd47dca79dc9271bf3c26.jpg","text":"TemporaryFile(/tmp/multipartBody1547233392237304287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227467139,"filename":"image_01012026_01_12_34_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d88eb8b54b0783bde266867cfbf0e780.jpg","text":"TemporaryFile(/tmp/multipartBody445671989469925058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227467139,"filename":"image_01012026_01_13_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c3392c61eb247c5c3d0b732b633848b.jpg","text":"TemporaryFile(/tmp/multipartBody5071703099050564368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227467139,"filename":"image_01012026_01_12_25_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971759","file1":"1401971758","file0":"1401971757","file4":"1401971762","file5":"1401971764","file3":"1401971760"},"map_files_photo_id_array":[{"photo_id":"1401971764","filename":"file5"},{"photo_id":"1401971759","filename":"file2"},{"photo_id":"1401971762","filename":"file4"},{"photo_id":"1401971758","filename":"file1"},{"photo_id":"1401971757","filename":"file0"},{"photo_id":"1401971760","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971760":["hashtag1","hashtag2"]},{"1401971757":["hashtag1","hashtag2"]},{"1401971762":["hashtag1","hashtag2"]},{"1401971759":["hashtag1","hashtag2"]},{"1401971764":["hashtag1","hashtag2"]},{"1401971758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971760, 1401971757, 1401971762, 1401971759, 1401971764, 1401971758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39857220649719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:30:43.370532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/33/image_03112025_21_33_06_1577.jpg', '/home/pi/Desktop/images/03112025/21/33/image_03112025_21_33_08_1647.jpg', '/home/pi/Desktop/images/03112025/21/33/image_03112025_21_33_59_2684.jpg', '/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_02_3621.jpg', '/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_05_2639.jpg', '/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_17_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/21/33/image_03112025_21_33_06_1577.jpg
/home/pi/Desktop/images/03112025/21/33/image_03112025_21_33_08_1647.jpg
/home/pi/Desktop/images/03112025/21/33/image_03112025_21_33_59_2684.jpg
/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_02_3621.jpg
/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_05_2639.jpg
/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_17_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":["1401971772","1401971771","1401971774","1401971768","1401971770","1401971773"],"photo_ids_order":["1401971768","1401971770","1401971771","1401971772","1401971773","1401971774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9872dcf90831b05dd74abf9b4d2b73a8.jpg","text":"TemporaryFile(/tmp/multipartBody1013293818658205161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227505027,"filename":"image_03112025_21_34_02_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c05267393a2c59882dde8fb6226dd06.jpg","text":"TemporaryFile(/tmp/multipartBody3554638013879759378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227505027,"filename":"image_03112025_21_33_59_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e33aaaf5088a245f7307ee5fe3c1d2f.jpg","text":"TemporaryFile(/tmp/multipartBody1285089388534325878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227505027,"filename":"image_03112025_21_34_17_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c5252297dcac44187b404bb8db5f2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2022834428277990042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227505027,"filename":"image_03112025_21_33_06_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ad372a0156de1d5d864246a0cf4d2d4.jpg","text":"TemporaryFile(/tmp/multipartBody1924686113224313403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227505027,"filename":"image_03112025_21_33_08_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab61cd107ff03f6232c07530adb5e4b2.jpg","text":"TemporaryFile(/tmp/multipartBody1795855195787600307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227505027,"filename":"image_03112025_21_34_05_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971771","file1":"1401971770","file0":"1401971768","file4":"1401971773","file5":"1401971774","file3":"1401971772"},"map_files_photo_id_array":[{"photo_id":"1401971774","filename":"file5"},{"photo_id":"1401971771","filename":"file2"},{"photo_id":"1401971773","filename":"file4"},{"photo_id":"1401971770","filename":"file1"},{"photo_id":"1401971768","filename":"file0"},{"photo_id":"1401971772","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971772":["hashtag1","hashtag2"]},{"1401971771":["hashtag1","hashtag2"]},{"1401971774":["hashtag1","hashtag2"]},{"1401971768":["hashtag1","hashtag2"]},{"1401971770":["hashtag1","hashtag2"]},{"1401971773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971772, 1401971771, 1401971774, 1401971768, 1401971770, 1401971773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23767900466919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:31:22.767591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/13/image_01012026_01_13_25_9716.jpg', '/home/pi/Desktop/images/01012026/01/13/image_01012026_01_13_34_9725.jpg', '/home/pi/Desktop/images/01012026/01/13/image_01012026_01_13_44_9757.jpg', '/home/pi/Desktop/images/01012026/01/13/image_01012026_01_14_04_9633.jpg', '/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_14_9682.jpg', '/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_25_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/13/image_01012026_01_13_25_9716.jpg
/home/pi/Desktop/images/01012026/01/13/image_01012026_01_13_34_9725.jpg
/home/pi/Desktop/images/01012026/01/13/image_01012026_01_13_44_9757.jpg
/home/pi/Desktop/images/01012026/01/13/image_01012026_01_14_04_9633.jpg
/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_14_9682.jpg
/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_25_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":["1401971784","1401971778","1401971786","1401971780","1401971782","1401971776"],"photo_ids_order":["1401971776","1401971778","1401971780","1401971782","1401971784","1401971786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/785c9689e65a6b437f21c2fad0e2a0e9.jpg","text":"TemporaryFile(/tmp/multipartBody155717309529073782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227543365,"filename":"image_01012026_01_14_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fed7e7bd267da1db5097609c92ae9d5.jpg","text":"TemporaryFile(/tmp/multipartBody8704076006133044565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227543365,"filename":"image_01012026_01_13_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ac8c7aaab4fee11d13c31f507ee7b54.jpg","text":"TemporaryFile(/tmp/multipartBody3251809268463895758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227543365,"filename":"image_01012026_01_14_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4cee289610fd0e643f13e7ddf0d66d55.jpg","text":"TemporaryFile(/tmp/multipartBody983457781611907818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227543365,"filename":"image_01012026_01_13_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a33b9157d17e8812612cc080e365851.jpg","text":"TemporaryFile(/tmp/multipartBody1655841276303130426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227543365,"filename":"image_01012026_01_14_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efb6c5aa59d189ba54f51eb8c30a6031.jpg","text":"TemporaryFile(/tmp/multipartBody5913902752244021888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227543365,"filename":"image_01012026_01_13_25_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971780","file1":"1401971778","file0":"1401971776","file4":"1401971784","file5":"1401971786","file3":"1401971782"},"map_files_photo_id_array":[{"photo_id":"1401971786","filename":"file5"},{"photo_id":"1401971780","filename":"file2"},{"photo_id":"1401971784","filename":"file4"},{"photo_id":"1401971778","filename":"file1"},{"photo_id":"1401971776","filename":"file0"},{"photo_id":"1401971782","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971784":["hashtag1","hashtag2"]},{"1401971778":["hashtag1","hashtag2"]},{"1401971786":["hashtag1","hashtag2"]},{"1401971780":["hashtag1","hashtag2"]},{"1401971782":["hashtag1","hashtag2"]},{"1401971776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971784, 1401971778, 1401971786, 1401971780, 1401971782, 1401971776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82601618766785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:32:03.239750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_34_9639.jpg', '/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_45_10570.jpg', '/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_55_9840.jpg', '/home/pi/Desktop/images/01012026/01/14/image_01012026_01_15_04_9679.jpg', '/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_14_9747.jpg', '/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_25_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_34_9639.jpg
/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_45_10570.jpg
/home/pi/Desktop/images/01012026/01/14/image_01012026_01_14_55_9840.jpg
/home/pi/Desktop/images/01012026/01/14/image_01012026_01_15_04_9679.jpg
/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_14_9747.jpg
/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_25_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":["1401971790","1401971792","1401971789","1401971794","1401971791","1401971788"],"photo_ids_order":["1401971788","1401971789","1401971790","1401971791","1401971792","1401971794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b485139785fa908cfaa5e0803d0ef033.jpg","text":"TemporaryFile(/tmp/multipartBody6687294813438716464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227583860,"filename":"image_01012026_01_14_55_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61f245f8e494ef8e5243a6066ccecd22.jpg","text":"TemporaryFile(/tmp/multipartBody4082567512076725048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227583860,"filename":"image_01012026_01_15_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2d5896ca24f33d21027ff61cb81435f.jpg","text":"TemporaryFile(/tmp/multipartBody3246731267665690500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227583860,"filename":"image_01012026_01_14_45_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/769334c95fa03c0222398cae7b1bf2ca.jpg","text":"TemporaryFile(/tmp/multipartBody7142078649060916254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227583860,"filename":"image_01012026_01_15_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de5b5ba8f3fc9bd3feb755e95d832360.jpg","text":"TemporaryFile(/tmp/multipartBody7862794183803988640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227583860,"filename":"image_01012026_01_15_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb7da820b009368ce0272255c0946680.jpg","text":"TemporaryFile(/tmp/multipartBody3992227531894116177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227583860,"filename":"image_01012026_01_14_34_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971790","file1":"1401971789","file0":"1401971788","file4":"1401971792","file5":"1401971794","file3":"1401971791"},"map_files_photo_id_array":[{"photo_id":"1401971794","filename":"file5"},{"photo_id":"1401971790","filename":"file2"},{"photo_id":"1401971792","filename":"file4"},{"photo_id":"1401971789","filename":"file1"},{"photo_id":"1401971788","filename":"file0"},{"photo_id":"1401971791","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971790":["hashtag1","hashtag2"]},{"1401971792":["hashtag1","hashtag2"]},{"1401971789":["hashtag1","hashtag2"]},{"1401971794":["hashtag1","hashtag2"]},{"1401971791":["hashtag1","hashtag2"]},{"1401971788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971790, 1401971792, 1401971789, 1401971794, 1401971791, 1401971788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28855800628662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:32:42.908838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_20_3544.jpg', '/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_53_2717.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_02_3774.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_20_2619.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_26_2621.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_29_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_20_3544.jpg
/home/pi/Desktop/images/03112025/21/34/image_03112025_21_34_53_2717.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_02_3774.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_20_2619.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_26_2621.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_29_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971800","1401971803","1401971799","1401971802","1401971804","1401971801"],"photo_ids_order":["1401971799","1401971800","1401971801","1401971802","1401971803","1401971804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0d99c4eec7bdde893b636f90fc19e7c.jpg","text":"TemporaryFile(/tmp/multipartBody9097897229122353485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227624677,"filename":"image_03112025_21_34_53_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26c1765900511ffb7cafc64b2b561e1d.jpg","text":"TemporaryFile(/tmp/multipartBody3801463941516168615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227624677,"filename":"image_03112025_21_35_26_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/419d53345633e529fa20188ccfbfcf18.jpg","text":"TemporaryFile(/tmp/multipartBody4839146093429186829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227624677,"filename":"image_03112025_21_34_20_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cad02eb655d91bae20507dbfcbd78b41.jpg","text":"TemporaryFile(/tmp/multipartBody2556918687841488883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227624677,"filename":"image_03112025_21_35_20_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c17cd1c4897092e2f434310b99defd3a.jpg","text":"TemporaryFile(/tmp/multipartBody2301108701304076873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227624677,"filename":"image_03112025_21_35_29_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe9398772d38a7e4bfc604db4ceeb3c5.jpg","text":"TemporaryFile(/tmp/multipartBody4295212634694453359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227624677,"filename":"image_03112025_21_35_02_3774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971801","file1":"1401971800","file0":"1401971799","file4":"1401971803","file5":"1401971804","file3":"1401971802"},"map_files_photo_id_array":[{"photo_id":"1401971804","filename":"file5"},{"photo_id":"1401971801","filename":"file2"},{"photo_id":"1401971803","filename":"file4"},{"photo_id":"1401971800","filename":"file1"},{"photo_id":"1401971799","filename":"file0"},{"photo_id":"1401971802","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971800":["hashtag1","hashtag2"]},{"1401971803":["hashtag1","hashtag2"]},{"1401971799":["hashtag1","hashtag2"]},{"1401971802":["hashtag1","hashtag2"]},{"1401971804":["hashtag1","hashtag2"]},{"1401971801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971800, 1401971803, 1401971799, 1401971802, 1401971804, 1401971801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0500328540802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:33:22.034841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_34_9637.jpg', '/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_44_9696.jpg', '/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_55_10547.jpg', '/home/pi/Desktop/images/01012026/01/15/image_01012026_01_16_04_9585.jpg', '/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_14_10037.jpg', '/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_25_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_34_9637.jpg
/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_44_9696.jpg
/home/pi/Desktop/images/01012026/01/15/image_01012026_01_15_55_10547.jpg
/home/pi/Desktop/images/01012026/01/15/image_01012026_01_16_04_9585.jpg
/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_14_10037.jpg
/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_25_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971815","1401971809","1401971811","1401971805","1401971808","1401971813"],"photo_ids_order":["1401971805","1401971808","1401971809","1401971811","1401971813","1401971815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c57eb2fdc1f466902d63da815696689.jpg","text":"TemporaryFile(/tmp/multipartBody6862241074945255415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227662629,"filename":"image_01012026_01_16_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36eb715640d7e29292b0f3b59c97ee92.jpg","text":"TemporaryFile(/tmp/multipartBody3987174608803237019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227662629,"filename":"image_01012026_01_15_55_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee201f83de28083310ba4b52b5594d24.jpg","text":"TemporaryFile(/tmp/multipartBody8968324798938483122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227662629,"filename":"image_01012026_01_16_04_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b430eee2f0a4b1ca28f1333876e986b0.jpg","text":"TemporaryFile(/tmp/multipartBody5458023722304847815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227662629,"filename":"image_01012026_01_15_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89aaeb6fcb3b148e598ced936480752a.jpg","text":"TemporaryFile(/tmp/multipartBody6003506661671151780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227662629,"filename":"image_01012026_01_15_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5aa30e80922518e00216429d8b058da4.jpg","text":"TemporaryFile(/tmp/multipartBody5543380073592909676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227662629,"filename":"image_01012026_01_16_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971809","file1":"1401971808","file0":"1401971805","file4":"1401971813","file5":"1401971815","file3":"1401971811"},"map_files_photo_id_array":[{"photo_id":"1401971815","filename":"file5"},{"photo_id":"1401971809","filename":"file2"},{"photo_id":"1401971813","filename":"file4"},{"photo_id":"1401971808","filename":"file1"},{"photo_id":"1401971805","filename":"file0"},{"photo_id":"1401971811","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971815":["hashtag1","hashtag2"]},{"1401971809":["hashtag1","hashtag2"]},{"1401971811":["hashtag1","hashtag2"]},{"1401971805":["hashtag1","hashtag2"]},{"1401971808":["hashtag1","hashtag2"]},{"1401971813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971815, 1401971809, 1401971811, 1401971805, 1401971808, 1401971813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01987385749817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:34:02.980643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_35_9581.jpg', '/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_44_9653.jpg', '/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_54_10019.jpg', '/home/pi/Desktop/images/01012026/01/16/image_01012026_01_17_05_10723.jpg', '/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_15_9801.jpg', '/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_24_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_35_9581.jpg
/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_44_9653.jpg
/home/pi/Desktop/images/01012026/01/16/image_01012026_01_16_54_10019.jpg
/home/pi/Desktop/images/01012026/01/16/image_01012026_01_17_05_10723.jpg
/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_15_9801.jpg
/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_24_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971821","1401971818","1401971823","1401971820","1401971817","1401971819"],"photo_ids_order":["1401971817","1401971818","1401971819","1401971820","1401971821","1401971823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8720b9eeac46d5c5d1a9d50262814fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8812961794632438434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227703631,"filename":"image_01012026_01_17_15_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/670c7d1b050a9dc428c69550e6005994.jpg","text":"TemporaryFile(/tmp/multipartBody4647561702151330983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227703631,"filename":"image_01012026_01_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/2026/1/1/b71f3bac0827e0b30e64b27a80672625.jpg","text":"TemporaryFile(/tmp/multipartBody7986214372825203178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227703631,"filename":"image_01012026_01_17_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fab4470f7d92c7c54df9a2c04b2bd23f.jpg","text":"TemporaryFile(/tmp/multipartBody7430237297282154975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227703631,"filename":"image_01012026_01_17_05_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c04bf7058e46670bbbf9fc0b414433ac.jpg","text":"TemporaryFile(/tmp/multipartBody2636390464446490580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227703631,"filename":"image_01012026_01_16_35_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aae80f6d4f9f6514166de5396681d5d5.jpg","text":"TemporaryFile(/tmp/multipartBody7805426638227203487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227703631,"filename":"image_01012026_01_16_54_10019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971819","file1":"1401971818","file0":"1401971817","file4":"1401971821","file5":"1401971823","file3":"1401971820"},"map_files_photo_id_array":[{"photo_id":"1401971823","filename":"file5"},{"photo_id":"1401971819","filename":"file2"},{"photo_id":"1401971821","filename":"file4"},{"photo_id":"1401971818","filename":"file1"},{"photo_id":"1401971817","filename":"file0"},{"photo_id":"1401971820","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971821":["hashtag1","hashtag2"]},{"1401971818":["hashtag1","hashtag2"]},{"1401971823":["hashtag1","hashtag2"]},{"1401971820":["hashtag1","hashtag2"]},{"1401971817":["hashtag1","hashtag2"]},{"1401971819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971821, 1401971818, 1401971823, 1401971820, 1401971817, 1401971819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44388437271118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:34:42.262337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_38_2586.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_41_3680.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_44_2591.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_56_2652.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_59_3609.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_02_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/21/35/image_03112025_21_35_38_2586.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_41_3680.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_44_2591.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_56_2652.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_59_3609.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_02_2706.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.6538231372833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:35:03.077177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_34_9613.jpg', '/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_45_10526.jpg', '/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_54_9711.jpg', '/home/pi/Desktop/images/01012026/01/17/image_01012026_01_18_04_9733.jpg', '/home/pi/Desktop/images/01012026/01/18/image_01012026_01_18_15_10597.jpg', '/home/pi/Desktop/images/01012026/01/18/image_01012026_01_18_24_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_34_9613.jpg
/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_45_10526.jpg
/home/pi/Desktop/images/01012026/01/17/image_01012026_01_17_54_9711.jpg
/home/pi/Desktop/images/01012026/01/17/image_01012026_01_18_04_9733.jpg
/home/pi/Desktop/images/01012026/01/18/image_01012026_01_18_15_10597.jpg
/home/pi/Desktop/images/01012026/01/18/image_01012026_01_18_24_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":["1401971836","1401971838","1401971835","1401971840","1401971834","1401971833"],"photo_ids_order":["1401971833","1401971834","1401971835","1401971836","1401971838","1401971840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c95661696bb6b3868c5cffb3b1097429.jpg","text":"TemporaryFile(/tmp/multipartBody1304083238856781563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227763807,"filename":"image_01012026_01_18_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92ce0c40bff6a16b7ee7d159c1570881.jpg","text":"TemporaryFile(/tmp/multipartBody7503976805109051392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227763807,"filename":"image_01012026_01_18_15_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba16b79efed95542877d765b49216b34.jpg","text":"TemporaryFile(/tmp/multipartBody5135466904262448472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227763807,"filename":"image_01012026_01_17_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f17301ce0c88f1a931020e9c6423482.jpg","text":"TemporaryFile(/tmp/multipartBody1790922871210171718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227763807,"filename":"image_01012026_01_18_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b8aef927c20fb3281ec01cd1da777b6.jpg","text":"TemporaryFile(/tmp/multipartBody2642284163803229392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227763807,"filename":"image_01012026_01_17_45_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c194a5eb6d652da5c53fa8c25634942.jpg","text":"TemporaryFile(/tmp/multipartBody5295028570807172221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227763807,"filename":"image_01012026_01_17_34_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971835","file1":"1401971834","file0":"1401971833","file4":"1401971838","file5":"1401971840","file3":"1401971836"},"map_files_photo_id_array":[{"photo_id":"1401971840","filename":"file5"},{"photo_id":"1401971835","filename":"file2"},{"photo_id":"1401971838","filename":"file4"},{"photo_id":"1401971834","filename":"file1"},{"photo_id":"1401971833","filename":"file0"},{"photo_id":"1401971836","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971836":["hashtag1","hashtag2"]},{"1401971838":["hashtag1","hashtag2"]},{"1401971835":["hashtag1","hashtag2"]},{"1401971840":["hashtag1","hashtag2"]},{"1401971834":["hashtag1","hashtag2"]},{"1401971833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971836, 1401971838, 1401971835, 1401971840, 1401971834, 1401971833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81764340400696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:35:42.431069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_38_2586.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_41_3680.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_44_2591.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_56_2652.jpg', '/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_59_3609.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_02_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/21/35/image_03112025_21_35_38_2586.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_41_3680.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_44_2591.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_56_2652.jpg
/home/pi/Desktop/images/03112025/21/35/image_03112025_21_35_59_3609.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_02_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":["1401971850","1401971844","1401971852","1401971849","1401971851","1401971848"],"photo_ids_order":["1401971844","1401971848","1401971849","1401971850","1401971851","1401971852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bbeb9a872bac1507cdcaacefcc7b69e.jpg","text":"TemporaryFile(/tmp/multipartBody8039487726760158555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227804076,"filename":"image_03112025_21_35_56_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de2d0f776925fb196c484d1c4827dd75.jpg","text":"TemporaryFile(/tmp/multipartBody5372598797504879922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227804076,"filename":"image_03112025_21_35_38_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc81dc9a1f68e491dfd2c2551a7b38fa.jpg","text":"TemporaryFile(/tmp/multipartBody3222109927758124925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227804076,"filename":"image_03112025_21_36_02_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/086b6639e3aed6a6e31a223298f919c4.jpg","text":"TemporaryFile(/tmp/multipartBody4540821798394255969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227804076,"filename":"image_03112025_21_35_44_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54da05151e074897c886ee9c2a17eee9.jpg","text":"TemporaryFile(/tmp/multipartBody5560511147426995559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227804076,"filename":"image_03112025_21_35_59_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ac85e305d36cf4ccfdedc01a8b4874c.jpg","text":"TemporaryFile(/tmp/multipartBody2922795127739353615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227804076,"filename":"image_03112025_21_35_41_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971849","file1":"1401971848","file0":"1401971844","file4":"1401971851","file5":"1401971852","file3":"1401971850"},"map_files_photo_id_array":[{"photo_id":"1401971852","filename":"file5"},{"photo_id":"1401971849","filename":"file2"},{"photo_id":"1401971851","filename":"file4"},{"photo_id":"1401971848","filename":"file1"},{"photo_id":"1401971844","filename":"file0"},{"photo_id":"1401971850","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971850":["hashtag1","hashtag2"]},{"1401971844":["hashtag1","hashtag2"]},{"1401971852":["hashtag1","hashtag2"]},{"1401971849":["hashtag1","hashtag2"]},{"1401971851":["hashtag1","hashtag2"]},{"1401971848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971850, 1401971844, 1401971852, 1401971849, 1401971851, 1401971848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0214684009552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:36:22.642535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/18/image_01012026_01_18_35_10628.jpg', '/home/pi/Desktop/images/01012026/01/18/image_01012026_01_18_45_9666.jpg', '/home/pi/Desktop/images/01012026/01/18/image_01012026_01_19_05_10651.jpg', '/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_15_9721.jpg', '/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_24_9772.jpg', '/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_35_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/18/image_01012026_01_18_35_10628.jpg
/home/pi/Desktop/images/01012026/01/18/image_01012026_01_18_45_9666.jpg
/home/pi/Desktop/images/01012026/01/18/image_01012026_01_19_05_10651.jpg
/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_15_9721.jpg
/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_24_9772.jpg
/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_35_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971862","1401971859","1401971853","1401971864","1401971855","1401971857"],"photo_ids_order":["1401971853","1401971855","1401971857","1401971859","1401971862","1401971864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcdef4af812f493b282fdfc7b1194836.jpg","text":"TemporaryFile(/tmp/multipartBody4892554972985052475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227843237,"filename":"image_01012026_01_19_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36d0fbbdb20c36b24002705bfe03b371.jpg","text":"TemporaryFile(/tmp/multipartBody9077279461364153937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227843237,"filename":"image_01012026_01_19_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d302be20962a56bb34a16d3b12e8238.jpg","text":"TemporaryFile(/tmp/multipartBody6873373118829380896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227843237,"filename":"image_01012026_01_18_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2afa70114e3f784e29b2498367efc71e.jpg","text":"TemporaryFile(/tmp/multipartBody5682660537331670941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227843237,"filename":"image_01012026_01_19_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fe697011bb38073b76359d085ffa59f.jpg","text":"TemporaryFile(/tmp/multipartBody2286591551419428507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227843237,"filename":"image_01012026_01_18_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/057bd422179c252787e6e7c860f9d7e5.jpg","text":"TemporaryFile(/tmp/multipartBody3116024240147429510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227843237,"filename":"image_01012026_01_19_05_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971857","file1":"1401971855","file0":"1401971853","file4":"1401971862","file5":"1401971864","file3":"1401971859"},"map_files_photo_id_array":[{"photo_id":"1401971864","filename":"file5"},{"photo_id":"1401971857","filename":"file2"},{"photo_id":"1401971862","filename":"file4"},{"photo_id":"1401971855","filename":"file1"},{"photo_id":"1401971853","filename":"file0"},{"photo_id":"1401971859","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971862":["hashtag1","hashtag2"]},{"1401971859":["hashtag1","hashtag2"]},{"1401971853":["hashtag1","hashtag2"]},{"1401971864":["hashtag1","hashtag2"]},{"1401971855":["hashtag1","hashtag2"]},{"1401971857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971862, 1401971859, 1401971853, 1401971864, 1401971855, 1401971857)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.44293737411499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:37:18.482041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_05_2713.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_11_2728.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_17_3737.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_23_2778.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_26_2791.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_29_3683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_05_2713.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_11_2728.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_17_3737.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_23_2778.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_26_2791.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_29_3683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971874","1401971868","1401971870","1401971876","1401971872","1401971866"],"photo_ids_order":["1401971866","1401971868","1401971870","1401971872","1401971874","1401971876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8094c18e076a037799428ecdf115cad0.jpg","text":"TemporaryFile(/tmp/multipartBody3238286944426243312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227901393,"filename":"image_03112025_21_36_26_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3020f72a569fd871fef0f85bccabb64e.jpg","text":"TemporaryFile(/tmp/multipartBody3792017976626709536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227901393,"filename":"image_03112025_21_36_11_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b0063b99e635d86c58a734ad6d43ed4.jpg","text":"TemporaryFile(/tmp/multipartBody4045776835487945595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227901393,"filename":"image_03112025_21_36_17_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/253c3ec8e056defeb78c0d647a53c6cd.jpg","text":"TemporaryFile(/tmp/multipartBody5889219583759892592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227901393,"filename":"image_03112025_21_36_29_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5407f1e7b3192bd34a0f05b010d63c45.jpg","text":"TemporaryFile(/tmp/multipartBody2152114598806242620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227901393,"filename":"image_03112025_21_36_23_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e8af7e82f7ac1c8a34be0806efdd559.jpg","text":"TemporaryFile(/tmp/multipartBody2606273445743973057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227901393,"filename":"image_03112025_21_36_05_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971870","file1":"1401971868","file0":"1401971866","file4":"1401971874","file5":"1401971876","file3":"1401971872"},"map_files_photo_id_array":[{"photo_id":"1401971876","filename":"file5"},{"photo_id":"1401971870","filename":"file2"},{"photo_id":"1401971874","filename":"file4"},{"photo_id":"1401971868","filename":"file1"},{"photo_id":"1401971866","filename":"file0"},{"photo_id":"1401971872","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971874":["hashtag1","hashtag2"]},{"1401971868":["hashtag1","hashtag2"]},{"1401971870":["hashtag1","hashtag2"]},{"1401971876":["hashtag1","hashtag2"]},{"1401971872":["hashtag1","hashtag2"]},{"1401971866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971874, 1401971868, 1401971870, 1401971876, 1401971872, 1401971866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07525658607483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:38:03.292894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 01:38:12.783026
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_32_2598.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_35_2691.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_50_3598.jpg', '/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_53_2619.jpg', '/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_02_2583.jpg', '/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_04_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/21/36/image_03112025_21_36_32_2598.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_35_2691.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_50_3598.jpg
/home/pi/Desktop/images/03112025/21/36/image_03112025_21_36_53_2619.jpg
/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_02_2583.jpg
/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_04_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":["1401971883","1401971877","1401971885","1401971879","1401971881","1401971878"],"photo_ids_order":["1401971877","1401971878","1401971879","1401971881","1401971883","1401971885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b6839e11636ff1991a5c68b057f41d7.jpg","text":"TemporaryFile(/tmp/multipartBody2089421791113889093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227954395,"filename":"image_03112025_21_37_02_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cef6359ba553f8efb3e8253870a93e2e.jpg","text":"TemporaryFile(/tmp/multipartBody5005751066459418678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227954395,"filename":"image_03112025_21_36_32_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b737660d7b7550293a5874d45a83fb71.jpg","text":"TemporaryFile(/tmp/multipartBody3511976540251798755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227954395,"filename":"image_03112025_21_37_04_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/445ca670dfac309ba4a71a67ae3c8655.jpg","text":"TemporaryFile(/tmp/multipartBody6352683431333065967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227954395,"filename":"image_03112025_21_36_50_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34408b80d405bb8b7eb5628d389e7701.jpg","text":"TemporaryFile(/tmp/multipartBody1231198023990260425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227954395,"filename":"image_03112025_21_36_53_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8c51f9c33771ce15551eed924c4221c.jpg","text":"TemporaryFile(/tmp/multipartBody3371717351117295459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767227954395,"filename":"image_03112025_21_36_35_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971879","file1":"1401971878","file0":"1401971877","file4":"1401971883","file5":"1401971885","file3":"1401971881"},"map_files_photo_id_array":[{"photo_id":"1401971885","filename":"file5"},{"photo_id":"1401971879","filename":"file2"},{"photo_id":"1401971883","filename":"file4"},{"photo_id":"1401971878","filename":"file1"},{"photo_id":"1401971877","filename":"file0"},{"photo_id":"1401971881","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971883":["hashtag1","hashtag2"]},{"1401971877":["hashtag1","hashtag2"]},{"1401971885":["hashtag1","hashtag2"]},{"1401971879":["hashtag1","hashtag2"]},{"1401971881":["hashtag1","hashtag2"]},{"1401971878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971883, 1401971877, 1401971885, 1401971879, 1401971881, 1401971878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30055284500122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:39:02.675144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 01:39:14.440508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_08_3610.jpg', '/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_32_3556.jpg', '/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_35_2678.jpg', '/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_44_2639.jpg', '/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_50_3651.jpg', '/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_53_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/21/37/image_03112025_21_37_08_3610.jpg
/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_32_3556.jpg
/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_35_2678.jpg
/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_44_2639.jpg
/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_50_3651.jpg
/home/pi/Desktop/images/03112025/21/37/image_03112025_21_37_53_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971898","1401971895","1401971904","1401971901","1401971891","1401971893"],"photo_ids_order":["1401971891","1401971893","1401971895","1401971898","1401971901","1401971904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d36f049b05dcbcebffa94abf4f9fd6b.jpg","text":"TemporaryFile(/tmp/multipartBody6742383113424310319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228019211,"filename":"image_03112025_21_37_44_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c64a467952184968e26045c6fd81cda.jpg","text":"TemporaryFile(/tmp/multipartBody2862584650686683597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228019211,"filename":"image_03112025_21_37_35_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7050191929f5d2e067f1dedfa414e8dd.jpg","text":"TemporaryFile(/tmp/multipartBody9077677119748266879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228019211,"filename":"image_03112025_21_37_53_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/967f38df9d16681453dd094e15360f53.jpg","text":"TemporaryFile(/tmp/multipartBody4410723571679805768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228019211,"filename":"image_03112025_21_37_50_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9215d289f349bda88a303cc67ed6a178.jpg","text":"TemporaryFile(/tmp/multipartBody1063035182090032284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228019211,"filename":"image_03112025_21_37_08_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfa1b344c9aa0a795a7baa625ab80b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3022973138195034899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228019211,"filename":"image_03112025_21_37_32_3556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971895","file1":"1401971893","file0":"1401971891","file4":"1401971901","file5":"1401971904","file3":"1401971898"},"map_files_photo_id_array":[{"photo_id":"1401971904","filename":"file5"},{"photo_id":"1401971895","filename":"file2"},{"photo_id":"1401971901","filename":"file4"},{"photo_id":"1401971893","filename":"file1"},{"photo_id":"1401971891","filename":"file0"},{"photo_id":"1401971898","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971898":["hashtag1","hashtag2"]},{"1401971895":["hashtag1","hashtag2"]},{"1401971904":["hashtag1","hashtag2"]},{"1401971901":["hashtag1","hashtag2"]},{"1401971891":["hashtag1","hashtag2"]},{"1401971893":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971898, 1401971895, 1401971904, 1401971901, 1401971891, 1401971893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.82542538642883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:40:02.753455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 01:40:12.329523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_05_3526.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_19_2659.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_26_6516.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_37_2607.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_40_2699.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_59_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_05_3526.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_19_2659.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_26_6516.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_37_2607.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_40_2699.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_59_3618.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.630768299102783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:40:22.339366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_45_9671.jpg', '/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_54_9719.jpg', '/home/pi/Desktop/images/01012026/01/19/image_01012026_01_20_04_9875.jpg', '/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_15_10770.jpg', '/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_25_9759.jpg', '/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_34_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_45_9671.jpg
/home/pi/Desktop/images/01012026/01/19/image_01012026_01_19_54_9719.jpg
/home/pi/Desktop/images/01012026/01/19/image_01012026_01_20_04_9875.jpg
/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_15_10770.jpg
/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_25_9759.jpg
/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_34_9660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971920","1401971922","1401971910","1401971916","1401971918","1401971912"],"photo_ids_order":["1401971910","1401971912","1401971916","1401971918","1401971920","1401971922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4337593050b455b04d20ffdb9902bbbe.jpg","text":"TemporaryFile(/tmp/multipartBody446015380999826663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228082931,"filename":"image_01012026_01_20_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77260be80b2e7792c55f2c86d5bec9cb.jpg","text":"TemporaryFile(/tmp/multipartBody8248904644929103897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228082931,"filename":"image_01012026_01_20_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63e659088f402358f1d0edfc89c1c963.jpg","text":"TemporaryFile(/tmp/multipartBody1160513806178597244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228082931,"filename":"image_01012026_01_19_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/921b10fc320914934b3620141b1a00cc.jpg","text":"TemporaryFile(/tmp/multipartBody4141823233558399300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228082931,"filename":"image_01012026_01_20_04_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6afbf0eab51c5d9d22de0c9f5a27d87d.jpg","text":"TemporaryFile(/tmp/multipartBody2158082750069065803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228082931,"filename":"image_01012026_01_20_15_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f8fb14ab7dd6080e48ceb6f811f368b.jpg","text":"TemporaryFile(/tmp/multipartBody571900948727100421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228082931,"filename":"image_01012026_01_19_54_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971916","file1":"1401971912","file0":"1401971910","file4":"1401971920","file5":"1401971922","file3":"1401971918"},"map_files_photo_id_array":[{"photo_id":"1401971922","filename":"file5"},{"photo_id":"1401971916","filename":"file2"},{"photo_id":"1401971920","filename":"file4"},{"photo_id":"1401971912","filename":"file1"},{"photo_id":"1401971910","filename":"file0"},{"photo_id":"1401971918","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971920":["hashtag1","hashtag2"]},{"1401971922":["hashtag1","hashtag2"]},{"1401971910":["hashtag1","hashtag2"]},{"1401971916":["hashtag1","hashtag2"]},{"1401971918":["hashtag1","hashtag2"]},{"1401971912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971920, 1401971922, 1401971910, 1401971916, 1401971918, 1401971912)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.3734188079834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:41:12.639636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_05_3526.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_19_2659.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_26_6516.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_37_2607.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_40_2699.jpg', '/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_59_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_05_3526.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_19_2659.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_26_6516.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_37_2607.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_40_2699.jpg
/home/pi/Desktop/images/03112025/21/38/image_03112025_21_38_59_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971929","1401971923","1401971931","1401971925","1401971927","1401971924"],"photo_ids_order":["1401971923","1401971924","1401971925","1401971927","1401971929","1401971931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c91f19655d2a6469da82004ddaadc93.jpg","text":"TemporaryFile(/tmp/multipartBody7628215966774823915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228134313,"filename":"image_03112025_21_38_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bc8c886696d8a134148d79c699efad0.jpg","text":"TemporaryFile(/tmp/multipartBody7462096329714502484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228134313,"filename":"image_03112025_21_38_05_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84b878bae271dcf3520a1093e1ff95f6.jpg","text":"TemporaryFile(/tmp/multipartBody1784529783565123564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228134313,"filename":"image_03112025_21_38_59_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb966988bd9d75efe17a9cd03bfafd3d.jpg","text":"TemporaryFile(/tmp/multipartBody9042425613037904037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228134313,"filename":"image_03112025_21_38_26_6516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bb8b8e09bb29302336f7c2bb6d60588.jpg","text":"TemporaryFile(/tmp/multipartBody8123747618557242520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228134313,"filename":"image_03112025_21_38_37_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/284f2e3c812153027c55b398b336b71f.jpg","text":"TemporaryFile(/tmp/multipartBody2629002829988070668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228134313,"filename":"image_03112025_21_38_19_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971925","file1":"1401971924","file0":"1401971923","file4":"1401971929","file5":"1401971931","file3":"1401971927"},"map_files_photo_id_array":[{"photo_id":"1401971931","filename":"file5"},{"photo_id":"1401971925","filename":"file2"},{"photo_id":"1401971929","filename":"file4"},{"photo_id":"1401971924","filename":"file1"},{"photo_id":"1401971923","filename":"file0"},{"photo_id":"1401971927","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971929":["hashtag1","hashtag2"]},{"1401971923":["hashtag1","hashtag2"]},{"1401971931":["hashtag1","hashtag2"]},{"1401971925":["hashtag1","hashtag2"]},{"1401971927":["hashtag1","hashtag2"]},{"1401971924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971929, 1401971923, 1401971931, 1401971925, 1401971927, 1401971924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38003873825073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:42:02.283865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_44_9853.jpg', '/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_54_9839.jpg', '/home/pi/Desktop/images/01012026/01/20/image_01012026_01_21_05_10542.jpg', '/home/pi/Desktop/images/01012026/01/21/image_01012026_01_21_14_9626.jpg', '/home/pi/Desktop/images/01012026/01/21/image_01012026_01_21_25_10635.jpg', '/home/pi/Desktop/images/01012026/01/21/image_01012026_01_21_35_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_44_9853.jpg
/home/pi/Desktop/images/01012026/01/20/image_01012026_01_20_54_9839.jpg
/home/pi/Desktop/images/01012026/01/20/image_01012026_01_21_05_10542.jpg
/home/pi/Desktop/images/01012026/01/21/image_01012026_01_21_14_9626.jpg
/home/pi/Desktop/images/01012026/01/21/image_01012026_01_21_25_10635.jpg
/home/pi/Desktop/images/01012026/01/21/image_01012026_01_21_35_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":["1401971943","1401971946","1401971945","1401971948","1401971950","1401971947"],"photo_ids_order":["1401971943","1401971945","1401971946","1401971947","1401971948","1401971950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5c6bb1a71f525ad65a9c0edeac7000b.jpg","text":"TemporaryFile(/tmp/multipartBody3587234314253134299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228182891,"filename":"image_01012026_01_20_44_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba64cb664d9553c4367e7c0ef0fb3812.jpg","text":"TemporaryFile(/tmp/multipartBody5278921737985774212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228182891,"filename":"image_01012026_01_21_05_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7709ba222dac4ec64d07ea9c6779cd9b.jpg","text":"TemporaryFile(/tmp/multipartBody1281454260096005646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228182891,"filename":"image_01012026_01_20_54_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb158f4e2ceedc6c4a28f22071fa2ec9.jpg","text":"TemporaryFile(/tmp/multipartBody7888317749109503346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228182891,"filename":"image_01012026_01_21_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcf64401967b96c98185395ca888fe57.jpg","text":"TemporaryFile(/tmp/multipartBody4566677457403961291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228182891,"filename":"image_01012026_01_21_35_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c6d93e148836809a21ca88663beafa0.jpg","text":"TemporaryFile(/tmp/multipartBody1238376597242895803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228182891,"filename":"image_01012026_01_21_14_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971946","file1":"1401971945","file0":"1401971943","file4":"1401971948","file5":"1401971950","file3":"1401971947"},"map_files_photo_id_array":[{"photo_id":"1401971950","filename":"file5"},{"photo_id":"1401971946","filename":"file2"},{"photo_id":"1401971948","filename":"file4"},{"photo_id":"1401971945","filename":"file1"},{"photo_id":"1401971943","filename":"file0"},{"photo_id":"1401971947","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971943":["hashtag1","hashtag2"]},{"1401971946":["hashtag1","hashtag2"]},{"1401971945":["hashtag1","hashtag2"]},{"1401971948":["hashtag1","hashtag2"]},{"1401971950":["hashtag1","hashtag2"]},{"1401971947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971943, 1401971946, 1401971945, 1401971948, 1401971950, 1401971947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.772364139556885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:42:41.889284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_11_2791.jpg', '/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_13_2646.jpg', '/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_16_2649.jpg', '/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_20_3719.jpg', '/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_53_3591.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_21_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/21/39/image_03112025_21_39_11_2791.jpg
/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_13_2646.jpg
/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_16_2649.jpg
/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_20_3719.jpg
/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_53_3591.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_21_1557.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.6605253219604492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:43:02.839864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/21/image_01012026_01_22_05_10656.jpg', '/home/pi/Desktop/images/01012026/01/22/image_01012026_01_22_15_9696.jpg', '/home/pi/Desktop/images/01012026/01/22/image_01012026_01_22_24_9620.jpg', '/home/pi/Desktop/images/01012026/01/22/image_01012026_01_22_35_10720.jpg', '/home/pi/Desktop/images/01012026/01/22/image_01012026_01_23_04_9795.jpg', '/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_15_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/21/image_01012026_01_22_05_10656.jpg
/home/pi/Desktop/images/01012026/01/22/image_01012026_01_22_15_9696.jpg
/home/pi/Desktop/images/01012026/01/22/image_01012026_01_22_24_9620.jpg
/home/pi/Desktop/images/01012026/01/22/image_01012026_01_22_35_10720.jpg
/home/pi/Desktop/images/01012026/01/22/image_01012026_01_23_04_9795.jpg
/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_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":["1401971967","1401971961","1401971964","1401971963","1401971962","1401971965"],"photo_ids_order":["1401971961","1401971962","1401971963","1401971964","1401971965","1401971967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf0638cef472179de95668b882c1e1f7.jpg","text":"TemporaryFile(/tmp/multipartBody5348973186991204152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228243481,"filename":"image_01012026_01_23_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/636edc4f362f101fcc36014ed1c5e4d2.jpg","text":"TemporaryFile(/tmp/multipartBody711426044964233208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228243481,"filename":"image_01012026_01_22_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/074cb2a43404fbd01fa3145554c480a8.jpg","text":"TemporaryFile(/tmp/multipartBody5662823477274319685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228243481,"filename":"image_01012026_01_22_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6bc1541e7009105dd017ec0f5dc3651.jpg","text":"TemporaryFile(/tmp/multipartBody6255791205363689657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228243481,"filename":"image_01012026_01_22_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/595a6d1ca557f2c788ab6f7f347bf587.jpg","text":"TemporaryFile(/tmp/multipartBody6720262316277485655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228243481,"filename":"image_01012026_01_22_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59f7078a59ce9a57100b1a0a401d152c.jpg","text":"TemporaryFile(/tmp/multipartBody6768664603431292146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228243481,"filename":"image_01012026_01_23_04_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971963","file1":"1401971962","file0":"1401971961","file4":"1401971965","file5":"1401971967","file3":"1401971964"},"map_files_photo_id_array":[{"photo_id":"1401971967","filename":"file5"},{"photo_id":"1401971963","filename":"file2"},{"photo_id":"1401971965","filename":"file4"},{"photo_id":"1401971962","filename":"file1"},{"photo_id":"1401971961","filename":"file0"},{"photo_id":"1401971964","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971967":["hashtag1","hashtag2"]},{"1401971961":["hashtag1","hashtag2"]},{"1401971964":["hashtag1","hashtag2"]},{"1401971963":["hashtag1","hashtag2"]},{"1401971962":["hashtag1","hashtag2"]},{"1401971965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971967, 1401971961, 1401971964, 1401971963, 1401971962, 1401971965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19434857368469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:43:42.121618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_11_2791.jpg', '/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_13_2646.jpg', '/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_16_2649.jpg', '/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_20_3719.jpg', '/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_53_3591.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_21_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/21/39/image_03112025_21_39_11_2791.jpg
/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_13_2646.jpg
/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_16_2649.jpg
/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_20_3719.jpg
/home/pi/Desktop/images/03112025/21/39/image_03112025_21_39_53_3591.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_21_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":["1401971976","1401971978","1401971972","1401971975","1401971974","1401971977"],"photo_ids_order":["1401971972","1401971974","1401971975","1401971976","1401971977","1401971978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db35412d48bd6560e466cd626a8a8948.jpg","text":"TemporaryFile(/tmp/multipartBody9065214516214848155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228283792,"filename":"image_03112025_21_39_20_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a53e6dc8b22bb8961e6ba76e0bfbbda.jpg","text":"TemporaryFile(/tmp/multipartBody4116499732215699793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228283792,"filename":"image_03112025_21_40_21_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc03f948aa42b5e83a008e7d0e7b0178.jpg","text":"TemporaryFile(/tmp/multipartBody4963817811237095384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228283792,"filename":"image_03112025_21_39_11_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b01b071b96731d638bf19d24233fd77.jpg","text":"TemporaryFile(/tmp/multipartBody8346752682770829951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228283792,"filename":"image_03112025_21_39_16_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae2a2de9d28c3c9c4f244c5c4b3afdf1.jpg","text":"TemporaryFile(/tmp/multipartBody5696458835547268354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228283792,"filename":"image_03112025_21_39_13_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd385ebab1ad5e41dbf15d979a7ee1df.jpg","text":"TemporaryFile(/tmp/multipartBody8952951098300218719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228283792,"filename":"image_03112025_21_39_53_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971975","file1":"1401971974","file0":"1401971972","file4":"1401971977","file5":"1401971978","file3":"1401971976"},"map_files_photo_id_array":[{"photo_id":"1401971978","filename":"file5"},{"photo_id":"1401971975","filename":"file2"},{"photo_id":"1401971977","filename":"file4"},{"photo_id":"1401971974","filename":"file1"},{"photo_id":"1401971972","filename":"file0"},{"photo_id":"1401971976","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401971976":["hashtag1","hashtag2"]},{"1401971978":["hashtag1","hashtag2"]},{"1401971972":["hashtag1","hashtag2"]},{"1401971975":["hashtag1","hashtag2"]},{"1401971974":["hashtag1","hashtag2"]},{"1401971977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401971976, 1401971978, 1401971972, 1401971975, 1401971974, 1401971977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18592929840088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:44:22.166489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_25_9853.jpg', '/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_34_9682.jpg', '/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_45_10622.jpg', '/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_55_9719.jpg', '/home/pi/Desktop/images/01012026/01/23/image_01012026_01_24_04_9662.jpg', '/home/pi/Desktop/images/01012026/01/24/image_01012026_01_24_15_10675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_25_9853.jpg
/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_34_9682.jpg
/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_45_10622.jpg
/home/pi/Desktop/images/01012026/01/23/image_01012026_01_23_55_9719.jpg
/home/pi/Desktop/images/01012026/01/23/image_01012026_01_24_04_9662.jpg
/home/pi/Desktop/images/01012026/01/24/image_01012026_01_24_15_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":["1401971991","1401971985","1401971982","1401971987","1401971989","1401971980"],"photo_ids_order":["1401971980","1401971982","1401971985","1401971987","1401971989","1401971991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/004f60f38eadd8fed8d5ae8ec3865d57.jpg","text":"TemporaryFile(/tmp/multipartBody6575371789703360184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228322728,"filename":"image_01012026_01_24_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e02024bf0f12b6a316ee504ff7fba7b0.jpg","text":"TemporaryFile(/tmp/multipartBody5856846705862818649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228322728,"filename":"image_01012026_01_23_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45993f4b28acf0b584584da5b9caf71d.jpg","text":"TemporaryFile(/tmp/multipartBody661752506952444102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228322728,"filename":"image_01012026_01_23_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39d0b2c1c8ac014eb43830dfd71ac266.jpg","text":"TemporaryFile(/tmp/multipartBody2966067877213813257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228322728,"filename":"image_01012026_01_23_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/035bf2de14a2a51922286ea14e112d5a.jpg","text":"TemporaryFile(/tmp/multipartBody7705773106715324911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228322728,"filename":"image_01012026_01_24_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67dc747e78cfff243dff3d3352cf8f76.jpg","text":"TemporaryFile(/tmp/multipartBody5841630477053651458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228322728,"filename":"image_01012026_01_23_25_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971985","file1":"1401971982","file0":"1401971980","file4":"1401971989","file5":"1401971991","file3":"1401971987"},"map_files_photo_id_array":[{"photo_id":"1401971991","filename":"file5"},{"photo_id":"1401971985","filename":"file2"},{"photo_id":"1401971989","filename":"file4"},{"photo_id":"1401971982","filename":"file1"},{"photo_id":"1401971980","filename":"file0"},{"photo_id":"1401971987","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971991":["hashtag1","hashtag2"]},{"1401971985":["hashtag1","hashtag2"]},{"1401971982":["hashtag1","hashtag2"]},{"1401971987":["hashtag1","hashtag2"]},{"1401971989":["hashtag1","hashtag2"]},{"1401971980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971991, 1401971985, 1401971982, 1401971987, 1401971989, 1401971980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97868728637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:45:03.130699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/24/image_01012026_01_24_25_9601.jpg', '/home/pi/Desktop/images/01012026/01/24/image_01012026_01_24_34_9620.jpg', '/home/pi/Desktop/images/01012026/01/24/image_01012026_01_24_54_9528.jpg', '/home/pi/Desktop/images/01012026/01/24/image_01012026_01_25_04_9697.jpg', '/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_15_10684.jpg', '/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_25_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/24/image_01012026_01_24_25_9601.jpg
/home/pi/Desktop/images/01012026/01/24/image_01012026_01_24_34_9620.jpg
/home/pi/Desktop/images/01012026/01/24/image_01012026_01_24_54_9528.jpg
/home/pi/Desktop/images/01012026/01/24/image_01012026_01_25_04_9697.jpg
/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_15_10684.jpg
/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_25_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401971997","1401971994","1401971996","1401971999","1401971993","1401971995"],"photo_ids_order":["1401971993","1401971994","1401971995","1401971996","1401971997","1401971999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa2de69dc444d2167a5a20ce6219122a.jpg","text":"TemporaryFile(/tmp/multipartBody6451447889097294772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228363843,"filename":"image_01012026_01_25_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5c2b9e0626a072adfe268ffee701e00.jpg","text":"TemporaryFile(/tmp/multipartBody8836871094518712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228363843,"filename":"image_01012026_01_24_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/518d8a154bef15c995ce40ff232a6674.jpg","text":"TemporaryFile(/tmp/multipartBody6310919065371575436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228363843,"filename":"image_01012026_01_25_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5497498986356b1a1f8fd6524bf4036.jpg","text":"TemporaryFile(/tmp/multipartBody1211720388386109104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228363843,"filename":"image_01012026_01_25_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5264e7e13c05e76c7000cc8e2601453.jpg","text":"TemporaryFile(/tmp/multipartBody466392466637408482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228363843,"filename":"image_01012026_01_24_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bab2ffa5bd1ff533209da57fd2e098e.jpg","text":"TemporaryFile(/tmp/multipartBody3177932086186747399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228363843,"filename":"image_01012026_01_24_54_9528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401971995","file1":"1401971994","file0":"1401971993","file4":"1401971997","file5":"1401971999","file3":"1401971996"},"map_files_photo_id_array":[{"photo_id":"1401971999","filename":"file5"},{"photo_id":"1401971995","filename":"file2"},{"photo_id":"1401971997","filename":"file4"},{"photo_id":"1401971994","filename":"file1"},{"photo_id":"1401971993","filename":"file0"},{"photo_id":"1401971996","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401971997":["hashtag1","hashtag2"]},{"1401971994":["hashtag1","hashtag2"]},{"1401971996":["hashtag1","hashtag2"]},{"1401971999":["hashtag1","hashtag2"]},{"1401971993":["hashtag1","hashtag2"]},{"1401971995":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401971997, 1401971994, 1401971996, 1401971999, 1401971993, 1401971995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.786755084991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:45:42.604944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_25_2723.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_28_2713.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_32_3557.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_34_2620.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_40_6002.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_42_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/21/40/image_03112025_21_40_25_2723.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_28_2713.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_32_3557.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_34_2620.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_40_6002.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_42_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":["1401972004","1401972006","1401972009","1401972008","1401972010","1401972007"],"photo_ids_order":["1401972004","1401972006","1401972007","1401972008","1401972009","1401972010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4426fd8f103aae6471d791644512dd63.jpg","text":"TemporaryFile(/tmp/multipartBody4253775546993626827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228404384,"filename":"image_03112025_21_40_25_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc215aa5038ad0190cd17e5a85351d06.jpg","text":"TemporaryFile(/tmp/multipartBody247822154702522796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228404384,"filename":"image_03112025_21_40_28_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dad2de96b1537dc3fc2bb6458ec3e5d.jpg","text":"TemporaryFile(/tmp/multipartBody6561356945196627449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228404384,"filename":"image_03112025_21_40_40_6002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/308f865b6e86c18575aaaf6848b15860.jpg","text":"TemporaryFile(/tmp/multipartBody3577319078764083842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228404384,"filename":"image_03112025_21_40_34_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb709ed68acad172c82af1fe977e42b6.jpg","text":"TemporaryFile(/tmp/multipartBody6254869591089086899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228404384,"filename":"image_03112025_21_40_42_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79978246df1f83211cb7fc0e1bda34b2.jpg","text":"TemporaryFile(/tmp/multipartBody3369149136966444141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228404384,"filename":"image_03112025_21_40_32_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972007","file1":"1401972006","file0":"1401972004","file4":"1401972009","file5":"1401972010","file3":"1401972008"},"map_files_photo_id_array":[{"photo_id":"1401972010","filename":"file5"},{"photo_id":"1401972007","filename":"file2"},{"photo_id":"1401972009","filename":"file4"},{"photo_id":"1401972006","filename":"file1"},{"photo_id":"1401972004","filename":"file0"},{"photo_id":"1401972008","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401972004":["hashtag1","hashtag2"]},{"1401972006":["hashtag1","hashtag2"]},{"1401972009":["hashtag1","hashtag2"]},{"1401972008":["hashtag1","hashtag2"]},{"1401972010":["hashtag1","hashtag2"]},{"1401972007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401972004, 1401972006, 1401972009, 1401972008, 1401972010, 1401972007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63908624649048 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:46:22.791052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_34_9722.jpg', '/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_45_10657.jpg', '/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_54_9587.jpg', '/home/pi/Desktop/images/01012026/01/25/image_01012026_01_26_04_9711.jpg', '/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_15_10639.jpg', '/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_25_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_34_9722.jpg
/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_45_10657.jpg
/home/pi/Desktop/images/01012026/01/25/image_01012026_01_25_54_9587.jpg
/home/pi/Desktop/images/01012026/01/25/image_01012026_01_26_04_9711.jpg
/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_15_10639.jpg
/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_25_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972012","1401972014","1401972017","1401972011","1401972019","1401972022"],"photo_ids_order":["1401972011","1401972012","1401972014","1401972017","1401972019","1401972022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/351ab3a147e79448c359db9a499dc490.jpg","text":"TemporaryFile(/tmp/multipartBody6955593490803276336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228443416,"filename":"image_01012026_01_25_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3c8166b8ebbc73bff3fff000de07a0f.jpg","text":"TemporaryFile(/tmp/multipartBody3853583987897732767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228443416,"filename":"image_01012026_01_25_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62852f6c34183c56dcfce6e7dd11ecd2.jpg","text":"TemporaryFile(/tmp/multipartBody27002900625288408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228443416,"filename":"image_01012026_01_26_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95b13639c4c34a272fdd4c1fa80dde7f.jpg","text":"TemporaryFile(/tmp/multipartBody6547438472109885066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228443416,"filename":"image_01012026_01_25_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9726119266814e745dd1600b993e895.jpg","text":"TemporaryFile(/tmp/multipartBody2288101075542317964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228443416,"filename":"image_01012026_01_26_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/490f7cf6133f1b0d605cf50653881e80.jpg","text":"TemporaryFile(/tmp/multipartBody5280350131265442722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228443416,"filename":"image_01012026_01_26_25_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972014","file1":"1401972012","file0":"1401972011","file4":"1401972019","file5":"1401972022","file3":"1401972017"},"map_files_photo_id_array":[{"photo_id":"1401972022","filename":"file5"},{"photo_id":"1401972014","filename":"file2"},{"photo_id":"1401972019","filename":"file4"},{"photo_id":"1401972012","filename":"file1"},{"photo_id":"1401972011","filename":"file0"},{"photo_id":"1401972017","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972012":["hashtag1","hashtag2"]},{"1401972014":["hashtag1","hashtag2"]},{"1401972017":["hashtag1","hashtag2"]},{"1401972011":["hashtag1","hashtag2"]},{"1401972019":["hashtag1","hashtag2"]},{"1401972022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972012, 1401972014, 1401972017, 1401972011, 1401972019, 1401972022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46280336380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:47:02.699989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_34_9612.jpg', '/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_45_10756.jpg', '/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_55_9978.jpg', '/home/pi/Desktop/images/01012026/01/26/image_01012026_01_27_05_10064.jpg', '/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_15_9607.jpg', '/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_24_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_34_9612.jpg
/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_45_10756.jpg
/home/pi/Desktop/images/01012026/01/26/image_01012026_01_26_55_9978.jpg
/home/pi/Desktop/images/01012026/01/26/image_01012026_01_27_05_10064.jpg
/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_15_9607.jpg
/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_24_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972030","1401972033","1401972027","1401972035","1401972029","1401972031"],"photo_ids_order":["1401972027","1401972029","1401972030","1401972031","1401972033","1401972035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e249eec4ba000c2264074030fed9c4db.jpg","text":"TemporaryFile(/tmp/multipartBody8510513484619062121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228483365,"filename":"image_01012026_01_26_55_9978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed26beeb87126b915202f1a1b04de29c.jpg","text":"TemporaryFile(/tmp/multipartBody3808840118218041859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228483365,"filename":"image_01012026_01_27_15_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f180243a10cfa84413ea22a8f67e99f0.jpg","text":"TemporaryFile(/tmp/multipartBody7306375971133247927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228483365,"filename":"image_01012026_01_26_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f811d013d28b727b59911a9b2f2932d.jpg","text":"TemporaryFile(/tmp/multipartBody3136681880439459601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228483365,"filename":"image_01012026_01_27_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c1155e479fe22f2101a867af83b1a89.jpg","text":"TemporaryFile(/tmp/multipartBody5449175958209074427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228483365,"filename":"image_01012026_01_26_45_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39304f25a10e88fbb3b50db48e470537.jpg","text":"TemporaryFile(/tmp/multipartBody6079344922943063932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228483365,"filename":"image_01012026_01_27_05_10064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972030","file1":"1401972029","file0":"1401972027","file4":"1401972033","file5":"1401972035","file3":"1401972031"},"map_files_photo_id_array":[{"photo_id":"1401972035","filename":"file5"},{"photo_id":"1401972030","filename":"file2"},{"photo_id":"1401972033","filename":"file4"},{"photo_id":"1401972029","filename":"file1"},{"photo_id":"1401972027","filename":"file0"},{"photo_id":"1401972031","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972030":["hashtag1","hashtag2"]},{"1401972033":["hashtag1","hashtag2"]},{"1401972027":["hashtag1","hashtag2"]},{"1401972035":["hashtag1","hashtag2"]},{"1401972029":["hashtag1","hashtag2"]},{"1401972031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972030, 1401972033, 1401972027, 1401972035, 1401972029, 1401972031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.090426206588745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:47:41.926533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_46_2630.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_50_3817.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_52_2575.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_55_2616.jpg', '/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_59_3624.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_01_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_46_2630.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_50_3817.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_52_2575.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_55_2616.jpg
/home/pi/Desktop/images/03112025/21/40/image_03112025_21_40_59_3624.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_01_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972042","1401972045","1401972044","1401972043","1401972046","1401972040"],"photo_ids_order":["1401972040","1401972042","1401972043","1401972044","1401972045","1401972046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2e0ad698dc0a7bab8164caf861ae36e.jpg","text":"TemporaryFile(/tmp/multipartBody7325820828954075538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228523698,"filename":"image_03112025_21_40_50_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cda1ed9841ca422154e097ace5158a5e.jpg","text":"TemporaryFile(/tmp/multipartBody5486756647380954343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228523698,"filename":"image_03112025_21_40_59_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35cc73fdae5cb65620aeeb1c609abdf8.jpg","text":"TemporaryFile(/tmp/multipartBody9218706694221530282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228523698,"filename":"image_03112025_21_40_55_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/675df883b7a37554d9aa7b72168552bb.jpg","text":"TemporaryFile(/tmp/multipartBody4553386382716525217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228523698,"filename":"image_03112025_21_40_52_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b16b0ed09bba40b44ce0bee2cb04947.jpg","text":"TemporaryFile(/tmp/multipartBody2759053389872735394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228523698,"filename":"image_03112025_21_41_01_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aea78184bc0813b9a248d7bd0dbf3537.jpg","text":"TemporaryFile(/tmp/multipartBody6119400683114170045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228523698,"filename":"image_03112025_21_40_46_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972043","file1":"1401972042","file0":"1401972040","file4":"1401972045","file5":"1401972046","file3":"1401972044"},"map_files_photo_id_array":[{"photo_id":"1401972046","filename":"file5"},{"photo_id":"1401972043","filename":"file2"},{"photo_id":"1401972045","filename":"file4"},{"photo_id":"1401972042","filename":"file1"},{"photo_id":"1401972040","filename":"file0"},{"photo_id":"1401972044","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401972042":["hashtag1","hashtag2"]},{"1401972045":["hashtag1","hashtag2"]},{"1401972044":["hashtag1","hashtag2"]},{"1401972043":["hashtag1","hashtag2"]},{"1401972046":["hashtag1","hashtag2"]},{"1401972040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401972042, 1401972045, 1401972044, 1401972043, 1401972046, 1401972040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57960319519043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:48:22.094598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_34_10145.jpg', '/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_44_9933.jpg', '/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_54_9772.jpg', '/home/pi/Desktop/images/01012026/01/27/image_01012026_01_28_05_10612.jpg', '/home/pi/Desktop/images/01012026/01/28/image_01012026_01_28_14_9713.jpg', '/home/pi/Desktop/images/01012026/01/28/image_01012026_01_29_04_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_34_10145.jpg
/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_44_9933.jpg
/home/pi/Desktop/images/01012026/01/27/image_01012026_01_27_54_9772.jpg
/home/pi/Desktop/images/01012026/01/27/image_01012026_01_28_05_10612.jpg
/home/pi/Desktop/images/01012026/01/28/image_01012026_01_28_14_9713.jpg
/home/pi/Desktop/images/01012026/01/28/image_01012026_01_29_04_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972057","1401972051","1401972059","1401972053","1401972055","1401972049"],"photo_ids_order":["1401972049","1401972051","1401972053","1401972055","1401972057","1401972059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66dc0810fad4c935551c7968374b24e4.jpg","text":"TemporaryFile(/tmp/multipartBody6654919077660962483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228562721,"filename":"image_01012026_01_28_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d76fc020521cb26882076312ed7296bc.jpg","text":"TemporaryFile(/tmp/multipartBody4873215790620375579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228562721,"filename":"image_01012026_01_27_44_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81c77098d0e9712c8b43a0c9554205d2.jpg","text":"TemporaryFile(/tmp/multipartBody8600197280103729339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228562721,"filename":"image_01012026_01_29_04_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb853b478c15a810f69e8ecccb5c2bca.jpg","text":"TemporaryFile(/tmp/multipartBody6705434604508561150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228562721,"filename":"image_01012026_01_27_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53287a555115ca270e4e8c1b910ed793.jpg","text":"TemporaryFile(/tmp/multipartBody493521351925490341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228562721,"filename":"image_01012026_01_28_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5b0f7b3f541ee31a5654a8ca7fbf5d1.jpg","text":"TemporaryFile(/tmp/multipartBody4410757308958694421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228562721,"filename":"image_01012026_01_27_34_10145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972053","file1":"1401972051","file0":"1401972049","file4":"1401972057","file5":"1401972059","file3":"1401972055"},"map_files_photo_id_array":[{"photo_id":"1401972059","filename":"file5"},{"photo_id":"1401972053","filename":"file2"},{"photo_id":"1401972057","filename":"file4"},{"photo_id":"1401972051","filename":"file1"},{"photo_id":"1401972049","filename":"file0"},{"photo_id":"1401972055","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972057":["hashtag1","hashtag2"]},{"1401972051":["hashtag1","hashtag2"]},{"1401972059":["hashtag1","hashtag2"]},{"1401972053":["hashtag1","hashtag2"]},{"1401972055":["hashtag1","hashtag2"]},{"1401972049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972057, 1401972051, 1401972059, 1401972053, 1401972055, 1401972049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76218295097351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:49:03.408124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/29/image_01012026_01_29_24_9656.jpg', '/home/pi/Desktop/images/01012026/01/29/image_01012026_01_29_34_9772.jpg', '/home/pi/Desktop/images/01012026/01/29/image_01012026_01_29_45_10610.jpg', '/home/pi/Desktop/images/01012026/01/29/image_01012026_01_29_55_9933.jpg', '/home/pi/Desktop/images/01012026/01/29/image_01012026_01_30_04_9629.jpg', '/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_14_10113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/29/image_01012026_01_29_24_9656.jpg
/home/pi/Desktop/images/01012026/01/29/image_01012026_01_29_34_9772.jpg
/home/pi/Desktop/images/01012026/01/29/image_01012026_01_29_45_10610.jpg
/home/pi/Desktop/images/01012026/01/29/image_01012026_01_29_55_9933.jpg
/home/pi/Desktop/images/01012026/01/29/image_01012026_01_30_04_9629.jpg
/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_14_10113.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972060","1401972063","1401972062","1401972065","1401972068","1401972061"],"photo_ids_order":["1401972060","1401972061","1401972062","1401972063","1401972065","1401972068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b64ee8c260836321f693d9d83a58f23f.jpg","text":"TemporaryFile(/tmp/multipartBody343409438219823656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228604129,"filename":"image_01012026_01_29_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39ecd904c9c658ef9fb579d653373cba.jpg","text":"TemporaryFile(/tmp/multipartBody977398776560009029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228604129,"filename":"image_01012026_01_29_55_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/474b5dff01f28cf1465cbff029f99088.jpg","text":"TemporaryFile(/tmp/multipartBody6788584881887412572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228604129,"filename":"image_01012026_01_29_45_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d008d712dff45104dface1cd983fc68c.jpg","text":"TemporaryFile(/tmp/multipartBody4728981820384697289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228604129,"filename":"image_01012026_01_30_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd30d152e2c77f1704ed8399f8f242e8.jpg","text":"TemporaryFile(/tmp/multipartBody5052879151960041076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228604129,"filename":"image_01012026_01_30_14_10113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db426e378922373b2ac517062a5c23d6.jpg","text":"TemporaryFile(/tmp/multipartBody5900761178311878758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228604129,"filename":"image_01012026_01_29_34_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972062","file1":"1401972061","file0":"1401972060","file4":"1401972065","file5":"1401972068","file3":"1401972063"},"map_files_photo_id_array":[{"photo_id":"1401972068","filename":"file5"},{"photo_id":"1401972062","filename":"file2"},{"photo_id":"1401972065","filename":"file4"},{"photo_id":"1401972061","filename":"file1"},{"photo_id":"1401972060","filename":"file0"},{"photo_id":"1401972063","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972060":["hashtag1","hashtag2"]},{"1401972063":["hashtag1","hashtag2"]},{"1401972062":["hashtag1","hashtag2"]},{"1401972065":["hashtag1","hashtag2"]},{"1401972068":["hashtag1","hashtag2"]},{"1401972061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972060, 1401972063, 1401972062, 1401972065, 1401972068, 1401972061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1719172000885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:49:42.298978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_05_3593.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_07_2648.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_14_3773.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_24_9958.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_25_1636.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_43_8968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_05_3593.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_07_2648.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_14_3773.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_24_9958.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_25_1636.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_43_8968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972075","1401972077","1401972074","1401972073","1401972076","1401972078"],"photo_ids_order":["1401972073","1401972074","1401972075","1401972076","1401972077","1401972078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4f1b33123045aa63df5901cfdab83d9.jpg","text":"TemporaryFile(/tmp/multipartBody6272828600751884596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228644056,"filename":"image_03112025_21_41_14_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8456a6b207baefaeb75d74fb6bfe0dd.jpg","text":"TemporaryFile(/tmp/multipartBody5788029589676569469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228644056,"filename":"image_03112025_21_41_25_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88a134bb9f3ecb15004261ba6e18b0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4703575959071913381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228644056,"filename":"image_03112025_21_41_07_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c70fdd904c75fd0f0aa8c27c4ddad2fa.jpg","text":"TemporaryFile(/tmp/multipartBody2093880733718608160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228644056,"filename":"image_03112025_21_41_05_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63e30a8666d3110be6c3b742dad4344c.jpg","text":"TemporaryFile(/tmp/multipartBody7009398926578850470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228644056,"filename":"image_03112025_21_41_24_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d70d15281a84eec5c41a0f9af899af0.jpg","text":"TemporaryFile(/tmp/multipartBody2292949234980477239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228644056,"filename":"image_03112025_21_41_43_8968.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972075","file1":"1401972074","file0":"1401972073","file4":"1401972077","file5":"1401972078","file3":"1401972076"},"map_files_photo_id_array":[{"photo_id":"1401972078","filename":"file5"},{"photo_id":"1401972075","filename":"file2"},{"photo_id":"1401972077","filename":"file4"},{"photo_id":"1401972074","filename":"file1"},{"photo_id":"1401972073","filename":"file0"},{"photo_id":"1401972076","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401972075":["hashtag1","hashtag2"]},{"1401972077":["hashtag1","hashtag2"]},{"1401972074":["hashtag1","hashtag2"]},{"1401972073":["hashtag1","hashtag2"]},{"1401972076":["hashtag1","hashtag2"]},{"1401972078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401972075, 1401972077, 1401972074, 1401972073, 1401972076, 1401972078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36583614349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:50:22.499703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_24_9684.jpg', '/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_34_10062.jpg', '/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_45_10682.jpg', '/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_55_9749.jpg', '/home/pi/Desktop/images/01012026/01/30/image_01012026_01_31_05_9868.jpg', '/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_14_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_24_9684.jpg
/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_34_10062.jpg
/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_45_10682.jpg
/home/pi/Desktop/images/01012026/01/30/image_01012026_01_30_55_9749.jpg
/home/pi/Desktop/images/01012026/01/30/image_01012026_01_31_05_9868.jpg
/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_14_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972087","1401972081","1401972089","1401972083","1401972091","1401972085"],"photo_ids_order":["1401972081","1401972083","1401972085","1401972087","1401972089","1401972091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca503a6c10dcb2b62f48d5de4047a0fc.jpg","text":"TemporaryFile(/tmp/multipartBody777541162952842741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228683093,"filename":"image_01012026_01_30_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/086484b3e5f2a491d331b928e769257c.jpg","text":"TemporaryFile(/tmp/multipartBody2870571669695628935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228683093,"filename":"image_01012026_01_30_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adcb03c25b98ddcd2639f47da5f92bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3861301020802974453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228683093,"filename":"image_01012026_01_31_05_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/737d4f63c97de061f65df7e49925e29e.jpg","text":"TemporaryFile(/tmp/multipartBody1632723843076010439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228683093,"filename":"image_01012026_01_30_34_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36dee51df8042041135c5a5a2fed8cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1580913760068777137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228683093,"filename":"image_01012026_01_31_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8475142d1e6567c0ec0f09655756470b.jpg","text":"TemporaryFile(/tmp/multipartBody406055683269314934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228683093,"filename":"image_01012026_01_30_45_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972085","file1":"1401972083","file0":"1401972081","file4":"1401972089","file5":"1401972091","file3":"1401972087"},"map_files_photo_id_array":[{"photo_id":"1401972091","filename":"file5"},{"photo_id":"1401972085","filename":"file2"},{"photo_id":"1401972089","filename":"file4"},{"photo_id":"1401972083","filename":"file1"},{"photo_id":"1401972081","filename":"file0"},{"photo_id":"1401972087","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972087":["hashtag1","hashtag2"]},{"1401972081":["hashtag1","hashtag2"]},{"1401972089":["hashtag1","hashtag2"]},{"1401972083":["hashtag1","hashtag2"]},{"1401972091":["hashtag1","hashtag2"]},{"1401972085":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972087, 1401972081, 1401972089, 1401972083, 1401972091, 1401972085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82949090003967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:51:03.337904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_25_10704.jpg', '/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_35_9912.jpg', '/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_44_9575.jpg', '/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_55_10659.jpg', '/home/pi/Desktop/images/01012026/01/31/image_01012026_01_32_05_9725.jpg', '/home/pi/Desktop/images/01012026/01/32/image_01012026_01_32_24_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_25_10704.jpg
/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_35_9912.jpg
/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_44_9575.jpg
/home/pi/Desktop/images/01012026/01/31/image_01012026_01_31_55_10659.jpg
/home/pi/Desktop/images/01012026/01/31/image_01012026_01_32_05_9725.jpg
/home/pi/Desktop/images/01012026/01/32/image_01012026_01_32_24_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":["1401972093","1401972095","1401972098","1401972092","1401972094","1401972096"],"photo_ids_order":["1401972092","1401972093","1401972094","1401972095","1401972096","1401972098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bebdc059787778480e7a4dc16313546f.jpg","text":"TemporaryFile(/tmp/multipartBody8548005132611297820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228723985,"filename":"image_01012026_01_31_35_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f5ad0595fe71c1a02b0f2554d4ecef4.jpg","text":"TemporaryFile(/tmp/multipartBody5557292360801084187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228723985,"filename":"image_01012026_01_31_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2874c9ac843c2e67fa5701e3af9f73da.jpg","text":"TemporaryFile(/tmp/multipartBody7030943947157090325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228723985,"filename":"image_01012026_01_32_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1f90fdd9c45c35ec3b3d4eff7711161.jpg","text":"TemporaryFile(/tmp/multipartBody7824630575496716408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228723985,"filename":"image_01012026_01_31_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02d1b1f335c0d1091279dc0b117b5fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7675212010920584710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228723985,"filename":"image_01012026_01_31_44_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29705505e714c9c60ee09dd8f0c2511b.jpg","text":"TemporaryFile(/tmp/multipartBody3074417617542671952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228723985,"filename":"image_01012026_01_32_05_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972094","file1":"1401972093","file0":"1401972092","file4":"1401972096","file5":"1401972098","file3":"1401972095"},"map_files_photo_id_array":[{"photo_id":"1401972098","filename":"file5"},{"photo_id":"1401972094","filename":"file2"},{"photo_id":"1401972096","filename":"file4"},{"photo_id":"1401972093","filename":"file1"},{"photo_id":"1401972092","filename":"file0"},{"photo_id":"1401972095","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972093":["hashtag1","hashtag2"]},{"1401972095":["hashtag1","hashtag2"]},{"1401972098":["hashtag1","hashtag2"]},{"1401972092":["hashtag1","hashtag2"]},{"1401972094":["hashtag1","hashtag2"]},{"1401972096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972093, 1401972095, 1401972098, 1401972092, 1401972094, 1401972096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70858860015869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:51:42.713634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_45_1661.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_47_1728.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_49_1879.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_50_1614.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_52_1567.jpg', '/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_54_1956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_45_1661.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_47_1728.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_49_1879.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_50_1614.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_52_1567.jpg
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_54_1956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972103","1401972105","1401972108","1401972107","1401972106","1401972109"],"photo_ids_order":["1401972103","1401972105","1401972106","1401972107","1401972108","1401972109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7099636a734656cd348726d1df21a5be.jpg","text":"TemporaryFile(/tmp/multipartBody5405582626822446047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228764459,"filename":"image_03112025_21_41_45_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e240fd65210d1eb91bcea150f57eafc.jpg","text":"TemporaryFile(/tmp/multipartBody2838226726242147174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228764459,"filename":"image_03112025_21_41_47_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e08566776aa7b8477626010569d96e62.jpg","text":"TemporaryFile(/tmp/multipartBody6544903952080386599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228764459,"filename":"image_03112025_21_41_52_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81c82ef837e7d250e64263edf3f4f736.jpg","text":"TemporaryFile(/tmp/multipartBody8793534672514413138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228764459,"filename":"image_03112025_21_41_50_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c46f350590a6cf111c8b4b0bf25ef2da.jpg","text":"TemporaryFile(/tmp/multipartBody1368193392341036387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228764459,"filename":"image_03112025_21_41_49_1879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b41b6bdc4eb817a95b875f37af550007.jpg","text":"TemporaryFile(/tmp/multipartBody3945243269856244451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228764459,"filename":"image_03112025_21_41_54_1956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972106","file1":"1401972105","file0":"1401972103","file4":"1401972108","file5":"1401972109","file3":"1401972107"},"map_files_photo_id_array":[{"photo_id":"1401972109","filename":"file5"},{"photo_id":"1401972106","filename":"file2"},{"photo_id":"1401972108","filename":"file4"},{"photo_id":"1401972105","filename":"file1"},{"photo_id":"1401972103","filename":"file0"},{"photo_id":"1401972107","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401972103":["hashtag1","hashtag2"]},{"1401972105":["hashtag1","hashtag2"]},{"1401972108":["hashtag1","hashtag2"]},{"1401972107":["hashtag1","hashtag2"]},{"1401972106":["hashtag1","hashtag2"]},{"1401972109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401972103, 1401972105, 1401972108, 1401972107, 1401972106, 1401972109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92993903160095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:52:21.878523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/32/image_01012026_01_32_35_10589.jpg', '/home/pi/Desktop/images/01012026/01/32/image_01012026_01_32_45_9638.jpg', '/home/pi/Desktop/images/01012026/01/32/image_01012026_01_32_54_9622.jpg', '/home/pi/Desktop/images/01012026/01/32/image_01012026_01_33_05_10779.jpg', '/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_15_9830.jpg', '/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_25_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/32/image_01012026_01_32_35_10589.jpg
/home/pi/Desktop/images/01012026/01/32/image_01012026_01_32_45_9638.jpg
/home/pi/Desktop/images/01012026/01/32/image_01012026_01_32_54_9622.jpg
/home/pi/Desktop/images/01012026/01/32/image_01012026_01_33_05_10779.jpg
/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_15_9830.jpg
/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_25_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":["1401972120","1401972117","1401972111","1401972113","1401972110","1401972115"],"photo_ids_order":["1401972110","1401972111","1401972113","1401972115","1401972117","1401972120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e4f06f48e7c68181705181212221e70.jpg","text":"TemporaryFile(/tmp/multipartBody1535984275041154467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228802469,"filename":"image_01012026_01_33_25_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef0a1349b458e8186eba775229251f58.jpg","text":"TemporaryFile(/tmp/multipartBody3650571008140204652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228802469,"filename":"image_01012026_01_33_15_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7efad4407077d8547e0fd17475235bdf.jpg","text":"TemporaryFile(/tmp/multipartBody3709406382355465970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228802469,"filename":"image_01012026_01_32_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47cb95e3c4251b3dd085b856dca55ced.jpg","text":"TemporaryFile(/tmp/multipartBody6039065658977379143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228802469,"filename":"image_01012026_01_32_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2403a15f82d2ac92924efb53ebc44d7.jpg","text":"TemporaryFile(/tmp/multipartBody3209981819190268858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228802469,"filename":"image_01012026_01_32_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/caf2a663353c7412dafdeab62a4a789d.jpg","text":"TemporaryFile(/tmp/multipartBody7835256380353680921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228802469,"filename":"image_01012026_01_33_05_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972113","file1":"1401972111","file0":"1401972110","file4":"1401972117","file5":"1401972120","file3":"1401972115"},"map_files_photo_id_array":[{"photo_id":"1401972120","filename":"file5"},{"photo_id":"1401972113","filename":"file2"},{"photo_id":"1401972117","filename":"file4"},{"photo_id":"1401972111","filename":"file1"},{"photo_id":"1401972110","filename":"file0"},{"photo_id":"1401972115","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972120":["hashtag1","hashtag2"]},{"1401972117":["hashtag1","hashtag2"]},{"1401972111":["hashtag1","hashtag2"]},{"1401972113":["hashtag1","hashtag2"]},{"1401972110":["hashtag1","hashtag2"]},{"1401972115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972120, 1401972117, 1401972111, 1401972113, 1401972110, 1401972115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4807403087616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:53:02.868985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_34_9621.jpg', '/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_45_10772.jpg', '/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_55_9660.jpg', '/home/pi/Desktop/images/01012026/01/33/image_01012026_01_34_04_9736.jpg', '/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_14_9772.jpg', '/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_24_10027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_34_9621.jpg
/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_45_10772.jpg
/home/pi/Desktop/images/01012026/01/33/image_01012026_01_33_55_9660.jpg
/home/pi/Desktop/images/01012026/01/33/image_01012026_01_34_04_9736.jpg
/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_14_9772.jpg
/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_24_10027.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972129","1401972126","1401972131","1401972128","1401972130","1401972133"],"photo_ids_order":["1401972126","1401972128","1401972129","1401972130","1401972131","1401972133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6eddd2200c2fff621835d84479d0ad11.jpg","text":"TemporaryFile(/tmp/multipartBody1879460360491349737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228843512,"filename":"image_01012026_01_33_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9870b2e4073af03bb18d2dd88bd79f94.jpg","text":"TemporaryFile(/tmp/multipartBody1826682669133119540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228843512,"filename":"image_01012026_01_33_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11dc6643d72c0e840137a1d14a2f7d2e.jpg","text":"TemporaryFile(/tmp/multipartBody694380821948726268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228843512,"filename":"image_01012026_01_34_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/710f8b3484f6ee3f5169d2008a9e8387.jpg","text":"TemporaryFile(/tmp/multipartBody1991846150129744714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228843512,"filename":"image_01012026_01_33_45_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e2c0aebaa39469f8adcf2a83cc874be.jpg","text":"TemporaryFile(/tmp/multipartBody1488497658299846361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228843512,"filename":"image_01012026_01_34_04_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc16117a40d7d95963cfebba46128fec.jpg","text":"TemporaryFile(/tmp/multipartBody3728631997905522638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228843512,"filename":"image_01012026_01_34_24_10027.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972129","file1":"1401972128","file0":"1401972126","file4":"1401972131","file5":"1401972133","file3":"1401972130"},"map_files_photo_id_array":[{"photo_id":"1401972133","filename":"file5"},{"photo_id":"1401972129","filename":"file2"},{"photo_id":"1401972131","filename":"file4"},{"photo_id":"1401972128","filename":"file1"},{"photo_id":"1401972126","filename":"file0"},{"photo_id":"1401972130","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972129":["hashtag1","hashtag2"]},{"1401972126":["hashtag1","hashtag2"]},{"1401972131":["hashtag1","hashtag2"]},{"1401972128":["hashtag1","hashtag2"]},{"1401972130":["hashtag1","hashtag2"]},{"1401972133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972129, 1401972126, 1401972131, 1401972128, 1401972130, 1401972133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04141163825989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:53:42.125207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_58_2859.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_04_2676.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_07_3692.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_13_2669.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_19_2576.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_33_14026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_58_2859.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_04_2676.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_07_3692.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_13_2669.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_19_2576.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_33_14026.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.6454973220825195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:54:02.923857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_35_10582.jpg', '/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_44_9658.jpg', '/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_54_9764.jpg', '/home/pi/Desktop/images/01012026/01/34/image_01012026_01_35_05_10619.jpg', '/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_14_9766.jpg', '/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_24_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_35_10582.jpg
/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_44_9658.jpg
/home/pi/Desktop/images/01012026/01/34/image_01012026_01_34_54_9764.jpg
/home/pi/Desktop/images/01012026/01/34/image_01012026_01_35_05_10619.jpg
/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_14_9766.jpg
/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_24_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":["1401972153","1401972147","1401972150","1401972149","1401972151","1401972148"],"photo_ids_order":["1401972147","1401972148","1401972149","1401972150","1401972151","1401972153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bec2cc2c978afe306461ad31b9a9403d.jpg","text":"TemporaryFile(/tmp/multipartBody7306085036257477451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228903577,"filename":"image_01012026_01_35_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da04dda1f6aaad44cfb75f3a6e99657d.jpg","text":"TemporaryFile(/tmp/multipartBody6314834985344208904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228903577,"filename":"image_01012026_01_34_35_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a62d78a19a5e4794634ab9a6fa2521a.jpg","text":"TemporaryFile(/tmp/multipartBody1306731183799873735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228903577,"filename":"image_01012026_01_35_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4b313d78f23e430cced5ad0985c4d3e.jpg","text":"TemporaryFile(/tmp/multipartBody4854760500074491855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228903577,"filename":"image_01012026_01_34_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0e3e011fa75914ea036160c7cf4e348.jpg","text":"TemporaryFile(/tmp/multipartBody6228631789683428897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228903577,"filename":"image_01012026_01_35_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/896d7ee19badd4bb25dc0464616b0950.jpg","text":"TemporaryFile(/tmp/multipartBody7768506975815059527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228903577,"filename":"image_01012026_01_34_44_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972149","file1":"1401972148","file0":"1401972147","file4":"1401972151","file5":"1401972153","file3":"1401972150"},"map_files_photo_id_array":[{"photo_id":"1401972153","filename":"file5"},{"photo_id":"1401972149","filename":"file2"},{"photo_id":"1401972151","filename":"file4"},{"photo_id":"1401972148","filename":"file1"},{"photo_id":"1401972147","filename":"file0"},{"photo_id":"1401972150","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972153":["hashtag1","hashtag2"]},{"1401972147":["hashtag1","hashtag2"]},{"1401972150":["hashtag1","hashtag2"]},{"1401972149":["hashtag1","hashtag2"]},{"1401972151":["hashtag1","hashtag2"]},{"1401972148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972153, 1401972147, 1401972150, 1401972149, 1401972151, 1401972148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43022418022156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:54:42.306744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_58_2859.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_04_2676.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_07_3692.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_13_2669.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_19_2576.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_33_14026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/41/image_03112025_21_41_58_2859.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_04_2676.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_07_3692.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_13_2669.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_19_2576.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_33_14026.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972162","1401972161","1401972164","1401972158","1401972160","1401972163"],"photo_ids_order":["1401972158","1401972160","1401972161","1401972162","1401972163","1401972164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d999054825283eb44ca9f5f4db6b170.jpg","text":"TemporaryFile(/tmp/multipartBody7323803508718899852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228943984,"filename":"image_03112025_21_42_13_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3296c928a830ba7aad5d6754bd227306.jpg","text":"TemporaryFile(/tmp/multipartBody4688905708120591393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228943984,"filename":"image_03112025_21_42_07_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8658604176501a64413354a2c9d33bec.jpg","text":"TemporaryFile(/tmp/multipartBody7146831768126186798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228943984,"filename":"image_03112025_21_42_33_14026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e78db951c0012fb03a1c8b3dab41d9d2.jpg","text":"TemporaryFile(/tmp/multipartBody4053296501550781942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228943984,"filename":"image_03112025_21_41_58_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cde335c7d85dec9f56bb1967c6dee86e.jpg","text":"TemporaryFile(/tmp/multipartBody4670974214637829958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228943984,"filename":"image_03112025_21_42_04_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f4462e4b7923e5529248fbdbaa34561.jpg","text":"TemporaryFile(/tmp/multipartBody1897987430025326223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228943984,"filename":"image_03112025_21_42_19_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972161","file1":"1401972160","file0":"1401972158","file4":"1401972163","file5":"1401972164","file3":"1401972162"},"map_files_photo_id_array":[{"photo_id":"1401972164","filename":"file5"},{"photo_id":"1401972161","filename":"file2"},{"photo_id":"1401972163","filename":"file4"},{"photo_id":"1401972160","filename":"file1"},{"photo_id":"1401972158","filename":"file0"},{"photo_id":"1401972162","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401972162":["hashtag1","hashtag2"]},{"1401972161":["hashtag1","hashtag2"]},{"1401972164":["hashtag1","hashtag2"]},{"1401972158":["hashtag1","hashtag2"]},{"1401972160":["hashtag1","hashtag2"]},{"1401972163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401972162, 1401972161, 1401972164, 1401972158, 1401972160, 1401972163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76972055435181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:55:22.500178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_35_10599.jpg', '/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_44_9680.jpg', '/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_54_9656.jpg', '/home/pi/Desktop/images/01012026/01/35/image_01012026_01_36_05_10698.jpg', '/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_14_9639.jpg', '/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_24_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_35_10599.jpg
/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_44_9680.jpg
/home/pi/Desktop/images/01012026/01/35/image_01012026_01_35_54_9656.jpg
/home/pi/Desktop/images/01012026/01/35/image_01012026_01_36_05_10698.jpg
/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_14_9639.jpg
/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_24_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":["1401972171","1401972165","1401972173","1401972167","1401972175","1401972169"],"photo_ids_order":["1401972165","1401972167","1401972169","1401972171","1401972173","1401972175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17917d5965b39281c087dc8abf55f12b.jpg","text":"TemporaryFile(/tmp/multipartBody830214870663206267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228983094,"filename":"image_01012026_01_36_05_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38833610bccb94d177c63cabd2abffe8.jpg","text":"TemporaryFile(/tmp/multipartBody4659892260176779657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228983094,"filename":"image_01012026_01_35_35_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0540e1180b920d53301224764b6d7eb.jpg","text":"TemporaryFile(/tmp/multipartBody1960975640177711128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228983094,"filename":"image_01012026_01_36_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1675c6218012966453a2bacfaacb76e9.jpg","text":"TemporaryFile(/tmp/multipartBody2562227088574831737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228983094,"filename":"image_01012026_01_35_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90bfe83fcf567e1ea69c64d32a32c13f.jpg","text":"TemporaryFile(/tmp/multipartBody3074506331481633190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228983094,"filename":"image_01012026_01_36_24_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/555505c9eea1978344de402a4c4d6ac2.jpg","text":"TemporaryFile(/tmp/multipartBody8956459507121649579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767228983094,"filename":"image_01012026_01_35_54_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972169","file1":"1401972167","file0":"1401972165","file4":"1401972173","file5":"1401972175","file3":"1401972171"},"map_files_photo_id_array":[{"photo_id":"1401972175","filename":"file5"},{"photo_id":"1401972169","filename":"file2"},{"photo_id":"1401972173","filename":"file4"},{"photo_id":"1401972167","filename":"file1"},{"photo_id":"1401972165","filename":"file0"},{"photo_id":"1401972171","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972171":["hashtag1","hashtag2"]},{"1401972165":["hashtag1","hashtag2"]},{"1401972173":["hashtag1","hashtag2"]},{"1401972167":["hashtag1","hashtag2"]},{"1401972175":["hashtag1","hashtag2"]},{"1401972169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972171, 1401972165, 1401972173, 1401972167, 1401972175, 1401972169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.412073373794556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:56:03.197781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_35_10647.jpg', '/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_45_9573.jpg', '/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_54_9641.jpg', '/home/pi/Desktop/images/01012026/01/36/image_01012026_01_37_05_10613.jpg', '/home/pi/Desktop/images/01012026/01/37/image_01012026_01_37_15_9771.jpg', '/home/pi/Desktop/images/01012026/01/37/image_01012026_01_37_24_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_35_10647.jpg
/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_45_9573.jpg
/home/pi/Desktop/images/01012026/01/36/image_01012026_01_36_54_9641.jpg
/home/pi/Desktop/images/01012026/01/36/image_01012026_01_37_05_10613.jpg
/home/pi/Desktop/images/01012026/01/37/image_01012026_01_37_15_9771.jpg
/home/pi/Desktop/images/01012026/01/37/image_01012026_01_37_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":["1401972180","1401972182","1401972185","1401972179","1401972178","1401972177"],"photo_ids_order":["1401972177","1401972178","1401972179","1401972180","1401972182","1401972185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffd8ffb87224501716301774fac6973f.jpg","text":"TemporaryFile(/tmp/multipartBody3583607983711073836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229023810,"filename":"image_01012026_01_37_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22258a87e531537cf4ca34b9700f7cb4.jpg","text":"TemporaryFile(/tmp/multipartBody8001480479712477381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229023810,"filename":"image_01012026_01_37_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/017dde438aae078e771230fc11df2d39.jpg","text":"TemporaryFile(/tmp/multipartBody2632605543793265289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229023810,"filename":"image_01012026_01_37_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6758a10e11fcfc906f44935e612317f0.jpg","text":"TemporaryFile(/tmp/multipartBody8840317585482749820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229023810,"filename":"image_01012026_01_36_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/652e0acc301aa8d9aeab0870af7a1026.jpg","text":"TemporaryFile(/tmp/multipartBody4639280543421881936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229023810,"filename":"image_01012026_01_36_45_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a2d9067984aaafaec5d4dadd68193c9.jpg","text":"TemporaryFile(/tmp/multipartBody8922163433642261023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229023810,"filename":"image_01012026_01_36_35_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972179","file1":"1401972178","file0":"1401972177","file4":"1401972182","file5":"1401972185","file3":"1401972180"},"map_files_photo_id_array":[{"photo_id":"1401972185","filename":"file5"},{"photo_id":"1401972179","filename":"file2"},{"photo_id":"1401972182","filename":"file4"},{"photo_id":"1401972178","filename":"file1"},{"photo_id":"1401972177","filename":"file0"},{"photo_id":"1401972180","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972180":["hashtag1","hashtag2"]},{"1401972182":["hashtag1","hashtag2"]},{"1401972185":["hashtag1","hashtag2"]},{"1401972179":["hashtag1","hashtag2"]},{"1401972178":["hashtag1","hashtag2"]},{"1401972177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972180, 1401972182, 1401972185, 1401972179, 1401972178, 1401972177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.429484367370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 01:56:42.789986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_36_3046.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_48_1506.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_50_1656.jpg', '/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_53_1609.jpg', '/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_16_1614.jpg', '/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_42_17201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_36_3046.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_48_1506.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_50_1656.jpg
/home/pi/Desktop/images/03112025/21/42/image_03112025_21_42_53_1609.jpg
/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_16_1614.jpg
/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_42_17201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972192","1401972194","1401972197","1401972190","1401972193","1401972195"],"photo_ids_order":["1401972190","1401972192","1401972193","1401972194","1401972195","1401972197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e6256c81be41494f7f458883d2c5572.jpg","text":"TemporaryFile(/tmp/multipartBody5076314398300685451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229064555,"filename":"image_03112025_21_42_48_1506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a806c890cae14d2c099e944e0bc27b54.jpg","text":"TemporaryFile(/tmp/multipartBody1685523436971373074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229064555,"filename":"image_03112025_21_42_53_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b64ba321e49949bd6a992d914e3abdc4.jpg","text":"TemporaryFile(/tmp/multipartBody6883384297753778995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229064555,"filename":"image_03112025_21_43_42_17201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0421a147b0eaa984e1638869df082fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1773455176549118952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229064555,"filename":"image_03112025_21_42_36_3046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55177154879ad93e89efb09980804a9e.jpg","text":"TemporaryFile(/tmp/multipartBody3263160943418745754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229064555,"filename":"image_03112025_21_42_50_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff9f17114660308fcba05896ad02d4c6.jpg","text":"TemporaryFile(/tmp/multipartBody6118058687193309832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229064555,"filename":"image_03112025_21_43_16_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972193","file1":"1401972192","file0":"1401972190","file4":"1401972195","file5":"1401972197","file3":"1401972194"},"map_files_photo_id_array":[{"photo_id":"1401972197","filename":"file5"},{"photo_id":"1401972193","filename":"file2"},{"photo_id":"1401972195","filename":"file4"},{"photo_id":"1401972192","filename":"file1"},{"photo_id":"1401972190","filename":"file0"},{"photo_id":"1401972194","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401972192":["hashtag1","hashtag2"]},{"1401972194":["hashtag1","hashtag2"]},{"1401972197":["hashtag1","hashtag2"]},{"1401972190":["hashtag1","hashtag2"]},{"1401972193":["hashtag1","hashtag2"]},{"1401972195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401972192, 1401972194, 1401972197, 1401972190, 1401972193, 1401972195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74920439720154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 01:57:21.978944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/37/image_01012026_01_37_45_10636.jpg', '/home/pi/Desktop/images/01012026/01/37/image_01012026_01_37_55_9653.jpg', '/home/pi/Desktop/images/01012026/01/37/image_01012026_01_38_04_9737.jpg', '/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_14_9763.jpg', '/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_25_10277.jpg', '/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_34_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/37/image_01012026_01_37_45_10636.jpg
/home/pi/Desktop/images/01012026/01/37/image_01012026_01_37_55_9653.jpg
/home/pi/Desktop/images/01012026/01/37/image_01012026_01_38_04_9737.jpg
/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_14_9763.jpg
/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_25_10277.jpg
/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_34_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401972201","1401972207","1401972203","1401972205","1401972208","1401972198"],"photo_ids_order":["1401972198","1401972201","1401972203","1401972205","1401972207","1401972208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52a3b6227a68956d3f359d86c5e4be52.jpg","text":"TemporaryFile(/tmp/multipartBody1928313231670769729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229102597,"filename":"image_01012026_01_37_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75f6ca44b690f08c710b888c3ccf7ff4.jpg","text":"TemporaryFile(/tmp/multipartBody8082856727363508546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229102597,"filename":"image_01012026_01_38_25_10277.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16d1916aa94823d9f9aff093ef4bb3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3364843803688078673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229102597,"filename":"image_01012026_01_38_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dd7124dd07ae878ca0b3ec682f1118d.jpg","text":"TemporaryFile(/tmp/multipartBody7088769476815634045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229102597,"filename":"image_01012026_01_38_14_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6502a3837aac2c301ff753eddd9d193.jpg","text":"TemporaryFile(/tmp/multipartBody6162278531304343773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229102597,"filename":"image_01012026_01_38_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee6d355d14f095d4a3f8aa6a35076561.jpg","text":"TemporaryFile(/tmp/multipartBody4745563467030958558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229102597,"filename":"image_01012026_01_37_45_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972203","file1":"1401972201","file0":"1401972198","file4":"1401972207","file5":"1401972208","file3":"1401972205"},"map_files_photo_id_array":[{"photo_id":"1401972208","filename":"file5"},{"photo_id":"1401972203","filename":"file2"},{"photo_id":"1401972207","filename":"file4"},{"photo_id":"1401972201","filename":"file1"},{"photo_id":"1401972198","filename":"file0"},{"photo_id":"1401972205","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972201":["hashtag1","hashtag2"]},{"1401972207":["hashtag1","hashtag2"]},{"1401972203":["hashtag1","hashtag2"]},{"1401972205":["hashtag1","hashtag2"]},{"1401972208":["hashtag1","hashtag2"]},{"1401972198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972201, 1401972207, 1401972203, 1401972205, 1401972208, 1401972198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98595380783081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 01:59:03.207387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_45_10672.jpg', '/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_54_9598.jpg', '/home/pi/Desktop/images/01012026/01/38/image_01012026_01_39_04_9682.jpg', '/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_15_10898.jpg', '/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_25_9602.jpg', '/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_35_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_45_10672.jpg
/home/pi/Desktop/images/01012026/01/38/image_01012026_01_38_54_9598.jpg
/home/pi/Desktop/images/01012026/01/38/image_01012026_01_39_04_9682.jpg
/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_15_10898.jpg
/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_25_9602.jpg
/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_35_10054.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":["1401972213","1401972210","1401972215","1401972223","1401972217","1401972220"],"photo_ids_order":["1401972210","1401972213","1401972215","1401972217","1401972220","1401972223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2166e2673506bc10c0c28347a39d1a5.jpg","text":"TemporaryFile(/tmp/multipartBody2914790999383413674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229204004,"filename":"image_01012026_01_38_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13cddef10f0d93d41d29fa9f455f2acc.jpg","text":"TemporaryFile(/tmp/multipartBody2224003653165810741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229204004,"filename":"image_01012026_01_38_45_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c7fa56d8bebebd687dcdad2fd26af8a.jpg","text":"TemporaryFile(/tmp/multipartBody4932214227012189312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229204004,"filename":"image_01012026_01_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/2026/1/1/5abfc119b3b827bafe46b7f72a378ca2.jpg","text":"TemporaryFile(/tmp/multipartBody5608683048114893991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229204004,"filename":"image_01012026_01_39_35_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a23f8265bcaea004bf09b8269f64e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3164654422028907987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229204004,"filename":"image_01012026_01_39_15_10898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce193d774052f26e5c0131bda2d5c0ca.jpg","text":"TemporaryFile(/tmp/multipartBody4032625287865362893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229204004,"filename":"image_01012026_01_39_25_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972215","file1":"1401972213","file0":"1401972210","file4":"1401972220","file5":"1401972223","file3":"1401972217"},"map_files_photo_id_array":[{"photo_id":"1401972223","filename":"file5"},{"photo_id":"1401972215","filename":"file2"},{"photo_id":"1401972220","filename":"file4"},{"photo_id":"1401972213","filename":"file1"},{"photo_id":"1401972210","filename":"file0"},{"photo_id":"1401972217","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972213":["hashtag1","hashtag2"]},{"1401972210":["hashtag1","hashtag2"]},{"1401972215":["hashtag1","hashtag2"]},{"1401972223":["hashtag1","hashtag2"]},{"1401972217":["hashtag1","hashtag2"]},{"1401972220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972213, 1401972210, 1401972215, 1401972223, 1401972217, 1401972220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.93747878074646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:00:02.779471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_44_9683.jpg', '/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_55_10266.jpg', '/home/pi/Desktop/images/01012026/01/39/image_01012026_01_40_04_9715.jpg', '/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_14_9814.jpg', '/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_24_9871.jpg', '/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_35_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_44_9683.jpg
/home/pi/Desktop/images/01012026/01/39/image_01012026_01_39_55_10266.jpg
/home/pi/Desktop/images/01012026/01/39/image_01012026_01_40_04_9715.jpg
/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_14_9814.jpg
/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_24_9871.jpg
/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_35_10758.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":["1401972750","1401972825","1401972600","1401972676","1401972499","1401972427"],"photo_ids_order":["1401972427","1401972499","1401972600","1401972676","1401972750","1401972825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3e5df226a5d71eb161bf230440e7814.jpg","text":"TemporaryFile(/tmp/multipartBody8921899930936623618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229263393,"filename":"image_01012026_01_40_24_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/445421d01e70588e50e8557b56a7453c.jpg","text":"TemporaryFile(/tmp/multipartBody4599460746949394072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229263393,"filename":"image_01012026_01_40_35_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5eba21fe332d2b0963459edcd18c1f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5270230159867182268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229263393,"filename":"image_01012026_01_40_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fc41ceab6683058a45b0763bd334b1a.jpg","text":"TemporaryFile(/tmp/multipartBody5355868385724889437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229263393,"filename":"image_01012026_01_40_14_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1aff13abf1fa9ca1fefecf8afaa35629.jpg","text":"TemporaryFile(/tmp/multipartBody2568276713576948984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229263393,"filename":"image_01012026_01_39_55_10266.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e473a08e15eb35966cdbc7e666d05f29.jpg","text":"TemporaryFile(/tmp/multipartBody3651855864053656544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229263393,"filename":"image_01012026_01_39_44_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401972600","file1":"1401972499","file0":"1401972427","file4":"1401972750","file5":"1401972825","file3":"1401972676"},"map_files_photo_id_array":[{"photo_id":"1401972825","filename":"file5"},{"photo_id":"1401972600","filename":"file2"},{"photo_id":"1401972750","filename":"file4"},{"photo_id":"1401972499","filename":"file1"},{"photo_id":"1401972427","filename":"file0"},{"photo_id":"1401972676","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401972750":["hashtag1","hashtag2"]},{"1401972825":["hashtag1","hashtag2"]},{"1401972600":["hashtag1","hashtag2"]},{"1401972676":["hashtag1","hashtag2"]},{"1401972499":["hashtag1","hashtag2"]},{"1401972427":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401972750, 1401972825, 1401972600, 1401972676, 1401972499, 1401972427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.898982524871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:01:03.266311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_45_9888.jpg', '/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_54_9692.jpg', '/home/pi/Desktop/images/01012026/01/40/image_01012026_01_41_04_9663.jpg', '/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_15_10724.jpg', '/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_24_9637.jpg', '/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_35_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_45_9888.jpg
/home/pi/Desktop/images/01012026/01/40/image_01012026_01_40_54_9692.jpg
/home/pi/Desktop/images/01012026/01/40/image_01012026_01_41_04_9663.jpg
/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_15_10724.jpg
/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_24_9637.jpg
/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_35_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":["1401973404","1401973477","1401973366","1401973327","1401973497","1401973441"],"photo_ids_order":["1401973327","1401973366","1401973404","1401973441","1401973477","1401973497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae03fe438c41ba3b1568fa943b409b41.jpg","text":"TemporaryFile(/tmp/multipartBody868430303872057827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229324358,"filename":"image_01012026_01_41_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5ea986036d2e4473eba1fb5bd72cb2a.jpg","text":"TemporaryFile(/tmp/multipartBody6807984008975363134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229324358,"filename":"image_01012026_01_41_24_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e34253cf314e3df99c26063f13a971cf.jpg","text":"TemporaryFile(/tmp/multipartBody472475209778651102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229324358,"filename":"image_01012026_01_40_54_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9abd99207503b6d5e99f471a6042369d.jpg","text":"TemporaryFile(/tmp/multipartBody7755148977289449211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229324358,"filename":"image_01012026_01_40_45_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cc562d0a03f1e81ade958af4cc08fe2.jpg","text":"TemporaryFile(/tmp/multipartBody4701161252455679492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229324358,"filename":"image_01012026_01_41_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f41d18579f80e2e8df6b6cbd2c313311.jpg","text":"TemporaryFile(/tmp/multipartBody8043538056324252080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229324358,"filename":"image_01012026_01_41_15_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401973404","file1":"1401973366","file0":"1401973327","file4":"1401973477","file5":"1401973497","file3":"1401973441"},"map_files_photo_id_array":[{"photo_id":"1401973497","filename":"file5"},{"photo_id":"1401973404","filename":"file2"},{"photo_id":"1401973477","filename":"file4"},{"photo_id":"1401973366","filename":"file1"},{"photo_id":"1401973327","filename":"file0"},{"photo_id":"1401973441","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401973404":["hashtag1","hashtag2"]},{"1401973477":["hashtag1","hashtag2"]},{"1401973366":["hashtag1","hashtag2"]},{"1401973327":["hashtag1","hashtag2"]},{"1401973497":["hashtag1","hashtag2"]},{"1401973441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401973404, 1401973477, 1401973366, 1401973327, 1401973497, 1401973441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34515380859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:01:42.679738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_43_1523.jpg', '/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_48_1578.jpg', '/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_50_1739.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_07_1529.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_08_1574.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_11_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_43_1523.jpg
/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_48_1578.jpg
/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_50_1739.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_07_1529.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_08_1574.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_11_1646.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.6457459926605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:02:02.238009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 02:02:11.844617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_43_1523.jpg', '/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_48_1578.jpg', '/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_50_1739.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_07_1529.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_08_1574.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_11_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_43_1523.jpg
/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_48_1578.jpg
/home/pi/Desktop/images/03112025/21/43/image_03112025_21_43_50_1739.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_07_1529.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_08_1574.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_11_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401974171","1401973809","1401973904","1401974035","1401973993","1401974104"],"photo_ids_order":["1401973809","1401973904","1401973993","1401974035","1401974104","1401974171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dd1d4c54874f88fc3b15cf34e4a417f.jpg","text":"TemporaryFile(/tmp/multipartBody5269808454382386502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229394361,"filename":"image_03112025_21_44_11_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/327ae4b87e905717821aa8d877047874.jpg","text":"TemporaryFile(/tmp/multipartBody3905298785173634760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229394361,"filename":"image_03112025_21_43_43_1523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f9460f5eae8953d91e9ef1085f22da5.jpg","text":"TemporaryFile(/tmp/multipartBody5295042708358260245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229394361,"filename":"image_03112025_21_43_48_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58c2628b2fa3b1a9e23ca271e805a46b.jpg","text":"TemporaryFile(/tmp/multipartBody4824621614789342011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229394361,"filename":"image_03112025_21_44_07_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4534ae15b454ddc82828d311d50cc05a.jpg","text":"TemporaryFile(/tmp/multipartBody9172777435537340661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229394361,"filename":"image_03112025_21_43_50_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23a20718a15c42378b3deb843570ab70.jpg","text":"TemporaryFile(/tmp/multipartBody6592429387564637496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229394361,"filename":"image_03112025_21_44_08_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401973993","file1":"1401973904","file0":"1401973809","file4":"1401974104","file5":"1401974171","file3":"1401974035"},"map_files_photo_id_array":[{"photo_id":"1401974171","filename":"file5"},{"photo_id":"1401973993","filename":"file2"},{"photo_id":"1401974104","filename":"file4"},{"photo_id":"1401973904","filename":"file1"},{"photo_id":"1401973809","filename":"file0"},{"photo_id":"1401974035","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401974171":["hashtag1","hashtag2"]},{"1401973809":["hashtag1","hashtag2"]},{"1401973904":["hashtag1","hashtag2"]},{"1401974035":["hashtag1","hashtag2"]},{"1401973993":["hashtag1","hashtag2"]},{"1401974104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401974171, 1401973809, 1401973904, 1401974035, 1401973993, 1401974104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43191409111023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:03:02.678103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 02:03:12.066300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_13_1630.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_19_2617.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_32_7064.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_35_1615.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_46_3190.jpg', '/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_52_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_13_1630.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_19_2617.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_32_7064.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_35_1615.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_46_3190.jpg
/home/pi/Desktop/images/03112025/21/44/image_03112025_21_44_52_2539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401974462","1401974465","1401974459","1401974482","1401974461","1401974518"],"photo_ids_order":["1401974459","1401974461","1401974462","1401974465","1401974482","1401974518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44dad5139bf63ed9e468861cf5de5975.jpg","text":"TemporaryFile(/tmp/multipartBody8810907291580727832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229453797,"filename":"image_03112025_21_44_32_7064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c631c3a2ed6e6648b5df475595e1a219.jpg","text":"TemporaryFile(/tmp/multipartBody2909322018966354715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229453797,"filename":"image_03112025_21_44_35_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23eea23fdef2e2bda7981b4be710ddcc.jpg","text":"TemporaryFile(/tmp/multipartBody5344743033312806965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229453797,"filename":"image_03112025_21_44_13_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7118586b683fe5b2c026ae311078593.jpg","text":"TemporaryFile(/tmp/multipartBody2260711007220053412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229453797,"filename":"image_03112025_21_44_46_3190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fffbb44eeda925e49e573d8b7db1cef.jpg","text":"TemporaryFile(/tmp/multipartBody144306179856860387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229453797,"filename":"image_03112025_21_44_19_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd0c2bb5a77cecc4055b364ab2dc2817.jpg","text":"TemporaryFile(/tmp/multipartBody3997506594729235424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229453797,"filename":"image_03112025_21_44_52_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401974462","file1":"1401974461","file0":"1401974459","file4":"1401974482","file5":"1401974518","file3":"1401974465"},"map_files_photo_id_array":[{"photo_id":"1401974518","filename":"file5"},{"photo_id":"1401974462","filename":"file2"},{"photo_id":"1401974482","filename":"file4"},{"photo_id":"1401974461","filename":"file1"},{"photo_id":"1401974459","filename":"file0"},{"photo_id":"1401974465","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401974462":["hashtag1","hashtag2"]},{"1401974465":["hashtag1","hashtag2"]},{"1401974459":["hashtag1","hashtag2"]},{"1401974482":["hashtag1","hashtag2"]},{"1401974461":["hashtag1","hashtag2"]},{"1401974518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401974462, 1401974465, 1401974459, 1401974482, 1401974461, 1401974518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64933800697327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:04:03.031166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_45_9534.jpg', '/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_54_9727.jpg', '/home/pi/Desktop/images/01012026/01/41/image_01012026_01_42_05_10578.jpg', '/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_15_9820.jpg', '/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_24_9664.jpg', '/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_45_9534.jpg
/home/pi/Desktop/images/01012026/01/41/image_01012026_01_41_54_9727.jpg
/home/pi/Desktop/images/01012026/01/41/image_01012026_01_42_05_10578.jpg
/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_15_9820.jpg
/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_24_9664.jpg
/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_34_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":["1401974669","1401974663","1401974665","1401974653","1401974667","1401974634"],"photo_ids_order":["1401974634","1401974653","1401974663","1401974665","1401974667","1401974669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65e0c4e6c14e1b12bb96321cd0d16f86.jpg","text":"TemporaryFile(/tmp/multipartBody6963531273150276619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229503726,"filename":"image_01012026_01_42_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b840baa63240fc7fff669248e00ed44.jpg","text":"TemporaryFile(/tmp/multipartBody4754068806886743176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229503726,"filename":"image_01012026_01_42_05_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d811f56f577811af18d6b15d092735cb.jpg","text":"TemporaryFile(/tmp/multipartBody4281136229742303764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229503726,"filename":"image_01012026_01_42_15_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbc100fb6dc0c5425007ed24e8b3b551.jpg","text":"TemporaryFile(/tmp/multipartBody7813898813738650253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229503726,"filename":"image_01012026_01_41_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0332eb63fa327f140f85905a6404f1b6.jpg","text":"TemporaryFile(/tmp/multipartBody1076168876629853395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229503726,"filename":"image_01012026_01_42_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3321519b6e18331d3c40d657b020206.jpg","text":"TemporaryFile(/tmp/multipartBody6583367576323841569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229503726,"filename":"image_01012026_01_41_45_9534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401974663","file1":"1401974653","file0":"1401974634","file4":"1401974667","file5":"1401974669","file3":"1401974665"},"map_files_photo_id_array":[{"photo_id":"1401974669","filename":"file5"},{"photo_id":"1401974663","filename":"file2"},{"photo_id":"1401974667","filename":"file4"},{"photo_id":"1401974653","filename":"file1"},{"photo_id":"1401974634","filename":"file0"},{"photo_id":"1401974665","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401974669":["hashtag1","hashtag2"]},{"1401974663":["hashtag1","hashtag2"]},{"1401974665":["hashtag1","hashtag2"]},{"1401974653":["hashtag1","hashtag2"]},{"1401974667":["hashtag1","hashtag2"]},{"1401974634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401974669, 1401974663, 1401974665, 1401974653, 1401974667, 1401974634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27742791175842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:04:42.399198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/45/image_03112025_21_45_04_2626.jpg', '/home/pi/Desktop/images/03112025/21/45/image_03112025_21_45_46_1543.jpg', '/home/pi/Desktop/images/03112025/21/45/image_03112025_21_45_55_1736.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_02_1933.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_03_1646.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_16_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/45/image_03112025_21_45_04_2626.jpg
/home/pi/Desktop/images/03112025/21/45/image_03112025_21_45_46_1543.jpg
/home/pi/Desktop/images/03112025/21/45/image_03112025_21_45_55_1736.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_02_1933.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_03_1646.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_16_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401975128","1401974894","1401974860","1401974821","1401975024","1401974778"],"photo_ids_order":["1401974778","1401974821","1401974860","1401974894","1401975024","1401975128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f56e4edef5f9bbdfbbbd81f8979df53.jpg","text":"TemporaryFile(/tmp/multipartBody9019183314832168244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229544154,"filename":"image_03112025_21_46_16_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c18813151f4b081399f83d5323f515f.jpg","text":"TemporaryFile(/tmp/multipartBody4355389321724865643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229544154,"filename":"image_03112025_21_46_02_1933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d8172e4be7be5cd60f07a3e6e7b6a9d.jpg","text":"TemporaryFile(/tmp/multipartBody8210969652262473489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229544154,"filename":"image_03112025_21_45_55_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d8ea408ecb299be26aff911afc905f4.jpg","text":"TemporaryFile(/tmp/multipartBody3997952658406339400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229544154,"filename":"image_03112025_21_45_46_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c9109d02511812ad69af1d9fc38a216.jpg","text":"TemporaryFile(/tmp/multipartBody7086709086713386140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229544154,"filename":"image_03112025_21_46_03_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8a312ef26245c249b8b9ced63b76736.jpg","text":"TemporaryFile(/tmp/multipartBody4455598368707972795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229544154,"filename":"image_03112025_21_45_04_2626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401974860","file1":"1401974821","file0":"1401974778","file4":"1401975024","file5":"1401975128","file3":"1401974894"},"map_files_photo_id_array":[{"photo_id":"1401975128","filename":"file5"},{"photo_id":"1401974860","filename":"file2"},{"photo_id":"1401975024","filename":"file4"},{"photo_id":"1401974821","filename":"file1"},{"photo_id":"1401974778","filename":"file0"},{"photo_id":"1401974894","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401975128":["hashtag1","hashtag2"]},{"1401974894":["hashtag1","hashtag2"]},{"1401974860":["hashtag1","hashtag2"]},{"1401974821":["hashtag1","hashtag2"]},{"1401975024":["hashtag1","hashtag2"]},{"1401974778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401975128, 1401974894, 1401974860, 1401974821, 1401975024, 1401974778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17927122116089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:05:22.943539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_45_10660.jpg', '/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_55_9775.jpg', '/home/pi/Desktop/images/01012026/01/42/image_01012026_01_43_04_9684.jpg', '/home/pi/Desktop/images/01012026/01/43/image_01012026_01_43_15_10767.jpg', '/home/pi/Desktop/images/01012026/01/43/image_01012026_01_43_25_9717.jpg', '/home/pi/Desktop/images/01012026/01/43/image_01012026_01_43_44_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_45_10660.jpg
/home/pi/Desktop/images/01012026/01/42/image_01012026_01_42_55_9775.jpg
/home/pi/Desktop/images/01012026/01/42/image_01012026_01_43_04_9684.jpg
/home/pi/Desktop/images/01012026/01/43/image_01012026_01_43_15_10767.jpg
/home/pi/Desktop/images/01012026/01/43/image_01012026_01_43_25_9717.jpg
/home/pi/Desktop/images/01012026/01/43/image_01012026_01_43_44_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":["1401975760","1401975931","1401975649","1401975933","1401975861","1401975537"],"photo_ids_order":["1401975537","1401975649","1401975760","1401975861","1401975931","1401975933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e42e44892cf745b61a811c63e30ac83.jpg","text":"TemporaryFile(/tmp/multipartBody2441439774587067315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229583531,"filename":"image_01012026_01_43_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec7727ded8b21579c992a381db490565.jpg","text":"TemporaryFile(/tmp/multipartBody1266124476799711131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229583531,"filename":"image_01012026_01_43_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a536e32a448bec223b77d187a9b2f45.jpg","text":"TemporaryFile(/tmp/multipartBody3866526607665838862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229583531,"filename":"image_01012026_01_42_55_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ae2bd2460745690ae5263462980fe8a.jpg","text":"TemporaryFile(/tmp/multipartBody622373102202705445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229583531,"filename":"image_01012026_01_43_44_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ef324b3e3b7a159407fa37a3671d495.jpg","text":"TemporaryFile(/tmp/multipartBody2565063412304892464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229583531,"filename":"image_01012026_01_43_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83324d59c60a43a4ce552f070ef507e1.jpg","text":"TemporaryFile(/tmp/multipartBody5055009610088105596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229583531,"filename":"image_01012026_01_42_45_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401975760","file1":"1401975649","file0":"1401975537","file4":"1401975931","file5":"1401975933","file3":"1401975861"},"map_files_photo_id_array":[{"photo_id":"1401975933","filename":"file5"},{"photo_id":"1401975760","filename":"file2"},{"photo_id":"1401975931","filename":"file4"},{"photo_id":"1401975649","filename":"file1"},{"photo_id":"1401975537","filename":"file0"},{"photo_id":"1401975861","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401975760":["hashtag1","hashtag2"]},{"1401975931":["hashtag1","hashtag2"]},{"1401975649":["hashtag1","hashtag2"]},{"1401975933":["hashtag1","hashtag2"]},{"1401975861":["hashtag1","hashtag2"]},{"1401975537":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401975760, 1401975931, 1401975649, 1401975933, 1401975861, 1401975537)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.714956760406494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:06:19.435339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_19_2770.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_24_2590.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_28_3677.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_31_2673.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_37_3672.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_40_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_19_2770.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_24_2590.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_28_3677.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_31_2673.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_37_3672.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_40_2525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976120","1401976164","1401975975","1401976121","1401976151","1401976078"],"photo_ids_order":["1401975975","1401976078","1401976120","1401976121","1401976151","1401976164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbb6d665c5c651aff58c90cba9f48a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2367843198029750454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229641094,"filename":"image_03112025_21_46_28_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d5a4a8bf1fd6eb997b860d63da03d26.jpg","text":"TemporaryFile(/tmp/multipartBody4206028857542113954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229641094,"filename":"image_03112025_21_46_40_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/024ab5ca9cec5f3ad3b56cddc5ef7773.jpg","text":"TemporaryFile(/tmp/multipartBody682085151301145666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229641094,"filename":"image_03112025_21_46_19_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b443093e99a06848aa08b76d7de2084.jpg","text":"TemporaryFile(/tmp/multipartBody7534515537193347288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229641094,"filename":"image_03112025_21_46_31_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ab9edd60a6c6bdc2c9963bef7d8bdb1.jpg","text":"TemporaryFile(/tmp/multipartBody1526705481438477186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229641094,"filename":"image_03112025_21_46_37_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d5dac24e58c888da98fa54f7afc0fb6.jpg","text":"TemporaryFile(/tmp/multipartBody8716334132946050720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229641094,"filename":"image_03112025_21_46_24_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976120","file1":"1401976078","file0":"1401975975","file4":"1401976151","file5":"1401976164","file3":"1401976121"},"map_files_photo_id_array":[{"photo_id":"1401976164","filename":"file5"},{"photo_id":"1401976120","filename":"file2"},{"photo_id":"1401976151","filename":"file4"},{"photo_id":"1401976078","filename":"file1"},{"photo_id":"1401975975","filename":"file0"},{"photo_id":"1401976121","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976120":["hashtag1","hashtag2"]},{"1401976164":["hashtag1","hashtag2"]},{"1401975975":["hashtag1","hashtag2"]},{"1401976121":["hashtag1","hashtag2"]},{"1401976151":["hashtag1","hashtag2"]},{"1401976078":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976120, 1401976164, 1401975975, 1401976121, 1401976151, 1401976078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.377018213272095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:07:03.126904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/43/image_01012026_01_43_55_10809.jpg', '/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_14_9725.jpg', '/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_25_10656.jpg', '/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_36_11510.jpg', '/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_44_7865.jpg', '/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_55_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/43/image_01012026_01_43_55_10809.jpg
/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_14_9725.jpg
/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_25_10656.jpg
/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_36_11510.jpg
/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_44_7865.jpg
/home/pi/Desktop/images/01012026/01/44/image_01012026_01_44_55_10625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976225","1401976228","1401976230","1401976227","1401976229","1401976232"],"photo_ids_order":["1401976225","1401976227","1401976228","1401976229","1401976230","1401976232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e65a087989264add81210e21925048a.jpg","text":"TemporaryFile(/tmp/multipartBody3972277794571055908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229683781,"filename":"image_01012026_01_43_55_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9026aaf6a5bf83dabb1ed8bd18f3caa.jpg","text":"TemporaryFile(/tmp/multipartBody7565814318795953790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229683781,"filename":"image_01012026_01_44_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1208ad54e4fe0a6c93b972dbdadc3ad3.jpg","text":"TemporaryFile(/tmp/multipartBody2421621842424161163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229683781,"filename":"image_01012026_01_44_44_7865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5970ba0740437c1e456612941572216.jpg","text":"TemporaryFile(/tmp/multipartBody5231777781891762129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229683781,"filename":"image_01012026_01_44_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/024f495e2e04e14cd5858afa7c58c74c.jpg","text":"TemporaryFile(/tmp/multipartBody2007216317658809531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229683781,"filename":"image_01012026_01_44_36_11510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1a503baab8c2810b190e84a0257ea33.jpg","text":"TemporaryFile(/tmp/multipartBody768583747142237113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229683781,"filename":"image_01012026_01_44_55_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976228","file1":"1401976227","file0":"1401976225","file4":"1401976230","file5":"1401976232","file3":"1401976229"},"map_files_photo_id_array":[{"photo_id":"1401976232","filename":"file5"},{"photo_id":"1401976228","filename":"file2"},{"photo_id":"1401976230","filename":"file4"},{"photo_id":"1401976227","filename":"file1"},{"photo_id":"1401976225","filename":"file0"},{"photo_id":"1401976229","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976225":["hashtag1","hashtag2"]},{"1401976228":["hashtag1","hashtag2"]},{"1401976230":["hashtag1","hashtag2"]},{"1401976227":["hashtag1","hashtag2"]},{"1401976229":["hashtag1","hashtag2"]},{"1401976232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976225, 1401976228, 1401976230, 1401976227, 1401976229, 1401976232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.881365060806274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:07:42.595234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_43_3358.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_55_1590.jpg', '/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_58_1538.jpg', '/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_12_2588.jpg', '/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_16_3564.jpg', '/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_25_3655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_43_3358.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_55_1590.jpg
/home/pi/Desktop/images/03112025/21/46/image_03112025_21_46_58_1538.jpg
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_12_2588.jpg
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_16_3564.jpg
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_25_3655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976243","1401976240","1401976237","1401976242","1401976239","1401976241"],"photo_ids_order":["1401976237","1401976239","1401976240","1401976241","1401976242","1401976243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1245584174817ec8ef7597d9d278266c.jpg","text":"TemporaryFile(/tmp/multipartBody8787370470299681221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229724373,"filename":"image_03112025_21_48_25_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d70b98ce5a1cd764c9450d75dc79db8.jpg","text":"TemporaryFile(/tmp/multipartBody3466910689713565743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229724373,"filename":"image_03112025_21_46_58_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4d7aa77cb8a1ddce69444d82d7f0460.jpg","text":"TemporaryFile(/tmp/multipartBody1701065575753586463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229724373,"filename":"image_03112025_21_46_43_3358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ace445bfd0e0a8d24736ddd3e57ce1e.jpg","text":"TemporaryFile(/tmp/multipartBody3702744394323362467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229724373,"filename":"image_03112025_21_48_16_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/726b448ad6d0b5e2680d96f598673796.jpg","text":"TemporaryFile(/tmp/multipartBody7458145959596904410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229724373,"filename":"image_03112025_21_46_55_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/215efff2be8974c9ac6d96830ed91db8.jpg","text":"TemporaryFile(/tmp/multipartBody143757390244912945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229724373,"filename":"image_03112025_21_48_12_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976240","file1":"1401976239","file0":"1401976237","file4":"1401976242","file5":"1401976243","file3":"1401976241"},"map_files_photo_id_array":[{"photo_id":"1401976243","filename":"file5"},{"photo_id":"1401976240","filename":"file2"},{"photo_id":"1401976242","filename":"file4"},{"photo_id":"1401976239","filename":"file1"},{"photo_id":"1401976237","filename":"file0"},{"photo_id":"1401976241","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976243":["hashtag1","hashtag2"]},{"1401976240":["hashtag1","hashtag2"]},{"1401976237":["hashtag1","hashtag2"]},{"1401976242":["hashtag1","hashtag2"]},{"1401976239":["hashtag1","hashtag2"]},{"1401976241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976243, 1401976240, 1401976237, 1401976242, 1401976239, 1401976241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6500928401947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:08:22.692685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/44/image_01012026_01_45_04_9424.jpg', '/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_15_10691.jpg', '/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_25_10009.jpg', '/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_35_9686.jpg', '/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_44_9674.jpg', '/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_54_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/44/image_01012026_01_45_04_9424.jpg
/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_15_10691.jpg
/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_25_10009.jpg
/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_35_9686.jpg
/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_44_9674.jpg
/home/pi/Desktop/images/01012026/01/45/image_01012026_01_45_54_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":["1401976252","1401976246","1401976255","1401976247","1401976250","1401976244"],"photo_ids_order":["1401976244","1401976246","1401976247","1401976250","1401976252","1401976255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9abf80d6cd6d2f8ed8c2734d43f1be99.jpg","text":"TemporaryFile(/tmp/multipartBody1709984510274721071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229763258,"filename":"image_01012026_01_45_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b966f954bced363a02c2468a8d83e7c7.jpg","text":"TemporaryFile(/tmp/multipartBody7147848710968382764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229763258,"filename":"image_01012026_01_45_15_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5286fa2192dc10f7dd82239768d78492.jpg","text":"TemporaryFile(/tmp/multipartBody6995667588285216926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229763258,"filename":"image_01012026_01_45_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27c8e1d52dbb6d18ad7963893d4a2a84.jpg","text":"TemporaryFile(/tmp/multipartBody174809873525700180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229763258,"filename":"image_01012026_01_45_25_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee996dcc8853d01fba1c0b2f4c6036de.jpg","text":"TemporaryFile(/tmp/multipartBody1442707726376792689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229763258,"filename":"image_01012026_01_45_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a079f7e4de88b4a456be66d2bfa6da65.jpg","text":"TemporaryFile(/tmp/multipartBody3909104890004046554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229763258,"filename":"image_01012026_01_45_04_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976247","file1":"1401976246","file0":"1401976244","file4":"1401976252","file5":"1401976255","file3":"1401976250"},"map_files_photo_id_array":[{"photo_id":"1401976255","filename":"file5"},{"photo_id":"1401976247","filename":"file2"},{"photo_id":"1401976252","filename":"file4"},{"photo_id":"1401976246","filename":"file1"},{"photo_id":"1401976244","filename":"file0"},{"photo_id":"1401976250","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976252":["hashtag1","hashtag2"]},{"1401976246":["hashtag1","hashtag2"]},{"1401976255":["hashtag1","hashtag2"]},{"1401976247":["hashtag1","hashtag2"]},{"1401976250":["hashtag1","hashtag2"]},{"1401976244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976252, 1401976246, 1401976255, 1401976247, 1401976250, 1401976244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14925003051758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:09:02.841032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/45/image_01012026_01_46_05_10748.jpg', '/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_14_9641.jpg', '/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_24_9852.jpg', '/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_34_9773.jpg', '/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_45_10811.jpg', '/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_55_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/45/image_01012026_01_46_05_10748.jpg
/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_14_9641.jpg
/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_24_9852.jpg
/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_34_9773.jpg
/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_45_10811.jpg
/home/pi/Desktop/images/01012026/01/46/image_01012026_01_46_55_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":["1401976264","1401976267","1401976260","1401976263","1401976265","1401976262"],"photo_ids_order":["1401976260","1401976262","1401976263","1401976264","1401976265","1401976267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c968aa27b77251b9ac9b8ad7d21369d6.jpg","text":"TemporaryFile(/tmp/multipartBody4778234256196733335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229803647,"filename":"image_01012026_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/2026/1/1/9bbef067a5df3a92a377ec8aababc877.jpg","text":"TemporaryFile(/tmp/multipartBody6688903738728250074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229803647,"filename":"image_01012026_01_46_55_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a1b2a4960344ad2548c4a4d89991cd8.jpg","text":"TemporaryFile(/tmp/multipartBody1220711099831808894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229803647,"filename":"image_01012026_01_46_05_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c00ec6348ea10f17e000a71fabccd619.jpg","text":"TemporaryFile(/tmp/multipartBody5343230449202314938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229803647,"filename":"image_01012026_01_46_24_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/596ef9aedb59499d12dd8115aa31cb18.jpg","text":"TemporaryFile(/tmp/multipartBody6710931575845286440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229803647,"filename":"image_01012026_01_46_45_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2846af2d30873d245d701a75506b0e5f.jpg","text":"TemporaryFile(/tmp/multipartBody1059465360333128305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229803647,"filename":"image_01012026_01_46_14_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976263","file1":"1401976262","file0":"1401976260","file4":"1401976265","file5":"1401976267","file3":"1401976264"},"map_files_photo_id_array":[{"photo_id":"1401976267","filename":"file5"},{"photo_id":"1401976263","filename":"file2"},{"photo_id":"1401976265","filename":"file4"},{"photo_id":"1401976262","filename":"file1"},{"photo_id":"1401976260","filename":"file0"},{"photo_id":"1401976264","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976264":["hashtag1","hashtag2"]},{"1401976267":["hashtag1","hashtag2"]},{"1401976260":["hashtag1","hashtag2"]},{"1401976263":["hashtag1","hashtag2"]},{"1401976265":["hashtag1","hashtag2"]},{"1401976262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976264, 1401976267, 1401976260, 1401976263, 1401976265, 1401976262)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.68131113052368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:10:02.764641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/46/image_01012026_01_47_04_9721.jpg', '/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_14_9783.jpg', '/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_25_10691.jpg', '/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_34_9576.jpg', '/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_45_10546.jpg', '/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_55_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/46/image_01012026_01_47_04_9721.jpg
/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_14_9783.jpg
/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_25_10691.jpg
/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_34_9576.jpg
/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_45_10546.jpg
/home/pi/Desktop/images/01012026/01/47/image_01012026_01_47_55_9769.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":["1401976273","1401976275","1401976278","1401976280","1401976274","1401976276"],"photo_ids_order":["1401976273","1401976274","1401976275","1401976276","1401976278","1401976280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4c23ae23bbdd031060b046de60cc115.jpg","text":"TemporaryFile(/tmp/multipartBody3326843007629776497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229866025,"filename":"image_01012026_01_47_04_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5bab420de01ae2a314403734df33113.jpg","text":"TemporaryFile(/tmp/multipartBody2911799321941111468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229866025,"filename":"image_01012026_01_47_25_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdd745e4fe56f2773a665f83b2235db5.jpg","text":"TemporaryFile(/tmp/multipartBody3727798605187654915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229866025,"filename":"image_01012026_01_47_45_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6105a8c2cf670504d8529a4a80695cf.jpg","text":"TemporaryFile(/tmp/multipartBody4947990703098498855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229866025,"filename":"image_01012026_01_47_55_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2e22f64feaee363facfcc60dcd36369.jpg","text":"TemporaryFile(/tmp/multipartBody4642158721475130579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229866025,"filename":"image_01012026_01_47_14_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b041aa91728564db212ed2d0fd255a0.jpg","text":"TemporaryFile(/tmp/multipartBody1607532482307369676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229866025,"filename":"image_01012026_01_47_34_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976275","file1":"1401976274","file0":"1401976273","file4":"1401976278","file5":"1401976280","file3":"1401976276"},"map_files_photo_id_array":[{"photo_id":"1401976280","filename":"file5"},{"photo_id":"1401976275","filename":"file2"},{"photo_id":"1401976278","filename":"file4"},{"photo_id":"1401976274","filename":"file1"},{"photo_id":"1401976273","filename":"file0"},{"photo_id":"1401976276","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976273":["hashtag1","hashtag2"]},{"1401976275":["hashtag1","hashtag2"]},{"1401976278":["hashtag1","hashtag2"]},{"1401976280":["hashtag1","hashtag2"]},{"1401976274":["hashtag1","hashtag2"]},{"1401976276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976273, 1401976275, 1401976278, 1401976280, 1401976274, 1401976276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62605023384094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:11:03.233046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/47/image_01012026_01_48_04_9694.jpg', '/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_14_9820.jpg', '/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_25_10622.jpg', '/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_34_9625.jpg', '/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_45_10588.jpg', '/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/47/image_01012026_01_48_04_9694.jpg
/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_14_9820.jpg
/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_25_10622.jpg
/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_34_9625.jpg
/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_45_10588.jpg
/home/pi/Desktop/images/01012026/01/48/image_01012026_01_48_55_9642.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":["1401976285","1401976290","1401976287","1401976292","1401976286","1401976288"],"photo_ids_order":["1401976285","1401976286","1401976287","1401976288","1401976290","1401976292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4f9ceede9cbfb995c4f7c62a757dce1.jpg","text":"TemporaryFile(/tmp/multipartBody7785881970404252517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229927386,"filename":"image_01012026_01_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/2026/1/1/e1e82b85d5c9f5d46081fe63c483e733.jpg","text":"TemporaryFile(/tmp/multipartBody2275172928239633376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229927386,"filename":"image_01012026_01_48_45_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ff7f65c312c3d74b70ceaa3d60161f9.jpg","text":"TemporaryFile(/tmp/multipartBody6517893496026831380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229927386,"filename":"image_01012026_01_48_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cd684c4149dc0dd6bed209c4e7fd5ec.jpg","text":"TemporaryFile(/tmp/multipartBody8088181996025082589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229927386,"filename":"image_01012026_01_48_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/077594a6f91d7f87d2c7c1833f071bf8.jpg","text":"TemporaryFile(/tmp/multipartBody6958330998808176300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229927386,"filename":"image_01012026_01_48_14_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/251607ccd078786349b6f89d8a373a27.jpg","text":"TemporaryFile(/tmp/multipartBody4965545982898828365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229927386,"filename":"image_01012026_01_48_34_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976287","file1":"1401976286","file0":"1401976285","file4":"1401976290","file5":"1401976292","file3":"1401976288"},"map_files_photo_id_array":[{"photo_id":"1401976292","filename":"file5"},{"photo_id":"1401976287","filename":"file2"},{"photo_id":"1401976290","filename":"file4"},{"photo_id":"1401976286","filename":"file1"},{"photo_id":"1401976285","filename":"file0"},{"photo_id":"1401976288","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976285":["hashtag1","hashtag2"]},{"1401976290":["hashtag1","hashtag2"]},{"1401976287":["hashtag1","hashtag2"]},{"1401976292":["hashtag1","hashtag2"]},{"1401976286":["hashtag1","hashtag2"]},{"1401976288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976285, 1401976290, 1401976287, 1401976292, 1401976286, 1401976288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.95403456687927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:12:02.219355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/48/image_01012026_01_49_04_9683.jpg', '/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_14_9819.jpg', '/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_25_10566.jpg', '/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_34_9586.jpg', '/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_45_10645.jpg', '/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_55_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/48/image_01012026_01_49_04_9683.jpg
/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_14_9819.jpg
/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_25_10566.jpg
/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_34_9586.jpg
/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_45_10645.jpg
/home/pi/Desktop/images/01012026/01/49/image_01012026_01_49_55_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":["1401976300","1401976299","1401976303","1401976305","1401976298","1401976302"],"photo_ids_order":["1401976298","1401976299","1401976300","1401976302","1401976303","1401976305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f84e1b964ecfb11084e34659ac59693.jpg","text":"TemporaryFile(/tmp/multipartBody3700546730634205068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229984541,"filename":"image_01012026_01_49_25_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/195505416af523864765486f5f35785a.jpg","text":"TemporaryFile(/tmp/multipartBody6709805998605849122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229984541,"filename":"image_01012026_01_49_14_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa4821f526630d09d86349b1df63a0fb.jpg","text":"TemporaryFile(/tmp/multipartBody8309234688546731779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229984541,"filename":"image_01012026_01_49_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/464768989011d65d9b0051a05546b84f.jpg","text":"TemporaryFile(/tmp/multipartBody8474102904638053728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229984541,"filename":"image_01012026_01_49_55_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/246394c51391f8e8dc280b962f2396a2.jpg","text":"TemporaryFile(/tmp/multipartBody704678341894474652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229984541,"filename":"image_01012026_01_49_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17b873d630abd9d5eb064fbad047c372.jpg","text":"TemporaryFile(/tmp/multipartBody8534757046815279485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767229984541,"filename":"image_01012026_01_49_34_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976300","file1":"1401976299","file0":"1401976298","file4":"1401976303","file5":"1401976305","file3":"1401976302"},"map_files_photo_id_array":[{"photo_id":"1401976305","filename":"file5"},{"photo_id":"1401976300","filename":"file2"},{"photo_id":"1401976303","filename":"file4"},{"photo_id":"1401976299","filename":"file1"},{"photo_id":"1401976298","filename":"file0"},{"photo_id":"1401976302","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976300":["hashtag1","hashtag2"]},{"1401976299":["hashtag1","hashtag2"]},{"1401976303":["hashtag1","hashtag2"]},{"1401976305":["hashtag1","hashtag2"]},{"1401976298":["hashtag1","hashtag2"]},{"1401976302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976300, 1401976299, 1401976303, 1401976305, 1401976298, 1401976302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06933832168579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:12:41.763513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_30_2783.jpg', '/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_34_3672.jpg', '/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_37_2978.jpg', '/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_43_2618.jpg', '/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_45_2646.jpg', '/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_58_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/21/48/image_03112025_21_48_30_2783.jpg
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_34_3672.jpg
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_37_2978.jpg
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_43_2618.jpg
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_45_2646.jpg
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_48_58_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":["1401976312","1401976315","1401976314","1401976316","1401976310","1401976313"],"photo_ids_order":["1401976310","1401976312","1401976313","1401976314","1401976315","1401976316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/feb82273b393aa2319cc50375b205d57.jpg","text":"TemporaryFile(/tmp/multipartBody3324464956389068150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230023401,"filename":"image_03112025_21_48_34_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3be0456a1d008866d8e143f219a13129.jpg","text":"TemporaryFile(/tmp/multipartBody1603503873742570420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230023401,"filename":"image_03112025_21_48_45_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/beeee3189ba818d4836945c9f54d915d.jpg","text":"TemporaryFile(/tmp/multipartBody1602958552137027766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230023401,"filename":"image_03112025_21_48_43_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cb40c0ccd572186efeb422e6a7a4370.jpg","text":"TemporaryFile(/tmp/multipartBody4097488016022460977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230023401,"filename":"image_03112025_21_48_58_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/225481fb26075937371a7451e476078b.jpg","text":"TemporaryFile(/tmp/multipartBody1588442547951114517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230023401,"filename":"image_03112025_21_48_30_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7cdf42064b3a79896d544167eb930cb.jpg","text":"TemporaryFile(/tmp/multipartBody7840449196561284030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230023401,"filename":"image_03112025_21_48_37_2978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976313","file1":"1401976312","file0":"1401976310","file4":"1401976315","file5":"1401976316","file3":"1401976314"},"map_files_photo_id_array":[{"photo_id":"1401976316","filename":"file5"},{"photo_id":"1401976313","filename":"file2"},{"photo_id":"1401976315","filename":"file4"},{"photo_id":"1401976312","filename":"file1"},{"photo_id":"1401976310","filename":"file0"},{"photo_id":"1401976314","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976312":["hashtag1","hashtag2"]},{"1401976315":["hashtag1","hashtag2"]},{"1401976314":["hashtag1","hashtag2"]},{"1401976316":["hashtag1","hashtag2"]},{"1401976310":["hashtag1","hashtag2"]},{"1401976313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976312, 1401976315, 1401976314, 1401976316, 1401976310, 1401976313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.227133989334106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:13:22.100190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/49/image_01012026_01_50_04_9670.jpg', '/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_15_10627.jpg', '/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_25_9753.jpg', '/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_34_9516.jpg', '/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_45_10641.jpg', '/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_54_9601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/49/image_01012026_01_50_04_9670.jpg
/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_15_10627.jpg
/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_25_9753.jpg
/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_34_9516.jpg
/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_45_10641.jpg
/home/pi/Desktop/images/01012026/01/50/image_01012026_01_50_54_9601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976324","1401976318","1401976326","1401976320","1401976328","1401976322"],"photo_ids_order":["1401976318","1401976320","1401976322","1401976324","1401976326","1401976328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5526f4658ef8028234a071f4df686e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1391684293749994792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230062702,"filename":"image_01012026_01_50_34_9516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/579916bca1ced287439569f8ba07383f.jpg","text":"TemporaryFile(/tmp/multipartBody581216729173132198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230062702,"filename":"image_01012026_01_50_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a35f28a29e6265f8c16b6dbadb6b22d0.jpg","text":"TemporaryFile(/tmp/multipartBody1893924259844872351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230062702,"filename":"image_01012026_01_50_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c844727542aeed6664fa84655108624.jpg","text":"TemporaryFile(/tmp/multipartBody6354328327825601991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230062702,"filename":"image_01012026_01_50_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b07febaffd2158b224298e5c9832143.jpg","text":"TemporaryFile(/tmp/multipartBody1022619602042922457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230062702,"filename":"image_01012026_01_50_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dd7df25b453754a4be425e2f17a2235.jpg","text":"TemporaryFile(/tmp/multipartBody6097028739804757941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230062702,"filename":"image_01012026_01_50_25_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976322","file1":"1401976320","file0":"1401976318","file4":"1401976326","file5":"1401976328","file3":"1401976324"},"map_files_photo_id_array":[{"photo_id":"1401976328","filename":"file5"},{"photo_id":"1401976322","filename":"file2"},{"photo_id":"1401976326","filename":"file4"},{"photo_id":"1401976320","filename":"file1"},{"photo_id":"1401976318","filename":"file0"},{"photo_id":"1401976324","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976324":["hashtag1","hashtag2"]},{"1401976318":["hashtag1","hashtag2"]},{"1401976326":["hashtag1","hashtag2"]},{"1401976320":["hashtag1","hashtag2"]},{"1401976328":["hashtag1","hashtag2"]},{"1401976322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976324, 1401976318, 1401976326, 1401976320, 1401976328, 1401976322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50964879989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:14:02.958144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/50/image_01012026_01_51_05_10396.jpg', '/home/pi/Desktop/images/01012026/01/51/image_01012026_01_51_14_9621.jpg', '/home/pi/Desktop/images/01012026/01/51/image_01012026_01_51_24_9703.jpg', '/home/pi/Desktop/images/01012026/01/51/image_01012026_01_51_35_10663.jpg', '/home/pi/Desktop/images/01012026/01/51/image_01012026_01_51_44_9612.jpg', '/home/pi/Desktop/images/01012026/01/51/image_01012026_01_52_05_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/50/image_01012026_01_51_05_10396.jpg
/home/pi/Desktop/images/01012026/01/51/image_01012026_01_51_14_9621.jpg
/home/pi/Desktop/images/01012026/01/51/image_01012026_01_51_24_9703.jpg
/home/pi/Desktop/images/01012026/01/51/image_01012026_01_51_35_10663.jpg
/home/pi/Desktop/images/01012026/01/51/image_01012026_01_51_44_9612.jpg
/home/pi/Desktop/images/01012026/01/51/image_01012026_01_52_05_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":["1401976330","1401976335","1401976332","1401976334","1401976337","1401976331"],"photo_ids_order":["1401976330","1401976331","1401976332","1401976334","1401976335","1401976337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b81b8afdc45b724408743651aee85905.jpg","text":"TemporaryFile(/tmp/multipartBody6076697002568788707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230103627,"filename":"image_01012026_01_51_05_10396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b784a8880688637ffaaec9330b15639f.jpg","text":"TemporaryFile(/tmp/multipartBody4463703013967208064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230103627,"filename":"image_01012026_01_51_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14496bfe88f6c454f23af2799ad7142e.jpg","text":"TemporaryFile(/tmp/multipartBody3077371976049974740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230103627,"filename":"image_01012026_01_51_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b074a23897098c940286b0e182045eca.jpg","text":"TemporaryFile(/tmp/multipartBody271954337606191466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230103627,"filename":"image_01012026_01_51_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53d1b995a0d7872ddbba9f9d20609155.jpg","text":"TemporaryFile(/tmp/multipartBody2604368597021768043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230103627,"filename":"image_01012026_01_52_05_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12cb12f9d3470e4787c4d359921706c3.jpg","text":"TemporaryFile(/tmp/multipartBody5282357317415734821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230103627,"filename":"image_01012026_01_51_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976332","file1":"1401976331","file0":"1401976330","file4":"1401976335","file5":"1401976337","file3":"1401976334"},"map_files_photo_id_array":[{"photo_id":"1401976337","filename":"file5"},{"photo_id":"1401976332","filename":"file2"},{"photo_id":"1401976335","filename":"file4"},{"photo_id":"1401976331","filename":"file1"},{"photo_id":"1401976330","filename":"file0"},{"photo_id":"1401976334","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976330":["hashtag1","hashtag2"]},{"1401976335":["hashtag1","hashtag2"]},{"1401976332":["hashtag1","hashtag2"]},{"1401976334":["hashtag1","hashtag2"]},{"1401976337":["hashtag1","hashtag2"]},{"1401976331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976330, 1401976335, 1401976332, 1401976334, 1401976337, 1401976331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73095512390137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:14:42.377461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/48/image_03112025_21_49_00_2588.jpg', '/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_12_2631.jpg', '/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_17_4259.jpg', '/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_24_2610.jpg', '/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_35_1669.jpg', '/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_40_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/48/image_03112025_21_49_00_2588.jpg
/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_12_2631.jpg
/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_17_4259.jpg
/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_24_2610.jpg
/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_35_1669.jpg
/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_40_1704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976351","1401976348","1401976350","1401976347","1401976349","1401976343"],"photo_ids_order":["1401976343","1401976347","1401976348","1401976349","1401976350","1401976351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04400cf08e2de2ed249740f8d927c152.jpg","text":"TemporaryFile(/tmp/multipartBody5842742318254303540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230144139,"filename":"image_03112025_21_49_40_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2eecb143ccac247b9738b623ac464ae.jpg","text":"TemporaryFile(/tmp/multipartBody8977838547378939772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230144139,"filename":"image_03112025_21_49_17_4259.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34a95e37304703d403f3fc2c1673cec9.jpg","text":"TemporaryFile(/tmp/multipartBody6052741915684811359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230144139,"filename":"image_03112025_21_49_35_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4401420ee537fbd56e579ea24e7a5d9.jpg","text":"TemporaryFile(/tmp/multipartBody6282025521463992711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230144139,"filename":"image_03112025_21_49_12_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/283b5635f70b7a3b76f48c86de18690f.jpg","text":"TemporaryFile(/tmp/multipartBody4743879561544785817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230144139,"filename":"image_03112025_21_49_24_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/994e8dba38136e538df23552c5fc3c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2242236695679940924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230144139,"filename":"image_03112025_21_49_00_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976348","file1":"1401976347","file0":"1401976343","file4":"1401976350","file5":"1401976351","file3":"1401976349"},"map_files_photo_id_array":[{"photo_id":"1401976351","filename":"file5"},{"photo_id":"1401976348","filename":"file2"},{"photo_id":"1401976350","filename":"file4"},{"photo_id":"1401976347","filename":"file1"},{"photo_id":"1401976343","filename":"file0"},{"photo_id":"1401976349","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976351":["hashtag1","hashtag2"]},{"1401976348":["hashtag1","hashtag2"]},{"1401976350":["hashtag1","hashtag2"]},{"1401976347":["hashtag1","hashtag2"]},{"1401976349":["hashtag1","hashtag2"]},{"1401976343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976351, 1401976348, 1401976350, 1401976347, 1401976349, 1401976343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3515145778656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:15:22.567654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_14_9815.jpg', '/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_24_9954.jpg', '/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_35_10658.jpg', '/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_45_9871.jpg', '/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_55_9805.jpg', '/home/pi/Desktop/images/01012026/01/52/image_01012026_01_53_04_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_14_9815.jpg
/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_24_9954.jpg
/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_35_10658.jpg
/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_45_9871.jpg
/home/pi/Desktop/images/01012026/01/52/image_01012026_01_52_55_9805.jpg
/home/pi/Desktop/images/01012026/01/52/image_01012026_01_53_04_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976357","1401976353","1401976362","1401976359","1401976361","1401976355"],"photo_ids_order":["1401976353","1401976355","1401976357","1401976359","1401976361","1401976362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5172dd6c72c3c7468edaae4f27f1007b.jpg","text":"TemporaryFile(/tmp/multipartBody360185559894522344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230183142,"filename":"image_01012026_01_52_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/459bbe5cb9ec601ac39148ad9282343c.jpg","text":"TemporaryFile(/tmp/multipartBody7169625064599885212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230183142,"filename":"image_01012026_01_52_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbd898710bfc701237077e147d1473e4.jpg","text":"TemporaryFile(/tmp/multipartBody989309367637230204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230183142,"filename":"image_01012026_01_53_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9bacfda753876cea36bb2ac777562d0a.jpg","text":"TemporaryFile(/tmp/multipartBody973502057196191827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230183142,"filename":"image_01012026_01_52_45_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58f410958ef58fe6ea31ed4a798a02be.jpg","text":"TemporaryFile(/tmp/multipartBody7856437261848913694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230183142,"filename":"image_01012026_01_52_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72db01a24a384a8de51ec3d060a664cb.jpg","text":"TemporaryFile(/tmp/multipartBody7388102310960570570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230183142,"filename":"image_01012026_01_52_24_9954.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976357","file1":"1401976355","file0":"1401976353","file4":"1401976361","file5":"1401976362","file3":"1401976359"},"map_files_photo_id_array":[{"photo_id":"1401976362","filename":"file5"},{"photo_id":"1401976357","filename":"file2"},{"photo_id":"1401976361","filename":"file4"},{"photo_id":"1401976355","filename":"file1"},{"photo_id":"1401976353","filename":"file0"},{"photo_id":"1401976359","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976357":["hashtag1","hashtag2"]},{"1401976353":["hashtag1","hashtag2"]},{"1401976362":["hashtag1","hashtag2"]},{"1401976359":["hashtag1","hashtag2"]},{"1401976361":["hashtag1","hashtag2"]},{"1401976355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976357, 1401976353, 1401976362, 1401976359, 1401976361, 1401976355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.881267070770264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:16:02.265621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/53/image_01012026_01_53_15_10675.jpg', '/home/pi/Desktop/images/01012026/01/53/image_01012026_01_53_25_9660.jpg', '/home/pi/Desktop/images/01012026/01/53/image_01012026_01_53_34_9608.jpg', '/home/pi/Desktop/images/01012026/01/53/image_01012026_01_53_45_10741.jpg', '/home/pi/Desktop/images/01012026/01/53/image_01012026_01_54_05_9657.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_14_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/53/image_01012026_01_53_15_10675.jpg
/home/pi/Desktop/images/01012026/01/53/image_01012026_01_53_25_9660.jpg
/home/pi/Desktop/images/01012026/01/53/image_01012026_01_53_34_9608.jpg
/home/pi/Desktop/images/01012026/01/53/image_01012026_01_53_45_10741.jpg
/home/pi/Desktop/images/01012026/01/53/image_01012026_01_54_05_9657.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_14_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":["1401976363","1401976366","1401976365","1401976364","1401976367","1401976369"],"photo_ids_order":["1401976363","1401976364","1401976365","1401976366","1401976367","1401976369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1810149c1ae0a8baf4eafb9eb6541173.jpg","text":"TemporaryFile(/tmp/multipartBody4444045938734682160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230222886,"filename":"image_01012026_01_53_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1811dd9ef11816cf64da9e9b0278b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody9068916953166246280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230222886,"filename":"image_01012026_01_53_45_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/543d5ae807da55e55746159eafadeb5d.jpg","text":"TemporaryFile(/tmp/multipartBody4424682594167667898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230222886,"filename":"image_01012026_01_53_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0fa99dc0b90b8ca7e1fc2bfda10cf4f.jpg","text":"TemporaryFile(/tmp/multipartBody507796149795318586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230222886,"filename":"image_01012026_01_53_25_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a48a20bb01b0fb5ee2ab70eda42e0a2.jpg","text":"TemporaryFile(/tmp/multipartBody9024324880546769324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230222886,"filename":"image_01012026_01_54_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b6ac9379e5a2f60f69eab73353a05f5.jpg","text":"TemporaryFile(/tmp/multipartBody8366246167775805213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230222886,"filename":"image_01012026_01_54_14_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976365","file1":"1401976364","file0":"1401976363","file4":"1401976367","file5":"1401976369","file3":"1401976366"},"map_files_photo_id_array":[{"photo_id":"1401976369","filename":"file5"},{"photo_id":"1401976365","filename":"file2"},{"photo_id":"1401976367","filename":"file4"},{"photo_id":"1401976364","filename":"file1"},{"photo_id":"1401976363","filename":"file0"},{"photo_id":"1401976366","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976363":["hashtag1","hashtag2"]},{"1401976366":["hashtag1","hashtag2"]},{"1401976365":["hashtag1","hashtag2"]},{"1401976364":["hashtag1","hashtag2"]},{"1401976367":["hashtag1","hashtag2"]},{"1401976369":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976363, 1401976366, 1401976365, 1401976364, 1401976367, 1401976369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9127082824707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:16:41.863272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_52_3724.jpg', '/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_54_2674.jpg', '/home/pi/Desktop/images/03112025/21/49/image_03112025_21_50_01_3687.jpg', '/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_30_2603.jpg', '/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_34_3602.jpg', '/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_45_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/21/49/image_03112025_21_49_52_3724.jpg
/home/pi/Desktop/images/03112025/21/49/image_03112025_21_49_54_2674.jpg
/home/pi/Desktop/images/03112025/21/49/image_03112025_21_50_01_3687.jpg
/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_30_2603.jpg
/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_34_3602.jpg
/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_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":["1401976378","1401976380","1401976377","1401976379","1401976381","1401976375"],"photo_ids_order":["1401976375","1401976377","1401976378","1401976379","1401976380","1401976381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/daf11d5ca1a7274f8906ede23a226e6b.jpg","text":"TemporaryFile(/tmp/multipartBody3273746680361508995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230263558,"filename":"image_03112025_21_50_01_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb2dcc5c96ad27ce997d940fb161f5a8.jpg","text":"TemporaryFile(/tmp/multipartBody2525528879815971458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230263558,"filename":"image_03112025_21_50_34_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c487947d0a2fee2d7fe4cbcc1d572e5.jpg","text":"TemporaryFile(/tmp/multipartBody4429669362400767427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230263558,"filename":"image_03112025_21_49_54_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49c4f4daba5774bfba1d158509ef9abe.jpg","text":"TemporaryFile(/tmp/multipartBody851480663779552071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230263558,"filename":"image_03112025_21_50_30_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0eae23da066014376dafd23fe63f251.jpg","text":"TemporaryFile(/tmp/multipartBody1752993587569212042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230263558,"filename":"image_03112025_21_50_45_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c96dc4c04799feca5c8f995d1773f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3033679526553626299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230263558,"filename":"image_03112025_21_49_52_3724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976378","file1":"1401976377","file0":"1401976375","file4":"1401976380","file5":"1401976381","file3":"1401976379"},"map_files_photo_id_array":[{"photo_id":"1401976381","filename":"file5"},{"photo_id":"1401976378","filename":"file2"},{"photo_id":"1401976380","filename":"file4"},{"photo_id":"1401976377","filename":"file1"},{"photo_id":"1401976375","filename":"file0"},{"photo_id":"1401976379","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976378":["hashtag1","hashtag2"]},{"1401976380":["hashtag1","hashtag2"]},{"1401976377":["hashtag1","hashtag2"]},{"1401976379":["hashtag1","hashtag2"]},{"1401976381":["hashtag1","hashtag2"]},{"1401976375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976378, 1401976380, 1401976377, 1401976379, 1401976381, 1401976375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22875714302063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:17:22.094025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_25_10692.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_35_9724.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_44_9553.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_55_10604.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_55_05_9722.jpg', '/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_14_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_25_10692.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_35_9724.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_44_9553.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_55_10604.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_55_05_9722.jpg
/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_14_9643.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: 3.0025265216827393 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:17:32.114913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_48_3041.jpg', '/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_57_2530.jpg', '/home/pi/Desktop/images/03112025/21/50/image_03112025_21_51_01_3545.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_03_2630.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_06_2906.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_10_3564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_48_3041.jpg
/home/pi/Desktop/images/03112025/21/50/image_03112025_21_50_57_2530.jpg
/home/pi/Desktop/images/03112025/21/50/image_03112025_21_51_01_3545.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_03_2630.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_06_2906.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_10_3564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976390","1401976398","1401976395","1401976397","1401976393","1401976387"],"photo_ids_order":["1401976387","1401976390","1401976393","1401976395","1401976397","1401976398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12ca3f7c659b7913708439e2615f47b5.jpg","text":"TemporaryFile(/tmp/multipartBody6320271763206258418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230313879,"filename":"image_03112025_21_50_57_2530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4864914f4230b4318b507b7f052337e9.jpg","text":"TemporaryFile(/tmp/multipartBody6994007456003819076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230313879,"filename":"image_03112025_21_51_10_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4feec28a720587e690a9fe8d86bc4b70.jpg","text":"TemporaryFile(/tmp/multipartBody3701259096684187407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230313879,"filename":"image_03112025_21_51_03_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/260539682762b9db1f7d44eb85152aa2.jpg","text":"TemporaryFile(/tmp/multipartBody635633471327782065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230313879,"filename":"image_03112025_21_51_06_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89a1dd7f58ac5bbcedfdc86a3b0f2554.jpg","text":"TemporaryFile(/tmp/multipartBody7802580004728511689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230313879,"filename":"image_03112025_21_51_01_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6326e5b9532ddd4c07e00df736427c21.jpg","text":"TemporaryFile(/tmp/multipartBody7709774846884624442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230313879,"filename":"image_03112025_21_50_48_3041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976393","file1":"1401976390","file0":"1401976387","file4":"1401976397","file5":"1401976398","file3":"1401976395"},"map_files_photo_id_array":[{"photo_id":"1401976398","filename":"file5"},{"photo_id":"1401976393","filename":"file2"},{"photo_id":"1401976397","filename":"file4"},{"photo_id":"1401976390","filename":"file1"},{"photo_id":"1401976387","filename":"file0"},{"photo_id":"1401976395","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976390":["hashtag1","hashtag2"]},{"1401976398":["hashtag1","hashtag2"]},{"1401976395":["hashtag1","hashtag2"]},{"1401976397":["hashtag1","hashtag2"]},{"1401976393":["hashtag1","hashtag2"]},{"1401976387":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976390, 1401976398, 1401976395, 1401976397, 1401976393, 1401976387)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.45372200012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:18:22.253692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_25_10692.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_35_9724.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_44_9553.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_55_10604.jpg', '/home/pi/Desktop/images/01012026/01/54/image_01012026_01_55_05_9722.jpg', '/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_14_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_25_10692.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_35_9724.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_44_9553.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_54_55_10604.jpg
/home/pi/Desktop/images/01012026/01/54/image_01012026_01_55_05_9722.jpg
/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_14_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":["1401976399","1401976402","1401976404","1401976407","1401976409","1401976406"],"photo_ids_order":["1401976399","1401976402","1401976404","1401976406","1401976407","1401976409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fb6bcbe008f49f54484394bd8426682.jpg","text":"TemporaryFile(/tmp/multipartBody8556962262054970003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230362819,"filename":"image_01012026_01_54_25_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51ed7f6ecce1055e0a1295dbad5c6804.jpg","text":"TemporaryFile(/tmp/multipartBody7993816759020414737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230362819,"filename":"image_01012026_01_54_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3a15310a10570d7ba6fe13b4e000978.jpg","text":"TemporaryFile(/tmp/multipartBody6054457436643435817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230362819,"filename":"image_01012026_01_54_44_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a67474101f24ae130564159ac0142c8.jpg","text":"TemporaryFile(/tmp/multipartBody355053520083368111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230362819,"filename":"image_01012026_01_55_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4648deb423e888cd255c5f08d33c084.jpg","text":"TemporaryFile(/tmp/multipartBody1121779000599649683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230362819,"filename":"image_01012026_01_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/2026/1/1/cf62a7450fa099db81c268e9174bdcc7.jpg","text":"TemporaryFile(/tmp/multipartBody8219607144642714685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230362819,"filename":"image_01012026_01_54_55_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976404","file1":"1401976402","file0":"1401976399","file4":"1401976407","file5":"1401976409","file3":"1401976406"},"map_files_photo_id_array":[{"photo_id":"1401976409","filename":"file5"},{"photo_id":"1401976404","filename":"file2"},{"photo_id":"1401976407","filename":"file4"},{"photo_id":"1401976402","filename":"file1"},{"photo_id":"1401976399","filename":"file0"},{"photo_id":"1401976406","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976399":["hashtag1","hashtag2"]},{"1401976402":["hashtag1","hashtag2"]},{"1401976404":["hashtag1","hashtag2"]},{"1401976407":["hashtag1","hashtag2"]},{"1401976409":["hashtag1","hashtag2"]},{"1401976406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976399, 1401976402, 1401976404, 1401976407, 1401976409, 1401976406)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.34566855430603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:19:14.585680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_12_2672.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_15_2775.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_18_2737.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_22_3677.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_30_2741.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_34_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/21/51/image_03112025_21_51_12_2672.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_15_2775.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_18_2737.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_22_3677.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_30_2741.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_34_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":["1401976411","1401976417","1401976419","1401976413","1401976421","1401976415"],"photo_ids_order":["1401976411","1401976413","1401976415","1401976417","1401976419","1401976421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d8afe8eac3785a38e7b973a8273ad01.jpg","text":"TemporaryFile(/tmp/multipartBody1095532298133288407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230422000,"filename":"image_03112025_21_51_12_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95f5ee4e831bb8c355d114366f3b81e3.jpg","text":"TemporaryFile(/tmp/multipartBody1639557643788901611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230422000,"filename":"image_03112025_21_51_22_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b41df9910a6614edfd4328df925aa06.jpg","text":"TemporaryFile(/tmp/multipartBody4914050175446320884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230422000,"filename":"image_03112025_21_51_30_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39ec348527c98c248ca4e9413957efb7.jpg","text":"TemporaryFile(/tmp/multipartBody6603404700986168252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230422000,"filename":"image_03112025_21_51_15_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edefe3c9d42361770b2dc6bd41910dd7.jpg","text":"TemporaryFile(/tmp/multipartBody528964278646477233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230422000,"filename":"image_03112025_21_51_34_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c9619265252f5379341f464a792bc41.jpg","text":"TemporaryFile(/tmp/multipartBody3750785720318413637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230422000,"filename":"image_03112025_21_51_18_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976415","file1":"1401976413","file0":"1401976411","file4":"1401976419","file5":"1401976421","file3":"1401976417"},"map_files_photo_id_array":[{"photo_id":"1401976421","filename":"file5"},{"photo_id":"1401976415","filename":"file2"},{"photo_id":"1401976419","filename":"file4"},{"photo_id":"1401976413","filename":"file1"},{"photo_id":"1401976411","filename":"file0"},{"photo_id":"1401976417","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976411":["hashtag1","hashtag2"]},{"1401976417":["hashtag1","hashtag2"]},{"1401976419":["hashtag1","hashtag2"]},{"1401976413":["hashtag1","hashtag2"]},{"1401976421":["hashtag1","hashtag2"]},{"1401976415":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976411, 1401976417, 1401976419, 1401976413, 1401976421, 1401976415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.75638937950134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:20:02.178799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_25_10617.jpg', '/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_44_9573.jpg', '/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_55_10656.jpg', '/home/pi/Desktop/images/01012026/01/55/image_01012026_01_56_05_9637.jpg', '/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_14_9694.jpg', '/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_24_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_25_10617.jpg
/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_44_9573.jpg
/home/pi/Desktop/images/01012026/01/55/image_01012026_01_55_55_10656.jpg
/home/pi/Desktop/images/01012026/01/55/image_01012026_01_56_05_9637.jpg
/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_14_9694.jpg
/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_24_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":["1401976423","1401976426","1401976429","1401976425","1401976427","1401976424"],"photo_ids_order":["1401976423","1401976424","1401976425","1401976426","1401976427","1401976429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b74c3ae10f98f12834e4380a3338acb.jpg","text":"TemporaryFile(/tmp/multipartBody3942649414699809674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230464392,"filename":"image_01012026_01_55_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6533d37a31d1cc107c02924242e8dbc1.jpg","text":"TemporaryFile(/tmp/multipartBody3094639928441999976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230464392,"filename":"image_01012026_01_56_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/129d5d6a208147410650abbf4dc48148.jpg","text":"TemporaryFile(/tmp/multipartBody4115058396497382175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230464392,"filename":"image_01012026_01_56_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0ece8f7b80ea0e39cc4475b95d43a62.jpg","text":"TemporaryFile(/tmp/multipartBody2414343362634613345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230464392,"filename":"image_01012026_01_55_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3218cb8817ffe911a2c22ee4c8febfe.jpg","text":"TemporaryFile(/tmp/multipartBody3259526794457245064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230464392,"filename":"image_01012026_01_56_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5e59152b5327b44be2d2b738dd33ad3.jpg","text":"TemporaryFile(/tmp/multipartBody6269585794772926392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230464392,"filename":"image_01012026_01_55_44_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976425","file1":"1401976424","file0":"1401976423","file4":"1401976427","file5":"1401976429","file3":"1401976426"},"map_files_photo_id_array":[{"photo_id":"1401976429","filename":"file5"},{"photo_id":"1401976425","filename":"file2"},{"photo_id":"1401976427","filename":"file4"},{"photo_id":"1401976424","filename":"file1"},{"photo_id":"1401976423","filename":"file0"},{"photo_id":"1401976426","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976423":["hashtag1","hashtag2"]},{"1401976426":["hashtag1","hashtag2"]},{"1401976429":["hashtag1","hashtag2"]},{"1401976425":["hashtag1","hashtag2"]},{"1401976427":["hashtag1","hashtag2"]},{"1401976424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976423, 1401976426, 1401976429, 1401976425, 1401976427, 1401976424)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.23535704612732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:21:02.680560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 02:21:12.043116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_36_2547.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_39_2658.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_43_3697.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_52_3663.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_54_2726.jpg', '/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_57_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/21/51/image_03112025_21_51_36_2547.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_39_2658.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_43_3697.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_52_3663.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_54_2726.jpg
/home/pi/Desktop/images/03112025/21/51/image_03112025_21_51_57_2519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976441","1401976447","1401976443","1401976437","1401976445","1401976439"],"photo_ids_order":["1401976437","1401976439","1401976441","1401976443","1401976445","1401976447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a7e03cc970c556a148d63015bec8362.jpg","text":"TemporaryFile(/tmp/multipartBody2274577213083897553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230540805,"filename":"image_03112025_21_51_43_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ed5c6c1bd2e744956cf7bca40634e52.jpg","text":"TemporaryFile(/tmp/multipartBody7707136686658552055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230540805,"filename":"image_03112025_21_51_57_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d61ebe64f327c826b2181d7f2ff1a737.jpg","text":"TemporaryFile(/tmp/multipartBody2966137044045630902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230540805,"filename":"image_03112025_21_51_52_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4b287e6916efd0a530a243fedc0d9ae.jpg","text":"TemporaryFile(/tmp/multipartBody2577745015228383765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230540805,"filename":"image_03112025_21_51_36_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f60f578a799b5b8e38b4f853726c3887.jpg","text":"TemporaryFile(/tmp/multipartBody7666055546440395568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230540805,"filename":"image_03112025_21_51_54_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a2e7a85a20096b3fefe8253b1ac1231.jpg","text":"TemporaryFile(/tmp/multipartBody4800726547150489966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230540805,"filename":"image_03112025_21_51_39_2658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976441","file1":"1401976439","file0":"1401976437","file4":"1401976445","file5":"1401976447","file3":"1401976443"},"map_files_photo_id_array":[{"photo_id":"1401976447","filename":"file5"},{"photo_id":"1401976441","filename":"file2"},{"photo_id":"1401976445","filename":"file4"},{"photo_id":"1401976439","filename":"file1"},{"photo_id":"1401976437","filename":"file0"},{"photo_id":"1401976443","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976441":["hashtag1","hashtag2"]},{"1401976447":["hashtag1","hashtag2"]},{"1401976443":["hashtag1","hashtag2"]},{"1401976437":["hashtag1","hashtag2"]},{"1401976445":["hashtag1","hashtag2"]},{"1401976439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976441, 1401976447, 1401976443, 1401976437, 1401976445, 1401976439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.372599363327026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:22:03.951301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_35_10694.jpg', '/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_44_9637.jpg', '/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_54_9679.jpg', '/home/pi/Desktop/images/01012026/01/56/image_01012026_01_57_05_10660.jpg', '/home/pi/Desktop/images/01012026/01/57/image_01012026_01_57_15_9735.jpg', '/home/pi/Desktop/images/01012026/01/57/image_01012026_01_57_24_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_35_10694.jpg
/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_44_9637.jpg
/home/pi/Desktop/images/01012026/01/56/image_01012026_01_56_54_9679.jpg
/home/pi/Desktop/images/01012026/01/56/image_01012026_01_57_05_10660.jpg
/home/pi/Desktop/images/01012026/01/57/image_01012026_01_57_15_9735.jpg
/home/pi/Desktop/images/01012026/01/57/image_01012026_01_57_24_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":["1401976450","1401976452","1401976455","1401976457","1401976451","1401976454"],"photo_ids_order":["1401976450","1401976451","1401976452","1401976454","1401976455","1401976457"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92337c0db4693b4455650d576607c840.jpg","text":"TemporaryFile(/tmp/multipartBody2554119899089726290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230584573,"filename":"image_01012026_01_56_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81b5f20e086a73d592e52d27b02fc1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7122128376191153154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230584573,"filename":"image_01012026_01_56_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30433afbb448a4938244698a69adfecb.jpg","text":"TemporaryFile(/tmp/multipartBody6074149602361122885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230584573,"filename":"image_01012026_01_57_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c519245a46ca0151c903b92d5a0c69c3.jpg","text":"TemporaryFile(/tmp/multipartBody5065723633300394801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230584573,"filename":"image_01012026_01_57_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b74774c41f9c763be1d05533692a41a2.jpg","text":"TemporaryFile(/tmp/multipartBody4455045117669746107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230584573,"filename":"image_01012026_01_56_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fd6713ef370253f9d36d8ed4e167634.jpg","text":"TemporaryFile(/tmp/multipartBody8193257713517959409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230584573,"filename":"image_01012026_01_57_05_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976452","file1":"1401976451","file0":"1401976450","file4":"1401976455","file5":"1401976457","file3":"1401976454"},"map_files_photo_id_array":[{"photo_id":"1401976457","filename":"file5"},{"photo_id":"1401976452","filename":"file2"},{"photo_id":"1401976455","filename":"file4"},{"photo_id":"1401976451","filename":"file1"},{"photo_id":"1401976450","filename":"file0"},{"photo_id":"1401976454","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976450":["hashtag1","hashtag2"]},{"1401976452":["hashtag1","hashtag2"]},{"1401976455":["hashtag1","hashtag2"]},{"1401976457":["hashtag1","hashtag2"]},{"1401976451":["hashtag1","hashtag2"]},{"1401976454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976450, 1401976452, 1401976455, 1401976457, 1401976451, 1401976454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79669213294983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:22:43.455302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_03_2660.jpg', '/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_12_2564.jpg', '/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_19_3355.jpg', '/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_24_2664.jpg', '/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_27_2839.jpg', '/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_33_2792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_03_2660.jpg
/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_12_2564.jpg
/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_19_3355.jpg
/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_24_2664.jpg
/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_27_2839.jpg
/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_33_2792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976462","1401976465","1401976461","1401976464","1401976463","1401976466"],"photo_ids_order":["1401976461","1401976462","1401976463","1401976464","1401976465","1401976466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a66bcce78095ee3e9296d1ff760658aa.jpg","text":"TemporaryFile(/tmp/multipartBody1968732357739376455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230625095,"filename":"image_03112025_21_52_12_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddd21f56f291cf6f966000438e03d8a8.jpg","text":"TemporaryFile(/tmp/multipartBody3991550752814291414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230625095,"filename":"image_03112025_21_52_27_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62eb4858df196aa1d01763dcb3559552.jpg","text":"TemporaryFile(/tmp/multipartBody1294852846976907220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230625095,"filename":"image_03112025_21_52_03_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e22011d78761a7ee6d1d63d525abb57d.jpg","text":"TemporaryFile(/tmp/multipartBody8809361186680389505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230625095,"filename":"image_03112025_21_52_24_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/498515d92bcadd084f4ae63ce98a457a.jpg","text":"TemporaryFile(/tmp/multipartBody8252759884043335574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230625095,"filename":"image_03112025_21_52_19_3355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca26fd205966ef64a9d5d0df09d04e99.jpg","text":"TemporaryFile(/tmp/multipartBody6534040155464597392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230625095,"filename":"image_03112025_21_52_33_2792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976463","file1":"1401976462","file0":"1401976461","file4":"1401976465","file5":"1401976466","file3":"1401976464"},"map_files_photo_id_array":[{"photo_id":"1401976466","filename":"file5"},{"photo_id":"1401976463","filename":"file2"},{"photo_id":"1401976465","filename":"file4"},{"photo_id":"1401976462","filename":"file1"},{"photo_id":"1401976461","filename":"file0"},{"photo_id":"1401976464","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976462":["hashtag1","hashtag2"]},{"1401976465":["hashtag1","hashtag2"]},{"1401976461":["hashtag1","hashtag2"]},{"1401976464":["hashtag1","hashtag2"]},{"1401976463":["hashtag1","hashtag2"]},{"1401976466":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976462, 1401976465, 1401976461, 1401976464, 1401976463, 1401976466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3894407749176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:23:22.687440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/57/image_01012026_01_57_35_10584.jpg', '/home/pi/Desktop/images/01012026/01/57/image_01012026_01_57_44_9609.jpg', '/home/pi/Desktop/images/01012026/01/57/image_01012026_01_58_05_9677.jpg', '/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_14_9784.jpg', '/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_25_10533.jpg', '/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_35_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/57/image_01012026_01_57_35_10584.jpg
/home/pi/Desktop/images/01012026/01/57/image_01012026_01_57_44_9609.jpg
/home/pi/Desktop/images/01012026/01/57/image_01012026_01_58_05_9677.jpg
/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_14_9784.jpg
/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_25_10533.jpg
/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_35_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976477","1401976470","1401976476","1401976472","1401976474","1401976468"],"photo_ids_order":["1401976468","1401976470","1401976472","1401976474","1401976476","1401976477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/399a80d25ce10598ba95c0357bc7a017.jpg","text":"TemporaryFile(/tmp/multipartBody2943535258107565957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230663313,"filename":"image_01012026_01_58_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6706e563d5425c15059e84132be539bb.jpg","text":"TemporaryFile(/tmp/multipartBody3660495908391123449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230663313,"filename":"image_01012026_01_57_44_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec8b2cb73707c5d42b54640d4a7655f9.jpg","text":"TemporaryFile(/tmp/multipartBody6473987255446203237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230663313,"filename":"image_01012026_01_58_25_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fab248365407a53100bca0c494bd4445.jpg","text":"TemporaryFile(/tmp/multipartBody6788382541635891187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230663313,"filename":"image_01012026_01_58_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddd2bbad8f45eec44446ffd2c95a401c.jpg","text":"TemporaryFile(/tmp/multipartBody3612361380913613573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230663313,"filename":"image_01012026_01_58_14_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0377e17cb1cb807939c8aa69f2456590.jpg","text":"TemporaryFile(/tmp/multipartBody2681565949179214921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230663313,"filename":"image_01012026_01_57_35_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976472","file1":"1401976470","file0":"1401976468","file4":"1401976476","file5":"1401976477","file3":"1401976474"},"map_files_photo_id_array":[{"photo_id":"1401976477","filename":"file5"},{"photo_id":"1401976472","filename":"file2"},{"photo_id":"1401976476","filename":"file4"},{"photo_id":"1401976470","filename":"file1"},{"photo_id":"1401976468","filename":"file0"},{"photo_id":"1401976474","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976477":["hashtag1","hashtag2"]},{"1401976470":["hashtag1","hashtag2"]},{"1401976476":["hashtag1","hashtag2"]},{"1401976472":["hashtag1","hashtag2"]},{"1401976474":["hashtag1","hashtag2"]},{"1401976468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976477, 1401976470, 1401976476, 1401976472, 1401976474, 1401976468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37660336494446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:24:02.540731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_44_9850.jpg', '/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_54_9619.jpg', '/home/pi/Desktop/images/01012026/01/58/image_01012026_01_59_05_10783.jpg', '/home/pi/Desktop/images/01012026/01/59/image_01012026_01_59_15_9802.jpg', '/home/pi/Desktop/images/01012026/01/59/image_01012026_01_59_24_9700.jpg', '/home/pi/Desktop/images/01012026/01/59/image_01012026_01_59_45_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_44_9850.jpg
/home/pi/Desktop/images/01012026/01/58/image_01012026_01_58_54_9619.jpg
/home/pi/Desktop/images/01012026/01/58/image_01012026_01_59_05_10783.jpg
/home/pi/Desktop/images/01012026/01/59/image_01012026_01_59_15_9802.jpg
/home/pi/Desktop/images/01012026/01/59/image_01012026_01_59_24_9700.jpg
/home/pi/Desktop/images/01012026/01/59/image_01012026_01_59_45_10705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976479","1401976482","1401976481","1401976484","1401976478","1401976480"],"photo_ids_order":["1401976478","1401976479","1401976480","1401976481","1401976482","1401976484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34efdb8dac68e05d0e253a523d8c8576.jpg","text":"TemporaryFile(/tmp/multipartBody1942104329245607564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230703228,"filename":"image_01012026_01_58_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d4b1e52da07ad94b33171af19b86737.jpg","text":"TemporaryFile(/tmp/multipartBody2523555220715768171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230703228,"filename":"image_01012026_01_59_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c55a5007ef779e7133cf77f095955e26.jpg","text":"TemporaryFile(/tmp/multipartBody9178187868137440417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230703228,"filename":"image_01012026_01_59_15_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f742c751185b30b9517d73eebc50e89.jpg","text":"TemporaryFile(/tmp/multipartBody4069960780452071596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230703228,"filename":"image_01012026_01_59_45_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e905c55cbe2595d905437ac98563aa3.jpg","text":"TemporaryFile(/tmp/multipartBody996492601674752605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230703228,"filename":"image_01012026_01_58_44_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24bc542f39d6a384b96293758f5c62e8.jpg","text":"TemporaryFile(/tmp/multipartBody1790236280343076704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230703228,"filename":"image_01012026_01_59_05_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976480","file1":"1401976479","file0":"1401976478","file4":"1401976482","file5":"1401976484","file3":"1401976481"},"map_files_photo_id_array":[{"photo_id":"1401976484","filename":"file5"},{"photo_id":"1401976480","filename":"file2"},{"photo_id":"1401976482","filename":"file4"},{"photo_id":"1401976479","filename":"file1"},{"photo_id":"1401976478","filename":"file0"},{"photo_id":"1401976481","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976479":["hashtag1","hashtag2"]},{"1401976482":["hashtag1","hashtag2"]},{"1401976481":["hashtag1","hashtag2"]},{"1401976484":["hashtag1","hashtag2"]},{"1401976478":["hashtag1","hashtag2"]},{"1401976480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976479, 1401976482, 1401976481, 1401976484, 1401976478, 1401976480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.080875396728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:24:41.933358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_39_2587.jpg', '/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_58_3584.jpg', '/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_03_2801.jpg', '/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_21_2726.jpg', '/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_27_2585.jpg', '/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_33_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_39_2587.jpg
/home/pi/Desktop/images/03112025/21/52/image_03112025_21_52_58_3584.jpg
/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_03_2801.jpg
/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_21_2726.jpg
/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_27_2585.jpg
/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_33_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976494","1401976493","1401976496","1401976490","1401976492","1401976495"],"photo_ids_order":["1401976490","1401976492","1401976493","1401976494","1401976495","1401976496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c388908257937604488480fe9f70abc.jpg","text":"TemporaryFile(/tmp/multipartBody7740030567908523606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230743697,"filename":"image_03112025_21_53_21_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9031f808cb76d8a39b36a35fe35f613f.jpg","text":"TemporaryFile(/tmp/multipartBody581170850947515578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230743697,"filename":"image_03112025_21_53_03_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/586343bcd65a186f630429e9fe1ba21b.jpg","text":"TemporaryFile(/tmp/multipartBody476720919873136391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230743697,"filename":"image_03112025_21_53_33_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b39e9f06e93ef5e2a25702df35e6365.jpg","text":"TemporaryFile(/tmp/multipartBody2416918633608778668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230743697,"filename":"image_03112025_21_52_39_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e19762f68cecaad51c8c57d3888b8bf5.jpg","text":"TemporaryFile(/tmp/multipartBody4337921081381792593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230743697,"filename":"image_03112025_21_52_58_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67502abfa0e5c190e617d5bffabf14fc.jpg","text":"TemporaryFile(/tmp/multipartBody5940193436254775088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230743697,"filename":"image_03112025_21_53_27_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976493","file1":"1401976492","file0":"1401976490","file4":"1401976495","file5":"1401976496","file3":"1401976494"},"map_files_photo_id_array":[{"photo_id":"1401976496","filename":"file5"},{"photo_id":"1401976493","filename":"file2"},{"photo_id":"1401976495","filename":"file4"},{"photo_id":"1401976492","filename":"file1"},{"photo_id":"1401976490","filename":"file0"},{"photo_id":"1401976494","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976494":["hashtag1","hashtag2"]},{"1401976493":["hashtag1","hashtag2"]},{"1401976496":["hashtag1","hashtag2"]},{"1401976490":["hashtag1","hashtag2"]},{"1401976492":["hashtag1","hashtag2"]},{"1401976495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976494, 1401976493, 1401976496, 1401976490, 1401976492, 1401976495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41051244735718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:25:22.110270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/01/59/image_01012026_01_59_55_9582.jpg', '/home/pi/Desktop/images/01012026/01/59/image_01012026_02_00_04_9575.jpg', '/home/pi/Desktop/images/01012026/02/00/image_01012026_02_00_14_10373.jpg', '/home/pi/Desktop/images/01012026/02/00/image_01012026_02_00_44_9213.jpg', '/home/pi/Desktop/images/01012026/02/00/image_01012026_02_00_55_10741.jpg', '/home/pi/Desktop/images/01012026/02/00/image_01012026_02_01_05_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/01/59/image_01012026_01_59_55_9582.jpg
/home/pi/Desktop/images/01012026/01/59/image_01012026_02_00_04_9575.jpg
/home/pi/Desktop/images/01012026/02/00/image_01012026_02_00_14_10373.jpg
/home/pi/Desktop/images/01012026/02/00/image_01012026_02_00_44_9213.jpg
/home/pi/Desktop/images/01012026/02/00/image_01012026_02_00_55_10741.jpg
/home/pi/Desktop/images/01012026/02/00/image_01012026_02_01_05_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":["1401976504","1401976507","1401976497","1401976506","1401976500","1401976502"],"photo_ids_order":["1401976497","1401976500","1401976502","1401976504","1401976506","1401976507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a9836e7c26d8e98186c7833e3b20f4e.jpg","text":"TemporaryFile(/tmp/multipartBody593658935430942179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230782705,"filename":"image_01012026_02_00_44_9213.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dc70a0bdda259d5119f24d3115b9fe1.jpg","text":"TemporaryFile(/tmp/multipartBody1644235075459596763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230782705,"filename":"image_01012026_02_01_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6b22147a429ec6ce97eacd961d20269.jpg","text":"TemporaryFile(/tmp/multipartBody2809505117911916694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230782705,"filename":"image_01012026_01_59_55_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/217811102a311f6fe160118e61849740.jpg","text":"TemporaryFile(/tmp/multipartBody325343477918308944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230782705,"filename":"image_01012026_02_00_55_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4892d8916688e3de03ab1ffe0f6cdda.jpg","text":"TemporaryFile(/tmp/multipartBody8570094262757462388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230782705,"filename":"image_01012026_02_00_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c19ca473dd5186a2285d9f0759d7591a.jpg","text":"TemporaryFile(/tmp/multipartBody5686224093808940154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230782705,"filename":"image_01012026_02_00_14_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976502","file1":"1401976500","file0":"1401976497","file4":"1401976506","file5":"1401976507","file3":"1401976504"},"map_files_photo_id_array":[{"photo_id":"1401976507","filename":"file5"},{"photo_id":"1401976502","filename":"file2"},{"photo_id":"1401976506","filename":"file4"},{"photo_id":"1401976500","filename":"file1"},{"photo_id":"1401976497","filename":"file0"},{"photo_id":"1401976504","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976504":["hashtag1","hashtag2"]},{"1401976507":["hashtag1","hashtag2"]},{"1401976497":["hashtag1","hashtag2"]},{"1401976506":["hashtag1","hashtag2"]},{"1401976500":["hashtag1","hashtag2"]},{"1401976502":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976504, 1401976507, 1401976497, 1401976506, 1401976500, 1401976502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.811416149139404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:26:02.834867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_14_9699.jpg', '/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_24_9851.jpg', '/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_35_10711.jpg', '/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_44_9674.jpg', '/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_54_10003.jpg', '/home/pi/Desktop/images/01012026/02/01/image_01012026_02_02_04_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_14_9699.jpg
/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_24_9851.jpg
/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_35_10711.jpg
/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_44_9674.jpg
/home/pi/Desktop/images/01012026/02/01/image_01012026_02_01_54_10003.jpg
/home/pi/Desktop/images/01012026/02/01/image_01012026_02_02_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":["1401976510","1401976513","1401976515","1401976509","1401976512","1401976511"],"photo_ids_order":["1401976509","1401976510","1401976511","1401976512","1401976513","1401976515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/426d75487743d1d388318b3dae17e739.jpg","text":"TemporaryFile(/tmp/multipartBody3324089879051414238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230823488,"filename":"image_01012026_02_01_24_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6db23e18fbde20da3065ed89b649503f.jpg","text":"TemporaryFile(/tmp/multipartBody4245386415159043551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230823488,"filename":"image_01012026_02_01_54_10003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c7a12be0497d7e6c54d89720195fb17.jpg","text":"TemporaryFile(/tmp/multipartBody1559700939758859635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230823488,"filename":"image_01012026_02_02_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1140893829ee8bc1686ac28533f4b547.jpg","text":"TemporaryFile(/tmp/multipartBody3302573887037090025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230823488,"filename":"image_01012026_02_01_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/407b295835d9984ebbaf1209dc6ef736.jpg","text":"TemporaryFile(/tmp/multipartBody515944773541704373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230823488,"filename":"image_01012026_02_01_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/137d7a893ac393e3706488e647acc939.jpg","text":"TemporaryFile(/tmp/multipartBody6591970914876551429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230823488,"filename":"image_01012026_02_01_35_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976511","file1":"1401976510","file0":"1401976509","file4":"1401976513","file5":"1401976515","file3":"1401976512"},"map_files_photo_id_array":[{"photo_id":"1401976515","filename":"file5"},{"photo_id":"1401976511","filename":"file2"},{"photo_id":"1401976513","filename":"file4"},{"photo_id":"1401976510","filename":"file1"},{"photo_id":"1401976509","filename":"file0"},{"photo_id":"1401976512","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976510":["hashtag1","hashtag2"]},{"1401976513":["hashtag1","hashtag2"]},{"1401976515":["hashtag1","hashtag2"]},{"1401976509":["hashtag1","hashtag2"]},{"1401976512":["hashtag1","hashtag2"]},{"1401976511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976510, 1401976513, 1401976515, 1401976509, 1401976512, 1401976511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.442389488220215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:26:42.344039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_45_2722.jpg', '/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_48_3622.jpg', '/home/pi/Desktop/images/03112025/21/54/image_03112025_21_54_24_1646.jpg', '/home/pi/Desktop/images/03112025/21/54/image_03112025_21_54_27_2681.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_12_3676.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_15_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/21/53/image_03112025_21_53_45_2722.jpg
/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_48_3622.jpg
/home/pi/Desktop/images/03112025/21/54/image_03112025_21_54_24_1646.jpg
/home/pi/Desktop/images/03112025/21/54/image_03112025_21_54_27_2681.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_12_3676.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_15_2630.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.6411774158477783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:27:03.192965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_15_10538.jpg', '/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_24_9592.jpg', '/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_35_10684.jpg', '/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_45_9641.jpg', '/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_54_9602.jpg', '/home/pi/Desktop/images/01012026/02/02/image_01012026_02_03_05_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_15_10538.jpg
/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_24_9592.jpg
/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_35_10684.jpg
/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_45_9641.jpg
/home/pi/Desktop/images/01012026/02/02/image_01012026_02_02_54_9602.jpg
/home/pi/Desktop/images/01012026/02/02/image_01012026_02_03_05_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976531","1401976528","1401976533","1401976527","1401976530","1401976526"],"photo_ids_order":["1401976526","1401976527","1401976528","1401976530","1401976531","1401976533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d33455b839932906cdd1f8915382457.jpg","text":"TemporaryFile(/tmp/multipartBody982427136945973634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230883852,"filename":"image_01012026_02_02_54_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58d31c4ac5f90d10c9dab3212b58914c.jpg","text":"TemporaryFile(/tmp/multipartBody5388348072885059879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230883852,"filename":"image_01012026_02_02_35_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3d155cb1bf6f4a00538dae9741466f7.jpg","text":"TemporaryFile(/tmp/multipartBody214195316698541049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230883852,"filename":"image_01012026_02_03_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1536a74ad24604bd3210f0d442298d47.jpg","text":"TemporaryFile(/tmp/multipartBody5885914561542765930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230883852,"filename":"image_01012026_02_02_24_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbf4661f7f482b00f0577b25a8462974.jpg","text":"TemporaryFile(/tmp/multipartBody2134764988050444549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230883852,"filename":"image_01012026_02_02_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c73346635bd3f1e71baba8e1b70e783c.jpg","text":"TemporaryFile(/tmp/multipartBody7231293201951611473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230883852,"filename":"image_01012026_02_02_15_10538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976528","file1":"1401976527","file0":"1401976526","file4":"1401976531","file5":"1401976533","file3":"1401976530"},"map_files_photo_id_array":[{"photo_id":"1401976533","filename":"file5"},{"photo_id":"1401976528","filename":"file2"},{"photo_id":"1401976531","filename":"file4"},{"photo_id":"1401976527","filename":"file1"},{"photo_id":"1401976526","filename":"file0"},{"photo_id":"1401976530","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976531":["hashtag1","hashtag2"]},{"1401976528":["hashtag1","hashtag2"]},{"1401976533":["hashtag1","hashtag2"]},{"1401976527":["hashtag1","hashtag2"]},{"1401976530":["hashtag1","hashtag2"]},{"1401976526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976531, 1401976528, 1401976533, 1401976527, 1401976530, 1401976526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40635585784912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:27:42.468108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_45_2722.jpg', '/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_48_3622.jpg', '/home/pi/Desktop/images/03112025/21/54/image_03112025_21_54_24_1646.jpg', '/home/pi/Desktop/images/03112025/21/54/image_03112025_21_54_27_2681.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_12_3676.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_15_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/21/53/image_03112025_21_53_45_2722.jpg
/home/pi/Desktop/images/03112025/21/53/image_03112025_21_53_48_3622.jpg
/home/pi/Desktop/images/03112025/21/54/image_03112025_21_54_24_1646.jpg
/home/pi/Desktop/images/03112025/21/54/image_03112025_21_54_27_2681.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_12_3676.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_15_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":["1401976540","1401976543","1401976542","1401976544","1401976538","1401976541"],"photo_ids_order":["1401976538","1401976540","1401976541","1401976542","1401976543","1401976544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af9121329e2c15d5069d1960763fbbd2.jpg","text":"TemporaryFile(/tmp/multipartBody1280030633363508682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230924113,"filename":"image_03112025_21_53_48_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd3e3410df2fe4536df0da2069435f60.jpg","text":"TemporaryFile(/tmp/multipartBody1789692015399671249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230924113,"filename":"image_03112025_21_55_12_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9ae5156bfcd1024d44693e5903846c1.jpg","text":"TemporaryFile(/tmp/multipartBody3857916247378469512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230924113,"filename":"image_03112025_21_54_27_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c400558cf74444cfef8b61d3be561699.jpg","text":"TemporaryFile(/tmp/multipartBody7536108792735352196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230924113,"filename":"image_03112025_21_55_15_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1738d56e0cb43039c0d0b85d945fe625.jpg","text":"TemporaryFile(/tmp/multipartBody6765169255274942563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230924113,"filename":"image_03112025_21_53_45_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fc80ee906454b1f074fec28e39ef55f.jpg","text":"TemporaryFile(/tmp/multipartBody4973572473700690888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230924113,"filename":"image_03112025_21_54_24_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976541","file1":"1401976540","file0":"1401976538","file4":"1401976543","file5":"1401976544","file3":"1401976542"},"map_files_photo_id_array":[{"photo_id":"1401976544","filename":"file5"},{"photo_id":"1401976541","filename":"file2"},{"photo_id":"1401976543","filename":"file4"},{"photo_id":"1401976540","filename":"file1"},{"photo_id":"1401976538","filename":"file0"},{"photo_id":"1401976542","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976540":["hashtag1","hashtag2"]},{"1401976543":["hashtag1","hashtag2"]},{"1401976542":["hashtag1","hashtag2"]},{"1401976544":["hashtag1","hashtag2"]},{"1401976538":["hashtag1","hashtag2"]},{"1401976541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976540, 1401976543, 1401976542, 1401976544, 1401976538, 1401976541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.830660343170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:28:22.749083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/03/image_01012026_02_03_14_9578.jpg', '/home/pi/Desktop/images/01012026/02/03/image_01012026_02_03_24_9740.jpg', '/home/pi/Desktop/images/01012026/02/03/image_01012026_02_03_45_10623.jpg', '/home/pi/Desktop/images/01012026/02/03/image_01012026_02_03_54_9325.jpg', '/home/pi/Desktop/images/01012026/02/03/image_01012026_02_04_04_9808.jpg', '/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_15_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/03/image_01012026_02_03_14_9578.jpg
/home/pi/Desktop/images/01012026/02/03/image_01012026_02_03_24_9740.jpg
/home/pi/Desktop/images/01012026/02/03/image_01012026_02_03_45_10623.jpg
/home/pi/Desktop/images/01012026/02/03/image_01012026_02_03_54_9325.jpg
/home/pi/Desktop/images/01012026/02/03/image_01012026_02_04_04_9808.jpg
/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_15_10644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976555","1401976552","1401976546","1401976554","1401976548","1401976550"],"photo_ids_order":["1401976546","1401976548","1401976550","1401976552","1401976554","1401976555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef1408a8025f4f56ccd62e328641a2cf.jpg","text":"TemporaryFile(/tmp/multipartBody361114354358474372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230963342,"filename":"image_01012026_02_04_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21fff1f0a50a13d9e1a39d339e99aa68.jpg","text":"TemporaryFile(/tmp/multipartBody540203191308690584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230963342,"filename":"image_01012026_02_03_54_9325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fe116a8d83cbfc021343bea24532106.jpg","text":"TemporaryFile(/tmp/multipartBody904489302358616646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230963342,"filename":"image_01012026_02_03_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d18b92da5d81c647d7bd47360afb82d.jpg","text":"TemporaryFile(/tmp/multipartBody3844590989984338662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230963342,"filename":"image_01012026_02_04_04_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33aae8ce077242529e170c487cd7c52f.jpg","text":"TemporaryFile(/tmp/multipartBody8126513215558338482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230963342,"filename":"image_01012026_02_03_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2c67f6f2532a465d9f648a9e580918d.jpg","text":"TemporaryFile(/tmp/multipartBody896980435360583993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767230963342,"filename":"image_01012026_02_03_45_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976550","file1":"1401976548","file0":"1401976546","file4":"1401976554","file5":"1401976555","file3":"1401976552"},"map_files_photo_id_array":[{"photo_id":"1401976555","filename":"file5"},{"photo_id":"1401976550","filename":"file2"},{"photo_id":"1401976554","filename":"file4"},{"photo_id":"1401976548","filename":"file1"},{"photo_id":"1401976546","filename":"file0"},{"photo_id":"1401976552","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976555":["hashtag1","hashtag2"]},{"1401976552":["hashtag1","hashtag2"]},{"1401976546":["hashtag1","hashtag2"]},{"1401976554":["hashtag1","hashtag2"]},{"1401976548":["hashtag1","hashtag2"]},{"1401976550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976555, 1401976552, 1401976546, 1401976554, 1401976548, 1401976550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60297155380249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:29:02.833722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_25_9797.jpg', '/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_35_9935.jpg', '/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_44_9613.jpg', '/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_55_10839.jpg', '/home/pi/Desktop/images/01012026/02/04/image_01012026_02_05_05_9603.jpg', '/home/pi/Desktop/images/01012026/02/05/image_01012026_02_05_14_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_25_9797.jpg
/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_35_9935.jpg
/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_44_9613.jpg
/home/pi/Desktop/images/01012026/02/04/image_01012026_02_04_55_10839.jpg
/home/pi/Desktop/images/01012026/02/04/image_01012026_02_05_05_9603.jpg
/home/pi/Desktop/images/01012026/02/05/image_01012026_02_05_14_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":["1401976558","1401976563","1401976566","1401976560","1401976562","1401976556"],"photo_ids_order":["1401976556","1401976558","1401976560","1401976562","1401976563","1401976566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2750ee61e6d073864f2ff2fbece1692.jpg","text":"TemporaryFile(/tmp/multipartBody7150581099740594379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231003560,"filename":"image_01012026_02_04_35_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6718bc233072082f23b8fee88903c9ef.jpg","text":"TemporaryFile(/tmp/multipartBody6359697053382535080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231003560,"filename":"image_01012026_02_05_05_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a2cf0a897d3707ccf7e91499f148d90.jpg","text":"TemporaryFile(/tmp/multipartBody8405113073762770648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231003560,"filename":"image_01012026_02_05_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcc0093addc6bb206813fbdac9132a8e.jpg","text":"TemporaryFile(/tmp/multipartBody5187045990686615192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231003560,"filename":"image_01012026_02_04_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cca4d333e1ffa7c81eeb6382216475be.jpg","text":"TemporaryFile(/tmp/multipartBody4241546155970311908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231003560,"filename":"image_01012026_02_04_55_10839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eff7e0be4cc392d12a0514b891cf7936.jpg","text":"TemporaryFile(/tmp/multipartBody462583980930740103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231003560,"filename":"image_01012026_02_04_25_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976560","file1":"1401976558","file0":"1401976556","file4":"1401976563","file5":"1401976566","file3":"1401976562"},"map_files_photo_id_array":[{"photo_id":"1401976566","filename":"file5"},{"photo_id":"1401976560","filename":"file2"},{"photo_id":"1401976563","filename":"file4"},{"photo_id":"1401976558","filename":"file1"},{"photo_id":"1401976556","filename":"file0"},{"photo_id":"1401976562","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976558":["hashtag1","hashtag2"]},{"1401976563":["hashtag1","hashtag2"]},{"1401976566":["hashtag1","hashtag2"]},{"1401976560":["hashtag1","hashtag2"]},{"1401976562":["hashtag1","hashtag2"]},{"1401976556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976558, 1401976563, 1401976566, 1401976560, 1401976562, 1401976556)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.37628149986267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:30:02.432072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/05/image_01012026_02_05_25_10665.jpg', '/home/pi/Desktop/images/01012026/02/05/image_01012026_02_05_35_9607.jpg', '/home/pi/Desktop/images/01012026/02/05/image_01012026_02_05_55_10684.jpg', '/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_05_9816.jpg', '/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_14_9571.jpg', '/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_25_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/05/image_01012026_02_05_25_10665.jpg
/home/pi/Desktop/images/01012026/02/05/image_01012026_02_05_35_9607.jpg
/home/pi/Desktop/images/01012026/02/05/image_01012026_02_05_55_10684.jpg
/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_05_9816.jpg
/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_14_9571.jpg
/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_25_10793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976582","1401976576","1401976578","1401976575","1401976580","1401976577"],"photo_ids_order":["1401976575","1401976576","1401976577","1401976578","1401976580","1401976582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6676e4d034a0449092893023658a8bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8404716906789241346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231063105,"filename":"image_01012026_02_06_25_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a75af744202043b47e54c5831931741.jpg","text":"TemporaryFile(/tmp/multipartBody7361840270711098683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231063105,"filename":"image_01012026_02_05_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56363b074e03afd6548ec2e7780cf903.jpg","text":"TemporaryFile(/tmp/multipartBody8647609428414224678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231063105,"filename":"image_01012026_02_06_05_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/535ab4509e398c6935851c2e3a1ae5b5.jpg","text":"TemporaryFile(/tmp/multipartBody5680518064497096686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231063105,"filename":"image_01012026_02_05_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b3be78db9c8a853cb4d0b6635fe7ab0.jpg","text":"TemporaryFile(/tmp/multipartBody1023115150648086711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231063105,"filename":"image_01012026_02_06_14_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e30617e9315fb5771b9f7fc22b75d6a9.jpg","text":"TemporaryFile(/tmp/multipartBody5603294402679043883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231063105,"filename":"image_01012026_02_05_55_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976577","file1":"1401976576","file0":"1401976575","file4":"1401976580","file5":"1401976582","file3":"1401976578"},"map_files_photo_id_array":[{"photo_id":"1401976582","filename":"file5"},{"photo_id":"1401976577","filename":"file2"},{"photo_id":"1401976580","filename":"file4"},{"photo_id":"1401976576","filename":"file1"},{"photo_id":"1401976575","filename":"file0"},{"photo_id":"1401976578","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976582":["hashtag1","hashtag2"]},{"1401976576":["hashtag1","hashtag2"]},{"1401976578":["hashtag1","hashtag2"]},{"1401976575":["hashtag1","hashtag2"]},{"1401976580":["hashtag1","hashtag2"]},{"1401976577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976582, 1401976576, 1401976578, 1401976575, 1401976580, 1401976577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98427772521973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:30:42.065280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_18_2663.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_21_3713.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_24_2717.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_33_3528.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_47_2873.jpg', '/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_59_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/21/55/image_03112025_21_55_18_2663.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_21_3713.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_24_2717.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_33_3528.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_47_2873.jpg
/home/pi/Desktop/images/03112025/21/55/image_03112025_21_55_59_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":["1401976590","1401976587","1401976592","1401976589","1401976591","1401976588"],"photo_ids_order":["1401976587","1401976588","1401976589","1401976590","1401976591","1401976592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/658c4b2567ef8cfc288da8345130a3eb.jpg","text":"TemporaryFile(/tmp/multipartBody6693108130832707580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231103807,"filename":"image_03112025_21_55_33_3528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbfb115caf243cc7521c15bf1b2ab315.jpg","text":"TemporaryFile(/tmp/multipartBody5902205406779673153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231103807,"filename":"image_03112025_21_55_18_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8959ff34a138b78ca9c3c64cec6b200c.jpg","text":"TemporaryFile(/tmp/multipartBody1276904032841889419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231103807,"filename":"image_03112025_21_55_59_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b3363c876a9d80eeae562a3b6bf9408.jpg","text":"TemporaryFile(/tmp/multipartBody4538894196254892891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231103807,"filename":"image_03112025_21_55_24_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c49f864ca8ad188c81a44806c1e6db68.jpg","text":"TemporaryFile(/tmp/multipartBody7986312303469352220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231103807,"filename":"image_03112025_21_55_47_2873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dec8bcc6007e97e0452ca7a303985c7.jpg","text":"TemporaryFile(/tmp/multipartBody5596442599066668388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231103807,"filename":"image_03112025_21_55_21_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976589","file1":"1401976588","file0":"1401976587","file4":"1401976591","file5":"1401976592","file3":"1401976590"},"map_files_photo_id_array":[{"photo_id":"1401976592","filename":"file5"},{"photo_id":"1401976589","filename":"file2"},{"photo_id":"1401976591","filename":"file4"},{"photo_id":"1401976588","filename":"file1"},{"photo_id":"1401976587","filename":"file0"},{"photo_id":"1401976590","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976590":["hashtag1","hashtag2"]},{"1401976587":["hashtag1","hashtag2"]},{"1401976592":["hashtag1","hashtag2"]},{"1401976589":["hashtag1","hashtag2"]},{"1401976591":["hashtag1","hashtag2"]},{"1401976588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976590, 1401976587, 1401976592, 1401976589, 1401976591, 1401976588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15101361274719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:31:22.232875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_35_9491.jpg', '/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_44_9826.jpg', '/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_55_10548.jpg', '/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_09_14230.jpg', '/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_14_4953.jpg', '/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_25_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_35_9491.jpg
/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_44_9826.jpg
/home/pi/Desktop/images/01012026/02/06/image_01012026_02_06_55_10548.jpg
/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_09_14230.jpg
/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_14_4953.jpg
/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_25_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":["1401976603","1401976599","1401976605","1401976595","1401976597","1401976601"],"photo_ids_order":["1401976595","1401976597","1401976599","1401976601","1401976603","1401976605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac25b310a6767e005deec326aab032f9.jpg","text":"TemporaryFile(/tmp/multipartBody4209981258671146482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231142834,"filename":"image_01012026_02_07_14_4953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46dff011e3b00d33f821d64498105e05.jpg","text":"TemporaryFile(/tmp/multipartBody231237928588738682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231142834,"filename":"image_01012026_02_06_55_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f3d509999b4304a8b33795fd5ea1009.jpg","text":"TemporaryFile(/tmp/multipartBody6350357259984334961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231142834,"filename":"image_01012026_02_07_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d25ff9cd17b6183fcbf0826be2fcda2.jpg","text":"TemporaryFile(/tmp/multipartBody9198241824025370444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231142834,"filename":"image_01012026_02_06_35_9491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90892f7f7d11bc972566ed4299d8f939.jpg","text":"TemporaryFile(/tmp/multipartBody6618819101458758458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231142834,"filename":"image_01012026_02_06_44_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc3b22b613995a438505feb5b37e428f.jpg","text":"TemporaryFile(/tmp/multipartBody2755396479478858941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231142834,"filename":"image_01012026_02_07_09_14230.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976599","file1":"1401976597","file0":"1401976595","file4":"1401976603","file5":"1401976605","file3":"1401976601"},"map_files_photo_id_array":[{"photo_id":"1401976605","filename":"file5"},{"photo_id":"1401976599","filename":"file2"},{"photo_id":"1401976603","filename":"file4"},{"photo_id":"1401976597","filename":"file1"},{"photo_id":"1401976595","filename":"file0"},{"photo_id":"1401976601","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976603":["hashtag1","hashtag2"]},{"1401976599":["hashtag1","hashtag2"]},{"1401976605":["hashtag1","hashtag2"]},{"1401976595":["hashtag1","hashtag2"]},{"1401976597":["hashtag1","hashtag2"]},{"1401976601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976603, 1401976599, 1401976605, 1401976595, 1401976597, 1401976601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.170153856277466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:32:03.016835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_35_9811.jpg', '/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_44_9745.jpg', '/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_54_9700.jpg', '/home/pi/Desktop/images/01012026/02/07/image_01012026_02_08_05_10711.jpg', '/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_14_9652.jpg', '/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_25_10531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_35_9811.jpg
/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_44_9745.jpg
/home/pi/Desktop/images/01012026/02/07/image_01012026_02_07_54_9700.jpg
/home/pi/Desktop/images/01012026/02/07/image_01012026_02_08_05_10711.jpg
/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_14_9652.jpg
/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_25_10531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976612","1401976606","1401976609","1401976608","1401976610","1401976607"],"photo_ids_order":["1401976606","1401976607","1401976608","1401976609","1401976610","1401976612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/499c2353a0a7ce4a24eb05362a0a21f4.jpg","text":"TemporaryFile(/tmp/multipartBody917651838520810335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231183638,"filename":"image_01012026_02_08_25_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f69f55e2767fed02755ac1b90bdd7ae.jpg","text":"TemporaryFile(/tmp/multipartBody4680873653751667584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231183638,"filename":"image_01012026_02_07_35_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0e61de071b8fdc6bcc4ae2436be9312.jpg","text":"TemporaryFile(/tmp/multipartBody8903464373427544203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231183638,"filename":"image_01012026_02_08_05_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/136941de3a1115d6f4d7f8818e39636b.jpg","text":"TemporaryFile(/tmp/multipartBody8104415014309668271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231183638,"filename":"image_01012026_02_07_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e462e13a4dda2cfe4fab7d3154e0fd36.jpg","text":"TemporaryFile(/tmp/multipartBody3433691833450160607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231183638,"filename":"image_01012026_02_08_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3483c1248904d114be3e81d4284b792b.jpg","text":"TemporaryFile(/tmp/multipartBody4179253068437921001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231183638,"filename":"image_01012026_02_07_44_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976608","file1":"1401976607","file0":"1401976606","file4":"1401976610","file5":"1401976612","file3":"1401976609"},"map_files_photo_id_array":[{"photo_id":"1401976612","filename":"file5"},{"photo_id":"1401976608","filename":"file2"},{"photo_id":"1401976610","filename":"file4"},{"photo_id":"1401976607","filename":"file1"},{"photo_id":"1401976606","filename":"file0"},{"photo_id":"1401976609","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976612":["hashtag1","hashtag2"]},{"1401976606":["hashtag1","hashtag2"]},{"1401976609":["hashtag1","hashtag2"]},{"1401976608":["hashtag1","hashtag2"]},{"1401976610":["hashtag1","hashtag2"]},{"1401976607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976612, 1401976606, 1401976609, 1401976608, 1401976610, 1401976607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39167666435242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:32:42.629663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_03_3649.jpg', '/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_12_3634.jpg', '/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_18_2822.jpg', '/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_21_3717.jpg', '/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_24_2651.jpg', '/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_35_2570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_03_3649.jpg
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_12_3634.jpg
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_18_2822.jpg
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_21_3717.jpg
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_24_2651.jpg
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_35_2570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976621","1401976624","1401976623","1401976625","1401976619","1401976622"],"photo_ids_order":["1401976619","1401976621","1401976622","1401976623","1401976624","1401976625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78012e72e148d9a4e68c229474287387.jpg","text":"TemporaryFile(/tmp/multipartBody2885332228467411028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231224413,"filename":"image_03112025_21_56_12_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75fa066b8722181291abdeaa0365a45b.jpg","text":"TemporaryFile(/tmp/multipartBody1439429281847461986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231224413,"filename":"image_03112025_21_56_24_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/706183c8ce68213a4d70593f8290d556.jpg","text":"TemporaryFile(/tmp/multipartBody3860938359125827187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231224413,"filename":"image_03112025_21_56_21_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4088b5b5293cfa52a62d1ca90129c827.jpg","text":"TemporaryFile(/tmp/multipartBody3881030674802870448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231224413,"filename":"image_03112025_21_56_35_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f292cc10e07c1366e08f5b054a00e898.jpg","text":"TemporaryFile(/tmp/multipartBody7687697097062473048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231224413,"filename":"image_03112025_21_56_03_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef803e2ebe4c56a1ef9836ef1865e5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5784975962882670395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231224413,"filename":"image_03112025_21_56_18_2822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976622","file1":"1401976621","file0":"1401976619","file4":"1401976624","file5":"1401976625","file3":"1401976623"},"map_files_photo_id_array":[{"photo_id":"1401976625","filename":"file5"},{"photo_id":"1401976622","filename":"file2"},{"photo_id":"1401976624","filename":"file4"},{"photo_id":"1401976621","filename":"file1"},{"photo_id":"1401976619","filename":"file0"},{"photo_id":"1401976623","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976621":["hashtag1","hashtag2"]},{"1401976624":["hashtag1","hashtag2"]},{"1401976623":["hashtag1","hashtag2"]},{"1401976625":["hashtag1","hashtag2"]},{"1401976619":["hashtag1","hashtag2"]},{"1401976622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976621, 1401976624, 1401976623, 1401976625, 1401976619, 1401976622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60457801818848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:33:22.810456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_35_9647.jpg', '/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_44_9875.jpg', '/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_54_9843.jpg', '/home/pi/Desktop/images/01012026/02/08/image_01012026_02_09_04_9769.jpg', '/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_15_10732.jpg', '/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_25_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_35_9647.jpg
/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_44_9875.jpg
/home/pi/Desktop/images/01012026/02/08/image_01012026_02_08_54_9843.jpg
/home/pi/Desktop/images/01012026/02/08/image_01012026_02_09_04_9769.jpg
/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_15_10732.jpg
/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_25_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":["1401976636","1401976630","1401976627","1401976632","1401976637","1401976634"],"photo_ids_order":["1401976627","1401976630","1401976632","1401976634","1401976636","1401976637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6a37a8c9e3c5222b585832a3779e2b8.jpg","text":"TemporaryFile(/tmp/multipartBody3919162650968962115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231263398,"filename":"image_01012026_02_09_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2aca8a3f6d808460ecc4e9e4ea96b5cb.jpg","text":"TemporaryFile(/tmp/multipartBody8771186542021900199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231263398,"filename":"image_01012026_02_08_44_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d738794a3bff96ee65fc92e19fe2473c.jpg","text":"TemporaryFile(/tmp/multipartBody2560139668885099690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231263398,"filename":"image_01012026_02_08_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b556b643b359e6e42627bd8325cee7b.jpg","text":"TemporaryFile(/tmp/multipartBody1029483278609131896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231263398,"filename":"image_01012026_02_08_54_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f8b052e3fcdcf831e892ab5bde2ea19.jpg","text":"TemporaryFile(/tmp/multipartBody5613544165967063957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231263398,"filename":"image_01012026_02_09_25_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53874b8e13bc3edaaa00aad5047fbdef.jpg","text":"TemporaryFile(/tmp/multipartBody8078968153663554659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231263398,"filename":"image_01012026_02_09_04_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976632","file1":"1401976630","file0":"1401976627","file4":"1401976636","file5":"1401976637","file3":"1401976634"},"map_files_photo_id_array":[{"photo_id":"1401976637","filename":"file5"},{"photo_id":"1401976632","filename":"file2"},{"photo_id":"1401976636","filename":"file4"},{"photo_id":"1401976630","filename":"file1"},{"photo_id":"1401976627","filename":"file0"},{"photo_id":"1401976634","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976636":["hashtag1","hashtag2"]},{"1401976630":["hashtag1","hashtag2"]},{"1401976627":["hashtag1","hashtag2"]},{"1401976632":["hashtag1","hashtag2"]},{"1401976637":["hashtag1","hashtag2"]},{"1401976634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976636, 1401976630, 1401976627, 1401976632, 1401976637, 1401976634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99197840690613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:34:02.708265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_34_9644.jpg', '/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_45_10639.jpg', '/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_55_9719.jpg', '/home/pi/Desktop/images/01012026/02/09/image_01012026_02_10_04_9639.jpg', '/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_15_10699.jpg', '/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_25_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_34_9644.jpg
/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_45_10639.jpg
/home/pi/Desktop/images/01012026/02/09/image_01012026_02_09_55_9719.jpg
/home/pi/Desktop/images/01012026/02/09/image_01012026_02_10_04_9639.jpg
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_15_10699.jpg
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_25_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":["1401976642","1401976639","1401976644","1401976638","1401976643","1401976640"],"photo_ids_order":["1401976638","1401976639","1401976640","1401976642","1401976643","1401976644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/368b359955f03c2dc5b3906802e30806.jpg","text":"TemporaryFile(/tmp/multipartBody5173160894293634470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231303430,"filename":"image_01012026_02_10_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e078f428d1b40c8a686b2c6c579db2dd.jpg","text":"TemporaryFile(/tmp/multipartBody5535641993795562180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231303430,"filename":"image_01012026_02_09_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39ca470898644ef835e5f3f15a84f575.jpg","text":"TemporaryFile(/tmp/multipartBody6120566713582417532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231303430,"filename":"image_01012026_02_10_25_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5805aa08369bb81cd4d54f9392767b0d.jpg","text":"TemporaryFile(/tmp/multipartBody8192078377558489006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231303430,"filename":"image_01012026_02_09_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f83d3429f5c8924a18137009eed428f3.jpg","text":"TemporaryFile(/tmp/multipartBody2966676435457906663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231303430,"filename":"image_01012026_02_10_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c9762c2cd17b2afcbe30527c38695de.jpg","text":"TemporaryFile(/tmp/multipartBody2658702036763556068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231303430,"filename":"image_01012026_02_09_55_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976640","file1":"1401976639","file0":"1401976638","file4":"1401976643","file5":"1401976644","file3":"1401976642"},"map_files_photo_id_array":[{"photo_id":"1401976644","filename":"file5"},{"photo_id":"1401976640","filename":"file2"},{"photo_id":"1401976643","filename":"file4"},{"photo_id":"1401976639","filename":"file1"},{"photo_id":"1401976638","filename":"file0"},{"photo_id":"1401976642","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976642":["hashtag1","hashtag2"]},{"1401976639":["hashtag1","hashtag2"]},{"1401976644":["hashtag1","hashtag2"]},{"1401976638":["hashtag1","hashtag2"]},{"1401976643":["hashtag1","hashtag2"]},{"1401976640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976642, 1401976639, 1401976644, 1401976638, 1401976643, 1401976640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79235792160034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:34:41.953429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_45_3623.jpg', '/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_48_2678.jpg', '/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_53_2633.jpg', '/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_57_3702.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_02_2524.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_06_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_45_3623.jpg
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_48_2678.jpg
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_53_2633.jpg
/home/pi/Desktop/images/03112025/21/56/image_03112025_21_56_57_3702.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_02_2524.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_06_3570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976660","1401976654","1401976650","1401976653","1401976656","1401976658"],"photo_ids_order":["1401976650","1401976653","1401976654","1401976656","1401976658","1401976660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5faba8f943e57cfddc185055cae9350a.jpg","text":"TemporaryFile(/tmp/multipartBody7053825972434166095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231343709,"filename":"image_03112025_21_57_06_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba46345c67dc58796eb31275e54a36b0.jpg","text":"TemporaryFile(/tmp/multipartBody4520424977609264024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231343709,"filename":"image_03112025_21_56_53_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f80cdf1309231e6e1f0f0fae1b0246bc.jpg","text":"TemporaryFile(/tmp/multipartBody8181767771891921948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231343709,"filename":"image_03112025_21_56_45_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f76d0ec906096949fa47df1ea206f6fa.jpg","text":"TemporaryFile(/tmp/multipartBody561736246000428497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231343709,"filename":"image_03112025_21_56_48_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7fbb054b850c384cc94c7b7f83d0172.jpg","text":"TemporaryFile(/tmp/multipartBody3673609446298969261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231343709,"filename":"image_03112025_21_56_57_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32772403e7470188686ee3e9782a7e56.jpg","text":"TemporaryFile(/tmp/multipartBody1592126314855466479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231343709,"filename":"image_03112025_21_57_02_2524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976654","file1":"1401976653","file0":"1401976650","file4":"1401976658","file5":"1401976660","file3":"1401976656"},"map_files_photo_id_array":[{"photo_id":"1401976660","filename":"file5"},{"photo_id":"1401976654","filename":"file2"},{"photo_id":"1401976658","filename":"file4"},{"photo_id":"1401976653","filename":"file1"},{"photo_id":"1401976650","filename":"file0"},{"photo_id":"1401976656","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976660":["hashtag1","hashtag2"]},{"1401976654":["hashtag1","hashtag2"]},{"1401976650":["hashtag1","hashtag2"]},{"1401976653":["hashtag1","hashtag2"]},{"1401976656":["hashtag1","hashtag2"]},{"1401976658":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976660, 1401976654, 1401976650, 1401976653, 1401976656, 1401976658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.209644079208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:35:22.157888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_34_9545.jpg', '/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_45_10934.jpg', '/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_54_9076.jpg', '/home/pi/Desktop/images/01012026/02/10/image_01012026_02_11_04_10024.jpg', '/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_15_10706.jpg', '/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_25_10044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_34_9545.jpg
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_45_10934.jpg
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_54_9076.jpg
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_11_04_10024.jpg
/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_15_10706.jpg
/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_25_10044.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.48558473587036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:35:32.147263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_08_2589.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_12_3691.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_20_2692.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_24_3692.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_27_2663.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_44_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/21/57/image_03112025_21_57_08_2589.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_12_3691.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_20_2692.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_24_3692.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_27_2663.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_44_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":["1401976675","1401976677","1401976671","1401976668","1401976676","1401976678"],"photo_ids_order":["1401976668","1401976671","1401976675","1401976676","1401976677","1401976678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9052f3ba30accb4595a99817cd9a53a6.jpg","text":"TemporaryFile(/tmp/multipartBody4452908944651462350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231393882,"filename":"image_03112025_21_57_20_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9791f438f86e72704f3796a779fe0699.jpg","text":"TemporaryFile(/tmp/multipartBody2994863526843399733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231393882,"filename":"image_03112025_21_57_27_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d580bf07564db3cf0c4cdf8bf0c89dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1175777865882840361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231393882,"filename":"image_03112025_21_57_12_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22a9ebfa950feb709d52a69cd6da96d1.jpg","text":"TemporaryFile(/tmp/multipartBody6829450274403461488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231393882,"filename":"image_03112025_21_57_08_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/610585755b070484b7bd2c0deedbd7db.jpg","text":"TemporaryFile(/tmp/multipartBody974262730262831539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231393882,"filename":"image_03112025_21_57_24_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1f0b945bdce91f9adcfe0925fb80268.jpg","text":"TemporaryFile(/tmp/multipartBody5858369667059294600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231393882,"filename":"image_03112025_21_57_44_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976675","file1":"1401976671","file0":"1401976668","file4":"1401976677","file5":"1401976678","file3":"1401976676"},"map_files_photo_id_array":[{"photo_id":"1401976678","filename":"file5"},{"photo_id":"1401976675","filename":"file2"},{"photo_id":"1401976677","filename":"file4"},{"photo_id":"1401976671","filename":"file1"},{"photo_id":"1401976668","filename":"file0"},{"photo_id":"1401976676","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976675":["hashtag1","hashtag2"]},{"1401976677":["hashtag1","hashtag2"]},{"1401976671":["hashtag1","hashtag2"]},{"1401976668":["hashtag1","hashtag2"]},{"1401976676":["hashtag1","hashtag2"]},{"1401976678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976675, 1401976677, 1401976671, 1401976668, 1401976676, 1401976678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45837092399597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:36:12.276297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_48_3592.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_53_2644.jpg', '/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_59_2588.jpg', '/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_03_3614.jpg', '/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_06_2638.jpg', '/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_08_2505.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_48_3592.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_53_2644.jpg
/home/pi/Desktop/images/03112025/21/57/image_03112025_21_57_59_2588.jpg
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_03_3614.jpg
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_06_2638.jpg
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_08_2505.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976681","1401976680","1401976688","1401976682","1401976685","1401976687"],"photo_ids_order":["1401976680","1401976681","1401976682","1401976685","1401976687","1401976688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afccd2b594398cd990b002c76a6fdb99.jpg","text":"TemporaryFile(/tmp/multipartBody6665938931332930469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231433907,"filename":"image_03112025_21_57_53_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a928724535e3e3ca64e800f5cbc2818b.jpg","text":"TemporaryFile(/tmp/multipartBody728976253647040664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231433907,"filename":"image_03112025_21_57_48_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4393e26e94dadd41fcdd40c68b55bce2.jpg","text":"TemporaryFile(/tmp/multipartBody9051341247161562042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231433907,"filename":"image_03112025_21_58_08_2505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5229190430207adaa055d211acfd6a70.jpg","text":"TemporaryFile(/tmp/multipartBody7402840088335252832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231433907,"filename":"image_03112025_21_57_59_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5f2ab60889665c33f190782924aabf2.jpg","text":"TemporaryFile(/tmp/multipartBody2053038979392285953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231433907,"filename":"image_03112025_21_58_03_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1348d60e0b2bec52eba6dab8e74f9c39.jpg","text":"TemporaryFile(/tmp/multipartBody6256745488742493847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231433907,"filename":"image_03112025_21_58_06_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976682","file1":"1401976681","file0":"1401976680","file4":"1401976687","file5":"1401976688","file3":"1401976685"},"map_files_photo_id_array":[{"photo_id":"1401976688","filename":"file5"},{"photo_id":"1401976682","filename":"file2"},{"photo_id":"1401976687","filename":"file4"},{"photo_id":"1401976681","filename":"file1"},{"photo_id":"1401976680","filename":"file0"},{"photo_id":"1401976685","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976681":["hashtag1","hashtag2"]},{"1401976680":["hashtag1","hashtag2"]},{"1401976688":["hashtag1","hashtag2"]},{"1401976682":["hashtag1","hashtag2"]},{"1401976685":["hashtag1","hashtag2"]},{"1401976687":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976681, 1401976680, 1401976688, 1401976682, 1401976685, 1401976687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.699557304382324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:37:03.152912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_34_9545.jpg', '/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_45_10934.jpg', '/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_54_9076.jpg', '/home/pi/Desktop/images/01012026/02/10/image_01012026_02_11_04_10024.jpg', '/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_15_10706.jpg', '/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_25_10044.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_34_9545.jpg
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_45_10934.jpg
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_10_54_9076.jpg
/home/pi/Desktop/images/01012026/02/10/image_01012026_02_11_04_10024.jpg
/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_15_10706.jpg
/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_25_10044.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976692","1401976694","1401976697","1401976696","1401976699","1401976693"],"photo_ids_order":["1401976692","1401976693","1401976694","1401976696","1401976697","1401976699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ec503d90638a1d0473a4252d1052622.jpg","text":"TemporaryFile(/tmp/multipartBody4324977471003453122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231483823,"filename":"image_01012026_02_10_34_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bb6ebfdce89a03d5e8501d2c1cb2922.jpg","text":"TemporaryFile(/tmp/multipartBody7415089076613214332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231483823,"filename":"image_01012026_02_10_54_9076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fad60aa93c20e5ad2600348c2ff7f458.jpg","text":"TemporaryFile(/tmp/multipartBody6163177218566067104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231483823,"filename":"image_01012026_02_11_15_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/961be6044f56187456513957286dba67.jpg","text":"TemporaryFile(/tmp/multipartBody6451435260613211493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231483823,"filename":"image_01012026_02_11_04_10024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14cd3f3b5f232c028075e81011a754eb.jpg","text":"TemporaryFile(/tmp/multipartBody5782511088560911619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231483823,"filename":"image_01012026_02_11_25_10044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3868589e8d3727c1357212c18517d71a.jpg","text":"TemporaryFile(/tmp/multipartBody4875357378286630026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231483823,"filename":"image_01012026_02_10_45_10934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976694","file1":"1401976693","file0":"1401976692","file4":"1401976697","file5":"1401976699","file3":"1401976696"},"map_files_photo_id_array":[{"photo_id":"1401976699","filename":"file5"},{"photo_id":"1401976694","filename":"file2"},{"photo_id":"1401976697","filename":"file4"},{"photo_id":"1401976693","filename":"file1"},{"photo_id":"1401976692","filename":"file0"},{"photo_id":"1401976696","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976692":["hashtag1","hashtag2"]},{"1401976694":["hashtag1","hashtag2"]},{"1401976697":["hashtag1","hashtag2"]},{"1401976696":["hashtag1","hashtag2"]},{"1401976699":["hashtag1","hashtag2"]},{"1401976693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976692, 1401976694, 1401976697, 1401976696, 1401976699, 1401976693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68251037597656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:37:42.465892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_12_3659.jpg', '/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_15_2666.jpg', '/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_21_3575.jpg', '/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_38_2532.jpg', '/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_41_2664.jpg', '/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_50_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_12_3659.jpg
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_15_2666.jpg
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_21_3575.jpg
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_38_2532.jpg
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_41_2664.jpg
/home/pi/Desktop/images/03112025/21/58/image_03112025_21_58_50_2781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976708","1401976707","1401976710","1401976704","1401976706","1401976709"],"photo_ids_order":["1401976704","1401976706","1401976707","1401976708","1401976709","1401976710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/830064aacde1e303be77d0c86c74244c.jpg","text":"TemporaryFile(/tmp/multipartBody4421335143871518941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231524222,"filename":"image_03112025_21_58_38_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15525239db907f10e663e0e0b9b45d79.jpg","text":"TemporaryFile(/tmp/multipartBody3445243480383440965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231524222,"filename":"image_03112025_21_58_21_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3cf64575f57631baa64088678974b95.jpg","text":"TemporaryFile(/tmp/multipartBody6314929794347489121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231524222,"filename":"image_03112025_21_58_50_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72516cc1e340862416ed85d8b08153b1.jpg","text":"TemporaryFile(/tmp/multipartBody6142187318194306526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231524222,"filename":"image_03112025_21_58_12_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76dfa4a8b9418ee130b24de7e0834e68.jpg","text":"TemporaryFile(/tmp/multipartBody6178952756343993639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231524222,"filename":"image_03112025_21_58_15_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7ac626f59e2020542661e68f9df861a.jpg","text":"TemporaryFile(/tmp/multipartBody124909621719925293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231524222,"filename":"image_03112025_21_58_41_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976707","file1":"1401976706","file0":"1401976704","file4":"1401976709","file5":"1401976710","file3":"1401976708"},"map_files_photo_id_array":[{"photo_id":"1401976710","filename":"file5"},{"photo_id":"1401976707","filename":"file2"},{"photo_id":"1401976709","filename":"file4"},{"photo_id":"1401976706","filename":"file1"},{"photo_id":"1401976704","filename":"file0"},{"photo_id":"1401976708","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976708":["hashtag1","hashtag2"]},{"1401976707":["hashtag1","hashtag2"]},{"1401976710":["hashtag1","hashtag2"]},{"1401976704":["hashtag1","hashtag2"]},{"1401976706":["hashtag1","hashtag2"]},{"1401976709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976708, 1401976707, 1401976710, 1401976704, 1401976706, 1401976709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.768118381500244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:38:22.744409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_34_9570.jpg', '/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_44_9739.jpg', '/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_55_10686.jpg', '/home/pi/Desktop/images/01012026/02/11/image_01012026_02_12_05_9771.jpg', '/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_14_9600.jpg', '/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_25_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_34_9570.jpg
/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_44_9739.jpg
/home/pi/Desktop/images/01012026/02/11/image_01012026_02_11_55_10686.jpg
/home/pi/Desktop/images/01012026/02/11/image_01012026_02_12_05_9771.jpg
/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_14_9600.jpg
/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_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":["1401976723","1401976717","1401976714","1401976716","1401976719","1401976712"],"photo_ids_order":["1401976712","1401976714","1401976716","1401976717","1401976719","1401976723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a44cc78734eac5cc2533cf91b9d2e52.jpg","text":"TemporaryFile(/tmp/multipartBody6173372873786349668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231563342,"filename":"image_01012026_02_12_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25e084d9c06f44123f15d6f7e52285ed.jpg","text":"TemporaryFile(/tmp/multipartBody6993066731212227034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231563342,"filename":"image_01012026_02_12_05_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/554b38f837c57c2c4cfda9d75f4b4fba.jpg","text":"TemporaryFile(/tmp/multipartBody1407053949361625054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231563342,"filename":"image_01012026_02_11_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f0d43e762396233652b37d9367af44e.jpg","text":"TemporaryFile(/tmp/multipartBody6424910624166320394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231563342,"filename":"image_01012026_02_11_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b5d17f70383bf7f21b07e120ca382fe.jpg","text":"TemporaryFile(/tmp/multipartBody8975250468193040459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231563342,"filename":"image_01012026_02_12_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/573701514e0b33903fe9e3c2db7a2fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1703750179457658001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231563342,"filename":"image_01012026_02_11_34_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976716","file1":"1401976714","file0":"1401976712","file4":"1401976719","file5":"1401976723","file3":"1401976717"},"map_files_photo_id_array":[{"photo_id":"1401976723","filename":"file5"},{"photo_id":"1401976716","filename":"file2"},{"photo_id":"1401976719","filename":"file4"},{"photo_id":"1401976714","filename":"file1"},{"photo_id":"1401976712","filename":"file0"},{"photo_id":"1401976717","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976723":["hashtag1","hashtag2"]},{"1401976717":["hashtag1","hashtag2"]},{"1401976714":["hashtag1","hashtag2"]},{"1401976716":["hashtag1","hashtag2"]},{"1401976719":["hashtag1","hashtag2"]},{"1401976712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976723, 1401976717, 1401976714, 1401976716, 1401976719, 1401976712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2435040473938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:39:03.712087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_35_9637.jpg', '/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_45_10513.jpg', '/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_55_9644.jpg', '/home/pi/Desktop/images/01012026/02/12/image_01012026_02_13_04_9457.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_15_10820.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_25_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_35_9637.jpg
/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_45_10513.jpg
/home/pi/Desktop/images/01012026/02/12/image_01012026_02_12_55_9644.jpg
/home/pi/Desktop/images/01012026/02/12/image_01012026_02_13_04_9457.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_15_10820.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_25_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":["1401976729","1401976732","1401976726","1401976728","1401976730","1401976727"],"photo_ids_order":["1401976726","1401976727","1401976728","1401976729","1401976730","1401976732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd8474ab9f05eda21cb17d81b1a7470a.jpg","text":"TemporaryFile(/tmp/multipartBody4847003682242960546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231604576,"filename":"image_01012026_02_13_04_9457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e918729facc3e45d27a347b3805bdedb.jpg","text":"TemporaryFile(/tmp/multipartBody1523832127888390274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231604576,"filename":"image_01012026_02_13_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f22269c65d81b655a9768d8ed1667b9c.jpg","text":"TemporaryFile(/tmp/multipartBody699380265471339805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231604576,"filename":"image_01012026_02_12_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf37a63d0628a88fee69e678403bca94.jpg","text":"TemporaryFile(/tmp/multipartBody6453085583460898601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231604576,"filename":"image_01012026_02_12_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e57e965f1ea7b194576f6c420d7f4226.jpg","text":"TemporaryFile(/tmp/multipartBody8602125150983719774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231604576,"filename":"image_01012026_02_13_15_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d4036609ac6356ba884fef0a19a2bb5.jpg","text":"TemporaryFile(/tmp/multipartBody7266833432281789902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231604576,"filename":"image_01012026_02_12_45_10513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976728","file1":"1401976727","file0":"1401976726","file4":"1401976730","file5":"1401976732","file3":"1401976729"},"map_files_photo_id_array":[{"photo_id":"1401976732","filename":"file5"},{"photo_id":"1401976728","filename":"file2"},{"photo_id":"1401976730","filename":"file4"},{"photo_id":"1401976727","filename":"file1"},{"photo_id":"1401976726","filename":"file0"},{"photo_id":"1401976729","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976729":["hashtag1","hashtag2"]},{"1401976732":["hashtag1","hashtag2"]},{"1401976726":["hashtag1","hashtag2"]},{"1401976728":["hashtag1","hashtag2"]},{"1401976730":["hashtag1","hashtag2"]},{"1401976727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976729, 1401976732, 1401976726, 1401976728, 1401976730, 1401976727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11163544654846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:39:42.807480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/21/59/image_03112025_21_59_08_2594.jpg', '/home/pi/Desktop/images/03112025/21/59/image_03112025_21_59_20_2891.jpg', '/home/pi/Desktop/images/03112025/21/59/image_03112025_21_59_59_2723.jpg', '/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_08_3011.jpg', '/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_23_1786.jpg', '/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_29_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/21/59/image_03112025_21_59_08_2594.jpg
/home/pi/Desktop/images/03112025/21/59/image_03112025_21_59_20_2891.jpg
/home/pi/Desktop/images/03112025/21/59/image_03112025_21_59_59_2723.jpg
/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_08_3011.jpg
/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_23_1786.jpg
/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_29_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":["1401976741","1401976744","1401976738","1401976743","1401976740","1401976742"],"photo_ids_order":["1401976738","1401976740","1401976741","1401976742","1401976743","1401976744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d01600b8aacd91a6e16faa07f6b70644.jpg","text":"TemporaryFile(/tmp/multipartBody6614276223637479177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231644550,"filename":"image_03112025_21_59_59_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/543d5733761039ecd0e129746fc33bbc.jpg","text":"TemporaryFile(/tmp/multipartBody7871241181405692193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231644550,"filename":"image_03112025_22_00_29_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39f9dccfdcb306a054cb4296cf0e9d31.jpg","text":"TemporaryFile(/tmp/multipartBody3721246812728633296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231644550,"filename":"image_03112025_21_59_08_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9f1264dcce0e535b2373e93b88f0082.jpg","text":"TemporaryFile(/tmp/multipartBody3085552149976523161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231644550,"filename":"image_03112025_22_00_23_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1912cc75ef4a61fb45201a15e6373754.jpg","text":"TemporaryFile(/tmp/multipartBody8286765522588248779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231644550,"filename":"image_03112025_21_59_20_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f370b325d10662dd5396176c7e71ed19.jpg","text":"TemporaryFile(/tmp/multipartBody7163551487432143491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231644550,"filename":"image_03112025_22_00_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976741","file1":"1401976740","file0":"1401976738","file4":"1401976743","file5":"1401976744","file3":"1401976742"},"map_files_photo_id_array":[{"photo_id":"1401976744","filename":"file5"},{"photo_id":"1401976741","filename":"file2"},{"photo_id":"1401976743","filename":"file4"},{"photo_id":"1401976740","filename":"file1"},{"photo_id":"1401976738","filename":"file0"},{"photo_id":"1401976742","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976741":["hashtag1","hashtag2"]},{"1401976744":["hashtag1","hashtag2"]},{"1401976738":["hashtag1","hashtag2"]},{"1401976743":["hashtag1","hashtag2"]},{"1401976740":["hashtag1","hashtag2"]},{"1401976742":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976741, 1401976744, 1401976738, 1401976743, 1401976740, 1401976742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73251509666443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:40:21.960731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_34_9566.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_45_10825.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_55_9727.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_14_05_9756.jpg', '/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_25_10739.jpg', '/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_35_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_34_9566.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_45_10825.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_55_9727.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_14_05_9756.jpg
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_25_10739.jpg
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_35_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.48545408248901367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:40:32.006712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_32_2774.jpg', '/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_35_3656.jpg', '/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_41_2679.jpg', '/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_47_3694.jpg', '/home/pi/Desktop/images/03112025/22/00/image_03112025_22_01_00_1597.jpg', '/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_02_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_32_2774.jpg
/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_35_3656.jpg
/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_41_2679.jpg
/home/pi/Desktop/images/03112025/22/00/image_03112025_22_00_47_3694.jpg
/home/pi/Desktop/images/03112025/22/00/image_03112025_22_01_00_1597.jpg
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_02_1721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976761","1401976760","1401976754","1401976757","1401976751","1401976759"],"photo_ids_order":["1401976751","1401976754","1401976757","1401976759","1401976760","1401976761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1740829a16fbf276999d2150a8a61b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6780524097117886221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231693807,"filename":"image_03112025_22_01_02_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f5943d9a5dd6db20cf6a3665c59bb7d.jpg","text":"TemporaryFile(/tmp/multipartBody1928995927907587273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231693807,"filename":"image_03112025_22_01_00_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4afc874a7513383af458ec589dde73f.jpg","text":"TemporaryFile(/tmp/multipartBody5604212937034020704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231693807,"filename":"image_03112025_22_00_35_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04b34cc10f70a79062a098272466ca1c.jpg","text":"TemporaryFile(/tmp/multipartBody1413151409151926194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231693807,"filename":"image_03112025_22_00_41_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2c7aba612a49ecc90592a860008eb42.jpg","text":"TemporaryFile(/tmp/multipartBody6026773678581946845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231693807,"filename":"image_03112025_22_00_32_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe4ec5d58c03617cc68094de956ad60f.jpg","text":"TemporaryFile(/tmp/multipartBody3300406260286268002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231693807,"filename":"image_03112025_22_00_47_3694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976757","file1":"1401976754","file0":"1401976751","file4":"1401976760","file5":"1401976761","file3":"1401976759"},"map_files_photo_id_array":[{"photo_id":"1401976761","filename":"file5"},{"photo_id":"1401976757","filename":"file2"},{"photo_id":"1401976760","filename":"file4"},{"photo_id":"1401976754","filename":"file1"},{"photo_id":"1401976751","filename":"file0"},{"photo_id":"1401976759","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976761":["hashtag1","hashtag2"]},{"1401976760":["hashtag1","hashtag2"]},{"1401976754":["hashtag1","hashtag2"]},{"1401976757":["hashtag1","hashtag2"]},{"1401976751":["hashtag1","hashtag2"]},{"1401976759":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976761, 1401976760, 1401976754, 1401976757, 1401976751, 1401976759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26824998855591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:41:12.038906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_08_2600.jpg', '/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_14_3641.jpg', '/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_17_2588.jpg', '/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_26_2772.jpg', '/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_38_3555.jpg', '/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_41_2542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_08_2600.jpg
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_14_3641.jpg
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_17_2588.jpg
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_26_2772.jpg
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_38_3555.jpg
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_41_2542.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976762","1401976764","1401976769","1401976763","1401976766","1401976771"],"photo_ids_order":["1401976762","1401976763","1401976764","1401976766","1401976769","1401976771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f217bd475e8f151020e74dd3718948f6.jpg","text":"TemporaryFile(/tmp/multipartBody3459080784084012968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231733671,"filename":"image_03112025_22_01_08_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6a285821f9c3c27d4839cb79d411795.jpg","text":"TemporaryFile(/tmp/multipartBody3391587634292245947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231733671,"filename":"image_03112025_22_01_17_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d2df97c8340e0a9945fefcd53ebf48e.jpg","text":"TemporaryFile(/tmp/multipartBody855867848437112117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231733671,"filename":"image_03112025_22_01_38_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c96027e5d28f1318e5276722ce03a66.jpg","text":"TemporaryFile(/tmp/multipartBody7043488325514504515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231733671,"filename":"image_03112025_22_01_14_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ff12e1086eabbb757a8ca5b6e5fe4a6.jpg","text":"TemporaryFile(/tmp/multipartBody558638774841088800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231733671,"filename":"image_03112025_22_01_26_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59349be82dcf7bc7451b36307b9ff13c.jpg","text":"TemporaryFile(/tmp/multipartBody2576548517132261021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231733671,"filename":"image_03112025_22_01_41_2542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976764","file1":"1401976763","file0":"1401976762","file4":"1401976769","file5":"1401976771","file3":"1401976766"},"map_files_photo_id_array":[{"photo_id":"1401976771","filename":"file5"},{"photo_id":"1401976764","filename":"file2"},{"photo_id":"1401976769","filename":"file4"},{"photo_id":"1401976763","filename":"file1"},{"photo_id":"1401976762","filename":"file0"},{"photo_id":"1401976766","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976762":["hashtag1","hashtag2"]},{"1401976764":["hashtag1","hashtag2"]},{"1401976769":["hashtag1","hashtag2"]},{"1401976763":["hashtag1","hashtag2"]},{"1401976766":["hashtag1","hashtag2"]},{"1401976771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976762, 1401976764, 1401976769, 1401976763, 1401976766, 1401976771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.052225828170776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:42:02.735248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_34_9566.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_45_10825.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_55_9727.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_14_05_9756.jpg', '/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_25_10739.jpg', '/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_35_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_34_9566.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_45_10825.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_55_9727.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_14_05_9756.jpg
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_25_10739.jpg
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_35_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.544553279876709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:42:12.276306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_44_2709.jpg', '/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_47_3617.jpg', '/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_59_2778.jpg', '/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_02_2661.jpg', '/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_34_2597.jpg', '/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_41_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_44_2709.jpg
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_47_3617.jpg
/home/pi/Desktop/images/03112025/22/01/image_03112025_22_01_59_2778.jpg
/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_02_2661.jpg
/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_34_2597.jpg
/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_41_2785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976788","1401976782","1401976779","1401976784","1401976777","1401976786"],"photo_ids_order":["1401976777","1401976779","1401976782","1401976784","1401976786","1401976788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b052ab13a639a3d5080ea89f267bc82b.jpg","text":"TemporaryFile(/tmp/multipartBody5059531416846633585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231793915,"filename":"image_03112025_22_02_41_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f35bb139e8e7a52792b351fb28f827a.jpg","text":"TemporaryFile(/tmp/multipartBody3264566350005377173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231793915,"filename":"image_03112025_22_01_59_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f074bf0cfd457077260dd7954c6f5bf2.jpg","text":"TemporaryFile(/tmp/multipartBody10213904704854977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231793915,"filename":"image_03112025_22_01_47_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c67a8e3b136cf8c96ee8ebf6d4db48a7.jpg","text":"TemporaryFile(/tmp/multipartBody4570874338564445034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231793915,"filename":"image_03112025_22_02_02_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d84d1d45e85efa187c4935291477d95.jpg","text":"TemporaryFile(/tmp/multipartBody5446050619449095729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231793915,"filename":"image_03112025_22_01_44_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c18da602f948a4e6792606a48cd6f60.jpg","text":"TemporaryFile(/tmp/multipartBody5291748140000615718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231793915,"filename":"image_03112025_22_02_34_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976782","file1":"1401976779","file0":"1401976777","file4":"1401976786","file5":"1401976788","file3":"1401976784"},"map_files_photo_id_array":[{"photo_id":"1401976788","filename":"file5"},{"photo_id":"1401976782","filename":"file2"},{"photo_id":"1401976786","filename":"file4"},{"photo_id":"1401976779","filename":"file1"},{"photo_id":"1401976777","filename":"file0"},{"photo_id":"1401976784","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976788":["hashtag1","hashtag2"]},{"1401976782":["hashtag1","hashtag2"]},{"1401976779":["hashtag1","hashtag2"]},{"1401976784":["hashtag1","hashtag2"]},{"1401976777":["hashtag1","hashtag2"]},{"1401976786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976788, 1401976782, 1401976779, 1401976784, 1401976777, 1401976786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96079969406128 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:43:03.137276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_34_9566.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_45_10825.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_55_9727.jpg', '/home/pi/Desktop/images/01012026/02/13/image_01012026_02_14_05_9756.jpg', '/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_25_10739.jpg', '/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_35_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_34_9566.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_45_10825.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_13_55_9727.jpg
/home/pi/Desktop/images/01012026/02/13/image_01012026_02_14_05_9756.jpg
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_25_10739.jpg
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_35_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":["1401976794","1401976797","1401976791","1401976793","1401976795","1401976792"],"photo_ids_order":["1401976791","1401976792","1401976793","1401976794","1401976795","1401976797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06916865eef0f846cdbc38dd54cb1fa8.jpg","text":"TemporaryFile(/tmp/multipartBody8206976911905238310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231843787,"filename":"image_01012026_02_14_05_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67f15fadca41d3b5bfa4b478c73d66c5.jpg","text":"TemporaryFile(/tmp/multipartBody5218773254089659676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231843787,"filename":"image_01012026_02_14_35_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fc4847ad0feaa2ded5aa6af0fedce69.jpg","text":"TemporaryFile(/tmp/multipartBody100179899037910762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231843787,"filename":"image_01012026_02_13_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17b74fd4e2fabd6995994f4188cb3751.jpg","text":"TemporaryFile(/tmp/multipartBody338724588913770918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231843787,"filename":"image_01012026_02_13_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46953b5e7d8e2b10142434b13b165450.jpg","text":"TemporaryFile(/tmp/multipartBody7289224823050030803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231843787,"filename":"image_01012026_02_14_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46bdc8de1b3fd6cf55d2abbf0347b1fd.jpg","text":"TemporaryFile(/tmp/multipartBody6032477863352492050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231843787,"filename":"image_01012026_02_13_45_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976793","file1":"1401976792","file0":"1401976791","file4":"1401976795","file5":"1401976797","file3":"1401976794"},"map_files_photo_id_array":[{"photo_id":"1401976797","filename":"file5"},{"photo_id":"1401976793","filename":"file2"},{"photo_id":"1401976795","filename":"file4"},{"photo_id":"1401976792","filename":"file1"},{"photo_id":"1401976791","filename":"file0"},{"photo_id":"1401976794","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976794":["hashtag1","hashtag2"]},{"1401976797":["hashtag1","hashtag2"]},{"1401976791":["hashtag1","hashtag2"]},{"1401976793":["hashtag1","hashtag2"]},{"1401976795":["hashtag1","hashtag2"]},{"1401976792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976794, 1401976797, 1401976791, 1401976793, 1401976795, 1401976792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18072843551636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:43:42.519645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_44_2880.jpg', '/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_50_3760.jpg', '/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_53_2662.jpg', '/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_59_3646.jpg', '/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_02_2628.jpg', '/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_04_2769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_44_2880.jpg
/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_50_3760.jpg
/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_53_2662.jpg
/home/pi/Desktop/images/03112025/22/02/image_03112025_22_02_59_3646.jpg
/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_02_2628.jpg
/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_04_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":["1401976804","1401976807","1401976806","1401976805","1401976808","1401976802"],"photo_ids_order":["1401976802","1401976804","1401976805","1401976806","1401976807","1401976808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92a80b8b70e447d353e3270d26393cae.jpg","text":"TemporaryFile(/tmp/multipartBody2761857065283263287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231884297,"filename":"image_03112025_22_02_50_3760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca3797d72d0022e0db9a47b323f9fad7.jpg","text":"TemporaryFile(/tmp/multipartBody2309986124567841444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231884297,"filename":"image_03112025_22_03_02_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/caec6ce6fe4c7c03202bfc74790bb507.jpg","text":"TemporaryFile(/tmp/multipartBody7061976632628638390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231884297,"filename":"image_03112025_22_02_59_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ae574f8827befd79ded403164b0ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody2352112081013981767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231884297,"filename":"image_03112025_22_02_53_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ede5a8857d4bac33d60588ae8eefd41.jpg","text":"TemporaryFile(/tmp/multipartBody8550022779404528933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231884297,"filename":"image_03112025_22_03_04_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff4c647da67dd94fd7378aabbc0210c7.jpg","text":"TemporaryFile(/tmp/multipartBody2716991619881105651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231884297,"filename":"image_03112025_22_02_44_2880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976805","file1":"1401976804","file0":"1401976802","file4":"1401976807","file5":"1401976808","file3":"1401976806"},"map_files_photo_id_array":[{"photo_id":"1401976808","filename":"file5"},{"photo_id":"1401976805","filename":"file2"},{"photo_id":"1401976807","filename":"file4"},{"photo_id":"1401976804","filename":"file1"},{"photo_id":"1401976802","filename":"file0"},{"photo_id":"1401976806","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976804":["hashtag1","hashtag2"]},{"1401976807":["hashtag1","hashtag2"]},{"1401976806":["hashtag1","hashtag2"]},{"1401976805":["hashtag1","hashtag2"]},{"1401976808":["hashtag1","hashtag2"]},{"1401976802":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976804, 1401976807, 1401976806, 1401976805, 1401976808, 1401976802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29675769805908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:44:22.711511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_44_9734.jpg', '/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_54_9655.jpg', '/home/pi/Desktop/images/01012026/02/14/image_01012026_02_15_05_10585.jpg', '/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_14_9707.jpg', '/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_24_9871.jpg', '/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_35_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_44_9734.jpg
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_14_54_9655.jpg
/home/pi/Desktop/images/01012026/02/14/image_01012026_02_15_05_10585.jpg
/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_14_9707.jpg
/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_24_9871.jpg
/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_35_10660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976813","1401976816","1401976818","1401976823","1401976811","1401976820"],"photo_ids_order":["1401976811","1401976813","1401976816","1401976818","1401976820","1401976823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43ce2d6a07cc4a2b3d8568982d980081.jpg","text":"TemporaryFile(/tmp/multipartBody8780939817482019395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231923337,"filename":"image_01012026_02_14_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abb9a765d5e6dc8984b1f148178d3697.jpg","text":"TemporaryFile(/tmp/multipartBody606994825225743452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231923337,"filename":"image_01012026_02_15_05_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a31d3ab574fc696f8117f47c7aae00b.jpg","text":"TemporaryFile(/tmp/multipartBody7762961935828680104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231923337,"filename":"image_01012026_02_15_14_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb0142014883cdbcd48123b2135bd609.jpg","text":"TemporaryFile(/tmp/multipartBody6351170492942909659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231923337,"filename":"image_01012026_02_15_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f98dcd0dd6068a8b4581b8e98a7e5ab4.jpg","text":"TemporaryFile(/tmp/multipartBody5565128697554447691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231923337,"filename":"image_01012026_02_14_44_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43578870a9408c1911c4e6f7622cd1be.jpg","text":"TemporaryFile(/tmp/multipartBody6992991485498594517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231923337,"filename":"image_01012026_02_15_24_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976816","file1":"1401976813","file0":"1401976811","file4":"1401976820","file5":"1401976823","file3":"1401976818"},"map_files_photo_id_array":[{"photo_id":"1401976823","filename":"file5"},{"photo_id":"1401976816","filename":"file2"},{"photo_id":"1401976820","filename":"file4"},{"photo_id":"1401976813","filename":"file1"},{"photo_id":"1401976811","filename":"file0"},{"photo_id":"1401976818","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976813":["hashtag1","hashtag2"]},{"1401976816":["hashtag1","hashtag2"]},{"1401976818":["hashtag1","hashtag2"]},{"1401976823":["hashtag1","hashtag2"]},{"1401976811":["hashtag1","hashtag2"]},{"1401976820":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976813, 1401976816, 1401976818, 1401976823, 1401976811, 1401976820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47018384933472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:45:02.671076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_45_9688.jpg', '/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_54_9581.jpg', '/home/pi/Desktop/images/01012026/02/15/image_01012026_02_16_05_10717.jpg', '/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_24_9641.jpg', '/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_35_10612.jpg', '/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_45_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_45_9688.jpg
/home/pi/Desktop/images/01012026/02/15/image_01012026_02_15_54_9581.jpg
/home/pi/Desktop/images/01012026/02/15/image_01012026_02_16_05_10717.jpg
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_24_9641.jpg
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_35_10612.jpg
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_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":["1401976831","1401976828","1401976824","1401976827","1401976829","1401976826"],"photo_ids_order":["1401976824","1401976826","1401976827","1401976828","1401976829","1401976831"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af4e0f3b56d9e04c8a472a26b3e592a7.jpg","text":"TemporaryFile(/tmp/multipartBody3302854869878056063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231963327,"filename":"image_01012026_02_16_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67fa0c0e6d4ce4e9b3c3ea3945e6634e.jpg","text":"TemporaryFile(/tmp/multipartBody2114741990532570778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231963327,"filename":"image_01012026_02_16_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c6c3025880a69fbfc1c18f56021b7a4.jpg","text":"TemporaryFile(/tmp/multipartBody78020191363994499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231963327,"filename":"image_01012026_02_15_45_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e90edfe64c82cf5f4513b284b867d63f.jpg","text":"TemporaryFile(/tmp/multipartBody6282484360459435781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231963327,"filename":"image_01012026_02_16_05_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/521dd3e65cbcd02d300edeb7418fe480.jpg","text":"TemporaryFile(/tmp/multipartBody4372540537532945259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231963327,"filename":"image_01012026_02_16_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6779077573b069c11d32d61c9c9a974.jpg","text":"TemporaryFile(/tmp/multipartBody1775306881439829547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767231963327,"filename":"image_01012026_02_15_54_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976827","file1":"1401976826","file0":"1401976824","file4":"1401976829","file5":"1401976831","file3":"1401976828"},"map_files_photo_id_array":[{"photo_id":"1401976831","filename":"file5"},{"photo_id":"1401976827","filename":"file2"},{"photo_id":"1401976829","filename":"file4"},{"photo_id":"1401976826","filename":"file1"},{"photo_id":"1401976824","filename":"file0"},{"photo_id":"1401976828","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976831":["hashtag1","hashtag2"]},{"1401976828":["hashtag1","hashtag2"]},{"1401976824":["hashtag1","hashtag2"]},{"1401976827":["hashtag1","hashtag2"]},{"1401976829":["hashtag1","hashtag2"]},{"1401976826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976831, 1401976828, 1401976824, 1401976827, 1401976829, 1401976826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.541470527648926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:45:41.923292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_20_2611.jpg', '/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_22_2681.jpg', '/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_26_3733.jpg', '/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_34_2657.jpg', '/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_38_3655.jpg', '/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_43_2799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_20_2611.jpg
/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_22_2681.jpg
/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_26_3733.jpg
/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_34_2657.jpg
/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_38_3655.jpg
/home/pi/Desktop/images/03112025/22/03/image_03112025_22_03_43_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":["1401976840","1401976842","1401976839","1401976836","1401976841","1401976838"],"photo_ids_order":["1401976836","1401976838","1401976839","1401976840","1401976841","1401976842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94203c3a5ea1392b6807e85e1f3fc938.jpg","text":"TemporaryFile(/tmp/multipartBody8936834597326194290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232003665,"filename":"image_03112025_22_03_34_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7262db7557d107937d8903aa72ce8a5.jpg","text":"TemporaryFile(/tmp/multipartBody8794089354843628425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232003665,"filename":"image_03112025_22_03_43_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98002e81a5769cf7c309bcafa7573042.jpg","text":"TemporaryFile(/tmp/multipartBody7035512615332476928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232003665,"filename":"image_03112025_22_03_26_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8e7ea03d4e85a0b0a8d16f6ae257806.jpg","text":"TemporaryFile(/tmp/multipartBody4877864207923918747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232003665,"filename":"image_03112025_22_03_20_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4fddaf8236f2899f5a202c6ca9cb5a7f.jpg","text":"TemporaryFile(/tmp/multipartBody1568414979489615575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232003665,"filename":"image_03112025_22_03_38_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bda2a4ac590a3700eeb3c934461d438a.jpg","text":"TemporaryFile(/tmp/multipartBody7252591288768430693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232003665,"filename":"image_03112025_22_03_22_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976839","file1":"1401976838","file0":"1401976836","file4":"1401976841","file5":"1401976842","file3":"1401976840"},"map_files_photo_id_array":[{"photo_id":"1401976842","filename":"file5"},{"photo_id":"1401976839","filename":"file2"},{"photo_id":"1401976841","filename":"file4"},{"photo_id":"1401976838","filename":"file1"},{"photo_id":"1401976836","filename":"file0"},{"photo_id":"1401976840","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976840":["hashtag1","hashtag2"]},{"1401976842":["hashtag1","hashtag2"]},{"1401976839":["hashtag1","hashtag2"]},{"1401976836":["hashtag1","hashtag2"]},{"1401976841":["hashtag1","hashtag2"]},{"1401976838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976840, 1401976842, 1401976839, 1401976836, 1401976841, 1401976838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53716206550598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:46:22.137679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_54_9836.jpg', '/home/pi/Desktop/images/01012026/02/16/image_01012026_02_17_05_10560.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_15_9664.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_35_10637.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_45_9795.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_54_9836.jpg
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_17_05_10560.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_15_9664.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_35_10637.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_45_9795.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_55_9751.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.48533034324645996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:46:32.118057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_01_2621.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_05_3590.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_08_2693.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_14_3757.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_17_2816.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_22_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/22/04/image_03112025_22_04_01_2621.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_05_3590.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_08_2693.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_14_3757.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_17_2816.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_22_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":["1401976852","1401976855","1401976849","1401976857","1401976859","1401976858"],"photo_ids_order":["1401976849","1401976852","1401976855","1401976857","1401976858","1401976859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8150b3efb521e08b1f72079388b1cc4c.jpg","text":"TemporaryFile(/tmp/multipartBody9041319020165018444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232053873,"filename":"image_03112025_22_04_05_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b09265e70b6f4d40da8edc5350deb22.jpg","text":"TemporaryFile(/tmp/multipartBody7043552999995743252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232053873,"filename":"image_03112025_22_04_08_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/878360704a48c7920cf71cb3b2762098.jpg","text":"TemporaryFile(/tmp/multipartBody918221143222193412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232053873,"filename":"image_03112025_22_04_01_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ccb553c9e194cd15d3ed478006011b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2464340561720674500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232053873,"filename":"image_03112025_22_04_14_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62e0e91d516a63bd2abfdcb37f679f37.jpg","text":"TemporaryFile(/tmp/multipartBody1317443394603258526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232053873,"filename":"image_03112025_22_04_22_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5036fc52b2345f9d16591ae4ad83364.jpg","text":"TemporaryFile(/tmp/multipartBody1442588421627096165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232053873,"filename":"image_03112025_22_04_17_2816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976855","file1":"1401976852","file0":"1401976849","file4":"1401976858","file5":"1401976859","file3":"1401976857"},"map_files_photo_id_array":[{"photo_id":"1401976859","filename":"file5"},{"photo_id":"1401976855","filename":"file2"},{"photo_id":"1401976858","filename":"file4"},{"photo_id":"1401976852","filename":"file1"},{"photo_id":"1401976849","filename":"file0"},{"photo_id":"1401976857","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976852":["hashtag1","hashtag2"]},{"1401976855":["hashtag1","hashtag2"]},{"1401976849":["hashtag1","hashtag2"]},{"1401976857":["hashtag1","hashtag2"]},{"1401976859":["hashtag1","hashtag2"]},{"1401976858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976852, 1401976855, 1401976849, 1401976857, 1401976859, 1401976858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61432337760925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:47:12.310257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_26_3539.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_28_2645.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_31_2662.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_35_3652.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_37_2715.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_40_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/22/04/image_03112025_22_04_26_3539.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_28_2645.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_31_2662.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_35_3652.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_37_2715.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_40_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":["1401976861","1401976866","1401976868","1401976862","1401976870","1401976864"],"photo_ids_order":["1401976861","1401976862","1401976864","1401976866","1401976868","1401976870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0d52df4096ca5c83f49f691734b9fe3.jpg","text":"TemporaryFile(/tmp/multipartBody8218516614525098930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232093941,"filename":"image_03112025_22_04_26_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bed086adbe98a4657df56a0db74baf3.jpg","text":"TemporaryFile(/tmp/multipartBody5869075417416073270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232093941,"filename":"image_03112025_22_04_35_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb7b92565d9799d79d57e8f2ddf995d2.jpg","text":"TemporaryFile(/tmp/multipartBody906864808469246805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232093941,"filename":"image_03112025_22_04_37_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d3d745f118e7829c597db68e7e7e548.jpg","text":"TemporaryFile(/tmp/multipartBody5745032911133313177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232093941,"filename":"image_03112025_22_04_28_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a3ddd9ef1d0479fe818023108cb1968.jpg","text":"TemporaryFile(/tmp/multipartBody4999691563270649375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232093941,"filename":"image_03112025_22_04_40_2796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a49c0abd52568a4496ca8990c0b97ea.jpg","text":"TemporaryFile(/tmp/multipartBody2956234463014527657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232093941,"filename":"image_03112025_22_04_31_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976864","file1":"1401976862","file0":"1401976861","file4":"1401976868","file5":"1401976870","file3":"1401976866"},"map_files_photo_id_array":[{"photo_id":"1401976870","filename":"file5"},{"photo_id":"1401976864","filename":"file2"},{"photo_id":"1401976868","filename":"file4"},{"photo_id":"1401976862","filename":"file1"},{"photo_id":"1401976861","filename":"file0"},{"photo_id":"1401976866","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976861":["hashtag1","hashtag2"]},{"1401976866":["hashtag1","hashtag2"]},{"1401976868":["hashtag1","hashtag2"]},{"1401976862":["hashtag1","hashtag2"]},{"1401976870":["hashtag1","hashtag2"]},{"1401976864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976861, 1401976866, 1401976868, 1401976862, 1401976870, 1401976864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09679889678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:48:02.960037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_54_9836.jpg', '/home/pi/Desktop/images/01012026/02/16/image_01012026_02_17_05_10560.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_15_9664.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_35_10637.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_45_9795.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_54_9836.jpg
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_17_05_10560.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_15_9664.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_35_10637.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_45_9795.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_55_9751.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.5077369213104248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:48:12.537101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_53_3592.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_56_2679.jpg', '/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_58_2660.jpg', '/home/pi/Desktop/images/03112025/22/06/image_03112025_22_06_12_2629.jpg', '/home/pi/Desktop/images/03112025/22/06/image_03112025_22_06_16_3570.jpg', '/home/pi/Desktop/images/03112025/22/06/image_03112025_22_06_19_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_53_3592.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_56_2679.jpg
/home/pi/Desktop/images/03112025/22/04/image_03112025_22_04_58_2660.jpg
/home/pi/Desktop/images/03112025/22/06/image_03112025_22_06_12_2629.jpg
/home/pi/Desktop/images/03112025/22/06/image_03112025_22_06_16_3570.jpg
/home/pi/Desktop/images/03112025/22/06/image_03112025_22_06_19_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":["1401976887","1401976883","1401976874","1401976876","1401976885","1401976879"],"photo_ids_order":["1401976874","1401976876","1401976879","1401976883","1401976885","1401976887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f0e1878cd2e011a51bf46e76ab98321.jpg","text":"TemporaryFile(/tmp/multipartBody6951465195353367957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232154168,"filename":"image_03112025_22_06_19_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75d92e9139b7b55b1868173822bd50e3.jpg","text":"TemporaryFile(/tmp/multipartBody7636453992244065042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232154168,"filename":"image_03112025_22_06_12_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8deceec13853cde02668b1ac6f0148b.jpg","text":"TemporaryFile(/tmp/multipartBody1245707690834575475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232154168,"filename":"image_03112025_22_04_53_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97ad72a1f6d43428f7b00ffb5603f9de.jpg","text":"TemporaryFile(/tmp/multipartBody263326945651139572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232154168,"filename":"image_03112025_22_04_56_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f5efe3cfe156a1077f783128b88df1e.jpg","text":"TemporaryFile(/tmp/multipartBody6217483773315921197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232154168,"filename":"image_03112025_22_06_16_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/404c5ff8f6fb7fbcc8d8317cb8883999.jpg","text":"TemporaryFile(/tmp/multipartBody1584275872626310328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232154168,"filename":"image_03112025_22_04_58_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976879","file1":"1401976876","file0":"1401976874","file4":"1401976885","file5":"1401976887","file3":"1401976883"},"map_files_photo_id_array":[{"photo_id":"1401976887","filename":"file5"},{"photo_id":"1401976879","filename":"file2"},{"photo_id":"1401976885","filename":"file4"},{"photo_id":"1401976876","filename":"file1"},{"photo_id":"1401976874","filename":"file0"},{"photo_id":"1401976883","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976887":["hashtag1","hashtag2"]},{"1401976883":["hashtag1","hashtag2"]},{"1401976874":["hashtag1","hashtag2"]},{"1401976876":["hashtag1","hashtag2"]},{"1401976885":["hashtag1","hashtag2"]},{"1401976879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976887, 1401976883, 1401976874, 1401976876, 1401976885, 1401976879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75035333633423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:49:03.733153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_54_9836.jpg', '/home/pi/Desktop/images/01012026/02/16/image_01012026_02_17_05_10560.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_15_9664.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_35_10637.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_45_9795.jpg', '/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_16_54_9836.jpg
/home/pi/Desktop/images/01012026/02/16/image_01012026_02_17_05_10560.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_15_9664.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_35_10637.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_45_9795.jpg
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_17_55_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":["1401976893","1401976890","1401976892","1401976895","1401976897","1401976891"],"photo_ids_order":["1401976890","1401976891","1401976892","1401976893","1401976895","1401976897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4e69aa7a401504d788c4a9aff5b9cdd.jpg","text":"TemporaryFile(/tmp/multipartBody8788403327913938821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232204510,"filename":"image_01012026_02_17_35_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94e37f5b7c746a94372470755eeb98e2.jpg","text":"TemporaryFile(/tmp/multipartBody650133035986942860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232204510,"filename":"image_01012026_02_16_54_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c635d0b4b22d0f90bfe059294b2669ab.jpg","text":"TemporaryFile(/tmp/multipartBody6620972026883238898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232204510,"filename":"image_01012026_02_17_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/daaa1e07c19222283b3cc258362f86d9.jpg","text":"TemporaryFile(/tmp/multipartBody3590926416715240473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232204510,"filename":"image_01012026_02_17_45_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa814858e623900aaf4a00053f4363aa.jpg","text":"TemporaryFile(/tmp/multipartBody4975072520898378984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232204510,"filename":"image_01012026_02_17_55_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4728c54722e7d38a2a10b51c5a738412.jpg","text":"TemporaryFile(/tmp/multipartBody1871731160497025270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232204510,"filename":"image_01012026_02_17_05_10560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976892","file1":"1401976891","file0":"1401976890","file4":"1401976895","file5":"1401976897","file3":"1401976893"},"map_files_photo_id_array":[{"photo_id":"1401976897","filename":"file5"},{"photo_id":"1401976892","filename":"file2"},{"photo_id":"1401976895","filename":"file4"},{"photo_id":"1401976891","filename":"file1"},{"photo_id":"1401976890","filename":"file0"},{"photo_id":"1401976893","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976893":["hashtag1","hashtag2"]},{"1401976890":["hashtag1","hashtag2"]},{"1401976892":["hashtag1","hashtag2"]},{"1401976895":["hashtag1","hashtag2"]},{"1401976897":["hashtag1","hashtag2"]},{"1401976891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976893, 1401976890, 1401976892, 1401976895, 1401976897, 1401976891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.606475591659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:49:42.689397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/06/image_03112025_22_06_58_3557.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_08_1840.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_10_1678.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_12_2644.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_15_2698.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_19_3590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/06/image_03112025_22_06_58_3557.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_08_1840.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_10_1678.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_12_2644.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_15_2698.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_19_3590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976903","1401976906","1401976905","1401976904","1401976907","1401976901"],"photo_ids_order":["1401976901","1401976903","1401976904","1401976905","1401976906","1401976907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0c0cc8c10688776781f480c4c14565b.jpg","text":"TemporaryFile(/tmp/multipartBody8515665880869720981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232244568,"filename":"image_03112025_22_07_08_1840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/162f47877d3f3c07fc4d5f3cf9892f4e.jpg","text":"TemporaryFile(/tmp/multipartBody5023994773800354817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232244568,"filename":"image_03112025_22_07_15_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff45032d2d2d0e8546b5a22b90600685.jpg","text":"TemporaryFile(/tmp/multipartBody8087755053910321630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232244568,"filename":"image_03112025_22_07_12_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e385f280d6dcae53d691b9c164356840.jpg","text":"TemporaryFile(/tmp/multipartBody3787350963215051586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232244568,"filename":"image_03112025_22_07_10_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/390c494e6b3e86f1a5f0793f5a41ed90.jpg","text":"TemporaryFile(/tmp/multipartBody5739213323109455484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232244568,"filename":"image_03112025_22_07_19_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8aa2db24b10774738ccb48d06aaf8461.jpg","text":"TemporaryFile(/tmp/multipartBody5479351567230085979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232244568,"filename":"image_03112025_22_06_58_3557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976904","file1":"1401976903","file0":"1401976901","file4":"1401976906","file5":"1401976907","file3":"1401976905"},"map_files_photo_id_array":[{"photo_id":"1401976907","filename":"file5"},{"photo_id":"1401976904","filename":"file2"},{"photo_id":"1401976906","filename":"file4"},{"photo_id":"1401976903","filename":"file1"},{"photo_id":"1401976901","filename":"file0"},{"photo_id":"1401976905","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976903":["hashtag1","hashtag2"]},{"1401976906":["hashtag1","hashtag2"]},{"1401976905":["hashtag1","hashtag2"]},{"1401976904":["hashtag1","hashtag2"]},{"1401976907":["hashtag1","hashtag2"]},{"1401976901":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976903, 1401976906, 1401976905, 1401976904, 1401976907, 1401976901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98498487472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:50:21.908013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/17/image_01012026_02_18_04_9616.jpg', '/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_15_10824.jpg', '/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_25_9644.jpg', '/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_34_9623.jpg', '/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_45_10632.jpg', '/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/17/image_01012026_02_18_04_9616.jpg
/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_15_10824.jpg
/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_25_9644.jpg
/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_34_9623.jpg
/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_45_10632.jpg
/home/pi/Desktop/images/01012026/02/18/image_01012026_02_18_55_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":["1401976912","1401976918","1401976914","1401976908","1401976916","1401976910"],"photo_ids_order":["1401976908","1401976910","1401976912","1401976914","1401976916","1401976918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/698364eab0f68eafe9a2c876483c645a.jpg","text":"TemporaryFile(/tmp/multipartBody9187271287369717948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232282509,"filename":"image_01012026_02_18_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f8d657007c2847ff26278b0d770c29f.jpg","text":"TemporaryFile(/tmp/multipartBody2119178634663891569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232282509,"filename":"image_01012026_02_18_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dca3edf1738431dc965b238d5d5c1f31.jpg","text":"TemporaryFile(/tmp/multipartBody2847504736214920556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232282509,"filename":"image_01012026_02_18_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9f4b96d9642e2ae54b9579006c91c1e.jpg","text":"TemporaryFile(/tmp/multipartBody4007203696416983427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232282509,"filename":"image_01012026_02_18_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/020d34f45ae625b43630f54947fea903.jpg","text":"TemporaryFile(/tmp/multipartBody6055554681852794947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232282509,"filename":"image_01012026_02_18_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d58cb60dd1133d6403e6422d02b0ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4547214721705659018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232282509,"filename":"image_01012026_02_18_15_10824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976912","file1":"1401976910","file0":"1401976908","file4":"1401976916","file5":"1401976918","file3":"1401976914"},"map_files_photo_id_array":[{"photo_id":"1401976918","filename":"file5"},{"photo_id":"1401976912","filename":"file2"},{"photo_id":"1401976916","filename":"file4"},{"photo_id":"1401976910","filename":"file1"},{"photo_id":"1401976908","filename":"file0"},{"photo_id":"1401976914","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976912":["hashtag1","hashtag2"]},{"1401976918":["hashtag1","hashtag2"]},{"1401976914":["hashtag1","hashtag2"]},{"1401976908":["hashtag1","hashtag2"]},{"1401976916":["hashtag1","hashtag2"]},{"1401976910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976912, 1401976918, 1401976914, 1401976908, 1401976916, 1401976910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.228938579559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:51:02.868912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/18/image_01012026_02_19_04_9653.jpg', '/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_14_9906.jpg', '/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_25_10638.jpg', '/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_34_9594.jpg', '/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_45_10665.jpg', '/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_55_9888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/18/image_01012026_02_19_04_9653.jpg
/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_14_9906.jpg
/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_25_10638.jpg
/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_34_9594.jpg
/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_45_10665.jpg
/home/pi/Desktop/images/01012026/02/19/image_01012026_02_19_55_9888.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976921","1401976924","1401976923","1401976926","1401976920","1401976922"],"photo_ids_order":["1401976920","1401976921","1401976922","1401976923","1401976924","1401976926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a2f16573598cff5755b705faef25c91.jpg","text":"TemporaryFile(/tmp/multipartBody7293721495006721622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232323522,"filename":"image_01012026_02_19_14_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/200e130caa0f940c35a4f2e434aa5078.jpg","text":"TemporaryFile(/tmp/multipartBody49107029263810286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232323522,"filename":"image_01012026_02_19_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/175dba1f14d9eca97b83b52c0f1c20a2.jpg","text":"TemporaryFile(/tmp/multipartBody3637537469101512854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232323522,"filename":"image_01012026_02_19_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a39ecc8fdf596fba9f4f86f7fcac6be9.jpg","text":"TemporaryFile(/tmp/multipartBody3280875085132405740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232323522,"filename":"image_01012026_02_19_55_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f069637ca4d8bb42d8e9d7dfd9101fb6.jpg","text":"TemporaryFile(/tmp/multipartBody799641371424774549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232323522,"filename":"image_01012026_02_19_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbed1bf4895b0195c71ef5bf53144a89.jpg","text":"TemporaryFile(/tmp/multipartBody8267696131981783991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232323522,"filename":"image_01012026_02_19_25_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976922","file1":"1401976921","file0":"1401976920","file4":"1401976924","file5":"1401976926","file3":"1401976923"},"map_files_photo_id_array":[{"photo_id":"1401976926","filename":"file5"},{"photo_id":"1401976922","filename":"file2"},{"photo_id":"1401976924","filename":"file4"},{"photo_id":"1401976921","filename":"file1"},{"photo_id":"1401976920","filename":"file0"},{"photo_id":"1401976923","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976921":["hashtag1","hashtag2"]},{"1401976924":["hashtag1","hashtag2"]},{"1401976923":["hashtag1","hashtag2"]},{"1401976926":["hashtag1","hashtag2"]},{"1401976920":["hashtag1","hashtag2"]},{"1401976922":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976921, 1401976924, 1401976923, 1401976926, 1401976920, 1401976922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64905405044556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:51:42.079724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_21_2549.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_25_3698.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_30_2835.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_43_2557.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_45_2627.jpg', '/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_48_2835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_21_2549.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_25_3698.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_30_2835.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_43_2557.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_45_2627.jpg
/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_48_2835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976933","1401976936","1401976935","1401976934","1401976937","1401976931"],"photo_ids_order":["1401976931","1401976933","1401976934","1401976935","1401976936","1401976937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e64017f327461e21e99d7ac2b620808.jpg","text":"TemporaryFile(/tmp/multipartBody8409493210067013858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232363816,"filename":"image_03112025_22_07_25_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fff2bf269883b74817aec9dd08afdd2.jpg","text":"TemporaryFile(/tmp/multipartBody4878603326939562220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232363816,"filename":"image_03112025_22_07_45_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b619a92881f78823534c7496fd3d530.jpg","text":"TemporaryFile(/tmp/multipartBody1898571681542741261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232363816,"filename":"image_03112025_22_07_43_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66e4b8efd31362ec7c7bce1e2afd0432.jpg","text":"TemporaryFile(/tmp/multipartBody7233039328594388633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232363816,"filename":"image_03112025_22_07_30_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1caa1728e03791504e81eb6a051868d4.jpg","text":"TemporaryFile(/tmp/multipartBody3657512997250955691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232363816,"filename":"image_03112025_22_07_48_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b38878e811cc7b4502ffc1bc4327cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4130798483766351965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232363816,"filename":"image_03112025_22_07_21_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976934","file1":"1401976933","file0":"1401976931","file4":"1401976936","file5":"1401976937","file3":"1401976935"},"map_files_photo_id_array":[{"photo_id":"1401976937","filename":"file5"},{"photo_id":"1401976934","filename":"file2"},{"photo_id":"1401976936","filename":"file4"},{"photo_id":"1401976933","filename":"file1"},{"photo_id":"1401976931","filename":"file0"},{"photo_id":"1401976935","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976933":["hashtag1","hashtag2"]},{"1401976936":["hashtag1","hashtag2"]},{"1401976935":["hashtag1","hashtag2"]},{"1401976934":["hashtag1","hashtag2"]},{"1401976937":["hashtag1","hashtag2"]},{"1401976931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976933, 1401976936, 1401976935, 1401976934, 1401976937, 1401976931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51253414154053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:52:22.232791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/19/image_01012026_02_20_05_9619.jpg', '/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_14_9737.jpg', '/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_25_10644.jpg', '/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_35_9663.jpg', '/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_44_9623.jpg', '/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_55_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/19/image_01012026_02_20_05_9619.jpg
/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_14_9737.jpg
/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_25_10644.jpg
/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_35_9663.jpg
/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_44_9623.jpg
/home/pi/Desktop/images/01012026/02/20/image_01012026_02_20_55_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":["1401976945","1401976942","1401976938","1401976947","1401976949","1401976940"],"photo_ids_order":["1401976938","1401976940","1401976942","1401976945","1401976947","1401976949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/737fe6b84cb20e1d11f617fdeffee940.jpg","text":"TemporaryFile(/tmp/multipartBody7336693604077749674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232402823,"filename":"image_01012026_02_20_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a627b190fa7c451b7fb2df52929dd2b.jpg","text":"TemporaryFile(/tmp/multipartBody612183285856521584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232402823,"filename":"image_01012026_02_20_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a743b6755441060d4ba8e5daa0ac491.jpg","text":"TemporaryFile(/tmp/multipartBody6433972130570968126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232402823,"filename":"image_01012026_02_20_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8727e63d3fc51b40628e5149a2f239dc.jpg","text":"TemporaryFile(/tmp/multipartBody3434719005166398577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232402823,"filename":"image_01012026_02_20_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ac4c38522bc36032ef4a09fd77d84fd.jpg","text":"TemporaryFile(/tmp/multipartBody137919864745360483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232402823,"filename":"image_01012026_02_20_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcd69252a5aea9fc0c77039cdf69c779.jpg","text":"TemporaryFile(/tmp/multipartBody1443445962828602275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232402823,"filename":"image_01012026_02_20_14_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976942","file1":"1401976940","file0":"1401976938","file4":"1401976947","file5":"1401976949","file3":"1401976945"},"map_files_photo_id_array":[{"photo_id":"1401976949","filename":"file5"},{"photo_id":"1401976942","filename":"file2"},{"photo_id":"1401976947","filename":"file4"},{"photo_id":"1401976940","filename":"file1"},{"photo_id":"1401976938","filename":"file0"},{"photo_id":"1401976945","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976945":["hashtag1","hashtag2"]},{"1401976942":["hashtag1","hashtag2"]},{"1401976938":["hashtag1","hashtag2"]},{"1401976947":["hashtag1","hashtag2"]},{"1401976949":["hashtag1","hashtag2"]},{"1401976940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976945, 1401976942, 1401976938, 1401976947, 1401976949, 1401976940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80000114440918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:53:03.180969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/20/image_01012026_02_21_04_9444.jpg', '/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_14_9914.jpg', '/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_25_10581.jpg', '/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_34_9453.jpg', '/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_45_10696.jpg', '/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/20/image_01012026_02_21_04_9444.jpg
/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_14_9914.jpg
/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_25_10581.jpg
/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_34_9453.jpg
/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_45_10696.jpg
/home/pi/Desktop/images/01012026/02/21/image_01012026_02_21_55_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":["1401976951","1401976954","1401976956","1401976950","1401976953","1401976952"],"photo_ids_order":["1401976950","1401976951","1401976952","1401976953","1401976954","1401976956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e1813934787d1fc07bbd3f977f09c84.jpg","text":"TemporaryFile(/tmp/multipartBody8038484378162639501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232443827,"filename":"image_01012026_02_21_14_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecd06bfa8a481e898a66c766ae846cc8.jpg","text":"TemporaryFile(/tmp/multipartBody1725305115273340049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232443827,"filename":"image_01012026_02_21_45_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd1e54c0a2c58fb2e842dd6e7ba195c2.jpg","text":"TemporaryFile(/tmp/multipartBody8033384300905796019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232443827,"filename":"image_01012026_02_21_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a64eb8f420d579b0314d007211dbd64e.jpg","text":"TemporaryFile(/tmp/multipartBody1559358303180052761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232443827,"filename":"image_01012026_02_21_04_9444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7ec1daef6e94f8da6b303d8117536fb.jpg","text":"TemporaryFile(/tmp/multipartBody131168689882499485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232443827,"filename":"image_01012026_02_21_34_9453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df1c57c98f62657ef2e717f257899d12.jpg","text":"TemporaryFile(/tmp/multipartBody7138260615727341382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232443827,"filename":"image_01012026_02_21_25_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976952","file1":"1401976951","file0":"1401976950","file4":"1401976954","file5":"1401976956","file3":"1401976953"},"map_files_photo_id_array":[{"photo_id":"1401976956","filename":"file5"},{"photo_id":"1401976952","filename":"file2"},{"photo_id":"1401976954","filename":"file4"},{"photo_id":"1401976951","filename":"file1"},{"photo_id":"1401976950","filename":"file0"},{"photo_id":"1401976953","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976951":["hashtag1","hashtag2"]},{"1401976954":["hashtag1","hashtag2"]},{"1401976956":["hashtag1","hashtag2"]},{"1401976950":["hashtag1","hashtag2"]},{"1401976953":["hashtag1","hashtag2"]},{"1401976952":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976951, 1401976954, 1401976956, 1401976950, 1401976953, 1401976952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96284317970276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:53:42.526243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/07/image_03112025_22_07_52_3658.jpg', '/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_09_2777.jpg', '/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_13_3581.jpg', '/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_19_3663.jpg', '/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_24_2655.jpg', '/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_27_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/22/07/image_03112025_22_07_52_3658.jpg
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_09_2777.jpg
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_13_3581.jpg
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_19_3663.jpg
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_24_2655.jpg
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_27_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":["1401976966","1401976969","1401976962","1401976965","1401976964","1401976967"],"photo_ids_order":["1401976962","1401976964","1401976965","1401976966","1401976967","1401976969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b28b471988cbc0051e2aa2675d0ecac.jpg","text":"TemporaryFile(/tmp/multipartBody809551676084772830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232484285,"filename":"image_03112025_22_08_19_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb0868550f18cb8e50c35e7408c6f3de.jpg","text":"TemporaryFile(/tmp/multipartBody2307358629090565338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232484285,"filename":"image_03112025_22_08_27_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1618cdc117cac3104cc87b850dcab92d.jpg","text":"TemporaryFile(/tmp/multipartBody2266015024156198258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232484285,"filename":"image_03112025_22_07_52_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48945fb031c0d5a840d3cffaadc628ee.jpg","text":"TemporaryFile(/tmp/multipartBody4250511468074321424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232484285,"filename":"image_03112025_22_08_13_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19825bc21548f236eecd78434e8d91c0.jpg","text":"TemporaryFile(/tmp/multipartBody3183767642929860209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232484285,"filename":"image_03112025_22_08_09_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fa713a91cfd4b3859bd9cd5142565f4.jpg","text":"TemporaryFile(/tmp/multipartBody2052655403693292533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232484285,"filename":"image_03112025_22_08_24_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976965","file1":"1401976964","file0":"1401976962","file4":"1401976967","file5":"1401976969","file3":"1401976966"},"map_files_photo_id_array":[{"photo_id":"1401976969","filename":"file5"},{"photo_id":"1401976965","filename":"file2"},{"photo_id":"1401976967","filename":"file4"},{"photo_id":"1401976964","filename":"file1"},{"photo_id":"1401976962","filename":"file0"},{"photo_id":"1401976966","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976966":["hashtag1","hashtag2"]},{"1401976969":["hashtag1","hashtag2"]},{"1401976962":["hashtag1","hashtag2"]},{"1401976965":["hashtag1","hashtag2"]},{"1401976964":["hashtag1","hashtag2"]},{"1401976967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976966, 1401976969, 1401976962, 1401976965, 1401976964, 1401976967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88109493255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:54:22.717052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/21/image_01012026_02_22_05_10057.jpg', '/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_14_9467.jpg', '/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_25_10727.jpg', '/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_35_9692.jpg', '/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_44_9653.jpg', '/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_54_10086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/21/image_01012026_02_22_05_10057.jpg
/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_14_9467.jpg
/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_25_10727.jpg
/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_35_9692.jpg
/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_44_9653.jpg
/home/pi/Desktop/images/01012026/02/22/image_01012026_02_22_54_10086.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976980","1401976977","1401976971","1401976979","1401976973","1401976975"],"photo_ids_order":["1401976971","1401976973","1401976975","1401976977","1401976979","1401976980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d690f1d5cb3b753d05f5e19bff53b8e2.jpg","text":"TemporaryFile(/tmp/multipartBody961678187870867691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232523306,"filename":"image_01012026_02_22_54_10086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf6b22c62d15920fd2215d1f702fa212.jpg","text":"TemporaryFile(/tmp/multipartBody8226660603676059664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232523306,"filename":"image_01012026_02_22_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3935727c7a94ca17f07a2d1fbc92eb5a.jpg","text":"TemporaryFile(/tmp/multipartBody4152650967381095360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232523306,"filename":"image_01012026_02_22_05_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08fa462249318eb0cae1d3c1480e9285.jpg","text":"TemporaryFile(/tmp/multipartBody3927831052245733249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232523306,"filename":"image_01012026_02_22_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41b82134f09104d0690b240e181eda00.jpg","text":"TemporaryFile(/tmp/multipartBody1480859503894500380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232523306,"filename":"image_01012026_02_22_14_9467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3685262fca88edd75355abc1f384cc05.jpg","text":"TemporaryFile(/tmp/multipartBody2355575707850406619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232523306,"filename":"image_01012026_02_22_25_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976975","file1":"1401976973","file0":"1401976971","file4":"1401976979","file5":"1401976980","file3":"1401976977"},"map_files_photo_id_array":[{"photo_id":"1401976980","filename":"file5"},{"photo_id":"1401976975","filename":"file2"},{"photo_id":"1401976979","filename":"file4"},{"photo_id":"1401976973","filename":"file1"},{"photo_id":"1401976971","filename":"file0"},{"photo_id":"1401976977","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976980":["hashtag1","hashtag2"]},{"1401976977":["hashtag1","hashtag2"]},{"1401976971":["hashtag1","hashtag2"]},{"1401976979":["hashtag1","hashtag2"]},{"1401976973":["hashtag1","hashtag2"]},{"1401976975":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976980, 1401976977, 1401976971, 1401976979, 1401976973, 1401976975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.247557401657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:55:02.491175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/22/image_01012026_02_23_05_10621.jpg', '/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_15_9573.jpg', '/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_24_9670.jpg', '/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_34_10153.jpg', '/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_45_10659.jpg', '/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_55_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/22/image_01012026_02_23_05_10621.jpg
/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_15_9573.jpg
/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_24_9670.jpg
/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_34_10153.jpg
/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_45_10659.jpg
/home/pi/Desktop/images/01012026/02/23/image_01012026_02_23_55_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":["1401976987","1401976983","1401976982","1401976985","1401976981","1401976984"],"photo_ids_order":["1401976981","1401976982","1401976983","1401976984","1401976985","1401976987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5d88e532ceeef9bd0573d4be7fc565d.jpg","text":"TemporaryFile(/tmp/multipartBody8828966637153554190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232563230,"filename":"image_01012026_02_23_55_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0f75379949236f9ce6126ff3c1d4bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5594514030156093724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232563230,"filename":"image_01012026_02_23_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d2f3aa018917a6c68df5e9f79b93ada.jpg","text":"TemporaryFile(/tmp/multipartBody1103909336220497666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232563230,"filename":"image_01012026_02_23_15_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2a1ba8d041c157c7211c0de3ca6fa64.jpg","text":"TemporaryFile(/tmp/multipartBody4595961667006890671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232563230,"filename":"image_01012026_02_23_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f3d2b42b3902d0a6063b5538c3a31f5.jpg","text":"TemporaryFile(/tmp/multipartBody2307490989798923293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232563230,"filename":"image_01012026_02_23_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ec264930755b163041d7d7bc7b21314.jpg","text":"TemporaryFile(/tmp/multipartBody6343128455279309918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232563230,"filename":"image_01012026_02_23_34_10153.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976983","file1":"1401976982","file0":"1401976981","file4":"1401976985","file5":"1401976987","file3":"1401976984"},"map_files_photo_id_array":[{"photo_id":"1401976987","filename":"file5"},{"photo_id":"1401976983","filename":"file2"},{"photo_id":"1401976985","filename":"file4"},{"photo_id":"1401976982","filename":"file1"},{"photo_id":"1401976981","filename":"file0"},{"photo_id":"1401976984","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401976987":["hashtag1","hashtag2"]},{"1401976983":["hashtag1","hashtag2"]},{"1401976982":["hashtag1","hashtag2"]},{"1401976985":["hashtag1","hashtag2"]},{"1401976981":["hashtag1","hashtag2"]},{"1401976984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401976987, 1401976983, 1401976982, 1401976985, 1401976981, 1401976984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91004228591919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:55:41.992493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_45_1605.jpg', '/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_49_1603.jpg', '/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_51_2676.jpg', '/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_57_2615.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_01_4044.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_09_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_45_1605.jpg
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_49_1603.jpg
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_51_2676.jpg
/home/pi/Desktop/images/03112025/22/08/image_03112025_22_08_57_2615.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_01_4044.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_09_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401976998","1401976992","1401976995","1401976997","1401976994","1401976996"],"photo_ids_order":["1401976992","1401976994","1401976995","1401976996","1401976997","1401976998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f7a8872aa6293331247b35188fe29ce.jpg","text":"TemporaryFile(/tmp/multipartBody6172523380431670318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232603861,"filename":"image_03112025_22_09_09_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f7c6b3ba342e832463b06629913dd8e.jpg","text":"TemporaryFile(/tmp/multipartBody4795858219314078868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232603861,"filename":"image_03112025_22_08_45_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39344aac0e82ab75bba5cc1504710ece.jpg","text":"TemporaryFile(/tmp/multipartBody5843331103445577499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232603861,"filename":"image_03112025_22_08_51_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb66ffbd1e397481664c05afe188ed12.jpg","text":"TemporaryFile(/tmp/multipartBody1525623746652637839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232603861,"filename":"image_03112025_22_09_01_4044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/895d29f7d42b338e4731a80149fe5615.jpg","text":"TemporaryFile(/tmp/multipartBody7922456607566961400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232603861,"filename":"image_03112025_22_08_49_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de717696e911071801c00c9722e42406.jpg","text":"TemporaryFile(/tmp/multipartBody4351935499343364638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232603861,"filename":"image_03112025_22_08_57_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401976995","file1":"1401976994","file0":"1401976992","file4":"1401976997","file5":"1401976998","file3":"1401976996"},"map_files_photo_id_array":[{"photo_id":"1401976998","filename":"file5"},{"photo_id":"1401976995","filename":"file2"},{"photo_id":"1401976997","filename":"file4"},{"photo_id":"1401976994","filename":"file1"},{"photo_id":"1401976992","filename":"file0"},{"photo_id":"1401976996","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401976998":["hashtag1","hashtag2"]},{"1401976992":["hashtag1","hashtag2"]},{"1401976995":["hashtag1","hashtag2"]},{"1401976997":["hashtag1","hashtag2"]},{"1401976994":["hashtag1","hashtag2"]},{"1401976996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401976998, 1401976992, 1401976995, 1401976997, 1401976994, 1401976996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53163409233093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 02:56:22.131926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/23/image_01012026_02_24_05_9803.jpg', '/home/pi/Desktop/images/01012026/02/24/image_01012026_02_24_14_9759.jpg', '/home/pi/Desktop/images/01012026/02/24/image_01012026_02_24_24_9809.jpg', '/home/pi/Desktop/images/01012026/02/24/image_01012026_02_24_35_10541.jpg', '/home/pi/Desktop/images/01012026/02/24/image_01012026_02_24_54_9709.jpg', '/home/pi/Desktop/images/01012026/02/24/image_01012026_02_25_05_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/23/image_01012026_02_24_05_9803.jpg
/home/pi/Desktop/images/01012026/02/24/image_01012026_02_24_14_9759.jpg
/home/pi/Desktop/images/01012026/02/24/image_01012026_02_24_24_9809.jpg
/home/pi/Desktop/images/01012026/02/24/image_01012026_02_24_35_10541.jpg
/home/pi/Desktop/images/01012026/02/24/image_01012026_02_24_54_9709.jpg
/home/pi/Desktop/images/01012026/02/24/image_01012026_02_25_05_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401977002","1401977010","1401977004","1401977006","1401977000","1401976999"],"photo_ids_order":["1401976999","1401977000","1401977002","1401977004","1401977006","1401977010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8a0585d763ca1b656b961628d11cf97.jpg","text":"TemporaryFile(/tmp/multipartBody8876429035878885864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232642746,"filename":"image_01012026_02_24_24_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/741c34d36d9924f8d5e0876faef1eb90.jpg","text":"TemporaryFile(/tmp/multipartBody6804403354295747810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232642746,"filename":"image_01012026_02_25_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6f15e0260f1dbac4e7fde14bb540142.jpg","text":"TemporaryFile(/tmp/multipartBody2691492258560273103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232642746,"filename":"image_01012026_02_24_35_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c26b4ff5baaff02c5640df7922801f1a.jpg","text":"TemporaryFile(/tmp/multipartBody767461310656204845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232642746,"filename":"image_01012026_02_24_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b35e276d553fc07036c7cf58c6d5c24e.jpg","text":"TemporaryFile(/tmp/multipartBody5948135534235169885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232642746,"filename":"image_01012026_02_24_14_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8aa0265052fc1e5b9da3774ca437421.jpg","text":"TemporaryFile(/tmp/multipartBody2720041208744215976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232642746,"filename":"image_01012026_02_24_05_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401977002","file1":"1401977000","file0":"1401976999","file4":"1401977006","file5":"1401977010","file3":"1401977004"},"map_files_photo_id_array":[{"photo_id":"1401977010","filename":"file5"},{"photo_id":"1401977002","filename":"file2"},{"photo_id":"1401977006","filename":"file4"},{"photo_id":"1401977000","filename":"file1"},{"photo_id":"1401976999","filename":"file0"},{"photo_id":"1401977004","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401977002":["hashtag1","hashtag2"]},{"1401977010":["hashtag1","hashtag2"]},{"1401977004":["hashtag1","hashtag2"]},{"1401977006":["hashtag1","hashtag2"]},{"1401977000":["hashtag1","hashtag2"]},{"1401976999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401977002, 1401977010, 1401977004, 1401977006, 1401977000, 1401976999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66352820396423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:57:02.979103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_15_9804.jpg', '/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_24_9640.jpg', '/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_35_10692.jpg', '/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_45_9638.jpg', '/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_54_9694.jpg', '/home/pi/Desktop/images/01012026/02/25/image_01012026_02_26_05_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_15_9804.jpg
/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_24_9640.jpg
/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_35_10692.jpg
/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_45_9638.jpg
/home/pi/Desktop/images/01012026/02/25/image_01012026_02_25_54_9694.jpg
/home/pi/Desktop/images/01012026/02/25/image_01012026_02_26_05_10744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401977020","1401977023","1401977017","1401977022","1401977025","1401977028"],"photo_ids_order":["1401977017","1401977020","1401977022","1401977023","1401977025","1401977028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4aa3da62931ad1f808d0628a5125161.jpg","text":"TemporaryFile(/tmp/multipartBody2864366965411768967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232683641,"filename":"image_01012026_02_25_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e08f7470fa2553f5d8b61e306b494e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6600709519161041909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232683641,"filename":"image_01012026_02_25_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65ca40182c4adf1bdd0ac2a973c54237.jpg","text":"TemporaryFile(/tmp/multipartBody2912191491932871374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232683641,"filename":"image_01012026_02_25_15_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fac3e8602999d97a247a304f67b8d449.jpg","text":"TemporaryFile(/tmp/multipartBody3190590883560217129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232683641,"filename":"image_01012026_02_25_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3243ae759aef5793ed451ace6768004.jpg","text":"TemporaryFile(/tmp/multipartBody7897840796063205890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232683641,"filename":"image_01012026_02_25_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ee33edd39af4c15350d03e1475e71da.jpg","text":"TemporaryFile(/tmp/multipartBody6548825332139623561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232683641,"filename":"image_01012026_02_26_05_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401977022","file1":"1401977020","file0":"1401977017","file4":"1401977025","file5":"1401977028","file3":"1401977023"},"map_files_photo_id_array":[{"photo_id":"1401977028","filename":"file5"},{"photo_id":"1401977022","filename":"file2"},{"photo_id":"1401977025","filename":"file4"},{"photo_id":"1401977020","filename":"file1"},{"photo_id":"1401977017","filename":"file0"},{"photo_id":"1401977023","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401977020":["hashtag1","hashtag2"]},{"1401977023":["hashtag1","hashtag2"]},{"1401977017":["hashtag1","hashtag2"]},{"1401977022":["hashtag1","hashtag2"]},{"1401977025":["hashtag1","hashtag2"]},{"1401977028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401977020, 1401977023, 1401977017, 1401977022, 1401977025, 1401977028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.065906286239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:57:42.249054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_15_2578.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_18_2587.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_33_2687.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_36_2651.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_42_2644.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_51_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_15_2578.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_18_2587.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_33_2687.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_36_2651.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_42_2644.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_51_2526.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.6533851623535156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 02:59:03.422215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_15_9691.jpg', '/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_24_9670.jpg', '/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_35_10612.jpg', '/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_45_9576.jpg', '/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_54_9626.jpg', '/home/pi/Desktop/images/01012026/02/26/image_01012026_02_27_05_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_15_9691.jpg
/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_24_9670.jpg
/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_35_10612.jpg
/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_45_9576.jpg
/home/pi/Desktop/images/01012026/02/26/image_01012026_02_26_54_9626.jpg
/home/pi/Desktop/images/01012026/02/26/image_01012026_02_27_05_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401977041","1401977046","1401977048","1401977050","1401977044","1401977053"],"photo_ids_order":["1401977041","1401977044","1401977046","1401977048","1401977050","1401977053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d78deb30898d222fd255c7117b3d1ae1.jpg","text":"TemporaryFile(/tmp/multipartBody9172468172364897503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232804246,"filename":"image_01012026_02_26_15_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c14fcd4ca38bbcee155e22cf2fbaad45.jpg","text":"TemporaryFile(/tmp/multipartBody411410734713571090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232804246,"filename":"image_01012026_02_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/2026/1/1/ae6906a62f95717fca3300413d2057cf.jpg","text":"TemporaryFile(/tmp/multipartBody3794878000198246492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232804246,"filename":"image_01012026_02_26_45_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d766053dd80a61bad8c03680a24a84ad.jpg","text":"TemporaryFile(/tmp/multipartBody3886316127129589829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232804246,"filename":"image_01012026_02_26_54_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d9d101a8c4c385a123f06a93b1489c6.jpg","text":"TemporaryFile(/tmp/multipartBody8175539520532131454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232804246,"filename":"image_01012026_02_26_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/817a282b317716e181318e824e716154.jpg","text":"TemporaryFile(/tmp/multipartBody6305847478562211738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232804246,"filename":"image_01012026_02_27_05_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401977046","file1":"1401977044","file0":"1401977041","file4":"1401977050","file5":"1401977053","file3":"1401977048"},"map_files_photo_id_array":[{"photo_id":"1401977053","filename":"file5"},{"photo_id":"1401977046","filename":"file2"},{"photo_id":"1401977050","filename":"file4"},{"photo_id":"1401977044","filename":"file1"},{"photo_id":"1401977041","filename":"file0"},{"photo_id":"1401977048","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401977041":["hashtag1","hashtag2"]},{"1401977046":["hashtag1","hashtag2"]},{"1401977048":["hashtag1","hashtag2"]},{"1401977050":["hashtag1","hashtag2"]},{"1401977044":["hashtag1","hashtag2"]},{"1401977053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401977041, 1401977046, 1401977048, 1401977050, 1401977044, 1401977053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21222710609436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 02:59:42.560546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_15_2578.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_18_2587.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_33_2687.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_36_2651.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_42_2644.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_51_2526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_15_2578.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_18_2587.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_33_2687.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_36_2651.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_42_2644.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_51_2526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401977248","1401977352","1401977319","1401977174","1401977213","1401977284"],"photo_ids_order":["1401977174","1401977213","1401977248","1401977284","1401977319","1401977352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf7f26ceb663eac466abdad470cb64b3.jpg","text":"TemporaryFile(/tmp/multipartBody4935673434487748936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232844217,"filename":"image_03112025_22_09_33_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ac2861c003fc5ae763429e07f3b7061.jpg","text":"TemporaryFile(/tmp/multipartBody136673487344334422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232844217,"filename":"image_03112025_22_09_51_2526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d8448ec9fb5e41c305150ffb16077b2.jpg","text":"TemporaryFile(/tmp/multipartBody4908930853239245382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232844217,"filename":"image_03112025_22_09_42_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63292d2f14cd5aedce8902ec0430e593.jpg","text":"TemporaryFile(/tmp/multipartBody8605856888391439617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232844217,"filename":"image_03112025_22_09_15_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce743de7b9f2dc044b3acbce6dc184e1.jpg","text":"TemporaryFile(/tmp/multipartBody3428836921364373300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232844217,"filename":"image_03112025_22_09_18_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/597e9ff5889ddbf818e5054505839418.jpg","text":"TemporaryFile(/tmp/multipartBody6320036166421746329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232844217,"filename":"image_03112025_22_09_36_2651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401977248","file1":"1401977213","file0":"1401977174","file4":"1401977319","file5":"1401977352","file3":"1401977284"},"map_files_photo_id_array":[{"photo_id":"1401977352","filename":"file5"},{"photo_id":"1401977248","filename":"file2"},{"photo_id":"1401977319","filename":"file4"},{"photo_id":"1401977213","filename":"file1"},{"photo_id":"1401977174","filename":"file0"},{"photo_id":"1401977284","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401977248":["hashtag1","hashtag2"]},{"1401977352":["hashtag1","hashtag2"]},{"1401977319":["hashtag1","hashtag2"]},{"1401977174":["hashtag1","hashtag2"]},{"1401977213":["hashtag1","hashtag2"]},{"1401977284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401977248, 1401977352, 1401977319, 1401977174, 1401977213, 1401977284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97143054008484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:00:22.715035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/27/image_01012026_02_27_15_9617.jpg', '/home/pi/Desktop/images/01012026/02/27/image_01012026_02_27_24_9720.jpg', '/home/pi/Desktop/images/01012026/02/27/image_01012026_02_27_35_10700.jpg', '/home/pi/Desktop/images/01012026/02/27/image_01012026_02_27_45_9601.jpg', '/home/pi/Desktop/images/01012026/02/27/image_01012026_02_28_05_10561.jpg', '/home/pi/Desktop/images/01012026/02/28/image_01012026_02_28_15_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/27/image_01012026_02_27_15_9617.jpg
/home/pi/Desktop/images/01012026/02/27/image_01012026_02_27_24_9720.jpg
/home/pi/Desktop/images/01012026/02/27/image_01012026_02_27_35_10700.jpg
/home/pi/Desktop/images/01012026/02/27/image_01012026_02_27_45_9601.jpg
/home/pi/Desktop/images/01012026/02/27/image_01012026_02_28_05_10561.jpg
/home/pi/Desktop/images/01012026/02/28/image_01012026_02_28_15_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401977582","1401977618","1401977507","1401977545","1401977473","1401977656"],"photo_ids_order":["1401977473","1401977507","1401977545","1401977582","1401977618","1401977656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/046c1c13e2b2a0b2420886a461597b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4707680895972420688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232883311,"filename":"image_01012026_02_27_45_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25bb7e13c7f297ad5f6660370e96f1e0.jpg","text":"TemporaryFile(/tmp/multipartBody8548576723812658306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232883311,"filename":"image_01012026_02_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/2026/1/1/5c1b43127c99006b167edeb5c6305c65.jpg","text":"TemporaryFile(/tmp/multipartBody5237319543615934237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232883311,"filename":"image_01012026_02_27_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12bb7f5bf65e459ff0573bcbaeec9ba8.jpg","text":"TemporaryFile(/tmp/multipartBody6680756197606269207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232883311,"filename":"image_01012026_02_27_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af9b8b73b6e13cad7ad579665d67f18b.jpg","text":"TemporaryFile(/tmp/multipartBody7294690672418119815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232883311,"filename":"image_01012026_02_27_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8cd5b5e20db0ab92f6d555fe5329716.jpg","text":"TemporaryFile(/tmp/multipartBody6275218256744020129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232883311,"filename":"image_01012026_02_28_15_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401977545","file1":"1401977507","file0":"1401977473","file4":"1401977618","file5":"1401977656","file3":"1401977582"},"map_files_photo_id_array":[{"photo_id":"1401977656","filename":"file5"},{"photo_id":"1401977545","filename":"file2"},{"photo_id":"1401977618","filename":"file4"},{"photo_id":"1401977507","filename":"file1"},{"photo_id":"1401977473","filename":"file0"},{"photo_id":"1401977582","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401977582":["hashtag1","hashtag2"]},{"1401977618":["hashtag1","hashtag2"]},{"1401977507":["hashtag1","hashtag2"]},{"1401977545":["hashtag1","hashtag2"]},{"1401977473":["hashtag1","hashtag2"]},{"1401977656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401977582, 1401977618, 1401977507, 1401977545, 1401977473, 1401977656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03800630569458 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:01:02.713279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/28/image_01012026_02_28_34_9708.jpg', '/home/pi/Desktop/images/01012026/02/28/image_01012026_02_28_45_10700.jpg', '/home/pi/Desktop/images/01012026/02/28/image_01012026_02_28_55_9825.jpg', '/home/pi/Desktop/images/01012026/02/28/image_01012026_02_29_04_9835.jpg', '/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_14_9607.jpg', '/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_25_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/28/image_01012026_02_28_34_9708.jpg
/home/pi/Desktop/images/01012026/02/28/image_01012026_02_28_45_10700.jpg
/home/pi/Desktop/images/01012026/02/28/image_01012026_02_28_55_9825.jpg
/home/pi/Desktop/images/01012026/02/28/image_01012026_02_29_04_9835.jpg
/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_14_9607.jpg
/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_25_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":["1401977786","1401977930","1401977896","1401977860","1401977824","1401977932"],"photo_ids_order":["1401977786","1401977824","1401977860","1401977896","1401977930","1401977932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/803b1832a4aa987e92b33350f891d2c6.jpg","text":"TemporaryFile(/tmp/multipartBody6021085031584889909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232923420,"filename":"image_01012026_02_28_34_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e00d5b63bc54c8825893411c08e2a8d.jpg","text":"TemporaryFile(/tmp/multipartBody1300068706366517161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232923420,"filename":"image_01012026_02_29_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/289d356cdadd9f61b6692dd913ac9c29.jpg","text":"TemporaryFile(/tmp/multipartBody5528019022210802919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232923420,"filename":"image_01012026_02_29_04_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dfef03cec37fc7bf65e574cfa6201c1.jpg","text":"TemporaryFile(/tmp/multipartBody7789423568429319279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232923420,"filename":"image_01012026_02_28_55_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d03b123997ae426f8a85e8e5c4b7d1d.jpg","text":"TemporaryFile(/tmp/multipartBody4591443780210682329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232923420,"filename":"image_01012026_02_28_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4fc0cf29d692f13a19f99a7048d5ee5.jpg","text":"TemporaryFile(/tmp/multipartBody4208272298238238788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232923420,"filename":"image_01012026_02_29_25_10616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401977860","file1":"1401977824","file0":"1401977786","file4":"1401977930","file5":"1401977932","file3":"1401977896"},"map_files_photo_id_array":[{"photo_id":"1401977932","filename":"file5"},{"photo_id":"1401977860","filename":"file2"},{"photo_id":"1401977930","filename":"file4"},{"photo_id":"1401977824","filename":"file1"},{"photo_id":"1401977786","filename":"file0"},{"photo_id":"1401977896","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401977786":["hashtag1","hashtag2"]},{"1401977930":["hashtag1","hashtag2"]},{"1401977896":["hashtag1","hashtag2"]},{"1401977860":["hashtag1","hashtag2"]},{"1401977824":["hashtag1","hashtag2"]},{"1401977932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401977786, 1401977930, 1401977896, 1401977860, 1401977824, 1401977932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77742266654968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:01:41.959550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_55_3613.jpg', '/home/pi/Desktop/images/03112025/22/09/image_03112025_22_10_00_2710.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_10_3633.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_15_2617.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_22_2566.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_25_3556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_09_55_3613.jpg
/home/pi/Desktop/images/03112025/22/09/image_03112025_22_10_00_2710.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_10_3633.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_15_2617.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_22_2566.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_25_3556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401977940","1401977943","1401977937","1401977939","1401977942","1401977941"],"photo_ids_order":["1401977937","1401977939","1401977940","1401977941","1401977942","1401977943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4341ea441961c8b5068d4fc43759d77.jpg","text":"TemporaryFile(/tmp/multipartBody6198753989504720685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232963706,"filename":"image_03112025_22_10_10_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d73d7593fef6667c8294766b06a79009.jpg","text":"TemporaryFile(/tmp/multipartBody7248598270154160618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232963706,"filename":"image_03112025_22_10_25_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d15e5a39924049bd8d96d98ecb8dd272.jpg","text":"TemporaryFile(/tmp/multipartBody5952481347461501336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232963706,"filename":"image_03112025_22_09_55_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c181c10448faa11c2ddc721eacf52c91.jpg","text":"TemporaryFile(/tmp/multipartBody1577310096665027983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232963706,"filename":"image_03112025_22_10_00_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10e39d735b37db239e852ca54e7391a1.jpg","text":"TemporaryFile(/tmp/multipartBody8999201957994637070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232963706,"filename":"image_03112025_22_10_22_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f624f03af5299f0026d04f8e3eac2e52.jpg","text":"TemporaryFile(/tmp/multipartBody5496624949255996150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767232963706,"filename":"image_03112025_22_10_15_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401977940","file1":"1401977939","file0":"1401977937","file4":"1401977942","file5":"1401977943","file3":"1401977941"},"map_files_photo_id_array":[{"photo_id":"1401977943","filename":"file5"},{"photo_id":"1401977940","filename":"file2"},{"photo_id":"1401977942","filename":"file4"},{"photo_id":"1401977939","filename":"file1"},{"photo_id":"1401977937","filename":"file0"},{"photo_id":"1401977941","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401977940":["hashtag1","hashtag2"]},{"1401977943":["hashtag1","hashtag2"]},{"1401977937":["hashtag1","hashtag2"]},{"1401977939":["hashtag1","hashtag2"]},{"1401977942":["hashtag1","hashtag2"]},{"1401977941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401977940, 1401977943, 1401977937, 1401977939, 1401977942, 1401977941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.945300340652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:02:22.135759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_34_9677.jpg', '/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_45_10656.jpg', '/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_55_9842.jpg', '/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_14_9751.jpg', '/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_25_10594.jpg', '/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_34_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_34_9677.jpg
/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_45_10656.jpg
/home/pi/Desktop/images/01012026/02/29/image_01012026_02_29_55_9842.jpg
/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_14_9751.jpg
/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_25_10594.jpg
/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_34_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":["1401978186","1401978092","1401978056","1401978164","1401978190","1401978127"],"photo_ids_order":["1401978056","1401978092","1401978127","1401978164","1401978186","1401978190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1374b627c0a40c0bed82f86640246ab.jpg","text":"TemporaryFile(/tmp/multipartBody2803201690908323030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233002729,"filename":"image_01012026_02_30_25_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b59ad1b8c0c7a711af9743dcf79c08f0.jpg","text":"TemporaryFile(/tmp/multipartBody5361182666913549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233002729,"filename":"image_01012026_02_29_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1af1e7fffcae643d9d5b181d5212d768.jpg","text":"TemporaryFile(/tmp/multipartBody5431575815773858095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233002729,"filename":"image_01012026_02_29_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7028174df7349fbc807cca2fdf3ef1c6.jpg","text":"TemporaryFile(/tmp/multipartBody8905869130317744460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233002729,"filename":"image_01012026_02_30_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9557f9ab8bd1505687ea0ab120365650.jpg","text":"TemporaryFile(/tmp/multipartBody7694547098834642753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233002729,"filename":"image_01012026_02_30_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a580dbd21eed44ca706d2e92f1a92c16.jpg","text":"TemporaryFile(/tmp/multipartBody6619404263013382919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233002729,"filename":"image_01012026_02_29_55_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978127","file1":"1401978092","file0":"1401978056","file4":"1401978186","file5":"1401978190","file3":"1401978164"},"map_files_photo_id_array":[{"photo_id":"1401978190","filename":"file5"},{"photo_id":"1401978127","filename":"file2"},{"photo_id":"1401978186","filename":"file4"},{"photo_id":"1401978092","filename":"file1"},{"photo_id":"1401978056","filename":"file0"},{"photo_id":"1401978164","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978186":["hashtag1","hashtag2"]},{"1401978092":["hashtag1","hashtag2"]},{"1401978056":["hashtag1","hashtag2"]},{"1401978164":["hashtag1","hashtag2"]},{"1401978190":["hashtag1","hashtag2"]},{"1401978127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978186, 1401978092, 1401978056, 1401978164, 1401978190, 1401978127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.654743671417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:03:02.983013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_45_10650.jpg', '/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_55_9681.jpg', '/home/pi/Desktop/images/01012026/02/30/image_01012026_02_31_04_9548.jpg', '/home/pi/Desktop/images/01012026/02/31/image_01012026_02_31_25_9632.jpg', '/home/pi/Desktop/images/01012026/02/31/image_01012026_02_31_45_10576.jpg', '/home/pi/Desktop/images/01012026/02/31/image_01012026_02_31_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_45_10650.jpg
/home/pi/Desktop/images/01012026/02/30/image_01012026_02_30_55_9681.jpg
/home/pi/Desktop/images/01012026/02/30/image_01012026_02_31_04_9548.jpg
/home/pi/Desktop/images/01012026/02/31/image_01012026_02_31_25_9632.jpg
/home/pi/Desktop/images/01012026/02/31/image_01012026_02_31_45_10576.jpg
/home/pi/Desktop/images/01012026/02/31/image_01012026_02_31_55_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":["1401978243","1401978252","1401978303","1401978295","1401978301","1401978282"],"photo_ids_order":["1401978243","1401978252","1401978282","1401978295","1401978301","1401978303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c74a3a4b420c76fba4f8fb93b46a8f27.jpg","text":"TemporaryFile(/tmp/multipartBody6808819163562952629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233043626,"filename":"image_01012026_02_30_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d050149174925e301843f4e0afa59ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5768612500589202870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233043626,"filename":"image_01012026_02_30_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bc144bcffd795d8ad4b74030e9adc9b.jpg","text":"TemporaryFile(/tmp/multipartBody5866062424720140214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233043626,"filename":"image_01012026_02_31_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16946a4b71eff8ec48f57a20e0f7c61e.jpg","text":"TemporaryFile(/tmp/multipartBody6027512906325170175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233043626,"filename":"image_01012026_02_31_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ae9ecaaaf7be6c7f1cda42b6c351f41.jpg","text":"TemporaryFile(/tmp/multipartBody3337115882802032382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233043626,"filename":"image_01012026_02_31_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ca5a2aefff9aa6c8b7c4bc131c74cef.jpg","text":"TemporaryFile(/tmp/multipartBody3736586411286621422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233043626,"filename":"image_01012026_02_31_04_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978282","file1":"1401978252","file0":"1401978243","file4":"1401978301","file5":"1401978303","file3":"1401978295"},"map_files_photo_id_array":[{"photo_id":"1401978303","filename":"file5"},{"photo_id":"1401978282","filename":"file2"},{"photo_id":"1401978301","filename":"file4"},{"photo_id":"1401978252","filename":"file1"},{"photo_id":"1401978243","filename":"file0"},{"photo_id":"1401978295","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978243":["hashtag1","hashtag2"]},{"1401978252":["hashtag1","hashtag2"]},{"1401978303":["hashtag1","hashtag2"]},{"1401978295":["hashtag1","hashtag2"]},{"1401978301":["hashtag1","hashtag2"]},{"1401978282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978243, 1401978252, 1401978303, 1401978295, 1401978301, 1401978282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30595898628235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:03:42.278139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_28_2700.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_31_2731.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_34_2777.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_42_2585.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_46_3612.jpg', '/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_55_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_28_2700.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_31_2731.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_34_2777.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_42_2585.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_46_3612.jpg
/home/pi/Desktop/images/03112025/22/10/image_03112025_22_10_55_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978312","1401978311","1401978314","1401978308","1401978313","1401978310"],"photo_ids_order":["1401978308","1401978310","1401978311","1401978312","1401978313","1401978314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67b513aa207cd7150772527653abecf9.jpg","text":"TemporaryFile(/tmp/multipartBody1277620580282542102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233084039,"filename":"image_03112025_22_10_42_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa348b7f48fd1150c74bff9ab78aef5a.jpg","text":"TemporaryFile(/tmp/multipartBody9186894557969600408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233084039,"filename":"image_03112025_22_10_34_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/201bd547f6b4963842628c77314b1d46.jpg","text":"TemporaryFile(/tmp/multipartBody4912327705354767831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233084039,"filename":"image_03112025_22_10_55_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b68e74c06a4e3e05d2eb9b87587103c4.jpg","text":"TemporaryFile(/tmp/multipartBody892313262990140034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233084039,"filename":"image_03112025_22_10_28_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d936a2e897023e65e1e29f62bdb4ceb7.jpg","text":"TemporaryFile(/tmp/multipartBody1970897894590924711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233084039,"filename":"image_03112025_22_10_46_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b21bb122ace08ed62af301a18e15e8e6.jpg","text":"TemporaryFile(/tmp/multipartBody3437599447564915014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233084039,"filename":"image_03112025_22_10_31_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978311","file1":"1401978310","file0":"1401978308","file4":"1401978313","file5":"1401978314","file3":"1401978312"},"map_files_photo_id_array":[{"photo_id":"1401978314","filename":"file5"},{"photo_id":"1401978311","filename":"file2"},{"photo_id":"1401978313","filename":"file4"},{"photo_id":"1401978310","filename":"file1"},{"photo_id":"1401978308","filename":"file0"},{"photo_id":"1401978312","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978312":["hashtag1","hashtag2"]},{"1401978311":["hashtag1","hashtag2"]},{"1401978314":["hashtag1","hashtag2"]},{"1401978308":["hashtag1","hashtag2"]},{"1401978313":["hashtag1","hashtag2"]},{"1401978310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978312, 1401978311, 1401978314, 1401978308, 1401978313, 1401978310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1313111782074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:04:22.458165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/31/image_01012026_02_32_04_9692.jpg', '/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_15_10696.jpg', '/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_25_9755.jpg', '/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_34_9586.jpg', '/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_45_10586.jpg', '/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_54_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/31/image_01012026_02_32_04_9692.jpg
/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_15_10696.jpg
/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_25_9755.jpg
/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_34_9586.jpg
/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_45_10586.jpg
/home/pi/Desktop/images/01012026/02/32/image_01012026_02_32_54_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":["1401978321","1401978315","1401978323","1401978317","1401978325","1401978319"],"photo_ids_order":["1401978315","1401978317","1401978319","1401978321","1401978323","1401978325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0dff60f5e4fcae6549acb4b3fdd78c2.jpg","text":"TemporaryFile(/tmp/multipartBody3673318070542816061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233123049,"filename":"image_01012026_02_32_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d42b072f4186834b16d30d21fcb11a0.jpg","text":"TemporaryFile(/tmp/multipartBody8900769504671106026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233123049,"filename":"image_01012026_02_32_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4faef73954c44c03e6b85a44ec5cf37.jpg","text":"TemporaryFile(/tmp/multipartBody8044754136758001131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233123049,"filename":"image_01012026_02_32_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfb4796a9e1298705acfd9e38a976688.jpg","text":"TemporaryFile(/tmp/multipartBody6472900999839103886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233123049,"filename":"image_01012026_02_32_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e23fefa7b09e0460724f32e43460034.jpg","text":"TemporaryFile(/tmp/multipartBody6512204544534716652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233123049,"filename":"image_01012026_02_32_54_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c25737b6ec42bfaf5bc29b9ad868ffc1.jpg","text":"TemporaryFile(/tmp/multipartBody2415491482726898487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233123049,"filename":"image_01012026_02_32_25_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978319","file1":"1401978317","file0":"1401978315","file4":"1401978323","file5":"1401978325","file3":"1401978321"},"map_files_photo_id_array":[{"photo_id":"1401978325","filename":"file5"},{"photo_id":"1401978319","filename":"file2"},{"photo_id":"1401978323","filename":"file4"},{"photo_id":"1401978317","filename":"file1"},{"photo_id":"1401978315","filename":"file0"},{"photo_id":"1401978321","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978321":["hashtag1","hashtag2"]},{"1401978315":["hashtag1","hashtag2"]},{"1401978323":["hashtag1","hashtag2"]},{"1401978317":["hashtag1","hashtag2"]},{"1401978325":["hashtag1","hashtag2"]},{"1401978319":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978321, 1401978315, 1401978323, 1401978317, 1401978325, 1401978319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.469959020614624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:05:03.295698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/32/image_01012026_02_33_04_9750.jpg', '/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_15_10611.jpg', '/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_24_9629.jpg', '/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_34_9641.jpg', '/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_45_10583.jpg', '/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_55_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/32/image_01012026_02_33_04_9750.jpg
/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_15_10611.jpg
/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_24_9629.jpg
/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_34_9641.jpg
/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_45_10583.jpg
/home/pi/Desktop/images/01012026/02/33/image_01012026_02_33_55_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":["1401978333","1401978327","1401978329","1401978331","1401978334","1401978328"],"photo_ids_order":["1401978327","1401978328","1401978329","1401978331","1401978333","1401978334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4032db7e2dced523a0fc59106f4884cb.jpg","text":"TemporaryFile(/tmp/multipartBody2729475050749975810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233163959,"filename":"image_01012026_02_33_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5850e86e7b9a46a227b359208420bb78.jpg","text":"TemporaryFile(/tmp/multipartBody2551402151631873107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233163959,"filename":"image_01012026_02_33_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69001eab85b13715047b75af48ca060a.jpg","text":"TemporaryFile(/tmp/multipartBody630446223515385184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233163959,"filename":"image_01012026_02_33_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ece93d86144f7c25b9bf9d854c1df140.jpg","text":"TemporaryFile(/tmp/multipartBody8538182514856212532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233163959,"filename":"image_01012026_02_33_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f744420395b4cd274c0209db91212cc.jpg","text":"TemporaryFile(/tmp/multipartBody2951647115821131090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233163959,"filename":"image_01012026_02_33_55_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/180706976ecd54fed28441599b3cfcf1.jpg","text":"TemporaryFile(/tmp/multipartBody5439699521677979080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233163959,"filename":"image_01012026_02_33_15_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978329","file1":"1401978328","file0":"1401978327","file4":"1401978333","file5":"1401978334","file3":"1401978331"},"map_files_photo_id_array":[{"photo_id":"1401978334","filename":"file5"},{"photo_id":"1401978329","filename":"file2"},{"photo_id":"1401978333","filename":"file4"},{"photo_id":"1401978328","filename":"file1"},{"photo_id":"1401978327","filename":"file0"},{"photo_id":"1401978331","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978333":["hashtag1","hashtag2"]},{"1401978327":["hashtag1","hashtag2"]},{"1401978329":["hashtag1","hashtag2"]},{"1401978331":["hashtag1","hashtag2"]},{"1401978334":["hashtag1","hashtag2"]},{"1401978328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978333, 1401978327, 1401978329, 1401978331, 1401978334, 1401978328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76764273643494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:05:42.667788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_07_2550.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_10_2774.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_16_2655.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_19_3178.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_22_2638.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_25_3373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_07_2550.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_10_2774.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_16_2655.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_19_3178.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_22_2638.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_25_3373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978345","1401978347","1401978341","1401978344","1401978346","1401978343"],"photo_ids_order":["1401978341","1401978343","1401978344","1401978345","1401978346","1401978347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddf2b0ae8f9f7cafb50251aeda94fbae.jpg","text":"TemporaryFile(/tmp/multipartBody6906163714119184561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233204424,"filename":"image_03112025_22_11_19_3178.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74a19f61e0c6439c89328367c13a1610.jpg","text":"TemporaryFile(/tmp/multipartBody3360372337883751782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233204424,"filename":"image_03112025_22_11_25_3373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e15196b27f9d1ff5bce00cc571f4931f.jpg","text":"TemporaryFile(/tmp/multipartBody9110151541738189788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233204424,"filename":"image_03112025_22_11_07_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2234ee6c314ef081c79ddc47cea59d7.jpg","text":"TemporaryFile(/tmp/multipartBody5186217833218228793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233204424,"filename":"image_03112025_22_11_16_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de132eb594ff371fc4fef9cff3c858e0.jpg","text":"TemporaryFile(/tmp/multipartBody2068342124710139574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233204424,"filename":"image_03112025_22_11_22_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c1159d0c2310642433a94ce69d00d38.jpg","text":"TemporaryFile(/tmp/multipartBody8525294892336516255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233204424,"filename":"image_03112025_22_11_10_2774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978344","file1":"1401978343","file0":"1401978341","file4":"1401978346","file5":"1401978347","file3":"1401978345"},"map_files_photo_id_array":[{"photo_id":"1401978347","filename":"file5"},{"photo_id":"1401978344","filename":"file2"},{"photo_id":"1401978346","filename":"file4"},{"photo_id":"1401978343","filename":"file1"},{"photo_id":"1401978341","filename":"file0"},{"photo_id":"1401978345","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978345":["hashtag1","hashtag2"]},{"1401978347":["hashtag1","hashtag2"]},{"1401978341":["hashtag1","hashtag2"]},{"1401978344":["hashtag1","hashtag2"]},{"1401978346":["hashtag1","hashtag2"]},{"1401978343":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978345, 1401978347, 1401978341, 1401978344, 1401978346, 1401978343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45332741737366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:06:22.842703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/33/image_01012026_02_34_04_9604.jpg', '/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_15_10682.jpg', '/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_24_9696.jpg', '/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_34_9760.jpg', '/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_45_10671.jpg', '/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_55_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/33/image_01012026_02_34_04_9604.jpg
/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_15_10682.jpg
/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_24_9696.jpg
/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_34_9760.jpg
/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_45_10671.jpg
/home/pi/Desktop/images/01012026/02/34/image_01012026_02_34_55_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":["1401978351","1401978348","1401978353","1401978358","1401978355","1401978349"],"photo_ids_order":["1401978348","1401978349","1401978351","1401978353","1401978355","1401978358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8d0560076652d0d21b01d42dad1eaa4.jpg","text":"TemporaryFile(/tmp/multipartBody3539530525330872468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233243466,"filename":"image_01012026_02_34_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67657f558db628891f2ebf1a07c7ff00.jpg","text":"TemporaryFile(/tmp/multipartBody6692889510951180283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233243466,"filename":"image_01012026_02_34_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1b494030d0d4ce6ccf3a7908611b731.jpg","text":"TemporaryFile(/tmp/multipartBody1875373595084266010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233243466,"filename":"image_01012026_02_34_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66e26b72b01474ff2a754098ae9e5f83.jpg","text":"TemporaryFile(/tmp/multipartBody5014859294930154087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233243466,"filename":"image_01012026_02_34_55_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07669c80f79ddaaee6db7c84b1e7ee45.jpg","text":"TemporaryFile(/tmp/multipartBody4349110201072894075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233243466,"filename":"image_01012026_02_34_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a13c7c622eec73d7269a97d61d5de49.jpg","text":"TemporaryFile(/tmp/multipartBody6989367255599878585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233243466,"filename":"image_01012026_02_34_15_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978351","file1":"1401978349","file0":"1401978348","file4":"1401978355","file5":"1401978358","file3":"1401978353"},"map_files_photo_id_array":[{"photo_id":"1401978358","filename":"file5"},{"photo_id":"1401978351","filename":"file2"},{"photo_id":"1401978355","filename":"file4"},{"photo_id":"1401978349","filename":"file1"},{"photo_id":"1401978348","filename":"file0"},{"photo_id":"1401978353","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978351":["hashtag1","hashtag2"]},{"1401978348":["hashtag1","hashtag2"]},{"1401978353":["hashtag1","hashtag2"]},{"1401978358":["hashtag1","hashtag2"]},{"1401978355":["hashtag1","hashtag2"]},{"1401978349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978351, 1401978348, 1401978353, 1401978358, 1401978355, 1401978349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.706982374191284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:07:02.918145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/34/image_01012026_02_35_04_9645.jpg', '/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_14_9814.jpg', '/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_25_10623.jpg', '/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_34_9664.jpg', '/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_44_9772.jpg', '/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_55_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/34/image_01012026_02_35_04_9645.jpg
/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_14_9814.jpg
/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_25_10623.jpg
/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_34_9664.jpg
/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_44_9772.jpg
/home/pi/Desktop/images/01012026/02/35/image_01012026_02_35_55_10549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978372","1401978366","1401978368","1401978370","1401978364","1401978367"],"photo_ids_order":["1401978364","1401978366","1401978367","1401978368","1401978370","1401978372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31094a556992d6b92910e7ad326828f1.jpg","text":"TemporaryFile(/tmp/multipartBody4465861246963360157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233283584,"filename":"image_01012026_02_35_55_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fba4a090108c708db5de814553d9219e.jpg","text":"TemporaryFile(/tmp/multipartBody8253768307859935362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233283584,"filename":"image_01012026_02_35_14_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d453731725b288aa6f96e5df97ddc174.jpg","text":"TemporaryFile(/tmp/multipartBody7266069358428822835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233283584,"filename":"image_01012026_02_35_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35754e767592c1248c1a0635c92aa6bd.jpg","text":"TemporaryFile(/tmp/multipartBody3637096629730562367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233283584,"filename":"image_01012026_02_35_44_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39528d9d4f2914722ae0e7e1ebb9d9c2.jpg","text":"TemporaryFile(/tmp/multipartBody1793058791725215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233283584,"filename":"image_01012026_02_35_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/260ccec6d1e57c97b15cb66a425da06e.jpg","text":"TemporaryFile(/tmp/multipartBody7609597725022251410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233283584,"filename":"image_01012026_02_35_25_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978367","file1":"1401978366","file0":"1401978364","file4":"1401978370","file5":"1401978372","file3":"1401978368"},"map_files_photo_id_array":[{"photo_id":"1401978372","filename":"file5"},{"photo_id":"1401978367","filename":"file2"},{"photo_id":"1401978370","filename":"file4"},{"photo_id":"1401978366","filename":"file1"},{"photo_id":"1401978364","filename":"file0"},{"photo_id":"1401978368","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978372":["hashtag1","hashtag2"]},{"1401978366":["hashtag1","hashtag2"]},{"1401978368":["hashtag1","hashtag2"]},{"1401978370":["hashtag1","hashtag2"]},{"1401978364":["hashtag1","hashtag2"]},{"1401978367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978372, 1401978366, 1401978368, 1401978370, 1401978364, 1401978367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39015245437622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:07:42.304093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_37_2686.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_39_2607.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_45_2609.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_52_2859.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_06_1536.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_08_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/22/11/image_03112025_22_11_37_2686.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_39_2607.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_45_2609.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_52_2859.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_06_1536.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_08_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.6327333450317383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:08:02.874407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_14_9697.jpg', '/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_25_10747.jpg', '/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_35_9643.jpg', '/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_44_9703.jpg', '/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_55_10677.jpg', '/home/pi/Desktop/images/01012026/02/36/image_01012026_02_37_05_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_14_9697.jpg
/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_25_10747.jpg
/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_35_9643.jpg
/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_44_9703.jpg
/home/pi/Desktop/images/01012026/02/36/image_01012026_02_36_55_10677.jpg
/home/pi/Desktop/images/01012026/02/36/image_01012026_02_37_05_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":["1401978384","1401978383","1401978386","1401978382","1401978385","1401978388"],"photo_ids_order":["1401978382","1401978383","1401978384","1401978385","1401978386","1401978388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f20944191b2519ea23a04ec47b4122f.jpg","text":"TemporaryFile(/tmp/multipartBody8290665638586877199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233343538,"filename":"image_01012026_02_36_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50b15ee77c216a9b08308e1f8498e598.jpg","text":"TemporaryFile(/tmp/multipartBody5209300678179510124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233343538,"filename":"image_01012026_02_36_25_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05f90627a24c89ff8c052a2aca53e66f.jpg","text":"TemporaryFile(/tmp/multipartBody7321264345365434422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233343538,"filename":"image_01012026_02_36_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19cfaa0a630aa420b3b67fb9f8c6fe8a.jpg","text":"TemporaryFile(/tmp/multipartBody685166059735812244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233343538,"filename":"image_01012026_02_36_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f7409285eec6cdd41911621b07905c3.jpg","text":"TemporaryFile(/tmp/multipartBody2388019089419194816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233343538,"filename":"image_01012026_02_36_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee864241158f264ecf49da4da527caa5.jpg","text":"TemporaryFile(/tmp/multipartBody3971505782529608034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233343538,"filename":"image_01012026_02_37_05_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978384","file1":"1401978383","file0":"1401978382","file4":"1401978386","file5":"1401978388","file3":"1401978385"},"map_files_photo_id_array":[{"photo_id":"1401978388","filename":"file5"},{"photo_id":"1401978384","filename":"file2"},{"photo_id":"1401978386","filename":"file4"},{"photo_id":"1401978383","filename":"file1"},{"photo_id":"1401978382","filename":"file0"},{"photo_id":"1401978385","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978384":["hashtag1","hashtag2"]},{"1401978383":["hashtag1","hashtag2"]},{"1401978386":["hashtag1","hashtag2"]},{"1401978382":["hashtag1","hashtag2"]},{"1401978385":["hashtag1","hashtag2"]},{"1401978388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978384, 1401978383, 1401978386, 1401978382, 1401978385, 1401978388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15907955169678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:08:42.430969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_37_2686.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_39_2607.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_45_2609.jpg', '/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_52_2859.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_06_1536.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_08_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/22/11/image_03112025_22_11_37_2686.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_39_2607.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_45_2609.jpg
/home/pi/Desktop/images/03112025/22/11/image_03112025_22_11_52_2859.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_06_1536.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_08_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":["1401978398","1401978401","1401978397","1401978400","1401978399","1401978393"],"photo_ids_order":["1401978393","1401978397","1401978398","1401978399","1401978400","1401978401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb9602c4ef6f72b7d10576c5ecd10cfe.jpg","text":"TemporaryFile(/tmp/multipartBody5451022047428781827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233384067,"filename":"image_03112025_22_11_45_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffe8b99d93569e17d45b2a293e22b8a4.jpg","text":"TemporaryFile(/tmp/multipartBody3276364653136639951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233384067,"filename":"image_03112025_22_12_08_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22950cbdb504e5905eb5c2ab3157ce3c.jpg","text":"TemporaryFile(/tmp/multipartBody3137258578675683834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233384067,"filename":"image_03112025_22_11_39_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad3460ec372f19dbac6b0c784e2dda54.jpg","text":"TemporaryFile(/tmp/multipartBody6079863972783221512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233384067,"filename":"image_03112025_22_12_06_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b036e301476e2297adc16ddf9beefda.jpg","text":"TemporaryFile(/tmp/multipartBody4070736906248807620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233384067,"filename":"image_03112025_22_11_52_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63e11b2d0108d54d7f1922bda8f07584.jpg","text":"TemporaryFile(/tmp/multipartBody3489377806364439288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233384067,"filename":"image_03112025_22_11_37_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978398","file1":"1401978397","file0":"1401978393","file4":"1401978400","file5":"1401978401","file3":"1401978399"},"map_files_photo_id_array":[{"photo_id":"1401978401","filename":"file5"},{"photo_id":"1401978398","filename":"file2"},{"photo_id":"1401978400","filename":"file4"},{"photo_id":"1401978397","filename":"file1"},{"photo_id":"1401978393","filename":"file0"},{"photo_id":"1401978399","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978398":["hashtag1","hashtag2"]},{"1401978401":["hashtag1","hashtag2"]},{"1401978397":["hashtag1","hashtag2"]},{"1401978400":["hashtag1","hashtag2"]},{"1401978399":["hashtag1","hashtag2"]},{"1401978393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978398, 1401978401, 1401978397, 1401978400, 1401978399, 1401978393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.894558906555176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:09:22.609220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_15_9880.jpg', '/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_24_9715.jpg', '/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_35_10707.jpg', '/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_45_9949.jpg', '/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_55_10055.jpg', '/home/pi/Desktop/images/01012026/02/37/image_01012026_02_38_05_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_15_9880.jpg
/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_24_9715.jpg
/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_35_10707.jpg
/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_45_9949.jpg
/home/pi/Desktop/images/01012026/02/37/image_01012026_02_37_55_10055.jpg
/home/pi/Desktop/images/01012026/02/37/image_01012026_02_38_05_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":["1401978408","1401978410","1401978404","1401978412","1401978403","1401978406"],"photo_ids_order":["1401978403","1401978404","1401978406","1401978408","1401978410","1401978412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f12565194ccb3aaa80b4473cde13124.jpg","text":"TemporaryFile(/tmp/multipartBody388394494950219175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233423206,"filename":"image_01012026_02_37_45_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2df6bc406d24f975c22620567961c340.jpg","text":"TemporaryFile(/tmp/multipartBody1852620369643871459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233423206,"filename":"image_01012026_02_37_55_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c347f9ff6109e699d56ac4d4a831b37f.jpg","text":"TemporaryFile(/tmp/multipartBody35698488838328593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233423206,"filename":"image_01012026_02_37_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9adb34554951cffd39d92ff8a3bb6dce.jpg","text":"TemporaryFile(/tmp/multipartBody6377389227433791044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233423206,"filename":"image_01012026_02_38_05_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d750be180415fd938533f1fbc159cfa7.jpg","text":"TemporaryFile(/tmp/multipartBody5466122220568417896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233423206,"filename":"image_01012026_02_37_15_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57047c7d8f7c376b7cde0848327f9f86.jpg","text":"TemporaryFile(/tmp/multipartBody3771021229220076499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233423206,"filename":"image_01012026_02_37_35_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978406","file1":"1401978404","file0":"1401978403","file4":"1401978410","file5":"1401978412","file3":"1401978408"},"map_files_photo_id_array":[{"photo_id":"1401978412","filename":"file5"},{"photo_id":"1401978406","filename":"file2"},{"photo_id":"1401978410","filename":"file4"},{"photo_id":"1401978404","filename":"file1"},{"photo_id":"1401978403","filename":"file0"},{"photo_id":"1401978408","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978408":["hashtag1","hashtag2"]},{"1401978410":["hashtag1","hashtag2"]},{"1401978404":["hashtag1","hashtag2"]},{"1401978412":["hashtag1","hashtag2"]},{"1401978403":["hashtag1","hashtag2"]},{"1401978406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978408, 1401978410, 1401978404, 1401978412, 1401978403, 1401978406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.862865686416626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:10:03.154486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_14_9857.jpg', '/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_24_9622.jpg', '/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_35_10543.jpg', '/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_44_9771.jpg', '/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_55_10624.jpg', '/home/pi/Desktop/images/01012026/02/38/image_01012026_02_39_05_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_14_9857.jpg
/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_24_9622.jpg
/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_35_10543.jpg
/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_44_9771.jpg
/home/pi/Desktop/images/01012026/02/38/image_01012026_02_38_55_10624.jpg
/home/pi/Desktop/images/01012026/02/38/image_01012026_02_39_05_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978417","1401978420","1401978414","1401978416","1401978415","1401978418"],"photo_ids_order":["1401978414","1401978415","1401978416","1401978417","1401978418","1401978420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b7d350ded337450e3b67267d130dfe3.jpg","text":"TemporaryFile(/tmp/multipartBody1459496217146990060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233463766,"filename":"image_01012026_02_38_44_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eda44eec25bab67626df3ca352524e65.jpg","text":"TemporaryFile(/tmp/multipartBody242718851741569277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233463766,"filename":"image_01012026_02_39_05_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b98c150bd394968859761b915a1c02d.jpg","text":"TemporaryFile(/tmp/multipartBody5124718273707024169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233463766,"filename":"image_01012026_02_38_14_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20905eb90805766aa50db3bcca43a334.jpg","text":"TemporaryFile(/tmp/multipartBody2979643672937730954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233463766,"filename":"image_01012026_02_38_35_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67214f8f8880818b9aa4c88084f4efdb.jpg","text":"TemporaryFile(/tmp/multipartBody5390089764668821904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233463766,"filename":"image_01012026_02_38_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3bbfa9c5f97c6e2afd75481d991df5e.jpg","text":"TemporaryFile(/tmp/multipartBody1929094263626444746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233463766,"filename":"image_01012026_02_38_55_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978416","file1":"1401978415","file0":"1401978414","file4":"1401978418","file5":"1401978420","file3":"1401978417"},"map_files_photo_id_array":[{"photo_id":"1401978420","filename":"file5"},{"photo_id":"1401978416","filename":"file2"},{"photo_id":"1401978418","filename":"file4"},{"photo_id":"1401978415","filename":"file1"},{"photo_id":"1401978414","filename":"file0"},{"photo_id":"1401978417","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978417":["hashtag1","hashtag2"]},{"1401978420":["hashtag1","hashtag2"]},{"1401978414":["hashtag1","hashtag2"]},{"1401978416":["hashtag1","hashtag2"]},{"1401978415":["hashtag1","hashtag2"]},{"1401978418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978417, 1401978420, 1401978414, 1401978416, 1401978415, 1401978418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24734878540039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:10:42.891509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_24_2579.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_28_3592.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_31_2577.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_33_2787.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_40_3715.jpg', '/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_52_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/22/12/image_03112025_22_12_24_2579.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_28_3592.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_31_2577.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_33_2787.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_40_3715.jpg
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_52_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":["1401978429","1401978428","1401978431","1401978425","1401978430","1401978427"],"photo_ids_order":["1401978425","1401978427","1401978428","1401978429","1401978430","1401978431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/602ce7469eb7ae2efaab6d3378a37b89.jpg","text":"TemporaryFile(/tmp/multipartBody8020050958353808067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233504659,"filename":"image_03112025_22_12_33_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f05860a1ee1e922bae3c9abba592532.jpg","text":"TemporaryFile(/tmp/multipartBody7839175734062393969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233504659,"filename":"image_03112025_22_12_31_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b45da36c9bd4b878de4dccd3cbcd2af8.jpg","text":"TemporaryFile(/tmp/multipartBody5998913543424142772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233504659,"filename":"image_03112025_22_12_52_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a51be8857bf99dc19f80ceff9e417776.jpg","text":"TemporaryFile(/tmp/multipartBody1820399618150141479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233504659,"filename":"image_03112025_22_12_24_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c2a7fbddcd65261175480c4e696dcf1.jpg","text":"TemporaryFile(/tmp/multipartBody3284592048839096329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233504659,"filename":"image_03112025_22_12_40_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38fdb1bd63caa860ea16acdcedbf8921.jpg","text":"TemporaryFile(/tmp/multipartBody357853862567509564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233504659,"filename":"image_03112025_22_12_28_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978428","file1":"1401978427","file0":"1401978425","file4":"1401978430","file5":"1401978431","file3":"1401978429"},"map_files_photo_id_array":[{"photo_id":"1401978431","filename":"file5"},{"photo_id":"1401978428","filename":"file2"},{"photo_id":"1401978430","filename":"file4"},{"photo_id":"1401978427","filename":"file1"},{"photo_id":"1401978425","filename":"file0"},{"photo_id":"1401978429","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978429":["hashtag1","hashtag2"]},{"1401978428":["hashtag1","hashtag2"]},{"1401978431":["hashtag1","hashtag2"]},{"1401978425":["hashtag1","hashtag2"]},{"1401978430":["hashtag1","hashtag2"]},{"1401978427":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978429, 1401978428, 1401978431, 1401978425, 1401978430, 1401978427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50280523300171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:11:22.069552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/39/image_01012026_02_39_14_9688.jpg', '/home/pi/Desktop/images/01012026/02/39/image_01012026_02_39_25_10614.jpg', '/home/pi/Desktop/images/01012026/02/39/image_01012026_02_39_44_9548.jpg', '/home/pi/Desktop/images/01012026/02/39/image_01012026_02_39_55_10652.jpg', '/home/pi/Desktop/images/01012026/02/39/image_01012026_02_40_05_9675.jpg', '/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_15_10546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/39/image_01012026_02_39_14_9688.jpg
/home/pi/Desktop/images/01012026/02/39/image_01012026_02_39_25_10614.jpg
/home/pi/Desktop/images/01012026/02/39/image_01012026_02_39_44_9548.jpg
/home/pi/Desktop/images/01012026/02/39/image_01012026_02_39_55_10652.jpg
/home/pi/Desktop/images/01012026/02/39/image_01012026_02_40_05_9675.jpg
/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_15_10546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978444","1401978438","1401978432","1401978440","1401978434","1401978436"],"photo_ids_order":["1401978432","1401978434","1401978436","1401978438","1401978440","1401978444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a2dae9c82947d6ccfb58abc8732b1b2.jpg","text":"TemporaryFile(/tmp/multipartBody5275610077003353294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233542703,"filename":"image_01012026_02_40_15_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/132ea36486a04e6963721bfaf5acaab7.jpg","text":"TemporaryFile(/tmp/multipartBody3954101987191052148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233542703,"filename":"image_01012026_02_39_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f20545eb07788fc6a7d71c06c767edc6.jpg","text":"TemporaryFile(/tmp/multipartBody7947957729849642945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233542703,"filename":"image_01012026_02_39_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4a18800f24d803a9a25af9f82e948a0.jpg","text":"TemporaryFile(/tmp/multipartBody199223004419092510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233542703,"filename":"image_01012026_02_40_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/973af7467add18a1b7819d6bce768d75.jpg","text":"TemporaryFile(/tmp/multipartBody4027167379799390814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233542703,"filename":"image_01012026_02_39_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2133e5467ec1c5d5cba9d8b083816bbf.jpg","text":"TemporaryFile(/tmp/multipartBody4718206906408149492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233542703,"filename":"image_01012026_02_39_44_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978436","file1":"1401978434","file0":"1401978432","file4":"1401978440","file5":"1401978444","file3":"1401978438"},"map_files_photo_id_array":[{"photo_id":"1401978444","filename":"file5"},{"photo_id":"1401978436","filename":"file2"},{"photo_id":"1401978440","filename":"file4"},{"photo_id":"1401978434","filename":"file1"},{"photo_id":"1401978432","filename":"file0"},{"photo_id":"1401978438","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978444":["hashtag1","hashtag2"]},{"1401978438":["hashtag1","hashtag2"]},{"1401978432":["hashtag1","hashtag2"]},{"1401978440":["hashtag1","hashtag2"]},{"1401978434":["hashtag1","hashtag2"]},{"1401978436":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978444, 1401978438, 1401978432, 1401978440, 1401978434, 1401978436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.737632513046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:12:02.764527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_25_9642.jpg', '/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_34_9570.jpg', '/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_45_10776.jpg', '/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_55_9582.jpg', '/home/pi/Desktop/images/01012026/02/40/image_01012026_02_41_05_9907.jpg', '/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_14_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_25_9642.jpg
/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_34_9570.jpg
/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_45_10776.jpg
/home/pi/Desktop/images/01012026/02/40/image_01012026_02_40_55_9582.jpg
/home/pi/Desktop/images/01012026/02/40/image_01012026_02_41_05_9907.jpg
/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_14_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":["1401978447","1401978446","1401978449","1401978451","1401978448","1401978453"],"photo_ids_order":["1401978446","1401978447","1401978448","1401978449","1401978451","1401978453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80ee5e66c504c4099282379020066be5.jpg","text":"TemporaryFile(/tmp/multipartBody691783054712218747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233583390,"filename":"image_01012026_02_40_34_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34800974acb1f6dd7a01f15f3d19377b.jpg","text":"TemporaryFile(/tmp/multipartBody5265256680141203470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233583390,"filename":"image_01012026_02_40_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91cfa7d892e855fa9999c1d91bace791.jpg","text":"TemporaryFile(/tmp/multipartBody2348225784857120562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233583390,"filename":"image_01012026_02_40_55_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d73412d9b90a157779e9c895d586149d.jpg","text":"TemporaryFile(/tmp/multipartBody4955772003902838876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233583390,"filename":"image_01012026_02_41_05_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5127f0dc54e301cec61e0cd0617d87e5.jpg","text":"TemporaryFile(/tmp/multipartBody7940017573121378840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233583390,"filename":"image_01012026_02_40_45_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef5944e1432240448ad19476cf9a03d9.jpg","text":"TemporaryFile(/tmp/multipartBody787403939815012114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233583390,"filename":"image_01012026_02_41_14_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978448","file1":"1401978447","file0":"1401978446","file4":"1401978451","file5":"1401978453","file3":"1401978449"},"map_files_photo_id_array":[{"photo_id":"1401978453","filename":"file5"},{"photo_id":"1401978448","filename":"file2"},{"photo_id":"1401978451","filename":"file4"},{"photo_id":"1401978447","filename":"file1"},{"photo_id":"1401978446","filename":"file0"},{"photo_id":"1401978449","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978447":["hashtag1","hashtag2"]},{"1401978446":["hashtag1","hashtag2"]},{"1401978449":["hashtag1","hashtag2"]},{"1401978451":["hashtag1","hashtag2"]},{"1401978448":["hashtag1","hashtag2"]},{"1401978453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978447, 1401978446, 1401978449, 1401978451, 1401978448, 1401978453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.370935678482056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:12:42.263116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_54_2608.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_01_2697.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_10_2711.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_12_2744.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_16_3768.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_36_1536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/12/image_03112025_22_12_54_2608.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_01_2697.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_10_2711.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_12_2744.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_16_3768.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_36_1536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978462","1401978464","1401978461","1401978458","1401978463","1401978460"],"photo_ids_order":["1401978458","1401978460","1401978461","1401978462","1401978463","1401978464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff9aad81a52dc490b4c2c7cfd04c7189.jpg","text":"TemporaryFile(/tmp/multipartBody6559314035666807562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233624042,"filename":"image_03112025_22_13_12_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d3128939152408b61ead852e809cb41.jpg","text":"TemporaryFile(/tmp/multipartBody3668236883486807849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233624042,"filename":"image_03112025_22_13_36_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4267733214cf3f247426ab26e5205df4.jpg","text":"TemporaryFile(/tmp/multipartBody6328704794953775275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233624042,"filename":"image_03112025_22_13_10_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea16862a28226101894deb243461d120.jpg","text":"TemporaryFile(/tmp/multipartBody7466921541594436814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233624042,"filename":"image_03112025_22_12_54_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b08898916a3c330ba8ce6e42a4a87c46.jpg","text":"TemporaryFile(/tmp/multipartBody8831352567212157682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233624042,"filename":"image_03112025_22_13_16_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d9d6303ec001f30a7167720e27e90f4.jpg","text":"TemporaryFile(/tmp/multipartBody3089917054826367595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233624042,"filename":"image_03112025_22_13_01_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978461","file1":"1401978460","file0":"1401978458","file4":"1401978463","file5":"1401978464","file3":"1401978462"},"map_files_photo_id_array":[{"photo_id":"1401978464","filename":"file5"},{"photo_id":"1401978461","filename":"file2"},{"photo_id":"1401978463","filename":"file4"},{"photo_id":"1401978460","filename":"file1"},{"photo_id":"1401978458","filename":"file0"},{"photo_id":"1401978462","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978462":["hashtag1","hashtag2"]},{"1401978464":["hashtag1","hashtag2"]},{"1401978461":["hashtag1","hashtag2"]},{"1401978458":["hashtag1","hashtag2"]},{"1401978463":["hashtag1","hashtag2"]},{"1401978460":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978462, 1401978464, 1401978461, 1401978458, 1401978463, 1401978460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.09067392349243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:13:22.443849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_24_9919.jpg', '/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_35_10607.jpg', '/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_44_9670.jpg', '/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_54_9677.jpg', '/home/pi/Desktop/images/01012026/02/41/image_01012026_02_42_05_10668.jpg', '/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_14_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_24_9919.jpg
/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_35_10607.jpg
/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_44_9670.jpg
/home/pi/Desktop/images/01012026/02/41/image_01012026_02_41_54_9677.jpg
/home/pi/Desktop/images/01012026/02/41/image_01012026_02_42_05_10668.jpg
/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_14_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":["1401978477","1401978470","1401978473","1401978475","1401978466","1401978468"],"photo_ids_order":["1401978466","1401978468","1401978470","1401978473","1401978475","1401978477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12a8538531f667647d9b37f6943aee9b.jpg","text":"TemporaryFile(/tmp/multipartBody4763090739358003985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233663075,"filename":"image_01012026_02_42_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb22379da02c68fcbd24a44b756aef87.jpg","text":"TemporaryFile(/tmp/multipartBody5062823660713496308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233663075,"filename":"image_01012026_02_41_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9739b44061b15415c15838034fb7a27.jpg","text":"TemporaryFile(/tmp/multipartBody8504977820287417262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233663075,"filename":"image_01012026_02_41_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e503e99adcb59e07404765ffa92f8ce1.jpg","text":"TemporaryFile(/tmp/multipartBody9201559536899375745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233663075,"filename":"image_01012026_02_42_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bd7808e3fee5ded843e042052f61334.jpg","text":"TemporaryFile(/tmp/multipartBody5537268314721794851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233663075,"filename":"image_01012026_02_41_24_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcaf4cce33e81f334ca1d6f78ca1daf6.jpg","text":"TemporaryFile(/tmp/multipartBody5857976667307754461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233663075,"filename":"image_01012026_02_41_35_10607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978470","file1":"1401978468","file0":"1401978466","file4":"1401978475","file5":"1401978477","file3":"1401978473"},"map_files_photo_id_array":[{"photo_id":"1401978477","filename":"file5"},{"photo_id":"1401978470","filename":"file2"},{"photo_id":"1401978475","filename":"file4"},{"photo_id":"1401978468","filename":"file1"},{"photo_id":"1401978466","filename":"file0"},{"photo_id":"1401978473","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978477":["hashtag1","hashtag2"]},{"1401978470":["hashtag1","hashtag2"]},{"1401978473":["hashtag1","hashtag2"]},{"1401978475":["hashtag1","hashtag2"]},{"1401978466":["hashtag1","hashtag2"]},{"1401978468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978477, 1401978470, 1401978473, 1401978475, 1401978466, 1401978468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69301891326904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:14:03.408637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_24_9713.jpg', '/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_35_10606.jpg', '/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_44_9649.jpg', '/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_54_9638.jpg', '/home/pi/Desktop/images/01012026/02/42/image_01012026_02_43_05_10624.jpg', '/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_25_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_24_9713.jpg
/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_35_10606.jpg
/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_44_9649.jpg
/home/pi/Desktop/images/01012026/02/42/image_01012026_02_42_54_9638.jpg
/home/pi/Desktop/images/01012026/02/42/image_01012026_02_43_05_10624.jpg
/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_25_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":["1401978483","1401978482","1401978485","1401978479","1401978481","1401978478"],"photo_ids_order":["1401978478","1401978479","1401978481","1401978482","1401978483","1401978485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/877939a9281bbeec5f4eb20c946ede9a.jpg","text":"TemporaryFile(/tmp/multipartBody916869807932155450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233704098,"filename":"image_01012026_02_43_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/124e32051df9f191b0f4acdfddb52140.jpg","text":"TemporaryFile(/tmp/multipartBody8264476361022971732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233704098,"filename":"image_01012026_02_42_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6ffa20ca725a8a8dd26897516067f59.jpg","text":"TemporaryFile(/tmp/multipartBody877468263286560406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233704098,"filename":"image_01012026_02_43_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2060cd7bbadd9cc49ce5a5837c2445a0.jpg","text":"TemporaryFile(/tmp/multipartBody5585399963532278612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233704098,"filename":"image_01012026_02_42_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec602279ef9054a0a6eb39865525c1ae.jpg","text":"TemporaryFile(/tmp/multipartBody6556587031915561137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233704098,"filename":"image_01012026_02_42_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/763e2b3c5af65770a5038ce70ce52971.jpg","text":"TemporaryFile(/tmp/multipartBody3728023472357637709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233704098,"filename":"image_01012026_02_42_24_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978481","file1":"1401978479","file0":"1401978478","file4":"1401978483","file5":"1401978485","file3":"1401978482"},"map_files_photo_id_array":[{"photo_id":"1401978485","filename":"file5"},{"photo_id":"1401978481","filename":"file2"},{"photo_id":"1401978483","filename":"file4"},{"photo_id":"1401978479","filename":"file1"},{"photo_id":"1401978478","filename":"file0"},{"photo_id":"1401978482","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978483":["hashtag1","hashtag2"]},{"1401978482":["hashtag1","hashtag2"]},{"1401978485":["hashtag1","hashtag2"]},{"1401978479":["hashtag1","hashtag2"]},{"1401978481":["hashtag1","hashtag2"]},{"1401978478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978483, 1401978482, 1401978485, 1401978479, 1401978481, 1401978478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8688588142395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:14:42.584686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_38_1712.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_39_1640.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_43_3759.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_46_2640.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_48_2632.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_52_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_38_1712.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_39_1640.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_43_3759.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_46_2640.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_48_2632.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_52_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978497","1401978493","1401978496","1401978499","1401978498","1401978495"],"photo_ids_order":["1401978493","1401978495","1401978496","1401978497","1401978498","1401978499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96cc7ea72e891cafa665e4e7f18fddf1.jpg","text":"TemporaryFile(/tmp/multipartBody672275778606997203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233744235,"filename":"image_03112025_22_13_46_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8b4c32005103f1e3730da8991cedc01.jpg","text":"TemporaryFile(/tmp/multipartBody5157996585131481741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233744235,"filename":"image_03112025_22_13_38_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddb838390685dd415e0f2b23e01cfe60.jpg","text":"TemporaryFile(/tmp/multipartBody2631794485538652636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233744235,"filename":"image_03112025_22_13_43_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a1527292c8490be86717aee13415929.jpg","text":"TemporaryFile(/tmp/multipartBody8165558446401316787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233744235,"filename":"image_03112025_22_13_52_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be5b63feaa9c2b5d5e9d34f7088ec811.jpg","text":"TemporaryFile(/tmp/multipartBody6714385804292675244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233744235,"filename":"image_03112025_22_13_48_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ed3056df7de4035c01baf150494a3e0.jpg","text":"TemporaryFile(/tmp/multipartBody6006596405471816473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233744235,"filename":"image_03112025_22_13_39_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978496","file1":"1401978495","file0":"1401978493","file4":"1401978498","file5":"1401978499","file3":"1401978497"},"map_files_photo_id_array":[{"photo_id":"1401978499","filename":"file5"},{"photo_id":"1401978496","filename":"file2"},{"photo_id":"1401978498","filename":"file4"},{"photo_id":"1401978495","filename":"file1"},{"photo_id":"1401978493","filename":"file0"},{"photo_id":"1401978497","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978497":["hashtag1","hashtag2"]},{"1401978493":["hashtag1","hashtag2"]},{"1401978496":["hashtag1","hashtag2"]},{"1401978499":["hashtag1","hashtag2"]},{"1401978498":["hashtag1","hashtag2"]},{"1401978495":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978497, 1401978493, 1401978496, 1401978499, 1401978498, 1401978495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.161906242370605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:15:31.892560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_55_2971.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_58_2804.jpg', '/home/pi/Desktop/images/03112025/22/13/image_03112025_22_14_00_2645.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_04_3650.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_07_2557.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_09_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_55_2971.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_13_58_2804.jpg
/home/pi/Desktop/images/03112025/22/13/image_03112025_22_14_00_2645.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_04_3650.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_07_2557.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_09_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":["1401978510","1401978507","1401978509","1401978503","1401978511","1401978505"],"photo_ids_order":["1401978503","1401978505","1401978507","1401978509","1401978510","1401978511"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc7c14efdf62990206583ddd5ad808e5.jpg","text":"TemporaryFile(/tmp/multipartBody1463106976768629264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233793640,"filename":"image_03112025_22_14_07_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c2a4e8d5fc98fab6d01848508c415c0.jpg","text":"TemporaryFile(/tmp/multipartBody3598849898973257551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233793640,"filename":"image_03112025_22_14_00_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/400be899a83b80ce0de9c3f8a8d5a2db.jpg","text":"TemporaryFile(/tmp/multipartBody2436396213985618538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233793640,"filename":"image_03112025_22_14_04_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3edaf95a5180649964cc02212c1951c0.jpg","text":"TemporaryFile(/tmp/multipartBody21751928306099946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233793640,"filename":"image_03112025_22_13_55_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7404c377f0d6cd29ebac73c3d027ca25.jpg","text":"TemporaryFile(/tmp/multipartBody6342058336433886552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233793640,"filename":"image_03112025_22_14_09_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f98759e810e4c959d5f43a66f61f865e.jpg","text":"TemporaryFile(/tmp/multipartBody6142378402531250166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233793640,"filename":"image_03112025_22_13_58_2804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978507","file1":"1401978505","file0":"1401978503","file4":"1401978510","file5":"1401978511","file3":"1401978509"},"map_files_photo_id_array":[{"photo_id":"1401978511","filename":"file5"},{"photo_id":"1401978507","filename":"file2"},{"photo_id":"1401978510","filename":"file4"},{"photo_id":"1401978505","filename":"file1"},{"photo_id":"1401978503","filename":"file0"},{"photo_id":"1401978509","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978510":["hashtag1","hashtag2"]},{"1401978507":["hashtag1","hashtag2"]},{"1401978509":["hashtag1","hashtag2"]},{"1401978503":["hashtag1","hashtag2"]},{"1401978511":["hashtag1","hashtag2"]},{"1401978505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978510, 1401978507, 1401978509, 1401978503, 1401978511, 1401978505)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.29533886909485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:16:22.632055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_35_9609.jpg', '/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_44_9708.jpg', '/home/pi/Desktop/images/01012026/02/43/image_01012026_02_44_05_9773.jpg', '/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_15_9813.jpg', '/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_24_9543.jpg', '/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_35_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_35_9609.jpg
/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_44_9708.jpg
/home/pi/Desktop/images/01012026/02/43/image_01012026_02_44_05_9773.jpg
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_15_9813.jpg
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_24_9543.jpg
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_35_10612.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.518028974533081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:16:34.507045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_13_3561.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_15_2698.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_18_2642.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_24_2668.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_36_2592.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_40_3500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_13_3561.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_15_2698.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_18_2642.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_24_2668.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_36_2592.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_40_3500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978519","1401978528","1401978527","1401978521","1401978524","1401978526"],"photo_ids_order":["1401978519","1401978521","1401978524","1401978526","1401978527","1401978528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16b9ccb66af5c7f79f652789a11871a5.jpg","text":"TemporaryFile(/tmp/multipartBody5979367301909295598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233856259,"filename":"image_03112025_22_14_13_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/419ec02fb7a7363dfae56038c664f2ed.jpg","text":"TemporaryFile(/tmp/multipartBody1258396522963842753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233856259,"filename":"image_03112025_22_14_40_3500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/703889128c7e4b9cddeaa1a73c772ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2916468020845228697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233856259,"filename":"image_03112025_22_14_36_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13ce361bbe327cde37cb6cedda6f8353.jpg","text":"TemporaryFile(/tmp/multipartBody2080494943410102276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233856259,"filename":"image_03112025_22_14_15_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/847936a8b9f4007e9ff4cc76541d9f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3439564118143256694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233856259,"filename":"image_03112025_22_14_18_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13b8b31a9cb6d239b042c02f9ead7728.jpg","text":"TemporaryFile(/tmp/multipartBody6382862961471115595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233856259,"filename":"image_03112025_22_14_24_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978524","file1":"1401978521","file0":"1401978519","file4":"1401978527","file5":"1401978528","file3":"1401978526"},"map_files_photo_id_array":[{"photo_id":"1401978528","filename":"file5"},{"photo_id":"1401978524","filename":"file2"},{"photo_id":"1401978527","filename":"file4"},{"photo_id":"1401978521","filename":"file1"},{"photo_id":"1401978519","filename":"file0"},{"photo_id":"1401978526","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978519":["hashtag1","hashtag2"]},{"1401978528":["hashtag1","hashtag2"]},{"1401978527":["hashtag1","hashtag2"]},{"1401978521":["hashtag1","hashtag2"]},{"1401978524":["hashtag1","hashtag2"]},{"1401978526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978519, 1401978528, 1401978527, 1401978521, 1401978524, 1401978526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7024028301239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:17:12.350205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_46_3691.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_49_2733.jpg', '/home/pi/Desktop/images/03112025/22/14/image_03112025_22_15_00_2737.jpg', '/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_11_3592.jpg', '/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_13_2588.jpg', '/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_22_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/22/14/image_03112025_22_14_46_3691.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_14_49_2733.jpg
/home/pi/Desktop/images/03112025/22/14/image_03112025_22_15_00_2737.jpg
/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_11_3592.jpg
/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_13_2588.jpg
/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_22_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":["1401978534","1401978537","1401978536","1401978530","1401978532","1401978529"],"photo_ids_order":["1401978529","1401978530","1401978532","1401978534","1401978536","1401978537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/875a45b9fcc91ff335a9038561f6f45e.jpg","text":"TemporaryFile(/tmp/multipartBody8161497011181528350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233893974,"filename":"image_03112025_22_15_11_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4a088e926116662b5c6ad0d4195da8b.jpg","text":"TemporaryFile(/tmp/multipartBody1616533689822912298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233893974,"filename":"image_03112025_22_15_22_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcb6761f75300c2246dee488d774ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody1876477343077712383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233893974,"filename":"image_03112025_22_15_13_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/033f78539be4a333a9ac3ac37628f098.jpg","text":"TemporaryFile(/tmp/multipartBody1450840838960733216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233893974,"filename":"image_03112025_22_14_49_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23bbbb093bb6774a7192bac3d0f46a17.jpg","text":"TemporaryFile(/tmp/multipartBody679929986806231057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233893974,"filename":"image_03112025_22_15_00_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfc279a05686d1513f02e6c53b0af5b0.jpg","text":"TemporaryFile(/tmp/multipartBody7594383355233199241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233893974,"filename":"image_03112025_22_14_46_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978532","file1":"1401978530","file0":"1401978529","file4":"1401978536","file5":"1401978537","file3":"1401978534"},"map_files_photo_id_array":[{"photo_id":"1401978537","filename":"file5"},{"photo_id":"1401978532","filename":"file2"},{"photo_id":"1401978536","filename":"file4"},{"photo_id":"1401978530","filename":"file1"},{"photo_id":"1401978529","filename":"file0"},{"photo_id":"1401978534","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978534":["hashtag1","hashtag2"]},{"1401978537":["hashtag1","hashtag2"]},{"1401978536":["hashtag1","hashtag2"]},{"1401978530":["hashtag1","hashtag2"]},{"1401978532":["hashtag1","hashtag2"]},{"1401978529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978534, 1401978537, 1401978536, 1401978530, 1401978532, 1401978529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0069465637207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:18:02.869658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_35_9609.jpg', '/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_44_9708.jpg', '/home/pi/Desktop/images/01012026/02/43/image_01012026_02_44_05_9773.jpg', '/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_15_9813.jpg', '/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_24_9543.jpg', '/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_35_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_35_9609.jpg
/home/pi/Desktop/images/01012026/02/43/image_01012026_02_43_44_9708.jpg
/home/pi/Desktop/images/01012026/02/43/image_01012026_02_44_05_9773.jpg
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_15_9813.jpg
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_24_9543.jpg
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_35_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978543","1401978545","1401978542","1401978544","1401978547","1401978541"],"photo_ids_order":["1401978541","1401978542","1401978543","1401978544","1401978545","1401978547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c46a400fb7c9132dbbad08c7f0c9a3e2.jpg","text":"TemporaryFile(/tmp/multipartBody9159818457044327502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233943493,"filename":"image_01012026_02_44_05_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a9b951f9c63827cfecd3c9dd2d02ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2926303562451132331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233943493,"filename":"image_01012026_02_44_24_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e3efb2259b746d1738f4479a17a78be.jpg","text":"TemporaryFile(/tmp/multipartBody2919721008651957695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233943493,"filename":"image_01012026_02_43_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23092debae2c666f5e4baa96aec79b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7814459894122272475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233943493,"filename":"image_01012026_02_44_15_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ebc10115f1eaa6e7cf2e181a6e96b2f.jpg","text":"TemporaryFile(/tmp/multipartBody7626329160087887479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233943493,"filename":"image_01012026_02_44_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dba73eeca38b1191f6f0b23603e10001.jpg","text":"TemporaryFile(/tmp/multipartBody8280208635103361874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233943493,"filename":"image_01012026_02_43_35_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978543","file1":"1401978542","file0":"1401978541","file4":"1401978545","file5":"1401978547","file3":"1401978544"},"map_files_photo_id_array":[{"photo_id":"1401978547","filename":"file5"},{"photo_id":"1401978543","filename":"file2"},{"photo_id":"1401978545","filename":"file4"},{"photo_id":"1401978542","filename":"file1"},{"photo_id":"1401978541","filename":"file0"},{"photo_id":"1401978544","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978543":["hashtag1","hashtag2"]},{"1401978545":["hashtag1","hashtag2"]},{"1401978542":["hashtag1","hashtag2"]},{"1401978544":["hashtag1","hashtag2"]},{"1401978547":["hashtag1","hashtag2"]},{"1401978541":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978543, 1401978545, 1401978542, 1401978544, 1401978547, 1401978541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.422252893447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:18:42.475800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_37_10878.jpg', '/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_38_1688.jpg', '/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_42_1541.jpg', '/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_43_1618.jpg', '/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_31_2814.jpg', '/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_34_3506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_37_10878.jpg
/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_38_1688.jpg
/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_42_1541.jpg
/home/pi/Desktop/images/03112025/22/15/image_03112025_22_15_43_1618.jpg
/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_31_2814.jpg
/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_34_3506.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":["1401978555","1401978558","1401978554","1401978557","1401978556","1401978552"],"photo_ids_order":["1401978552","1401978554","1401978555","1401978556","1401978557","1401978558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/160ceca08a98ea987922bc00a6694b72.jpg","text":"TemporaryFile(/tmp/multipartBody8852720023742628681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233984249,"filename":"image_03112025_22_15_42_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45e52c46580c1c443c3f051e10cbca6f.jpg","text":"TemporaryFile(/tmp/multipartBody5152745761819510204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233984249,"filename":"image_03112025_22_16_34_3506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9637283fd8bb5f611a30f0bdb3abc4f8.jpg","text":"TemporaryFile(/tmp/multipartBody3280773194915030131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233984249,"filename":"image_03112025_22_15_38_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0a49ecd9deccbe0ca7b494422f21ce4.jpg","text":"TemporaryFile(/tmp/multipartBody350637758201378494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233984249,"filename":"image_03112025_22_16_31_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d4214accb2602484e7a4189d06374bc.jpg","text":"TemporaryFile(/tmp/multipartBody5323364064767763950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233984249,"filename":"image_03112025_22_15_43_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7e51bb2f715c01e6fbeb0cca7d4fb7e.jpg","text":"TemporaryFile(/tmp/multipartBody5953475492101985075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767233984249,"filename":"image_03112025_22_15_37_10878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978555","file1":"1401978554","file0":"1401978552","file4":"1401978557","file5":"1401978558","file3":"1401978556"},"map_files_photo_id_array":[{"photo_id":"1401978558","filename":"file5"},{"photo_id":"1401978555","filename":"file2"},{"photo_id":"1401978557","filename":"file4"},{"photo_id":"1401978554","filename":"file1"},{"photo_id":"1401978552","filename":"file0"},{"photo_id":"1401978556","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978555":["hashtag1","hashtag2"]},{"1401978558":["hashtag1","hashtag2"]},{"1401978554":["hashtag1","hashtag2"]},{"1401978557":["hashtag1","hashtag2"]},{"1401978556":["hashtag1","hashtag2"]},{"1401978552":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978555, 1401978558, 1401978554, 1401978557, 1401978556, 1401978552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96828007698059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:19:33.878901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_45_4541.jpg', '/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_47_1639.jpg', '/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_49_2556.jpg', '/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_52_2778.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_04_2615.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_08_3700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_45_4541.jpg
/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_47_1639.jpg
/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_49_2556.jpg
/home/pi/Desktop/images/03112025/22/16/image_03112025_22_16_52_2778.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_04_2615.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_08_3700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978564","1401978566","1401978569","1401978568","1401978562","1401978570"],"photo_ids_order":["1401978562","1401978564","1401978566","1401978568","1401978569","1401978570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29611598812638a61cd5e77b1855750a.jpg","text":"TemporaryFile(/tmp/multipartBody5819679214235751388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234035647,"filename":"image_03112025_22_16_47_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55e0143d1b4b7fdb32f9d874b9e11bca.jpg","text":"TemporaryFile(/tmp/multipartBody7364980312231823213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234035647,"filename":"image_03112025_22_16_49_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17fd92aab2b2e097f7d7378bd6057a36.jpg","text":"TemporaryFile(/tmp/multipartBody2625798920999244167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234035647,"filename":"image_03112025_22_17_04_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c877885ed202c503eb65267d5c744f55.jpg","text":"TemporaryFile(/tmp/multipartBody8744752029308616852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234035647,"filename":"image_03112025_22_16_52_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f77eb6f5b2c57e77bc1a4a9a8d4852d.jpg","text":"TemporaryFile(/tmp/multipartBody3385091293864660103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234035647,"filename":"image_03112025_22_16_45_4541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50e5e76a5703c06fbb13644851d3214b.jpg","text":"TemporaryFile(/tmp/multipartBody7521358927259329036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234035647,"filename":"image_03112025_22_17_08_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978566","file1":"1401978564","file0":"1401978562","file4":"1401978569","file5":"1401978570","file3":"1401978568"},"map_files_photo_id_array":[{"photo_id":"1401978570","filename":"file5"},{"photo_id":"1401978566","filename":"file2"},{"photo_id":"1401978569","filename":"file4"},{"photo_id":"1401978564","filename":"file1"},{"photo_id":"1401978562","filename":"file0"},{"photo_id":"1401978568","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978564":["hashtag1","hashtag2"]},{"1401978566":["hashtag1","hashtag2"]},{"1401978569":["hashtag1","hashtag2"]},{"1401978568":["hashtag1","hashtag2"]},{"1401978562":["hashtag1","hashtag2"]},{"1401978570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978564, 1401978566, 1401978569, 1401978568, 1401978562, 1401978570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06216645240784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:20:12.803253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_16_3649.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_23_3680.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_25_2561.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_28_2758.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_32_3593.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_34_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/22/17/image_03112025_22_17_16_3649.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_23_3680.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_25_2561.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_28_2758.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_32_3593.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_34_2743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978576","1401978578","1401978572","1401978580","1401978574","1401978571"],"photo_ids_order":["1401978571","1401978572","1401978574","1401978576","1401978578","1401978580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9666d21ba951a30b450c041cb81bda0.jpg","text":"TemporaryFile(/tmp/multipartBody2531653454932020298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234074472,"filename":"image_03112025_22_17_28_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e08c4e5d33f7345ebabcafe050954127.jpg","text":"TemporaryFile(/tmp/multipartBody8615669295543355720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234074472,"filename":"image_03112025_22_17_32_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af2a779a5e491533bfaf3ade5e587d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4199624920921056248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234074472,"filename":"image_03112025_22_17_23_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87cbb33657baf285d562de43a0c28338.jpg","text":"TemporaryFile(/tmp/multipartBody8699699080564645316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234074472,"filename":"image_03112025_22_17_34_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/021cb05a7d55033a4c59e14328787cec.jpg","text":"TemporaryFile(/tmp/multipartBody5962496192240467270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234074472,"filename":"image_03112025_22_17_25_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b3570230edf0d7fd40d0523571663b3.jpg","text":"TemporaryFile(/tmp/multipartBody8130048541087303737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234074472,"filename":"image_03112025_22_17_16_3649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978574","file1":"1401978572","file0":"1401978571","file4":"1401978578","file5":"1401978580","file3":"1401978576"},"map_files_photo_id_array":[{"photo_id":"1401978580","filename":"file5"},{"photo_id":"1401978574","filename":"file2"},{"photo_id":"1401978578","filename":"file4"},{"photo_id":"1401978572","filename":"file1"},{"photo_id":"1401978571","filename":"file0"},{"photo_id":"1401978576","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978576":["hashtag1","hashtag2"]},{"1401978578":["hashtag1","hashtag2"]},{"1401978572":["hashtag1","hashtag2"]},{"1401978580":["hashtag1","hashtag2"]},{"1401978574":["hashtag1","hashtag2"]},{"1401978571":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978576, 1401978578, 1401978572, 1401978580, 1401978574, 1401978571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04025053977966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:21:02.791429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_44_9692.jpg', '/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_54_9706.jpg', '/home/pi/Desktop/images/01012026/02/44/image_01012026_02_45_05_10697.jpg', '/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_15_9624.jpg', '/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_24_9755.jpg', '/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_35_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_44_9692.jpg
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_44_54_9706.jpg
/home/pi/Desktop/images/01012026/02/44/image_01012026_02_45_05_10697.jpg
/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_15_9624.jpg
/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_24_9755.jpg
/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_35_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":["1401978590","1401978584","1401978587","1401978586","1401978585","1401978588"],"photo_ids_order":["1401978584","1401978585","1401978586","1401978587","1401978588","1401978590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52a011f2163755bbaffe9bbbbe3cc23e.jpg","text":"TemporaryFile(/tmp/multipartBody2310860969646783952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234123450,"filename":"image_01012026_02_45_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d3339bd43c96b6ed4fefe52526d1884.jpg","text":"TemporaryFile(/tmp/multipartBody1985813297791873954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234123450,"filename":"image_01012026_02_44_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12cd3b94ed88946de30882a250442154.jpg","text":"TemporaryFile(/tmp/multipartBody6278377395238179547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234123450,"filename":"image_01012026_02_45_15_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eeeff2469693dcf68f54a8da3c85c2a3.jpg","text":"TemporaryFile(/tmp/multipartBody8840423915255824246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234123450,"filename":"image_01012026_02_45_05_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5f588c0479e6234917af7012af0de1f.jpg","text":"TemporaryFile(/tmp/multipartBody2154418366721797107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234123450,"filename":"image_01012026_02_44_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a25a09498c2a0a7904b7eb1a0fbd723.jpg","text":"TemporaryFile(/tmp/multipartBody5817336700220538253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234123450,"filename":"image_01012026_02_45_24_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978586","file1":"1401978585","file0":"1401978584","file4":"1401978588","file5":"1401978590","file3":"1401978587"},"map_files_photo_id_array":[{"photo_id":"1401978590","filename":"file5"},{"photo_id":"1401978586","filename":"file2"},{"photo_id":"1401978588","filename":"file4"},{"photo_id":"1401978585","filename":"file1"},{"photo_id":"1401978584","filename":"file0"},{"photo_id":"1401978587","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978590":["hashtag1","hashtag2"]},{"1401978584":["hashtag1","hashtag2"]},{"1401978587":["hashtag1","hashtag2"]},{"1401978586":["hashtag1","hashtag2"]},{"1401978585":["hashtag1","hashtag2"]},{"1401978588":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978590, 1401978584, 1401978587, 1401978586, 1401978585, 1401978588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54174780845642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:21:42.018531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_39_4338.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_40_1659.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_43_2704.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_47_3619.jpg', '/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_49_2605.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_01_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/22/17/image_03112025_22_17_39_4338.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_40_1659.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_43_2704.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_47_3619.jpg
/home/pi/Desktop/images/03112025/22/17/image_03112025_22_17_49_2605.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_01_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":["1401978600","1401978599","1401978595","1401978598","1401978597","1401978601"],"photo_ids_order":["1401978595","1401978597","1401978598","1401978599","1401978600","1401978601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/570142d7abd83087a6391096f3cdfa69.jpg","text":"TemporaryFile(/tmp/multipartBody3584137969866115714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234163783,"filename":"image_03112025_22_17_49_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfd0e823b19bcc03cd6ad8722b708436.jpg","text":"TemporaryFile(/tmp/multipartBody8315356540035837600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234163783,"filename":"image_03112025_22_17_47_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5af633632cdf549b1c5c966f09467845.jpg","text":"TemporaryFile(/tmp/multipartBody3555026902181845640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234163783,"filename":"image_03112025_22_17_39_4338.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a2d3ecef9fbd4997a6bcc574dbba010.jpg","text":"TemporaryFile(/tmp/multipartBody5715807134737582953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234163783,"filename":"image_03112025_22_17_43_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e57690c8699914ad8d357211a493d8b.jpg","text":"TemporaryFile(/tmp/multipartBody5832114618525614365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234163783,"filename":"image_03112025_22_17_40_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73d896a95847a286de3a24a06e446091.jpg","text":"TemporaryFile(/tmp/multipartBody4747806241588033366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234163783,"filename":"image_03112025_22_18_01_2643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978598","file1":"1401978597","file0":"1401978595","file4":"1401978600","file5":"1401978601","file3":"1401978599"},"map_files_photo_id_array":[{"photo_id":"1401978601","filename":"file5"},{"photo_id":"1401978598","filename":"file2"},{"photo_id":"1401978600","filename":"file4"},{"photo_id":"1401978597","filename":"file1"},{"photo_id":"1401978595","filename":"file0"},{"photo_id":"1401978599","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978600":["hashtag1","hashtag2"]},{"1401978599":["hashtag1","hashtag2"]},{"1401978595":["hashtag1","hashtag2"]},{"1401978598":["hashtag1","hashtag2"]},{"1401978597":["hashtag1","hashtag2"]},{"1401978601":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978600, 1401978599, 1401978595, 1401978598, 1401978597, 1401978601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40610337257385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:22:22.218894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_45_9708.jpg', '/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_54_9734.jpg', '/home/pi/Desktop/images/01012026/02/45/image_01012026_02_46_04_9726.jpg', '/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_15_10685.jpg', '/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_25_9756.jpg', '/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_34_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_45_9708.jpg
/home/pi/Desktop/images/01012026/02/45/image_01012026_02_45_54_9734.jpg
/home/pi/Desktop/images/01012026/02/45/image_01012026_02_46_04_9726.jpg
/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_15_10685.jpg
/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_25_9756.jpg
/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_34_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":["1401978603","1401978609","1401978611","1401978605","1401978613","1401978607"],"photo_ids_order":["1401978603","1401978605","1401978607","1401978609","1401978611","1401978613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfeac74a4d7f5b2ac5451f702c5f0a67.jpg","text":"TemporaryFile(/tmp/multipartBody842303503228829077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234202813,"filename":"image_01012026_02_45_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56a182fa48a925259435aeac18662258.jpg","text":"TemporaryFile(/tmp/multipartBody2815250455467053721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234202813,"filename":"image_01012026_02_46_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f48678491f6afa7d5c104f31c0af713c.jpg","text":"TemporaryFile(/tmp/multipartBody5483252006020833129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234202813,"filename":"image_01012026_02_46_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82bfe15ccfe99c324b4b2bd90c92dd9a.jpg","text":"TemporaryFile(/tmp/multipartBody367470059774916856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234202813,"filename":"image_01012026_02_45_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df22d89e38b5570430356b6d9439ae03.jpg","text":"TemporaryFile(/tmp/multipartBody9221742453287042563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234202813,"filename":"image_01012026_02_46_34_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e54e58efbabe621afa2b1572dc94e1c9.jpg","text":"TemporaryFile(/tmp/multipartBody3764082565034433399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234202813,"filename":"image_01012026_02_46_04_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978607","file1":"1401978605","file0":"1401978603","file4":"1401978611","file5":"1401978613","file3":"1401978609"},"map_files_photo_id_array":[{"photo_id":"1401978613","filename":"file5"},{"photo_id":"1401978607","filename":"file2"},{"photo_id":"1401978611","filename":"file4"},{"photo_id":"1401978605","filename":"file1"},{"photo_id":"1401978603","filename":"file0"},{"photo_id":"1401978609","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978603":["hashtag1","hashtag2"]},{"1401978609":["hashtag1","hashtag2"]},{"1401978611":["hashtag1","hashtag2"]},{"1401978605":["hashtag1","hashtag2"]},{"1401978613":["hashtag1","hashtag2"]},{"1401978607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978603, 1401978609, 1401978611, 1401978605, 1401978613, 1401978607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59855079650879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:23:02.968168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 03:23:12.399760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_04_2732.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_07_3597.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_15_4650.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_31_12239.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_34_1555.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_41_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/22/18/image_03112025_22_18_04_2732.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_07_3597.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_15_4650.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_31_12239.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_34_1555.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_41_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978615","1401978624","1401978618","1401978620","1401978622","1401978616"],"photo_ids_order":["1401978615","1401978616","1401978618","1401978620","1401978622","1401978624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a25d17ece5fb150d3746fffbd0878ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5274849081005392300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234254082,"filename":"image_03112025_22_18_04_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95784163c9e7fb2447997cc249456fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8679545567262424370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234254082,"filename":"image_03112025_22_18_41_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b69dd8aae4b326e3f93a23b902f93790.jpg","text":"TemporaryFile(/tmp/multipartBody4395802019761804536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234254082,"filename":"image_03112025_22_18_15_4650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed922d2e5f9ec315516a2d790c6e1046.jpg","text":"TemporaryFile(/tmp/multipartBody235313691514882536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234254082,"filename":"image_03112025_22_18_31_12239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aeb9f6a6492497af6af78e4d94db36b0.jpg","text":"TemporaryFile(/tmp/multipartBody2084518338886008938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234254082,"filename":"image_03112025_22_18_34_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0398128e32cd88546f81634c537aee3.jpg","text":"TemporaryFile(/tmp/multipartBody8317794409394147281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234254082,"filename":"image_03112025_22_18_07_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978618","file1":"1401978616","file0":"1401978615","file4":"1401978622","file5":"1401978624","file3":"1401978620"},"map_files_photo_id_array":[{"photo_id":"1401978624","filename":"file5"},{"photo_id":"1401978618","filename":"file2"},{"photo_id":"1401978622","filename":"file4"},{"photo_id":"1401978616","filename":"file1"},{"photo_id":"1401978615","filename":"file0"},{"photo_id":"1401978620","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978615":["hashtag1","hashtag2"]},{"1401978624":["hashtag1","hashtag2"]},{"1401978618":["hashtag1","hashtag2"]},{"1401978620":["hashtag1","hashtag2"]},{"1401978622":["hashtag1","hashtag2"]},{"1401978616":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978615, 1401978624, 1401978618, 1401978620, 1401978622, 1401978616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.045488357543945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:24:03.332532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_45_10701.jpg', '/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_54_9588.jpg', '/home/pi/Desktop/images/01012026/02/46/image_01012026_02_47_05_10564.jpg', '/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_15_9716.jpg', '/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_24_9685.jpg', '/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_34_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_45_10701.jpg
/home/pi/Desktop/images/01012026/02/46/image_01012026_02_46_54_9588.jpg
/home/pi/Desktop/images/01012026/02/46/image_01012026_02_47_05_10564.jpg
/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_15_9716.jpg
/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_24_9685.jpg
/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_34_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1401978630","1401978627","1401978632","1401978626","1401978629","1401978628"],"photo_ids_order":["1401978626","1401978627","1401978628","1401978629","1401978630","1401978632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd9da0e618922e990e835320c1c0b31f.jpg","text":"TemporaryFile(/tmp/multipartBody403190252411911829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234303977,"filename":"image_01012026_02_47_24_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4391f9ad18dd4da8210b342c1fb4044e.jpg","text":"TemporaryFile(/tmp/multipartBody2014451376812861700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234303977,"filename":"image_01012026_02_46_54_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c56ec5a7ffa272fb75c980d8c533f546.jpg","text":"TemporaryFile(/tmp/multipartBody5739573070283623110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234303977,"filename":"image_01012026_02_47_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6746cff39580c2ab05d8c20545dc7ba.jpg","text":"TemporaryFile(/tmp/multipartBody2763970927016170049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234303977,"filename":"image_01012026_02_46_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/615e9f71ddb9cc9d6fcfdffc7510c951.jpg","text":"TemporaryFile(/tmp/multipartBody7665229572065078766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234303977,"filename":"image_01012026_02_47_15_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35e4c55b6d3837351084a68a3d579a16.jpg","text":"TemporaryFile(/tmp/multipartBody1603391501960296320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234303977,"filename":"image_01012026_02_47_05_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978628","file1":"1401978627","file0":"1401978626","file4":"1401978630","file5":"1401978632","file3":"1401978629"},"map_files_photo_id_array":[{"photo_id":"1401978632","filename":"file5"},{"photo_id":"1401978628","filename":"file2"},{"photo_id":"1401978630","filename":"file4"},{"photo_id":"1401978627","filename":"file1"},{"photo_id":"1401978626","filename":"file0"},{"photo_id":"1401978629","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978630":["hashtag1","hashtag2"]},{"1401978627":["hashtag1","hashtag2"]},{"1401978632":["hashtag1","hashtag2"]},{"1401978626":["hashtag1","hashtag2"]},{"1401978629":["hashtag1","hashtag2"]},{"1401978628":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978630, 1401978627, 1401978632, 1401978626, 1401978629, 1401978628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97522306442261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:25:04.227367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
 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
2026-01-01 03:25:23.557738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_45_10714.jpg', '/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_54_9629.jpg', '/home/pi/Desktop/images/01012026/02/47/image_01012026_02_48_04_9837.jpg', '/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_15_10568.jpg', '/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_25_9743.jpg', '/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_34_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_45_10714.jpg
/home/pi/Desktop/images/01012026/02/47/image_01012026_02_47_54_9629.jpg
/home/pi/Desktop/images/01012026/02/47/image_01012026_02_48_04_9837.jpg
/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_15_10568.jpg
/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_25_9743.jpg
/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_34_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978645","1401978639","1401978647","1401978641","1401978649","1401978643"],"photo_ids_order":["1401978639","1401978641","1401978643","1401978645","1401978647","1401978649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc81c62783ca0a2c2e2d80dcba1b149c.jpg","text":"TemporaryFile(/tmp/multipartBody585749693796540781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234384117,"filename":"image_01012026_02_48_15_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e677d3bbc3c078c6a4ddd8c6778835ea.jpg","text":"TemporaryFile(/tmp/multipartBody825077128497321623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234384117,"filename":"image_01012026_02_47_45_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64dbbe43a909a956f8aa24955a6f01cd.jpg","text":"TemporaryFile(/tmp/multipartBody4449375502460534672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234384117,"filename":"image_01012026_02_48_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ea7956452d49d022a2e6e5b05a7eecb.jpg","text":"TemporaryFile(/tmp/multipartBody5145335516641872870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234384117,"filename":"image_01012026_02_47_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7ccfc17db7de1e63a9ae38ee0bd8745.jpg","text":"TemporaryFile(/tmp/multipartBody142031665649172169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234384117,"filename":"image_01012026_02_48_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9337895f495eb6b711cc05effe01cbbb.jpg","text":"TemporaryFile(/tmp/multipartBody6460971233645375975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234384117,"filename":"image_01012026_02_48_04_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978643","file1":"1401978641","file0":"1401978639","file4":"1401978647","file5":"1401978649","file3":"1401978645"},"map_files_photo_id_array":[{"photo_id":"1401978649","filename":"file5"},{"photo_id":"1401978643","filename":"file2"},{"photo_id":"1401978647","filename":"file4"},{"photo_id":"1401978641","filename":"file1"},{"photo_id":"1401978639","filename":"file0"},{"photo_id":"1401978645","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978645":["hashtag1","hashtag2"]},{"1401978639":["hashtag1","hashtag2"]},{"1401978647":["hashtag1","hashtag2"]},{"1401978641":["hashtag1","hashtag2"]},{"1401978649":["hashtag1","hashtag2"]},{"1401978643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978645, 1401978639, 1401978647, 1401978641, 1401978649, 1401978643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48610329627991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:26:03.313586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_45_10601.jpg', '/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_54_9599.jpg', '/home/pi/Desktop/images/01012026/02/48/image_01012026_02_49_04_9568.jpg', '/home/pi/Desktop/images/01012026/02/49/image_01012026_02_49_15_10792.jpg', '/home/pi/Desktop/images/01012026/02/49/image_01012026_02_49_34_9681.jpg', '/home/pi/Desktop/images/01012026/02/49/image_01012026_02_49_45_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_45_10601.jpg
/home/pi/Desktop/images/01012026/02/48/image_01012026_02_48_54_9599.jpg
/home/pi/Desktop/images/01012026/02/48/image_01012026_02_49_04_9568.jpg
/home/pi/Desktop/images/01012026/02/49/image_01012026_02_49_15_10792.jpg
/home/pi/Desktop/images/01012026/02/49/image_01012026_02_49_34_9681.jpg
/home/pi/Desktop/images/01012026/02/49/image_01012026_02_49_45_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":["1401978654","1401978650","1401978656","1401978658","1401978652","1401978651"],"photo_ids_order":["1401978650","1401978651","1401978652","1401978654","1401978656","1401978658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d474f5a7d8c4b78696434c71661680a5.jpg","text":"TemporaryFile(/tmp/multipartBody2817020416158465212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234423952,"filename":"image_01012026_02_49_15_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9033b3058162a6368cd31572c2ef8530.jpg","text":"TemporaryFile(/tmp/multipartBody4160370489203846296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234423952,"filename":"image_01012026_02_48_45_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/440fb7f64a028f9931adf8a59f2bc944.jpg","text":"TemporaryFile(/tmp/multipartBody5806641406820980502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234423952,"filename":"image_01012026_02_49_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26753ceebef61935588f7a77fb127fe1.jpg","text":"TemporaryFile(/tmp/multipartBody2412703208430434797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234423952,"filename":"image_01012026_02_49_45_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc6e056463b60d15acd41b878b5c2af8.jpg","text":"TemporaryFile(/tmp/multipartBody4967027016219159363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234423952,"filename":"image_01012026_02_49_04_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb8b6edc199d202684c1f5ea77995785.jpg","text":"TemporaryFile(/tmp/multipartBody1631057562902618380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234423952,"filename":"image_01012026_02_48_54_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978652","file1":"1401978651","file0":"1401978650","file4":"1401978656","file5":"1401978658","file3":"1401978654"},"map_files_photo_id_array":[{"photo_id":"1401978658","filename":"file5"},{"photo_id":"1401978652","filename":"file2"},{"photo_id":"1401978656","filename":"file4"},{"photo_id":"1401978651","filename":"file1"},{"photo_id":"1401978650","filename":"file0"},{"photo_id":"1401978654","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978654":["hashtag1","hashtag2"]},{"1401978650":["hashtag1","hashtag2"]},{"1401978656":["hashtag1","hashtag2"]},{"1401978658":["hashtag1","hashtag2"]},{"1401978652":["hashtag1","hashtag2"]},{"1401978651":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978654, 1401978650, 1401978656, 1401978658, 1401978652, 1401978651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.703598976135254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:26:42.787154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_43_2723.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_46_2743.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_52_5702.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_53_1664.jpg', '/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_58_2758.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_04_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/22/18/image_03112025_22_18_43_2723.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_46_2743.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_52_5702.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_53_1664.jpg
/home/pi/Desktop/images/03112025/22/18/image_03112025_22_18_58_2758.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_04_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978669","1401978663","1401978665","1401978668","1401978667","1401978666"],"photo_ids_order":["1401978663","1401978665","1401978666","1401978667","1401978668","1401978669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4eadcfb72211c23bc5e6f90f0ad69670.jpg","text":"TemporaryFile(/tmp/multipartBody1831531904712540949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234464465,"filename":"image_03112025_22_19_04_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/410f95c32236cd8e181da3a9fc6807d5.jpg","text":"TemporaryFile(/tmp/multipartBody7924037997101194701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234464465,"filename":"image_03112025_22_18_43_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/246ef3373cb7d05d41a3527934ad9bbf.jpg","text":"TemporaryFile(/tmp/multipartBody246647773798716880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234464465,"filename":"image_03112025_22_18_46_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b41fb1de5aa7cecfdc04885dc51f6bc6.jpg","text":"TemporaryFile(/tmp/multipartBody181524349793231468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234464465,"filename":"image_03112025_22_18_58_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7969186c37ee625d09e5b366a5126347.jpg","text":"TemporaryFile(/tmp/multipartBody3098729681691381412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234464465,"filename":"image_03112025_22_18_53_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b26edeb24e8b26ba628e96219edb7474.jpg","text":"TemporaryFile(/tmp/multipartBody6266401015433355165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234464465,"filename":"image_03112025_22_18_52_5702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978666","file1":"1401978665","file0":"1401978663","file4":"1401978668","file5":"1401978669","file3":"1401978667"},"map_files_photo_id_array":[{"photo_id":"1401978669","filename":"file5"},{"photo_id":"1401978666","filename":"file2"},{"photo_id":"1401978668","filename":"file4"},{"photo_id":"1401978665","filename":"file1"},{"photo_id":"1401978663","filename":"file0"},{"photo_id":"1401978667","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978669":["hashtag1","hashtag2"]},{"1401978663":["hashtag1","hashtag2"]},{"1401978665":["hashtag1","hashtag2"]},{"1401978668":["hashtag1","hashtag2"]},{"1401978667":["hashtag1","hashtag2"]},{"1401978666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978669, 1401978663, 1401978665, 1401978668, 1401978667, 1401978666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1114342212677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:27:22.112999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/49/image_01012026_02_49_54_9555.jpg', '/home/pi/Desktop/images/01012026/02/49/image_01012026_02_50_04_9688.jpg', '/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_15_10716.jpg', '/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_24_9626.jpg', '/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_34_9678.jpg', '/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_45_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/49/image_01012026_02_49_54_9555.jpg
/home/pi/Desktop/images/01012026/02/49/image_01012026_02_50_04_9688.jpg
/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_15_10716.jpg
/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_24_9626.jpg
/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_34_9678.jpg
/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_45_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978680","1401978674","1401978676","1401978670","1401978678","1401978672"],"photo_ids_order":["1401978670","1401978672","1401978674","1401978676","1401978678","1401978680"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7cf62a971e9b07535d499a08b2fbdf01.jpg","text":"TemporaryFile(/tmp/multipartBody2112062874298188592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234502709,"filename":"image_01012026_02_50_45_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92a24f65f61a936677b648d30ecfbb5f.jpg","text":"TemporaryFile(/tmp/multipartBody1253595271676631965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234502709,"filename":"image_01012026_02_50_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e2ef93a70b5f90f6e59a5e5e10f1d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7091768318247730497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234502709,"filename":"image_01012026_02_50_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67b0309477a4797929dbcdac0773de1c.jpg","text":"TemporaryFile(/tmp/multipartBody8511814320517157726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234502709,"filename":"image_01012026_02_49_54_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fe358f569359212b757c21a6b07f9f0.jpg","text":"TemporaryFile(/tmp/multipartBody5420250130566728045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234502709,"filename":"image_01012026_02_50_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fef275dfc248847e7b8f496435e2799.jpg","text":"TemporaryFile(/tmp/multipartBody5546796256248250422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234502709,"filename":"image_01012026_02_50_04_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978674","file1":"1401978672","file0":"1401978670","file4":"1401978678","file5":"1401978680","file3":"1401978676"},"map_files_photo_id_array":[{"photo_id":"1401978680","filename":"file5"},{"photo_id":"1401978674","filename":"file2"},{"photo_id":"1401978678","filename":"file4"},{"photo_id":"1401978672","filename":"file1"},{"photo_id":"1401978670","filename":"file0"},{"photo_id":"1401978676","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978680":["hashtag1","hashtag2"]},{"1401978674":["hashtag1","hashtag2"]},{"1401978676":["hashtag1","hashtag2"]},{"1401978670":["hashtag1","hashtag2"]},{"1401978678":["hashtag1","hashtag2"]},{"1401978672":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978680, 1401978674, 1401978676, 1401978670, 1401978678, 1401978672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15039277076721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:28:02.504057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_55_9717.jpg', '/home/pi/Desktop/images/01012026/02/50/image_01012026_02_51_04_9762.jpg', '/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_15_10702.jpg', '/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_25_9739.jpg', '/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_34_9695.jpg', '/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_44_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/50/image_01012026_02_50_55_9717.jpg
/home/pi/Desktop/images/01012026/02/50/image_01012026_02_51_04_9762.jpg
/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_15_10702.jpg
/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_25_9739.jpg
/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_34_9695.jpg
/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_44_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978683","1401978686","1401978685","1401978688","1401978682","1401978684"],"photo_ids_order":["1401978682","1401978683","1401978684","1401978685","1401978686","1401978688"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db763ab190300f51d2add6a89b658d0f.jpg","text":"TemporaryFile(/tmp/multipartBody4233824387755888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234543181,"filename":"image_01012026_02_51_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8aae4f18c93657fe21d89a7acaf4027a.jpg","text":"TemporaryFile(/tmp/multipartBody402133639139230326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234543181,"filename":"image_01012026_02_51_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b893cb797399f90983bdb1ac1444f29.jpg","text":"TemporaryFile(/tmp/multipartBody4300756518441764729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234543181,"filename":"image_01012026_02_51_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6c3e8a49af10be6e59eb1122516c538.jpg","text":"TemporaryFile(/tmp/multipartBody2350844320804121530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234543181,"filename":"image_01012026_02_51_44_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a82fd51c9986fdb86273706050af4d7.jpg","text":"TemporaryFile(/tmp/multipartBody2456302778175444112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234543181,"filename":"image_01012026_02_50_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c798dd3d3ef3d0b9b92be9406088737.jpg","text":"TemporaryFile(/tmp/multipartBody1893461025426634193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234543181,"filename":"image_01012026_02_51_15_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978684","file1":"1401978683","file0":"1401978682","file4":"1401978686","file5":"1401978688","file3":"1401978685"},"map_files_photo_id_array":[{"photo_id":"1401978688","filename":"file5"},{"photo_id":"1401978684","filename":"file2"},{"photo_id":"1401978686","filename":"file4"},{"photo_id":"1401978683","filename":"file1"},{"photo_id":"1401978682","filename":"file0"},{"photo_id":"1401978685","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978683":["hashtag1","hashtag2"]},{"1401978686":["hashtag1","hashtag2"]},{"1401978685":["hashtag1","hashtag2"]},{"1401978688":["hashtag1","hashtag2"]},{"1401978682":["hashtag1","hashtag2"]},{"1401978684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978683, 1401978686, 1401978685, 1401978688, 1401978682, 1401978684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74469876289368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:28:42.035944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_10_3680.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_13_2525.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_16_2848.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_22_2798.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_25_2571.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_31_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/22/19/image_03112025_22_19_10_3680.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_13_2525.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_16_2848.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_22_2798.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_25_2571.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_31_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":["1401978695","1401978698","1401978697","1401978696","1401978699","1401978693"],"photo_ids_order":["1401978693","1401978695","1401978696","1401978697","1401978698","1401978699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e11c7952e73acf5ff3ff77140b160dc.jpg","text":"TemporaryFile(/tmp/multipartBody3788522042234504592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234583699,"filename":"image_03112025_22_19_13_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/124579e62030e15e53a91b0d2227baf3.jpg","text":"TemporaryFile(/tmp/multipartBody2331046224460429591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234583699,"filename":"image_03112025_22_19_25_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ba1a200615bc1a8114949fb2a752f58.jpg","text":"TemporaryFile(/tmp/multipartBody7730554650044496312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234583699,"filename":"image_03112025_22_19_22_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf42e735020cdf93f507299af9c4b674.jpg","text":"TemporaryFile(/tmp/multipartBody952842034971456869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234583699,"filename":"image_03112025_22_19_16_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ec466c85f5d25912f347d3d1aa1e835.jpg","text":"TemporaryFile(/tmp/multipartBody7456908350292920692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234583699,"filename":"image_03112025_22_19_31_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41324bf41a32a4398fdb3f757b81a243.jpg","text":"TemporaryFile(/tmp/multipartBody6489960950870171928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234583699,"filename":"image_03112025_22_19_10_3680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978696","file1":"1401978695","file0":"1401978693","file4":"1401978698","file5":"1401978699","file3":"1401978697"},"map_files_photo_id_array":[{"photo_id":"1401978699","filename":"file5"},{"photo_id":"1401978696","filename":"file2"},{"photo_id":"1401978698","filename":"file4"},{"photo_id":"1401978695","filename":"file1"},{"photo_id":"1401978693","filename":"file0"},{"photo_id":"1401978697","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978695":["hashtag1","hashtag2"]},{"1401978698":["hashtag1","hashtag2"]},{"1401978697":["hashtag1","hashtag2"]},{"1401978696":["hashtag1","hashtag2"]},{"1401978699":["hashtag1","hashtag2"]},{"1401978693":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978695, 1401978698, 1401978697, 1401978696, 1401978699, 1401978693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91892886161804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:29:22.309286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_55_10754.jpg', '/home/pi/Desktop/images/01012026/02/51/image_01012026_02_52_05_9625.jpg', '/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_14_9629.jpg', '/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_25_10550.jpg', '/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_34_9634.jpg', '/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_44_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/51/image_01012026_02_51_55_10754.jpg
/home/pi/Desktop/images/01012026/02/51/image_01012026_02_52_05_9625.jpg
/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_14_9629.jpg
/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_25_10550.jpg
/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_34_9634.jpg
/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_44_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978708","1401978713","1401978701","1401978710","1401978703","1401978706"],"photo_ids_order":["1401978701","1401978703","1401978706","1401978708","1401978710","1401978713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f00b83c855b544d3409abab0c59ac89.jpg","text":"TemporaryFile(/tmp/multipartBody7426791278857021073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234622899,"filename":"image_01012026_02_52_25_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7d1f02ec97ec6b7ad1503ea08d87a88.jpg","text":"TemporaryFile(/tmp/multipartBody8208746596568738976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234622899,"filename":"image_01012026_02_52_44_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a279dc4b202154a7d7a366aa946a413.jpg","text":"TemporaryFile(/tmp/multipartBody8903728613749488622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234622899,"filename":"image_01012026_02_51_55_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c6d528a2b4b6de50a2d07d4b41d4b7b.jpg","text":"TemporaryFile(/tmp/multipartBody839209569133257508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234622899,"filename":"image_01012026_02_52_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62092114029169daf6d38e9855898019.jpg","text":"TemporaryFile(/tmp/multipartBody7904752407303715884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234622899,"filename":"image_01012026_02_52_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16cc7e52d2d8ff7a53295ffe83dcae4c.jpg","text":"TemporaryFile(/tmp/multipartBody392098340178979449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234622899,"filename":"image_01012026_02_52_14_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978706","file1":"1401978703","file0":"1401978701","file4":"1401978710","file5":"1401978713","file3":"1401978708"},"map_files_photo_id_array":[{"photo_id":"1401978713","filename":"file5"},{"photo_id":"1401978706","filename":"file2"},{"photo_id":"1401978710","filename":"file4"},{"photo_id":"1401978703","filename":"file1"},{"photo_id":"1401978701","filename":"file0"},{"photo_id":"1401978708","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978708":["hashtag1","hashtag2"]},{"1401978713":["hashtag1","hashtag2"]},{"1401978701":["hashtag1","hashtag2"]},{"1401978710":["hashtag1","hashtag2"]},{"1401978703":["hashtag1","hashtag2"]},{"1401978706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978708, 1401978713, 1401978701, 1401978710, 1401978703, 1401978706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.29865503311157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:30:02.877035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_55_10555.jpg', '/home/pi/Desktop/images/01012026/02/52/image_01012026_02_53_05_9726.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_14_9805.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_25_10634.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_35_9620.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_44_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_55_10555.jpg
/home/pi/Desktop/images/01012026/02/52/image_01012026_02_53_05_9726.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_14_9805.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_25_10634.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_35_9620.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_44_9705.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: 3.232028007507324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:30:12.471348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_37_3674.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_40_2584.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_52_2587.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_55_3569.jpg', '/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_58_2743.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_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/22/19/image_03112025_22_19_37_3674.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_40_2584.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_52_2587.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_55_3569.jpg
/home/pi/Desktop/images/03112025/22/19/image_03112025_22_19_58_2743.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_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":["1401978717","1401978726","1401978728","1401978719","1401978721","1401978724"],"photo_ids_order":["1401978717","1401978719","1401978721","1401978724","1401978726","1401978728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3e633a3f5b498e1f082070b00ee2276.jpg","text":"TemporaryFile(/tmp/multipartBody8565157418589623130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234674111,"filename":"image_03112025_22_19_37_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc73d4478de048bddd8dcf66af7dd2f1.jpg","text":"TemporaryFile(/tmp/multipartBody1142050577743021099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234674111,"filename":"image_03112025_22_19_58_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cb2c5ec6c291bb9b1b512a0ff83b55f.jpg","text":"TemporaryFile(/tmp/multipartBody7164103562266828940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234674111,"filename":"image_03112025_22_21_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52b65716ddbdf6a1a6eeb1425929ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody6618770554198730418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234674111,"filename":"image_03112025_22_19_40_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e6cf4958aa81bfd5b6a956073e66a7a.jpg","text":"TemporaryFile(/tmp/multipartBody4598367169121040466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234674111,"filename":"image_03112025_22_19_52_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a448145443011ec2b72ed9248e400fc9.jpg","text":"TemporaryFile(/tmp/multipartBody56395268384890933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234674111,"filename":"image_03112025_22_19_55_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978721","file1":"1401978719","file0":"1401978717","file4":"1401978726","file5":"1401978728","file3":"1401978724"},"map_files_photo_id_array":[{"photo_id":"1401978728","filename":"file5"},{"photo_id":"1401978721","filename":"file2"},{"photo_id":"1401978726","filename":"file4"},{"photo_id":"1401978719","filename":"file1"},{"photo_id":"1401978717","filename":"file0"},{"photo_id":"1401978724","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978717":["hashtag1","hashtag2"]},{"1401978726":["hashtag1","hashtag2"]},{"1401978728":["hashtag1","hashtag2"]},{"1401978719":["hashtag1","hashtag2"]},{"1401978721":["hashtag1","hashtag2"]},{"1401978724":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978717, 1401978726, 1401978728, 1401978719, 1401978721, 1401978724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.861164808273315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:31:02.939254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_55_10555.jpg', '/home/pi/Desktop/images/01012026/02/52/image_01012026_02_53_05_9726.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_14_9805.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_25_10634.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_35_9620.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_44_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/52/image_01012026_02_52_55_10555.jpg
/home/pi/Desktop/images/01012026/02/52/image_01012026_02_53_05_9726.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_14_9805.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_25_10634.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_35_9620.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_44_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":["1401978732","1401978735","1401978734","1401978737","1401978736","1401978739"],"photo_ids_order":["1401978732","1401978734","1401978735","1401978736","1401978737","1401978739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1f3c40c20e2af65f2796af033e19b67.jpg","text":"TemporaryFile(/tmp/multipartBody5138233805402632117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234723602,"filename":"image_01012026_02_52_55_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cda8b0f1577cec9388a2fca2abc36885.jpg","text":"TemporaryFile(/tmp/multipartBody3488729174620343891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234723602,"filename":"image_01012026_02_53_14_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abeb8f8fc2272b0ace1b5062c8a4d295.jpg","text":"TemporaryFile(/tmp/multipartBody3551315844242332918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234723602,"filename":"image_01012026_02_53_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5ed213d728ccc4a131a7a4feed4d954.jpg","text":"TemporaryFile(/tmp/multipartBody4210549015633200237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234723602,"filename":"image_01012026_02_53_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6e81f96e918549321ec328b63969103.jpg","text":"TemporaryFile(/tmp/multipartBody2347729358294305715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234723602,"filename":"image_01012026_02_53_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/392f7792ab6f9042093c5fa79640faf1.jpg","text":"TemporaryFile(/tmp/multipartBody5213632708287129027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234723602,"filename":"image_01012026_02_53_44_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978735","file1":"1401978734","file0":"1401978732","file4":"1401978737","file5":"1401978739","file3":"1401978736"},"map_files_photo_id_array":[{"photo_id":"1401978739","filename":"file5"},{"photo_id":"1401978735","filename":"file2"},{"photo_id":"1401978737","filename":"file4"},{"photo_id":"1401978734","filename":"file1"},{"photo_id":"1401978732","filename":"file0"},{"photo_id":"1401978736","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978732":["hashtag1","hashtag2"]},{"1401978735":["hashtag1","hashtag2"]},{"1401978734":["hashtag1","hashtag2"]},{"1401978737":["hashtag1","hashtag2"]},{"1401978736":["hashtag1","hashtag2"]},{"1401978739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978732, 1401978735, 1401978734, 1401978737, 1401978736, 1401978739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97117066383362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:31:42.284808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_10_3718.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_13_2669.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_16_2657.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_19_3681.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_22_2677.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_25_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/22/21/image_03112025_22_21_10_3718.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_13_2669.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_16_2657.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_19_3681.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_22_2677.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_25_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":["1401978747","1401978744","1401978746","1401978749","1401978748","1401978750"],"photo_ids_order":["1401978744","1401978746","1401978747","1401978748","1401978749","1401978750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8957b8211eb7879aef6e14c8b6d4586b.jpg","text":"TemporaryFile(/tmp/multipartBody4372877478276985460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234764064,"filename":"image_03112025_22_21_16_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2929882c99385c5667bd12ab0fb721b.jpg","text":"TemporaryFile(/tmp/multipartBody7813035058220949393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234764064,"filename":"image_03112025_22_21_10_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9424986c9965552d518f0c841cf19dd.jpg","text":"TemporaryFile(/tmp/multipartBody4843618248639971362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234764064,"filename":"image_03112025_22_21_13_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6fc7be00e9c7c6e7ef44edd9ce916e7.jpg","text":"TemporaryFile(/tmp/multipartBody3449181887708627605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234764064,"filename":"image_03112025_22_21_22_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18a11084c5489e0f188aff72c68739a9.jpg","text":"TemporaryFile(/tmp/multipartBody7047217259641350580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234764064,"filename":"image_03112025_22_21_19_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dacbee1377341d0b74a1dc7bef46e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2364021543920551759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234764064,"filename":"image_03112025_22_21_25_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978747","file1":"1401978746","file0":"1401978744","file4":"1401978749","file5":"1401978750","file3":"1401978748"},"map_files_photo_id_array":[{"photo_id":"1401978750","filename":"file5"},{"photo_id":"1401978747","filename":"file2"},{"photo_id":"1401978749","filename":"file4"},{"photo_id":"1401978746","filename":"file1"},{"photo_id":"1401978744","filename":"file0"},{"photo_id":"1401978748","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978747":["hashtag1","hashtag2"]},{"1401978744":["hashtag1","hashtag2"]},{"1401978746":["hashtag1","hashtag2"]},{"1401978749":["hashtag1","hashtag2"]},{"1401978748":["hashtag1","hashtag2"]},{"1401978750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978747, 1401978744, 1401978746, 1401978749, 1401978748, 1401978750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04282307624817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:32:22.465070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_55_10680.jpg', '/home/pi/Desktop/images/01012026/02/53/image_01012026_02_54_05_9726.jpg', '/home/pi/Desktop/images/01012026/02/54/image_01012026_02_54_14_9702.jpg', '/home/pi/Desktop/images/01012026/02/54/image_01012026_02_54_24_9845.jpg', '/home/pi/Desktop/images/01012026/02/54/image_01012026_02_54_35_10746.jpg', '/home/pi/Desktop/images/01012026/02/54/image_01012026_02_54_54_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_53_55_10680.jpg
/home/pi/Desktop/images/01012026/02/53/image_01012026_02_54_05_9726.jpg
/home/pi/Desktop/images/01012026/02/54/image_01012026_02_54_14_9702.jpg
/home/pi/Desktop/images/01012026/02/54/image_01012026_02_54_24_9845.jpg
/home/pi/Desktop/images/01012026/02/54/image_01012026_02_54_35_10746.jpg
/home/pi/Desktop/images/01012026/02/54/image_01012026_02_54_54_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":["1401978756","1401978758","1401978752","1401978760","1401978754","1401978763"],"photo_ids_order":["1401978752","1401978754","1401978756","1401978758","1401978760","1401978763"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5109b93d8d7cc46b4227e7bb8f11ed7a.jpg","text":"TemporaryFile(/tmp/multipartBody8756430829540626056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234803055,"filename":"image_01012026_02_54_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/777efe754b3e85e2b2b505411cd1f3e7.jpg","text":"TemporaryFile(/tmp/multipartBody4079582189066033527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234803055,"filename":"image_01012026_02_54_24_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c99b36eea9c6c4c8c7dd01779860c79.jpg","text":"TemporaryFile(/tmp/multipartBody9194721502884478049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234803055,"filename":"image_01012026_02_53_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8108241c1e8bb374069995d574e0342.jpg","text":"TemporaryFile(/tmp/multipartBody3568797964683635776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234803055,"filename":"image_01012026_02_54_35_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a00ed9d49a60f25de9540dc54bf1bb54.jpg","text":"TemporaryFile(/tmp/multipartBody2766940699345011428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234803055,"filename":"image_01012026_02_54_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e87fed8ff0560209b2bf7c82cce31e3e.jpg","text":"TemporaryFile(/tmp/multipartBody4735717360372815383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234803055,"filename":"image_01012026_02_54_54_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978756","file1":"1401978754","file0":"1401978752","file4":"1401978760","file5":"1401978763","file3":"1401978758"},"map_files_photo_id_array":[{"photo_id":"1401978763","filename":"file5"},{"photo_id":"1401978756","filename":"file2"},{"photo_id":"1401978760","filename":"file4"},{"photo_id":"1401978754","filename":"file1"},{"photo_id":"1401978752","filename":"file0"},{"photo_id":"1401978758","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978756":["hashtag1","hashtag2"]},{"1401978758":["hashtag1","hashtag2"]},{"1401978752":["hashtag1","hashtag2"]},{"1401978760":["hashtag1","hashtag2"]},{"1401978754":["hashtag1","hashtag2"]},{"1401978763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978756, 1401978758, 1401978752, 1401978760, 1401978754, 1401978763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67539429664612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:33:03.185857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/54/image_01012026_02_55_05_10599.jpg', '/home/pi/Desktop/images/01012026/02/55/image_01012026_02_55_15_9683.jpg', '/home/pi/Desktop/images/01012026/02/55/image_01012026_02_55_24_9773.jpg', '/home/pi/Desktop/images/01012026/02/55/image_01012026_02_55_45_9739.jpg', '/home/pi/Desktop/images/01012026/02/55/image_01012026_02_55_54_9697.jpg', '/home/pi/Desktop/images/01012026/02/55/image_01012026_02_56_04_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/54/image_01012026_02_55_05_10599.jpg
/home/pi/Desktop/images/01012026/02/55/image_01012026_02_55_15_9683.jpg
/home/pi/Desktop/images/01012026/02/55/image_01012026_02_55_24_9773.jpg
/home/pi/Desktop/images/01012026/02/55/image_01012026_02_55_45_9739.jpg
/home/pi/Desktop/images/01012026/02/55/image_01012026_02_55_54_9697.jpg
/home/pi/Desktop/images/01012026/02/55/image_01012026_02_56_04_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":["1401978768","1401978770","1401978764","1401978767","1401978766","1401978765"],"photo_ids_order":["1401978764","1401978765","1401978766","1401978767","1401978768","1401978770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f56c9320744121056b9f42c552d1b5d.jpg","text":"TemporaryFile(/tmp/multipartBody6715992367538107514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234843918,"filename":"image_01012026_02_55_54_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d67e28c3b60b72746b48d89a22a4355e.jpg","text":"TemporaryFile(/tmp/multipartBody6279148140977193466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234843918,"filename":"image_01012026_02_56_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39a9e2d0f83598b63f7c07afcb03f83e.jpg","text":"TemporaryFile(/tmp/multipartBody5016195750865004311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234843918,"filename":"image_01012026_02_55_05_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c254014fb95e823a8d6af4b72aa15d4a.jpg","text":"TemporaryFile(/tmp/multipartBody5178647239227917294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234843918,"filename":"image_01012026_02_55_45_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c927d5b8545ab0f49207fb0d69450c5.jpg","text":"TemporaryFile(/tmp/multipartBody5185252088455708600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234843918,"filename":"image_01012026_02_55_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de38912e2274193b1cdd90fa20ff48c5.jpg","text":"TemporaryFile(/tmp/multipartBody1660919399671443569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234843918,"filename":"image_01012026_02_55_15_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978766","file1":"1401978765","file0":"1401978764","file4":"1401978768","file5":"1401978770","file3":"1401978767"},"map_files_photo_id_array":[{"photo_id":"1401978770","filename":"file5"},{"photo_id":"1401978766","filename":"file2"},{"photo_id":"1401978768","filename":"file4"},{"photo_id":"1401978765","filename":"file1"},{"photo_id":"1401978764","filename":"file0"},{"photo_id":"1401978767","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978768":["hashtag1","hashtag2"]},{"1401978770":["hashtag1","hashtag2"]},{"1401978764":["hashtag1","hashtag2"]},{"1401978767":["hashtag1","hashtag2"]},{"1401978766":["hashtag1","hashtag2"]},{"1401978765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978768, 1401978770, 1401978764, 1401978767, 1401978766, 1401978765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91905069351196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:33:42.608092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_28_3763.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_34_2995.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_37_2684.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_40_3502.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_43_2599.jpg', '/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_55_3771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_28_3763.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_34_2995.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_37_2684.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_40_3502.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_43_2599.jpg
/home/pi/Desktop/images/03112025/22/21/image_03112025_22_21_55_3771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978780","1401978779","1401978781","1401978775","1401978778","1401978777"],"photo_ids_order":["1401978775","1401978777","1401978778","1401978779","1401978780","1401978781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c45a23db1d92f2088ef0b63733e163ff.jpg","text":"TemporaryFile(/tmp/multipartBody7784849538328138859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234884374,"filename":"image_03112025_22_21_43_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67d578220e2080e84cc0eaa075dd6c2a.jpg","text":"TemporaryFile(/tmp/multipartBody98418128946693252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234884374,"filename":"image_03112025_22_21_40_3502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acbef88bb160c3da31719339dbc08ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6908672395691359109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234884374,"filename":"image_03112025_22_21_55_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e6d36a0ce3b1e216128e8193b999e49.jpg","text":"TemporaryFile(/tmp/multipartBody5771604685847177302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234884374,"filename":"image_03112025_22_21_28_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e2a877a19e6e5b724951b7de3a0ca96.jpg","text":"TemporaryFile(/tmp/multipartBody379058300037124866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234884374,"filename":"image_03112025_22_21_37_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d5085b36768be42cc181a7c6e39c7ca.jpg","text":"TemporaryFile(/tmp/multipartBody562146079164399127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234884374,"filename":"image_03112025_22_21_34_2995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978778","file1":"1401978777","file0":"1401978775","file4":"1401978780","file5":"1401978781","file3":"1401978779"},"map_files_photo_id_array":[{"photo_id":"1401978781","filename":"file5"},{"photo_id":"1401978778","filename":"file2"},{"photo_id":"1401978780","filename":"file4"},{"photo_id":"1401978777","filename":"file1"},{"photo_id":"1401978775","filename":"file0"},{"photo_id":"1401978779","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978780":["hashtag1","hashtag2"]},{"1401978779":["hashtag1","hashtag2"]},{"1401978781":["hashtag1","hashtag2"]},{"1401978775":["hashtag1","hashtag2"]},{"1401978778":["hashtag1","hashtag2"]},{"1401978777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978780, 1401978779, 1401978781, 1401978775, 1401978778, 1401978777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50092554092407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:34:22.824848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_15_10621.jpg', '/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_24_9717.jpg', '/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_34_9695.jpg', '/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_45_10781.jpg', '/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_55_9830.jpg', '/home/pi/Desktop/images/01012026/02/56/image_01012026_02_57_04_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_15_10621.jpg
/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_24_9717.jpg
/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_34_9695.jpg
/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_45_10781.jpg
/home/pi/Desktop/images/01012026/02/56/image_01012026_02_56_55_9830.jpg
/home/pi/Desktop/images/01012026/02/56/image_01012026_02_57_04_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":["1401978789","1401978791","1401978784","1401978793","1401978795","1401978786"],"photo_ids_order":["1401978784","1401978786","1401978789","1401978791","1401978793","1401978795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7379cb15d74ee9ee2590a3213933c99.jpg","text":"TemporaryFile(/tmp/multipartBody4406400325593784737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234923416,"filename":"image_01012026_02_56_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/042c2ab2b05e7be4ea803c3e3612dd89.jpg","text":"TemporaryFile(/tmp/multipartBody3985747518507658942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234923416,"filename":"image_01012026_02_56_45_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03a9331395331868c0cf62b4f70e0662.jpg","text":"TemporaryFile(/tmp/multipartBody7796044833160664360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234923416,"filename":"image_01012026_02_56_15_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84086aebe901ff3c48b708a6a8b3410f.jpg","text":"TemporaryFile(/tmp/multipartBody7755012989724163229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234923416,"filename":"image_01012026_02_56_55_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb70f85a821d7d0aec04f9ed34150c92.jpg","text":"TemporaryFile(/tmp/multipartBody5076998137751450392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234923416,"filename":"image_01012026_02_57_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/327cb641e04455a03c715b45485c65c8.jpg","text":"TemporaryFile(/tmp/multipartBody8988508265193623455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234923416,"filename":"image_01012026_02_56_24_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978789","file1":"1401978786","file0":"1401978784","file4":"1401978793","file5":"1401978795","file3":"1401978791"},"map_files_photo_id_array":[{"photo_id":"1401978795","filename":"file5"},{"photo_id":"1401978789","filename":"file2"},{"photo_id":"1401978793","filename":"file4"},{"photo_id":"1401978786","filename":"file1"},{"photo_id":"1401978784","filename":"file0"},{"photo_id":"1401978791","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978789":["hashtag1","hashtag2"]},{"1401978791":["hashtag1","hashtag2"]},{"1401978784":["hashtag1","hashtag2"]},{"1401978793":["hashtag1","hashtag2"]},{"1401978795":["hashtag1","hashtag2"]},{"1401978786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978789, 1401978791, 1401978784, 1401978793, 1401978795, 1401978786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81331968307495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:35:02.442648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_14_9724.jpg', '/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_25_10796.jpg', '/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_35_9658.jpg', '/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_44_9602.jpg', '/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_55_10574.jpg', '/home/pi/Desktop/images/01012026/02/57/image_01012026_02_58_04_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_14_9724.jpg
/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_25_10796.jpg
/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_35_9658.jpg
/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_44_9602.jpg
/home/pi/Desktop/images/01012026/02/57/image_01012026_02_57_55_10574.jpg
/home/pi/Desktop/images/01012026/02/57/image_01012026_02_58_04_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":["1401978797","1401978800","1401978799","1401978796","1401978802","1401978798"],"photo_ids_order":["1401978796","1401978797","1401978798","1401978799","1401978800","1401978802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7da34500d57aa94992c3898cbdf17fd0.jpg","text":"TemporaryFile(/tmp/multipartBody4251202373474029214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234963165,"filename":"image_01012026_02_57_25_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df0a2bec9ede52218a1f5f47a0d8f849.jpg","text":"TemporaryFile(/tmp/multipartBody4099974208406983059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234963165,"filename":"image_01012026_02_57_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ca9bbc11191934700a7c0e9cdaf4d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2261487690521763314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234963165,"filename":"image_01012026_02_57_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97d0376952f3f6206a02d140f5fd65e8.jpg","text":"TemporaryFile(/tmp/multipartBody4379002205067096858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234963165,"filename":"image_01012026_02_57_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33a31bf4f58e319dd6802c7db03ff941.jpg","text":"TemporaryFile(/tmp/multipartBody5299834458463888182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234963165,"filename":"image_01012026_02_58_04_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62e0a75f6f00ff0799ed7f83a6eac597.jpg","text":"TemporaryFile(/tmp/multipartBody1811764428053868248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767234963165,"filename":"image_01012026_02_57_35_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978798","file1":"1401978797","file0":"1401978796","file4":"1401978800","file5":"1401978802","file3":"1401978799"},"map_files_photo_id_array":[{"photo_id":"1401978802","filename":"file5"},{"photo_id":"1401978798","filename":"file2"},{"photo_id":"1401978800","filename":"file4"},{"photo_id":"1401978797","filename":"file1"},{"photo_id":"1401978796","filename":"file0"},{"photo_id":"1401978799","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978797":["hashtag1","hashtag2"]},{"1401978800":["hashtag1","hashtag2"]},{"1401978799":["hashtag1","hashtag2"]},{"1401978796":["hashtag1","hashtag2"]},{"1401978802":["hashtag1","hashtag2"]},{"1401978798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978797, 1401978800, 1401978799, 1401978796, 1401978802, 1401978798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37171936035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:35:42.045048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_07_8824.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_10_3091.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_12_1624.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_15_1632.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_17_1668.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_25_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/22/22/image_03112025_22_22_07_8824.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_10_3091.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_12_1624.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_15_1632.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_17_1668.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_25_1748.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.6458704471588135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:36:02.669743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_14_9712.jpg', '/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_25_10599.jpg', '/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_34_9583.jpg', '/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_45_10737.jpg', '/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_55_9700.jpg', '/home/pi/Desktop/images/01012026/02/58/image_01012026_02_59_04_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_14_9712.jpg
/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_25_10599.jpg
/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_34_9583.jpg
/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_45_10737.jpg
/home/pi/Desktop/images/01012026/02/58/image_01012026_02_58_55_9700.jpg
/home/pi/Desktop/images/01012026/02/58/image_01012026_02_59_04_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978816","1401978819","1401978818","1401978821","1401978815","1401978817"],"photo_ids_order":["1401978815","1401978816","1401978817","1401978818","1401978819","1401978821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bd19a3890cf4fcc83aae28a9c166af6.jpg","text":"TemporaryFile(/tmp/multipartBody2856274381267646429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235023298,"filename":"image_01012026_02_58_25_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/053f7d8e5e34e1238453e79e39da4419.jpg","text":"TemporaryFile(/tmp/multipartBody314025431499814497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235023298,"filename":"image_01012026_02_58_55_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae1f7beac7b66b9182dfb680efa51e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5351552765696282019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235023298,"filename":"image_01012026_02_58_45_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3e14d051f41566360753a66b697ff42.jpg","text":"TemporaryFile(/tmp/multipartBody180544251460507021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235023298,"filename":"image_01012026_02_59_04_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/982e667aac545d3e88accf9f83c503a6.jpg","text":"TemporaryFile(/tmp/multipartBody5015420138091541672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235023298,"filename":"image_01012026_02_58_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4aa62d084173d2de67c629717fa2fc19.jpg","text":"TemporaryFile(/tmp/multipartBody5964781908303968273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235023298,"filename":"image_01012026_02_58_34_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978817","file1":"1401978816","file0":"1401978815","file4":"1401978819","file5":"1401978821","file3":"1401978818"},"map_files_photo_id_array":[{"photo_id":"1401978821","filename":"file5"},{"photo_id":"1401978817","filename":"file2"},{"photo_id":"1401978819","filename":"file4"},{"photo_id":"1401978816","filename":"file1"},{"photo_id":"1401978815","filename":"file0"},{"photo_id":"1401978818","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978816":["hashtag1","hashtag2"]},{"1401978819":["hashtag1","hashtag2"]},{"1401978818":["hashtag1","hashtag2"]},{"1401978821":["hashtag1","hashtag2"]},{"1401978815":["hashtag1","hashtag2"]},{"1401978817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978816, 1401978819, 1401978818, 1401978821, 1401978815, 1401978817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71412897109985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:36:42.264288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_07_8824.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_10_3091.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_12_1624.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_15_1632.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_17_1668.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_25_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/22/22/image_03112025_22_22_07_8824.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_10_3091.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_12_1624.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_15_1632.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_17_1668.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_25_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978831","1401978828","1401978830","1401978833","1401978829","1401978826"],"photo_ids_order":["1401978826","1401978828","1401978829","1401978830","1401978831","1401978833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e04623caac79c6746c7c1525375567f.jpg","text":"TemporaryFile(/tmp/multipartBody3491523473415328477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235063922,"filename":"image_03112025_22_22_17_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/105cd52daf52148188c3f03877138d82.jpg","text":"TemporaryFile(/tmp/multipartBody9071738852305831970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235063922,"filename":"image_03112025_22_22_10_3091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eefd78cce4f0808ffafe13b82036fbe9.jpg","text":"TemporaryFile(/tmp/multipartBody3121632398904635090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235063922,"filename":"image_03112025_22_22_15_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67d2ad8d445f1bca218f17cde4beb77b.jpg","text":"TemporaryFile(/tmp/multipartBody1463934585497489731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235063922,"filename":"image_03112025_22_22_25_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/306983c2aaa9aca1ed24ee7d35907a47.jpg","text":"TemporaryFile(/tmp/multipartBody682041411469718573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235063922,"filename":"image_03112025_22_22_12_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f55cb26f1f2b07a9d2b02d8c12d0911.jpg","text":"TemporaryFile(/tmp/multipartBody5123254293070754125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235063922,"filename":"image_03112025_22_22_07_8824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978829","file1":"1401978828","file0":"1401978826","file4":"1401978831","file5":"1401978833","file3":"1401978830"},"map_files_photo_id_array":[{"photo_id":"1401978833","filename":"file5"},{"photo_id":"1401978829","filename":"file2"},{"photo_id":"1401978831","filename":"file4"},{"photo_id":"1401978828","filename":"file1"},{"photo_id":"1401978826","filename":"file0"},{"photo_id":"1401978830","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978831":["hashtag1","hashtag2"]},{"1401978828":["hashtag1","hashtag2"]},{"1401978830":["hashtag1","hashtag2"]},{"1401978833":["hashtag1","hashtag2"]},{"1401978829":["hashtag1","hashtag2"]},{"1401978826":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978831, 1401978828, 1401978830, 1401978833, 1401978829, 1401978826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59763169288635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:37:22.443208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/02/59/image_01012026_02_59_14_9763.jpg', '/home/pi/Desktop/images/01012026/02/59/image_01012026_02_59_25_10609.jpg', '/home/pi/Desktop/images/01012026/02/59/image_01012026_02_59_34_9587.jpg', '/home/pi/Desktop/images/01012026/02/59/image_01012026_02_59_55_9965.jpg', '/home/pi/Desktop/images/01012026/02/59/image_01012026_03_00_05_9671.jpg', '/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_14_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/02/59/image_01012026_02_59_14_9763.jpg
/home/pi/Desktop/images/01012026/02/59/image_01012026_02_59_25_10609.jpg
/home/pi/Desktop/images/01012026/02/59/image_01012026_02_59_34_9587.jpg
/home/pi/Desktop/images/01012026/02/59/image_01012026_02_59_55_9965.jpg
/home/pi/Desktop/images/01012026/02/59/image_01012026_03_00_05_9671.jpg
/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_14_9678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978843","1401978836","1401978841","1401978835","1401978844","1401978838"],"photo_ids_order":["1401978835","1401978836","1401978838","1401978841","1401978843","1401978844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27fdfeddd2e4904ae7eb63e2fa7503b5.jpg","text":"TemporaryFile(/tmp/multipartBody9200937152949549465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235103065,"filename":"image_01012026_03_00_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acfb85e28fdfc298ba308954c62567e9.jpg","text":"TemporaryFile(/tmp/multipartBody4395596677800755265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235103065,"filename":"image_01012026_02_59_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fb2bf5a96adcaacfcbb6c8b0d89111f.jpg","text":"TemporaryFile(/tmp/multipartBody1678008021553298930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235103065,"filename":"image_01012026_02_59_55_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f6d2cb2ccde36660482a543ea806b87.jpg","text":"TemporaryFile(/tmp/multipartBody572213732500973421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235103065,"filename":"image_01012026_02_59_14_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa76cfd2862ff96307b997c0dbae5030.jpg","text":"TemporaryFile(/tmp/multipartBody5556383551544910735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235103065,"filename":"image_01012026_03_00_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8dcec02342fcb17fb4ff7952643cc22.jpg","text":"TemporaryFile(/tmp/multipartBody1278165063241924066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235103065,"filename":"image_01012026_02_59_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978838","file1":"1401978836","file0":"1401978835","file4":"1401978843","file5":"1401978844","file3":"1401978841"},"map_files_photo_id_array":[{"photo_id":"1401978844","filename":"file5"},{"photo_id":"1401978838","filename":"file2"},{"photo_id":"1401978843","filename":"file4"},{"photo_id":"1401978836","filename":"file1"},{"photo_id":"1401978835","filename":"file0"},{"photo_id":"1401978841","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978843":["hashtag1","hashtag2"]},{"1401978836":["hashtag1","hashtag2"]},{"1401978841":["hashtag1","hashtag2"]},{"1401978835":["hashtag1","hashtag2"]},{"1401978844":["hashtag1","hashtag2"]},{"1401978838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978843, 1401978836, 1401978841, 1401978835, 1401978844, 1401978838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45215058326721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:38:03.270610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_24_9813.jpg', '/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_35_10692.jpg', '/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_44_9643.jpg', '/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_55_10634.jpg', '/home/pi/Desktop/images/01012026/03/00/image_01012026_03_01_05_9769.jpg', '/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_15_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_24_9813.jpg
/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_35_10692.jpg
/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_44_9643.jpg
/home/pi/Desktop/images/01012026/03/00/image_01012026_03_00_55_10634.jpg
/home/pi/Desktop/images/01012026/03/00/image_01012026_03_01_05_9769.jpg
/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_15_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":["1401978846","1401978849","1401978851","1401978845","1401978848","1401978847"],"photo_ids_order":["1401978845","1401978846","1401978847","1401978848","1401978849","1401978851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5248623bcfbd21cc6d84410e41fd910.jpg","text":"TemporaryFile(/tmp/multipartBody3798439945180609477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235143893,"filename":"image_01012026_03_00_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6f2e4a1c31b6d205603af2e18db79bc.jpg","text":"TemporaryFile(/tmp/multipartBody7255830228735332770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235143893,"filename":"image_01012026_03_01_05_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dac998eff09a24ea243bd2fb810a6eb.jpg","text":"TemporaryFile(/tmp/multipartBody4008848594363968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235143893,"filename":"image_01012026_03_01_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10cf9f38cbc78b1963eeb43df0fc69dd.jpg","text":"TemporaryFile(/tmp/multipartBody1888927741587896862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235143893,"filename":"image_01012026_03_00_24_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/042e5bda7006961c85ca28d46dfaab23.jpg","text":"TemporaryFile(/tmp/multipartBody8481048792778989003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235143893,"filename":"image_01012026_03_00_55_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/706e3ea9757b9db44e4ee3c27edb8dfc.jpg","text":"TemporaryFile(/tmp/multipartBody3041017498585007616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235143893,"filename":"image_01012026_03_00_44_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978847","file1":"1401978846","file0":"1401978845","file4":"1401978849","file5":"1401978851","file3":"1401978848"},"map_files_photo_id_array":[{"photo_id":"1401978851","filename":"file5"},{"photo_id":"1401978847","filename":"file2"},{"photo_id":"1401978849","filename":"file4"},{"photo_id":"1401978846","filename":"file1"},{"photo_id":"1401978845","filename":"file0"},{"photo_id":"1401978848","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978846":["hashtag1","hashtag2"]},{"1401978849":["hashtag1","hashtag2"]},{"1401978851":["hashtag1","hashtag2"]},{"1401978845":["hashtag1","hashtag2"]},{"1401978848":["hashtag1","hashtag2"]},{"1401978847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978846, 1401978849, 1401978851, 1401978845, 1401978848, 1401978847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7217538356781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:38:42.730853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_31_1766.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_34_2702.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_37_2661.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_43_2728.jpg', '/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_46_2542.jpg', '/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_20_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/22/22/image_03112025_22_22_31_1766.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_34_2702.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_37_2661.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_43_2728.jpg
/home/pi/Desktop/images/03112025/22/22/image_03112025_22_22_46_2542.jpg
/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_20_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":["1401978861","1401978860","1401978862","1401978856","1401978859","1401978858"],"photo_ids_order":["1401978856","1401978858","1401978859","1401978860","1401978861","1401978862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd0460667b3ee6cd251be811af5e23f7.jpg","text":"TemporaryFile(/tmp/multipartBody2439854289496116158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235184492,"filename":"image_03112025_22_22_46_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50ee4030515347083b8cce918562e149.jpg","text":"TemporaryFile(/tmp/multipartBody1898316785776450869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235184492,"filename":"image_03112025_22_22_43_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8bba5faff6fa895d2a76b9883503b2e.jpg","text":"TemporaryFile(/tmp/multipartBody3366939609866578148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235184492,"filename":"image_03112025_22_23_20_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/710050a1cc505db1b434af03b1a5d6f9.jpg","text":"TemporaryFile(/tmp/multipartBody524339491622526382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235184492,"filename":"image_03112025_22_22_31_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c4e63de85ca05db0e31becfaed78012.jpg","text":"TemporaryFile(/tmp/multipartBody6661246015097357942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235184492,"filename":"image_03112025_22_22_37_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6f4676cdc49f659081c12f3d98e33e0.jpg","text":"TemporaryFile(/tmp/multipartBody828906340522942255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235184492,"filename":"image_03112025_22_22_34_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978859","file1":"1401978858","file0":"1401978856","file4":"1401978861","file5":"1401978862","file3":"1401978860"},"map_files_photo_id_array":[{"photo_id":"1401978862","filename":"file5"},{"photo_id":"1401978859","filename":"file2"},{"photo_id":"1401978861","filename":"file4"},{"photo_id":"1401978858","filename":"file1"},{"photo_id":"1401978856","filename":"file0"},{"photo_id":"1401978860","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978861":["hashtag1","hashtag2"]},{"1401978860":["hashtag1","hashtag2"]},{"1401978862":["hashtag1","hashtag2"]},{"1401978856":["hashtag1","hashtag2"]},{"1401978859":["hashtag1","hashtag2"]},{"1401978858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978861, 1401978860, 1401978862, 1401978856, 1401978859, 1401978858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.742087602615356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:39:22.013353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_24_9869.jpg', '/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_34_9741.jpg', '/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_45_10708.jpg', '/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_55_9662.jpg', '/home/pi/Desktop/images/01012026/03/01/image_01012026_03_02_04_9753.jpg', '/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_15_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_24_9869.jpg
/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_34_9741.jpg
/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_45_10708.jpg
/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_55_9662.jpg
/home/pi/Desktop/images/01012026/03/01/image_01012026_03_02_04_9753.jpg
/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_15_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978873","1401978867","1401978869","1401978863","1401978871","1401978865"],"photo_ids_order":["1401978863","1401978865","1401978867","1401978869","1401978871","1401978873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/062bd976a8b264f24748a364d99fa308.jpg","text":"TemporaryFile(/tmp/multipartBody5023843155749708582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235222608,"filename":"image_01012026_03_02_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d3beb465150a3c56b779cd16a08a07c.jpg","text":"TemporaryFile(/tmp/multipartBody2336630098443863564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235222608,"filename":"image_01012026_03_01_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a53f5d06af716586a7ec5cf20a4c8170.jpg","text":"TemporaryFile(/tmp/multipartBody3738432466786169750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235222608,"filename":"image_01012026_03_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/2026/1/1/f0add8508b00fbacde08497663cac67a.jpg","text":"TemporaryFile(/tmp/multipartBody381384991003324827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235222608,"filename":"image_01012026_03_01_24_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60442e10dccd3c2991329ee3bccbc71d.jpg","text":"TemporaryFile(/tmp/multipartBody8883277620217252299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235222608,"filename":"image_01012026_03_02_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acc9baf0d99c179660f2b1ab650cc3fd.jpg","text":"TemporaryFile(/tmp/multipartBody3918494207128127786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235222608,"filename":"image_01012026_03_01_34_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978867","file1":"1401978865","file0":"1401978863","file4":"1401978871","file5":"1401978873","file3":"1401978869"},"map_files_photo_id_array":[{"photo_id":"1401978873","filename":"file5"},{"photo_id":"1401978867","filename":"file2"},{"photo_id":"1401978871","filename":"file4"},{"photo_id":"1401978865","filename":"file1"},{"photo_id":"1401978863","filename":"file0"},{"photo_id":"1401978869","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978873":["hashtag1","hashtag2"]},{"1401978867":["hashtag1","hashtag2"]},{"1401978869":["hashtag1","hashtag2"]},{"1401978863":["hashtag1","hashtag2"]},{"1401978871":["hashtag1","hashtag2"]},{"1401978865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978873, 1401978867, 1401978869, 1401978863, 1401978871, 1401978865)","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 = 1401978867 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/01012026/03/01/image_01012026_03_01_45_10708.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 63.9599814414978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:40:32.815595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_24_1624.jpg', '/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_26_1732.jpg', '/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_28_1517.jpg', '/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_37_2864.jpg', '/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_40_2805.jpg', '/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_42_2705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_24_1624.jpg
/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_26_1732.jpg
/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_28_1517.jpg
/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_37_2864.jpg
/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_40_2805.jpg
/home/pi/Desktop/images/03112025/22/23/image_03112025_22_23_42_2705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978890","1401978881","1401978884","1401978886","1401978888","1401978879"],"photo_ids_order":["1401978879","1401978881","1401978884","1401978886","1401978888","1401978890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4152a1992044030f914eafa3e559b8c4.jpg","text":"TemporaryFile(/tmp/multipartBody7397572031150046884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235294582,"filename":"image_03112025_22_23_42_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b87374f350184ffd30c79719ff008816.jpg","text":"TemporaryFile(/tmp/multipartBody3363741776215025027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235294582,"filename":"image_03112025_22_23_26_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/342f2e1b4716aee477ab3610d123a2ab.jpg","text":"TemporaryFile(/tmp/multipartBody2828771317023208391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235294582,"filename":"image_03112025_22_23_28_1517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/662b0407ca583254444882503080f958.jpg","text":"TemporaryFile(/tmp/multipartBody6486190713864674983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235294582,"filename":"image_03112025_22_23_37_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6f5b8d51e864b7a4c8bf2a76776d7fb.jpg","text":"TemporaryFile(/tmp/multipartBody6272349027866893293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235294582,"filename":"image_03112025_22_23_40_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63af16553aadf643ffe5ee0d1ecd6d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7441409551913178153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235294582,"filename":"image_03112025_22_23_24_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978884","file1":"1401978881","file0":"1401978879","file4":"1401978888","file5":"1401978890","file3":"1401978886"},"map_files_photo_id_array":[{"photo_id":"1401978890","filename":"file5"},{"photo_id":"1401978884","filename":"file2"},{"photo_id":"1401978888","filename":"file4"},{"photo_id":"1401978881","filename":"file1"},{"photo_id":"1401978879","filename":"file0"},{"photo_id":"1401978886","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978890":["hashtag1","hashtag2"]},{"1401978881":["hashtag1","hashtag2"]},{"1401978884":["hashtag1","hashtag2"]},{"1401978886":["hashtag1","hashtag2"]},{"1401978888":["hashtag1","hashtag2"]},{"1401978879":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978890, 1401978881, 1401978884, 1401978886, 1401978888, 1401978879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8887243270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:41:12.151272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_11_1598.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_15_2851.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_19_3668.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_25_3523.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_30_5301.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_38_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_11_1598.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_15_2851.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_19_3668.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_25_3523.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_30_5301.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_38_1681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978900","1401978898","1401978902","1401978895","1401978894","1401978897"],"photo_ids_order":["1401978894","1401978895","1401978897","1401978898","1401978900","1401978902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3df57d4b23d1d6747ddc546b37352ce6.jpg","text":"TemporaryFile(/tmp/multipartBody3292341116658675408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235333779,"filename":"image_03112025_22_24_30_5301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c067c96f4a95a505efbf706247bf47f.jpg","text":"TemporaryFile(/tmp/multipartBody1364715111966904110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235333779,"filename":"image_03112025_22_24_25_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57b1ba84f2429125a7df4b9312703728.jpg","text":"TemporaryFile(/tmp/multipartBody7295674316355263676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235333779,"filename":"image_03112025_22_24_38_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3584591ceaaab24045edd3c37742e85b.jpg","text":"TemporaryFile(/tmp/multipartBody3686800686822037136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235333779,"filename":"image_03112025_22_24_15_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83ef9d7def32c164fe63ecfb58f42143.jpg","text":"TemporaryFile(/tmp/multipartBody130925099580487163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235333779,"filename":"image_03112025_22_24_11_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68d512c8d8d6bea9f9589b0dab5f8cda.jpg","text":"TemporaryFile(/tmp/multipartBody8099883980216175400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235333779,"filename":"image_03112025_22_24_19_3668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978897","file1":"1401978895","file0":"1401978894","file4":"1401978900","file5":"1401978902","file3":"1401978898"},"map_files_photo_id_array":[{"photo_id":"1401978902","filename":"file5"},{"photo_id":"1401978897","filename":"file2"},{"photo_id":"1401978900","filename":"file4"},{"photo_id":"1401978895","filename":"file1"},{"photo_id":"1401978894","filename":"file0"},{"photo_id":"1401978898","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978900":["hashtag1","hashtag2"]},{"1401978898":["hashtag1","hashtag2"]},{"1401978902":["hashtag1","hashtag2"]},{"1401978895":["hashtag1","hashtag2"]},{"1401978894":["hashtag1","hashtag2"]},{"1401978897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978900, 1401978898, 1401978902, 1401978895, 1401978894, 1401978897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4061119556427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:42:02.747708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_25_9731.jpg', '/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_34_9730.jpg', '/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_44_9749.jpg', '/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_55_10850.jpg', '/home/pi/Desktop/images/01012026/03/02/image_01012026_03_03_05_9629.jpg', '/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_14_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_25_9731.jpg
/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_34_9730.jpg
/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_44_9749.jpg
/home/pi/Desktop/images/01012026/03/02/image_01012026_03_02_55_10850.jpg
/home/pi/Desktop/images/01012026/03/02/image_01012026_03_03_05_9629.jpg
/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_14_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":["1401978912","1401978909","1401978906","1401978908","1401978910","1401978907"],"photo_ids_order":["1401978906","1401978907","1401978908","1401978909","1401978910","1401978912"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a73e0fb435a23a5948c929660fa8569.jpg","text":"TemporaryFile(/tmp/multipartBody1614910021982112497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235383428,"filename":"image_01012026_03_03_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4e8cccc9bf90af88f98e43188051236.jpg","text":"TemporaryFile(/tmp/multipartBody3068978628291589722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235383428,"filename":"image_01012026_03_02_55_10850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87a51426ee1c489b10d7e98c4ca4fd10.jpg","text":"TemporaryFile(/tmp/multipartBody3839683006930796287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235383428,"filename":"image_01012026_03_02_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73db404db25d13cd52e1d18832a64f63.jpg","text":"TemporaryFile(/tmp/multipartBody2062109878075116147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235383428,"filename":"image_01012026_03_02_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec3755d799e9e19dd87c7be72d3e12e8.jpg","text":"TemporaryFile(/tmp/multipartBody7462055545470731125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235383428,"filename":"image_01012026_03_03_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc5a3a3e456e5fdaec63c81f7dcd23e9.jpg","text":"TemporaryFile(/tmp/multipartBody719281449942429637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235383428,"filename":"image_01012026_03_02_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978908","file1":"1401978907","file0":"1401978906","file4":"1401978910","file5":"1401978912","file3":"1401978909"},"map_files_photo_id_array":[{"photo_id":"1401978912","filename":"file5"},{"photo_id":"1401978908","filename":"file2"},{"photo_id":"1401978910","filename":"file4"},{"photo_id":"1401978907","filename":"file1"},{"photo_id":"1401978906","filename":"file0"},{"photo_id":"1401978909","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978912":["hashtag1","hashtag2"]},{"1401978909":["hashtag1","hashtag2"]},{"1401978906":["hashtag1","hashtag2"]},{"1401978908":["hashtag1","hashtag2"]},{"1401978910":["hashtag1","hashtag2"]},{"1401978907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978912, 1401978909, 1401978906, 1401978908, 1401978910, 1401978907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17966032028198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:42:42.432956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_41_1600.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_43_1663.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_45_2778.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_49_3699.jpg', '/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_52_2663.jpg', '/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_07_3017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_41_1600.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_43_1663.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_45_2778.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_49_3699.jpg
/home/pi/Desktop/images/03112025/22/24/image_03112025_22_24_52_2663.jpg
/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_07_3017.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978921","1401978924","1401978917","1401978920","1401978922","1401978919"],"photo_ids_order":["1401978917","1401978919","1401978920","1401978921","1401978922","1401978924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f4308d45c8cf4b91fec01d6552a9e8f.jpg","text":"TemporaryFile(/tmp/multipartBody8677208493286729274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235424209,"filename":"image_03112025_22_24_49_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/874c547d3cb0cd3c726742647ebf6502.jpg","text":"TemporaryFile(/tmp/multipartBody5256323081405804829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235424209,"filename":"image_03112025_22_26_07_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0342360fa1324163098af85632468e5f.jpg","text":"TemporaryFile(/tmp/multipartBody2062094000414540452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235424209,"filename":"image_03112025_22_24_41_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88a9837b26d94c18244971f2481ada74.jpg","text":"TemporaryFile(/tmp/multipartBody13392088308386250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235424209,"filename":"image_03112025_22_24_45_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c043436eb33b2e7477664bf812cd908.jpg","text":"TemporaryFile(/tmp/multipartBody8008361635816609616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235424209,"filename":"image_03112025_22_24_52_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f20f314a71af1ca1d882ff8982bd901a.jpg","text":"TemporaryFile(/tmp/multipartBody4561447949756385968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235424209,"filename":"image_03112025_22_24_43_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978920","file1":"1401978919","file0":"1401978917","file4":"1401978922","file5":"1401978924","file3":"1401978921"},"map_files_photo_id_array":[{"photo_id":"1401978924","filename":"file5"},{"photo_id":"1401978920","filename":"file2"},{"photo_id":"1401978922","filename":"file4"},{"photo_id":"1401978919","filename":"file1"},{"photo_id":"1401978917","filename":"file0"},{"photo_id":"1401978921","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978921":["hashtag1","hashtag2"]},{"1401978924":["hashtag1","hashtag2"]},{"1401978917":["hashtag1","hashtag2"]},{"1401978920":["hashtag1","hashtag2"]},{"1401978922":["hashtag1","hashtag2"]},{"1401978919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978921, 1401978924, 1401978917, 1401978920, 1401978922, 1401978919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.028377056121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:43:22.614641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_25_10587.jpg', '/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_34_9689.jpg', '/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_44_9832.jpg', '/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_55_10732.jpg', '/home/pi/Desktop/images/01012026/03/03/image_01012026_03_04_05_9743.jpg', '/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_15_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_25_10587.jpg
/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_34_9689.jpg
/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_44_9832.jpg
/home/pi/Desktop/images/01012026/03/03/image_01012026_03_03_55_10732.jpg
/home/pi/Desktop/images/01012026/03/03/image_01012026_03_04_05_9743.jpg
/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_15_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978930","1401978936","1401978932","1401978926","1401978934","1401978928"],"photo_ids_order":["1401978926","1401978928","1401978930","1401978932","1401978934","1401978936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2249ea39678b92b7f5a983375b3fad00.jpg","text":"TemporaryFile(/tmp/multipartBody2082278708914912752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235463206,"filename":"image_01012026_03_03_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a74bac598a817400a9857c4b389b5ed.jpg","text":"TemporaryFile(/tmp/multipartBody7489958083656091496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235463206,"filename":"image_01012026_03_04_15_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dee4d9be395ae9dd404d75cf87792e78.jpg","text":"TemporaryFile(/tmp/multipartBody8747637022753714389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235463206,"filename":"image_01012026_03_03_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7181493c7bc0f09ccba6ed41c51252dd.jpg","text":"TemporaryFile(/tmp/multipartBody2234157062330231203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235463206,"filename":"image_01012026_03_03_25_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b69b92bafc30d006260f9d289f4bcc55.jpg","text":"TemporaryFile(/tmp/multipartBody2818000710488548969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235463206,"filename":"image_01012026_03_04_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1484b860e7818b32fbcec34f4c069f9.jpg","text":"TemporaryFile(/tmp/multipartBody4705888882171653716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235463206,"filename":"image_01012026_03_03_34_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978930","file1":"1401978928","file0":"1401978926","file4":"1401978934","file5":"1401978936","file3":"1401978932"},"map_files_photo_id_array":[{"photo_id":"1401978936","filename":"file5"},{"photo_id":"1401978930","filename":"file2"},{"photo_id":"1401978934","filename":"file4"},{"photo_id":"1401978928","filename":"file1"},{"photo_id":"1401978926","filename":"file0"},{"photo_id":"1401978932","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978930":["hashtag1","hashtag2"]},{"1401978936":["hashtag1","hashtag2"]},{"1401978932":["hashtag1","hashtag2"]},{"1401978926":["hashtag1","hashtag2"]},{"1401978934":["hashtag1","hashtag2"]},{"1401978928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978930, 1401978936, 1401978932, 1401978926, 1401978934, 1401978928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4438796043396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:44:03.580823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_24_9765.jpg', '/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_35_10589.jpg', '/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_45_9696.jpg', '/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_54_9668.jpg', '/home/pi/Desktop/images/01012026/03/04/image_01012026_03_05_05_10636.jpg', '/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_15_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_24_9765.jpg
/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_35_10589.jpg
/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_45_9696.jpg
/home/pi/Desktop/images/01012026/03/04/image_01012026_03_04_54_9668.jpg
/home/pi/Desktop/images/01012026/03/04/image_01012026_03_05_05_10636.jpg
/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_15_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":["1401978939","1401978941","1401978950","1401978944","1401978947","1401978946"],"photo_ids_order":["1401978939","1401978941","1401978944","1401978946","1401978947","1401978950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/443a43bb08bbd9d437ae033fdb5e770d.jpg","text":"TemporaryFile(/tmp/multipartBody4765982525905045904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235504244,"filename":"image_01012026_03_04_24_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a76db364a42ff25ec24de035230c098.jpg","text":"TemporaryFile(/tmp/multipartBody2938073833582136773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235504244,"filename":"image_01012026_03_04_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b4853b358911bdf300183bfb4b761d9.jpg","text":"TemporaryFile(/tmp/multipartBody6416836371244172222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235504244,"filename":"image_01012026_03_05_15_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3a53885d1392c566dfeca8ee69208be.jpg","text":"TemporaryFile(/tmp/multipartBody507494235598171420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235504244,"filename":"image_01012026_03_04_45_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbe2b59bbd17c8d12c48357b005a4e93.jpg","text":"TemporaryFile(/tmp/multipartBody3867579239945746605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235504244,"filename":"image_01012026_03_05_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9b8c5975386ca58dbc1d595db977d84.jpg","text":"TemporaryFile(/tmp/multipartBody8911041694707214443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235504244,"filename":"image_01012026_03_04_54_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978944","file1":"1401978941","file0":"1401978939","file4":"1401978947","file5":"1401978950","file3":"1401978946"},"map_files_photo_id_array":[{"photo_id":"1401978950","filename":"file5"},{"photo_id":"1401978944","filename":"file2"},{"photo_id":"1401978947","filename":"file4"},{"photo_id":"1401978941","filename":"file1"},{"photo_id":"1401978939","filename":"file0"},{"photo_id":"1401978946","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978939":["hashtag1","hashtag2"]},{"1401978941":["hashtag1","hashtag2"]},{"1401978950":["hashtag1","hashtag2"]},{"1401978944":["hashtag1","hashtag2"]},{"1401978947":["hashtag1","hashtag2"]},{"1401978946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978939, 1401978941, 1401978950, 1401978944, 1401978947, 1401978946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41238737106323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:44:42.801645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_11_3633.jpg', '/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_13_2522.jpg', '/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_28_4483.jpg', '/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_35_1713.jpg', '/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_39_1659.jpg', '/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_47_2579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_11_3633.jpg
/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_13_2522.jpg
/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_28_4483.jpg
/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_35_1713.jpg
/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_39_1659.jpg
/home/pi/Desktop/images/03112025/22/26/image_03112025_22_26_47_2579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978960","1401978962","1401978964","1401978961","1401978963","1401978957"],"photo_ids_order":["1401978957","1401978960","1401978961","1401978962","1401978963","1401978964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb32020ecf61e241eafc217fff01cfad.jpg","text":"TemporaryFile(/tmp/multipartBody3710166832409011712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235544567,"filename":"image_03112025_22_26_13_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/545290bd1a7102ff7bde2c3c38bf345d.jpg","text":"TemporaryFile(/tmp/multipartBody2463954075024215115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235544567,"filename":"image_03112025_22_26_35_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/180b94bb9282a2cceaec597739037bf9.jpg","text":"TemporaryFile(/tmp/multipartBody5092402546204263816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235544567,"filename":"image_03112025_22_26_47_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b03b5378e8cff86a06b5d3a189d824e6.jpg","text":"TemporaryFile(/tmp/multipartBody3971209524955721401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235544567,"filename":"image_03112025_22_26_28_4483.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a694a983aa1fd16529e5a293a6a760bb.jpg","text":"TemporaryFile(/tmp/multipartBody1890660544137075079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235544567,"filename":"image_03112025_22_26_39_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bfcda0ab5df2858123ad679da6ace2a.jpg","text":"TemporaryFile(/tmp/multipartBody811143658581636526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235544567,"filename":"image_03112025_22_26_11_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978961","file1":"1401978960","file0":"1401978957","file4":"1401978963","file5":"1401978964","file3":"1401978962"},"map_files_photo_id_array":[{"photo_id":"1401978964","filename":"file5"},{"photo_id":"1401978961","filename":"file2"},{"photo_id":"1401978963","filename":"file4"},{"photo_id":"1401978960","filename":"file1"},{"photo_id":"1401978957","filename":"file0"},{"photo_id":"1401978962","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978960":["hashtag1","hashtag2"]},{"1401978962":["hashtag1","hashtag2"]},{"1401978964":["hashtag1","hashtag2"]},{"1401978961":["hashtag1","hashtag2"]},{"1401978963":["hashtag1","hashtag2"]},{"1401978957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978960, 1401978962, 1401978964, 1401978961, 1401978963, 1401978957)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.83715629577637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:45:31.997537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_01_14641.jpg', '/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_03_1679.jpg', '/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_16_1733.jpg', '/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_18_2264.jpg', '/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_21_1653.jpg', '/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_39_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_01_14641.jpg
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_03_1679.jpg
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_16_1733.jpg
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_18_2264.jpg
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_21_1653.jpg
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_39_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978972","1401978974","1401978977","1401978970","1401978976","1401978975"],"photo_ids_order":["1401978970","1401978972","1401978974","1401978975","1401978976","1401978977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fea9bf158321efd46ee9d40d166c0b3a.jpg","text":"TemporaryFile(/tmp/multipartBody5226354661074133888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235593757,"filename":"image_03112025_22_27_03_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b411cae53c9683ee491187a14c2e8ab.jpg","text":"TemporaryFile(/tmp/multipartBody4413189399570107784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235593757,"filename":"image_03112025_22_27_16_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2836f4d784533ee5db48826992281f30.jpg","text":"TemporaryFile(/tmp/multipartBody6045689679957906367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235593757,"filename":"image_03112025_22_27_39_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c18631520ef5d5b1fd96155e21e526a4.jpg","text":"TemporaryFile(/tmp/multipartBody2181028065683964265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235593757,"filename":"image_03112025_22_27_01_14641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a78317ac4c3a2d85eba7918ec95be37.jpg","text":"TemporaryFile(/tmp/multipartBody2200239558297995525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235593757,"filename":"image_03112025_22_27_21_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d8ce648c5cd7d70fe558718d7bb44c7.jpg","text":"TemporaryFile(/tmp/multipartBody2010282155774428984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235593757,"filename":"image_03112025_22_27_18_2264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978974","file1":"1401978972","file0":"1401978970","file4":"1401978976","file5":"1401978977","file3":"1401978975"},"map_files_photo_id_array":[{"photo_id":"1401978977","filename":"file5"},{"photo_id":"1401978974","filename":"file2"},{"photo_id":"1401978976","filename":"file4"},{"photo_id":"1401978972","filename":"file1"},{"photo_id":"1401978970","filename":"file0"},{"photo_id":"1401978975","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978972":["hashtag1","hashtag2"]},{"1401978974":["hashtag1","hashtag2"]},{"1401978977":["hashtag1","hashtag2"]},{"1401978970":["hashtag1","hashtag2"]},{"1401978976":["hashtag1","hashtag2"]},{"1401978975":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978972, 1401978974, 1401978977, 1401978970, 1401978976, 1401978975)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1090886592865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:46:15.596852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_41_1509.jpg', '/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_44_1757.jpg', '/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_48_1730.jpg', '/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_53_5262.jpg', '/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_15_1727.jpg', '/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_16_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/22/27/image_03112025_22_27_41_1509.jpg
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_44_1757.jpg
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_48_1730.jpg
/home/pi/Desktop/images/03112025/22/27/image_03112025_22_27_53_5262.jpg
/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_15_1727.jpg
/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_16_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978986","1401978979","1401978988","1401978981","1401978984","1401978978"],"photo_ids_order":["1401978978","1401978979","1401978981","1401978984","1401978986","1401978988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb81b225a968f5ed19d366e1afcda59f.jpg","text":"TemporaryFile(/tmp/multipartBody3682554056885729200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235637234,"filename":"image_03112025_22_28_15_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b06e30edcd06d6c92698dee8066e0231.jpg","text":"TemporaryFile(/tmp/multipartBody960652452400837017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235637234,"filename":"image_03112025_22_27_44_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ab331bc4e9e5c4e073dafbde7fab571.jpg","text":"TemporaryFile(/tmp/multipartBody1242768001009965786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235637234,"filename":"image_03112025_22_28_16_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d26db1ec9a9573627a6213b7633701c.jpg","text":"TemporaryFile(/tmp/multipartBody8584933408952959919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235637234,"filename":"image_03112025_22_27_48_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9068b944ab43fb1a86af5c23fac6692.jpg","text":"TemporaryFile(/tmp/multipartBody7006653759220741970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235637234,"filename":"image_03112025_22_27_53_5262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18cfcd12eee5af013bf0b1a419c38d03.jpg","text":"TemporaryFile(/tmp/multipartBody1083609717780080418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235637234,"filename":"image_03112025_22_27_41_1509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978981","file1":"1401978979","file0":"1401978978","file4":"1401978986","file5":"1401978988","file3":"1401978984"},"map_files_photo_id_array":[{"photo_id":"1401978988","filename":"file5"},{"photo_id":"1401978981","filename":"file2"},{"photo_id":"1401978986","filename":"file4"},{"photo_id":"1401978979","filename":"file1"},{"photo_id":"1401978978","filename":"file0"},{"photo_id":"1401978984","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401978986":["hashtag1","hashtag2"]},{"1401978979":["hashtag1","hashtag2"]},{"1401978988":["hashtag1","hashtag2"]},{"1401978981":["hashtag1","hashtag2"]},{"1401978984":["hashtag1","hashtag2"]},{"1401978978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401978986, 1401978979, 1401978988, 1401978981, 1401978984, 1401978978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17747092247009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:47:03.343566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_24_9775.jpg', '/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_35_10651.jpg', '/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_45_9710.jpg', '/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_54_9592.jpg', '/home/pi/Desktop/images/01012026/03/05/image_01012026_03_06_04_9834.jpg', '/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_15_10856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_24_9775.jpg
/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_35_10651.jpg
/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_45_9710.jpg
/home/pi/Desktop/images/01012026/03/05/image_01012026_03_05_54_9592.jpg
/home/pi/Desktop/images/01012026/03/05/image_01012026_03_06_04_9834.jpg
/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_15_10856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401978998","1401978992","1401978991","1401978994","1401978993","1401978996"],"photo_ids_order":["1401978991","1401978992","1401978993","1401978994","1401978996","1401978998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3d97d1cb6ef94687e914a9e1188a617.jpg","text":"TemporaryFile(/tmp/multipartBody3273786606078128241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235684006,"filename":"image_01012026_03_06_15_10856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/555c268d8006e6f3e139dfb21f358b79.jpg","text":"TemporaryFile(/tmp/multipartBody487414333586524829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235684006,"filename":"image_01012026_03_05_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0eab7cc851cc4c7212fbaf73c0f8d43.jpg","text":"TemporaryFile(/tmp/multipartBody7569592998097189022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235684006,"filename":"image_01012026_03_05_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5841455b27c8b4ae8a5ad4a64d02af57.jpg","text":"TemporaryFile(/tmp/multipartBody2184385399469070176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235684006,"filename":"image_01012026_03_05_54_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b51d73712f4ba511c2f7c3ede7354d5.jpg","text":"TemporaryFile(/tmp/multipartBody2611480903153317676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235684006,"filename":"image_01012026_03_05_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8503dffd25da371f26f16eeebf19ea09.jpg","text":"TemporaryFile(/tmp/multipartBody3282951089213306755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235684006,"filename":"image_01012026_03_06_04_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401978993","file1":"1401978992","file0":"1401978991","file4":"1401978996","file5":"1401978998","file3":"1401978994"},"map_files_photo_id_array":[{"photo_id":"1401978998","filename":"file5"},{"photo_id":"1401978993","filename":"file2"},{"photo_id":"1401978996","filename":"file4"},{"photo_id":"1401978992","filename":"file1"},{"photo_id":"1401978991","filename":"file0"},{"photo_id":"1401978994","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401978998":["hashtag1","hashtag2"]},{"1401978992":["hashtag1","hashtag2"]},{"1401978991":["hashtag1","hashtag2"]},{"1401978994":["hashtag1","hashtag2"]},{"1401978993":["hashtag1","hashtag2"]},{"1401978996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401978998, 1401978992, 1401978991, 1401978994, 1401978993, 1401978996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07604479789734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:47:42.719954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_42_12309.jpg', '/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_46_1633.jpg', '/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_49_1808.jpg', '/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_54_1783.jpg', '/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_59_2670.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_07_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_42_12309.jpg
/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_46_1633.jpg
/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_49_1808.jpg
/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_54_1783.jpg
/home/pi/Desktop/images/03112025/22/28/image_03112025_22_28_59_2670.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_07_3018.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979014","1401979008","1401979016","1401979019","1401979004","1401979011"],"photo_ids_order":["1401979004","1401979008","1401979011","1401979014","1401979016","1401979019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eda448bf4031b44947f0f850ccff005d.jpg","text":"TemporaryFile(/tmp/multipartBody2023576655314804255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235724505,"filename":"image_03112025_22_28_54_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdf98d899519fe65a551c0a88f81c04f.jpg","text":"TemporaryFile(/tmp/multipartBody6399128523534362025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235724505,"filename":"image_03112025_22_28_46_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e60f405a32bdb3265dcc4028c9c5b8f.jpg","text":"TemporaryFile(/tmp/multipartBody3563376455981817411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235724505,"filename":"image_03112025_22_28_59_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6308cb5f570d19200d62bd1e8d8dd4c7.jpg","text":"TemporaryFile(/tmp/multipartBody6940867612103975514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235724505,"filename":"image_03112025_22_31_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/363465037261f8945b205d18d7647627.jpg","text":"TemporaryFile(/tmp/multipartBody1183049274480268339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235724505,"filename":"image_03112025_22_28_42_12309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8eadb1d04b5a7dcc0f9f76b5b1d57672.jpg","text":"TemporaryFile(/tmp/multipartBody7792449607651700043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235724505,"filename":"image_03112025_22_28_49_1808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979011","file1":"1401979008","file0":"1401979004","file4":"1401979016","file5":"1401979019","file3":"1401979014"},"map_files_photo_id_array":[{"photo_id":"1401979019","filename":"file5"},{"photo_id":"1401979011","filename":"file2"},{"photo_id":"1401979016","filename":"file4"},{"photo_id":"1401979008","filename":"file1"},{"photo_id":"1401979004","filename":"file0"},{"photo_id":"1401979014","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979014":["hashtag1","hashtag2"]},{"1401979008":["hashtag1","hashtag2"]},{"1401979016":["hashtag1","hashtag2"]},{"1401979019":["hashtag1","hashtag2"]},{"1401979004":["hashtag1","hashtag2"]},{"1401979011":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979014, 1401979008, 1401979016, 1401979019, 1401979004, 1401979011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.143457651138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:48:21.911181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_25_9861.jpg', '/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_35_9696.jpg', '/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_44_9666.jpg', '/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_55_10710.jpg', '/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_14_9693.jpg', '/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_25_10804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_25_9861.jpg
/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_35_9696.jpg
/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_44_9666.jpg
/home/pi/Desktop/images/01012026/03/06/image_01012026_03_06_55_10710.jpg
/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_14_9693.jpg
/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_25_10804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979020","1401979022","1401979028","1401979030","1401979024","1401979026"],"photo_ids_order":["1401979020","1401979022","1401979024","1401979026","1401979028","1401979030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/766cef5bd08287c50666f0d36de980fe.jpg","text":"TemporaryFile(/tmp/multipartBody9205844188323901169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235762533,"filename":"image_01012026_03_06_25_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bfed742d9168aba07d53fc183775706.jpg","text":"TemporaryFile(/tmp/multipartBody7197297506977893214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235762533,"filename":"image_01012026_03_06_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f92df94087373cf3cf1dc4776bc9c75.jpg","text":"TemporaryFile(/tmp/multipartBody4774613098364747545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235762533,"filename":"image_01012026_03_07_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ef16470e9336ebadc8114da08cefbfd.jpg","text":"TemporaryFile(/tmp/multipartBody8340713959275480929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235762533,"filename":"image_01012026_03_07_25_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de9c7573579b689f0e8df04a78560834.jpg","text":"TemporaryFile(/tmp/multipartBody3386202935887735152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235762533,"filename":"image_01012026_03_06_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/775b5d26dc255b0bf3bf9b020423a75d.jpg","text":"TemporaryFile(/tmp/multipartBody1374331533387276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235762533,"filename":"image_01012026_03_06_55_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979024","file1":"1401979022","file0":"1401979020","file4":"1401979028","file5":"1401979030","file3":"1401979026"},"map_files_photo_id_array":[{"photo_id":"1401979030","filename":"file5"},{"photo_id":"1401979024","filename":"file2"},{"photo_id":"1401979028","filename":"file4"},{"photo_id":"1401979022","filename":"file1"},{"photo_id":"1401979020","filename":"file0"},{"photo_id":"1401979026","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979020":["hashtag1","hashtag2"]},{"1401979022":["hashtag1","hashtag2"]},{"1401979028":["hashtag1","hashtag2"]},{"1401979030":["hashtag1","hashtag2"]},{"1401979024":["hashtag1","hashtag2"]},{"1401979026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979020, 1401979022, 1401979028, 1401979030, 1401979024, 1401979026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23319935798645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:49:03.074232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_35_9691.jpg', '/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_44_9677.jpg', '/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_55_10660.jpg', '/home/pi/Desktop/images/01012026/03/07/image_01012026_03_08_05_9596.jpg', '/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_14_9721.jpg', '/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_25_10624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_35_9691.jpg
/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_44_9677.jpg
/home/pi/Desktop/images/01012026/03/07/image_01012026_03_07_55_10660.jpg
/home/pi/Desktop/images/01012026/03/07/image_01012026_03_08_05_9596.jpg
/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_14_9721.jpg
/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_25_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":["1401979035","1401979034","1401979033","1401979036","1401979038","1401979032"],"photo_ids_order":["1401979032","1401979033","1401979034","1401979035","1401979036","1401979038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be7741aac0db18b80a06b41ba582a115.jpg","text":"TemporaryFile(/tmp/multipartBody923855316748202269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235803882,"filename":"image_01012026_03_08_05_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc20be3c9452d80aa0a185cd2ae64d54.jpg","text":"TemporaryFile(/tmp/multipartBody8563355871845723000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235803882,"filename":"image_01012026_03_07_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/312821c87328caad395b8f38599dfa76.jpg","text":"TemporaryFile(/tmp/multipartBody7042556221138210164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235803882,"filename":"image_01012026_03_07_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af198c7a8870c5efb9b791123469619c.jpg","text":"TemporaryFile(/tmp/multipartBody1875836510029717624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235803882,"filename":"image_01012026_03_08_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11cd7f7e1b4b747673109b65880e2ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8977162892745529600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235803882,"filename":"image_01012026_03_08_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b1e081f775b05f9fbcd6b74d816a6a7.jpg","text":"TemporaryFile(/tmp/multipartBody2409270141864361579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235803882,"filename":"image_01012026_03_07_35_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979034","file1":"1401979033","file0":"1401979032","file4":"1401979036","file5":"1401979038","file3":"1401979035"},"map_files_photo_id_array":[{"photo_id":"1401979038","filename":"file5"},{"photo_id":"1401979034","filename":"file2"},{"photo_id":"1401979036","filename":"file4"},{"photo_id":"1401979033","filename":"file1"},{"photo_id":"1401979032","filename":"file0"},{"photo_id":"1401979035","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979035":["hashtag1","hashtag2"]},{"1401979034":["hashtag1","hashtag2"]},{"1401979033":["hashtag1","hashtag2"]},{"1401979036":["hashtag1","hashtag2"]},{"1401979038":["hashtag1","hashtag2"]},{"1401979032":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979035, 1401979034, 1401979033, 1401979036, 1401979038, 1401979032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.331231355667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:49:42.017319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_22_9725.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_24_1790.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_28_1739.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_35_7949.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_39_1623.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_40_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_22_9725.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_24_1790.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_28_1739.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_35_7949.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_39_1623.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_40_1567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979052","1401979043","1401979046","1401979054","1401979048","1401979050"],"photo_ids_order":["1401979043","1401979046","1401979048","1401979050","1401979052","1401979054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6911babecccdbbbe6b1ef84b3e686e39.jpg","text":"TemporaryFile(/tmp/multipartBody8715866332961067988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235846276,"filename":"image_03112025_22_31_39_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23c02f593733051ceaea4fd8432e733d.jpg","text":"TemporaryFile(/tmp/multipartBody7066095770660182126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235846276,"filename":"image_03112025_22_31_22_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9148ed6ad36e6e1697d0e31d00e2b7e.jpg","text":"TemporaryFile(/tmp/multipartBody7818872225884751326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235846276,"filename":"image_03112025_22_31_24_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcff54827c024f82193c7b6704e64a18.jpg","text":"TemporaryFile(/tmp/multipartBody3447477722966101759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235846276,"filename":"image_03112025_22_31_40_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03c3f29616de8af1ee947afbf0e77a6e.jpg","text":"TemporaryFile(/tmp/multipartBody8811342265508897031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235846276,"filename":"image_03112025_22_31_28_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/735ccc8ce17dd8116f14a4e61b81c544.jpg","text":"TemporaryFile(/tmp/multipartBody1613635524339626890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235846276,"filename":"image_03112025_22_31_35_7949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979048","file1":"1401979046","file0":"1401979043","file4":"1401979052","file5":"1401979054","file3":"1401979050"},"map_files_photo_id_array":[{"photo_id":"1401979054","filename":"file5"},{"photo_id":"1401979048","filename":"file2"},{"photo_id":"1401979052","filename":"file4"},{"photo_id":"1401979046","filename":"file1"},{"photo_id":"1401979043","filename":"file0"},{"photo_id":"1401979050","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979052":["hashtag1","hashtag2"]},{"1401979043":["hashtag1","hashtag2"]},{"1401979046":["hashtag1","hashtag2"]},{"1401979054":["hashtag1","hashtag2"]},{"1401979048":["hashtag1","hashtag2"]},{"1401979050":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979052, 1401979043, 1401979046, 1401979054, 1401979048, 1401979050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23261284828186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:50:22.643361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_34_9208.jpg', '/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_45_10525.jpg', '/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_54_9684.jpg', '/home/pi/Desktop/images/01012026/03/08/image_01012026_03_09_05_10561.jpg', '/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_15_9701.jpg', '/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_25_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_34_9208.jpg
/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_45_10525.jpg
/home/pi/Desktop/images/01012026/03/08/image_01012026_03_08_54_9684.jpg
/home/pi/Desktop/images/01012026/03/08/image_01012026_03_09_05_10561.jpg
/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_15_9701.jpg
/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_25_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979070","1401979067","1401979057","1401979062","1401979065","1401979059"],"photo_ids_order":["1401979057","1401979059","1401979062","1401979065","1401979067","1401979070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b1b8e55d5d0012b68d7a0af99c2769d.jpg","text":"TemporaryFile(/tmp/multipartBody5910384077482761921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235883234,"filename":"image_01012026_03_09_25_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73cc5f4d916da49949850e9218f879e1.jpg","text":"TemporaryFile(/tmp/multipartBody1668137327476548973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235883234,"filename":"image_01012026_03_09_15_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3529b56bfe4970a433ac3a2c158ccb29.jpg","text":"TemporaryFile(/tmp/multipartBody2481778620720647794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235883234,"filename":"image_01012026_03_08_34_9208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0746327485822af1b6cec66e9f0b8503.jpg","text":"TemporaryFile(/tmp/multipartBody4655421701347464441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235883234,"filename":"image_01012026_03_08_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45ef62f4f3c814844f125d4d9ecdc7eb.jpg","text":"TemporaryFile(/tmp/multipartBody1796867998594970553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235883234,"filename":"image_01012026_03_09_05_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb66b7a90d16b0050b6adf8dc8354c0e.jpg","text":"TemporaryFile(/tmp/multipartBody1635538823821367754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235883234,"filename":"image_01012026_03_08_45_10525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979062","file1":"1401979059","file0":"1401979057","file4":"1401979067","file5":"1401979070","file3":"1401979065"},"map_files_photo_id_array":[{"photo_id":"1401979070","filename":"file5"},{"photo_id":"1401979062","filename":"file2"},{"photo_id":"1401979067","filename":"file4"},{"photo_id":"1401979059","filename":"file1"},{"photo_id":"1401979057","filename":"file0"},{"photo_id":"1401979065","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979070":["hashtag1","hashtag2"]},{"1401979067":["hashtag1","hashtag2"]},{"1401979057":["hashtag1","hashtag2"]},{"1401979062":["hashtag1","hashtag2"]},{"1401979065":["hashtag1","hashtag2"]},{"1401979059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979070, 1401979067, 1401979057, 1401979062, 1401979065, 1401979059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1698055267334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:51:03.380122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_34_9782.jpg', '/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_44_9769.jpg', '/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_55_10565.jpg', '/home/pi/Desktop/images/01012026/03/09/image_01012026_03_10_04_9581.jpg', '/home/pi/Desktop/images/01012026/03/10/image_01012026_03_10_15_10732.jpg', '/home/pi/Desktop/images/01012026/03/10/image_01012026_03_10_34_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_34_9782.jpg
/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_44_9769.jpg
/home/pi/Desktop/images/01012026/03/09/image_01012026_03_09_55_10565.jpg
/home/pi/Desktop/images/01012026/03/09/image_01012026_03_10_04_9581.jpg
/home/pi/Desktop/images/01012026/03/10/image_01012026_03_10_15_10732.jpg
/home/pi/Desktop/images/01012026/03/10/image_01012026_03_10_34_9632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979073","1401979072","1401979075","1401979074","1401979077","1401979071"],"photo_ids_order":["1401979071","1401979072","1401979073","1401979074","1401979075","1401979077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/674c67ebe954458f89924ef14c5a3f55.jpg","text":"TemporaryFile(/tmp/multipartBody1043257974377145471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235924070,"filename":"image_01012026_03_09_55_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/922a13ea6d39dd25035e1f8908bd8f35.jpg","text":"TemporaryFile(/tmp/multipartBody8788611297291151138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235924070,"filename":"image_01012026_03_09_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/067acfe4ee3b7a6616aca414d7b24783.jpg","text":"TemporaryFile(/tmp/multipartBody2708064586603283304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235924070,"filename":"image_01012026_03_10_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69bbd37a04fd99b03018c4eef8cc1761.jpg","text":"TemporaryFile(/tmp/multipartBody2711911846214674063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235924070,"filename":"image_01012026_03_10_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9c8a5a743ce679c2bfd8bf3a9651024.jpg","text":"TemporaryFile(/tmp/multipartBody3832765477010850003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235924070,"filename":"image_01012026_03_10_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13f8db370a7a4bcacffca2c5c4dee1c8.jpg","text":"TemporaryFile(/tmp/multipartBody2807440742697049010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235924070,"filename":"image_01012026_03_09_34_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979073","file1":"1401979072","file0":"1401979071","file4":"1401979075","file5":"1401979077","file3":"1401979074"},"map_files_photo_id_array":[{"photo_id":"1401979077","filename":"file5"},{"photo_id":"1401979073","filename":"file2"},{"photo_id":"1401979075","filename":"file4"},{"photo_id":"1401979072","filename":"file1"},{"photo_id":"1401979071","filename":"file0"},{"photo_id":"1401979074","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979073":["hashtag1","hashtag2"]},{"1401979072":["hashtag1","hashtag2"]},{"1401979075":["hashtag1","hashtag2"]},{"1401979074":["hashtag1","hashtag2"]},{"1401979077":["hashtag1","hashtag2"]},{"1401979071":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979073, 1401979072, 1401979075, 1401979074, 1401979077, 1401979071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.492048263549805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:51:42.817286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_42_1621.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_43_1654.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_49_2599.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_52_3582.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_55_2741.jpg', '/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_58_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/22/31/image_03112025_22_31_42_1621.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_43_1654.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_49_2599.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_52_3582.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_55_2741.jpg
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_31_58_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":["1401979085","1401979082","1401979084","1401979087","1401979086","1401979089"],"photo_ids_order":["1401979082","1401979084","1401979085","1401979086","1401979087","1401979089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02645bd86001257fc634abe5f5d05f69.jpg","text":"TemporaryFile(/tmp/multipartBody3386510040677552331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235964569,"filename":"image_03112025_22_31_49_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7f0d1eef249933a460d03cbafa09163.jpg","text":"TemporaryFile(/tmp/multipartBody9041525773593779677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235964569,"filename":"image_03112025_22_31_42_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29924c5d2abfd28e3806e1ddd7cb617f.jpg","text":"TemporaryFile(/tmp/multipartBody4742052835229827222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235964569,"filename":"image_03112025_22_31_43_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2bf50eb7a65f9f7f96b477e49f128d1.jpg","text":"TemporaryFile(/tmp/multipartBody1507831930403767445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235964569,"filename":"image_03112025_22_31_55_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78d8dc35142976785da250a104904214.jpg","text":"TemporaryFile(/tmp/multipartBody2924148400769699131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235964569,"filename":"image_03112025_22_31_52_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae06521128fd63b5f75e2e6d78a6a5de.jpg","text":"TemporaryFile(/tmp/multipartBody1413375318988221441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767235964569,"filename":"image_03112025_22_31_58_2568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979085","file1":"1401979084","file0":"1401979082","file4":"1401979087","file5":"1401979089","file3":"1401979086"},"map_files_photo_id_array":[{"photo_id":"1401979089","filename":"file5"},{"photo_id":"1401979085","filename":"file2"},{"photo_id":"1401979087","filename":"file4"},{"photo_id":"1401979084","filename":"file1"},{"photo_id":"1401979082","filename":"file0"},{"photo_id":"1401979086","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979085":["hashtag1","hashtag2"]},{"1401979082":["hashtag1","hashtag2"]},{"1401979084":["hashtag1","hashtag2"]},{"1401979087":["hashtag1","hashtag2"]},{"1401979086":["hashtag1","hashtag2"]},{"1401979089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979085, 1401979082, 1401979084, 1401979087, 1401979086, 1401979089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43540406227112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:52:21.985690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/10/image_01012026_03_10_45_10541.jpg', '/home/pi/Desktop/images/01012026/03/10/image_01012026_03_10_55_9710.jpg', '/home/pi/Desktop/images/01012026/03/10/image_01012026_03_11_04_9662.jpg', '/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_15_10640.jpg', '/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_25_9756.jpg', '/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_35_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/10/image_01012026_03_10_45_10541.jpg
/home/pi/Desktop/images/01012026/03/10/image_01012026_03_10_55_9710.jpg
/home/pi/Desktop/images/01012026/03/10/image_01012026_03_11_04_9662.jpg
/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_15_10640.jpg
/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_25_9756.jpg
/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_35_9875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979097","1401979091","1401979100","1401979090","1401979093","1401979095"],"photo_ids_order":["1401979090","1401979091","1401979093","1401979095","1401979097","1401979100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0ae5469600c451c77087b9f0144680e.jpg","text":"TemporaryFile(/tmp/multipartBody655660023132715026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236002577,"filename":"image_01012026_03_11_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fa998f2f0f26c17c394b6d3012bc3b3.jpg","text":"TemporaryFile(/tmp/multipartBody3443177125865159404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236002577,"filename":"image_01012026_03_10_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3ea430c3fdd26769efc3214ed02694b.jpg","text":"TemporaryFile(/tmp/multipartBody8791310899731727627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236002577,"filename":"image_01012026_03_11_35_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e006cc3ce1cf6691680311e7ba8c7e80.jpg","text":"TemporaryFile(/tmp/multipartBody8050634663527643034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236002577,"filename":"image_01012026_03_10_45_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a163549d76ab01a6edd74dbd5725631.jpg","text":"TemporaryFile(/tmp/multipartBody7263930984277866780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236002577,"filename":"image_01012026_03_11_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/862afde88c1ddc8321002946cdf47057.jpg","text":"TemporaryFile(/tmp/multipartBody936191089839179505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236002577,"filename":"image_01012026_03_11_15_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979093","file1":"1401979091","file0":"1401979090","file4":"1401979097","file5":"1401979100","file3":"1401979095"},"map_files_photo_id_array":[{"photo_id":"1401979100","filename":"file5"},{"photo_id":"1401979093","filename":"file2"},{"photo_id":"1401979097","filename":"file4"},{"photo_id":"1401979091","filename":"file1"},{"photo_id":"1401979090","filename":"file0"},{"photo_id":"1401979095","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979097":["hashtag1","hashtag2"]},{"1401979091":["hashtag1","hashtag2"]},{"1401979100":["hashtag1","hashtag2"]},{"1401979090":["hashtag1","hashtag2"]},{"1401979093":["hashtag1","hashtag2"]},{"1401979095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979097, 1401979091, 1401979100, 1401979090, 1401979093, 1401979095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.318835973739624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:53:02.788553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_44_9665.jpg', '/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_55_10589.jpg', '/home/pi/Desktop/images/01012026/03/11/image_01012026_03_12_04_9649.jpg', '/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_14_9625.jpg', '/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_25_10658.jpg', '/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_34_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_44_9665.jpg
/home/pi/Desktop/images/01012026/03/11/image_01012026_03_11_55_10589.jpg
/home/pi/Desktop/images/01012026/03/11/image_01012026_03_12_04_9649.jpg
/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_14_9625.jpg
/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_25_10658.jpg
/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_34_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":["1401979113","1401979106","1401979109","1401979108","1401979111","1401979110"],"photo_ids_order":["1401979106","1401979108","1401979109","1401979110","1401979111","1401979113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f654ea41df7071bb33cea730db62c619.jpg","text":"TemporaryFile(/tmp/multipartBody4655800361320684949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236043491,"filename":"image_01012026_03_12_34_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1904f22cf6f7f409d93b4b2110f5473.jpg","text":"TemporaryFile(/tmp/multipartBody7991383002030478265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236043491,"filename":"image_01012026_03_11_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8d6293bb432bdddfce19b96ad30845d.jpg","text":"TemporaryFile(/tmp/multipartBody5076487601431423593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236043491,"filename":"image_01012026_03_12_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96c378897c4f663f67e63ef4bdc0eafd.jpg","text":"TemporaryFile(/tmp/multipartBody13546202785508567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236043491,"filename":"image_01012026_03_11_55_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5474e48aedda4cff89afa35efdf0d542.jpg","text":"TemporaryFile(/tmp/multipartBody3176591904200942583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236043491,"filename":"image_01012026_03_12_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b037da2ff227a144eb0f0b1f55e5577f.jpg","text":"TemporaryFile(/tmp/multipartBody4008719363210343711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236043491,"filename":"image_01012026_03_12_14_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979109","file1":"1401979108","file0":"1401979106","file4":"1401979111","file5":"1401979113","file3":"1401979110"},"map_files_photo_id_array":[{"photo_id":"1401979113","filename":"file5"},{"photo_id":"1401979109","filename":"file2"},{"photo_id":"1401979111","filename":"file4"},{"photo_id":"1401979108","filename":"file1"},{"photo_id":"1401979106","filename":"file0"},{"photo_id":"1401979110","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979113":["hashtag1","hashtag2"]},{"1401979106":["hashtag1","hashtag2"]},{"1401979109":["hashtag1","hashtag2"]},{"1401979108":["hashtag1","hashtag2"]},{"1401979111":["hashtag1","hashtag2"]},{"1401979110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979113, 1401979106, 1401979109, 1401979108, 1401979111, 1401979110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.450711488723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:53:42.195555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/31/image_03112025_22_32_01_3606.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_33_1738.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_34_1650.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_36_1523.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_37_1796.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_41_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_32_01_3606.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_33_1738.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_34_1650.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_36_1523.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_37_1796.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_41_1686.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.6686861515045166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:54:03.010730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_44_9738.jpg', '/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_55_10734.jpg', '/home/pi/Desktop/images/01012026/03/12/image_01012026_03_13_05_9738.jpg', '/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_14_9619.jpg', '/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_25_10771.jpg', '/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_35_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_44_9738.jpg
/home/pi/Desktop/images/01012026/03/12/image_01012026_03_12_55_10734.jpg
/home/pi/Desktop/images/01012026/03/12/image_01012026_03_13_05_9738.jpg
/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_14_9619.jpg
/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_25_10771.jpg
/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_35_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":["1401979128","1401979124","1401979126","1401979129","1401979131","1401979125"],"photo_ids_order":["1401979124","1401979125","1401979126","1401979128","1401979129","1401979131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3726f378d4cbcd10b73c215dca7d95b4.jpg","text":"TemporaryFile(/tmp/multipartBody6729459185387341814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236103750,"filename":"image_01012026_03_13_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/991aed77645141a3859655a4334e73d7.jpg","text":"TemporaryFile(/tmp/multipartBody6823263168464851025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236103750,"filename":"image_01012026_03_12_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/649fb23f57687186493e36af36a68297.jpg","text":"TemporaryFile(/tmp/multipartBody5438865446904883764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236103750,"filename":"image_01012026_03_13_05_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e9d62978d59108724bc91de1f949819.jpg","text":"TemporaryFile(/tmp/multipartBody3900981770879195986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236103750,"filename":"image_01012026_03_13_25_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/231d3602c3e48e970cd47e7bab79706f.jpg","text":"TemporaryFile(/tmp/multipartBody1767244520712323243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236103750,"filename":"image_01012026_03_13_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d249fdd987d5e20c99b0c5730ca23f1.jpg","text":"TemporaryFile(/tmp/multipartBody1198161279963394575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236103750,"filename":"image_01012026_03_12_55_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979126","file1":"1401979125","file0":"1401979124","file4":"1401979129","file5":"1401979131","file3":"1401979128"},"map_files_photo_id_array":[{"photo_id":"1401979131","filename":"file5"},{"photo_id":"1401979126","filename":"file2"},{"photo_id":"1401979129","filename":"file4"},{"photo_id":"1401979125","filename":"file1"},{"photo_id":"1401979124","filename":"file0"},{"photo_id":"1401979128","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979128":["hashtag1","hashtag2"]},{"1401979124":["hashtag1","hashtag2"]},{"1401979126":["hashtag1","hashtag2"]},{"1401979129":["hashtag1","hashtag2"]},{"1401979131":["hashtag1","hashtag2"]},{"1401979125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979128, 1401979124, 1401979126, 1401979129, 1401979131, 1401979125)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.135679960250854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:55:03.324763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_44_9682.jpg', '/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_54_9737.jpg', '/home/pi/Desktop/images/01012026/03/13/image_01012026_03_14_05_10531.jpg', '/home/pi/Desktop/images/01012026/03/14/image_01012026_03_14_14_9611.jpg', '/home/pi/Desktop/images/01012026/03/14/image_01012026_03_14_35_9636.jpg', '/home/pi/Desktop/images/01012026/03/14/image_01012026_03_14_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_44_9682.jpg
/home/pi/Desktop/images/01012026/03/13/image_01012026_03_13_54_9737.jpg
/home/pi/Desktop/images/01012026/03/13/image_01012026_03_14_05_10531.jpg
/home/pi/Desktop/images/01012026/03/14/image_01012026_03_14_14_9611.jpg
/home/pi/Desktop/images/01012026/03/14/image_01012026_03_14_35_9636.jpg
/home/pi/Desktop/images/01012026/03/14/image_01012026_03_14_44_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979140","1401979139","1401979141","1401979138","1401979143","1401979137"],"photo_ids_order":["1401979137","1401979138","1401979139","1401979140","1401979141","1401979143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/143a9a4581c3ef038a610aeee512c1d7.jpg","text":"TemporaryFile(/tmp/multipartBody2434695640904134082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236163980,"filename":"image_01012026_03_14_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8b5a56a684981dc1b428daf637e1b88.jpg","text":"TemporaryFile(/tmp/multipartBody6483746305019868311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236163980,"filename":"image_01012026_03_14_05_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c3aff226af437cb9de10cb5c5ec70fa.jpg","text":"TemporaryFile(/tmp/multipartBody1715704844658339184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236163980,"filename":"image_01012026_03_14_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/739b6b0a802606f81e7db4f72ec14f4c.jpg","text":"TemporaryFile(/tmp/multipartBody2749346691217633099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236163980,"filename":"image_01012026_03_13_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1aca8ea3cab4bc8688aca0f1e8a9b3a6.jpg","text":"TemporaryFile(/tmp/multipartBody8030085848914747125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236163980,"filename":"image_01012026_03_14_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc55e17ebdabef0463605d07c072d507.jpg","text":"TemporaryFile(/tmp/multipartBody3856814880756712026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236163980,"filename":"image_01012026_03_13_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979139","file1":"1401979138","file0":"1401979137","file4":"1401979141","file5":"1401979143","file3":"1401979140"},"map_files_photo_id_array":[{"photo_id":"1401979143","filename":"file5"},{"photo_id":"1401979139","filename":"file2"},{"photo_id":"1401979141","filename":"file4"},{"photo_id":"1401979138","filename":"file1"},{"photo_id":"1401979137","filename":"file0"},{"photo_id":"1401979140","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979140":["hashtag1","hashtag2"]},{"1401979139":["hashtag1","hashtag2"]},{"1401979141":["hashtag1","hashtag2"]},{"1401979138":["hashtag1","hashtag2"]},{"1401979143":["hashtag1","hashtag2"]},{"1401979137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979140, 1401979139, 1401979141, 1401979138, 1401979143, 1401979137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57255005836487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:55:42.543673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/31/image_03112025_22_32_01_3606.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_33_1738.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_34_1650.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_36_1523.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_37_1796.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_41_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/31/image_03112025_22_32_01_3606.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_33_1738.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_34_1650.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_36_1523.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_37_1796.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_41_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979151","1401979154","1401979148","1401979150","1401979153","1401979152"],"photo_ids_order":["1401979148","1401979150","1401979151","1401979152","1401979153","1401979154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0836b28babae97d9a8da569317b4d21d.jpg","text":"TemporaryFile(/tmp/multipartBody2827746603989663093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236204178,"filename":"image_03112025_22_32_34_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4285cf82061c1b09e9848e3604fbc4be.jpg","text":"TemporaryFile(/tmp/multipartBody8497326383782630946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236204178,"filename":"image_03112025_22_32_41_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4148c23fc680d53972e36ed4bb714848.jpg","text":"TemporaryFile(/tmp/multipartBody6833419578921850207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236204178,"filename":"image_03112025_22_32_01_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43275bf8cb2902aeb4adf199a7199013.jpg","text":"TemporaryFile(/tmp/multipartBody3677730283912515968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236204178,"filename":"image_03112025_22_32_33_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2d21b9f2efa8c13371e1ec4cd7152e3.jpg","text":"TemporaryFile(/tmp/multipartBody312738860350533024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236204178,"filename":"image_03112025_22_32_37_1796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2dbd9871abfc4de88761b148510542e.jpg","text":"TemporaryFile(/tmp/multipartBody196372259080787169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236204178,"filename":"image_03112025_22_32_36_1523.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979151","file1":"1401979150","file0":"1401979148","file4":"1401979153","file5":"1401979154","file3":"1401979152"},"map_files_photo_id_array":[{"photo_id":"1401979154","filename":"file5"},{"photo_id":"1401979151","filename":"file2"},{"photo_id":"1401979153","filename":"file4"},{"photo_id":"1401979150","filename":"file1"},{"photo_id":"1401979148","filename":"file0"},{"photo_id":"1401979152","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979151":["hashtag1","hashtag2"]},{"1401979154":["hashtag1","hashtag2"]},{"1401979148":["hashtag1","hashtag2"]},{"1401979150":["hashtag1","hashtag2"]},{"1401979153":["hashtag1","hashtag2"]},{"1401979152":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979151, 1401979154, 1401979148, 1401979150, 1401979153, 1401979152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88485860824585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 03:56:22.684246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/14/image_01012026_03_14_55_10632.jpg', '/home/pi/Desktop/images/01012026/03/14/image_01012026_03_15_05_9541.jpg', '/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_14_9817.jpg', '/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_24_9829.jpg', '/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_35_10803.jpg', '/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_45_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/14/image_01012026_03_14_55_10632.jpg
/home/pi/Desktop/images/01012026/03/14/image_01012026_03_15_05_9541.jpg
/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_14_9817.jpg
/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_24_9829.jpg
/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_35_10803.jpg
/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_45_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":["1401979160","1401979162","1401979165","1401979156","1401979164","1401979158"],"photo_ids_order":["1401979156","1401979158","1401979160","1401979162","1401979164","1401979165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dd3b9ae5b8c315d6ccb49e5b325614f.jpg","text":"TemporaryFile(/tmp/multipartBody931085796110778403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236243279,"filename":"image_01012026_03_15_14_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b163dc7dea1c8a785a55c6d342f4883.jpg","text":"TemporaryFile(/tmp/multipartBody1612093852187126097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236243279,"filename":"image_01012026_03_15_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3226c4ca0d6c2eb599f8d9a1415f946.jpg","text":"TemporaryFile(/tmp/multipartBody3442359587823470514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236243279,"filename":"image_01012026_03_15_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8fc6ab38dc886bd3993be67091001874.jpg","text":"TemporaryFile(/tmp/multipartBody4231043326911815808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236243279,"filename":"image_01012026_03_14_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eda492c00f69ec7cc921a1cfe71e899d.jpg","text":"TemporaryFile(/tmp/multipartBody8973923264433440584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236243279,"filename":"image_01012026_03_15_35_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83211da602844815e4dd45a33d5c33d1.jpg","text":"TemporaryFile(/tmp/multipartBody884446387160240728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236243279,"filename":"image_01012026_03_15_05_9541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979160","file1":"1401979158","file0":"1401979156","file4":"1401979164","file5":"1401979165","file3":"1401979162"},"map_files_photo_id_array":[{"photo_id":"1401979165","filename":"file5"},{"photo_id":"1401979160","filename":"file2"},{"photo_id":"1401979164","filename":"file4"},{"photo_id":"1401979158","filename":"file1"},{"photo_id":"1401979156","filename":"file0"},{"photo_id":"1401979162","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979160":["hashtag1","hashtag2"]},{"1401979162":["hashtag1","hashtag2"]},{"1401979165":["hashtag1","hashtag2"]},{"1401979156":["hashtag1","hashtag2"]},{"1401979164":["hashtag1","hashtag2"]},{"1401979158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979160, 1401979162, 1401979165, 1401979156, 1401979164, 1401979158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48134684562683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:57:02.686596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_54_9750.jpg', '/home/pi/Desktop/images/01012026/03/15/image_01012026_03_16_04_9740.jpg', '/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_15_10823.jpg', '/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_25_9841.jpg', '/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_34_9535.jpg', '/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_44_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/15/image_01012026_03_15_54_9750.jpg
/home/pi/Desktop/images/01012026/03/15/image_01012026_03_16_04_9740.jpg
/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_15_10823.jpg
/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_25_9841.jpg
/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_34_9535.jpg
/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_44_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":["1401979172","1401979166","1401979169","1401979168","1401979167","1401979170"],"photo_ids_order":["1401979166","1401979167","1401979168","1401979169","1401979170","1401979172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9644cabe48e24b0ade7f14521d7a1ac9.jpg","text":"TemporaryFile(/tmp/multipartBody6833220507628286331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236283358,"filename":"image_01012026_03_16_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c84813009ba35a63fa3e4817fc19815e.jpg","text":"TemporaryFile(/tmp/multipartBody6354770699172055726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236283358,"filename":"image_01012026_03_15_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92d3136e143ebf6ea09ed10fcd7082c5.jpg","text":"TemporaryFile(/tmp/multipartBody6985319898798509043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236283358,"filename":"image_01012026_03_16_25_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a04548851a93cc7b491354e63c2ac0a1.jpg","text":"TemporaryFile(/tmp/multipartBody5050473881477979220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236283358,"filename":"image_01012026_03_16_15_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/078b94812771f1dd8bafc531cdec7d51.jpg","text":"TemporaryFile(/tmp/multipartBody5613591498484583026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236283358,"filename":"image_01012026_03_16_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d34e319d04b52d741b26e390db2419ee.jpg","text":"TemporaryFile(/tmp/multipartBody4889382595990555453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236283358,"filename":"image_01012026_03_16_34_9535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979168","file1":"1401979167","file0":"1401979166","file4":"1401979170","file5":"1401979172","file3":"1401979169"},"map_files_photo_id_array":[{"photo_id":"1401979172","filename":"file5"},{"photo_id":"1401979168","filename":"file2"},{"photo_id":"1401979170","filename":"file4"},{"photo_id":"1401979167","filename":"file1"},{"photo_id":"1401979166","filename":"file0"},{"photo_id":"1401979169","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979172":["hashtag1","hashtag2"]},{"1401979166":["hashtag1","hashtag2"]},{"1401979169":["hashtag1","hashtag2"]},{"1401979168":["hashtag1","hashtag2"]},{"1401979167":["hashtag1","hashtag2"]},{"1401979170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979172, 1401979166, 1401979169, 1401979168, 1401979167, 1401979170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35291647911072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 03:57:41.995246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_42_1589.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_44_1688.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_49_1626.jpg', '/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_58_2815.jpg', '/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_04_2729.jpg', '/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_09_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/22/32/image_03112025_22_32_42_1589.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_44_1688.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_49_1626.jpg
/home/pi/Desktop/images/03112025/22/32/image_03112025_22_32_58_2815.jpg
/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_04_2729.jpg
/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_09_2659.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979181","1401979180","1401979183","1401979177","1401979182","1401979179"],"photo_ids_order":["1401979177","1401979179","1401979180","1401979181","1401979182","1401979183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e1ca305a972bea0d74b636444e14231.jpg","text":"TemporaryFile(/tmp/multipartBody1764141068779027924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236323759,"filename":"image_03112025_22_32_58_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1552a3f589a8b25d90c520a12c093018.jpg","text":"TemporaryFile(/tmp/multipartBody4331118690600974417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236323759,"filename":"image_03112025_22_32_49_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38a3621c089936a5281c1991b58cb437.jpg","text":"TemporaryFile(/tmp/multipartBody764597309329424074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236323759,"filename":"image_03112025_22_33_09_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/459dc9057b0959b1f50cc39d5a68d2a6.jpg","text":"TemporaryFile(/tmp/multipartBody3335344291733252112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236323759,"filename":"image_03112025_22_32_42_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1633ba9f7241f90382dda238450208d7.jpg","text":"TemporaryFile(/tmp/multipartBody3190655831362925243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236323759,"filename":"image_03112025_22_33_04_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa15873f978fca3edd6a0689ce401fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7296913677406019993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236323759,"filename":"image_03112025_22_32_44_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979180","file1":"1401979179","file0":"1401979177","file4":"1401979182","file5":"1401979183","file3":"1401979181"},"map_files_photo_id_array":[{"photo_id":"1401979183","filename":"file5"},{"photo_id":"1401979180","filename":"file2"},{"photo_id":"1401979182","filename":"file4"},{"photo_id":"1401979179","filename":"file1"},{"photo_id":"1401979177","filename":"file0"},{"photo_id":"1401979181","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979181":["hashtag1","hashtag2"]},{"1401979180":["hashtag1","hashtag2"]},{"1401979183":["hashtag1","hashtag2"]},{"1401979177":["hashtag1","hashtag2"]},{"1401979182":["hashtag1","hashtag2"]},{"1401979179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979181, 1401979180, 1401979183, 1401979177, 1401979182, 1401979179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84128999710083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 03:59:03.269565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_55_10739.jpg', '/home/pi/Desktop/images/01012026/03/16/image_01012026_03_17_05_9815.jpg', '/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_14_9603.jpg', '/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_24_9874.jpg', '/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_35_10834.jpg', '/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_44_9427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/16/image_01012026_03_16_55_10739.jpg
/home/pi/Desktop/images/01012026/03/16/image_01012026_03_17_05_9815.jpg
/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_14_9603.jpg
/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_24_9874.jpg
/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_35_10834.jpg
/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_44_9427.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":["1401979200","1401979198","1401979192","1401979191","1401979185","1401979188"],"photo_ids_order":["1401979185","1401979188","1401979191","1401979192","1401979198","1401979200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1013baa5a33ca095c4f1dd1e185d55e7.jpg","text":"TemporaryFile(/tmp/multipartBody2860280317312349762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236404048,"filename":"image_01012026_03_17_44_9427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bab65664a0921315fbc63dcdfb25ee6b.jpg","text":"TemporaryFile(/tmp/multipartBody1987726931996396614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236404048,"filename":"image_01012026_03_17_35_10834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a6f8c6162f9b7caaea2e8cef8d2d411.jpg","text":"TemporaryFile(/tmp/multipartBody4331111558776108876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236404048,"filename":"image_01012026_03_17_24_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e1bf0bd588fe99c2f74a790e02379c.jpg","text":"TemporaryFile(/tmp/multipartBody2708989492189672917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236404048,"filename":"image_01012026_03_17_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e02fa4897a142dbe293135f1a0283c10.jpg","text":"TemporaryFile(/tmp/multipartBody5106369694940118609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236404048,"filename":"image_01012026_03_16_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7898fe5379a9f1eccde8130e619113b5.jpg","text":"TemporaryFile(/tmp/multipartBody5939738788922290892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236404048,"filename":"image_01012026_03_17_05_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979191","file1":"1401979188","file0":"1401979185","file4":"1401979198","file5":"1401979200","file3":"1401979192"},"map_files_photo_id_array":[{"photo_id":"1401979200","filename":"file5"},{"photo_id":"1401979191","filename":"file2"},{"photo_id":"1401979198","filename":"file4"},{"photo_id":"1401979188","filename":"file1"},{"photo_id":"1401979185","filename":"file0"},{"photo_id":"1401979192","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979200":["hashtag1","hashtag2"]},{"1401979198":["hashtag1","hashtag2"]},{"1401979192":["hashtag1","hashtag2"]},{"1401979191":["hashtag1","hashtag2"]},{"1401979185":["hashtag1","hashtag2"]},{"1401979188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979200, 1401979198, 1401979192, 1401979191, 1401979185, 1401979188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.049379110336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:00:12.636769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_16_2595.jpg', '/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_19_3593.jpg', '/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_28_8419.jpg', '/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_52_3526.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_01_2893.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_04_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/22/33/image_03112025_22_33_16_2595.jpg
/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_19_3593.jpg
/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_28_8419.jpg
/home/pi/Desktop/images/03112025/22/33/image_03112025_22_33_52_3526.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_01_2893.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_04_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979212","1401979206","1401979211","1401979208","1401979210","1401979204"],"photo_ids_order":["1401979204","1401979206","1401979208","1401979210","1401979211","1401979212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/147fe2d4dae1e60b27a33272ceacf543.jpg","text":"TemporaryFile(/tmp/multipartBody1632138265980143407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236474270,"filename":"image_03112025_22_34_04_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ea51803f6a5d49bcdb898906d969a00.jpg","text":"TemporaryFile(/tmp/multipartBody5561070591094464112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236474270,"filename":"image_03112025_22_33_19_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ad3923bbf1c31c683b177528f1ee8ba.jpg","text":"TemporaryFile(/tmp/multipartBody221565789444527547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236474270,"filename":"image_03112025_22_34_01_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/942e52b2a5859e21bfc55b93eda77d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5944304560090056182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236474270,"filename":"image_03112025_22_33_28_8419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecb0bdf64d96f7bf6c68f755f965ab8c.jpg","text":"TemporaryFile(/tmp/multipartBody5502220997866709134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236474270,"filename":"image_03112025_22_33_52_3526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30a117ac80385e97a5bac866bdd32f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6797804299425164525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236474270,"filename":"image_03112025_22_33_16_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979208","file1":"1401979206","file0":"1401979204","file4":"1401979211","file5":"1401979212","file3":"1401979210"},"map_files_photo_id_array":[{"photo_id":"1401979212","filename":"file5"},{"photo_id":"1401979208","filename":"file2"},{"photo_id":"1401979211","filename":"file4"},{"photo_id":"1401979206","filename":"file1"},{"photo_id":"1401979204","filename":"file0"},{"photo_id":"1401979210","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979212":["hashtag1","hashtag2"]},{"1401979206":["hashtag1","hashtag2"]},{"1401979211":["hashtag1","hashtag2"]},{"1401979208":["hashtag1","hashtag2"]},{"1401979210":["hashtag1","hashtag2"]},{"1401979204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979212, 1401979206, 1401979211, 1401979208, 1401979210, 1401979204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.31601643562317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:01:03.203816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_55_10580.jpg', '/home/pi/Desktop/images/01012026/03/17/image_01012026_03_18_04_9197.jpg', '/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_15_10771.jpg', '/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_25_9661.jpg', '/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_34_9705.jpg', '/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_45_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/17/image_01012026_03_17_55_10580.jpg
/home/pi/Desktop/images/01012026/03/17/image_01012026_03_18_04_9197.jpg
/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_15_10771.jpg
/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_25_9661.jpg
/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_34_9705.jpg
/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_45_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":["1401979227","1401979229","1401979220","1401979223","1401979225","1401979230"],"photo_ids_order":["1401979220","1401979223","1401979225","1401979227","1401979229","1401979230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87f1767f21ec306a7abc14cb34cf9e1c.jpg","text":"TemporaryFile(/tmp/multipartBody3032803567882400764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236523894,"filename":"image_01012026_03_18_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c37b560aeb5323c7556e107761e3f4f.jpg","text":"TemporaryFile(/tmp/multipartBody2717686118233629071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236523894,"filename":"image_01012026_03_18_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1eddff616978fa4ac185d077271215a3.jpg","text":"TemporaryFile(/tmp/multipartBody280530460217132098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236523894,"filename":"image_01012026_03_17_55_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f65a603e75ab4689e1ee4635a1ab8e25.jpg","text":"TemporaryFile(/tmp/multipartBody1678295157609329029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236523894,"filename":"image_01012026_03_18_04_9197.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6c3ebccfa13f7bdbcefefe65af938dc.jpg","text":"TemporaryFile(/tmp/multipartBody3547134785900067762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236523894,"filename":"image_01012026_03_18_15_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/771324669a83227489f8488c9aa5201b.jpg","text":"TemporaryFile(/tmp/multipartBody3939859037332907074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236523894,"filename":"image_01012026_03_18_45_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979225","file1":"1401979223","file0":"1401979220","file4":"1401979229","file5":"1401979230","file3":"1401979227"},"map_files_photo_id_array":[{"photo_id":"1401979230","filename":"file5"},{"photo_id":"1401979225","filename":"file2"},{"photo_id":"1401979229","filename":"file4"},{"photo_id":"1401979223","filename":"file1"},{"photo_id":"1401979220","filename":"file0"},{"photo_id":"1401979227","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979227":["hashtag1","hashtag2"]},{"1401979229":["hashtag1","hashtag2"]},{"1401979220":["hashtag1","hashtag2"]},{"1401979223":["hashtag1","hashtag2"]},{"1401979225":["hashtag1","hashtag2"]},{"1401979230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979227, 1401979229, 1401979220, 1401979223, 1401979225, 1401979230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.533377170562744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:01:42.833190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_07_3558.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_10_2558.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_25_15536.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_31_4303.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_40_8681.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_41_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_07_3558.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_10_2558.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_25_15536.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_31_4303.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_40_8681.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_41_1569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979233","1401979247","1401979242","1401979236","1401979245","1401979239"],"photo_ids_order":["1401979233","1401979236","1401979239","1401979242","1401979245","1401979247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd9633710258033081b01127c016a2af.jpg","text":"TemporaryFile(/tmp/multipartBody2172749289642244080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236564576,"filename":"image_03112025_22_34_07_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e832604a8d0e1691aed26ab6edb54033.jpg","text":"TemporaryFile(/tmp/multipartBody4462557313141815700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236564576,"filename":"image_03112025_22_34_41_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1180a016f682acff4ecc3b892e518706.jpg","text":"TemporaryFile(/tmp/multipartBody9197851339972893321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236564576,"filename":"image_03112025_22_34_31_4303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1665dac5d129155773e89d3187ac657c.jpg","text":"TemporaryFile(/tmp/multipartBody7090165812303547644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236564576,"filename":"image_03112025_22_34_10_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d297198d2ac9d17417cac9f0c93b1484.jpg","text":"TemporaryFile(/tmp/multipartBody7403646138430594600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236564576,"filename":"image_03112025_22_34_40_8681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de004bab2349476e14152ea7abcd8b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4899584560318318275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236564576,"filename":"image_03112025_22_34_25_15536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979239","file1":"1401979236","file0":"1401979233","file4":"1401979245","file5":"1401979247","file3":"1401979242"},"map_files_photo_id_array":[{"photo_id":"1401979247","filename":"file5"},{"photo_id":"1401979239","filename":"file2"},{"photo_id":"1401979245","filename":"file4"},{"photo_id":"1401979236","filename":"file1"},{"photo_id":"1401979233","filename":"file0"},{"photo_id":"1401979242","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979233":["hashtag1","hashtag2"]},{"1401979247":["hashtag1","hashtag2"]},{"1401979242":["hashtag1","hashtag2"]},{"1401979236":["hashtag1","hashtag2"]},{"1401979245":["hashtag1","hashtag2"]},{"1401979239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979233, 1401979247, 1401979242, 1401979236, 1401979245, 1401979239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96215796470642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:02:21.999602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_55_9654.jpg', '/home/pi/Desktop/images/01012026/03/18/image_01012026_03_19_04_9675.jpg', '/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_14_9815.jpg', '/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_25_10871.jpg', '/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_35_9623.jpg', '/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_44_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/18/image_01012026_03_18_55_9654.jpg
/home/pi/Desktop/images/01012026/03/18/image_01012026_03_19_04_9675.jpg
/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_14_9815.jpg
/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_25_10871.jpg
/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_35_9623.jpg
/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_44_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":["1401979256","1401979252","1401979260","1401979254","1401979248","1401979251"],"photo_ids_order":["1401979248","1401979251","1401979252","1401979254","1401979256","1401979260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c91f57f0114a04b669a61fa081eb7c66.jpg","text":"TemporaryFile(/tmp/multipartBody1896251215004457008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236602608,"filename":"image_01012026_03_19_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f73d6b418b71fcd6a69f3a66024182b.jpg","text":"TemporaryFile(/tmp/multipartBody2657240581806504333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236602608,"filename":"image_01012026_03_19_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0831833ffab943a8a62beabd43e6b66.jpg","text":"TemporaryFile(/tmp/multipartBody7764066318865128144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236602608,"filename":"image_01012026_03_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/2026/1/1/45c644680f7fdb05722a97de331987b3.jpg","text":"TemporaryFile(/tmp/multipartBody6195177491079488550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236602608,"filename":"image_01012026_03_19_25_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eca592f362f977e8a64e073ec01a1cfa.jpg","text":"TemporaryFile(/tmp/multipartBody987939250060580159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236602608,"filename":"image_01012026_03_18_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5594fc3559db50ea279036ec3f2edd4b.jpg","text":"TemporaryFile(/tmp/multipartBody342955780954327591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236602608,"filename":"image_01012026_03_19_04_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979252","file1":"1401979251","file0":"1401979248","file4":"1401979256","file5":"1401979260","file3":"1401979254"},"map_files_photo_id_array":[{"photo_id":"1401979260","filename":"file5"},{"photo_id":"1401979252","filename":"file2"},{"photo_id":"1401979256","filename":"file4"},{"photo_id":"1401979251","filename":"file1"},{"photo_id":"1401979248","filename":"file0"},{"photo_id":"1401979254","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979256":["hashtag1","hashtag2"]},{"1401979252":["hashtag1","hashtag2"]},{"1401979260":["hashtag1","hashtag2"]},{"1401979254":["hashtag1","hashtag2"]},{"1401979248":["hashtag1","hashtag2"]},{"1401979251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979256, 1401979252, 1401979260, 1401979254, 1401979248, 1401979251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1020393371582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:03:02.900791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_55_10459.jpg', '/home/pi/Desktop/images/01012026/03/19/image_01012026_03_20_04_9577.jpg', '/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_15_10632.jpg', '/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_25_10018.jpg', '/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_35_9787.jpg', '/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_44_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/19/image_01012026_03_19_55_10459.jpg
/home/pi/Desktop/images/01012026/03/19/image_01012026_03_20_04_9577.jpg
/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_15_10632.jpg
/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_25_10018.jpg
/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_35_9787.jpg
/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_44_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":["1401979268","1401979270","1401979267","1401979272","1401979266","1401979269"],"photo_ids_order":["1401979266","1401979267","1401979268","1401979269","1401979270","1401979272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d79493a63866241fab983f40ecbcb83.jpg","text":"TemporaryFile(/tmp/multipartBody9090079229953604524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236643543,"filename":"image_01012026_03_20_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d01f6c4159ff8af2beb1dc1f05128e8d.jpg","text":"TemporaryFile(/tmp/multipartBody3948245425022545939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236643543,"filename":"image_01012026_03_20_35_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f50f831dda6d8e1052d8964e07c4f33a.jpg","text":"TemporaryFile(/tmp/multipartBody1032482805040955925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236643543,"filename":"image_01012026_03_20_04_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb7667b322de8a9c517fb65d3b2bc5ed.jpg","text":"TemporaryFile(/tmp/multipartBody57550474288058746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236643543,"filename":"image_01012026_03_20_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58c8879f0ae16cba9426a5a71a9071b3.jpg","text":"TemporaryFile(/tmp/multipartBody7070724643526375310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236643543,"filename":"image_01012026_03_19_55_10459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3339c3760ee5cc8823eac2fc36eccfa9.jpg","text":"TemporaryFile(/tmp/multipartBody96431536433551684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236643543,"filename":"image_01012026_03_20_25_10018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979268","file1":"1401979267","file0":"1401979266","file4":"1401979270","file5":"1401979272","file3":"1401979269"},"map_files_photo_id_array":[{"photo_id":"1401979272","filename":"file5"},{"photo_id":"1401979268","filename":"file2"},{"photo_id":"1401979270","filename":"file4"},{"photo_id":"1401979267","filename":"file1"},{"photo_id":"1401979266","filename":"file0"},{"photo_id":"1401979269","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979268":["hashtag1","hashtag2"]},{"1401979270":["hashtag1","hashtag2"]},{"1401979267":["hashtag1","hashtag2"]},{"1401979272":["hashtag1","hashtag2"]},{"1401979266":["hashtag1","hashtag2"]},{"1401979269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979268, 1401979270, 1401979267, 1401979272, 1401979266, 1401979269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.379270792007446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:03:42.180555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_52_10170.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_55_1803.jpg', '/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_58_2918.jpg', '/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_07_3013.jpg', '/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_13_2667.jpg', '/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_16_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/22/34/image_03112025_22_34_52_10170.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_55_1803.jpg
/home/pi/Desktop/images/03112025/22/34/image_03112025_22_34_58_2918.jpg
/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_07_3013.jpg
/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_13_2667.jpg
/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_16_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":["1401979283","1401979289","1401979285","1401979287","1401979281","1401979278"],"photo_ids_order":["1401979278","1401979281","1401979283","1401979285","1401979287","1401979289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9179f8f5b1a348e834ffc6515c19b9b9.jpg","text":"TemporaryFile(/tmp/multipartBody1289773572788325307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236683922,"filename":"image_03112025_22_34_58_2918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89587c359de6e5393dc4c327039a256e.jpg","text":"TemporaryFile(/tmp/multipartBody6555802268487856105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236683922,"filename":"image_03112025_22_35_16_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c01436b13319309f7881dbc53fa2987b.jpg","text":"TemporaryFile(/tmp/multipartBody1301601868482320517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236683922,"filename":"image_03112025_22_35_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/454303b0f7154266b7a44056614f78ff.jpg","text":"TemporaryFile(/tmp/multipartBody5535797006006769147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236683922,"filename":"image_03112025_22_35_13_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3dddb45a0b06c5c4da65cdc5e61d73ee.jpg","text":"TemporaryFile(/tmp/multipartBody4349494696534750682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236683922,"filename":"image_03112025_22_34_55_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e57fa268a113c0449dc4abbba3530439.jpg","text":"TemporaryFile(/tmp/multipartBody5564845788946260067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236683922,"filename":"image_03112025_22_34_52_10170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979283","file1":"1401979281","file0":"1401979278","file4":"1401979287","file5":"1401979289","file3":"1401979285"},"map_files_photo_id_array":[{"photo_id":"1401979289","filename":"file5"},{"photo_id":"1401979283","filename":"file2"},{"photo_id":"1401979287","filename":"file4"},{"photo_id":"1401979281","filename":"file1"},{"photo_id":"1401979278","filename":"file0"},{"photo_id":"1401979285","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979283":["hashtag1","hashtag2"]},{"1401979289":["hashtag1","hashtag2"]},{"1401979285":["hashtag1","hashtag2"]},{"1401979287":["hashtag1","hashtag2"]},{"1401979281":["hashtag1","hashtag2"]},{"1401979278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979283, 1401979289, 1401979285, 1401979287, 1401979281, 1401979278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10906672477722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:04:22.343548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_54_9767.jpg', '/home/pi/Desktop/images/01012026/03/20/image_01012026_03_21_05_10748.jpg', '/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_15_9634.jpg', '/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_24_9752.jpg', '/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_35_10740.jpg', '/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_45_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/20/image_01012026_03_20_54_9767.jpg
/home/pi/Desktop/images/01012026/03/20/image_01012026_03_21_05_10748.jpg
/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_15_9634.jpg
/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_24_9752.jpg
/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_35_10740.jpg
/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_45_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":["1401979295","1401979301","1401979291","1401979299","1401979293","1401979296"],"photo_ids_order":["1401979291","1401979293","1401979295","1401979296","1401979299","1401979301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0330efb036b61e2d390c4f998d852be.jpg","text":"TemporaryFile(/tmp/multipartBody4430803988968183566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236722971,"filename":"image_01012026_03_21_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5460f3bd40dedb3d495d786a2c690057.jpg","text":"TemporaryFile(/tmp/multipartBody2591079694138771958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236722971,"filename":"image_01012026_03_21_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c087fcfbb64860eb6fb4b9ce2d26c65e.jpg","text":"TemporaryFile(/tmp/multipartBody1434444508222921639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236722971,"filename":"image_01012026_03_20_54_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c2cb00fba16bd0a46a65242955f7d44.jpg","text":"TemporaryFile(/tmp/multipartBody6508443939084383948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236722971,"filename":"image_01012026_03_21_35_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8bdafd0852408cbe0c7ded9306632f3.jpg","text":"TemporaryFile(/tmp/multipartBody892869076597726450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236722971,"filename":"image_01012026_03_21_05_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea11f1980b9b2cbbf02e808720fc8449.jpg","text":"TemporaryFile(/tmp/multipartBody1072826752511291383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236722971,"filename":"image_01012026_03_21_24_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979295","file1":"1401979293","file0":"1401979291","file4":"1401979299","file5":"1401979301","file3":"1401979296"},"map_files_photo_id_array":[{"photo_id":"1401979301","filename":"file5"},{"photo_id":"1401979295","filename":"file2"},{"photo_id":"1401979299","filename":"file4"},{"photo_id":"1401979293","filename":"file1"},{"photo_id":"1401979291","filename":"file0"},{"photo_id":"1401979296","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979295":["hashtag1","hashtag2"]},{"1401979301":["hashtag1","hashtag2"]},{"1401979291":["hashtag1","hashtag2"]},{"1401979299":["hashtag1","hashtag2"]},{"1401979293":["hashtag1","hashtag2"]},{"1401979296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979295, 1401979301, 1401979291, 1401979299, 1401979293, 1401979296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56517148017883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:05:03.224800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_54_9597.jpg', '/home/pi/Desktop/images/01012026/03/21/image_01012026_03_22_05_10639.jpg', '/home/pi/Desktop/images/01012026/03/22/image_01012026_03_22_24_9904.jpg', '/home/pi/Desktop/images/01012026/03/22/image_01012026_03_22_34_9678.jpg', '/home/pi/Desktop/images/01012026/03/22/image_01012026_03_22_45_10459.jpg', '/home/pi/Desktop/images/01012026/03/22/image_01012026_03_22_54_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/21/image_01012026_03_21_54_9597.jpg
/home/pi/Desktop/images/01012026/03/21/image_01012026_03_22_05_10639.jpg
/home/pi/Desktop/images/01012026/03/22/image_01012026_03_22_24_9904.jpg
/home/pi/Desktop/images/01012026/03/22/image_01012026_03_22_34_9678.jpg
/home/pi/Desktop/images/01012026/03/22/image_01012026_03_22_45_10459.jpg
/home/pi/Desktop/images/01012026/03/22/image_01012026_03_22_54_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":["1401979311","1401979314","1401979308","1401979310","1401979312","1401979309"],"photo_ids_order":["1401979308","1401979309","1401979310","1401979311","1401979312","1401979314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d20fc35504ee43bb055137eecef9e23e.jpg","text":"TemporaryFile(/tmp/multipartBody3412104867646105802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236763872,"filename":"image_01012026_03_22_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ceb215e0900e8a5e3d37ab1fb34512d.jpg","text":"TemporaryFile(/tmp/multipartBody6983928331878837037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236763872,"filename":"image_01012026_03_22_54_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b34808c14898644e1d50717ef193b2f.jpg","text":"TemporaryFile(/tmp/multipartBody8671302472257164199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236763872,"filename":"image_01012026_03_21_54_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79d71ea8707619ca591920d0488503be.jpg","text":"TemporaryFile(/tmp/multipartBody4627290774666329783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236763872,"filename":"image_01012026_03_22_24_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd7146df4c1c4abb05d3699e7a74a7a5.jpg","text":"TemporaryFile(/tmp/multipartBody1681621320215383105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236763872,"filename":"image_01012026_03_22_45_10459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c957b7992d06b895354adc601684122.jpg","text":"TemporaryFile(/tmp/multipartBody4175286782612858341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236763872,"filename":"image_01012026_03_22_05_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979310","file1":"1401979309","file0":"1401979308","file4":"1401979312","file5":"1401979314","file3":"1401979311"},"map_files_photo_id_array":[{"photo_id":"1401979314","filename":"file5"},{"photo_id":"1401979310","filename":"file2"},{"photo_id":"1401979312","filename":"file4"},{"photo_id":"1401979309","filename":"file1"},{"photo_id":"1401979308","filename":"file0"},{"photo_id":"1401979311","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979311":["hashtag1","hashtag2"]},{"1401979314":["hashtag1","hashtag2"]},{"1401979308":["hashtag1","hashtag2"]},{"1401979310":["hashtag1","hashtag2"]},{"1401979312":["hashtag1","hashtag2"]},{"1401979309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979311, 1401979314, 1401979308, 1401979310, 1401979312, 1401979309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.008103370666504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:05:42.561837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_20_3794.jpg', '/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_22_2718.jpg', '/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_25_2660.jpg', '/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_40_2679.jpg', '/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_49_2709.jpg', '/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_52_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/22/35/image_03112025_22_35_20_3794.jpg
/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_22_2718.jpg
/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_25_2660.jpg
/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_40_2679.jpg
/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_49_2709.jpg
/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_52_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":["1401979332","1401979326","1401979328","1401979330","1401979324","1401979321"],"photo_ids_order":["1401979321","1401979324","1401979326","1401979328","1401979330","1401979332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa769f2089fb88f71f55f8d22b499291.jpg","text":"TemporaryFile(/tmp/multipartBody4810233482013710850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236804304,"filename":"image_03112025_22_35_52_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e14338967313b69d36fb51495004e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2459715214853219525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236804304,"filename":"image_03112025_22_35_25_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ff46e87d41ae7bf7611bcec8f296e19.jpg","text":"TemporaryFile(/tmp/multipartBody5859877884424870816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236804304,"filename":"image_03112025_22_35_40_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1c1f1aef5cb4f4da1058d2d172144e0.jpg","text":"TemporaryFile(/tmp/multipartBody6533292155742207565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236804304,"filename":"image_03112025_22_35_49_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45585bb4f15ec3a7ff61b1611888b4fd.jpg","text":"TemporaryFile(/tmp/multipartBody4248210185717706212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236804304,"filename":"image_03112025_22_35_22_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e9d8f4a0f9b2024c0b7b20b39878548.jpg","text":"TemporaryFile(/tmp/multipartBody2534269854281739852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236804304,"filename":"image_03112025_22_35_20_3794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979326","file1":"1401979324","file0":"1401979321","file4":"1401979330","file5":"1401979332","file3":"1401979328"},"map_files_photo_id_array":[{"photo_id":"1401979332","filename":"file5"},{"photo_id":"1401979326","filename":"file2"},{"photo_id":"1401979330","filename":"file4"},{"photo_id":"1401979324","filename":"file1"},{"photo_id":"1401979321","filename":"file0"},{"photo_id":"1401979328","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979332":["hashtag1","hashtag2"]},{"1401979326":["hashtag1","hashtag2"]},{"1401979328":["hashtag1","hashtag2"]},{"1401979330":["hashtag1","hashtag2"]},{"1401979324":["hashtag1","hashtag2"]},{"1401979321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979332, 1401979326, 1401979328, 1401979330, 1401979324, 1401979321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.384018898010254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:06:22.719092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/22/image_01012026_03_23_05_10663.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_15_9838.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_24_9717.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_34_9851.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_44_9972.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/22/image_01012026_03_23_05_10663.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_15_9838.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_24_9717.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_34_9851.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_44_9972.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_55_10631.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.5223128795623779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:06:32.795342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/35/image_03112025_22_35_58_3567.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_14_1511.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_16_1723.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_25_2704.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_28_3602.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_31_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/22/35/image_03112025_22_35_58_3567.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_14_1511.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_16_1723.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_25_2704.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_28_3602.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_31_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":["1401979346","1401979349","1401979342","1401979351","1401979339","1401979353"],"photo_ids_order":["1401979339","1401979342","1401979346","1401979349","1401979351","1401979353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c69101a57db22316ee5b54eae45e2fb.jpg","text":"TemporaryFile(/tmp/multipartBody2148376886135543287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236854545,"filename":"image_03112025_22_36_16_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5c48abe82de2da9b85a7bc2eb71789b.jpg","text":"TemporaryFile(/tmp/multipartBody7375094228496080134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236854545,"filename":"image_03112025_22_36_25_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82e5fe5f70938dabbcc87b654236134d.jpg","text":"TemporaryFile(/tmp/multipartBody2087066941912100738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236854545,"filename":"image_03112025_22_36_14_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7cf041b6ef515c34db8b2433769cd9c.jpg","text":"TemporaryFile(/tmp/multipartBody1035637875112858655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236854545,"filename":"image_03112025_22_36_28_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10c4239e55b0c5b93fdff605003f7ed4.jpg","text":"TemporaryFile(/tmp/multipartBody3077756107911497805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236854545,"filename":"image_03112025_22_35_58_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/335d2394ac2228fa705ac467d2e6b1a1.jpg","text":"TemporaryFile(/tmp/multipartBody6638890666582741959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236854545,"filename":"image_03112025_22_36_31_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979346","file1":"1401979342","file0":"1401979339","file4":"1401979351","file5":"1401979353","file3":"1401979349"},"map_files_photo_id_array":[{"photo_id":"1401979353","filename":"file5"},{"photo_id":"1401979346","filename":"file2"},{"photo_id":"1401979351","filename":"file4"},{"photo_id":"1401979342","filename":"file1"},{"photo_id":"1401979339","filename":"file0"},{"photo_id":"1401979349","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979346":["hashtag1","hashtag2"]},{"1401979349":["hashtag1","hashtag2"]},{"1401979342":["hashtag1","hashtag2"]},{"1401979351":["hashtag1","hashtag2"]},{"1401979339":["hashtag1","hashtag2"]},{"1401979353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979346, 1401979349, 1401979342, 1401979351, 1401979339, 1401979353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02992630004883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:07:11.920326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_37_3672.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_40_2594.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_46_3632.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_52_2618.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_58_2556.jpg', '/home/pi/Desktop/images/03112025/22/36/image_03112025_22_37_01_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_37_3672.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_40_2594.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_46_3632.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_52_2618.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_36_58_2556.jpg
/home/pi/Desktop/images/03112025/22/36/image_03112025_22_37_01_3588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979364","1401979358","1401979361","1401979357","1401979362","1401979356"],"photo_ids_order":["1401979356","1401979357","1401979358","1401979361","1401979362","1401979364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6a6912646ebc7e367e71c44ee08c382.jpg","text":"TemporaryFile(/tmp/multipartBody3396151112820869038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236893544,"filename":"image_03112025_22_37_01_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/308762c80696a6f8c65ccf697e696bc3.jpg","text":"TemporaryFile(/tmp/multipartBody5407902743329629438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236893544,"filename":"image_03112025_22_36_46_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f76908f4ed6b384b7b75b73e05a86d83.jpg","text":"TemporaryFile(/tmp/multipartBody3839328820901511902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236893544,"filename":"image_03112025_22_36_52_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7ff538b2f209010de28c70fb096bdb1.jpg","text":"TemporaryFile(/tmp/multipartBody6260991554734387170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236893544,"filename":"image_03112025_22_36_40_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d98a569d9dfbbe6e4bf491dea362c4ae.jpg","text":"TemporaryFile(/tmp/multipartBody8414460443808993834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236893544,"filename":"image_03112025_22_36_58_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28be2d07b7b3dc25c1b5e0ac0c74cc79.jpg","text":"TemporaryFile(/tmp/multipartBody2239066202806122583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236893544,"filename":"image_03112025_22_36_37_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979358","file1":"1401979357","file0":"1401979356","file4":"1401979362","file5":"1401979364","file3":"1401979361"},"map_files_photo_id_array":[{"photo_id":"1401979364","filename":"file5"},{"photo_id":"1401979358","filename":"file2"},{"photo_id":"1401979362","filename":"file4"},{"photo_id":"1401979357","filename":"file1"},{"photo_id":"1401979356","filename":"file0"},{"photo_id":"1401979361","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979364":["hashtag1","hashtag2"]},{"1401979358":["hashtag1","hashtag2"]},{"1401979361":["hashtag1","hashtag2"]},{"1401979357":["hashtag1","hashtag2"]},{"1401979362":["hashtag1","hashtag2"]},{"1401979356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979364, 1401979358, 1401979361, 1401979357, 1401979362, 1401979356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94577503204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:08:02.625442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/22/image_01012026_03_23_05_10663.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_15_9838.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_24_9717.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_34_9851.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_44_9972.jpg', '/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/22/image_01012026_03_23_05_10663.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_15_9838.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_24_9717.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_34_9851.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_44_9972.jpg
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_23_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":["1401979376","1401979379","1401979381","1401979375","1401979378","1401979374"],"photo_ids_order":["1401979374","1401979375","1401979376","1401979378","1401979379","1401979381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ba13c79b7095136790a13c7fdd1879f.jpg","text":"TemporaryFile(/tmp/multipartBody7773150001323974385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236943240,"filename":"image_01012026_03_23_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7818c811ab5eafd064af1f1d058f576.jpg","text":"TemporaryFile(/tmp/multipartBody5241032659433605969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236943240,"filename":"image_01012026_03_23_44_9972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64fd97ffbc443e9e9c9add9b8619fc78.jpg","text":"TemporaryFile(/tmp/multipartBody4896697300867890534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236943240,"filename":"image_01012026_03_23_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/510e97f9c22f8e6add5ad971b3d0aafa.jpg","text":"TemporaryFile(/tmp/multipartBody5125974049661101333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236943240,"filename":"image_01012026_03_23_15_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/805f6e96973a3fc2a4b4507512b89b82.jpg","text":"TemporaryFile(/tmp/multipartBody475607391994616329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236943240,"filename":"image_01012026_03_23_34_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e862ceeed8720325499e693c7ef811c.jpg","text":"TemporaryFile(/tmp/multipartBody1707362223391092089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236943240,"filename":"image_01012026_03_23_05_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979376","file1":"1401979375","file0":"1401979374","file4":"1401979379","file5":"1401979381","file3":"1401979378"},"map_files_photo_id_array":[{"photo_id":"1401979381","filename":"file5"},{"photo_id":"1401979376","filename":"file2"},{"photo_id":"1401979379","filename":"file4"},{"photo_id":"1401979375","filename":"file1"},{"photo_id":"1401979374","filename":"file0"},{"photo_id":"1401979378","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979376":["hashtag1","hashtag2"]},{"1401979379":["hashtag1","hashtag2"]},{"1401979381":["hashtag1","hashtag2"]},{"1401979375":["hashtag1","hashtag2"]},{"1401979378":["hashtag1","hashtag2"]},{"1401979374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979376, 1401979379, 1401979381, 1401979375, 1401979378, 1401979374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.897249698638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:08:42.309529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_04_2551.jpg', '/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_10_3624.jpg', '/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_19_2737.jpg', '/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_22_2584.jpg', '/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_30_5011.jpg', '/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_32_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_04_2551.jpg
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_10_3624.jpg
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_19_2737.jpg
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_22_2584.jpg
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_30_5011.jpg
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_32_2852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979394","1401979390","1401979387","1401979396","1401979398","1401979392"],"photo_ids_order":["1401979387","1401979390","1401979392","1401979394","1401979396","1401979398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5236002ff11b2bfebee3c84226f4741.jpg","text":"TemporaryFile(/tmp/multipartBody2521162301443761343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236984101,"filename":"image_03112025_22_37_22_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/959e9fc4e41da86d342266c0389ac58e.jpg","text":"TemporaryFile(/tmp/multipartBody5305134326909780466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236984101,"filename":"image_03112025_22_37_10_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43d996371e82cf74fe271d523bee2a5a.jpg","text":"TemporaryFile(/tmp/multipartBody5932436580037104468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236984101,"filename":"image_03112025_22_37_04_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae5c8211917e36e1081d0c076208b834.jpg","text":"TemporaryFile(/tmp/multipartBody304399784246506158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236984101,"filename":"image_03112025_22_37_30_5011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee5def4c8b436b2528a3cdfa9e4e5b96.jpg","text":"TemporaryFile(/tmp/multipartBody4362929426349743694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236984101,"filename":"image_03112025_22_37_32_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbaf6498e5425006a23d87167e5027b0.jpg","text":"TemporaryFile(/tmp/multipartBody8563582697303907615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767236984101,"filename":"image_03112025_22_37_19_2737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979392","file1":"1401979390","file0":"1401979387","file4":"1401979396","file5":"1401979398","file3":"1401979394"},"map_files_photo_id_array":[{"photo_id":"1401979398","filename":"file5"},{"photo_id":"1401979392","filename":"file2"},{"photo_id":"1401979396","filename":"file4"},{"photo_id":"1401979390","filename":"file1"},{"photo_id":"1401979387","filename":"file0"},{"photo_id":"1401979394","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979394":["hashtag1","hashtag2"]},{"1401979390":["hashtag1","hashtag2"]},{"1401979387":["hashtag1","hashtag2"]},{"1401979396":["hashtag1","hashtag2"]},{"1401979398":["hashtag1","hashtag2"]},{"1401979392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979394, 1401979390, 1401979387, 1401979396, 1401979398, 1401979392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15982985496521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:09:22.487803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/23/image_01012026_03_24_04_9427.jpg', '/home/pi/Desktop/images/01012026/03/24/image_01012026_03_24_14_9730.jpg', '/home/pi/Desktop/images/01012026/03/24/image_01012026_03_24_25_10719.jpg', '/home/pi/Desktop/images/01012026/03/24/image_01012026_03_24_35_9771.jpg', '/home/pi/Desktop/images/01012026/03/24/image_01012026_03_24_55_10768.jpg', '/home/pi/Desktop/images/01012026/03/24/image_01012026_03_25_05_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/23/image_01012026_03_24_04_9427.jpg
/home/pi/Desktop/images/01012026/03/24/image_01012026_03_24_14_9730.jpg
/home/pi/Desktop/images/01012026/03/24/image_01012026_03_24_25_10719.jpg
/home/pi/Desktop/images/01012026/03/24/image_01012026_03_24_35_9771.jpg
/home/pi/Desktop/images/01012026/03/24/image_01012026_03_24_55_10768.jpg
/home/pi/Desktop/images/01012026/03/24/image_01012026_03_25_05_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":["1401979399","1401979403","1401979406","1401979411","1401979408","1401979402"],"photo_ids_order":["1401979399","1401979402","1401979403","1401979406","1401979408","1401979411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f5e31f7fd22d212d728d06b59f3b994.jpg","text":"TemporaryFile(/tmp/multipartBody6266364239715257466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237023082,"filename":"image_01012026_03_24_04_9427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bae8d1d050a1bc1ea5ba528eca06ca66.jpg","text":"TemporaryFile(/tmp/multipartBody4410127385395763043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237023082,"filename":"image_01012026_03_24_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/058fa3a0aad18c58bd2a5d188cd2280a.jpg","text":"TemporaryFile(/tmp/multipartBody1922015703916345452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237023082,"filename":"image_01012026_03_24_35_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7eaa0f8976de125cdc0ff32be39e169.jpg","text":"TemporaryFile(/tmp/multipartBody900309898988548068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237023082,"filename":"image_01012026_03_25_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1190df9d781ed4d4b2ad3af41e9bc234.jpg","text":"TemporaryFile(/tmp/multipartBody7835739653284051884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237023082,"filename":"image_01012026_03_24_55_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29898dd5157c4520a3a11e253a3fc2f7.jpg","text":"TemporaryFile(/tmp/multipartBody9047022167483466559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237023082,"filename":"image_01012026_03_24_14_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979403","file1":"1401979402","file0":"1401979399","file4":"1401979408","file5":"1401979411","file3":"1401979406"},"map_files_photo_id_array":[{"photo_id":"1401979411","filename":"file5"},{"photo_id":"1401979403","filename":"file2"},{"photo_id":"1401979408","filename":"file4"},{"photo_id":"1401979402","filename":"file1"},{"photo_id":"1401979399","filename":"file0"},{"photo_id":"1401979406","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979399":["hashtag1","hashtag2"]},{"1401979403":["hashtag1","hashtag2"]},{"1401979406":["hashtag1","hashtag2"]},{"1401979411":["hashtag1","hashtag2"]},{"1401979408":["hashtag1","hashtag2"]},{"1401979402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979399, 1401979403, 1401979406, 1401979411, 1401979408, 1401979402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.082414388656616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:10:03.117790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_14_9684.jpg', '/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_24_9806.jpg', '/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_35_10664.jpg', '/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_47_12342.jpg', '/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_55_7593.jpg', '/home/pi/Desktop/images/01012026/03/25/image_01012026_03_26_05_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_14_9684.jpg
/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_24_9806.jpg
/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_35_10664.jpg
/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_47_12342.jpg
/home/pi/Desktop/images/01012026/03/25/image_01012026_03_25_55_7593.jpg
/home/pi/Desktop/images/01012026/03/25/image_01012026_03_26_05_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":["1401979419","1401979421","1401979424","1401979418","1401979420","1401979422"],"photo_ids_order":["1401979418","1401979419","1401979420","1401979421","1401979422","1401979424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a19c5f3f8a987dae16e6bb466dfb7b9.jpg","text":"TemporaryFile(/tmp/multipartBody7792255921482350240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237063742,"filename":"image_01012026_03_25_24_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95cf5a198909d6d1d3aad0ea27573528.jpg","text":"TemporaryFile(/tmp/multipartBody8844017448306570569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237063742,"filename":"image_01012026_03_25_47_12342.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72f849a794832da336612fab57cf0907.jpg","text":"TemporaryFile(/tmp/multipartBody5015615488005374996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237063742,"filename":"image_01012026_03_26_05_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/477ab25bae6128f91b73426fa36ed79f.jpg","text":"TemporaryFile(/tmp/multipartBody7616020916652371626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237063742,"filename":"image_01012026_03_25_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/060dfe20e913ba835f89347625b46a55.jpg","text":"TemporaryFile(/tmp/multipartBody3696696593597432783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237063742,"filename":"image_01012026_03_25_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05ca049de15812f64498058ee8045d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2250435736748984372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237063742,"filename":"image_01012026_03_25_55_7593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979420","file1":"1401979419","file0":"1401979418","file4":"1401979422","file5":"1401979424","file3":"1401979421"},"map_files_photo_id_array":[{"photo_id":"1401979424","filename":"file5"},{"photo_id":"1401979420","filename":"file2"},{"photo_id":"1401979422","filename":"file4"},{"photo_id":"1401979419","filename":"file1"},{"photo_id":"1401979418","filename":"file0"},{"photo_id":"1401979421","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979419":["hashtag1","hashtag2"]},{"1401979421":["hashtag1","hashtag2"]},{"1401979424":["hashtag1","hashtag2"]},{"1401979418":["hashtag1","hashtag2"]},{"1401979420":["hashtag1","hashtag2"]},{"1401979422":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979419, 1401979421, 1401979424, 1401979418, 1401979420, 1401979422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94119954109192 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:10:42.704956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_34_1535.jpg', '/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_37_2775.jpg', '/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_39_2819.jpg', '/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_43_3667.jpg', '/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_19_2743.jpg', '/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_22_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_34_1535.jpg
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_37_2775.jpg
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_39_2819.jpg
/home/pi/Desktop/images/03112025/22/37/image_03112025_22_37_43_3667.jpg
/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_19_2743.jpg
/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_22_3560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979430","1401979433","1401979441","1401979435","1401979438","1401979440"],"photo_ids_order":["1401979430","1401979433","1401979435","1401979438","1401979440","1401979441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b88018e38f27fcb7c7e790843b96d4d3.jpg","text":"TemporaryFile(/tmp/multipartBody2018266666641488826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237104500,"filename":"image_03112025_22_37_34_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6564f5e37ef51698588fe4d31d9693d0.jpg","text":"TemporaryFile(/tmp/multipartBody6101066749611170707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237104500,"filename":"image_03112025_22_37_37_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24f4c1afa97ff97c4daf2a2eb1e9d1a6.jpg","text":"TemporaryFile(/tmp/multipartBody1732811078126379845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237104500,"filename":"image_03112025_22_38_22_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c06d7b044b00764b04d16aa0feaea49e.jpg","text":"TemporaryFile(/tmp/multipartBody3420988333887698462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237104500,"filename":"image_03112025_22_37_39_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf2edc350b53a56c6f2973416af5ef37.jpg","text":"TemporaryFile(/tmp/multipartBody8447014892569677371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237104500,"filename":"image_03112025_22_37_43_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6621e193377b7fb92df0d3e00529a96.jpg","text":"TemporaryFile(/tmp/multipartBody2591102762133451233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237104500,"filename":"image_03112025_22_38_19_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979435","file1":"1401979433","file0":"1401979430","file4":"1401979440","file5":"1401979441","file3":"1401979438"},"map_files_photo_id_array":[{"photo_id":"1401979441","filename":"file5"},{"photo_id":"1401979435","filename":"file2"},{"photo_id":"1401979440","filename":"file4"},{"photo_id":"1401979433","filename":"file1"},{"photo_id":"1401979430","filename":"file0"},{"photo_id":"1401979438","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979430":["hashtag1","hashtag2"]},{"1401979433":["hashtag1","hashtag2"]},{"1401979441":["hashtag1","hashtag2"]},{"1401979435":["hashtag1","hashtag2"]},{"1401979438":["hashtag1","hashtag2"]},{"1401979440":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979430, 1401979433, 1401979441, 1401979435, 1401979438, 1401979440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.721745014190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:11:21.881937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_15_10632.jpg', '/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_24_9046.jpg', '/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_35_10664.jpg', '/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_45_9660.jpg', '/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_55_10402.jpg', '/home/pi/Desktop/images/01012026/03/26/image_01012026_03_27_05_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_15_10632.jpg
/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_24_9046.jpg
/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_35_10664.jpg
/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_45_9660.jpg
/home/pi/Desktop/images/01012026/03/26/image_01012026_03_26_55_10402.jpg
/home/pi/Desktop/images/01012026/03/26/image_01012026_03_27_05_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":["1401979445","1401979454","1401979448","1401979442","1401979450","1401979447"],"photo_ids_order":["1401979442","1401979445","1401979447","1401979448","1401979450","1401979454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11b8556331923e834a3f2d77a44fdb4f.jpg","text":"TemporaryFile(/tmp/multipartBody7436297982955145624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237142474,"filename":"image_01012026_03_26_24_9046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9af71d43d2bcc3f5743c03224224184d.jpg","text":"TemporaryFile(/tmp/multipartBody5712340420801284988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237142474,"filename":"image_01012026_03_27_05_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b700482934470672fa576709a4d8ec1.jpg","text":"TemporaryFile(/tmp/multipartBody2161694481283895114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237142474,"filename":"image_01012026_03_26_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0938f16c8b2f99b6e958896fda53eb2f.jpg","text":"TemporaryFile(/tmp/multipartBody2174751335868076072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237142474,"filename":"image_01012026_03_26_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d84c0ee1cc007bcd4c70fdf242ed572f.jpg","text":"TemporaryFile(/tmp/multipartBody2004447885194236241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237142474,"filename":"image_01012026_03_26_55_10402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38f414dc7b46b9bcc60f3961bbb0ad97.jpg","text":"TemporaryFile(/tmp/multipartBody2776093073473462030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237142474,"filename":"image_01012026_03_26_35_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979447","file1":"1401979445","file0":"1401979442","file4":"1401979450","file5":"1401979454","file3":"1401979448"},"map_files_photo_id_array":[{"photo_id":"1401979454","filename":"file5"},{"photo_id":"1401979447","filename":"file2"},{"photo_id":"1401979450","filename":"file4"},{"photo_id":"1401979445","filename":"file1"},{"photo_id":"1401979442","filename":"file0"},{"photo_id":"1401979448","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979445":["hashtag1","hashtag2"]},{"1401979454":["hashtag1","hashtag2"]},{"1401979448":["hashtag1","hashtag2"]},{"1401979442":["hashtag1","hashtag2"]},{"1401979450":["hashtag1","hashtag2"]},{"1401979447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979445, 1401979454, 1401979448, 1401979442, 1401979450, 1401979447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92963695526123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:12:02.408411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_15_9787.jpg', '/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_24_9751.jpg', '/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_35_10715.jpg', '/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_45_9702.jpg', '/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_54_9705.jpg', '/home/pi/Desktop/images/01012026/03/27/image_01012026_03_28_04_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_15_9787.jpg
/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_24_9751.jpg
/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_35_10715.jpg
/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_45_9702.jpg
/home/pi/Desktop/images/01012026/03/27/image_01012026_03_27_54_9705.jpg
/home/pi/Desktop/images/01012026/03/27/image_01012026_03_28_04_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979463","1401979460","1401979462","1401979465","1401979464","1401979467"],"photo_ids_order":["1401979460","1401979462","1401979463","1401979464","1401979465","1401979467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc99d38596aef95fec3e9890987981e7.jpg","text":"TemporaryFile(/tmp/multipartBody6906176163673600311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237183152,"filename":"image_01012026_03_27_35_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c310a4cc009df59b0e1a6d026d6cc59.jpg","text":"TemporaryFile(/tmp/multipartBody3397093898949946658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237183152,"filename":"image_01012026_03_27_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d33065e78c8386b7920b822292d7020.jpg","text":"TemporaryFile(/tmp/multipartBody4504178396460334461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237183152,"filename":"image_01012026_03_27_24_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c18346e6e86a956f21bd1cdb7cf666a3.jpg","text":"TemporaryFile(/tmp/multipartBody505777612785863457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237183152,"filename":"image_01012026_03_27_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adcca8ad1c4f68100367fabaae6b2b79.jpg","text":"TemporaryFile(/tmp/multipartBody6350336971174131131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237183152,"filename":"image_01012026_03_27_45_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa618d6456f464706d372a73a9eb856e.jpg","text":"TemporaryFile(/tmp/multipartBody3262539056384880439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237183152,"filename":"image_01012026_03_28_04_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979463","file1":"1401979462","file0":"1401979460","file4":"1401979465","file5":"1401979467","file3":"1401979464"},"map_files_photo_id_array":[{"photo_id":"1401979467","filename":"file5"},{"photo_id":"1401979463","filename":"file2"},{"photo_id":"1401979465","filename":"file4"},{"photo_id":"1401979462","filename":"file1"},{"photo_id":"1401979460","filename":"file0"},{"photo_id":"1401979464","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979463":["hashtag1","hashtag2"]},{"1401979460":["hashtag1","hashtag2"]},{"1401979462":["hashtag1","hashtag2"]},{"1401979465":["hashtag1","hashtag2"]},{"1401979464":["hashtag1","hashtag2"]},{"1401979467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979463, 1401979460, 1401979462, 1401979465, 1401979464, 1401979467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65427303314209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:12:42.107726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_31_2511.jpg', '/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_33_2641.jpg', '/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_49_2590.jpg', '/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_52_3392.jpg', '/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_58_2581.jpg', '/home/pi/Desktop/images/03112025/22/38/image_03112025_22_39_01_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/22/38/image_03112025_22_38_31_2511.jpg
/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_33_2641.jpg
/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_49_2590.jpg
/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_52_3392.jpg
/home/pi/Desktop/images/03112025/22/38/image_03112025_22_38_58_2581.jpg
/home/pi/Desktop/images/03112025/22/38/image_03112025_22_39_01_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":["1401979481","1401979475","1401979483","1401979477","1401979479","1401979473"],"photo_ids_order":["1401979473","1401979475","1401979477","1401979479","1401979481","1401979483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf1250703a6be060ea73c208d1de4a41.jpg","text":"TemporaryFile(/tmp/multipartBody2909804320365802592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237223878,"filename":"image_03112025_22_38_58_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16900a5ff5be74f9a1adf4680e174634.jpg","text":"TemporaryFile(/tmp/multipartBody7278416847451861173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237223878,"filename":"image_03112025_22_38_33_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3415733565a7dcfa585f55f3d1460f2f.jpg","text":"TemporaryFile(/tmp/multipartBody3273496676496750191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237223878,"filename":"image_03112025_22_39_01_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12af9b707d2f460f8ff1e2694576c4bf.jpg","text":"TemporaryFile(/tmp/multipartBody2847738433925343283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237223878,"filename":"image_03112025_22_38_49_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa995ce30175de9ac4dc2c6f6c70b36b.jpg","text":"TemporaryFile(/tmp/multipartBody940394318756863007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237223878,"filename":"image_03112025_22_38_52_3392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb59c64f0020ecb25108ba14478aedfc.jpg","text":"TemporaryFile(/tmp/multipartBody6387988885923837370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237223878,"filename":"image_03112025_22_38_31_2511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979477","file1":"1401979475","file0":"1401979473","file4":"1401979481","file5":"1401979483","file3":"1401979479"},"map_files_photo_id_array":[{"photo_id":"1401979483","filename":"file5"},{"photo_id":"1401979477","filename":"file2"},{"photo_id":"1401979481","filename":"file4"},{"photo_id":"1401979475","filename":"file1"},{"photo_id":"1401979473","filename":"file0"},{"photo_id":"1401979479","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979481":["hashtag1","hashtag2"]},{"1401979475":["hashtag1","hashtag2"]},{"1401979483":["hashtag1","hashtag2"]},{"1401979477":["hashtag1","hashtag2"]},{"1401979479":["hashtag1","hashtag2"]},{"1401979473":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979481, 1401979475, 1401979483, 1401979477, 1401979479, 1401979473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.077420711517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:13:22.257973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_15_10583.jpg', '/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_24_9756.jpg', '/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_34_9616.jpg', '/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_45_10553.jpg', '/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_54_9609.jpg', '/home/pi/Desktop/images/01012026/03/28/image_01012026_03_29_05_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_15_10583.jpg
/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_24_9756.jpg
/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_34_9616.jpg
/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_45_10553.jpg
/home/pi/Desktop/images/01012026/03/28/image_01012026_03_28_54_9609.jpg
/home/pi/Desktop/images/01012026/03/28/image_01012026_03_29_05_10549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979490","1401979492","1401979486","1401979495","1401979485","1401979488"],"photo_ids_order":["1401979485","1401979486","1401979488","1401979490","1401979492","1401979495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07fca1e3b302ec5a214708eade932ac7.jpg","text":"TemporaryFile(/tmp/multipartBody8997111129571977426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237262843,"filename":"image_01012026_03_28_45_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/693ce67e3498e90b050c331d5111c585.jpg","text":"TemporaryFile(/tmp/multipartBody4967170164263649734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237262843,"filename":"image_01012026_03_28_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0f1b3d055bacf2897c1694e9d7b3c76.jpg","text":"TemporaryFile(/tmp/multipartBody9213844299934367429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237262843,"filename":"image_01012026_03_28_24_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f402244b4a876907a28b79b5313c09d.jpg","text":"TemporaryFile(/tmp/multipartBody519857285459246249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237262843,"filename":"image_01012026_03_29_05_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04f9a53e931046e281f0c0fb5124f90a.jpg","text":"TemporaryFile(/tmp/multipartBody4470341350328802503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237262843,"filename":"image_01012026_03_28_15_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b5552c6c384d02afef517b9b6caa2fa.jpg","text":"TemporaryFile(/tmp/multipartBody2163927311619946720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237262843,"filename":"image_01012026_03_28_34_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979488","file1":"1401979486","file0":"1401979485","file4":"1401979492","file5":"1401979495","file3":"1401979490"},"map_files_photo_id_array":[{"photo_id":"1401979495","filename":"file5"},{"photo_id":"1401979488","filename":"file2"},{"photo_id":"1401979492","filename":"file4"},{"photo_id":"1401979486","filename":"file1"},{"photo_id":"1401979485","filename":"file0"},{"photo_id":"1401979490","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979490":["hashtag1","hashtag2"]},{"1401979492":["hashtag1","hashtag2"]},{"1401979486":["hashtag1","hashtag2"]},{"1401979495":["hashtag1","hashtag2"]},{"1401979485":["hashtag1","hashtag2"]},{"1401979488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979490, 1401979492, 1401979486, 1401979495, 1401979485, 1401979488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14469861984253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:14:03.550290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_15_9734.jpg', '/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_24_9789.jpg', '/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_34_9740.jpg', '/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_45_10732.jpg', '/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_55_9767.jpg', '/home/pi/Desktop/images/01012026/03/29/image_01012026_03_30_04_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_15_9734.jpg
/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_24_9789.jpg
/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_34_9740.jpg
/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_45_10732.jpg
/home/pi/Desktop/images/01012026/03/29/image_01012026_03_29_55_9767.jpg
/home/pi/Desktop/images/01012026/03/29/image_01012026_03_30_04_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":["1401979506","1401979505","1401979508","1401979502","1401979504","1401979501"],"photo_ids_order":["1401979501","1401979502","1401979504","1401979505","1401979506","1401979508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04964928e2a170a079f0cc01eb8ab4b1.jpg","text":"TemporaryFile(/tmp/multipartBody5577567572307778943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237304267,"filename":"image_01012026_03_29_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2830328e757c442ce24b2cb643a9fb08.jpg","text":"TemporaryFile(/tmp/multipartBody5535328284755687476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237304267,"filename":"image_01012026_03_29_45_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5258521cc1b29138a7dde619e44dd93.jpg","text":"TemporaryFile(/tmp/multipartBody2351065435876105880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237304267,"filename":"image_01012026_03_30_04_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d19c33fe95eba75b826751fb99fe13fa.jpg","text":"TemporaryFile(/tmp/multipartBody2742174358686754953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237304267,"filename":"image_01012026_03_29_24_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84b2e222c6afe614523901d5b0a9c75f.jpg","text":"TemporaryFile(/tmp/multipartBody6573694061510386179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237304267,"filename":"image_01012026_03_29_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5fc1d2b487b79c823a5dd19464be009.jpg","text":"TemporaryFile(/tmp/multipartBody5333822549163739676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237304267,"filename":"image_01012026_03_29_15_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979504","file1":"1401979502","file0":"1401979501","file4":"1401979506","file5":"1401979508","file3":"1401979505"},"map_files_photo_id_array":[{"photo_id":"1401979508","filename":"file5"},{"photo_id":"1401979504","filename":"file2"},{"photo_id":"1401979506","filename":"file4"},{"photo_id":"1401979502","filename":"file1"},{"photo_id":"1401979501","filename":"file0"},{"photo_id":"1401979505","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979506":["hashtag1","hashtag2"]},{"1401979505":["hashtag1","hashtag2"]},{"1401979508":["hashtag1","hashtag2"]},{"1401979502":["hashtag1","hashtag2"]},{"1401979504":["hashtag1","hashtag2"]},{"1401979501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979506, 1401979505, 1401979508, 1401979502, 1401979504, 1401979501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8741660118103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:14:42.829804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_07_2930.jpg', '/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_19_1557.jpg', '/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_21_2046.jpg', '/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_25_1564.jpg', '/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_28_3617.jpg', '/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_34_3521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_07_2930.jpg
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_19_1557.jpg
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_21_2046.jpg
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_25_1564.jpg
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_28_3617.jpg
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_34_3521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979524","1401979518","1401979526","1401979520","1401979522","1401979515"],"photo_ids_order":["1401979515","1401979518","1401979520","1401979522","1401979524","1401979526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f676ecf647a304ddd343258be001b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8082253610580873797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237344575,"filename":"image_03112025_22_39_28_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a418797fd929796b40b58fa44a107448.jpg","text":"TemporaryFile(/tmp/multipartBody6574388699574923753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237344575,"filename":"image_03112025_22_39_19_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0aac4fc6c262ec143a46366104f38b50.jpg","text":"TemporaryFile(/tmp/multipartBody522129994196715061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237344575,"filename":"image_03112025_22_39_34_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76ed841055be4888842e1c85b7bc7956.jpg","text":"TemporaryFile(/tmp/multipartBody186167439285327687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237344575,"filename":"image_03112025_22_39_21_2046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c29fa2223ac807c50f879ec7681ae531.jpg","text":"TemporaryFile(/tmp/multipartBody6739956355196060811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237344575,"filename":"image_03112025_22_39_25_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e58cb5278049289ce805d6638256f7a6.jpg","text":"TemporaryFile(/tmp/multipartBody7454059347374271414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237344575,"filename":"image_03112025_22_39_07_2930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979520","file1":"1401979518","file0":"1401979515","file4":"1401979524","file5":"1401979526","file3":"1401979522"},"map_files_photo_id_array":[{"photo_id":"1401979526","filename":"file5"},{"photo_id":"1401979520","filename":"file2"},{"photo_id":"1401979524","filename":"file4"},{"photo_id":"1401979518","filename":"file1"},{"photo_id":"1401979515","filename":"file0"},{"photo_id":"1401979522","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979524":["hashtag1","hashtag2"]},{"1401979518":["hashtag1","hashtag2"]},{"1401979526":["hashtag1","hashtag2"]},{"1401979520":["hashtag1","hashtag2"]},{"1401979522":["hashtag1","hashtag2"]},{"1401979515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979524, 1401979518, 1401979526, 1401979520, 1401979522, 1401979515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10614347457886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:15:22.065374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_15_10554.jpg', '/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_25_9730.jpg', '/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_34_9721.jpg', '/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_44_9684.jpg', '/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_54_10333.jpg', '/home/pi/Desktop/images/01012026/03/30/image_01012026_03_31_04_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_15_10554.jpg
/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_25_9730.jpg
/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_34_9721.jpg
/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_44_9684.jpg
/home/pi/Desktop/images/01012026/03/30/image_01012026_03_30_54_10333.jpg
/home/pi/Desktop/images/01012026/03/30/image_01012026_03_31_04_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":["1401979539","1401979535","1401979529","1401979531","1401979533","1401979527"],"photo_ids_order":["1401979527","1401979529","1401979531","1401979533","1401979535","1401979539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44b2dcf731acd664dbf1f2e06db7502d.jpg","text":"TemporaryFile(/tmp/multipartBody3280042927573423831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237382690,"filename":"image_01012026_03_31_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ee39106a7d0877fc485363751c45e3b.jpg","text":"TemporaryFile(/tmp/multipartBody895291193062943536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237382690,"filename":"image_01012026_03_30_54_10333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/918e2f355422c30d64555f67e4a752a6.jpg","text":"TemporaryFile(/tmp/multipartBody2370710039316376076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237382690,"filename":"image_01012026_03_30_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d1a7c31e4ba8f40cce61dab07f9cd78.jpg","text":"TemporaryFile(/tmp/multipartBody8741107797781243135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237382690,"filename":"image_01012026_03_30_34_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b7022c485b7cdfeb9fcfae6c523fb82.jpg","text":"TemporaryFile(/tmp/multipartBody2443380208529167533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237382690,"filename":"image_01012026_03_30_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/084ddd8acbce5b9d00f869240804c7ca.jpg","text":"TemporaryFile(/tmp/multipartBody3355822710693891240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237382690,"filename":"image_01012026_03_30_15_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979531","file1":"1401979529","file0":"1401979527","file4":"1401979535","file5":"1401979539","file3":"1401979533"},"map_files_photo_id_array":[{"photo_id":"1401979539","filename":"file5"},{"photo_id":"1401979531","filename":"file2"},{"photo_id":"1401979535","filename":"file4"},{"photo_id":"1401979529","filename":"file1"},{"photo_id":"1401979527","filename":"file0"},{"photo_id":"1401979533","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979539":["hashtag1","hashtag2"]},{"1401979535":["hashtag1","hashtag2"]},{"1401979529":["hashtag1","hashtag2"]},{"1401979531":["hashtag1","hashtag2"]},{"1401979533":["hashtag1","hashtag2"]},{"1401979527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979539, 1401979535, 1401979529, 1401979531, 1401979533, 1401979527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3580641746521 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:16:02.738732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/31/image_01012026_03_31_15_10806.jpg', '/home/pi/Desktop/images/01012026/03/31/image_01012026_03_31_25_9690.jpg', '/home/pi/Desktop/images/01012026/03/31/image_01012026_03_31_44_9946.jpg', '/home/pi/Desktop/images/01012026/03/31/image_01012026_03_31_55_10576.jpg', '/home/pi/Desktop/images/01012026/03/31/image_01012026_03_32_04_9719.jpg', '/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_14_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/31/image_01012026_03_31_15_10806.jpg
/home/pi/Desktop/images/01012026/03/31/image_01012026_03_31_25_9690.jpg
/home/pi/Desktop/images/01012026/03/31/image_01012026_03_31_44_9946.jpg
/home/pi/Desktop/images/01012026/03/31/image_01012026_03_31_55_10576.jpg
/home/pi/Desktop/images/01012026/03/31/image_01012026_03_32_04_9719.jpg
/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_14_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":["1401979544","1401979547","1401979549","1401979546","1401979551","1401979548"],"photo_ids_order":["1401979544","1401979546","1401979547","1401979548","1401979549","1401979551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba0e611326057eceae66eef394dcb761.jpg","text":"TemporaryFile(/tmp/multipartBody5056885855642556962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237423356,"filename":"image_01012026_03_31_15_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b6b9cc0435f85860cc99c001589aae0.jpg","text":"TemporaryFile(/tmp/multipartBody6248800364276461173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237423356,"filename":"image_01012026_03_31_44_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7939ce56d961a37abbe22e25d39d5a37.jpg","text":"TemporaryFile(/tmp/multipartBody2888588115316332543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237423356,"filename":"image_01012026_03_32_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/def08f849a04c852100fc287ebc0d974.jpg","text":"TemporaryFile(/tmp/multipartBody1931024954226728572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237423356,"filename":"image_01012026_03_31_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1c75a1275a329b35701ef3a9ae3f580.jpg","text":"TemporaryFile(/tmp/multipartBody8067550441235701771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237423356,"filename":"image_01012026_03_32_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8c07a399cb4586ea53b5661fd93a484.jpg","text":"TemporaryFile(/tmp/multipartBody6907448808296333855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237423356,"filename":"image_01012026_03_31_55_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979547","file1":"1401979546","file0":"1401979544","file4":"1401979549","file5":"1401979551","file3":"1401979548"},"map_files_photo_id_array":[{"photo_id":"1401979551","filename":"file5"},{"photo_id":"1401979547","filename":"file2"},{"photo_id":"1401979549","filename":"file4"},{"photo_id":"1401979546","filename":"file1"},{"photo_id":"1401979544","filename":"file0"},{"photo_id":"1401979548","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979544":["hashtag1","hashtag2"]},{"1401979547":["hashtag1","hashtag2"]},{"1401979549":["hashtag1","hashtag2"]},{"1401979546":["hashtag1","hashtag2"]},{"1401979551":["hashtag1","hashtag2"]},{"1401979548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979544, 1401979547, 1401979549, 1401979546, 1401979551, 1401979548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23004984855652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:16:42.248177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_37_2636.jpg', '/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_40_2702.jpg', '/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_42_2688.jpg', '/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_49_2594.jpg', '/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_06_3011.jpg', '/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_13_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/22/39/image_03112025_22_39_37_2636.jpg
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_40_2702.jpg
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_42_2688.jpg
/home/pi/Desktop/images/03112025/22/39/image_03112025_22_39_49_2594.jpg
/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_06_3011.jpg
/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_13_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":["1401979568","1401979556","1401979565","1401979559","1401979561","1401979563"],"photo_ids_order":["1401979556","1401979559","1401979561","1401979563","1401979565","1401979568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a556984900d5051dd75bcae2aba7738a.jpg","text":"TemporaryFile(/tmp/multipartBody5795062340212038972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237464018,"filename":"image_03112025_22_41_13_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e311706be665cd3ab81e85c5d4b951f.jpg","text":"TemporaryFile(/tmp/multipartBody374089177947692875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237464018,"filename":"image_03112025_22_39_37_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9315bfa4f577f3cff8a31b9cc2973ec.jpg","text":"TemporaryFile(/tmp/multipartBody686508360711401191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237464018,"filename":"image_03112025_22_41_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d971dd3a1276a5fb54e79db2ddf5c7d.jpg","text":"TemporaryFile(/tmp/multipartBody994919726582192442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237464018,"filename":"image_03112025_22_39_40_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87597cc053ec6ba130bf3c497df1f482.jpg","text":"TemporaryFile(/tmp/multipartBody1410053266507916926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237464018,"filename":"image_03112025_22_39_42_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dbee9d8a29d0e113fd9c999b0188282.jpg","text":"TemporaryFile(/tmp/multipartBody8654971374621526425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237464018,"filename":"image_03112025_22_39_49_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979561","file1":"1401979559","file0":"1401979556","file4":"1401979565","file5":"1401979568","file3":"1401979563"},"map_files_photo_id_array":[{"photo_id":"1401979568","filename":"file5"},{"photo_id":"1401979561","filename":"file2"},{"photo_id":"1401979565","filename":"file4"},{"photo_id":"1401979559","filename":"file1"},{"photo_id":"1401979556","filename":"file0"},{"photo_id":"1401979563","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979568":["hashtag1","hashtag2"]},{"1401979556":["hashtag1","hashtag2"]},{"1401979565":["hashtag1","hashtag2"]},{"1401979559":["hashtag1","hashtag2"]},{"1401979561":["hashtag1","hashtag2"]},{"1401979563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979568, 1401979556, 1401979565, 1401979559, 1401979561, 1401979563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21343278884888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:17:22.416403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_25_10805.jpg', '/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_35_9617.jpg', '/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_44_9631.jpg', '/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_55_10664.jpg', '/home/pi/Desktop/images/01012026/03/32/image_01012026_03_33_05_9609.jpg', '/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_14_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_25_10805.jpg
/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_35_9617.jpg
/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_44_9631.jpg
/home/pi/Desktop/images/01012026/03/32/image_01012026_03_32_55_10664.jpg
/home/pi/Desktop/images/01012026/03/32/image_01012026_03_33_05_9609.jpg
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_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":["1401979580","1401979588","1401979573","1401979582","1401979576","1401979578"],"photo_ids_order":["1401979573","1401979576","1401979578","1401979580","1401979582","1401979588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ba4b7569d60763322add5146a462384.jpg","text":"TemporaryFile(/tmp/multipartBody2675954148803185115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237503007,"filename":"image_01012026_03_32_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f369b92f0fece7e83dfbd524c575c310.jpg","text":"TemporaryFile(/tmp/multipartBody4595230778406583371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237503007,"filename":"image_01012026_03_33_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4485fa2dbf33e14fdbc6922aac1346a0.jpg","text":"TemporaryFile(/tmp/multipartBody1052992136622226710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237503007,"filename":"image_01012026_03_32_25_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1bd9037d60c85a53256285913c22760.jpg","text":"TemporaryFile(/tmp/multipartBody2758790578214758074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237503007,"filename":"image_01012026_03_33_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7de61917fabe3d0db37d9c7a936832de.jpg","text":"TemporaryFile(/tmp/multipartBody1510573494907597867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237503007,"filename":"image_01012026_03_32_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07ad3b8ad724af28a4cfda3dc2776ef0.jpg","text":"TemporaryFile(/tmp/multipartBody2671609216773810760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237503007,"filename":"image_01012026_03_32_44_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979578","file1":"1401979576","file0":"1401979573","file4":"1401979582","file5":"1401979588","file3":"1401979580"},"map_files_photo_id_array":[{"photo_id":"1401979588","filename":"file5"},{"photo_id":"1401979578","filename":"file2"},{"photo_id":"1401979582","filename":"file4"},{"photo_id":"1401979576","filename":"file1"},{"photo_id":"1401979573","filename":"file0"},{"photo_id":"1401979580","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979580":["hashtag1","hashtag2"]},{"1401979588":["hashtag1","hashtag2"]},{"1401979573":["hashtag1","hashtag2"]},{"1401979582":["hashtag1","hashtag2"]},{"1401979576":["hashtag1","hashtag2"]},{"1401979578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979580, 1401979588, 1401979573, 1401979582, 1401979576, 1401979578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98675727844238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:18:03.038730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_35_9644.jpg', '/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_44_9598.jpg', '/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_55_10686.jpg', '/home/pi/Desktop/images/01012026/03/33/image_01012026_03_34_05_9697.jpg', '/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_14_9671.jpg', '/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_24_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_35_9644.jpg
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_44_9598.jpg
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_55_10686.jpg
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_34_05_9697.jpg
/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_14_9671.jpg
/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_24_9809.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.5304129123687744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:18:12.613655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_16_3655.jpg', '/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_19_2659.jpg', '/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_34_2862.jpg', '/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_52_2523.jpg', '/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_55_3788.jpg', '/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_58_2543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_16_3655.jpg
/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_19_2659.jpg
/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_34_2862.jpg
/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_52_2523.jpg
/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_55_3788.jpg
/home/pi/Desktop/images/03112025/22/41/image_03112025_22_41_58_2543.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979605","1401979598","1401979607","1401979603","1401979609","1401979600"],"photo_ids_order":["1401979598","1401979600","1401979603","1401979605","1401979607","1401979609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/277c3c28da7b3e6ce1930effdf39908a.jpg","text":"TemporaryFile(/tmp/multipartBody8656666400541815157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237554248,"filename":"image_03112025_22_41_52_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/413ce3ca504c73f28e2e8293960476ae.jpg","text":"TemporaryFile(/tmp/multipartBody7769466069685513532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237554248,"filename":"image_03112025_22_41_16_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68d8aec7632c0669d82f387dd846b2b6.jpg","text":"TemporaryFile(/tmp/multipartBody6372613196003120795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237554248,"filename":"image_03112025_22_41_55_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97f2bfad301aee15118b1e01fa2bd29e.jpg","text":"TemporaryFile(/tmp/multipartBody4751682274216764886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237554248,"filename":"image_03112025_22_41_34_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ab9899afdcb8da4502fcf5e2721f2aa.jpg","text":"TemporaryFile(/tmp/multipartBody2037436992976183881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237554248,"filename":"image_03112025_22_41_58_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f2713a4abd9c14ce7b908887fcccde3.jpg","text":"TemporaryFile(/tmp/multipartBody4489652993462421256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237554248,"filename":"image_03112025_22_41_19_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979603","file1":"1401979600","file0":"1401979598","file4":"1401979607","file5":"1401979609","file3":"1401979605"},"map_files_photo_id_array":[{"photo_id":"1401979609","filename":"file5"},{"photo_id":"1401979603","filename":"file2"},{"photo_id":"1401979607","filename":"file4"},{"photo_id":"1401979600","filename":"file1"},{"photo_id":"1401979598","filename":"file0"},{"photo_id":"1401979605","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979605":["hashtag1","hashtag2"]},{"1401979598":["hashtag1","hashtag2"]},{"1401979607":["hashtag1","hashtag2"]},{"1401979603":["hashtag1","hashtag2"]},{"1401979609":["hashtag1","hashtag2"]},{"1401979600":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979605, 1401979598, 1401979607, 1401979603, 1401979609, 1401979600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70750904083252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:19:03.796686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_35_9644.jpg', '/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_44_9598.jpg', '/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_55_10686.jpg', '/home/pi/Desktop/images/01012026/03/33/image_01012026_03_34_05_9697.jpg', '/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_14_9671.jpg', '/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_24_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_35_9644.jpg
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_44_9598.jpg
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_33_55_10686.jpg
/home/pi/Desktop/images/01012026/03/33/image_01012026_03_34_05_9697.jpg
/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_14_9671.jpg
/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_24_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":["1401979623","1401979622","1401979625","1401979619","1401979621","1401979620"],"photo_ids_order":["1401979619","1401979620","1401979621","1401979622","1401979623","1401979625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/706b353b23c5bb551a88e7b035d8f05d.jpg","text":"TemporaryFile(/tmp/multipartBody6005715743031762360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237604550,"filename":"image_01012026_03_34_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d476fb8d426116ce85f0c2d2f78e82ce.jpg","text":"TemporaryFile(/tmp/multipartBody8271094529953378789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237604550,"filename":"image_01012026_03_34_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/627fc5ab33c7211960dae2caf7eaa806.jpg","text":"TemporaryFile(/tmp/multipartBody170161386422476319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237604550,"filename":"image_01012026_03_34_24_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65a59b30fa0e8f0395229a58aa8d9c59.jpg","text":"TemporaryFile(/tmp/multipartBody3006949724060599350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237604550,"filename":"image_01012026_03_33_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43ac1e33993f2934deb877d92d98326b.jpg","text":"TemporaryFile(/tmp/multipartBody9060865648615593998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237604550,"filename":"image_01012026_03_33_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4198c6e0f36a42735bacb15629121743.jpg","text":"TemporaryFile(/tmp/multipartBody7724784229095333939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237604550,"filename":"image_01012026_03_33_44_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979621","file1":"1401979620","file0":"1401979619","file4":"1401979623","file5":"1401979625","file3":"1401979622"},"map_files_photo_id_array":[{"photo_id":"1401979625","filename":"file5"},{"photo_id":"1401979621","filename":"file2"},{"photo_id":"1401979623","filename":"file4"},{"photo_id":"1401979620","filename":"file1"},{"photo_id":"1401979619","filename":"file0"},{"photo_id":"1401979622","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979623":["hashtag1","hashtag2"]},{"1401979622":["hashtag1","hashtag2"]},{"1401979625":["hashtag1","hashtag2"]},{"1401979619":["hashtag1","hashtag2"]},{"1401979621":["hashtag1","hashtag2"]},{"1401979620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979623, 1401979622, 1401979625, 1401979619, 1401979621, 1401979620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47050213813782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:19:42.751492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_03_2615.jpg', '/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_07_3637.jpg', '/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_12_2734.jpg', '/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_22_9960.jpg', '/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_27_1620.jpg', '/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_29_1681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_03_2615.jpg
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_07_3637.jpg
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_12_2734.jpg
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_22_9960.jpg
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_27_1620.jpg
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_29_1681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979640","1401979631","1401979634","1401979642","1401979636","1401979638"],"photo_ids_order":["1401979631","1401979634","1401979636","1401979638","1401979640","1401979642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ab98f87d148f1d2baa358f3dccb31a0.jpg","text":"TemporaryFile(/tmp/multipartBody2047119989397051159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237644501,"filename":"image_03112025_22_42_27_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ba4d6498dda2d409a7374036c090918.jpg","text":"TemporaryFile(/tmp/multipartBody2164908456543412263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237644501,"filename":"image_03112025_22_42_03_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0daf189cb54d2c05348fa7a7da00a164.jpg","text":"TemporaryFile(/tmp/multipartBody6701654749207693858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237644501,"filename":"image_03112025_22_42_07_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd1e73b1acdcf92ae48d564565d7f087.jpg","text":"TemporaryFile(/tmp/multipartBody5920080368502421456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237644501,"filename":"image_03112025_22_42_29_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f5491d3df0eaf9535c752bc2d2f939d.jpg","text":"TemporaryFile(/tmp/multipartBody1046845741305037611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237644501,"filename":"image_03112025_22_42_12_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbd28881247fa16527b49ff4246260c8.jpg","text":"TemporaryFile(/tmp/multipartBody2036972029151183881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237644501,"filename":"image_03112025_22_42_22_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979636","file1":"1401979634","file0":"1401979631","file4":"1401979640","file5":"1401979642","file3":"1401979638"},"map_files_photo_id_array":[{"photo_id":"1401979642","filename":"file5"},{"photo_id":"1401979636","filename":"file2"},{"photo_id":"1401979640","filename":"file4"},{"photo_id":"1401979634","filename":"file1"},{"photo_id":"1401979631","filename":"file0"},{"photo_id":"1401979638","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979640":["hashtag1","hashtag2"]},{"1401979631":["hashtag1","hashtag2"]},{"1401979634":["hashtag1","hashtag2"]},{"1401979642":["hashtag1","hashtag2"]},{"1401979636":["hashtag1","hashtag2"]},{"1401979638":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979640, 1401979631, 1401979634, 1401979642, 1401979636, 1401979638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.893815755844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:20:21.826858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_35_10672.jpg', '/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_45_9757.jpg', '/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_54_9625.jpg', '/home/pi/Desktop/images/01012026/03/34/image_01012026_03_35_05_10686.jpg', '/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_15_9611.jpg', '/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_24_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_35_10672.jpg
/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_45_9757.jpg
/home/pi/Desktop/images/01012026/03/34/image_01012026_03_34_54_9625.jpg
/home/pi/Desktop/images/01012026/03/34/image_01012026_03_35_05_10686.jpg
/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_15_9611.jpg
/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_24_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":["1401979655","1401979643","1401979652","1401979646","1401979648","1401979650"],"photo_ids_order":["1401979643","1401979646","1401979648","1401979650","1401979652","1401979655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d22b674099b129116ec5561aa556ce1e.jpg","text":"TemporaryFile(/tmp/multipartBody5719536903260396130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237682391,"filename":"image_01012026_03_35_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15946a298655fe83f0f57525b8afe9d4.jpg","text":"TemporaryFile(/tmp/multipartBody4797430346578920026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237682391,"filename":"image_01012026_03_34_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23e01e6223dd6c581ca64461afe0bc11.jpg","text":"TemporaryFile(/tmp/multipartBody3891629689885424315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237682391,"filename":"image_01012026_03_35_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69fe36bce8d08c05a0867f705fd768f5.jpg","text":"TemporaryFile(/tmp/multipartBody4637556528844505216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237682391,"filename":"image_01012026_03_34_45_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bffad5c175d8b3049329f455c7d3d576.jpg","text":"TemporaryFile(/tmp/multipartBody6868736756689787761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237682391,"filename":"image_01012026_03_34_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb8926156bbdd55cd0c7513cae9bc8ba.jpg","text":"TemporaryFile(/tmp/multipartBody962181976222124283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237682391,"filename":"image_01012026_03_35_05_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979648","file1":"1401979646","file0":"1401979643","file4":"1401979652","file5":"1401979655","file3":"1401979650"},"map_files_photo_id_array":[{"photo_id":"1401979655","filename":"file5"},{"photo_id":"1401979648","filename":"file2"},{"photo_id":"1401979652","filename":"file4"},{"photo_id":"1401979646","filename":"file1"},{"photo_id":"1401979643","filename":"file0"},{"photo_id":"1401979650","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979655":["hashtag1","hashtag2"]},{"1401979643":["hashtag1","hashtag2"]},{"1401979652":["hashtag1","hashtag2"]},{"1401979646":["hashtag1","hashtag2"]},{"1401979648":["hashtag1","hashtag2"]},{"1401979650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979655, 1401979643, 1401979652, 1401979646, 1401979648, 1401979650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29882192611694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:21:02.869051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_34_9816.jpg', '/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_45_10697.jpg', '/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_55_9710.jpg', '/home/pi/Desktop/images/01012026/03/35/image_01012026_03_36_04_9635.jpg', '/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_15_10634.jpg', '/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_24_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_34_9816.jpg
/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_45_10697.jpg
/home/pi/Desktop/images/01012026/03/35/image_01012026_03_35_55_9710.jpg
/home/pi/Desktop/images/01012026/03/35/image_01012026_03_36_04_9635.jpg
/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_15_10634.jpg
/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_24_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":["1401979667","1401979661","1401979664","1401979663","1401979662","1401979665"],"photo_ids_order":["1401979661","1401979662","1401979663","1401979664","1401979665","1401979667"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c033cd2aa8ad8357cba4d5becbf06c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8667253815164759014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237723532,"filename":"image_01012026_03_36_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad91032d6d8921092512f80de2565004.jpg","text":"TemporaryFile(/tmp/multipartBody1933429251276592428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237723532,"filename":"image_01012026_03_35_34_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92e9f05d13a79767d6519dbeb776a2ff.jpg","text":"TemporaryFile(/tmp/multipartBody1287308135826520732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237723532,"filename":"image_01012026_03_36_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e71669d8468481063bcf9522f85eb674.jpg","text":"TemporaryFile(/tmp/multipartBody1992313638619111070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237723532,"filename":"image_01012026_03_35_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45094c8a6876f373e869779abfea3306.jpg","text":"TemporaryFile(/tmp/multipartBody5647627350120743160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237723532,"filename":"image_01012026_03_35_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c58642ff07f1c35bba99db45de9794d.jpg","text":"TemporaryFile(/tmp/multipartBody2851172124728869648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237723532,"filename":"image_01012026_03_36_15_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979663","file1":"1401979662","file0":"1401979661","file4":"1401979665","file5":"1401979667","file3":"1401979664"},"map_files_photo_id_array":[{"photo_id":"1401979667","filename":"file5"},{"photo_id":"1401979663","filename":"file2"},{"photo_id":"1401979665","filename":"file4"},{"photo_id":"1401979662","filename":"file1"},{"photo_id":"1401979661","filename":"file0"},{"photo_id":"1401979664","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979667":["hashtag1","hashtag2"]},{"1401979661":["hashtag1","hashtag2"]},{"1401979664":["hashtag1","hashtag2"]},{"1401979663":["hashtag1","hashtag2"]},{"1401979662":["hashtag1","hashtag2"]},{"1401979665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979667, 1401979661, 1401979664, 1401979663, 1401979662, 1401979665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.682218074798584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:21:42.185762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_31_1617.jpg', '/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_40_2651.jpg', '/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_50_10853.jpg', '/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_57_1622.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_01_1566.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_04_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_31_1617.jpg
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_40_2651.jpg
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_50_10853.jpg
/home/pi/Desktop/images/03112025/22/42/image_03112025_22_42_57_1622.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_01_1566.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_04_3567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979673","1401979682","1401979676","1401979684","1401979678","1401979680"],"photo_ids_order":["1401979673","1401979676","1401979678","1401979680","1401979682","1401979684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aaa86e5ebbad2cea1c79ed40cf4f1172.jpg","text":"TemporaryFile(/tmp/multipartBody5939705112462564974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237763940,"filename":"image_03112025_22_42_31_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72ad36ec3821208d894db9e8e388fae2.jpg","text":"TemporaryFile(/tmp/multipartBody7536375784318823094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237763940,"filename":"image_03112025_22_43_01_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c2fc0e6c8ff55fec655d9a645a3306d.jpg","text":"TemporaryFile(/tmp/multipartBody7629588042435003176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237763940,"filename":"image_03112025_22_42_40_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72f4f0299b89d13d6295f5f969a095aa.jpg","text":"TemporaryFile(/tmp/multipartBody1067831641074919520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237763940,"filename":"image_03112025_22_43_04_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb5b8d6eaf69212a552298e99cf55483.jpg","text":"TemporaryFile(/tmp/multipartBody2196244732741697534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237763940,"filename":"image_03112025_22_42_50_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f113b25d65e1166208919d2e2ede441.jpg","text":"TemporaryFile(/tmp/multipartBody7984173176966362513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237763940,"filename":"image_03112025_22_42_57_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979678","file1":"1401979676","file0":"1401979673","file4":"1401979682","file5":"1401979684","file3":"1401979680"},"map_files_photo_id_array":[{"photo_id":"1401979684","filename":"file5"},{"photo_id":"1401979678","filename":"file2"},{"photo_id":"1401979682","filename":"file4"},{"photo_id":"1401979676","filename":"file1"},{"photo_id":"1401979673","filename":"file0"},{"photo_id":"1401979680","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979673":["hashtag1","hashtag2"]},{"1401979682":["hashtag1","hashtag2"]},{"1401979676":["hashtag1","hashtag2"]},{"1401979684":["hashtag1","hashtag2"]},{"1401979678":["hashtag1","hashtag2"]},{"1401979680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979673, 1401979682, 1401979676, 1401979684, 1401979678, 1401979680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19610643386841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:22:22.293934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_34_9606.jpg', '/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_45_10749.jpg', '/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_54_9626.jpg', '/home/pi/Desktop/images/01012026/03/36/image_01012026_03_37_04_9681.jpg', '/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_15_10817.jpg', '/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_25_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_34_9606.jpg
/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_45_10749.jpg
/home/pi/Desktop/images/01012026/03/36/image_01012026_03_36_54_9626.jpg
/home/pi/Desktop/images/01012026/03/36/image_01012026_03_37_04_9681.jpg
/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_15_10817.jpg
/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_25_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979691","1401979685","1401979696","1401979693","1401979687","1401979689"],"photo_ids_order":["1401979685","1401979687","1401979689","1401979691","1401979693","1401979696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4105aa808da40daae547e3de5fc0454d.jpg","text":"TemporaryFile(/tmp/multipartBody6138441746963465554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237802881,"filename":"image_01012026_03_37_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/962673442b59c08f9c2f0c9b009e50c9.jpg","text":"TemporaryFile(/tmp/multipartBody2073126674302227578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237802881,"filename":"image_01012026_03_36_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9bd79b386b0ebdb6c6dd75b8e4047248.jpg","text":"TemporaryFile(/tmp/multipartBody9028204830403350981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237802881,"filename":"image_01012026_03_37_25_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0d7098d8aeeb5a1bf4605e432606ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4668324002339025812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237802881,"filename":"image_01012026_03_37_15_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4045f053e5ba2f5cf4f25fc06840e818.jpg","text":"TemporaryFile(/tmp/multipartBody578108801481171049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237802881,"filename":"image_01012026_03_36_45_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2530306174779d2d1b6b4706cf9230b4.jpg","text":"TemporaryFile(/tmp/multipartBody8479859655886000347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237802881,"filename":"image_01012026_03_36_54_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979689","file1":"1401979687","file0":"1401979685","file4":"1401979693","file5":"1401979696","file3":"1401979691"},"map_files_photo_id_array":[{"photo_id":"1401979696","filename":"file5"},{"photo_id":"1401979689","filename":"file2"},{"photo_id":"1401979693","filename":"file4"},{"photo_id":"1401979687","filename":"file1"},{"photo_id":"1401979685","filename":"file0"},{"photo_id":"1401979691","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979691":["hashtag1","hashtag2"]},{"1401979685":["hashtag1","hashtag2"]},{"1401979696":["hashtag1","hashtag2"]},{"1401979693":["hashtag1","hashtag2"]},{"1401979687":["hashtag1","hashtag2"]},{"1401979689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979691, 1401979685, 1401979696, 1401979693, 1401979687, 1401979689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47857713699341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:23:03.298580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_34_9686.jpg', '/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_45_10584.jpg', '/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_55_9963.jpg', '/home/pi/Desktop/images/01012026/03/37/image_01012026_03_38_05_9606.jpg', '/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_14_9616.jpg', '/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_25_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_34_9686.jpg
/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_45_10584.jpg
/home/pi/Desktop/images/01012026/03/37/image_01012026_03_37_55_9963.jpg
/home/pi/Desktop/images/01012026/03/37/image_01012026_03_38_05_9606.jpg
/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_14_9616.jpg
/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_25_10793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979704","1401979706","1401979709","1401979702","1401979705","1401979707"],"photo_ids_order":["1401979702","1401979704","1401979705","1401979706","1401979707","1401979709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/731b6867ed33ed49f0c27fe19e0d3004.jpg","text":"TemporaryFile(/tmp/multipartBody8471190823445952829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237843973,"filename":"image_01012026_03_37_45_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7eb428588e3b6ebadd0aaed9388e7c17.jpg","text":"TemporaryFile(/tmp/multipartBody8534750444101497308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237843973,"filename":"image_01012026_03_38_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad3ecdf079eceff890dce8078afd11a1.jpg","text":"TemporaryFile(/tmp/multipartBody5675965592885206947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237843973,"filename":"image_01012026_03_38_25_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/238277f758c991aea4f2309096753dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8208132734716020442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237843973,"filename":"image_01012026_03_37_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e6660c9016cdf6de395d79a6a34f523.jpg","text":"TemporaryFile(/tmp/multipartBody6069993957924727858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237843973,"filename":"image_01012026_03_37_55_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79439daaad433866b669c41a114cd46e.jpg","text":"TemporaryFile(/tmp/multipartBody6143720338512140051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237843973,"filename":"image_01012026_03_38_14_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979705","file1":"1401979704","file0":"1401979702","file4":"1401979707","file5":"1401979709","file3":"1401979706"},"map_files_photo_id_array":[{"photo_id":"1401979709","filename":"file5"},{"photo_id":"1401979705","filename":"file2"},{"photo_id":"1401979707","filename":"file4"},{"photo_id":"1401979704","filename":"file1"},{"photo_id":"1401979702","filename":"file0"},{"photo_id":"1401979706","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979704":["hashtag1","hashtag2"]},{"1401979706":["hashtag1","hashtag2"]},{"1401979709":["hashtag1","hashtag2"]},{"1401979702":["hashtag1","hashtag2"]},{"1401979705":["hashtag1","hashtag2"]},{"1401979707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979704, 1401979706, 1401979709, 1401979702, 1401979705, 1401979707)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.087756633758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:24:02.843639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_35_9577.jpg', '/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_44_9809.jpg', '/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_54_9715.jpg', '/home/pi/Desktop/images/01012026/03/38/image_01012026_03_39_05_10597.jpg', '/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_15_9864.jpg', '/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_24_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_35_9577.jpg
/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_44_9809.jpg
/home/pi/Desktop/images/01012026/03/38/image_01012026_03_38_54_9715.jpg
/home/pi/Desktop/images/01012026/03/38/image_01012026_03_39_05_10597.jpg
/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_15_9864.jpg
/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_24_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979722","1401979721","1401979724","1401979727","1401979723","1401979725"],"photo_ids_order":["1401979721","1401979722","1401979723","1401979724","1401979725","1401979727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64796b84eab31b06b475148faf645149.jpg","text":"TemporaryFile(/tmp/multipartBody5202240870915479794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237903645,"filename":"image_01012026_03_38_44_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dad6548d72a5b6127db9a986194260e.jpg","text":"TemporaryFile(/tmp/multipartBody7245622113475852359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237903645,"filename":"image_01012026_03_38_35_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2f9f47fbc74c8037185ec3ad0aeda16.jpg","text":"TemporaryFile(/tmp/multipartBody4402979455758841933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237903645,"filename":"image_01012026_03_39_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad7c5838b3f244b14935c78c7edd3619.jpg","text":"TemporaryFile(/tmp/multipartBody3464692674279292529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237903645,"filename":"image_01012026_03_39_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7e5813e73ceec242d6475679384d997.jpg","text":"TemporaryFile(/tmp/multipartBody8890170184491000313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237903645,"filename":"image_01012026_03_38_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01b797a44082fd10b697c3b04a71080d.jpg","text":"TemporaryFile(/tmp/multipartBody3108222509499068413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237903645,"filename":"image_01012026_03_39_15_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979723","file1":"1401979722","file0":"1401979721","file4":"1401979725","file5":"1401979727","file3":"1401979724"},"map_files_photo_id_array":[{"photo_id":"1401979727","filename":"file5"},{"photo_id":"1401979723","filename":"file2"},{"photo_id":"1401979725","filename":"file4"},{"photo_id":"1401979722","filename":"file1"},{"photo_id":"1401979721","filename":"file0"},{"photo_id":"1401979724","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979722":["hashtag1","hashtag2"]},{"1401979721":["hashtag1","hashtag2"]},{"1401979724":["hashtag1","hashtag2"]},{"1401979727":["hashtag1","hashtag2"]},{"1401979723":["hashtag1","hashtag2"]},{"1401979725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979722, 1401979721, 1401979724, 1401979727, 1401979723, 1401979725)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 56.177597522735596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:25:02.931103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_34_9789.jpg', '/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_45_10644.jpg', '/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_55_9845.jpg', '/home/pi/Desktop/images/01012026/03/39/image_01012026_03_40_04_9664.jpg', '/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_15_10685.jpg', '/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_24_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_34_9789.jpg
/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_45_10644.jpg
/home/pi/Desktop/images/01012026/03/39/image_01012026_03_39_55_9845.jpg
/home/pi/Desktop/images/01012026/03/39/image_01012026_03_40_04_9664.jpg
/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_15_10685.jpg
/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_24_9547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979742","1401979739","1401979741","1401979744","1401979746","1401979740"],"photo_ids_order":["1401979739","1401979740","1401979741","1401979742","1401979744","1401979746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d82b291eb9977049bd434007e26a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody3492469427188331750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237966007,"filename":"image_01012026_03_40_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e73a4160b02a1dde8d944edae892e04b.jpg","text":"TemporaryFile(/tmp/multipartBody6749748637393535852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237966007,"filename":"image_01012026_03_39_34_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45a8d0c38cda544d358321559f834aaa.jpg","text":"TemporaryFile(/tmp/multipartBody3792414354279362775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237966007,"filename":"image_01012026_03_39_55_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfebf7080dc8f683aebf3e5fca0ad8c2.jpg","text":"TemporaryFile(/tmp/multipartBody3104223913719239648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237966007,"filename":"image_01012026_03_40_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9b0f8f0d60f52879b1d62eb7ad66239.jpg","text":"TemporaryFile(/tmp/multipartBody2980747760883891674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237966007,"filename":"image_01012026_03_40_24_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2981f7b33503c7467d8ea6e7a0f9722e.jpg","text":"TemporaryFile(/tmp/multipartBody3636616995036859719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767237966007,"filename":"image_01012026_03_39_45_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979741","file1":"1401979740","file0":"1401979739","file4":"1401979744","file5":"1401979746","file3":"1401979742"},"map_files_photo_id_array":[{"photo_id":"1401979746","filename":"file5"},{"photo_id":"1401979741","filename":"file2"},{"photo_id":"1401979744","filename":"file4"},{"photo_id":"1401979740","filename":"file1"},{"photo_id":"1401979739","filename":"file0"},{"photo_id":"1401979742","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979742":["hashtag1","hashtag2"]},{"1401979739":["hashtag1","hashtag2"]},{"1401979741":["hashtag1","hashtag2"]},{"1401979744":["hashtag1","hashtag2"]},{"1401979746":["hashtag1","hashtag2"]},{"1401979740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979742, 1401979739, 1401979741, 1401979744, 1401979746, 1401979740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.654393434524536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:25:42.426074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_07_2634.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_12_2709.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_24_2847.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_28_3509.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_30_2695.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_33_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/22/43/image_03112025_22_43_07_2634.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_12_2709.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_24_2847.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_28_3509.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_30_2695.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_33_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":["1401979760","1401979754","1401979751","1401979762","1401979756","1401979758"],"photo_ids_order":["1401979751","1401979754","1401979756","1401979758","1401979760","1401979762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2404290ce7f2d4d1dd3c37518040c19d.jpg","text":"TemporaryFile(/tmp/multipartBody2677566854963309219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238004164,"filename":"image_03112025_22_43_30_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c23bce90cf77a5d5e51c05c00018f2ec.jpg","text":"TemporaryFile(/tmp/multipartBody4821891256440721985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238004164,"filename":"image_03112025_22_43_12_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/878bf8d2f5b773b9e1075b8bcce1cb37.jpg","text":"TemporaryFile(/tmp/multipartBody3312480855707855050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238004164,"filename":"image_03112025_22_43_07_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d532d364e570c20f2092d64dc28e151.jpg","text":"TemporaryFile(/tmp/multipartBody6898070370370717347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238004164,"filename":"image_03112025_22_43_33_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ddeb31969a5510fa96d904e0c9f4f81.jpg","text":"TemporaryFile(/tmp/multipartBody1788617380532753319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238004164,"filename":"image_03112025_22_43_24_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e38712c98bdbd34f9699aab911464c0.jpg","text":"TemporaryFile(/tmp/multipartBody1768754891922591751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238004164,"filename":"image_03112025_22_43_28_3509.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979756","file1":"1401979754","file0":"1401979751","file4":"1401979760","file5":"1401979762","file3":"1401979758"},"map_files_photo_id_array":[{"photo_id":"1401979762","filename":"file5"},{"photo_id":"1401979756","filename":"file2"},{"photo_id":"1401979760","filename":"file4"},{"photo_id":"1401979754","filename":"file1"},{"photo_id":"1401979751","filename":"file0"},{"photo_id":"1401979758","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979760":["hashtag1","hashtag2"]},{"1401979754":["hashtag1","hashtag2"]},{"1401979751":["hashtag1","hashtag2"]},{"1401979762":["hashtag1","hashtag2"]},{"1401979756":["hashtag1","hashtag2"]},{"1401979758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979760, 1401979754, 1401979751, 1401979762, 1401979756, 1401979758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02737212181091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:26:22.537203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_34_9729.jpg', '/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_48_13401.jpg', '/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_54_6617.jpg', '/home/pi/Desktop/images/01012026/03/40/image_01012026_03_41_05_10764.jpg', '/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_15_9586.jpg', '/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_24_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_34_9729.jpg
/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_48_13401.jpg
/home/pi/Desktop/images/01012026/03/40/image_01012026_03_40_54_6617.jpg
/home/pi/Desktop/images/01012026/03/40/image_01012026_03_41_05_10764.jpg
/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_15_9586.jpg
/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_24_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":["1401979766","1401979763","1401979774","1401979768","1401979770","1401979764"],"photo_ids_order":["1401979763","1401979764","1401979766","1401979768","1401979770","1401979774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e6df15506860ae6f581aec0f8a4b1f7.jpg","text":"TemporaryFile(/tmp/multipartBody1564543331442271344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238043133,"filename":"image_01012026_03_40_54_6617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87d9d8d00733f659b2b7a9fcd47176b0.jpg","text":"TemporaryFile(/tmp/multipartBody740952028568299988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238043133,"filename":"image_01012026_03_40_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcb3dd4d5c41e4e264c659e3b16ddfa8.jpg","text":"TemporaryFile(/tmp/multipartBody3552884035137298838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238043133,"filename":"image_01012026_03_41_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/130c7044d3fcce478ededee441355be6.jpg","text":"TemporaryFile(/tmp/multipartBody7983067325411614157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238043133,"filename":"image_01012026_03_41_05_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e78adcc065aa1aae1f865a228e0cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8249425799856277041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238043133,"filename":"image_01012026_03_41_15_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98d54213ccd3a9ae0cb494dd9880aad9.jpg","text":"TemporaryFile(/tmp/multipartBody4204833229728692230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238043133,"filename":"image_01012026_03_40_48_13401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979766","file1":"1401979764","file0":"1401979763","file4":"1401979770","file5":"1401979774","file3":"1401979768"},"map_files_photo_id_array":[{"photo_id":"1401979774","filename":"file5"},{"photo_id":"1401979766","filename":"file2"},{"photo_id":"1401979770","filename":"file4"},{"photo_id":"1401979764","filename":"file1"},{"photo_id":"1401979763","filename":"file0"},{"photo_id":"1401979768","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979766":["hashtag1","hashtag2"]},{"1401979763":["hashtag1","hashtag2"]},{"1401979774":["hashtag1","hashtag2"]},{"1401979768":["hashtag1","hashtag2"]},{"1401979770":["hashtag1","hashtag2"]},{"1401979764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979766, 1401979763, 1401979774, 1401979768, 1401979770, 1401979764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58442759513855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:27:03.406037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_35_10605.jpg', '/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_44_9544.jpg', '/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_54_9627.jpg', '/home/pi/Desktop/images/01012026/03/41/image_01012026_03_42_05_10772.jpg', '/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_15_9775.jpg', '/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_24_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_35_10605.jpg
/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_44_9544.jpg
/home/pi/Desktop/images/01012026/03/41/image_01012026_03_41_54_9627.jpg
/home/pi/Desktop/images/01012026/03/41/image_01012026_03_42_05_10772.jpg
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_15_9775.jpg
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_24_9785.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":["1401979793","1401979787","1401979789","1401979791","1401979788","1401979785"],"photo_ids_order":["1401979785","1401979787","1401979788","1401979789","1401979791","1401979793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39bf208b4691d0d3cab6f5aafb02bac7.jpg","text":"TemporaryFile(/tmp/multipartBody3302367845480908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238086521,"filename":"image_01012026_03_42_24_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17aae82d4b42a9787537c752aa4617ff.jpg","text":"TemporaryFile(/tmp/multipartBody6274903449789849871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238086521,"filename":"image_01012026_03_41_44_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b1043981c8b5593194b5a28d962f957.jpg","text":"TemporaryFile(/tmp/multipartBody2062921386121914655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238086521,"filename":"image_01012026_03_42_05_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/768169ce6ff93bf6663d2559de4f69bc.jpg","text":"TemporaryFile(/tmp/multipartBody39018918699515179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238086521,"filename":"image_01012026_03_42_15_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4848a92e939ddd2e939fc950d3ffaa46.jpg","text":"TemporaryFile(/tmp/multipartBody1103404274558611508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238086521,"filename":"image_01012026_03_41_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aeeaf20eb48d91d45093ab3f7b5613c2.jpg","text":"TemporaryFile(/tmp/multipartBody7173374761641749314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238086521,"filename":"image_01012026_03_41_35_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979788","file1":"1401979787","file0":"1401979785","file4":"1401979791","file5":"1401979793","file3":"1401979789"},"map_files_photo_id_array":[{"photo_id":"1401979793","filename":"file5"},{"photo_id":"1401979788","filename":"file2"},{"photo_id":"1401979791","filename":"file4"},{"photo_id":"1401979787","filename":"file1"},{"photo_id":"1401979785","filename":"file0"},{"photo_id":"1401979789","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979793":["hashtag1","hashtag2"]},{"1401979787":["hashtag1","hashtag2"]},{"1401979789":["hashtag1","hashtag2"]},{"1401979791":["hashtag1","hashtag2"]},{"1401979788":["hashtag1","hashtag2"]},{"1401979785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979793, 1401979787, 1401979789, 1401979791, 1401979788, 1401979785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.093555212020874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:28:02.398920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_34_9823.jpg', '/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_45_10719.jpg', '/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_55_9669.jpg', '/home/pi/Desktop/images/01012026/03/42/image_01012026_03_43_04_9692.jpg', '/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_15_10632.jpg', '/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_25_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_34_9823.jpg
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_45_10719.jpg
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_55_9669.jpg
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_43_04_9692.jpg
/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_15_10632.jpg
/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_25_9931.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.5109291076660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:28:12.049679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_37_3574.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_42_2511.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_46_3606.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_48_2666.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_52_3556.jpg', '/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_57_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/22/43/image_03112025_22_43_37_3574.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_42_2511.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_46_3606.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_48_2666.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_52_3556.jpg
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_43_57_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":["1401979811","1401979814","1401979808","1401979816","1401979812","1401979806"],"photo_ids_order":["1401979806","1401979808","1401979811","1401979812","1401979814","1401979816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22a5d4c0096921eaf6fb844b09f37edc.jpg","text":"TemporaryFile(/tmp/multipartBody7007049137810840191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238153720,"filename":"image_03112025_22_43_46_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99b8ef54e2592b0a75d34bc6c9104838.jpg","text":"TemporaryFile(/tmp/multipartBody6530131337800141390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238153720,"filename":"image_03112025_22_43_52_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b22b89edfe7b9c9a8bb57ee580b4875.jpg","text":"TemporaryFile(/tmp/multipartBody8599110976540505099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238153720,"filename":"image_03112025_22_43_42_2511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f421e1093fceed85409ce337cd360e8a.jpg","text":"TemporaryFile(/tmp/multipartBody4269973410579509952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238153720,"filename":"image_03112025_22_43_57_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34bfb1c6fb5e740e8091aae3afe8c0c9.jpg","text":"TemporaryFile(/tmp/multipartBody84576884267911521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238153720,"filename":"image_03112025_22_43_48_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da600cb31b722c0447ca391a565a240b.jpg","text":"TemporaryFile(/tmp/multipartBody1615172875876461923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238153720,"filename":"image_03112025_22_43_37_3574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979811","file1":"1401979808","file0":"1401979806","file4":"1401979814","file5":"1401979816","file3":"1401979812"},"map_files_photo_id_array":[{"photo_id":"1401979816","filename":"file5"},{"photo_id":"1401979811","filename":"file2"},{"photo_id":"1401979814","filename":"file4"},{"photo_id":"1401979808","filename":"file1"},{"photo_id":"1401979806","filename":"file0"},{"photo_id":"1401979812","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979811":["hashtag1","hashtag2"]},{"1401979814":["hashtag1","hashtag2"]},{"1401979808":["hashtag1","hashtag2"]},{"1401979816":["hashtag1","hashtag2"]},{"1401979812":["hashtag1","hashtag2"]},{"1401979806":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979811, 1401979814, 1401979808, 1401979816, 1401979812, 1401979806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.921780586242676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:29:03.314188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_34_9823.jpg', '/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_45_10719.jpg', '/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_55_9669.jpg', '/home/pi/Desktop/images/01012026/03/42/image_01012026_03_43_04_9692.jpg', '/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_15_10632.jpg', '/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_25_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_34_9823.jpg
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_45_10719.jpg
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_42_55_9669.jpg
/home/pi/Desktop/images/01012026/03/42/image_01012026_03_43_04_9692.jpg
/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_15_10632.jpg
/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_25_9931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979829","1401979826","1401979831","1401979834","1401979828","1401979830"],"photo_ids_order":["1401979826","1401979828","1401979829","1401979830","1401979831","1401979834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a331f9312a7cc8a99a18ab5bcbf4eff.jpg","text":"TemporaryFile(/tmp/multipartBody1378979071317503257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238204020,"filename":"image_01012026_03_42_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0225aac524623d96759d4fe63a733e2a.jpg","text":"TemporaryFile(/tmp/multipartBody6047090316801775628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238204020,"filename":"image_01012026_03_42_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4269f34099eae30d80c5967b323ca764.jpg","text":"TemporaryFile(/tmp/multipartBody2362184767620600721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238204020,"filename":"image_01012026_03_43_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/764f17d5dfd4d3529b48101a3bfb4d6a.jpg","text":"TemporaryFile(/tmp/multipartBody2941803158904728433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238204020,"filename":"image_01012026_03_43_25_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36630c6e5c33dede8bf7755089ab6c47.jpg","text":"TemporaryFile(/tmp/multipartBody8767736163168792409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238204020,"filename":"image_01012026_03_42_45_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75f6b8190bb48cabe4dccce48f8d881a.jpg","text":"TemporaryFile(/tmp/multipartBody3458574606979456076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238204020,"filename":"image_01012026_03_43_04_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979829","file1":"1401979828","file0":"1401979826","file4":"1401979831","file5":"1401979834","file3":"1401979830"},"map_files_photo_id_array":[{"photo_id":"1401979834","filename":"file5"},{"photo_id":"1401979829","filename":"file2"},{"photo_id":"1401979831","filename":"file4"},{"photo_id":"1401979828","filename":"file1"},{"photo_id":"1401979826","filename":"file0"},{"photo_id":"1401979830","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979829":["hashtag1","hashtag2"]},{"1401979826":["hashtag1","hashtag2"]},{"1401979831":["hashtag1","hashtag2"]},{"1401979834":["hashtag1","hashtag2"]},{"1401979828":["hashtag1","hashtag2"]},{"1401979830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979829, 1401979826, 1401979831, 1401979834, 1401979828, 1401979830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87476968765259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:29:42.224756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/43/image_03112025_22_44_01_3576.jpg', '/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_10_3599.jpg', '/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_15_2778.jpg', '/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_18_2734.jpg', '/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_22_3667.jpg', '/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_56_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/43/image_03112025_22_44_01_3576.jpg
/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_10_3599.jpg
/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_15_2778.jpg
/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_18_2734.jpg
/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_22_3667.jpg
/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_56_1550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979847","1401979849","1401979840","1401979843","1401979851","1401979845"],"photo_ids_order":["1401979840","1401979843","1401979845","1401979847","1401979849","1401979851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff6558d9923b29e8548203df06b7a310.jpg","text":"TemporaryFile(/tmp/multipartBody4545504254727910442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238243983,"filename":"image_03112025_22_44_18_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a1aa25c269d5403141524686130056f.jpg","text":"TemporaryFile(/tmp/multipartBody4215334484508383928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238243983,"filename":"image_03112025_22_44_22_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ee9329e015c7162cc9d7540d8f75b7c.jpg","text":"TemporaryFile(/tmp/multipartBody588330412364871528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238243983,"filename":"image_03112025_22_44_01_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edaebaed336834cdc12e47486a91d4b4.jpg","text":"TemporaryFile(/tmp/multipartBody787009964777850913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238243983,"filename":"image_03112025_22_44_10_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa97501956ad7698ccc41041aec54e85.jpg","text":"TemporaryFile(/tmp/multipartBody5080522810692597253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238243983,"filename":"image_03112025_22_44_56_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e52400f841b495b921f1f61d28ed5c3b.jpg","text":"TemporaryFile(/tmp/multipartBody8896377182274551986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238243983,"filename":"image_03112025_22_44_15_2778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979845","file1":"1401979843","file0":"1401979840","file4":"1401979849","file5":"1401979851","file3":"1401979847"},"map_files_photo_id_array":[{"photo_id":"1401979851","filename":"file5"},{"photo_id":"1401979845","filename":"file2"},{"photo_id":"1401979849","filename":"file4"},{"photo_id":"1401979843","filename":"file1"},{"photo_id":"1401979840","filename":"file0"},{"photo_id":"1401979847","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979847":["hashtag1","hashtag2"]},{"1401979849":["hashtag1","hashtag2"]},{"1401979840":["hashtag1","hashtag2"]},{"1401979843":["hashtag1","hashtag2"]},{"1401979851":["hashtag1","hashtag2"]},{"1401979845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979847, 1401979849, 1401979840, 1401979843, 1401979851, 1401979845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49002718925476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:30:22.324772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_34_9530.jpg', '/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_44_9804.jpg', '/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_55_10682.jpg', '/home/pi/Desktop/images/01012026/03/43/image_01012026_03_44_05_9637.jpg', '/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_14_9696.jpg', '/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_25_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_34_9530.jpg
/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_44_9804.jpg
/home/pi/Desktop/images/01012026/03/43/image_01012026_03_43_55_10682.jpg
/home/pi/Desktop/images/01012026/03/43/image_01012026_03_44_05_9637.jpg
/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_14_9696.jpg
/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_25_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979853","1401979859","1401979864","1401979861","1401979855","1401979857"],"photo_ids_order":["1401979853","1401979855","1401979857","1401979859","1401979861","1401979864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b384c307cc68e9f1b24901140b5a0df.jpg","text":"TemporaryFile(/tmp/multipartBody3075242081393781515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238282918,"filename":"image_01012026_03_43_34_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9561f4cc173531b2d4104c16629bf115.jpg","text":"TemporaryFile(/tmp/multipartBody4833703417257305553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238282918,"filename":"image_01012026_03_44_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a58423760f8714cf554d87568da37cd.jpg","text":"TemporaryFile(/tmp/multipartBody7093048209061156101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238282918,"filename":"image_01012026_03_44_25_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f056a944a9128cafb39fd728c391d512.jpg","text":"TemporaryFile(/tmp/multipartBody8042802672683802769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238282918,"filename":"image_01012026_03_44_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24086c294aca8d0a826804fff2332756.jpg","text":"TemporaryFile(/tmp/multipartBody3291252446463418926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238282918,"filename":"image_01012026_03_43_44_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37a9ca7638d0902de091e8c0676da9b3.jpg","text":"TemporaryFile(/tmp/multipartBody5916439586681107957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238282918,"filename":"image_01012026_03_43_55_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979857","file1":"1401979855","file0":"1401979853","file4":"1401979861","file5":"1401979864","file3":"1401979859"},"map_files_photo_id_array":[{"photo_id":"1401979864","filename":"file5"},{"photo_id":"1401979857","filename":"file2"},{"photo_id":"1401979861","filename":"file4"},{"photo_id":"1401979855","filename":"file1"},{"photo_id":"1401979853","filename":"file0"},{"photo_id":"1401979859","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979853":["hashtag1","hashtag2"]},{"1401979859":["hashtag1","hashtag2"]},{"1401979864":["hashtag1","hashtag2"]},{"1401979861":["hashtag1","hashtag2"]},{"1401979855":["hashtag1","hashtag2"]},{"1401979857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979853, 1401979859, 1401979864, 1401979861, 1401979855, 1401979857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.521727323532104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:31:03.225410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_35_9572.jpg', '/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_44_9642.jpg', '/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_55_10548.jpg', '/home/pi/Desktop/images/01012026/03/44/image_01012026_03_45_04_9606.jpg', '/home/pi/Desktop/images/01012026/03/45/image_01012026_03_45_14_9726.jpg', '/home/pi/Desktop/images/01012026/03/45/image_01012026_03_45_34_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_35_9572.jpg
/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_44_9642.jpg
/home/pi/Desktop/images/01012026/03/44/image_01012026_03_44_55_10548.jpg
/home/pi/Desktop/images/01012026/03/44/image_01012026_03_45_04_9606.jpg
/home/pi/Desktop/images/01012026/03/45/image_01012026_03_45_14_9726.jpg
/home/pi/Desktop/images/01012026/03/45/image_01012026_03_45_34_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":["1401979871","1401979877","1401979870","1401979873","1401979872","1401979875"],"photo_ids_order":["1401979870","1401979871","1401979872","1401979873","1401979875","1401979877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ab7cba06b73050a47c971d462f1157c.jpg","text":"TemporaryFile(/tmp/multipartBody6769976626604957169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238323888,"filename":"image_01012026_03_44_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b2623eb499f65899bebd14910400c8c.jpg","text":"TemporaryFile(/tmp/multipartBody6019903527168681393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238323888,"filename":"image_01012026_03_45_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84012222d61992b7fd44c54a0289847d.jpg","text":"TemporaryFile(/tmp/multipartBody157754308866840368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238323888,"filename":"image_01012026_03_44_35_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1dfd71c01161d10245602e458347aab.jpg","text":"TemporaryFile(/tmp/multipartBody7963812317792012565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238323888,"filename":"image_01012026_03_45_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0f1867aff805ccbfa0f748eecbb144a.jpg","text":"TemporaryFile(/tmp/multipartBody8893289096264186839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238323888,"filename":"image_01012026_03_44_55_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c98d463be00ce66a70b4f1961a0d7b11.jpg","text":"TemporaryFile(/tmp/multipartBody5760906653607639443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238323888,"filename":"image_01012026_03_45_14_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979872","file1":"1401979871","file0":"1401979870","file4":"1401979875","file5":"1401979877","file3":"1401979873"},"map_files_photo_id_array":[{"photo_id":"1401979877","filename":"file5"},{"photo_id":"1401979872","filename":"file2"},{"photo_id":"1401979875","filename":"file4"},{"photo_id":"1401979871","filename":"file1"},{"photo_id":"1401979870","filename":"file0"},{"photo_id":"1401979873","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979871":["hashtag1","hashtag2"]},{"1401979877":["hashtag1","hashtag2"]},{"1401979870":["hashtag1","hashtag2"]},{"1401979873":["hashtag1","hashtag2"]},{"1401979872":["hashtag1","hashtag2"]},{"1401979875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979871, 1401979877, 1401979870, 1401979873, 1401979872, 1401979875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71469449996948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:31:42.632498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/44/image_03112025_22_44_58_1580.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_07_3013.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_10_3561.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_22_2755.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_25_3308.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_31_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/22/44/image_03112025_22_44_58_1580.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_07_3013.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_10_3561.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_22_2755.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_25_3308.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_31_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":["1401979889","1401979882","1401979891","1401979885","1401979893","1401979887"],"photo_ids_order":["1401979882","1401979885","1401979887","1401979889","1401979891","1401979893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8fe4b21cc9d0a9c10ba1587ba4d5b59.jpg","text":"TemporaryFile(/tmp/multipartBody7908618143677393025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238364386,"filename":"image_03112025_22_45_22_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eadbc67f6db362247667bf2cd3cbe7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4289869406573164447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238364386,"filename":"image_03112025_22_44_58_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d46779ae079e99c8a17cc1216cda9f53.jpg","text":"TemporaryFile(/tmp/multipartBody4205862860206667699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238364386,"filename":"image_03112025_22_45_25_3308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65baa9aa7c41f1c6ef62fa5924f4035f.jpg","text":"TemporaryFile(/tmp/multipartBody4416085688572507539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238364386,"filename":"image_03112025_22_45_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08fbe8c5d71c259034dea5d2d3bb56fd.jpg","text":"TemporaryFile(/tmp/multipartBody9123064637724604581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238364386,"filename":"image_03112025_22_45_31_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d47e5f2d6fb222eecae03f7aebc79bf.jpg","text":"TemporaryFile(/tmp/multipartBody6816343488371646186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238364386,"filename":"image_03112025_22_45_10_3561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979887","file1":"1401979885","file0":"1401979882","file4":"1401979891","file5":"1401979893","file3":"1401979889"},"map_files_photo_id_array":[{"photo_id":"1401979893","filename":"file5"},{"photo_id":"1401979887","filename":"file2"},{"photo_id":"1401979891","filename":"file4"},{"photo_id":"1401979885","filename":"file1"},{"photo_id":"1401979882","filename":"file0"},{"photo_id":"1401979889","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979889":["hashtag1","hashtag2"]},{"1401979882":["hashtag1","hashtag2"]},{"1401979891":["hashtag1","hashtag2"]},{"1401979885":["hashtag1","hashtag2"]},{"1401979893":["hashtag1","hashtag2"]},{"1401979887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979889, 1401979882, 1401979891, 1401979885, 1401979893, 1401979887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.403390407562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:32:22.768130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/45/image_01012026_03_45_45_10562.jpg', '/home/pi/Desktop/images/01012026/03/45/image_01012026_03_45_55_9653.jpg', '/home/pi/Desktop/images/01012026/03/45/image_01012026_03_46_04_9892.jpg', '/home/pi/Desktop/images/01012026/03/46/image_01012026_03_46_14_9701.jpg', '/home/pi/Desktop/images/01012026/03/46/image_01012026_03_46_25_10660.jpg', '/home/pi/Desktop/images/01012026/03/46/image_01012026_03_46_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/45/image_01012026_03_45_45_10562.jpg
/home/pi/Desktop/images/01012026/03/45/image_01012026_03_45_55_9653.jpg
/home/pi/Desktop/images/01012026/03/45/image_01012026_03_46_04_9892.jpg
/home/pi/Desktop/images/01012026/03/46/image_01012026_03_46_14_9701.jpg
/home/pi/Desktop/images/01012026/03/46/image_01012026_03_46_25_10660.jpg
/home/pi/Desktop/images/01012026/03/46/image_01012026_03_46_34_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":["1401979902","1401979895","1401979897","1401979900","1401979899","1401979905"],"photo_ids_order":["1401979895","1401979897","1401979899","1401979900","1401979902","1401979905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f38a4f03c57e7cb951265525bd4d649.jpg","text":"TemporaryFile(/tmp/multipartBody4496614519588483449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238403352,"filename":"image_01012026_03_46_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6d7028eb97affd7322336d665c8b99b.jpg","text":"TemporaryFile(/tmp/multipartBody6268556057689305802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238403352,"filename":"image_01012026_03_45_45_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cf409bee9363f6fce1f855b32ce662c.jpg","text":"TemporaryFile(/tmp/multipartBody8904091442150209359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238403352,"filename":"image_01012026_03_45_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fd3f752388ab8cb14e1c1cff7ca8db4.jpg","text":"TemporaryFile(/tmp/multipartBody6708596917054479617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238403352,"filename":"image_01012026_03_46_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43483de84d525932ab0053458d892b7d.jpg","text":"TemporaryFile(/tmp/multipartBody560754736895000835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238403352,"filename":"image_01012026_03_46_04_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe470e42290014d60a66358e8380ba11.jpg","text":"TemporaryFile(/tmp/multipartBody2722459782940496358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238403352,"filename":"image_01012026_03_46_34_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979899","file1":"1401979897","file0":"1401979895","file4":"1401979902","file5":"1401979905","file3":"1401979900"},"map_files_photo_id_array":[{"photo_id":"1401979905","filename":"file5"},{"photo_id":"1401979899","filename":"file2"},{"photo_id":"1401979902","filename":"file4"},{"photo_id":"1401979897","filename":"file1"},{"photo_id":"1401979895","filename":"file0"},{"photo_id":"1401979900","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979902":["hashtag1","hashtag2"]},{"1401979895":["hashtag1","hashtag2"]},{"1401979897":["hashtag1","hashtag2"]},{"1401979900":["hashtag1","hashtag2"]},{"1401979899":["hashtag1","hashtag2"]},{"1401979905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979902, 1401979895, 1401979897, 1401979900, 1401979899, 1401979905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42534804344177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:33:02.501409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/46/image_01012026_03_46_44_9662.jpg', '/home/pi/Desktop/images/01012026/03/46/image_01012026_03_47_04_9537.jpg', '/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_14_9680.jpg', '/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_25_10798.jpg', '/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_34_9570.jpg', '/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_44_9979.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/46/image_01012026_03_46_44_9662.jpg
/home/pi/Desktop/images/01012026/03/46/image_01012026_03_47_04_9537.jpg
/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_14_9680.jpg
/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_25_10798.jpg
/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_34_9570.jpg
/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_44_9979.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979914","1401979916","1401979913","1401979915","1401979918","1401979911"],"photo_ids_order":["1401979911","1401979913","1401979914","1401979915","1401979916","1401979918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb04684683d8512451efb86ccffe5ff5.jpg","text":"TemporaryFile(/tmp/multipartBody509634634429656632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238443197,"filename":"image_01012026_03_47_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/697730205a8a6d19f5a558f36c155b83.jpg","text":"TemporaryFile(/tmp/multipartBody3119150810411682800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238443197,"filename":"image_01012026_03_47_34_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbf2f7930b3c039fd9e5338beecd37d3.jpg","text":"TemporaryFile(/tmp/multipartBody3091166897078273702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238443197,"filename":"image_01012026_03_47_04_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be1624be25c2dd4fc95987c60929619a.jpg","text":"TemporaryFile(/tmp/multipartBody2652129332456865099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238443197,"filename":"image_01012026_03_47_25_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5564ac4b2124840ad3f7efc9e0ebbd3.jpg","text":"TemporaryFile(/tmp/multipartBody4437898368994626978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238443197,"filename":"image_01012026_03_47_44_9979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfd340191c635b0a9a95a348d9dbcdcc.jpg","text":"TemporaryFile(/tmp/multipartBody4807400177528070413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238443197,"filename":"image_01012026_03_46_44_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979914","file1":"1401979913","file0":"1401979911","file4":"1401979916","file5":"1401979918","file3":"1401979915"},"map_files_photo_id_array":[{"photo_id":"1401979918","filename":"file5"},{"photo_id":"1401979914","filename":"file2"},{"photo_id":"1401979916","filename":"file4"},{"photo_id":"1401979913","filename":"file1"},{"photo_id":"1401979911","filename":"file0"},{"photo_id":"1401979915","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979914":["hashtag1","hashtag2"]},{"1401979916":["hashtag1","hashtag2"]},{"1401979913":["hashtag1","hashtag2"]},{"1401979915":["hashtag1","hashtag2"]},{"1401979918":["hashtag1","hashtag2"]},{"1401979911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979914, 1401979916, 1401979913, 1401979915, 1401979918, 1401979911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.674155473709106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:33:41.989629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_34_3608.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_37_2777.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_40_2692.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_44_3638.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_52_8732.jpg', '/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_56_1529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_34_3608.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_37_2777.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_40_2692.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_44_3638.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_52_8732.jpg
/home/pi/Desktop/images/03112025/22/45/image_03112025_22_45_56_1529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979929","1401979934","1401979931","1401979924","1401979927","1401979935"],"photo_ids_order":["1401979924","1401979927","1401979929","1401979931","1401979934","1401979935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dc8665783bcc9fe1ec77726923ec464.jpg","text":"TemporaryFile(/tmp/multipartBody6844062487022504035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238483762,"filename":"image_03112025_22_45_40_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6413ba1bda2cc6a75bb84a516d21d406.jpg","text":"TemporaryFile(/tmp/multipartBody4418012865714686916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238483762,"filename":"image_03112025_22_45_52_8732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18908cd5520a5888d64bc0d489a996c3.jpg","text":"TemporaryFile(/tmp/multipartBody2232535016824760407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238483762,"filename":"image_03112025_22_45_44_3638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e645b6848d9486be19d5f52b24ec8ed.jpg","text":"TemporaryFile(/tmp/multipartBody2716936578840262853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238483762,"filename":"image_03112025_22_45_34_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c41191fa7aae78ed661874255ca8ac3b.jpg","text":"TemporaryFile(/tmp/multipartBody876278360331568085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238483762,"filename":"image_03112025_22_45_37_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b935d20299c32b06e2cef4df8a8f5eae.jpg","text":"TemporaryFile(/tmp/multipartBody3495038473440910618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238483762,"filename":"image_03112025_22_45_56_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979929","file1":"1401979927","file0":"1401979924","file4":"1401979934","file5":"1401979935","file3":"1401979931"},"map_files_photo_id_array":[{"photo_id":"1401979935","filename":"file5"},{"photo_id":"1401979929","filename":"file2"},{"photo_id":"1401979934","filename":"file4"},{"photo_id":"1401979927","filename":"file1"},{"photo_id":"1401979924","filename":"file0"},{"photo_id":"1401979931","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979929":["hashtag1","hashtag2"]},{"1401979934":["hashtag1","hashtag2"]},{"1401979931":["hashtag1","hashtag2"]},{"1401979924":["hashtag1","hashtag2"]},{"1401979927":["hashtag1","hashtag2"]},{"1401979935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979929, 1401979934, 1401979931, 1401979924, 1401979927, 1401979935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.344847440719604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:34:22.188349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_54_9717.jpg', '/home/pi/Desktop/images/01012026/03/47/image_01012026_03_48_05_10812.jpg', '/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_15_9643.jpg', '/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_24_9763.jpg', '/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_34_9847.jpg', '/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_45_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/47/image_01012026_03_47_54_9717.jpg
/home/pi/Desktop/images/01012026/03/47/image_01012026_03_48_05_10812.jpg
/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_15_9643.jpg
/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_24_9763.jpg
/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_34_9847.jpg
/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_45_10614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401979943","1401979937","1401979939","1401979936","1401979941","1401979947"],"photo_ids_order":["1401979936","1401979937","1401979939","1401979941","1401979943","1401979947"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55db845a7b1145a634afd2e4747f8afd.jpg","text":"TemporaryFile(/tmp/multipartBody6702850219064955118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238522780,"filename":"image_01012026_03_48_34_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa07c18bf5017af721d75361c3c9e2e1.jpg","text":"TemporaryFile(/tmp/multipartBody1737384158522510587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238522780,"filename":"image_01012026_03_48_05_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e072d90c91dbf2a86b6c1a9f389c99c.jpg","text":"TemporaryFile(/tmp/multipartBody3911982358287260497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238522780,"filename":"image_01012026_03_48_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60122ff3cfe76fbb1a7ed81b5a3fa9ca.jpg","text":"TemporaryFile(/tmp/multipartBody7224201882000081590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238522780,"filename":"image_01012026_03_47_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d39b7e4f124d62b1a2dc6e74613726d.jpg","text":"TemporaryFile(/tmp/multipartBody2375201867041753423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238522780,"filename":"image_01012026_03_48_24_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66464b89236e8dfb22993552f0586343.jpg","text":"TemporaryFile(/tmp/multipartBody4160339798266399101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238522780,"filename":"image_01012026_03_48_45_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979939","file1":"1401979937","file0":"1401979936","file4":"1401979943","file5":"1401979947","file3":"1401979941"},"map_files_photo_id_array":[{"photo_id":"1401979947","filename":"file5"},{"photo_id":"1401979939","filename":"file2"},{"photo_id":"1401979943","filename":"file4"},{"photo_id":"1401979937","filename":"file1"},{"photo_id":"1401979936","filename":"file0"},{"photo_id":"1401979941","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979943":["hashtag1","hashtag2"]},{"1401979937":["hashtag1","hashtag2"]},{"1401979939":["hashtag1","hashtag2"]},{"1401979936":["hashtag1","hashtag2"]},{"1401979941":["hashtag1","hashtag2"]},{"1401979947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979943, 1401979937, 1401979939, 1401979936, 1401979941, 1401979947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23208737373352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:35:03.028610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 04:35:13.610782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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 15
2026-01-01 04:35:22.319694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_54_9581.jpg', '/home/pi/Desktop/images/01012026/03/48/image_01012026_03_49_05_10590.jpg', '/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_15_9721.jpg', '/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_24_9647.jpg', '/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_35_10674.jpg', '/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_45_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/48/image_01012026_03_48_54_9581.jpg
/home/pi/Desktop/images/01012026/03/48/image_01012026_03_49_05_10590.jpg
/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_15_9721.jpg
/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_24_9647.jpg
/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_35_10674.jpg
/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_45_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":["1401979970","1401979964","1401979960","1401979966","1401979968","1401979962"],"photo_ids_order":["1401979960","1401979962","1401979964","1401979966","1401979968","1401979970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7764db33396ee638771dd524674b83ef.jpg","text":"TemporaryFile(/tmp/multipartBody3853722331963350630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238582879,"filename":"image_01012026_03_49_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3eb142f2cba9f2e863f8a8eededad755.jpg","text":"TemporaryFile(/tmp/multipartBody5397202581012205263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238582879,"filename":"image_01012026_03_49_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed40ddf30c59bfdc86fd6e648556f139.jpg","text":"TemporaryFile(/tmp/multipartBody4494946060691731132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238582879,"filename":"image_01012026_03_48_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9273ed71ffefd3c708e0e2fbbc9a53d.jpg","text":"TemporaryFile(/tmp/multipartBody4043716738094714319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238582879,"filename":"image_01012026_03_49_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30edeb59de336345b8a44ba2f7b72a12.jpg","text":"TemporaryFile(/tmp/multipartBody1599910071895892883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238582879,"filename":"image_01012026_03_49_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3c020064978d9fe3d03445a5e09a931.jpg","text":"TemporaryFile(/tmp/multipartBody1999122841978837271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238582879,"filename":"image_01012026_03_49_05_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979964","file1":"1401979962","file0":"1401979960","file4":"1401979968","file5":"1401979970","file3":"1401979966"},"map_files_photo_id_array":[{"photo_id":"1401979970","filename":"file5"},{"photo_id":"1401979964","filename":"file2"},{"photo_id":"1401979968","filename":"file4"},{"photo_id":"1401979962","filename":"file1"},{"photo_id":"1401979960","filename":"file0"},{"photo_id":"1401979966","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401979970":["hashtag1","hashtag2"]},{"1401979964":["hashtag1","hashtag2"]},{"1401979960":["hashtag1","hashtag2"]},{"1401979966":["hashtag1","hashtag2"]},{"1401979968":["hashtag1","hashtag2"]},{"1401979962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401979970, 1401979964, 1401979960, 1401979966, 1401979968, 1401979962)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.23855900764465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:36:14.400432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_13_2621.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_22_2622.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_31_2691.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_36_4449.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_37_1582.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_40_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/22/46/image_03112025_22_46_13_2621.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_22_2622.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_31_2691.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_36_4449.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_37_1582.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_40_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":["1401979988","1401979981","1401979990","1401979992","1401979986","1401979983"],"photo_ids_order":["1401979981","1401979983","1401979986","1401979988","1401979990","1401979992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cca91abcd81dadeb78ac7ef7e2e131b6.jpg","text":"TemporaryFile(/tmp/multipartBody6940168534845498386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238637118,"filename":"image_03112025_22_46_36_4449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbf5ea0adc6d59db0b3dec16d3b647be.jpg","text":"TemporaryFile(/tmp/multipartBody6639042841286667416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238637118,"filename":"image_03112025_22_46_13_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00de8c77c0064515ed54f0b5e03b35e9.jpg","text":"TemporaryFile(/tmp/multipartBody8087301230203227070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238637118,"filename":"image_03112025_22_46_37_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f2b06b55ab15c02670e87aa75869ef8.jpg","text":"TemporaryFile(/tmp/multipartBody5284682944881930283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238637118,"filename":"image_03112025_22_46_40_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7541d77398f33ace61ef43787d5a884.jpg","text":"TemporaryFile(/tmp/multipartBody7259550441571546226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238637118,"filename":"image_03112025_22_46_31_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45bf419d6a4cb7ae21d877545fa2d63d.jpg","text":"TemporaryFile(/tmp/multipartBody4968914579850839586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238637118,"filename":"image_03112025_22_46_22_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401979986","file1":"1401979983","file0":"1401979981","file4":"1401979990","file5":"1401979992","file3":"1401979988"},"map_files_photo_id_array":[{"photo_id":"1401979992","filename":"file5"},{"photo_id":"1401979986","filename":"file2"},{"photo_id":"1401979990","filename":"file4"},{"photo_id":"1401979983","filename":"file1"},{"photo_id":"1401979981","filename":"file0"},{"photo_id":"1401979988","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401979988":["hashtag1","hashtag2"]},{"1401979981":["hashtag1","hashtag2"]},{"1401979990":["hashtag1","hashtag2"]},{"1401979992":["hashtag1","hashtag2"]},{"1401979986":["hashtag1","hashtag2"]},{"1401979983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401979988, 1401979981, 1401979990, 1401979992, 1401979986, 1401979983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.407922983169556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:37:04.220909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 04:37:12.500656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_43_3515.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_46_2675.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_49_3642.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_52_2846.jpg', '/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_55_2732.jpg', '/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_03_1734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_43_3515.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_46_2675.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_49_3642.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_52_2846.jpg
/home/pi/Desktop/images/03112025/22/46/image_03112025_22_46_55_2732.jpg
/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_03_1734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980010","1401980004","1401980001","1401980006","1401980008","1401980002"],"photo_ids_order":["1401980001","1401980002","1401980004","1401980006","1401980008","1401980010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b44eb0b8e2d81c90bdc5202dc461ab8.jpg","text":"TemporaryFile(/tmp/multipartBody9064075449510204731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238694251,"filename":"image_03112025_22_47_03_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09e42ea07ea23af20938efa0dbebeb0e.jpg","text":"TemporaryFile(/tmp/multipartBody1380829995966501121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238694251,"filename":"image_03112025_22_46_49_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c53efa3d629c5b648e36d83d3ec1cb2.jpg","text":"TemporaryFile(/tmp/multipartBody2571846232611765058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238694251,"filename":"image_03112025_22_46_43_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc6bc5a038a3a96cb173f673b91c2611.jpg","text":"TemporaryFile(/tmp/multipartBody3068678205258811693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238694251,"filename":"image_03112025_22_46_52_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8fc173b9c07e519023edf96b127f49a8.jpg","text":"TemporaryFile(/tmp/multipartBody4522041706223038810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238694251,"filename":"image_03112025_22_46_55_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec3a5859078be63ba6ceff34195d0125.jpg","text":"TemporaryFile(/tmp/multipartBody2390493438494033988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238694251,"filename":"image_03112025_22_46_46_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980004","file1":"1401980002","file0":"1401980001","file4":"1401980008","file5":"1401980010","file3":"1401980006"},"map_files_photo_id_array":[{"photo_id":"1401980010","filename":"file5"},{"photo_id":"1401980004","filename":"file2"},{"photo_id":"1401980008","filename":"file4"},{"photo_id":"1401980002","filename":"file1"},{"photo_id":"1401980001","filename":"file0"},{"photo_id":"1401980006","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980010":["hashtag1","hashtag2"]},{"1401980004":["hashtag1","hashtag2"]},{"1401980001":["hashtag1","hashtag2"]},{"1401980006":["hashtag1","hashtag2"]},{"1401980008":["hashtag1","hashtag2"]},{"1401980002":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980010, 1401980004, 1401980001, 1401980006, 1401980008, 1401980002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.595656633377075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:38:03.185439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_54_9551.jpg', '/home/pi/Desktop/images/01012026/03/49/image_01012026_03_50_05_10584.jpg', '/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_14_9574.jpg', '/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_24_9841.jpg', '/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_34_9839.jpg', '/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_45_10864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/49/image_01012026_03_49_54_9551.jpg
/home/pi/Desktop/images/01012026/03/49/image_01012026_03_50_05_10584.jpg
/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_14_9574.jpg
/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_24_9841.jpg
/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_34_9839.jpg
/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_45_10864.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980022","1401980025","1401980019","1401980021","1401980020","1401980023"],"photo_ids_order":["1401980019","1401980020","1401980021","1401980022","1401980023","1401980025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee5e544d1259948ee7763af0087945b1.jpg","text":"TemporaryFile(/tmp/multipartBody3993688090060796962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238743796,"filename":"image_01012026_03_50_24_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90de921c867568ff85642fd6f0f84e0f.jpg","text":"TemporaryFile(/tmp/multipartBody5853367821273808442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238743796,"filename":"image_01012026_03_50_45_10864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffe4835cb5ef88623b335faa44f12527.jpg","text":"TemporaryFile(/tmp/multipartBody2842676955447458257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238743796,"filename":"image_01012026_03_49_54_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a533034778cc3aaa00592d5cebc00445.jpg","text":"TemporaryFile(/tmp/multipartBody1099164128446683554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238743796,"filename":"image_01012026_03_50_14_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf1d6d1adaedefefd2952f34c3383d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2237768092340193435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238743796,"filename":"image_01012026_03_50_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d7d33cda297bd5cbe646a20db0d86de.jpg","text":"TemporaryFile(/tmp/multipartBody1510009037491832970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238743796,"filename":"image_01012026_03_50_34_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980021","file1":"1401980020","file0":"1401980019","file4":"1401980023","file5":"1401980025","file3":"1401980022"},"map_files_photo_id_array":[{"photo_id":"1401980025","filename":"file5"},{"photo_id":"1401980021","filename":"file2"},{"photo_id":"1401980023","filename":"file4"},{"photo_id":"1401980020","filename":"file1"},{"photo_id":"1401980019","filename":"file0"},{"photo_id":"1401980022","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980022":["hashtag1","hashtag2"]},{"1401980025":["hashtag1","hashtag2"]},{"1401980019":["hashtag1","hashtag2"]},{"1401980021":["hashtag1","hashtag2"]},{"1401980020":["hashtag1","hashtag2"]},{"1401980023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980022, 1401980025, 1401980019, 1401980021, 1401980020, 1401980023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.699594497680664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:38:42.764833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_04_1525.jpg', '/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_10_2684.jpg', '/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_19_5431.jpg', '/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_30_1764.jpg', '/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_48_1495.jpg', '/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_51_1740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_04_1525.jpg
/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_10_2684.jpg
/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_19_5431.jpg
/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_30_1764.jpg
/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_48_1495.jpg
/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_51_1740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980040","1401980031","1401980034","1401980042","1401980036","1401980038"],"photo_ids_order":["1401980031","1401980034","1401980036","1401980038","1401980040","1401980042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1737b7f6908f2a912482a1897018faea.jpg","text":"TemporaryFile(/tmp/multipartBody3064184023524820425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238784530,"filename":"image_03112025_22_47_48_1495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d39334848401db652637a3cc3d85d6b.jpg","text":"TemporaryFile(/tmp/multipartBody2696743771886162773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238784530,"filename":"image_03112025_22_47_04_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95ed8234508c911946430a26253d74e0.jpg","text":"TemporaryFile(/tmp/multipartBody9076333398139330912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238784530,"filename":"image_03112025_22_47_10_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b4f9cbd69613dd220729a90ec870a0b.jpg","text":"TemporaryFile(/tmp/multipartBody1239097761763168247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238784530,"filename":"image_03112025_22_47_51_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48f1ac5418502be92967bc7a33fc0789.jpg","text":"TemporaryFile(/tmp/multipartBody7009873886334160986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238784530,"filename":"image_03112025_22_47_19_5431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1e702261becce3580bdf50a4ed25792.jpg","text":"TemporaryFile(/tmp/multipartBody2785935766414461958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238784530,"filename":"image_03112025_22_47_30_1764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980036","file1":"1401980034","file0":"1401980031","file4":"1401980040","file5":"1401980042","file3":"1401980038"},"map_files_photo_id_array":[{"photo_id":"1401980042","filename":"file5"},{"photo_id":"1401980036","filename":"file2"},{"photo_id":"1401980040","filename":"file4"},{"photo_id":"1401980034","filename":"file1"},{"photo_id":"1401980031","filename":"file0"},{"photo_id":"1401980038","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980040":["hashtag1","hashtag2"]},{"1401980031":["hashtag1","hashtag2"]},{"1401980034":["hashtag1","hashtag2"]},{"1401980042":["hashtag1","hashtag2"]},{"1401980036":["hashtag1","hashtag2"]},{"1401980038":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980040, 1401980031, 1401980034, 1401980042, 1401980036, 1401980038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09827733039856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:39:21.882945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_55_9805.jpg', '/home/pi/Desktop/images/01012026/03/50/image_01012026_03_51_05_9734.jpg', '/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_14_9744.jpg', '/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_25_10609.jpg', '/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_35_9674.jpg', '/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_45_10370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/50/image_01012026_03_50_55_9805.jpg
/home/pi/Desktop/images/01012026/03/50/image_01012026_03_51_05_9734.jpg
/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_14_9744.jpg
/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_25_10609.jpg
/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_35_9674.jpg
/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_45_10370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980055","1401980043","1401980052","1401980045","1401980050","1401980047"],"photo_ids_order":["1401980043","1401980045","1401980047","1401980050","1401980052","1401980055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f61c29f1e5febb3c792fd9d26fb186b4.jpg","text":"TemporaryFile(/tmp/multipartBody8137796418942795669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238822472,"filename":"image_01012026_03_51_45_10370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/534c364aad9e6b4bbcbfd58f5fec3e46.jpg","text":"TemporaryFile(/tmp/multipartBody428084521837891695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238822472,"filename":"image_01012026_03_50_55_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a3d33c52c84e9ef000d8aa3705967c7.jpg","text":"TemporaryFile(/tmp/multipartBody1516533611273253062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238822472,"filename":"image_01012026_03_51_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e96843d470fa2156b649fbd4966e3262.jpg","text":"TemporaryFile(/tmp/multipartBody3048278019729343787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238822472,"filename":"image_01012026_03_51_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/deb5ad6e22496ab186e3067fc0a8759c.jpg","text":"TemporaryFile(/tmp/multipartBody1582308674258163717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238822472,"filename":"image_01012026_03_51_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b20af5a67fd706986e228c7c4e79f3bf.jpg","text":"TemporaryFile(/tmp/multipartBody6182517106865303850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238822472,"filename":"image_01012026_03_51_14_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980047","file1":"1401980045","file0":"1401980043","file4":"1401980052","file5":"1401980055","file3":"1401980050"},"map_files_photo_id_array":[{"photo_id":"1401980055","filename":"file5"},{"photo_id":"1401980047","filename":"file2"},{"photo_id":"1401980052","filename":"file4"},{"photo_id":"1401980045","filename":"file1"},{"photo_id":"1401980043","filename":"file0"},{"photo_id":"1401980050","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980055":["hashtag1","hashtag2"]},{"1401980043":["hashtag1","hashtag2"]},{"1401980052":["hashtag1","hashtag2"]},{"1401980045":["hashtag1","hashtag2"]},{"1401980050":["hashtag1","hashtag2"]},{"1401980047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980055, 1401980043, 1401980052, 1401980045, 1401980050, 1401980047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.243194341659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:40:02.548988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_55_9637.jpg', '/home/pi/Desktop/images/01012026/03/51/image_01012026_03_52_04_9850.jpg', '/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_14_9881.jpg', '/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_25_10676.jpg', '/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_35_9602.jpg', '/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_44_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/51/image_01012026_03_51_55_9637.jpg
/home/pi/Desktop/images/01012026/03/51/image_01012026_03_52_04_9850.jpg
/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_14_9881.jpg
/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_25_10676.jpg
/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_35_9602.jpg
/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_44_9622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980064","1401980060","1401980063","1401980062","1401980065","1401980067"],"photo_ids_order":["1401980060","1401980062","1401980063","1401980064","1401980065","1401980067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d328709055a12fbeefdc66ad2c897ea.jpg","text":"TemporaryFile(/tmp/multipartBody2990591552150786218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238863201,"filename":"image_01012026_03_52_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3179ec7cbba428c231c8eadbe05b224.jpg","text":"TemporaryFile(/tmp/multipartBody5711262317648885296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238863201,"filename":"image_01012026_03_51_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e458e146e8c5b03c63512849289f930.jpg","text":"TemporaryFile(/tmp/multipartBody736562377193123455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238863201,"filename":"image_01012026_03_52_14_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa11462ffd5982d10c7dca93f1a3c69e.jpg","text":"TemporaryFile(/tmp/multipartBody5563814275255646446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238863201,"filename":"image_01012026_03_52_04_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73af6126e0ea81bacf18a7d1e63c5bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4799999793207037977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238863201,"filename":"image_01012026_03_52_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a9f6279290a923dad7c6067596d234a.jpg","text":"TemporaryFile(/tmp/multipartBody6361939341105934361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238863201,"filename":"image_01012026_03_52_44_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980063","file1":"1401980062","file0":"1401980060","file4":"1401980065","file5":"1401980067","file3":"1401980064"},"map_files_photo_id_array":[{"photo_id":"1401980067","filename":"file5"},{"photo_id":"1401980063","filename":"file2"},{"photo_id":"1401980065","filename":"file4"},{"photo_id":"1401980062","filename":"file1"},{"photo_id":"1401980060","filename":"file0"},{"photo_id":"1401980064","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980064":["hashtag1","hashtag2"]},{"1401980060":["hashtag1","hashtag2"]},{"1401980063":["hashtag1","hashtag2"]},{"1401980062":["hashtag1","hashtag2"]},{"1401980065":["hashtag1","hashtag2"]},{"1401980067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980064, 1401980060, 1401980063, 1401980062, 1401980065, 1401980067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8940954208374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:40:42.178843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_55_2672.jpg', '/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_58_2529.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_04_2598.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_17_1606.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_21_1548.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_22_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/22/47/image_03112025_22_47_55_2672.jpg
/home/pi/Desktop/images/03112025/22/47/image_03112025_22_47_58_2529.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_04_2598.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_17_1606.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_21_1548.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_22_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":["1401980082","1401980076","1401980078","1401980080","1401980085","1401980073"],"photo_ids_order":["1401980073","1401980076","1401980078","1401980080","1401980082","1401980085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90636fb1414b4a439b059854c120fd08.jpg","text":"TemporaryFile(/tmp/multipartBody5036598465943271661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238903945,"filename":"image_03112025_22_48_21_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ada1ff004e715af21603feb54dce61b1.jpg","text":"TemporaryFile(/tmp/multipartBody1508959460070820447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238903945,"filename":"image_03112025_22_47_58_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b8304ef751331011320ee95abcb144b.jpg","text":"TemporaryFile(/tmp/multipartBody3612126108492157951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238903945,"filename":"image_03112025_22_48_04_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20e0ca4ce5097c6787a4464b889b1a48.jpg","text":"TemporaryFile(/tmp/multipartBody7480766015567138615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238903945,"filename":"image_03112025_22_48_17_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76417728d0a1477083d2fcff21d753cc.jpg","text":"TemporaryFile(/tmp/multipartBody2637621841889137268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238903945,"filename":"image_03112025_22_48_22_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aaad5b1b8e995387620c173869c97fb4.jpg","text":"TemporaryFile(/tmp/multipartBody8223219110489736930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238903945,"filename":"image_03112025_22_47_55_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980078","file1":"1401980076","file0":"1401980073","file4":"1401980082","file5":"1401980085","file3":"1401980080"},"map_files_photo_id_array":[{"photo_id":"1401980085","filename":"file5"},{"photo_id":"1401980078","filename":"file2"},{"photo_id":"1401980082","filename":"file4"},{"photo_id":"1401980076","filename":"file1"},{"photo_id":"1401980073","filename":"file0"},{"photo_id":"1401980080","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980082":["hashtag1","hashtag2"]},{"1401980076":["hashtag1","hashtag2"]},{"1401980078":["hashtag1","hashtag2"]},{"1401980080":["hashtag1","hashtag2"]},{"1401980085":["hashtag1","hashtag2"]},{"1401980073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980082, 1401980076, 1401980078, 1401980080, 1401980085, 1401980073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04389047622681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:41:22.413955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_55_10702.jpg', '/home/pi/Desktop/images/01012026/03/52/image_01012026_03_53_05_9697.jpg', '/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_14_9586.jpg', '/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_25_10582.jpg', '/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_34_9644.jpg', '/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/52/image_01012026_03_52_55_10702.jpg
/home/pi/Desktop/images/01012026/03/52/image_01012026_03_53_05_9697.jpg
/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_14_9586.jpg
/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_25_10582.jpg
/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_34_9644.jpg
/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980097","1401980092","1401980089","1401980086","1401980091","1401980094"],"photo_ids_order":["1401980086","1401980089","1401980091","1401980092","1401980094","1401980097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05974712400759a3a9b6bfa9235b58c1.jpg","text":"TemporaryFile(/tmp/multipartBody4701721333160178088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238943002,"filename":"image_01012026_03_53_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ca097491fd59186ed2d90ac0d754bbc.jpg","text":"TemporaryFile(/tmp/multipartBody3509973062909844600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238943002,"filename":"image_01012026_03_53_25_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2123bf75b02fcb54412c5b8d52b2c01b.jpg","text":"TemporaryFile(/tmp/multipartBody2719044709835606254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238943002,"filename":"image_01012026_03_53_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5704e7ff56edf2059fbde2bfecabcb9.jpg","text":"TemporaryFile(/tmp/multipartBody6920268753661037112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238943002,"filename":"image_01012026_03_52_55_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4019a30f55df399f710fea247951f778.jpg","text":"TemporaryFile(/tmp/multipartBody2995147155999671310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238943002,"filename":"image_01012026_03_53_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18be45a5e4c9ab98b1caa9fe94db68c2.jpg","text":"TemporaryFile(/tmp/multipartBody6308640473549663378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238943002,"filename":"image_01012026_03_53_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980091","file1":"1401980089","file0":"1401980086","file4":"1401980094","file5":"1401980097","file3":"1401980092"},"map_files_photo_id_array":[{"photo_id":"1401980097","filename":"file5"},{"photo_id":"1401980091","filename":"file2"},{"photo_id":"1401980094","filename":"file4"},{"photo_id":"1401980089","filename":"file1"},{"photo_id":"1401980086","filename":"file0"},{"photo_id":"1401980092","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980097":["hashtag1","hashtag2"]},{"1401980092":["hashtag1","hashtag2"]},{"1401980089":["hashtag1","hashtag2"]},{"1401980086":["hashtag1","hashtag2"]},{"1401980091":["hashtag1","hashtag2"]},{"1401980094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980097, 1401980092, 1401980089, 1401980086, 1401980091, 1401980094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1321496963501 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:42:02.973236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_55_10650.jpg', '/home/pi/Desktop/images/01012026/03/53/image_01012026_03_54_05_9937.jpg', '/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_14_9789.jpg', '/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_24_9775.jpg', '/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_35_10813.jpg', '/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_45_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/53/image_01012026_03_53_55_10650.jpg
/home/pi/Desktop/images/01012026/03/53/image_01012026_03_54_05_9937.jpg
/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_14_9789.jpg
/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_24_9775.jpg
/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_35_10813.jpg
/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_45_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980103","1401980106","1401980108","1401980105","1401980110","1401980107"],"photo_ids_order":["1401980103","1401980105","1401980106","1401980107","1401980108","1401980110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/009f92fa5337d97b40dddcb7e303e146.jpg","text":"TemporaryFile(/tmp/multipartBody8027515879826037040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238983628,"filename":"image_01012026_03_53_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dabd2ee1c2349422df4246ae1482651e.jpg","text":"TemporaryFile(/tmp/multipartBody3549876110407669066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238983628,"filename":"image_01012026_03_54_14_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60b6a9b63c0749370839071fed6e233b.jpg","text":"TemporaryFile(/tmp/multipartBody6609035002221705881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238983628,"filename":"image_01012026_03_54_35_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7eaece52fa2d57af1f9d63b63c3fbc7e.jpg","text":"TemporaryFile(/tmp/multipartBody8181063261596919908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238983628,"filename":"image_01012026_03_54_05_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2260e6a11122db67c11206cd943fa1d.jpg","text":"TemporaryFile(/tmp/multipartBody1156728028353246360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238983628,"filename":"image_01012026_03_54_45_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c94100aea6d2afff1139af9777ea93e7.jpg","text":"TemporaryFile(/tmp/multipartBody6665768212020484089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767238983628,"filename":"image_01012026_03_54_24_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980106","file1":"1401980105","file0":"1401980103","file4":"1401980108","file5":"1401980110","file3":"1401980107"},"map_files_photo_id_array":[{"photo_id":"1401980110","filename":"file5"},{"photo_id":"1401980106","filename":"file2"},{"photo_id":"1401980108","filename":"file4"},{"photo_id":"1401980105","filename":"file1"},{"photo_id":"1401980103","filename":"file0"},{"photo_id":"1401980107","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980103":["hashtag1","hashtag2"]},{"1401980106":["hashtag1","hashtag2"]},{"1401980108":["hashtag1","hashtag2"]},{"1401980105":["hashtag1","hashtag2"]},{"1401980110":["hashtag1","hashtag2"]},{"1401980107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980103, 1401980106, 1401980108, 1401980105, 1401980110, 1401980107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.914942502975464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:42:42.519497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_24_1677.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_28_2561.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_31_2650.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_42_2593.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_46_3734.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_50_3948.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_24_1677.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_28_2561.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_31_2650.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_42_2593.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_46_3734.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_50_3948.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980121","1401980127","1401980123","1401980125","1401980119","1401980116"],"photo_ids_order":["1401980116","1401980119","1401980121","1401980123","1401980125","1401980127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3f8ec66283ca25b93ba52946a77e11f.jpg","text":"TemporaryFile(/tmp/multipartBody5321771480557831460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239024324,"filename":"image_03112025_22_48_31_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3f89708a32886055f861d090d401080.jpg","text":"TemporaryFile(/tmp/multipartBody2838079637587518857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239024324,"filename":"image_03112025_22_48_50_3948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33ab71dab22ff1540400cb41751e966f.jpg","text":"TemporaryFile(/tmp/multipartBody7334053882015475978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239024324,"filename":"image_03112025_22_48_42_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1d807c46da7afbab441e0dac1527140.jpg","text":"TemporaryFile(/tmp/multipartBody7092051931718081895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239024324,"filename":"image_03112025_22_48_46_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86ea70e0b474140e69071375233a7be6.jpg","text":"TemporaryFile(/tmp/multipartBody3345666656911858565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239024324,"filename":"image_03112025_22_48_28_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86bb67e861fd525541b83a99da4b23ef.jpg","text":"TemporaryFile(/tmp/multipartBody8485485717288011908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239024324,"filename":"image_03112025_22_48_24_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980121","file1":"1401980119","file0":"1401980116","file4":"1401980125","file5":"1401980127","file3":"1401980123"},"map_files_photo_id_array":[{"photo_id":"1401980127","filename":"file5"},{"photo_id":"1401980121","filename":"file2"},{"photo_id":"1401980125","filename":"file4"},{"photo_id":"1401980119","filename":"file1"},{"photo_id":"1401980116","filename":"file0"},{"photo_id":"1401980123","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980121":["hashtag1","hashtag2"]},{"1401980127":["hashtag1","hashtag2"]},{"1401980123":["hashtag1","hashtag2"]},{"1401980125":["hashtag1","hashtag2"]},{"1401980119":["hashtag1","hashtag2"]},{"1401980116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980121, 1401980127, 1401980123, 1401980125, 1401980119, 1401980116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69404149055481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:43:22.732167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_54_9666.jpg', '/home/pi/Desktop/images/01012026/03/54/image_01012026_03_55_04_9625.jpg', '/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_15_10595.jpg', '/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_24_9675.jpg', '/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_34_9790.jpg', '/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_45_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/54/image_01012026_03_54_54_9666.jpg
/home/pi/Desktop/images/01012026/03/54/image_01012026_03_55_04_9625.jpg
/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_15_10595.jpg
/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_24_9675.jpg
/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_34_9790.jpg
/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_45_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980136","1401980139","1401980130","1401980132","1401980134","1401980128"],"photo_ids_order":["1401980128","1401980130","1401980132","1401980134","1401980136","1401980139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afa5d9c1cc06f7d1e19d980d1b7ab671.jpg","text":"TemporaryFile(/tmp/multipartBody911152448864049095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239063319,"filename":"image_01012026_03_55_34_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c3aac1cc69b4c924c2ede6986121409.jpg","text":"TemporaryFile(/tmp/multipartBody3282319708681524132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239063319,"filename":"image_01012026_03_55_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21d3da2df3db4e9e294081a615849c08.jpg","text":"TemporaryFile(/tmp/multipartBody203550697414666878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239063319,"filename":"image_01012026_03_55_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95d2af3e21b0655ec994c0d19e2d7eec.jpg","text":"TemporaryFile(/tmp/multipartBody3821534686151304276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239063319,"filename":"image_01012026_03_55_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c672db5e0793adbd53508519c3948c38.jpg","text":"TemporaryFile(/tmp/multipartBody2467623316813030150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239063319,"filename":"image_01012026_03_55_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fd69df32182c6201916fe68dd27a415.jpg","text":"TemporaryFile(/tmp/multipartBody3600236171049186505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239063319,"filename":"image_01012026_03_54_54_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980132","file1":"1401980130","file0":"1401980128","file4":"1401980136","file5":"1401980139","file3":"1401980134"},"map_files_photo_id_array":[{"photo_id":"1401980139","filename":"file5"},{"photo_id":"1401980132","filename":"file2"},{"photo_id":"1401980136","filename":"file4"},{"photo_id":"1401980130","filename":"file1"},{"photo_id":"1401980128","filename":"file0"},{"photo_id":"1401980134","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980136":["hashtag1","hashtag2"]},{"1401980139":["hashtag1","hashtag2"]},{"1401980130":["hashtag1","hashtag2"]},{"1401980132":["hashtag1","hashtag2"]},{"1401980134":["hashtag1","hashtag2"]},{"1401980128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980136, 1401980139, 1401980130, 1401980132, 1401980134, 1401980128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75535726547241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:44:02.598276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_55_9786.jpg', '/home/pi/Desktop/images/01012026/03/55/image_01012026_03_56_04_9681.jpg', '/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_15_10668.jpg', '/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_25_9721.jpg', '/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_34_9570.jpg', '/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_44_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/55/image_01012026_03_55_55_9786.jpg
/home/pi/Desktop/images/01012026/03/55/image_01012026_03_56_04_9681.jpg
/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_15_10668.jpg
/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_25_9721.jpg
/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_34_9570.jpg
/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_44_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980154","1401980148","1401980151","1401980147","1401980152","1401980149"],"photo_ids_order":["1401980147","1401980148","1401980149","1401980151","1401980152","1401980154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33f70fe7863e3da5a9334a819634a7b4.jpg","text":"TemporaryFile(/tmp/multipartBody3748631911501793149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239103313,"filename":"image_01012026_03_56_44_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f69a2db8df735eb8a4953beb23f2c192.jpg","text":"TemporaryFile(/tmp/multipartBody4006434736748741342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239103313,"filename":"image_01012026_03_56_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67b6aec8bbbd8aee426b04f0485a9fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3391978530339447875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239103313,"filename":"image_01012026_03_56_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba726cbd913437fc74f1136ea719944e.jpg","text":"TemporaryFile(/tmp/multipartBody25885247819877475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239103313,"filename":"image_01012026_03_55_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e217187c6fc31300289f04b418c6c4ef.jpg","text":"TemporaryFile(/tmp/multipartBody4138656247157637756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239103313,"filename":"image_01012026_03_56_34_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cccd5fa387008581fae961c99cfc601f.jpg","text":"TemporaryFile(/tmp/multipartBody5346406754585955053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239103313,"filename":"image_01012026_03_56_15_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980149","file1":"1401980148","file0":"1401980147","file4":"1401980152","file5":"1401980154","file3":"1401980151"},"map_files_photo_id_array":[{"photo_id":"1401980154","filename":"file5"},{"photo_id":"1401980149","filename":"file2"},{"photo_id":"1401980152","filename":"file4"},{"photo_id":"1401980148","filename":"file1"},{"photo_id":"1401980147","filename":"file0"},{"photo_id":"1401980151","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980154":["hashtag1","hashtag2"]},{"1401980148":["hashtag1","hashtag2"]},{"1401980151":["hashtag1","hashtag2"]},{"1401980147":["hashtag1","hashtag2"]},{"1401980152":["hashtag1","hashtag2"]},{"1401980149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980154, 1401980148, 1401980151, 1401980147, 1401980152, 1401980149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17525863647461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:44:41.961078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/48/image_03112025_22_48_52_1723.jpg', '/home/pi/Desktop/images/03112025/22/48/image_03112025_22_49_00_1810.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_03_1617.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_12_4591.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_13_1701.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_16_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/22/48/image_03112025_22_48_52_1723.jpg
/home/pi/Desktop/images/03112025/22/48/image_03112025_22_49_00_1810.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_03_1617.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_12_4591.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_13_1701.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_16_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":["1401980168","1401980161","1401980170","1401980164","1401980172","1401980166"],"photo_ids_order":["1401980161","1401980164","1401980166","1401980168","1401980170","1401980172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/820a8e5285925a1a8f5db74f93a995d1.jpg","text":"TemporaryFile(/tmp/multipartBody1479738988036199211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239143727,"filename":"image_03112025_22_49_12_4591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a61957604f641e0aa28ab4d53e2be69.jpg","text":"TemporaryFile(/tmp/multipartBody2137333128820447381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239143727,"filename":"image_03112025_22_48_52_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8f8a8fdb6eb3537284fd14918e884ef.jpg","text":"TemporaryFile(/tmp/multipartBody5311387720795904941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239143727,"filename":"image_03112025_22_49_13_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/654b0e2568b0444a65d76b28accfde5c.jpg","text":"TemporaryFile(/tmp/multipartBody8256178296268543856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239143727,"filename":"image_03112025_22_49_00_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dea00fe287f77ca2a04a463810cc666.jpg","text":"TemporaryFile(/tmp/multipartBody3652550176166625399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239143727,"filename":"image_03112025_22_49_16_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fa94158b63e88d6fcda75a3ac9334a3.jpg","text":"TemporaryFile(/tmp/multipartBody2617260599557709470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239143727,"filename":"image_03112025_22_49_03_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980166","file1":"1401980164","file0":"1401980161","file4":"1401980170","file5":"1401980172","file3":"1401980168"},"map_files_photo_id_array":[{"photo_id":"1401980172","filename":"file5"},{"photo_id":"1401980166","filename":"file2"},{"photo_id":"1401980170","filename":"file4"},{"photo_id":"1401980164","filename":"file1"},{"photo_id":"1401980161","filename":"file0"},{"photo_id":"1401980168","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980168":["hashtag1","hashtag2"]},{"1401980161":["hashtag1","hashtag2"]},{"1401980170":["hashtag1","hashtag2"]},{"1401980164":["hashtag1","hashtag2"]},{"1401980172":["hashtag1","hashtag2"]},{"1401980166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980168, 1401980161, 1401980170, 1401980164, 1401980172, 1401980166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.129262924194336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:45:22.114248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_55_10801.jpg', '/home/pi/Desktop/images/01012026/03/56/image_01012026_03_57_05_9745.jpg', '/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_14_9693.jpg', '/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_25_10751.jpg', '/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_35_9637.jpg', '/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_44_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/56/image_01012026_03_56_55_10801.jpg
/home/pi/Desktop/images/01012026/03/56/image_01012026_03_57_05_9745.jpg
/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_14_9693.jpg
/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_25_10751.jpg
/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_35_9637.jpg
/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_44_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980181","1401980177","1401980174","1401980176","1401980179","1401980184"],"photo_ids_order":["1401980174","1401980176","1401980177","1401980179","1401980181","1401980184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f950846d6bc1659593a9bb6c318c99c.jpg","text":"TemporaryFile(/tmp/multipartBody5469729202618310116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239182708,"filename":"image_01012026_03_57_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/150ff57e4d2913f2c587d952b0b3a3e5.jpg","text":"TemporaryFile(/tmp/multipartBody4445339763279842704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239182708,"filename":"image_01012026_03_57_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2843c17d234e1e2141f315e8be744947.jpg","text":"TemporaryFile(/tmp/multipartBody5227387729582726747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239182708,"filename":"image_01012026_03_56_55_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03eec090820348f8b9d0e29b2694f27d.jpg","text":"TemporaryFile(/tmp/multipartBody3045527187577596013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239182708,"filename":"image_01012026_03_57_05_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b4b6b7019e3671c1bef7677453e2d00.jpg","text":"TemporaryFile(/tmp/multipartBody2169054741907955007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239182708,"filename":"image_01012026_03_57_25_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df7d7c38adfda632430467c015484192.jpg","text":"TemporaryFile(/tmp/multipartBody7203025189039429240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239182708,"filename":"image_01012026_03_57_44_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980177","file1":"1401980176","file0":"1401980174","file4":"1401980181","file5":"1401980184","file3":"1401980179"},"map_files_photo_id_array":[{"photo_id":"1401980184","filename":"file5"},{"photo_id":"1401980177","filename":"file2"},{"photo_id":"1401980181","filename":"file4"},{"photo_id":"1401980176","filename":"file1"},{"photo_id":"1401980174","filename":"file0"},{"photo_id":"1401980179","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980181":["hashtag1","hashtag2"]},{"1401980177":["hashtag1","hashtag2"]},{"1401980174":["hashtag1","hashtag2"]},{"1401980176":["hashtag1","hashtag2"]},{"1401980179":["hashtag1","hashtag2"]},{"1401980184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980181, 1401980177, 1401980174, 1401980176, 1401980179, 1401980184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42973852157593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:46:02.710163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_55_10739.jpg', '/home/pi/Desktop/images/01012026/03/58/image_01012026_03_58_35_10880.jpg', '/home/pi/Desktop/images/01012026/03/58/image_01012026_03_58_45_9595.jpg', '/home/pi/Desktop/images/01012026/03/58/image_01012026_03_58_54_9765.jpg', '/home/pi/Desktop/images/01012026/03/58/image_01012026_03_59_04_9691.jpg', '/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_15_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/57/image_01012026_03_57_55_10739.jpg
/home/pi/Desktop/images/01012026/03/58/image_01012026_03_58_35_10880.jpg
/home/pi/Desktop/images/01012026/03/58/image_01012026_03_58_45_9595.jpg
/home/pi/Desktop/images/01012026/03/58/image_01012026_03_58_54_9765.jpg
/home/pi/Desktop/images/01012026/03/58/image_01012026_03_59_04_9691.jpg
/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_15_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":["1401980195","1401980192","1401980191","1401980194","1401980197","1401980193"],"photo_ids_order":["1401980191","1401980192","1401980193","1401980194","1401980195","1401980197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6eaa71e5b831478e93986b663191ff0a.jpg","text":"TemporaryFile(/tmp/multipartBody7231791164959307261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239223332,"filename":"image_01012026_03_59_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea089a67181fd72a3948e11d7715e8f7.jpg","text":"TemporaryFile(/tmp/multipartBody2506366071048788075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239223332,"filename":"image_01012026_03_58_35_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79901c4f541ab54263d1a44ac3501161.jpg","text":"TemporaryFile(/tmp/multipartBody1479116140623627945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239223332,"filename":"image_01012026_03_57_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/398bfcefa930affac5b75ae2b8774149.jpg","text":"TemporaryFile(/tmp/multipartBody5831043923046637366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239223332,"filename":"image_01012026_03_58_54_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a80769627baff26b2f9fe6018ff7a195.jpg","text":"TemporaryFile(/tmp/multipartBody5787754927505273285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239223332,"filename":"image_01012026_03_59_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c73f3f3d85e1cccf7e10baaf5012786.jpg","text":"TemporaryFile(/tmp/multipartBody8754156662153513680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239223332,"filename":"image_01012026_03_58_45_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980193","file1":"1401980192","file0":"1401980191","file4":"1401980195","file5":"1401980197","file3":"1401980194"},"map_files_photo_id_array":[{"photo_id":"1401980197","filename":"file5"},{"photo_id":"1401980193","filename":"file2"},{"photo_id":"1401980195","filename":"file4"},{"photo_id":"1401980192","filename":"file1"},{"photo_id":"1401980191","filename":"file0"},{"photo_id":"1401980194","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980195":["hashtag1","hashtag2"]},{"1401980192":["hashtag1","hashtag2"]},{"1401980191":["hashtag1","hashtag2"]},{"1401980194":["hashtag1","hashtag2"]},{"1401980197":["hashtag1","hashtag2"]},{"1401980193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980195, 1401980192, 1401980191, 1401980194, 1401980197, 1401980193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.295215368270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:46:42.243094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_19_2790.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_22_2643.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_24_2774.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_33_2693.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_37_3733.jpg', '/home/pi/Desktop/images/03112025/22/49/image_03112025_22_50_00_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/22/49/image_03112025_22_49_19_2790.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_22_2643.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_24_2774.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_33_2693.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_49_37_3733.jpg
/home/pi/Desktop/images/03112025/22/49/image_03112025_22_50_00_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":["1401980205","1401980213","1401980207","1401980210","1401980215","1401980203"],"photo_ids_order":["1401980203","1401980205","1401980207","1401980210","1401980213","1401980215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af173b9362948507eb5d018445c35e55.jpg","text":"TemporaryFile(/tmp/multipartBody1197258751767966890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239266304,"filename":"image_03112025_22_49_22_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec61acb4b9247d5ccb41228813ffd5a6.jpg","text":"TemporaryFile(/tmp/multipartBody1232081525359706269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239266304,"filename":"image_03112025_22_49_37_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b1f3568862d69c5331d761b23878f0b.jpg","text":"TemporaryFile(/tmp/multipartBody8619163630936173422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239266304,"filename":"image_03112025_22_49_24_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1970af65be2585ab18a459c4c9d09bd1.jpg","text":"TemporaryFile(/tmp/multipartBody740709832920936869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239266304,"filename":"image_03112025_22_49_33_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8f694c073b702616fc59d0e75136c96.jpg","text":"TemporaryFile(/tmp/multipartBody2804775335345532394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239266304,"filename":"image_03112025_22_50_00_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/453051c915364be66d06737753690e35.jpg","text":"TemporaryFile(/tmp/multipartBody6977911429398808569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239266304,"filename":"image_03112025_22_49_19_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980207","file1":"1401980205","file0":"1401980203","file4":"1401980213","file5":"1401980215","file3":"1401980210"},"map_files_photo_id_array":[{"photo_id":"1401980215","filename":"file5"},{"photo_id":"1401980207","filename":"file2"},{"photo_id":"1401980213","filename":"file4"},{"photo_id":"1401980205","filename":"file1"},{"photo_id":"1401980203","filename":"file0"},{"photo_id":"1401980210","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980205":["hashtag1","hashtag2"]},{"1401980213":["hashtag1","hashtag2"]},{"1401980207":["hashtag1","hashtag2"]},{"1401980210":["hashtag1","hashtag2"]},{"1401980215":["hashtag1","hashtag2"]},{"1401980203":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980205, 1401980213, 1401980207, 1401980210, 1401980215, 1401980203)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.581467390060425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:47:32.409832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_07_3011.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_11_3903.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_14_2781.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_19_2656.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_23_3840.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_29_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_07_3011.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_11_3903.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_14_2781.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_19_2656.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_23_3840.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_29_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980229","1401980223","1401980232","1401980225","1401980234","1401980236"],"photo_ids_order":["1401980223","1401980225","1401980229","1401980232","1401980234","1401980236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e0e16311c70ddbb456f3019bf24c700.jpg","text":"TemporaryFile(/tmp/multipartBody3519985546229441906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239314174,"filename":"image_03112025_22_50_14_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8c105f7d25018cb495c517e59c8e35e.jpg","text":"TemporaryFile(/tmp/multipartBody8553836503830299251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239314174,"filename":"image_03112025_22_50_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5311f7c4e2401d576840de64b20cd9f8.jpg","text":"TemporaryFile(/tmp/multipartBody3599773904524291403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239314174,"filename":"image_03112025_22_50_19_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/033eeb1ffdac9d4982be1dece90175b9.jpg","text":"TemporaryFile(/tmp/multipartBody5657981615615290100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239314174,"filename":"image_03112025_22_50_11_3903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2785ee0748814fe76ad0a09a22df383b.jpg","text":"TemporaryFile(/tmp/multipartBody4944122916283581349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239314174,"filename":"image_03112025_22_50_23_3840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb853cf3fd63d74145a84d973b983dc4.jpg","text":"TemporaryFile(/tmp/multipartBody5858782617946318082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239314174,"filename":"image_03112025_22_50_29_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980229","file1":"1401980225","file0":"1401980223","file4":"1401980234","file5":"1401980236","file3":"1401980232"},"map_files_photo_id_array":[{"photo_id":"1401980236","filename":"file5"},{"photo_id":"1401980229","filename":"file2"},{"photo_id":"1401980234","filename":"file4"},{"photo_id":"1401980225","filename":"file1"},{"photo_id":"1401980223","filename":"file0"},{"photo_id":"1401980232","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980229":["hashtag1","hashtag2"]},{"1401980223":["hashtag1","hashtag2"]},{"1401980232":["hashtag1","hashtag2"]},{"1401980225":["hashtag1","hashtag2"]},{"1401980234":["hashtag1","hashtag2"]},{"1401980236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980229, 1401980223, 1401980232, 1401980225, 1401980234, 1401980236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.773723125457764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:48:12.542181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_35_2672.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_38_2630.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_44_2586.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_46_2498.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_53_3236.jpg', '/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_56_2725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_35_2672.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_38_2630.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_44_2586.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_46_2498.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_53_3236.jpg
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_56_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":["1401980247","1401980243","1401980246","1401980240","1401980242","1401980239"],"photo_ids_order":["1401980239","1401980240","1401980242","1401980243","1401980246","1401980247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6aaad9af87152d83509bb0c584e0ae5e.jpg","text":"TemporaryFile(/tmp/multipartBody1030073790036364773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239354198,"filename":"image_03112025_22_50_56_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfe33dd55dcd28254d4e346c55a5dbb5.jpg","text":"TemporaryFile(/tmp/multipartBody625085628320734689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239354198,"filename":"image_03112025_22_50_46_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c20a73b6d2fc56e0d59cddf75057127.jpg","text":"TemporaryFile(/tmp/multipartBody39769477237157164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239354198,"filename":"image_03112025_22_50_53_3236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e5970ebd5b602fc1f8f345c31abee82.jpg","text":"TemporaryFile(/tmp/multipartBody7863496935301377998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239354198,"filename":"image_03112025_22_50_38_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d39499b3a7b8c0528b156511232c340.jpg","text":"TemporaryFile(/tmp/multipartBody5017839920381227065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239354198,"filename":"image_03112025_22_50_44_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa2c34312eca1cc662dd0e74d7e691bc.jpg","text":"TemporaryFile(/tmp/multipartBody6496110474786047043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239354198,"filename":"image_03112025_22_50_35_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980242","file1":"1401980240","file0":"1401980239","file4":"1401980246","file5":"1401980247","file3":"1401980243"},"map_files_photo_id_array":[{"photo_id":"1401980247","filename":"file5"},{"photo_id":"1401980242","filename":"file2"},{"photo_id":"1401980246","filename":"file4"},{"photo_id":"1401980240","filename":"file1"},{"photo_id":"1401980239","filename":"file0"},{"photo_id":"1401980243","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980247":["hashtag1","hashtag2"]},{"1401980243":["hashtag1","hashtag2"]},{"1401980246":["hashtag1","hashtag2"]},{"1401980240":["hashtag1","hashtag2"]},{"1401980242":["hashtag1","hashtag2"]},{"1401980239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980247, 1401980243, 1401980246, 1401980240, 1401980242, 1401980239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13189935684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:49:03.821890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_25_9870.jpg', '/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_34_9589.jpg', '/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_45_10728.jpg', '/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_55_9642.jpg', '/home/pi/Desktop/images/01012026/03/59/image_01012026_04_00_05_10172.jpg', '/home/pi/Desktop/images/01012026/04/00/image_01012026_04_00_15_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_25_9870.jpg
/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_34_9589.jpg
/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_45_10728.jpg
/home/pi/Desktop/images/01012026/03/59/image_01012026_03_59_55_9642.jpg
/home/pi/Desktop/images/01012026/03/59/image_01012026_04_00_05_10172.jpg
/home/pi/Desktop/images/01012026/04/00/image_01012026_04_00_15_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":["1401980262","1401980264","1401980258","1401980260","1401980257","1401980259"],"photo_ids_order":["1401980257","1401980258","1401980259","1401980260","1401980262","1401980264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b936598697d2b4f8e4fd45289c3de2ce.jpg","text":"TemporaryFile(/tmp/multipartBody5082399731843285313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239404673,"filename":"image_01012026_04_00_05_10172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fd36c5c53641182bd8ae41a124acd8e.jpg","text":"TemporaryFile(/tmp/multipartBody7702153422463751808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239404673,"filename":"image_01012026_04_00_15_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ea1102ad3bd823f123d3d4fecb16f84.jpg","text":"TemporaryFile(/tmp/multipartBody3190157288715806336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239404673,"filename":"image_01012026_03_59_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdb5188c3d6f757def88b4e2fca8739e.jpg","text":"TemporaryFile(/tmp/multipartBody3575634338850483654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239404673,"filename":"image_01012026_03_59_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fab74b963cd15b6cca10f1e60b690ac5.jpg","text":"TemporaryFile(/tmp/multipartBody7342984591448401486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239404673,"filename":"image_01012026_03_59_25_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/333b878c5d3d140a866909bef95ca9f4.jpg","text":"TemporaryFile(/tmp/multipartBody6590883509219646515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239404673,"filename":"image_01012026_03_59_45_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980259","file1":"1401980258","file0":"1401980257","file4":"1401980262","file5":"1401980264","file3":"1401980260"},"map_files_photo_id_array":[{"photo_id":"1401980264","filename":"file5"},{"photo_id":"1401980259","filename":"file2"},{"photo_id":"1401980262","filename":"file4"},{"photo_id":"1401980258","filename":"file1"},{"photo_id":"1401980257","filename":"file0"},{"photo_id":"1401980260","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980262":["hashtag1","hashtag2"]},{"1401980264":["hashtag1","hashtag2"]},{"1401980258":["hashtag1","hashtag2"]},{"1401980260":["hashtag1","hashtag2"]},{"1401980257":["hashtag1","hashtag2"]},{"1401980259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980262, 1401980264, 1401980258, 1401980260, 1401980257, 1401980259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96644639968872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:49:42.805030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_58_2538.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_02_3729.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_05_2569.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_11_3658.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_15_3740.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_17_1906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/50/image_03112025_22_50_58_2538.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_02_3729.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_05_2569.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_11_3658.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_15_3740.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_17_1906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980280","1401980274","1401980276","1401980272","1401980269","1401980278"],"photo_ids_order":["1401980269","1401980272","1401980274","1401980276","1401980278","1401980280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09af3703a2e25981462a8b33c1e9edcc.jpg","text":"TemporaryFile(/tmp/multipartBody6896708121484386656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239444558,"filename":"image_03112025_22_51_17_1906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b1b0e136794fd9b1989eda26811ecaf.jpg","text":"TemporaryFile(/tmp/multipartBody2657938458442052816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239444558,"filename":"image_03112025_22_51_05_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79106f6c8bbe6bf8199749f6c2b27e23.jpg","text":"TemporaryFile(/tmp/multipartBody7854931770732683082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239444558,"filename":"image_03112025_22_51_11_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9f9672459fed3a70f73142a5c64423d.jpg","text":"TemporaryFile(/tmp/multipartBody6810570072987560106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239444558,"filename":"image_03112025_22_51_02_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5261a89af716ed21fd0ff5f0cc9f7958.jpg","text":"TemporaryFile(/tmp/multipartBody7726886642229706419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239444558,"filename":"image_03112025_22_50_58_2538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74b127d5d571c7ade14e7ad960dfaf49.jpg","text":"TemporaryFile(/tmp/multipartBody8776637424078123520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239444558,"filename":"image_03112025_22_51_15_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980274","file1":"1401980272","file0":"1401980269","file4":"1401980278","file5":"1401980280","file3":"1401980276"},"map_files_photo_id_array":[{"photo_id":"1401980280","filename":"file5"},{"photo_id":"1401980274","filename":"file2"},{"photo_id":"1401980278","filename":"file4"},{"photo_id":"1401980272","filename":"file1"},{"photo_id":"1401980269","filename":"file0"},{"photo_id":"1401980276","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980280":["hashtag1","hashtag2"]},{"1401980274":["hashtag1","hashtag2"]},{"1401980276":["hashtag1","hashtag2"]},{"1401980272":["hashtag1","hashtag2"]},{"1401980269":["hashtag1","hashtag2"]},{"1401980278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980280, 1401980274, 1401980276, 1401980272, 1401980269, 1401980278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43843984603882 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:50:21.990262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/00/image_01012026_04_00_24_9570.jpg', '/home/pi/Desktop/images/01012026/04/00/image_01012026_04_00_35_10693.jpg', '/home/pi/Desktop/images/01012026/04/00/image_01012026_04_00_45_10097.jpg', '/home/pi/Desktop/images/01012026/04/00/image_01012026_04_01_05_9905.jpg', '/home/pi/Desktop/images/01012026/04/01/image_01012026_04_01_14_9697.jpg', '/home/pi/Desktop/images/01012026/04/01/image_01012026_04_01_35_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/00/image_01012026_04_00_24_9570.jpg
/home/pi/Desktop/images/01012026/04/00/image_01012026_04_00_35_10693.jpg
/home/pi/Desktop/images/01012026/04/00/image_01012026_04_00_45_10097.jpg
/home/pi/Desktop/images/01012026/04/00/image_01012026_04_01_05_9905.jpg
/home/pi/Desktop/images/01012026/04/01/image_01012026_04_01_14_9697.jpg
/home/pi/Desktop/images/01012026/04/01/image_01012026_04_01_35_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":["1401980289","1401980285","1401980293","1401980287","1401980281","1401980283"],"photo_ids_order":["1401980281","1401980283","1401980285","1401980287","1401980289","1401980293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de68533d29634bff9554d93e547735ee.jpg","text":"TemporaryFile(/tmp/multipartBody7233086112076967457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239482580,"filename":"image_01012026_04_01_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab03e51829ac09a4675f93023bbb5bc6.jpg","text":"TemporaryFile(/tmp/multipartBody5996188690220648686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239482580,"filename":"image_01012026_04_00_45_10097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/135097ce87eca5e28f4ad1f7c8808958.jpg","text":"TemporaryFile(/tmp/multipartBody1493646203838475550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239482580,"filename":"image_01012026_04_01_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16930ec55229f5f67534f8a5c9532f59.jpg","text":"TemporaryFile(/tmp/multipartBody4469549166711631490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239482580,"filename":"image_01012026_04_01_05_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21a947e50ee9c4f5ddfeda6458e4a112.jpg","text":"TemporaryFile(/tmp/multipartBody2616849091420363111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239482580,"filename":"image_01012026_04_00_24_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/823ec2f7ee0fd1123bd3c50ac0e7a83a.jpg","text":"TemporaryFile(/tmp/multipartBody1391224519804956129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239482580,"filename":"image_01012026_04_00_35_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980285","file1":"1401980283","file0":"1401980281","file4":"1401980289","file5":"1401980293","file3":"1401980287"},"map_files_photo_id_array":[{"photo_id":"1401980293","filename":"file5"},{"photo_id":"1401980285","filename":"file2"},{"photo_id":"1401980289","filename":"file4"},{"photo_id":"1401980283","filename":"file1"},{"photo_id":"1401980281","filename":"file0"},{"photo_id":"1401980287","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980289":["hashtag1","hashtag2"]},{"1401980285":["hashtag1","hashtag2"]},{"1401980293":["hashtag1","hashtag2"]},{"1401980287":["hashtag1","hashtag2"]},{"1401980281":["hashtag1","hashtag2"]},{"1401980283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980289, 1401980285, 1401980293, 1401980287, 1401980281, 1401980283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.792856216430664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:51:02.871848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/01/image_01012026_04_01_44_9867.jpg', '/home/pi/Desktop/images/01012026/04/01/image_01012026_04_01_55_10642.jpg', '/home/pi/Desktop/images/01012026/04/01/image_01012026_04_02_05_9687.jpg', '/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_14_9578.jpg', '/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_24_10085.jpg', '/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_34_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/01/image_01012026_04_01_44_9867.jpg
/home/pi/Desktop/images/01012026/04/01/image_01012026_04_01_55_10642.jpg
/home/pi/Desktop/images/01012026/04/01/image_01012026_04_02_05_9687.jpg
/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_14_9578.jpg
/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_24_10085.jpg
/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_34_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980301","1401980304","1401980300","1401980299","1401980298","1401980302"],"photo_ids_order":["1401980298","1401980299","1401980300","1401980301","1401980302","1401980304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/311d4b79781c0dae2c6d98c7a2aeecb0.jpg","text":"TemporaryFile(/tmp/multipartBody6667458077488363805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239523580,"filename":"image_01012026_04_02_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86be07951ad874d8e616c6f4bd590001.jpg","text":"TemporaryFile(/tmp/multipartBody2052051357120810050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239523580,"filename":"image_01012026_04_02_34_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/554d6fdbe0ab706fe30de6115f008c30.jpg","text":"TemporaryFile(/tmp/multipartBody3800003783673068100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239523580,"filename":"image_01012026_04_02_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a8efc6593ba773637b1857d27a369bb.jpg","text":"TemporaryFile(/tmp/multipartBody5975886274512296207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239523580,"filename":"image_01012026_04_01_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a448ee0bf77078182abf22080ec2f13.jpg","text":"TemporaryFile(/tmp/multipartBody5444995291186632141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239523580,"filename":"image_01012026_04_01_44_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18d14234acf192fdbbe1f9efa3ddaca2.jpg","text":"TemporaryFile(/tmp/multipartBody4589672988010391530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239523580,"filename":"image_01012026_04_02_24_10085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980300","file1":"1401980299","file0":"1401980298","file4":"1401980302","file5":"1401980304","file3":"1401980301"},"map_files_photo_id_array":[{"photo_id":"1401980304","filename":"file5"},{"photo_id":"1401980300","filename":"file2"},{"photo_id":"1401980302","filename":"file4"},{"photo_id":"1401980299","filename":"file1"},{"photo_id":"1401980298","filename":"file0"},{"photo_id":"1401980301","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980301":["hashtag1","hashtag2"]},{"1401980304":["hashtag1","hashtag2"]},{"1401980300":["hashtag1","hashtag2"]},{"1401980299":["hashtag1","hashtag2"]},{"1401980298":["hashtag1","hashtag2"]},{"1401980302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980301, 1401980304, 1401980300, 1401980299, 1401980298, 1401980302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17850089073181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:51:42.120501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_20_2725.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_26_2514.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_28_2698.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_32_3708.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_38_3437.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_44_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_20_2725.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_26_2514.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_28_2698.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_32_3708.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_38_3437.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_44_2532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980316","1401980310","1401980313","1401980312","1401980315","1401980314"],"photo_ids_order":["1401980310","1401980312","1401980313","1401980314","1401980315","1401980316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f7f5d15c41f11d694af5672ded580b9.jpg","text":"TemporaryFile(/tmp/multipartBody4126149067434141803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239563870,"filename":"image_03112025_22_51_44_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32788fdacf0c19f4809768e9cb4b6996.jpg","text":"TemporaryFile(/tmp/multipartBody4413821335281368688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239563870,"filename":"image_03112025_22_51_20_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29ee670feac22ede458cd7c06cf236ea.jpg","text":"TemporaryFile(/tmp/multipartBody3011414868661721578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239563870,"filename":"image_03112025_22_51_28_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/232a7650848c158e51bdb3dc8608f026.jpg","text":"TemporaryFile(/tmp/multipartBody7011530909260377560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239563870,"filename":"image_03112025_22_51_26_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fac0417bbabdbdaca6ee00bedce3ce66.jpg","text":"TemporaryFile(/tmp/multipartBody2273854324252132863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239563870,"filename":"image_03112025_22_51_38_3437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70a6105ac0218973db219c3eb9762b23.jpg","text":"TemporaryFile(/tmp/multipartBody6369354940995438250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239563870,"filename":"image_03112025_22_51_32_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980313","file1":"1401980312","file0":"1401980310","file4":"1401980315","file5":"1401980316","file3":"1401980314"},"map_files_photo_id_array":[{"photo_id":"1401980316","filename":"file5"},{"photo_id":"1401980313","filename":"file2"},{"photo_id":"1401980315","filename":"file4"},{"photo_id":"1401980312","filename":"file1"},{"photo_id":"1401980310","filename":"file0"},{"photo_id":"1401980314","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980316":["hashtag1","hashtag2"]},{"1401980310":["hashtag1","hashtag2"]},{"1401980313":["hashtag1","hashtag2"]},{"1401980312":["hashtag1","hashtag2"]},{"1401980315":["hashtag1","hashtag2"]},{"1401980314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980316, 1401980310, 1401980313, 1401980312, 1401980315, 1401980314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51301026344299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:52:22.353988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_45_10695.jpg', '/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_54_9549.jpg', '/home/pi/Desktop/images/01012026/04/02/image_01012026_04_03_04_9679.jpg', '/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_15_10660.jpg', '/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_24_9640.jpg', '/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_34_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_45_10695.jpg
/home/pi/Desktop/images/01012026/04/02/image_01012026_04_02_54_9549.jpg
/home/pi/Desktop/images/01012026/04/02/image_01012026_04_03_04_9679.jpg
/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_15_10660.jpg
/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_24_9640.jpg
/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_34_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":["1401980322","1401980325","1401980318","1401980317","1401980329","1401980320"],"photo_ids_order":["1401980317","1401980318","1401980320","1401980322","1401980325","1401980329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efac16eeef4e1c1049b35f52641cdb10.jpg","text":"TemporaryFile(/tmp/multipartBody87151169081441738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239602947,"filename":"image_01012026_04_03_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6592ab8ec62193e8c634b92e8d5895cc.jpg","text":"TemporaryFile(/tmp/multipartBody7226232098456908691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239602947,"filename":"image_01012026_04_03_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/285ee68b8165df0a3235880af53a3a30.jpg","text":"TemporaryFile(/tmp/multipartBody634925988568499488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239602947,"filename":"image_01012026_04_02_54_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc5d6a080444a2a2ead5ceebfda4d11f.jpg","text":"TemporaryFile(/tmp/multipartBody1430559142598585327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239602947,"filename":"image_01012026_04_02_45_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abcea54ebe5abe390fab62c593ebb210.jpg","text":"TemporaryFile(/tmp/multipartBody1121870429474416248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239602947,"filename":"image_01012026_04_03_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/836f05c14c489a144886a420f2bd018d.jpg","text":"TemporaryFile(/tmp/multipartBody7188998922992458295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239602947,"filename":"image_01012026_04_03_04_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980320","file1":"1401980318","file0":"1401980317","file4":"1401980325","file5":"1401980329","file3":"1401980322"},"map_files_photo_id_array":[{"photo_id":"1401980329","filename":"file5"},{"photo_id":"1401980320","filename":"file2"},{"photo_id":"1401980325","filename":"file4"},{"photo_id":"1401980318","filename":"file1"},{"photo_id":"1401980317","filename":"file0"},{"photo_id":"1401980322","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980322":["hashtag1","hashtag2"]},{"1401980325":["hashtag1","hashtag2"]},{"1401980318":["hashtag1","hashtag2"]},{"1401980317":["hashtag1","hashtag2"]},{"1401980329":["hashtag1","hashtag2"]},{"1401980320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980322, 1401980325, 1401980318, 1401980317, 1401980329, 1401980320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35026717185974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:53:03.128449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_45_10550.jpg', '/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_54_9685.jpg', '/home/pi/Desktop/images/01012026/04/03/image_01012026_04_04_04_9778.jpg', '/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_15_10673.jpg', '/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_24_9605.jpg', '/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_35_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_45_10550.jpg
/home/pi/Desktop/images/01012026/04/03/image_01012026_04_03_54_9685.jpg
/home/pi/Desktop/images/01012026/04/03/image_01012026_04_04_04_9778.jpg
/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_15_10673.jpg
/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_24_9605.jpg
/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_35_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980340","1401980343","1401980339","1401980336","1401980341","1401980338"],"photo_ids_order":["1401980336","1401980338","1401980339","1401980340","1401980341","1401980343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/389ac32785252af44bd2a8c33c1aa020.jpg","text":"TemporaryFile(/tmp/multipartBody6695913168901087708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239643792,"filename":"image_01012026_04_04_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6ee5a18a463f8c033fecd38959889ea.jpg","text":"TemporaryFile(/tmp/multipartBody2465785583792092774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239643792,"filename":"image_01012026_04_04_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e41261f7ac2b7879fa8d31249de532a.jpg","text":"TemporaryFile(/tmp/multipartBody714377445242693136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239643792,"filename":"image_01012026_04_04_04_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8676a52af84f4e843148e71d86ca6eb.jpg","text":"TemporaryFile(/tmp/multipartBody8369871494170432909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239643792,"filename":"image_01012026_04_03_45_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27a7064b9c6de888b39d4e0c601b62b3.jpg","text":"TemporaryFile(/tmp/multipartBody855428210058329052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239643792,"filename":"image_01012026_04_04_24_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b9749735a2f9715c8a443cad0e49c8b.jpg","text":"TemporaryFile(/tmp/multipartBody9109635230116266841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239643792,"filename":"image_01012026_04_03_54_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980339","file1":"1401980338","file0":"1401980336","file4":"1401980341","file5":"1401980343","file3":"1401980340"},"map_files_photo_id_array":[{"photo_id":"1401980343","filename":"file5"},{"photo_id":"1401980339","filename":"file2"},{"photo_id":"1401980341","filename":"file4"},{"photo_id":"1401980338","filename":"file1"},{"photo_id":"1401980336","filename":"file0"},{"photo_id":"1401980340","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980340":["hashtag1","hashtag2"]},{"1401980343":["hashtag1","hashtag2"]},{"1401980339":["hashtag1","hashtag2"]},{"1401980336":["hashtag1","hashtag2"]},{"1401980341":["hashtag1","hashtag2"]},{"1401980338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980340, 1401980343, 1401980339, 1401980336, 1401980341, 1401980338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.172884464263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:53:42.526541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_50_3616.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_52_2498.jpg', '/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_56_4026.jpg', '/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_06_1735.jpg', '/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_08_1843.jpg', '/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_10_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_50_3616.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_52_2498.jpg
/home/pi/Desktop/images/03112025/22/51/image_03112025_22_51_56_4026.jpg
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_06_1735.jpg
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_08_1843.jpg
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_10_2532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980352","1401980355","1401980354","1401980353","1401980356","1401980350"],"photo_ids_order":["1401980350","1401980352","1401980353","1401980354","1401980355","1401980356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d2f51b9ae3a74248c8a9994c68a85f6.jpg","text":"TemporaryFile(/tmp/multipartBody5140859945223983617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239684293,"filename":"image_03112025_22_51_52_2498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43fe92aebe18f1011f5c16ded7dc8eea.jpg","text":"TemporaryFile(/tmp/multipartBody6688948861893275086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239684293,"filename":"image_03112025_22_52_08_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd410a646f596f5317c17c05e5a46fd0.jpg","text":"TemporaryFile(/tmp/multipartBody1608477622356682947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239684293,"filename":"image_03112025_22_52_06_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0aaa2fa57eec56eeb96697dbde36cb9d.jpg","text":"TemporaryFile(/tmp/multipartBody738977268748629521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239684293,"filename":"image_03112025_22_51_56_4026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6dffd3c17215730e975fcb08bc758ac.jpg","text":"TemporaryFile(/tmp/multipartBody5991179736691240568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239684293,"filename":"image_03112025_22_52_10_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e63faf8f1fd925f84904532a7123da91.jpg","text":"TemporaryFile(/tmp/multipartBody5270798759651356020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239684293,"filename":"image_03112025_22_51_50_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980353","file1":"1401980352","file0":"1401980350","file4":"1401980355","file5":"1401980356","file3":"1401980354"},"map_files_photo_id_array":[{"photo_id":"1401980356","filename":"file5"},{"photo_id":"1401980353","filename":"file2"},{"photo_id":"1401980355","filename":"file4"},{"photo_id":"1401980352","filename":"file1"},{"photo_id":"1401980350","filename":"file0"},{"photo_id":"1401980354","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980352":["hashtag1","hashtag2"]},{"1401980355":["hashtag1","hashtag2"]},{"1401980354":["hashtag1","hashtag2"]},{"1401980353":["hashtag1","hashtag2"]},{"1401980356":["hashtag1","hashtag2"]},{"1401980350":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980352, 1401980355, 1401980354, 1401980353, 1401980356, 1401980350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22992420196533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:54:22.716334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_45_9554.jpg', '/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_54_9601.jpg', '/home/pi/Desktop/images/01012026/04/04/image_01012026_04_05_05_10725.jpg', '/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_15_9683.jpg', '/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_24_9674.jpg', '/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_35_10825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_45_9554.jpg
/home/pi/Desktop/images/01012026/04/04/image_01012026_04_04_54_9601.jpg
/home/pi/Desktop/images/01012026/04/04/image_01012026_04_05_05_10725.jpg
/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_15_9683.jpg
/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_24_9674.jpg
/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_35_10825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980360","1401980366","1401980368","1401980362","1401980364","1401980358"],"photo_ids_order":["1401980358","1401980360","1401980362","1401980364","1401980366","1401980368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ea6125e6904702946958e508e8747d2.jpg","text":"TemporaryFile(/tmp/multipartBody2216049759132054539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239723307,"filename":"image_01012026_04_04_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89ed8dbe2df6a85aeb6e8c8ed4aba63b.jpg","text":"TemporaryFile(/tmp/multipartBody5983349581345844156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239723307,"filename":"image_01012026_04_05_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/015dc883e1deca23a9364c5ff276cf43.jpg","text":"TemporaryFile(/tmp/multipartBody4616845488839288851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239723307,"filename":"image_01012026_04_05_35_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63ecc75c90b294b15762439840ff9aba.jpg","text":"TemporaryFile(/tmp/multipartBody4845200369402786828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239723307,"filename":"image_01012026_04_05_05_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4401d3312ca74f8aa95b3adb3376a2e8.jpg","text":"TemporaryFile(/tmp/multipartBody3199925197808831891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239723307,"filename":"image_01012026_04_05_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0e892af425c410464f269805af5233e.jpg","text":"TemporaryFile(/tmp/multipartBody2035313900658143395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239723307,"filename":"image_01012026_04_04_45_9554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980362","file1":"1401980360","file0":"1401980358","file4":"1401980366","file5":"1401980368","file3":"1401980364"},"map_files_photo_id_array":[{"photo_id":"1401980368","filename":"file5"},{"photo_id":"1401980362","filename":"file2"},{"photo_id":"1401980366","filename":"file4"},{"photo_id":"1401980360","filename":"file1"},{"photo_id":"1401980358","filename":"file0"},{"photo_id":"1401980364","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980360":["hashtag1","hashtag2"]},{"1401980366":["hashtag1","hashtag2"]},{"1401980368":["hashtag1","hashtag2"]},{"1401980362":["hashtag1","hashtag2"]},{"1401980364":["hashtag1","hashtag2"]},{"1401980358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980360, 1401980366, 1401980368, 1401980362, 1401980364, 1401980358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48814249038696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:55:02.674372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_45_9804.jpg', '/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_55_9686.jpg', '/home/pi/Desktop/images/01012026/04/05/image_01012026_04_06_04_9570.jpg', '/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_15_10607.jpg', '/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_24_9768.jpg', '/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_34_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_45_9804.jpg
/home/pi/Desktop/images/01012026/04/05/image_01012026_04_05_55_9686.jpg
/home/pi/Desktop/images/01012026/04/05/image_01012026_04_06_04_9570.jpg
/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_15_10607.jpg
/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_24_9768.jpg
/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_34_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":["1401980373","1401980375","1401980369","1401980372","1401980371","1401980370"],"photo_ids_order":["1401980369","1401980370","1401980371","1401980372","1401980373","1401980375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4acbb785a7ea61e4d9a7f1657058602.jpg","text":"TemporaryFile(/tmp/multipartBody4813394819386432740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239763313,"filename":"image_01012026_04_06_24_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c80c9003a5c94ddcdd5960cc5de3560c.jpg","text":"TemporaryFile(/tmp/multipartBody1006258009482533482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239763313,"filename":"image_01012026_04_06_34_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/daddf4cc4b8d85848fe1bd3dc2a20398.jpg","text":"TemporaryFile(/tmp/multipartBody5138600568607906474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239763313,"filename":"image_01012026_04_05_45_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81296eb88dd3c29f254109daaa2bff09.jpg","text":"TemporaryFile(/tmp/multipartBody2050571015783194668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239763313,"filename":"image_01012026_04_06_15_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36014db7f43afc50cd65cc3c488500d0.jpg","text":"TemporaryFile(/tmp/multipartBody7369653412341776997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239763313,"filename":"image_01012026_04_06_04_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b06fd9dfff1afafb08514ea3ac5fa5d.jpg","text":"TemporaryFile(/tmp/multipartBody389402924506195479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239763313,"filename":"image_01012026_04_05_55_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980371","file1":"1401980370","file0":"1401980369","file4":"1401980373","file5":"1401980375","file3":"1401980372"},"map_files_photo_id_array":[{"photo_id":"1401980375","filename":"file5"},{"photo_id":"1401980371","filename":"file2"},{"photo_id":"1401980373","filename":"file4"},{"photo_id":"1401980370","filename":"file1"},{"photo_id":"1401980369","filename":"file0"},{"photo_id":"1401980372","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980373":["hashtag1","hashtag2"]},{"1401980375":["hashtag1","hashtag2"]},{"1401980369":["hashtag1","hashtag2"]},{"1401980372":["hashtag1","hashtag2"]},{"1401980371":["hashtag1","hashtag2"]},{"1401980370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980373, 1401980375, 1401980369, 1401980372, 1401980371, 1401980370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31833815574646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:55:41.968211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_17_2761.jpg', '/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_19_2666.jpg', '/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_28_2503.jpg', '/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_32_3577.jpg', '/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_50_3918.jpg', '/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_53_2758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_17_2761.jpg
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_19_2666.jpg
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_28_2503.jpg
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_32_3577.jpg
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_50_3918.jpg
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_53_2758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980384","1401980386","1401980380","1401980383","1401980382","1401980385"],"photo_ids_order":["1401980380","1401980382","1401980383","1401980384","1401980385","1401980386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24a59faae066b6dfff8e6df9db6ee798.jpg","text":"TemporaryFile(/tmp/multipartBody6084717800719748887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239803897,"filename":"image_03112025_22_52_32_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/202389b7a444c03110d808ed3b351013.jpg","text":"TemporaryFile(/tmp/multipartBody8953988779099677113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239803897,"filename":"image_03112025_22_52_53_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f3ce0e022172e9d4c54983c4538e348.jpg","text":"TemporaryFile(/tmp/multipartBody4009383029114607121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239803897,"filename":"image_03112025_22_52_17_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9ba0610b3b3b82b39ca6ee4bd4fc0f7.jpg","text":"TemporaryFile(/tmp/multipartBody6630978016423080636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239803897,"filename":"image_03112025_22_52_28_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/617c0b7741ffa99f1d6bb51107007100.jpg","text":"TemporaryFile(/tmp/multipartBody2900794786938452546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239803897,"filename":"image_03112025_22_52_19_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b019735d9e91d9bfbcb4e7aa0392e472.jpg","text":"TemporaryFile(/tmp/multipartBody4186517236136500749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239803897,"filename":"image_03112025_22_52_50_3918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980383","file1":"1401980382","file0":"1401980380","file4":"1401980385","file5":"1401980386","file3":"1401980384"},"map_files_photo_id_array":[{"photo_id":"1401980386","filename":"file5"},{"photo_id":"1401980383","filename":"file2"},{"photo_id":"1401980385","filename":"file4"},{"photo_id":"1401980382","filename":"file1"},{"photo_id":"1401980380","filename":"file0"},{"photo_id":"1401980384","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980384":["hashtag1","hashtag2"]},{"1401980386":["hashtag1","hashtag2"]},{"1401980380":["hashtag1","hashtag2"]},{"1401980383":["hashtag1","hashtag2"]},{"1401980382":["hashtag1","hashtag2"]},{"1401980385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980384, 1401980386, 1401980380, 1401980383, 1401980382, 1401980385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.480332136154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 04:56:22.162995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_45_10591.jpg', '/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_55_9783.jpg', '/home/pi/Desktop/images/01012026/04/06/image_01012026_04_07_05_9777.jpg', '/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_14_9672.jpg', '/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_25_10714.jpg', '/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_35_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_45_10591.jpg
/home/pi/Desktop/images/01012026/04/06/image_01012026_04_06_55_9783.jpg
/home/pi/Desktop/images/01012026/04/06/image_01012026_04_07_05_9777.jpg
/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_14_9672.jpg
/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_25_10714.jpg
/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_35_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980388","1401980396","1401980399","1401980392","1401980389","1401980394"],"photo_ids_order":["1401980388","1401980389","1401980392","1401980394","1401980396","1401980399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6fba814f8def9ebd812b702a0a6ae53.jpg","text":"TemporaryFile(/tmp/multipartBody903978999914566153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239842790,"filename":"image_01012026_04_06_45_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/243c921c3392248fa44fe330e25d37b9.jpg","text":"TemporaryFile(/tmp/multipartBody1206020558669169155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239842790,"filename":"image_01012026_04_07_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ec4e8a8ca9e562e972547f92bbdcc2f.jpg","text":"TemporaryFile(/tmp/multipartBody4476406262881226125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239842790,"filename":"image_01012026_04_07_35_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51cd80bd570e2b69c699d77dc03dabf0.jpg","text":"TemporaryFile(/tmp/multipartBody4700163554260182385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239842790,"filename":"image_01012026_04_07_05_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57e7b827bb4d201b8aa08d371cdbb1d1.jpg","text":"TemporaryFile(/tmp/multipartBody1721639785122170494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239842790,"filename":"image_01012026_04_06_55_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67d2c57c8dde19cfffa799a7b305f455.jpg","text":"TemporaryFile(/tmp/multipartBody8185770058814705003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239842790,"filename":"image_01012026_04_07_14_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980392","file1":"1401980389","file0":"1401980388","file4":"1401980396","file5":"1401980399","file3":"1401980394"},"map_files_photo_id_array":[{"photo_id":"1401980399","filename":"file5"},{"photo_id":"1401980392","filename":"file2"},{"photo_id":"1401980396","filename":"file4"},{"photo_id":"1401980389","filename":"file1"},{"photo_id":"1401980388","filename":"file0"},{"photo_id":"1401980394","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980388":["hashtag1","hashtag2"]},{"1401980396":["hashtag1","hashtag2"]},{"1401980399":["hashtag1","hashtag2"]},{"1401980392":["hashtag1","hashtag2"]},{"1401980389":["hashtag1","hashtag2"]},{"1401980394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980388, 1401980396, 1401980399, 1401980392, 1401980389, 1401980394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.642592430114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:57:02.991527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_44_9578.jpg', '/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_55_10650.jpg', '/home/pi/Desktop/images/01012026/04/07/image_01012026_04_08_04_9712.jpg', '/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_14_9694.jpg', '/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_25_10781.jpg', '/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_35_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_44_9578.jpg
/home/pi/Desktop/images/01012026/04/07/image_01012026_04_07_55_10650.jpg
/home/pi/Desktop/images/01012026/04/07/image_01012026_04_08_04_9712.jpg
/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_14_9694.jpg
/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_25_10781.jpg
/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_35_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":["1401980400","1401980403","1401980406","1401980402","1401980404","1401980401"],"photo_ids_order":["1401980400","1401980401","1401980402","1401980403","1401980404","1401980406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05cfe94c4c0f8077bc5caf293fb8f4f4.jpg","text":"TemporaryFile(/tmp/multipartBody2725670978675404305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239883644,"filename":"image_01012026_04_07_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97f5b544906f94f51718c1174ab0eccd.jpg","text":"TemporaryFile(/tmp/multipartBody3146614082407276253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239883644,"filename":"image_01012026_04_08_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51aac83d9f5d759aa8cbb7b24e3c104b.jpg","text":"TemporaryFile(/tmp/multipartBody2702109698461611689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239883644,"filename":"image_01012026_04_08_35_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/341a6f33bf2646157bdffc0d00962a55.jpg","text":"TemporaryFile(/tmp/multipartBody7589614782151580043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239883644,"filename":"image_01012026_04_08_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/596708899f7fe6a35dec81164a38beb6.jpg","text":"TemporaryFile(/tmp/multipartBody5320620166297714243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239883644,"filename":"image_01012026_04_08_25_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b098bc190db65753ce4f5ca1368ab12.jpg","text":"TemporaryFile(/tmp/multipartBody8131248806742185303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239883644,"filename":"image_01012026_04_07_55_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980402","file1":"1401980401","file0":"1401980400","file4":"1401980404","file5":"1401980406","file3":"1401980403"},"map_files_photo_id_array":[{"photo_id":"1401980406","filename":"file5"},{"photo_id":"1401980402","filename":"file2"},{"photo_id":"1401980404","filename":"file4"},{"photo_id":"1401980401","filename":"file1"},{"photo_id":"1401980400","filename":"file0"},{"photo_id":"1401980403","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980400":["hashtag1","hashtag2"]},{"1401980403":["hashtag1","hashtag2"]},{"1401980406":["hashtag1","hashtag2"]},{"1401980402":["hashtag1","hashtag2"]},{"1401980404":["hashtag1","hashtag2"]},{"1401980401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980400, 1401980403, 1401980406, 1401980402, 1401980404, 1401980401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27177453041077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 04:57:42.350743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_58_2640.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_04_2736.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_08_3572.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_11_2824.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_13_2596.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_17_3511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/52/image_03112025_22_52_58_2640.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_04_2736.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_08_3572.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_11_2824.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_13_2596.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_17_3511.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401980415","1401980411","1401980414","1401980417","1401980416","1401980413"],"photo_ids_order":["1401980411","1401980413","1401980414","1401980415","1401980416","1401980417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75967b4e591565071097cca48c4a1252.jpg","text":"TemporaryFile(/tmp/multipartBody8299681975395884584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239924105,"filename":"image_03112025_22_53_11_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60dcaba68d144723f9b208f711e77299.jpg","text":"TemporaryFile(/tmp/multipartBody8555861750240592951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239924105,"filename":"image_03112025_22_52_58_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c13a672b81abe84a88590ffb4fe55f56.jpg","text":"TemporaryFile(/tmp/multipartBody7784376235957087538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239924105,"filename":"image_03112025_22_53_08_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae9f33a0729b5a2cf403d2a621f01520.jpg","text":"TemporaryFile(/tmp/multipartBody8756947304125500701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239924105,"filename":"image_03112025_22_53_17_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2acb13eac23d7797033eb24489bd819.jpg","text":"TemporaryFile(/tmp/multipartBody6335964848258535684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239924105,"filename":"image_03112025_22_53_13_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1903162ee51c7c58c3f25b3d3f03de96.jpg","text":"TemporaryFile(/tmp/multipartBody2726678683591380426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767239924105,"filename":"image_03112025_22_53_04_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980414","file1":"1401980413","file0":"1401980411","file4":"1401980416","file5":"1401980417","file3":"1401980415"},"map_files_photo_id_array":[{"photo_id":"1401980417","filename":"file5"},{"photo_id":"1401980414","filename":"file2"},{"photo_id":"1401980416","filename":"file4"},{"photo_id":"1401980413","filename":"file1"},{"photo_id":"1401980411","filename":"file0"},{"photo_id":"1401980415","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401980415":["hashtag1","hashtag2"]},{"1401980411":["hashtag1","hashtag2"]},{"1401980414":["hashtag1","hashtag2"]},{"1401980417":["hashtag1","hashtag2"]},{"1401980416":["hashtag1","hashtag2"]},{"1401980413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401980415, 1401980411, 1401980414, 1401980417, 1401980416, 1401980413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.12393665313721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 04:59:04.896902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_44_9600.jpg', '/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_55_10796.jpg', '/home/pi/Desktop/images/01012026/04/08/image_01012026_04_09_05_9695.jpg', '/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_14_9716.jpg', '/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_24_9839.jpg', '/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_44_9600.jpg
/home/pi/Desktop/images/01012026/04/08/image_01012026_04_08_55_10796.jpg
/home/pi/Desktop/images/01012026/04/08/image_01012026_04_09_05_9695.jpg
/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_14_9716.jpg
/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_24_9839.jpg
/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_35_10736.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":["1401980670","1401980631","1401980826","1401980783","1401980744","1401980708"],"photo_ids_order":["1401980631","1401980670","1401980708","1401980744","1401980783","1401980826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1c6558edfce5e7af7d26fe7ebe30b53.jpg","text":"TemporaryFile(/tmp/multipartBody8195746683205079187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240010167,"filename":"image_01012026_04_08_55_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0df93108204645d69a4aa9bdb9f63bf9.jpg","text":"TemporaryFile(/tmp/multipartBody6941227027192320991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240010167,"filename":"image_01012026_04_08_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/446b04a74700db332f3da8cdc8ac09c6.jpg","text":"TemporaryFile(/tmp/multipartBody4046087596629036089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240010167,"filename":"image_01012026_04_09_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41ed2422d0aa2e94535ce6ba570e9fb1.jpg","text":"TemporaryFile(/tmp/multipartBody8346322226679765744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240010167,"filename":"image_01012026_04_09_24_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bb784eded9b5b69a06f80a7e7a996b9.jpg","text":"TemporaryFile(/tmp/multipartBody2683728367463808002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240010167,"filename":"image_01012026_04_09_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7ea8163ddc31ba186795edf74c33f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3542782509481354563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240010167,"filename":"image_01012026_04_09_05_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401980708","file1":"1401980670","file0":"1401980631","file4":"1401980783","file5":"1401980826","file3":"1401980744"},"map_files_photo_id_array":[{"photo_id":"1401980826","filename":"file5"},{"photo_id":"1401980708","filename":"file2"},{"photo_id":"1401980783","filename":"file4"},{"photo_id":"1401980670","filename":"file1"},{"photo_id":"1401980631","filename":"file0"},{"photo_id":"1401980744","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401980670":["hashtag1","hashtag2"]},{"1401980631":["hashtag1","hashtag2"]},{"1401980826":["hashtag1","hashtag2"]},{"1401980783":["hashtag1","hashtag2"]},{"1401980744":["hashtag1","hashtag2"]},{"1401980708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401980670, 1401980631, 1401980826, 1401980783, 1401980744, 1401980708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.91301131248474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:00:06.273933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 05:00:13.474776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_19_2702.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_29_2723.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_49_2600.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_53_3561.jpg', '/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_58_2512.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_02_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/22/53/image_03112025_22_53_19_2702.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_29_2723.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_49_2600.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_53_3561.jpg
/home/pi/Desktop/images/03112025/22/53/image_03112025_22_53_58_2512.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_02_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981080","1401981083","1401981010","1401981112","1401981048","1401981114"],"photo_ids_order":["1401981010","1401981048","1401981080","1401981083","1401981112","1401981114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dca9be6f6517c616a51da8b301c26d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2719757121448125588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240078191,"filename":"image_03112025_22_53_49_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de1c5509ef768385dd0a82372e440616.jpg","text":"TemporaryFile(/tmp/multipartBody1766737982582169745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240078191,"filename":"image_03112025_22_53_53_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a53c7ce73b9f53621e0a5b1eb7b9de0e.jpg","text":"TemporaryFile(/tmp/multipartBody6979245757987754405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240078191,"filename":"image_03112025_22_53_19_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52e55da56230279a71b0b17f4fe00eac.jpg","text":"TemporaryFile(/tmp/multipartBody5517473273096661438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240078191,"filename":"image_03112025_22_53_58_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43e737af3c79b84b5850e9a8a63051ac.jpg","text":"TemporaryFile(/tmp/multipartBody5758717472419577634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240078191,"filename":"image_03112025_22_53_29_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/816b7a765eeefea3e4ca214afb192d3e.jpg","text":"TemporaryFile(/tmp/multipartBody3413349888390302931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240078191,"filename":"image_03112025_22_54_02_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981080","file1":"1401981048","file0":"1401981010","file4":"1401981112","file5":"1401981114","file3":"1401981083"},"map_files_photo_id_array":[{"photo_id":"1401981114","filename":"file5"},{"photo_id":"1401981080","filename":"file2"},{"photo_id":"1401981112","filename":"file4"},{"photo_id":"1401981048","filename":"file1"},{"photo_id":"1401981010","filename":"file0"},{"photo_id":"1401981083","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981080":["hashtag1","hashtag2"]},{"1401981083":["hashtag1","hashtag2"]},{"1401981010":["hashtag1","hashtag2"]},{"1401981112":["hashtag1","hashtag2"]},{"1401981048":["hashtag1","hashtag2"]},{"1401981114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981080, 1401981083, 1401981010, 1401981112, 1401981048, 1401981114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.074408531188965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:01:02.914988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 05:01:12.423275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_07_2699.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_11_3690.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_16_2713.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_20_3703.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_23_2678.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_25_2785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_07_2699.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_11_3690.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_16_2713.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_20_3703.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_23_2678.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_25_2785.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981158","1401981160","1401981154","1401981162","1401981153","1401981156"],"photo_ids_order":["1401981153","1401981154","1401981156","1401981158","1401981160","1401981162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6899bbef45f81d11b8bd7f4593ca3d41.jpg","text":"TemporaryFile(/tmp/multipartBody497714753816501383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240134172,"filename":"image_03112025_22_54_20_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac812047c0dc5effb6fbf7949b3fe3df.jpg","text":"TemporaryFile(/tmp/multipartBody7838142883723830590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240134172,"filename":"image_03112025_22_54_23_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ea8481732581655485db96cb0efa74c.jpg","text":"TemporaryFile(/tmp/multipartBody6873189594990860872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240134172,"filename":"image_03112025_22_54_11_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89035c64529f85b9f82c632437bf004b.jpg","text":"TemporaryFile(/tmp/multipartBody8390098088664292272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240134172,"filename":"image_03112025_22_54_25_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d60c022c8d3a62488ea9e0fa9ab93d0c.jpg","text":"TemporaryFile(/tmp/multipartBody7040580701059296673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240134172,"filename":"image_03112025_22_54_07_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ee7d70a8f1b6d33ac7decd03c1c292c.jpg","text":"TemporaryFile(/tmp/multipartBody1789443479102145011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240134172,"filename":"image_03112025_22_54_16_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981156","file1":"1401981154","file0":"1401981153","file4":"1401981160","file5":"1401981162","file3":"1401981158"},"map_files_photo_id_array":[{"photo_id":"1401981162","filename":"file5"},{"photo_id":"1401981156","filename":"file2"},{"photo_id":"1401981160","filename":"file4"},{"photo_id":"1401981154","filename":"file1"},{"photo_id":"1401981153","filename":"file0"},{"photo_id":"1401981158","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981158":["hashtag1","hashtag2"]},{"1401981160":["hashtag1","hashtag2"]},{"1401981154":["hashtag1","hashtag2"]},{"1401981162":["hashtag1","hashtag2"]},{"1401981153":["hashtag1","hashtag2"]},{"1401981156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981158, 1401981160, 1401981154, 1401981162, 1401981153, 1401981156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70485544204712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:02:02.908438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_45_9669.jpg', '/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_54_9700.jpg', '/home/pi/Desktop/images/01012026/04/09/image_01012026_04_10_05_10718.jpg', '/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_15_9793.jpg', '/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_25_9755.jpg', '/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_34_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_45_9669.jpg
/home/pi/Desktop/images/01012026/04/09/image_01012026_04_09_54_9700.jpg
/home/pi/Desktop/images/01012026/04/09/image_01012026_04_10_05_10718.jpg
/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_15_9793.jpg
/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_25_9755.jpg
/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_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":["1401981170","1401981167","1401981172","1401981166","1401981169","1401981168"],"photo_ids_order":["1401981166","1401981167","1401981168","1401981169","1401981170","1401981172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66ea057be60c2c3bf7f0a6e4bd5b2866.jpg","text":"TemporaryFile(/tmp/multipartBody7462006926308206389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240183549,"filename":"image_01012026_04_10_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a85b861097209948173a3259a5d10870.jpg","text":"TemporaryFile(/tmp/multipartBody5981235390086496317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240183549,"filename":"image_01012026_04_09_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a4b6c3deed89978964a18be621d8188.jpg","text":"TemporaryFile(/tmp/multipartBody238646556427506466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240183549,"filename":"image_01012026_04_10_34_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc165c0e222ce8c70434688e0152d155.jpg","text":"TemporaryFile(/tmp/multipartBody868392209969363669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240183549,"filename":"image_01012026_04_09_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63b2d634270fd5150653e2b77deb323e.jpg","text":"TemporaryFile(/tmp/multipartBody2394027820875943138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240183549,"filename":"image_01012026_04_10_15_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94cc236300c6a169739e747edf208965.jpg","text":"TemporaryFile(/tmp/multipartBody8863143768214286060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240183549,"filename":"image_01012026_04_10_05_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981168","file1":"1401981167","file0":"1401981166","file4":"1401981170","file5":"1401981172","file3":"1401981169"},"map_files_photo_id_array":[{"photo_id":"1401981172","filename":"file5"},{"photo_id":"1401981168","filename":"file2"},{"photo_id":"1401981170","filename":"file4"},{"photo_id":"1401981167","filename":"file1"},{"photo_id":"1401981166","filename":"file0"},{"photo_id":"1401981169","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981170":["hashtag1","hashtag2"]},{"1401981167":["hashtag1","hashtag2"]},{"1401981172":["hashtag1","hashtag2"]},{"1401981166":["hashtag1","hashtag2"]},{"1401981169":["hashtag1","hashtag2"]},{"1401981168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981170, 1401981167, 1401981172, 1401981166, 1401981169, 1401981168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.512808084487915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:02:42.636464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_32_3644.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_50_3372.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_52_2643.jpg', '/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_58_2681.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_07_3046.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_10_3680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_32_3644.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_50_3372.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_52_2643.jpg
/home/pi/Desktop/images/03112025/22/54/image_03112025_22_54_58_2681.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_07_3046.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_10_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":["1401981182","1401981185","1401981184","1401981178","1401981181","1401981183"],"photo_ids_order":["1401981178","1401981181","1401981182","1401981183","1401981184","1401981185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c80f4f5615f117b3cb4491a29dec6c02.jpg","text":"TemporaryFile(/tmp/multipartBody4480342894183743553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240224429,"filename":"image_03112025_22_54_52_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff3ce3882c1cb8fb5ac1b66833592cf0.jpg","text":"TemporaryFile(/tmp/multipartBody1739155761737881179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240224429,"filename":"image_03112025_22_56_10_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5bacbbf2dba6e479da297ad586ea9aa.jpg","text":"TemporaryFile(/tmp/multipartBody1983948962531861267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240224429,"filename":"image_03112025_22_56_07_3046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e50f45ccb737da6b5fe57c1ce2f1714.jpg","text":"TemporaryFile(/tmp/multipartBody7962416840724692326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240224429,"filename":"image_03112025_22_54_32_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21694a33a36934ebf761c7bd5d98aa10.jpg","text":"TemporaryFile(/tmp/multipartBody7042859014302138170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240224429,"filename":"image_03112025_22_54_50_3372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9a037b5aa5ce12cb487a0c335cd085b.jpg","text":"TemporaryFile(/tmp/multipartBody4152062299572261953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240224429,"filename":"image_03112025_22_54_58_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981182","file1":"1401981181","file0":"1401981178","file4":"1401981184","file5":"1401981185","file3":"1401981183"},"map_files_photo_id_array":[{"photo_id":"1401981185","filename":"file5"},{"photo_id":"1401981182","filename":"file2"},{"photo_id":"1401981184","filename":"file4"},{"photo_id":"1401981181","filename":"file1"},{"photo_id":"1401981178","filename":"file0"},{"photo_id":"1401981183","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981182":["hashtag1","hashtag2"]},{"1401981185":["hashtag1","hashtag2"]},{"1401981184":["hashtag1","hashtag2"]},{"1401981178":["hashtag1","hashtag2"]},{"1401981181":["hashtag1","hashtag2"]},{"1401981183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981182, 1401981185, 1401981184, 1401981178, 1401981181, 1401981183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.16663837432861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:03:22.793651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_45_10595.jpg', '/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_54_9740.jpg', '/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_15_9799.jpg', '/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_25_9829.jpg', '/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_34_9595.jpg', '/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_45_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_45_10595.jpg
/home/pi/Desktop/images/01012026/04/10/image_01012026_04_10_54_9740.jpg
/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_15_9799.jpg
/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_25_9829.jpg
/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_34_9595.jpg
/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_45_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981191","1401981193","1401981195","1401981189","1401981198","1401981186"],"photo_ids_order":["1401981186","1401981189","1401981191","1401981193","1401981195","1401981198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7d4b5bf0cb216bd035bc8d6bacc016c.jpg","text":"TemporaryFile(/tmp/multipartBody5792478556247785540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240263379,"filename":"image_01012026_04_11_15_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0115773358fb2dc8e423f3a6fc92e845.jpg","text":"TemporaryFile(/tmp/multipartBody2872980014835422793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240263379,"filename":"image_01012026_04_11_25_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/177d7dadf31e4639567e8a57212bc4c7.jpg","text":"TemporaryFile(/tmp/multipartBody6708312307436893650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240263379,"filename":"image_01012026_04_11_34_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5ec7f5e8fdcfb764fa244574c4a7f2e.jpg","text":"TemporaryFile(/tmp/multipartBody3095977434700684311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240263379,"filename":"image_01012026_04_10_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ee0e8fd76df01f46679500189b8e89b.jpg","text":"TemporaryFile(/tmp/multipartBody8075815577088037890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240263379,"filename":"image_01012026_04_11_45_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6d3bde9463af9f1c88cb5b88bf480b4.jpg","text":"TemporaryFile(/tmp/multipartBody6217193846201491900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240263379,"filename":"image_01012026_04_10_45_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981191","file1":"1401981189","file0":"1401981186","file4":"1401981195","file5":"1401981198","file3":"1401981193"},"map_files_photo_id_array":[{"photo_id":"1401981198","filename":"file5"},{"photo_id":"1401981191","filename":"file2"},{"photo_id":"1401981195","filename":"file4"},{"photo_id":"1401981189","filename":"file1"},{"photo_id":"1401981186","filename":"file0"},{"photo_id":"1401981193","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981191":["hashtag1","hashtag2"]},{"1401981193":["hashtag1","hashtag2"]},{"1401981195":["hashtag1","hashtag2"]},{"1401981189":["hashtag1","hashtag2"]},{"1401981198":["hashtag1","hashtag2"]},{"1401981186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981191, 1401981193, 1401981195, 1401981189, 1401981198, 1401981186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.975117683410645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:04:02.766749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_55_9558.jpg', '/home/pi/Desktop/images/01012026/04/11/image_01012026_04_12_04_9818.jpg', '/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_14_9647.jpg', '/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_25_10720.jpg', '/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_34_9677.jpg', '/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_44_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/11/image_01012026_04_11_55_9558.jpg
/home/pi/Desktop/images/01012026/04/11/image_01012026_04_12_04_9818.jpg
/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_14_9647.jpg
/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_25_10720.jpg
/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_34_9677.jpg
/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_44_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":["1401981201","1401981204","1401981200","1401981199","1401981203","1401981202"],"photo_ids_order":["1401981199","1401981200","1401981201","1401981202","1401981203","1401981204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d5cd11db6c2764a4d81a5db3c9d627d.jpg","text":"TemporaryFile(/tmp/multipartBody4707205791504084756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240303453,"filename":"image_01012026_04_12_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2d03ea55a46bb4cbd6e7308f1f67759.jpg","text":"TemporaryFile(/tmp/multipartBody628929061712758120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240303453,"filename":"image_01012026_04_12_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19d233a300f4b9d4ffecf525c11c1772.jpg","text":"TemporaryFile(/tmp/multipartBody3276993430201765370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240303453,"filename":"image_01012026_04_12_04_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c24344855f2a81416970eb0aa9b463ed.jpg","text":"TemporaryFile(/tmp/multipartBody6163260456019523401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240303453,"filename":"image_01012026_04_11_55_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15299fa8f6592c854430f5f730822abb.jpg","text":"TemporaryFile(/tmp/multipartBody2447470086822819643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240303453,"filename":"image_01012026_04_12_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/586766cbf1adf2a139080d6abc22ce84.jpg","text":"TemporaryFile(/tmp/multipartBody2033477357176358071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240303453,"filename":"image_01012026_04_12_25_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981201","file1":"1401981200","file0":"1401981199","file4":"1401981203","file5":"1401981204","file3":"1401981202"},"map_files_photo_id_array":[{"photo_id":"1401981204","filename":"file5"},{"photo_id":"1401981201","filename":"file2"},{"photo_id":"1401981203","filename":"file4"},{"photo_id":"1401981200","filename":"file1"},{"photo_id":"1401981199","filename":"file0"},{"photo_id":"1401981202","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981201":["hashtag1","hashtag2"]},{"1401981204":["hashtag1","hashtag2"]},{"1401981200":["hashtag1","hashtag2"]},{"1401981199":["hashtag1","hashtag2"]},{"1401981203":["hashtag1","hashtag2"]},{"1401981202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981201, 1401981204, 1401981200, 1401981199, 1401981203, 1401981202)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.17862939834595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:05:03.376677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_55_10640.jpg', '/home/pi/Desktop/images/01012026/04/12/image_01012026_04_13_05_9822.jpg', '/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_14_9687.jpg', '/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_24_9951.jpg', '/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_34_9760.jpg', '/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_45_10540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/12/image_01012026_04_12_55_10640.jpg
/home/pi/Desktop/images/01012026/04/12/image_01012026_04_13_05_9822.jpg
/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_14_9687.jpg
/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_24_9951.jpg
/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_34_9760.jpg
/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_45_10540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981222","1401981219","1401981218","1401981215","1401981220","1401981217"],"photo_ids_order":["1401981215","1401981217","1401981218","1401981219","1401981220","1401981222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9aa65a6fca1153dbf592ab3a9c5e359f.jpg","text":"TemporaryFile(/tmp/multipartBody7566324267464636709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240364014,"filename":"image_01012026_04_13_45_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97bd757f9ff2fad6ccee9b7ae238676a.jpg","text":"TemporaryFile(/tmp/multipartBody1391464112528556042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240364014,"filename":"image_01012026_04_13_24_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/478f453da4c1985121b23b6cf9039643.jpg","text":"TemporaryFile(/tmp/multipartBody7543022405932873391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240364014,"filename":"image_01012026_04_13_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7627d45491e87ee11b187cf20634662.jpg","text":"TemporaryFile(/tmp/multipartBody3545916139991521842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240364014,"filename":"image_01012026_04_12_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8c29d5ebac19d762d205ba38a3ce758.jpg","text":"TemporaryFile(/tmp/multipartBody1705007651350468561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240364014,"filename":"image_01012026_04_13_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae473ea5120be17910e0265fa7b2594b.jpg","text":"TemporaryFile(/tmp/multipartBody5742139852144931326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240364014,"filename":"image_01012026_04_13_05_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981218","file1":"1401981217","file0":"1401981215","file4":"1401981220","file5":"1401981222","file3":"1401981219"},"map_files_photo_id_array":[{"photo_id":"1401981222","filename":"file5"},{"photo_id":"1401981218","filename":"file2"},{"photo_id":"1401981220","filename":"file4"},{"photo_id":"1401981217","filename":"file1"},{"photo_id":"1401981215","filename":"file0"},{"photo_id":"1401981219","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981222":["hashtag1","hashtag2"]},{"1401981219":["hashtag1","hashtag2"]},{"1401981218":["hashtag1","hashtag2"]},{"1401981215":["hashtag1","hashtag2"]},{"1401981220":["hashtag1","hashtag2"]},{"1401981217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981222, 1401981219, 1401981218, 1401981215, 1401981220, 1401981217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9203577041626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:05:42.765189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_18_7903.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_23_1629.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_25_1604.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_28_3533.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_40_2616.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_46_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_18_7903.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_23_1629.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_25_1604.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_28_3533.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_40_2616.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_46_3588.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.641387701034546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:06:02.489668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_54_9596.jpg', '/home/pi/Desktop/images/01012026/04/13/image_01012026_04_14_05_10710.jpg', '/home/pi/Desktop/images/01012026/04/14/image_01012026_04_14_15_9720.jpg', '/home/pi/Desktop/images/01012026/04/14/image_01012026_04_14_24_9767.jpg', '/home/pi/Desktop/images/01012026/04/14/image_01012026_04_14_34_9720.jpg', '/home/pi/Desktop/images/01012026/04/14/image_01012026_04_14_45_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/13/image_01012026_04_13_54_9596.jpg
/home/pi/Desktop/images/01012026/04/13/image_01012026_04_14_05_10710.jpg
/home/pi/Desktop/images/01012026/04/14/image_01012026_04_14_15_9720.jpg
/home/pi/Desktop/images/01012026/04/14/image_01012026_04_14_24_9767.jpg
/home/pi/Desktop/images/01012026/04/14/image_01012026_04_14_34_9720.jpg
/home/pi/Desktop/images/01012026/04/14/image_01012026_04_14_45_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":["1401981237","1401981236","1401981239","1401981241","1401981235","1401981238"],"photo_ids_order":["1401981235","1401981236","1401981237","1401981238","1401981239","1401981241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2a725f6ff1c834f6661cefd69ce14f4.jpg","text":"TemporaryFile(/tmp/multipartBody3706187316888457910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240423100,"filename":"image_01012026_04_14_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af1e53b4d8895f705ecf900b1ce52d76.jpg","text":"TemporaryFile(/tmp/multipartBody5529043244022961068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240423100,"filename":"image_01012026_04_14_05_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5f3ffc19cc88aa24b95fcabbbe0433c.jpg","text":"TemporaryFile(/tmp/multipartBody5179485132064166242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240423100,"filename":"image_01012026_04_14_34_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e279f03df5d983ed2b4c32933ddeeb9.jpg","text":"TemporaryFile(/tmp/multipartBody6910741517245357821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240423100,"filename":"image_01012026_04_14_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc0dea77e0f4969eee17d6374482e9d5.jpg","text":"TemporaryFile(/tmp/multipartBody2985640525967785619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240423100,"filename":"image_01012026_04_13_54_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69c5953bc7a5ebe74ea86e4cda9c3467.jpg","text":"TemporaryFile(/tmp/multipartBody6185068468849262937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240423100,"filename":"image_01012026_04_14_24_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981237","file1":"1401981236","file0":"1401981235","file4":"1401981239","file5":"1401981241","file3":"1401981238"},"map_files_photo_id_array":[{"photo_id":"1401981241","filename":"file5"},{"photo_id":"1401981237","filename":"file2"},{"photo_id":"1401981239","filename":"file4"},{"photo_id":"1401981236","filename":"file1"},{"photo_id":"1401981235","filename":"file0"},{"photo_id":"1401981238","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981237":["hashtag1","hashtag2"]},{"1401981236":["hashtag1","hashtag2"]},{"1401981239":["hashtag1","hashtag2"]},{"1401981241":["hashtag1","hashtag2"]},{"1401981235":["hashtag1","hashtag2"]},{"1401981238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981237, 1401981236, 1401981239, 1401981241, 1401981235, 1401981238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.431565046310425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:06:42.005073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_18_7903.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_23_1629.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_25_1604.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_28_3533.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_40_2616.jpg', '/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_46_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_18_7903.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_23_1629.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_25_1604.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_28_3533.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_40_2616.jpg
/home/pi/Desktop/images/03112025/22/56/image_03112025_22_56_46_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":["1401981251","1401981248","1401981250","1401981252","1401981246","1401981249"],"photo_ids_order":["1401981246","1401981248","1401981249","1401981250","1401981251","1401981252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/709d2dfa196129be2ca597310369a786.jpg","text":"TemporaryFile(/tmp/multipartBody434605201399083973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240463655,"filename":"image_03112025_22_56_40_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33f6352e6f68f116ae13ef37b7706180.jpg","text":"TemporaryFile(/tmp/multipartBody937278910237075111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240463655,"filename":"image_03112025_22_56_23_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b42132a6a600d418d350c47bd174b5a1.jpg","text":"TemporaryFile(/tmp/multipartBody4712806670281944358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240463655,"filename":"image_03112025_22_56_28_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6bb272ba95e0014eccf7fcf51026240.jpg","text":"TemporaryFile(/tmp/multipartBody5343285688337000313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240463655,"filename":"image_03112025_22_56_46_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/995ae2435105a226f51c571d4e0f6f19.jpg","text":"TemporaryFile(/tmp/multipartBody5584753168227727638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240463655,"filename":"image_03112025_22_56_18_7903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12c843af2de137f265ed2418f5cab841.jpg","text":"TemporaryFile(/tmp/multipartBody2863211030856934168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240463655,"filename":"image_03112025_22_56_25_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981249","file1":"1401981248","file0":"1401981246","file4":"1401981251","file5":"1401981252","file3":"1401981250"},"map_files_photo_id_array":[{"photo_id":"1401981252","filename":"file5"},{"photo_id":"1401981249","filename":"file2"},{"photo_id":"1401981251","filename":"file4"},{"photo_id":"1401981248","filename":"file1"},{"photo_id":"1401981246","filename":"file0"},{"photo_id":"1401981250","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981251":["hashtag1","hashtag2"]},{"1401981248":["hashtag1","hashtag2"]},{"1401981250":["hashtag1","hashtag2"]},{"1401981252":["hashtag1","hashtag2"]},{"1401981246":["hashtag1","hashtag2"]},{"1401981249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981251, 1401981248, 1401981250, 1401981252, 1401981246, 1401981249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64355111122131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:07:22.223195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/14/image_01012026_04_15_04_9683.jpg', '/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_15_10697.jpg', '/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_25_9691.jpg', '/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_34_9594.jpg', '/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_45_10619.jpg', '/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_54_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/14/image_01012026_04_15_04_9683.jpg
/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_15_10697.jpg
/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_25_9691.jpg
/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_34_9594.jpg
/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_45_10619.jpg
/home/pi/Desktop/images/01012026/04/15/image_01012026_04_15_54_9569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981260","1401981263","1401981253","1401981262","1401981258","1401981255"],"photo_ids_order":["1401981253","1401981255","1401981258","1401981260","1401981262","1401981263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c271885927230495bb57a523346e1d50.jpg","text":"TemporaryFile(/tmp/multipartBody2152350228443044136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240502806,"filename":"image_01012026_04_15_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36cd63c5dc9b8491e136b3b315cfc7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2193337488834098736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240502806,"filename":"image_01012026_04_15_54_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56ac65ac6ad76b91a71ee7ef3079570a.jpg","text":"TemporaryFile(/tmp/multipartBody6261753327360295585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240502806,"filename":"image_01012026_04_15_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9471b85974945298fd1cb4f0ebb39d99.jpg","text":"TemporaryFile(/tmp/multipartBody2743077206494650563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240502806,"filename":"image_01012026_04_15_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf0782fd6429351c1bc2ef2fad7c4983.jpg","text":"TemporaryFile(/tmp/multipartBody8417111574938166186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240502806,"filename":"image_01012026_04_15_25_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/579b8a5a7c4bfa2c333c4110de9f0998.jpg","text":"TemporaryFile(/tmp/multipartBody7619384282770180049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240502806,"filename":"image_01012026_04_15_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981258","file1":"1401981255","file0":"1401981253","file4":"1401981262","file5":"1401981263","file3":"1401981260"},"map_files_photo_id_array":[{"photo_id":"1401981263","filename":"file5"},{"photo_id":"1401981258","filename":"file2"},{"photo_id":"1401981262","filename":"file4"},{"photo_id":"1401981255","filename":"file1"},{"photo_id":"1401981253","filename":"file0"},{"photo_id":"1401981260","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981260":["hashtag1","hashtag2"]},{"1401981263":["hashtag1","hashtag2"]},{"1401981253":["hashtag1","hashtag2"]},{"1401981262":["hashtag1","hashtag2"]},{"1401981258":["hashtag1","hashtag2"]},{"1401981255":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981260, 1401981263, 1401981253, 1401981262, 1401981258, 1401981255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.493547677993774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:08:02.824747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/15/image_01012026_04_16_04_9739.jpg', '/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_15_10713.jpg', '/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_24_9672.jpg', '/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_34_9680.jpg', '/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_45_10545.jpg', '/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_54_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/15/image_01012026_04_16_04_9739.jpg
/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_15_10713.jpg
/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_24_9672.jpg
/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_34_9680.jpg
/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_45_10545.jpg
/home/pi/Desktop/images/01012026/04/16/image_01012026_04_16_54_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":["1401981266","1401981265","1401981268","1401981270","1401981264","1401981267"],"photo_ids_order":["1401981264","1401981265","1401981266","1401981267","1401981268","1401981270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1264814cb84122a30e27abcd4a905058.jpg","text":"TemporaryFile(/tmp/multipartBody1492838014405785200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240543472,"filename":"image_01012026_04_16_24_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a52e58ee8669e8ff1856e5ff860ddd8.jpg","text":"TemporaryFile(/tmp/multipartBody7761462503808258562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240543472,"filename":"image_01012026_04_16_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49067b1ce4089db7dde8fe3d47fc939b.jpg","text":"TemporaryFile(/tmp/multipartBody2660368189014004620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240543472,"filename":"image_01012026_04_16_45_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45c7b76888c275ac05cfa9b206d5b5ae.jpg","text":"TemporaryFile(/tmp/multipartBody7530743576725420232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240543472,"filename":"image_01012026_04_16_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b071262e0d1fce3734235548fb5508f.jpg","text":"TemporaryFile(/tmp/multipartBody7922642439125984345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240543472,"filename":"image_01012026_04_16_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1972a6a1d2165400aebdf35102b5f54c.jpg","text":"TemporaryFile(/tmp/multipartBody3794875596572895327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240543472,"filename":"image_01012026_04_16_34_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981266","file1":"1401981265","file0":"1401981264","file4":"1401981268","file5":"1401981270","file3":"1401981267"},"map_files_photo_id_array":[{"photo_id":"1401981270","filename":"file5"},{"photo_id":"1401981266","filename":"file2"},{"photo_id":"1401981268","filename":"file4"},{"photo_id":"1401981265","filename":"file1"},{"photo_id":"1401981264","filename":"file0"},{"photo_id":"1401981267","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981266":["hashtag1","hashtag2"]},{"1401981265":["hashtag1","hashtag2"]},{"1401981268":["hashtag1","hashtag2"]},{"1401981270":["hashtag1","hashtag2"]},{"1401981264":["hashtag1","hashtag2"]},{"1401981267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981266, 1401981265, 1401981268, 1401981270, 1401981264, 1401981267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59098958969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:08:42.331223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_09_1877.jpg', '/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_10_1629.jpg', '/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_12_1766.jpg', '/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_14_1753.jpg', '/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_19_1546.jpg', '/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_22_1855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_09_1877.jpg
/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_10_1629.jpg
/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_12_1766.jpg
/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_14_1753.jpg
/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_19_1546.jpg
/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_22_1855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981281","1401981278","1401981280","1401981282","1401981276","1401981279"],"photo_ids_order":["1401981276","1401981278","1401981279","1401981280","1401981281","1401981282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/529d8deb9429d2b19c806e1c3c7e18f3.jpg","text":"TemporaryFile(/tmp/multipartBody6685703958469156544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240584104,"filename":"image_03112025_22_57_19_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6fc969c84dc97ac6a5109b316362b4ec.jpg","text":"TemporaryFile(/tmp/multipartBody561570462931364871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240584104,"filename":"image_03112025_22_57_10_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc858af0e4911a85d0321b1867e89d04.jpg","text":"TemporaryFile(/tmp/multipartBody9135634392182502350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240584104,"filename":"image_03112025_22_57_14_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98bef068f6f131733dddf2f024bfb065.jpg","text":"TemporaryFile(/tmp/multipartBody6202560234591525346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240584104,"filename":"image_03112025_22_57_22_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/655fb5ada9f2c5b192421bc37e56ffac.jpg","text":"TemporaryFile(/tmp/multipartBody4154364031343587456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240584104,"filename":"image_03112025_22_57_09_1877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fb1a395956af11c4911b8c8c46d2a93.jpg","text":"TemporaryFile(/tmp/multipartBody2266411212889198647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240584104,"filename":"image_03112025_22_57_12_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981279","file1":"1401981278","file0":"1401981276","file4":"1401981281","file5":"1401981282","file3":"1401981280"},"map_files_photo_id_array":[{"photo_id":"1401981282","filename":"file5"},{"photo_id":"1401981279","filename":"file2"},{"photo_id":"1401981281","filename":"file4"},{"photo_id":"1401981278","filename":"file1"},{"photo_id":"1401981276","filename":"file0"},{"photo_id":"1401981280","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981281":["hashtag1","hashtag2"]},{"1401981278":["hashtag1","hashtag2"]},{"1401981280":["hashtag1","hashtag2"]},{"1401981282":["hashtag1","hashtag2"]},{"1401981276":["hashtag1","hashtag2"]},{"1401981279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981281, 1401981278, 1401981280, 1401981282, 1401981276, 1401981279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50194430351257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:09:22.495973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_15_10760.jpg', '/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_25_9742.jpg', '/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_34_9765.jpg', '/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_44_9663.jpg', '/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_55_10642.jpg', '/home/pi/Desktop/images/01012026/04/17/image_01012026_04_18_04_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_15_10760.jpg
/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_25_9742.jpg
/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_34_9765.jpg
/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_44_9663.jpg
/home/pi/Desktop/images/01012026/04/17/image_01012026_04_17_55_10642.jpg
/home/pi/Desktop/images/01012026/04/17/image_01012026_04_18_04_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":["1401981290","1401981284","1401981295","1401981292","1401981286","1401981288"],"photo_ids_order":["1401981284","1401981286","1401981288","1401981290","1401981292","1401981295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b291c696d4229a219afc5b397e824cd.jpg","text":"TemporaryFile(/tmp/multipartBody6953115310276511553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240623087,"filename":"image_01012026_04_17_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1230a9568a6c300009f278d3677fce93.jpg","text":"TemporaryFile(/tmp/multipartBody907968933134326724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240623087,"filename":"image_01012026_04_17_15_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac2155cdce81366a5aaf64792de30d76.jpg","text":"TemporaryFile(/tmp/multipartBody4107540569455226706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240623087,"filename":"image_01012026_04_18_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98ebeeeffde0978da7f8beab7351233d.jpg","text":"TemporaryFile(/tmp/multipartBody3397239293079506087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240623087,"filename":"image_01012026_04_17_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab467cf0302ae72070d2810dad73a34c.jpg","text":"TemporaryFile(/tmp/multipartBody4168820879357859853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240623087,"filename":"image_01012026_04_17_25_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8dda446b3ac9975cbd729e5ff49a028e.jpg","text":"TemporaryFile(/tmp/multipartBody3121198202486293851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240623087,"filename":"image_01012026_04_17_34_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981288","file1":"1401981286","file0":"1401981284","file4":"1401981292","file5":"1401981295","file3":"1401981290"},"map_files_photo_id_array":[{"photo_id":"1401981295","filename":"file5"},{"photo_id":"1401981288","filename":"file2"},{"photo_id":"1401981292","filename":"file4"},{"photo_id":"1401981286","filename":"file1"},{"photo_id":"1401981284","filename":"file0"},{"photo_id":"1401981290","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981290":["hashtag1","hashtag2"]},{"1401981284":["hashtag1","hashtag2"]},{"1401981295":["hashtag1","hashtag2"]},{"1401981292":["hashtag1","hashtag2"]},{"1401981286":["hashtag1","hashtag2"]},{"1401981288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981290, 1401981284, 1401981295, 1401981292, 1401981286, 1401981288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.509233236312866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:10:03.212222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_14_9843.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_25_10597.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_35_9658.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_44_9622.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_55_10718.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_19_05_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_14_9843.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_25_10597.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_35_9658.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_44_9622.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_55_10718.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_19_05_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: 2.411242723464966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:10:12.708814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_37_2649.jpg', '/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_49_2650.jpg', '/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_10_1520.jpg', '/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_12_1590.jpg', '/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_27_1661.jpg', '/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_28_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/22/57/image_03112025_22_57_37_2649.jpg
/home/pi/Desktop/images/03112025/22/57/image_03112025_22_57_49_2650.jpg
/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_10_1520.jpg
/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_12_1590.jpg
/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_27_1661.jpg
/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_28_1584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981300","1401981303","1401981308","1401981298","1401981310","1401981306"],"photo_ids_order":["1401981298","1401981300","1401981303","1401981306","1401981308","1401981310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/facc93dd52b2c0332ffd6a8ffdc2af2b.jpg","text":"TemporaryFile(/tmp/multipartBody94649069633346627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240674359,"filename":"image_03112025_22_57_49_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea09c09a3ee0722b50d6cb29549c99a5.jpg","text":"TemporaryFile(/tmp/multipartBody5401451543441265598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240674359,"filename":"image_03112025_22_58_10_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3af71707c794a101645ba935a5789326.jpg","text":"TemporaryFile(/tmp/multipartBody7051848063752447255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240674359,"filename":"image_03112025_22_58_27_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f255bbff9a5eaeebcc6f791eca2a961a.jpg","text":"TemporaryFile(/tmp/multipartBody4748156718751127961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240674359,"filename":"image_03112025_22_57_37_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98d44d52f6eaa26417e138abd53ac5a5.jpg","text":"TemporaryFile(/tmp/multipartBody6232812184638236102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240674359,"filename":"image_03112025_22_58_28_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9f5be0bfbff63fb0a16f7a7a58199f0.jpg","text":"TemporaryFile(/tmp/multipartBody1825619495453211296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240674359,"filename":"image_03112025_22_58_12_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981303","file1":"1401981300","file0":"1401981298","file4":"1401981308","file5":"1401981310","file3":"1401981306"},"map_files_photo_id_array":[{"photo_id":"1401981310","filename":"file5"},{"photo_id":"1401981303","filename":"file2"},{"photo_id":"1401981308","filename":"file4"},{"photo_id":"1401981300","filename":"file1"},{"photo_id":"1401981298","filename":"file0"},{"photo_id":"1401981306","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981300":["hashtag1","hashtag2"]},{"1401981303":["hashtag1","hashtag2"]},{"1401981308":["hashtag1","hashtag2"]},{"1401981298":["hashtag1","hashtag2"]},{"1401981310":["hashtag1","hashtag2"]},{"1401981306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981300, 1401981303, 1401981308, 1401981298, 1401981310, 1401981306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91387605667114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:11:02.649227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_14_9843.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_25_10597.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_35_9658.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_44_9622.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_55_10718.jpg', '/home/pi/Desktop/images/01012026/04/18/image_01012026_04_19_05_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_14_9843.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_25_10597.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_35_9658.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_44_9622.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_18_55_10718.jpg
/home/pi/Desktop/images/01012026/04/18/image_01012026_04_19_05_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":["1401981321","1401981315","1401981318","1401981317","1401981314","1401981316"],"photo_ids_order":["1401981314","1401981315","1401981316","1401981317","1401981318","1401981321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/907e90487b74cc79385f16d7f7291560.jpg","text":"TemporaryFile(/tmp/multipartBody3895954730372183578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240723355,"filename":"image_01012026_04_19_05_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92b3d78b63314fb30d158120bb0a4ab7.jpg","text":"TemporaryFile(/tmp/multipartBody8101277542725376671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240723355,"filename":"image_01012026_04_18_25_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/326b416f2c25b3a634effe7e8bd85e78.jpg","text":"TemporaryFile(/tmp/multipartBody8457116201232654970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240723355,"filename":"image_01012026_04_18_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20e2a98d79528bc304a328b7798b3ee9.jpg","text":"TemporaryFile(/tmp/multipartBody6316369982421354381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240723355,"filename":"image_01012026_04_18_44_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fd8cb72f632aba7f412e20ee27cc836.jpg","text":"TemporaryFile(/tmp/multipartBody4804747959298457149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240723355,"filename":"image_01012026_04_18_14_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f49ada02c26af264e3a6fee9b660136a.jpg","text":"TemporaryFile(/tmp/multipartBody4523961300140143700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240723355,"filename":"image_01012026_04_18_35_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981316","file1":"1401981315","file0":"1401981314","file4":"1401981318","file5":"1401981321","file3":"1401981317"},"map_files_photo_id_array":[{"photo_id":"1401981321","filename":"file5"},{"photo_id":"1401981316","filename":"file2"},{"photo_id":"1401981318","filename":"file4"},{"photo_id":"1401981315","filename":"file1"},{"photo_id":"1401981314","filename":"file0"},{"photo_id":"1401981317","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981321":["hashtag1","hashtag2"]},{"1401981315":["hashtag1","hashtag2"]},{"1401981318":["hashtag1","hashtag2"]},{"1401981317":["hashtag1","hashtag2"]},{"1401981314":["hashtag1","hashtag2"]},{"1401981316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981321, 1401981315, 1401981318, 1401981317, 1401981314, 1401981316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60789465904236 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
2026-01-01 05:12:02.665373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/19/image_01012026_04_19_14_9750.jpg', '/home/pi/Desktop/images/01012026/04/19/image_01012026_04_19_24_9717.jpg', '/home/pi/Desktop/images/01012026/04/19/image_01012026_04_19_35_10709.jpg', '/home/pi/Desktop/images/01012026/04/19/image_01012026_04_19_45_9838.jpg', '/home/pi/Desktop/images/01012026/04/19/image_01012026_04_20_05_10736.jpg', '/home/pi/Desktop/images/01012026/04/20/image_01012026_04_20_15_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/19/image_01012026_04_19_14_9750.jpg
/home/pi/Desktop/images/01012026/04/19/image_01012026_04_19_24_9717.jpg
/home/pi/Desktop/images/01012026/04/19/image_01012026_04_19_35_10709.jpg
/home/pi/Desktop/images/01012026/04/19/image_01012026_04_19_45_9838.jpg
/home/pi/Desktop/images/01012026/04/19/image_01012026_04_20_05_10736.jpg
/home/pi/Desktop/images/01012026/04/20/image_01012026_04_20_15_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981329","1401981332","1401981326","1401981331","1401981328","1401981330"],"photo_ids_order":["1401981326","1401981328","1401981329","1401981330","1401981331","1401981332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6842f5f378be2c3e53790b640c386b62.jpg","text":"TemporaryFile(/tmp/multipartBody5597365198756143893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240783289,"filename":"image_01012026_04_19_35_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97d0a2773226cab409896d18c991a457.jpg","text":"TemporaryFile(/tmp/multipartBody7203302873987779714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240783289,"filename":"image_01012026_04_20_15_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ac5b8cb407ab9fc9ff25c534c23bcbb.jpg","text":"TemporaryFile(/tmp/multipartBody1624408904860661674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240783289,"filename":"image_01012026_04_19_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bb46908582e2f62a0a9b7c8ecfab07e.jpg","text":"TemporaryFile(/tmp/multipartBody8877570425823056075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240783289,"filename":"image_01012026_04_20_05_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9938f43acc17602b12d67acb1e63a5f.jpg","text":"TemporaryFile(/tmp/multipartBody5927351817721529156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240783289,"filename":"image_01012026_04_19_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43fbcefb364fd6d6bfedbdc028366b13.jpg","text":"TemporaryFile(/tmp/multipartBody7701895025676929938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240783289,"filename":"image_01012026_04_19_45_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981329","file1":"1401981328","file0":"1401981326","file4":"1401981331","file5":"1401981332","file3":"1401981330"},"map_files_photo_id_array":[{"photo_id":"1401981332","filename":"file5"},{"photo_id":"1401981329","filename":"file2"},{"photo_id":"1401981331","filename":"file4"},{"photo_id":"1401981328","filename":"file1"},{"photo_id":"1401981326","filename":"file0"},{"photo_id":"1401981330","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981329":["hashtag1","hashtag2"]},{"1401981332":["hashtag1","hashtag2"]},{"1401981326":["hashtag1","hashtag2"]},{"1401981331":["hashtag1","hashtag2"]},{"1401981328":["hashtag1","hashtag2"]},{"1401981330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981329, 1401981332, 1401981326, 1401981331, 1401981328, 1401981330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5564706325531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:12:42.209812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_31_1648.jpg', '/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_33_1754.jpg', '/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_54_1797.jpg', '/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_56_1614.jpg', '/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_04_1784.jpg', '/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_07_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/22/58/image_03112025_22_58_31_1648.jpg
/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_33_1754.jpg
/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_54_1797.jpg
/home/pi/Desktop/images/03112025/22/58/image_03112025_22_58_56_1614.jpg
/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_04_1784.jpg
/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_07_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":["1401981347","1401981341","1401981338","1401981343","1401981345","1401981348"],"photo_ids_order":["1401981338","1401981341","1401981343","1401981345","1401981347","1401981348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e384d8127cc7191152568f0dd77ed865.jpg","text":"TemporaryFile(/tmp/multipartBody9143822178936023896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240823967,"filename":"image_03112025_22_59_04_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/734a295b1daec74cd402d52e8ab78c76.jpg","text":"TemporaryFile(/tmp/multipartBody4040757634826293289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240823967,"filename":"image_03112025_22_58_33_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d488e9de388c3f3cab4ab5cfe93cd9f.jpg","text":"TemporaryFile(/tmp/multipartBody7684034593353685976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240823967,"filename":"image_03112025_22_58_31_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2de6dc4e65da4918c9c94bfd47c8d3da.jpg","text":"TemporaryFile(/tmp/multipartBody5172059626452397638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240823967,"filename":"image_03112025_22_58_54_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a09e0378cb364a84966c05ef90e017b.jpg","text":"TemporaryFile(/tmp/multipartBody765862022366843862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240823967,"filename":"image_03112025_22_58_56_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/822f39990e11e63eadf28d875d6875dc.jpg","text":"TemporaryFile(/tmp/multipartBody4605172417851473172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240823967,"filename":"image_03112025_22_59_07_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981343","file1":"1401981341","file0":"1401981338","file4":"1401981347","file5":"1401981348","file3":"1401981345"},"map_files_photo_id_array":[{"photo_id":"1401981348","filename":"file5"},{"photo_id":"1401981343","filename":"file2"},{"photo_id":"1401981347","filename":"file4"},{"photo_id":"1401981341","filename":"file1"},{"photo_id":"1401981338","filename":"file0"},{"photo_id":"1401981345","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981347":["hashtag1","hashtag2"]},{"1401981341":["hashtag1","hashtag2"]},{"1401981338":["hashtag1","hashtag2"]},{"1401981343":["hashtag1","hashtag2"]},{"1401981345":["hashtag1","hashtag2"]},{"1401981348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981347, 1401981341, 1401981338, 1401981343, 1401981345, 1401981348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73660850524902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:13:22.403503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/20/image_01012026_04_20_25_9804.jpg', '/home/pi/Desktop/images/01012026/04/20/image_01012026_04_20_35_10210.jpg', '/home/pi/Desktop/images/01012026/04/20/image_01012026_04_20_44_9571.jpg', '/home/pi/Desktop/images/01012026/04/20/image_01012026_04_21_05_10634.jpg', '/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_14_9615.jpg', '/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_24_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/20/image_01012026_04_20_25_9804.jpg
/home/pi/Desktop/images/01012026/04/20/image_01012026_04_20_35_10210.jpg
/home/pi/Desktop/images/01012026/04/20/image_01012026_04_20_44_9571.jpg
/home/pi/Desktop/images/01012026/04/20/image_01012026_04_21_05_10634.jpg
/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_14_9615.jpg
/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_24_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":["1401981356","1401981359","1401981352","1401981361","1401981355","1401981351"],"photo_ids_order":["1401981351","1401981352","1401981355","1401981356","1401981359","1401981361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfcb388b17b5d86bf5d44ba1f84e9e8f.jpg","text":"TemporaryFile(/tmp/multipartBody7230005461694809161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240862998,"filename":"image_01012026_04_21_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/943dfaeede6615862d9b0fce652100c6.jpg","text":"TemporaryFile(/tmp/multipartBody437550146239593459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240862998,"filename":"image_01012026_04_21_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a923da077b1c1fa82a31cf07b89e2d91.jpg","text":"TemporaryFile(/tmp/multipartBody1802241193253749146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240862998,"filename":"image_01012026_04_20_35_10210.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d810ea784b5bdd787a774102688911d8.jpg","text":"TemporaryFile(/tmp/multipartBody9222414358061662963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240862998,"filename":"image_01012026_04_21_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa8ad27d524d51783e4020be7b59eb3d.jpg","text":"TemporaryFile(/tmp/multipartBody4321769642153418610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240862998,"filename":"image_01012026_04_20_44_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4892b31febd2658ed212c7b1e1ae0b2.jpg","text":"TemporaryFile(/tmp/multipartBody885239730024486149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240862998,"filename":"image_01012026_04_20_25_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981355","file1":"1401981352","file0":"1401981351","file4":"1401981359","file5":"1401981361","file3":"1401981356"},"map_files_photo_id_array":[{"photo_id":"1401981361","filename":"file5"},{"photo_id":"1401981355","filename":"file2"},{"photo_id":"1401981359","filename":"file4"},{"photo_id":"1401981352","filename":"file1"},{"photo_id":"1401981351","filename":"file0"},{"photo_id":"1401981356","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981356":["hashtag1","hashtag2"]},{"1401981359":["hashtag1","hashtag2"]},{"1401981352":["hashtag1","hashtag2"]},{"1401981361":["hashtag1","hashtag2"]},{"1401981355":["hashtag1","hashtag2"]},{"1401981351":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981356, 1401981359, 1401981352, 1401981361, 1401981355, 1401981351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.921892166137695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:14:03.217150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_35_10748.jpg', '/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_45_9685.jpg', '/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_54_9763.jpg', '/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_05_10243.jpg', '/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_14_9671.jpg', '/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_25_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_35_10748.jpg
/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_45_9685.jpg
/home/pi/Desktop/images/01012026/04/21/image_01012026_04_21_54_9763.jpg
/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_05_10243.jpg
/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_14_9671.jpg
/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_25_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":["1401981371","1401981365","1401981368","1401981362","1401981364","1401981366"],"photo_ids_order":["1401981362","1401981364","1401981365","1401981366","1401981368","1401981371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5734861b982ed65a874d894d9c7b17b6.jpg","text":"TemporaryFile(/tmp/multipartBody1354786266489640152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240903858,"filename":"image_01012026_04_22_25_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6ed060de3d60fbcf6158c407f1f9baa.jpg","text":"TemporaryFile(/tmp/multipartBody6247248149873675937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240903858,"filename":"image_01012026_04_21_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09d47223d13aa0196611223637c74bea.jpg","text":"TemporaryFile(/tmp/multipartBody7485499404071701065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240903858,"filename":"image_01012026_04_22_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41a807c83b5d20b8cdccc2f71ff4a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody3868449816650940017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240903858,"filename":"image_01012026_04_21_35_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b646aac21ae21739af9daafc777a104.jpg","text":"TemporaryFile(/tmp/multipartBody8136452885107058070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240903858,"filename":"image_01012026_04_21_45_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a43ca41daa34b95c80a6374b3dd656f1.jpg","text":"TemporaryFile(/tmp/multipartBody5244736383553784910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240903858,"filename":"image_01012026_04_22_05_10243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981365","file1":"1401981364","file0":"1401981362","file4":"1401981368","file5":"1401981371","file3":"1401981366"},"map_files_photo_id_array":[{"photo_id":"1401981371","filename":"file5"},{"photo_id":"1401981365","filename":"file2"},{"photo_id":"1401981368","filename":"file4"},{"photo_id":"1401981364","filename":"file1"},{"photo_id":"1401981362","filename":"file0"},{"photo_id":"1401981366","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981371":["hashtag1","hashtag2"]},{"1401981365":["hashtag1","hashtag2"]},{"1401981368":["hashtag1","hashtag2"]},{"1401981362":["hashtag1","hashtag2"]},{"1401981364":["hashtag1","hashtag2"]},{"1401981366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981371, 1401981365, 1401981368, 1401981362, 1401981364, 1401981366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.491915702819824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:14:42.547368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_10_2503.jpg', '/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_16_2711.jpg', '/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_19_2718.jpg', '/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_28_3664.jpg', '/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_36_2787.jpg', '/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_42_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/22/59/image_03112025_22_59_10_2503.jpg
/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_16_2711.jpg
/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_19_2718.jpg
/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_28_3664.jpg
/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_36_2787.jpg
/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_42_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":["1401981383","1401981380","1401981377","1401981382","1401981379","1401981381"],"photo_ids_order":["1401981377","1401981379","1401981380","1401981381","1401981382","1401981383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/739291ff32d37d9711facb7d78e589dc.jpg","text":"TemporaryFile(/tmp/multipartBody7389173446924712718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240944565,"filename":"image_03112025_22_59_42_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24cab56e41e5ebd10d8923b1a156b451.jpg","text":"TemporaryFile(/tmp/multipartBody8303668806104846984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240944565,"filename":"image_03112025_22_59_19_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79b309de3e49a6ea632aca95823888d1.jpg","text":"TemporaryFile(/tmp/multipartBody8240060429459223745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240944565,"filename":"image_03112025_22_59_10_2503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4587dfa86d27c87da352fc55b9c4a789.jpg","text":"TemporaryFile(/tmp/multipartBody7873408508183328807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240944565,"filename":"image_03112025_22_59_36_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/061576e8b579b5db9392ed17ea2f22c9.jpg","text":"TemporaryFile(/tmp/multipartBody2171175591268495093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240944565,"filename":"image_03112025_22_59_16_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72693a2cd12a767bc82878e90395e008.jpg","text":"TemporaryFile(/tmp/multipartBody920020011782296693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240944565,"filename":"image_03112025_22_59_28_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981380","file1":"1401981379","file0":"1401981377","file4":"1401981382","file5":"1401981383","file3":"1401981381"},"map_files_photo_id_array":[{"photo_id":"1401981383","filename":"file5"},{"photo_id":"1401981380","filename":"file2"},{"photo_id":"1401981382","filename":"file4"},{"photo_id":"1401981379","filename":"file1"},{"photo_id":"1401981377","filename":"file0"},{"photo_id":"1401981381","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981383":["hashtag1","hashtag2"]},{"1401981380":["hashtag1","hashtag2"]},{"1401981377":["hashtag1","hashtag2"]},{"1401981382":["hashtag1","hashtag2"]},{"1401981379":["hashtag1","hashtag2"]},{"1401981381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981383, 1401981380, 1401981377, 1401981382, 1401981379, 1401981381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6208701133728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:15:22.723331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_35_9677.jpg', '/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_45_10311.jpg', '/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_54_9225.jpg', '/home/pi/Desktop/images/01012026/04/22/image_01012026_04_23_05_10865.jpg', '/home/pi/Desktop/images/01012026/04/23/image_01012026_04_23_15_9893.jpg', '/home/pi/Desktop/images/01012026/04/23/image_01012026_04_23_35_10098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_35_9677.jpg
/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_45_10311.jpg
/home/pi/Desktop/images/01012026/04/22/image_01012026_04_22_54_9225.jpg
/home/pi/Desktop/images/01012026/04/22/image_01012026_04_23_05_10865.jpg
/home/pi/Desktop/images/01012026/04/23/image_01012026_04_23_15_9893.jpg
/home/pi/Desktop/images/01012026/04/23/image_01012026_04_23_35_10098.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981395","1401981391","1401981385","1401981388","1401981393","1401981387"],"photo_ids_order":["1401981385","1401981387","1401981388","1401981391","1401981393","1401981395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ee113e03ed0ee8310a93ae27143bb64.jpg","text":"TemporaryFile(/tmp/multipartBody5873890730773283590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240983313,"filename":"image_01012026_04_23_35_10098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ce181f6069d22f55baeeec37bca0624.jpg","text":"TemporaryFile(/tmp/multipartBody4797270284177552349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240983313,"filename":"image_01012026_04_23_05_10865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ec43a9617db9fd19d4dcc7e8cc444e1.jpg","text":"TemporaryFile(/tmp/multipartBody4740211878238751542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240983313,"filename":"image_01012026_04_22_35_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/648f99ae9f1be914c0ade854218940b0.jpg","text":"TemporaryFile(/tmp/multipartBody3453389186267221151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240983313,"filename":"image_01012026_04_22_54_9225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06bd0d436cd1f661d1c96d2b4108eedb.jpg","text":"TemporaryFile(/tmp/multipartBody2358502902157859333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240983313,"filename":"image_01012026_04_23_15_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5d1a1bd903a1dc054a3dd18bc2fbd86.jpg","text":"TemporaryFile(/tmp/multipartBody6730168372920234704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767240983313,"filename":"image_01012026_04_22_45_10311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981388","file1":"1401981387","file0":"1401981385","file4":"1401981393","file5":"1401981395","file3":"1401981391"},"map_files_photo_id_array":[{"photo_id":"1401981395","filename":"file5"},{"photo_id":"1401981388","filename":"file2"},{"photo_id":"1401981393","filename":"file4"},{"photo_id":"1401981387","filename":"file1"},{"photo_id":"1401981385","filename":"file0"},{"photo_id":"1401981391","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981395":["hashtag1","hashtag2"]},{"1401981391":["hashtag1","hashtag2"]},{"1401981385":["hashtag1","hashtag2"]},{"1401981388":["hashtag1","hashtag2"]},{"1401981393":["hashtag1","hashtag2"]},{"1401981387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981395, 1401981391, 1401981385, 1401981388, 1401981393, 1401981387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2927987575531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:16:02.408927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/23/image_01012026_04_23_44_9798.jpg', '/home/pi/Desktop/images/01012026/04/23/image_01012026_04_23_54_9640.jpg', '/home/pi/Desktop/images/01012026/04/23/image_01012026_04_24_05_10651.jpg', '/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_14_9535.jpg', '/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_25_10562.jpg', '/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_35_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/23/image_01012026_04_23_44_9798.jpg
/home/pi/Desktop/images/01012026/04/23/image_01012026_04_23_54_9640.jpg
/home/pi/Desktop/images/01012026/04/23/image_01012026_04_24_05_10651.jpg
/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_14_9535.jpg
/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_25_10562.jpg
/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_35_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":["1401981398","1401981402","1401981397","1401981400","1401981399","1401981396"],"photo_ids_order":["1401981396","1401981397","1401981398","1401981399","1401981400","1401981402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20f21ae94e4b6ff5988bfdb19408d7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2972240878618239761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241023039,"filename":"image_01012026_04_24_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3502d04427febc9cd914401825134be.jpg","text":"TemporaryFile(/tmp/multipartBody965490864364422051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241023039,"filename":"image_01012026_04_24_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/828d3702d9febabbcc641389e755687a.jpg","text":"TemporaryFile(/tmp/multipartBody4836706077849964885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241023039,"filename":"image_01012026_04_23_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd7f38c9a4a7ad4f0a4e5dfaec7ca5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6879038636875755557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241023039,"filename":"image_01012026_04_24_25_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b25bc3171a2d27a7ea45c516a6f98ad3.jpg","text":"TemporaryFile(/tmp/multipartBody6416379442539287816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241023039,"filename":"image_01012026_04_24_14_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e9e7381ff24dcbcf70731762e2b4ee9.jpg","text":"TemporaryFile(/tmp/multipartBody2229812986986452482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241023039,"filename":"image_01012026_04_23_44_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981398","file1":"1401981397","file0":"1401981396","file4":"1401981400","file5":"1401981402","file3":"1401981399"},"map_files_photo_id_array":[{"photo_id":"1401981402","filename":"file5"},{"photo_id":"1401981398","filename":"file2"},{"photo_id":"1401981400","filename":"file4"},{"photo_id":"1401981397","filename":"file1"},{"photo_id":"1401981396","filename":"file0"},{"photo_id":"1401981399","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981398":["hashtag1","hashtag2"]},{"1401981402":["hashtag1","hashtag2"]},{"1401981397":["hashtag1","hashtag2"]},{"1401981400":["hashtag1","hashtag2"]},{"1401981399":["hashtag1","hashtag2"]},{"1401981396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981398, 1401981402, 1401981397, 1401981400, 1401981399, 1401981396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59635853767395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:16:42.047996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/22/59/image_03112025_22_59_55_1670.jpg', '/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_19_1578.jpg', '/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_20_1628.jpg', '/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_22_1601.jpg', '/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_27_1564.jpg', '/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_29_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/22/59/image_03112025_22_59_55_1670.jpg
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_19_1578.jpg
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_20_1628.jpg
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_22_1601.jpg
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_27_1564.jpg
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_29_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":["1401981414","1401981408","1401981410","1401981407","1401981412","1401981411"],"photo_ids_order":["1401981407","1401981408","1401981410","1401981411","1401981412","1401981414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/975351678125127fb4fe45a894e8c22f.jpg","text":"TemporaryFile(/tmp/multipartBody3394434369151714191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241063807,"filename":"image_03112025_23_00_29_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16bc4f18f7c3bdf3d744117239a64591.jpg","text":"TemporaryFile(/tmp/multipartBody982108154423542354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241063807,"filename":"image_03112025_23_00_19_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75fe07ce2305cbd295158f6c67d80aed.jpg","text":"TemporaryFile(/tmp/multipartBody5326458642635080174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241063807,"filename":"image_03112025_23_00_20_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/300e7fad2d5e8f8f86dffdee5c3c5c58.jpg","text":"TemporaryFile(/tmp/multipartBody6399093228833051160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241063807,"filename":"image_03112025_22_59_55_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b86b0a330c1cd3dc8cb64188d5db7def.jpg","text":"TemporaryFile(/tmp/multipartBody3587488316562423152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241063807,"filename":"image_03112025_23_00_27_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6bfa958f2982a5c1561947b9fab8f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6992809225716838991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241063807,"filename":"image_03112025_23_00_22_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981410","file1":"1401981408","file0":"1401981407","file4":"1401981412","file5":"1401981414","file3":"1401981411"},"map_files_photo_id_array":[{"photo_id":"1401981414","filename":"file5"},{"photo_id":"1401981410","filename":"file2"},{"photo_id":"1401981412","filename":"file4"},{"photo_id":"1401981408","filename":"file1"},{"photo_id":"1401981407","filename":"file0"},{"photo_id":"1401981411","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981414":["hashtag1","hashtag2"]},{"1401981408":["hashtag1","hashtag2"]},{"1401981410":["hashtag1","hashtag2"]},{"1401981407":["hashtag1","hashtag2"]},{"1401981412":["hashtag1","hashtag2"]},{"1401981411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981414, 1401981408, 1401981410, 1401981407, 1401981412, 1401981411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.675904512405396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:17:22.239592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_45_10548.jpg', '/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_55_9782.jpg', '/home/pi/Desktop/images/01012026/04/24/image_01012026_04_25_05_9733.jpg', '/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_14_9732.jpg', '/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_25_10739.jpg', '/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_35_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_45_10548.jpg
/home/pi/Desktop/images/01012026/04/24/image_01012026_04_24_55_9782.jpg
/home/pi/Desktop/images/01012026/04/24/image_01012026_04_25_05_9733.jpg
/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_14_9732.jpg
/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_25_10739.jpg
/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_35_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":["1401981420","1401981428","1401981422","1401981416","1401981424","1401981418"],"photo_ids_order":["1401981416","1401981418","1401981420","1401981422","1401981424","1401981428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66a53aff93b66a99e4566b09eb8bf0e9.jpg","text":"TemporaryFile(/tmp/multipartBody7975035009573577473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241102878,"filename":"image_01012026_04_25_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22d951766b331288b912e9188731d4a8.jpg","text":"TemporaryFile(/tmp/multipartBody7405533395746190640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241102878,"filename":"image_01012026_04_25_35_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e957e622c2ee65ca4ec44b691edd5720.jpg","text":"TemporaryFile(/tmp/multipartBody8799528824892749130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241102878,"filename":"image_01012026_04_25_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/208d6a089876d0563c68d6bb0f39347f.jpg","text":"TemporaryFile(/tmp/multipartBody441651734945161249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241102878,"filename":"image_01012026_04_24_45_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94465d71e31cce37815dda1e3bc25b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2580115792160640088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241102878,"filename":"image_01012026_04_25_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/313f37cf3327728f3fdee3343cdd05d3.jpg","text":"TemporaryFile(/tmp/multipartBody3861422849106908656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241102878,"filename":"image_01012026_04_24_55_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981420","file1":"1401981418","file0":"1401981416","file4":"1401981424","file5":"1401981428","file3":"1401981422"},"map_files_photo_id_array":[{"photo_id":"1401981428","filename":"file5"},{"photo_id":"1401981420","filename":"file2"},{"photo_id":"1401981424","filename":"file4"},{"photo_id":"1401981418","filename":"file1"},{"photo_id":"1401981416","filename":"file0"},{"photo_id":"1401981422","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981420":["hashtag1","hashtag2"]},{"1401981428":["hashtag1","hashtag2"]},{"1401981422":["hashtag1","hashtag2"]},{"1401981416":["hashtag1","hashtag2"]},{"1401981424":["hashtag1","hashtag2"]},{"1401981418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981420, 1401981428, 1401981422, 1401981416, 1401981424, 1401981418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18825840950012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:18:02.863642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_45_9738.jpg', '/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_58_13204.jpg', '/home/pi/Desktop/images/01012026/04/25/image_01012026_04_26_05_6796.jpg', '/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_14_9675.jpg', '/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_25_10673.jpg', '/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_35_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_45_9738.jpg
/home/pi/Desktop/images/01012026/04/25/image_01012026_04_25_58_13204.jpg
/home/pi/Desktop/images/01012026/04/25/image_01012026_04_26_05_6796.jpg
/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_14_9675.jpg
/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_25_10673.jpg
/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_35_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":["1401981434","1401981431","1401981430","1401981433","1401981436","1401981432"],"photo_ids_order":["1401981430","1401981431","1401981432","1401981433","1401981434","1401981436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10570b9c8c8b5a5a305d61a9070df25f.jpg","text":"TemporaryFile(/tmp/multipartBody1166489360625995651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241143472,"filename":"image_01012026_04_26_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d48fa8c9562bf4c505b569636bf61123.jpg","text":"TemporaryFile(/tmp/multipartBody6780086736967239883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241143472,"filename":"image_01012026_04_25_58_13204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3aadc5563a1dafebca081622a7c8324.jpg","text":"TemporaryFile(/tmp/multipartBody6453040256672942167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241143472,"filename":"image_01012026_04_25_45_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32f2dbba698ba5c731a1cb8fc86351d9.jpg","text":"TemporaryFile(/tmp/multipartBody6574059253482062307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241143472,"filename":"image_01012026_04_26_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f25ac71154268d726fb2c4dbdaa9be8d.jpg","text":"TemporaryFile(/tmp/multipartBody6230141390706646322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241143472,"filename":"image_01012026_04_26_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2362f1188713f0b12aa413f1f334787.jpg","text":"TemporaryFile(/tmp/multipartBody6784425633442898815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241143472,"filename":"image_01012026_04_26_05_6796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981432","file1":"1401981431","file0":"1401981430","file4":"1401981434","file5":"1401981436","file3":"1401981433"},"map_files_photo_id_array":[{"photo_id":"1401981436","filename":"file5"},{"photo_id":"1401981432","filename":"file2"},{"photo_id":"1401981434","filename":"file4"},{"photo_id":"1401981431","filename":"file1"},{"photo_id":"1401981430","filename":"file0"},{"photo_id":"1401981433","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981434":["hashtag1","hashtag2"]},{"1401981431":["hashtag1","hashtag2"]},{"1401981430":["hashtag1","hashtag2"]},{"1401981433":["hashtag1","hashtag2"]},{"1401981436":["hashtag1","hashtag2"]},{"1401981432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981434, 1401981431, 1401981430, 1401981433, 1401981436, 1401981432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.771838903427124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:18:42.481070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_30_1534.jpg', '/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_35_1656.jpg', '/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_37_1586.jpg', '/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_55_3650.jpg', '/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_06_2873.jpg', '/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_10_3184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_30_1534.jpg
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_35_1656.jpg
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_37_1586.jpg
/home/pi/Desktop/images/03112025/23/00/image_03112025_23_00_55_3650.jpg
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_06_2873.jpg
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_10_3184.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981446","1401981445","1401981448","1401981442","1401981444","1401981447"],"photo_ids_order":["1401981442","1401981444","1401981445","1401981446","1401981447","1401981448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8773dca0b6ca58c9b98a30b888d384da.jpg","text":"TemporaryFile(/tmp/multipartBody3563000349284187855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241184248,"filename":"image_03112025_23_00_55_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ede54c10f4d5393541e0119b86944876.jpg","text":"TemporaryFile(/tmp/multipartBody6778059374508843601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241184248,"filename":"image_03112025_23_00_37_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2372b63dc44963fc9480472983f928e5.jpg","text":"TemporaryFile(/tmp/multipartBody7911830256002871365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241184248,"filename":"image_03112025_23_01_10_3184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11d27cf39ef68af7527a0d802793395f.jpg","text":"TemporaryFile(/tmp/multipartBody729686243458239666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241184248,"filename":"image_03112025_23_00_30_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40fc2c01d3369f96b9aeeaa8d32347db.jpg","text":"TemporaryFile(/tmp/multipartBody8940267931865375043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241184248,"filename":"image_03112025_23_00_35_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1145c06b38827c33d816b25989ab9c1.jpg","text":"TemporaryFile(/tmp/multipartBody342460518604521972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241184248,"filename":"image_03112025_23_01_06_2873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981445","file1":"1401981444","file0":"1401981442","file4":"1401981447","file5":"1401981448","file3":"1401981446"},"map_files_photo_id_array":[{"photo_id":"1401981448","filename":"file5"},{"photo_id":"1401981445","filename":"file2"},{"photo_id":"1401981447","filename":"file4"},{"photo_id":"1401981444","filename":"file1"},{"photo_id":"1401981442","filename":"file0"},{"photo_id":"1401981446","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981446":["hashtag1","hashtag2"]},{"1401981445":["hashtag1","hashtag2"]},{"1401981448":["hashtag1","hashtag2"]},{"1401981442":["hashtag1","hashtag2"]},{"1401981444":["hashtag1","hashtag2"]},{"1401981447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981446, 1401981445, 1401981448, 1401981442, 1401981444, 1401981447)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.511969804763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:19:32.786390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_13_3676.jpg', '/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_16_2698.jpg', '/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_25_2665.jpg', '/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_28_2756.jpg', '/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_31_3515.jpg', '/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_37_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_13_3676.jpg
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_16_2698.jpg
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_25_2665.jpg
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_28_2756.jpg
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_31_3515.jpg
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_37_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":["1401981452","1401981461","1401981457","1401981460","1401981454","1401981459"],"photo_ids_order":["1401981452","1401981454","1401981457","1401981459","1401981460","1401981461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63faa5df7ae0619ba6cbb15c5cf40ee9.jpg","text":"TemporaryFile(/tmp/multipartBody1194770392419369303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241234586,"filename":"image_03112025_23_01_13_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/596d9911e705ad96eb37a79a17de6046.jpg","text":"TemporaryFile(/tmp/multipartBody8917920217761232668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241234586,"filename":"image_03112025_23_01_37_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ce450ffab777c2301f8742b161d3df4.jpg","text":"TemporaryFile(/tmp/multipartBody747435875518923512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241234586,"filename":"image_03112025_23_01_25_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c2a6bb154cc7218e41a75df2cef0f68.jpg","text":"TemporaryFile(/tmp/multipartBody139561842943882533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241234586,"filename":"image_03112025_23_01_31_3515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/416af5a1d55c690d6a6f0f15090ae72a.jpg","text":"TemporaryFile(/tmp/multipartBody8889639404388084300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241234586,"filename":"image_03112025_23_01_16_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f3ea4143c6dbc4edda1611b3752ee15.jpg","text":"TemporaryFile(/tmp/multipartBody3286536388604255773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241234586,"filename":"image_03112025_23_01_28_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981457","file1":"1401981454","file0":"1401981452","file4":"1401981460","file5":"1401981461","file3":"1401981459"},"map_files_photo_id_array":[{"photo_id":"1401981461","filename":"file5"},{"photo_id":"1401981457","filename":"file2"},{"photo_id":"1401981460","filename":"file4"},{"photo_id":"1401981454","filename":"file1"},{"photo_id":"1401981452","filename":"file0"},{"photo_id":"1401981459","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981452":["hashtag1","hashtag2"]},{"1401981461":["hashtag1","hashtag2"]},{"1401981457":["hashtag1","hashtag2"]},{"1401981460":["hashtag1","hashtag2"]},{"1401981454":["hashtag1","hashtag2"]},{"1401981459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981452, 1401981461, 1401981457, 1401981460, 1401981454, 1401981459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08450150489807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:20:21.088998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_45_10522.jpg', '/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_55_9542.jpg', '/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_14_9864.jpg', '/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_24_9869.jpg', '/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_34_10335.jpg', '/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_44_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_45_10522.jpg
/home/pi/Desktop/images/01012026/04/26/image_01012026_04_26_55_9542.jpg
/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_14_9864.jpg
/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_24_9869.jpg
/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_34_10335.jpg
/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_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":["1401981470","1401981464","1401981473","1401981466","1401981468","1401981462"],"photo_ids_order":["1401981462","1401981464","1401981466","1401981468","1401981470","1401981473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/620d31e03f54c460c835d2137f23a32f.jpg","text":"TemporaryFile(/tmp/multipartBody3964571732735948967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241281649,"filename":"image_01012026_04_27_34_10335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf27065250e0a354538a0f53bf936131.jpg","text":"TemporaryFile(/tmp/multipartBody7660946019850346188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241281649,"filename":"image_01012026_04_26_55_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9ffe205f45d0a59b34b809ccac2ab52.jpg","text":"TemporaryFile(/tmp/multipartBody1653080990248127849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241281649,"filename":"image_01012026_04_27_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57f65702c93dd50ffd2ced847eb258c3.jpg","text":"TemporaryFile(/tmp/multipartBody2829821096620690285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241281649,"filename":"image_01012026_04_27_14_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa2d2e57e1366559b9762b1bf9836d22.jpg","text":"TemporaryFile(/tmp/multipartBody7129003455724386570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241281649,"filename":"image_01012026_04_27_24_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51a1c49e0f19e921f2ab5b6d3a48104d.jpg","text":"TemporaryFile(/tmp/multipartBody2062275453286867204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241281649,"filename":"image_01012026_04_26_45_10522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981466","file1":"1401981464","file0":"1401981462","file4":"1401981470","file5":"1401981473","file3":"1401981468"},"map_files_photo_id_array":[{"photo_id":"1401981473","filename":"file5"},{"photo_id":"1401981466","filename":"file2"},{"photo_id":"1401981470","filename":"file4"},{"photo_id":"1401981464","filename":"file1"},{"photo_id":"1401981462","filename":"file0"},{"photo_id":"1401981468","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981470":["hashtag1","hashtag2"]},{"1401981464":["hashtag1","hashtag2"]},{"1401981473":["hashtag1","hashtag2"]},{"1401981466":["hashtag1","hashtag2"]},{"1401981468":["hashtag1","hashtag2"]},{"1401981462":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981470, 1401981464, 1401981473, 1401981466, 1401981468, 1401981462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61608290672302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:21:02.979928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_55_10723.jpg', '/home/pi/Desktop/images/01012026/04/27/image_01012026_04_28_04_9361.jpg', '/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_15_10608.jpg', '/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_24_9303.jpg', '/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_34_10203.jpg', '/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_44_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/27/image_01012026_04_27_55_10723.jpg
/home/pi/Desktop/images/01012026/04/27/image_01012026_04_28_04_9361.jpg
/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_15_10608.jpg
/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_24_9303.jpg
/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_34_10203.jpg
/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_44_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":["1401981479","1401981481","1401981478","1401981480","1401981483","1401981477"],"photo_ids_order":["1401981477","1401981478","1401981479","1401981480","1401981481","1401981483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/681dc5d7fceb12c9bb83ff7cbb09e70c.jpg","text":"TemporaryFile(/tmp/multipartBody3833812573839125282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241323703,"filename":"image_01012026_04_28_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f45ec84a8f3856f50511ee27a0a55366.jpg","text":"TemporaryFile(/tmp/multipartBody634789201552762761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241323703,"filename":"image_01012026_04_28_34_10203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eac5fb6790e649e0ade15186ef17dd27.jpg","text":"TemporaryFile(/tmp/multipartBody8249576478369139712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241323703,"filename":"image_01012026_04_28_04_9361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36efdfa817260f8268ea81b1db1edc89.jpg","text":"TemporaryFile(/tmp/multipartBody8379768912639572937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241323703,"filename":"image_01012026_04_28_24_9303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46d8a574ac3694ac30299402c6dc86dc.jpg","text":"TemporaryFile(/tmp/multipartBody5068493119366122137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241323703,"filename":"image_01012026_04_28_44_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc4ff0d83eb18474a818bae772b0e06c.jpg","text":"TemporaryFile(/tmp/multipartBody2807589894351971082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241323703,"filename":"image_01012026_04_27_55_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981479","file1":"1401981478","file0":"1401981477","file4":"1401981481","file5":"1401981483","file3":"1401981480"},"map_files_photo_id_array":[{"photo_id":"1401981483","filename":"file5"},{"photo_id":"1401981479","filename":"file2"},{"photo_id":"1401981481","filename":"file4"},{"photo_id":"1401981478","filename":"file1"},{"photo_id":"1401981477","filename":"file0"},{"photo_id":"1401981480","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981479":["hashtag1","hashtag2"]},{"1401981481":["hashtag1","hashtag2"]},{"1401981478":["hashtag1","hashtag2"]},{"1401981480":["hashtag1","hashtag2"]},{"1401981483":["hashtag1","hashtag2"]},{"1401981477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981479, 1401981481, 1401981478, 1401981480, 1401981483, 1401981477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.399845361709595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:21:42.350250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_54_2612.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_01_2634.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_04_2903.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_06_2539.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_10_3560.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_12_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/01/image_03112025_23_01_54_2612.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_01_2634.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_04_2903.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_06_2539.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_10_3560.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_12_2664.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":["1401981497","1401981491","1401981493","1401981498","1401981492","1401981489"],"photo_ids_order":["1401981489","1401981491","1401981492","1401981493","1401981497","1401981498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ca7390f4ce47caf1265562803ac921e.jpg","text":"TemporaryFile(/tmp/multipartBody6141055142930518746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241364139,"filename":"image_03112025_23_02_10_3560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b49f35f07e057d2d670fdf19aa8fbf4a.jpg","text":"TemporaryFile(/tmp/multipartBody1583913814769215953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241364139,"filename":"image_03112025_23_02_01_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a38b50ffdea4b20289c91643e896032.jpg","text":"TemporaryFile(/tmp/multipartBody3969495028770894369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241364139,"filename":"image_03112025_23_02_06_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55ed6d8f00517ba6b942fa1a4feac6d2.jpg","text":"TemporaryFile(/tmp/multipartBody296583453143982682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241364139,"filename":"image_03112025_23_02_12_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ebf58700762785b0cdc2e88b7840148.jpg","text":"TemporaryFile(/tmp/multipartBody1974711083543118383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241364139,"filename":"image_03112025_23_02_04_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a5b70695f58b85508c92ca63794b44f.jpg","text":"TemporaryFile(/tmp/multipartBody5474132373407505323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241364139,"filename":"image_03112025_23_01_54_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981492","file1":"1401981491","file0":"1401981489","file4":"1401981497","file5":"1401981498","file3":"1401981493"},"map_files_photo_id_array":[{"photo_id":"1401981498","filename":"file5"},{"photo_id":"1401981492","filename":"file2"},{"photo_id":"1401981497","filename":"file4"},{"photo_id":"1401981491","filename":"file1"},{"photo_id":"1401981489","filename":"file0"},{"photo_id":"1401981493","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981497":["hashtag1","hashtag2"]},{"1401981491":["hashtag1","hashtag2"]},{"1401981493":["hashtag1","hashtag2"]},{"1401981498":["hashtag1","hashtag2"]},{"1401981492":["hashtag1","hashtag2"]},{"1401981489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981497, 1401981491, 1401981493, 1401981498, 1401981492, 1401981489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.2145779132843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:22:32.520688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_15_2768.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_19_3601.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_21_2581.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_43_3511.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_48_2679.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_52_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_15_2768.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_19_3601.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_21_2581.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_43_3511.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_48_2679.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_52_3603.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.702488660812378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:22:42.494264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_15_2768.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_19_3601.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_21_2581.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_43_3511.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_48_2679.jpg', '/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_52_3603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_15_2768.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_19_3601.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_21_2581.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_43_3511.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_48_2679.jpg
/home/pi/Desktop/images/03112025/23/02/image_03112025_23_02_52_3603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981527","1401981521","1401981530","1401981556","1401981553","1401981523"],"photo_ids_order":["1401981521","1401981523","1401981527","1401981530","1401981553","1401981556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0049b3b28bbf18053164fd34114ff94.jpg","text":"TemporaryFile(/tmp/multipartBody4917160626856289602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241424200,"filename":"image_03112025_23_02_21_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3f710d22024e598aaca8974f4b1f3bb.jpg","text":"TemporaryFile(/tmp/multipartBody3493926955963463415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241424200,"filename":"image_03112025_23_02_15_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22355bf951ea50e7cdb0a38baadbbc85.jpg","text":"TemporaryFile(/tmp/multipartBody2387366638564023674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241424200,"filename":"image_03112025_23_02_43_3511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d265592bce79e6b6590b4e2b2e1d7cf8.jpg","text":"TemporaryFile(/tmp/multipartBody804149478387222536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241424200,"filename":"image_03112025_23_02_52_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0af742ee919f986353c1a9403793f815.jpg","text":"TemporaryFile(/tmp/multipartBody4541863142268622354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241424200,"filename":"image_03112025_23_02_48_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e91d0baf4d4b54846cd791aa0f32a641.jpg","text":"TemporaryFile(/tmp/multipartBody1054629646365925923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241424200,"filename":"image_03112025_23_02_19_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981527","file1":"1401981523","file0":"1401981521","file4":"1401981553","file5":"1401981556","file3":"1401981530"},"map_files_photo_id_array":[{"photo_id":"1401981556","filename":"file5"},{"photo_id":"1401981527","filename":"file2"},{"photo_id":"1401981553","filename":"file4"},{"photo_id":"1401981523","filename":"file1"},{"photo_id":"1401981521","filename":"file0"},{"photo_id":"1401981530","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981527":["hashtag1","hashtag2"]},{"1401981521":["hashtag1","hashtag2"]},{"1401981530":["hashtag1","hashtag2"]},{"1401981556":["hashtag1","hashtag2"]},{"1401981553":["hashtag1","hashtag2"]},{"1401981523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981527, 1401981521, 1401981530, 1401981556, 1401981553, 1401981523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39094614982605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:23:22.633438
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_55_10826.jpg', '/home/pi/Desktop/images/01012026/04/28/image_01012026_04_29_05_9686.jpg', '/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_14_9654.jpg', '/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_24_9862.jpg', '/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_35_10728.jpg', '/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_45_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/28/image_01012026_04_28_55_10826.jpg
/home/pi/Desktop/images/01012026/04/28/image_01012026_04_29_05_9686.jpg
/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_14_9654.jpg
/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_24_9862.jpg
/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_35_10728.jpg
/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_45_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":["1401981578","1401981572","1401981574","1401981568","1401981570","1401981576"],"photo_ids_order":["1401981568","1401981570","1401981572","1401981574","1401981576","1401981578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80f3ace1c9a602b454b864e226d23e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3318940558938744090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241463190,"filename":"image_01012026_04_29_45_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8074884c64bdfa4274384bcf317de733.jpg","text":"TemporaryFile(/tmp/multipartBody3940779105396490911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241463190,"filename":"image_01012026_04_29_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/127f7795a4f7a49641f0dfdd9244599c.jpg","text":"TemporaryFile(/tmp/multipartBody1952869753352842678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241463190,"filename":"image_01012026_04_29_24_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26c9b780bc61d9f9fa9c3a79d7fd7f3d.jpg","text":"TemporaryFile(/tmp/multipartBody6221216624553761895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241463190,"filename":"image_01012026_04_28_55_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16adbc094988ececa56021cffe7de642.jpg","text":"TemporaryFile(/tmp/multipartBody2199458260040847623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241463190,"filename":"image_01012026_04_29_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9366e835e88d3cdc2376c7fa8b72751.jpg","text":"TemporaryFile(/tmp/multipartBody60145583800734126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241463190,"filename":"image_01012026_04_29_35_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981572","file1":"1401981570","file0":"1401981568","file4":"1401981576","file5":"1401981578","file3":"1401981574"},"map_files_photo_id_array":[{"photo_id":"1401981578","filename":"file5"},{"photo_id":"1401981572","filename":"file2"},{"photo_id":"1401981576","filename":"file4"},{"photo_id":"1401981570","filename":"file1"},{"photo_id":"1401981568","filename":"file0"},{"photo_id":"1401981574","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981578":["hashtag1","hashtag2"]},{"1401981572":["hashtag1","hashtag2"]},{"1401981574":["hashtag1","hashtag2"]},{"1401981568":["hashtag1","hashtag2"]},{"1401981570":["hashtag1","hashtag2"]},{"1401981576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981578, 1401981572, 1401981574, 1401981568, 1401981570, 1401981576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6757869720459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:24:02.667834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_54_9608.jpg', '/home/pi/Desktop/images/01012026/04/29/image_01012026_04_30_05_10621.jpg', '/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_14_9589.jpg', '/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_24_9750.jpg', '/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_35_10619.jpg', '/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/29/image_01012026_04_29_54_9608.jpg
/home/pi/Desktop/images/01012026/04/29/image_01012026_04_30_05_10621.jpg
/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_14_9589.jpg
/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_24_9750.jpg
/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_35_10619.jpg
/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_44_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":["1401981581","1401981580","1401981583","1401981585","1401981579","1401981582"],"photo_ids_order":["1401981579","1401981580","1401981581","1401981582","1401981583","1401981585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ddc8c8a21f39453e5ab9f2f79fdff12.jpg","text":"TemporaryFile(/tmp/multipartBody1512626972161708694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241503328,"filename":"image_01012026_04_30_14_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce790ac83f76dfa6d559da77d149bbda.jpg","text":"TemporaryFile(/tmp/multipartBody2959611717685088426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241503328,"filename":"image_01012026_04_30_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff3feb86eb350b6ff677d2f17fbc5b12.jpg","text":"TemporaryFile(/tmp/multipartBody668995355893347833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241503328,"filename":"image_01012026_04_30_35_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/066f842e28bf14535a57af11b1d8294d.jpg","text":"TemporaryFile(/tmp/multipartBody6918554379946057786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241503328,"filename":"image_01012026_04_30_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6af4aa80a3e52fb451844e45e9d2ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5845697930158742751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241503328,"filename":"image_01012026_04_29_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/280c8a0a4f182d34296da38342adf201.jpg","text":"TemporaryFile(/tmp/multipartBody6117980112599960187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241503328,"filename":"image_01012026_04_30_24_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981581","file1":"1401981580","file0":"1401981579","file4":"1401981583","file5":"1401981585","file3":"1401981582"},"map_files_photo_id_array":[{"photo_id":"1401981585","filename":"file5"},{"photo_id":"1401981581","filename":"file2"},{"photo_id":"1401981583","filename":"file4"},{"photo_id":"1401981580","filename":"file1"},{"photo_id":"1401981579","filename":"file0"},{"photo_id":"1401981582","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981581":["hashtag1","hashtag2"]},{"1401981580":["hashtag1","hashtag2"]},{"1401981583":["hashtag1","hashtag2"]},{"1401981585":["hashtag1","hashtag2"]},{"1401981579":["hashtag1","hashtag2"]},{"1401981582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981581, 1401981580, 1401981583, 1401981585, 1401981579, 1401981582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.360222816467285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:24:41.921675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_04_2669.jpg', '/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_07_2574.jpg', '/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_09_2621.jpg', '/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_18_2646.jpg', '/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_22_3780.jpg', '/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_25_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/23/03/image_03112025_23_03_04_2669.jpg
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_07_2574.jpg
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_09_2621.jpg
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_18_2646.jpg
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_22_3780.jpg
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_25_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":["1401981596","1401981599","1401981595","1401981597","1401981591","1401981594"],"photo_ids_order":["1401981591","1401981594","1401981595","1401981596","1401981597","1401981599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10b07bcb6fba0ab371ee3b5356dd6f34.jpg","text":"TemporaryFile(/tmp/multipartBody8602253679562257879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241543696,"filename":"image_03112025_23_03_18_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80b69936f45c6967fb10f63da65b2ef6.jpg","text":"TemporaryFile(/tmp/multipartBody3603687696219445775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241543696,"filename":"image_03112025_23_03_25_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce450951ea19316422512c7906c942eb.jpg","text":"TemporaryFile(/tmp/multipartBody7482622447940415648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241543696,"filename":"image_03112025_23_03_09_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/072809b7dfb2c50011f7b4c4a7e997c0.jpg","text":"TemporaryFile(/tmp/multipartBody871415621096282281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241543696,"filename":"image_03112025_23_03_22_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97ce02df3da81bed521e28af36f63c12.jpg","text":"TemporaryFile(/tmp/multipartBody6097218463391829857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241543696,"filename":"image_03112025_23_03_04_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75dcb6c1649f56214d231142e8f8de7d.jpg","text":"TemporaryFile(/tmp/multipartBody8097547720565239215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241543696,"filename":"image_03112025_23_03_07_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981595","file1":"1401981594","file0":"1401981591","file4":"1401981597","file5":"1401981599","file3":"1401981596"},"map_files_photo_id_array":[{"photo_id":"1401981599","filename":"file5"},{"photo_id":"1401981595","filename":"file2"},{"photo_id":"1401981597","filename":"file4"},{"photo_id":"1401981594","filename":"file1"},{"photo_id":"1401981591","filename":"file0"},{"photo_id":"1401981596","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981596":["hashtag1","hashtag2"]},{"1401981599":["hashtag1","hashtag2"]},{"1401981595":["hashtag1","hashtag2"]},{"1401981597":["hashtag1","hashtag2"]},{"1401981591":["hashtag1","hashtag2"]},{"1401981594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981596, 1401981599, 1401981595, 1401981597, 1401981591, 1401981594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.795599699020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:25:22.094128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_54_9748.jpg', '/home/pi/Desktop/images/01012026/04/30/image_01012026_04_31_05_10829.jpg', '/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_15_9874.jpg', '/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_25_9751.jpg', '/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_34_9569.jpg', '/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_45_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/30/image_01012026_04_30_54_9748.jpg
/home/pi/Desktop/images/01012026/04/30/image_01012026_04_31_05_10829.jpg
/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_15_9874.jpg
/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_25_9751.jpg
/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_34_9569.jpg
/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_45_10729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981609","1401981600","1401981602","1401981605","1401981610","1401981607"],"photo_ids_order":["1401981600","1401981602","1401981605","1401981607","1401981609","1401981610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b7a2e2470591aa640868a755c1656ca.jpg","text":"TemporaryFile(/tmp/multipartBody9178151462353561409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241582689,"filename":"image_01012026_04_31_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25a63b4215eccea32f4523175f6014b8.jpg","text":"TemporaryFile(/tmp/multipartBody5339558904054099600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241582689,"filename":"image_01012026_04_30_54_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ecb459c22a437c42e3ca2f4fc76bb92.jpg","text":"TemporaryFile(/tmp/multipartBody1688734255049135866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241582689,"filename":"image_01012026_04_31_05_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7f38360e8a28b4519f7cee69d58efcf.jpg","text":"TemporaryFile(/tmp/multipartBody4430575927549706406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241582689,"filename":"image_01012026_04_31_15_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e44ee474d90bbc2d110ac331271cb50.jpg","text":"TemporaryFile(/tmp/multipartBody6953347369701522812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241582689,"filename":"image_01012026_04_31_45_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a42abbd31d69f958d892dec77fb7c095.jpg","text":"TemporaryFile(/tmp/multipartBody5362556543688120869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241582689,"filename":"image_01012026_04_31_25_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981605","file1":"1401981602","file0":"1401981600","file4":"1401981609","file5":"1401981610","file3":"1401981607"},"map_files_photo_id_array":[{"photo_id":"1401981610","filename":"file5"},{"photo_id":"1401981605","filename":"file2"},{"photo_id":"1401981609","filename":"file4"},{"photo_id":"1401981602","filename":"file1"},{"photo_id":"1401981600","filename":"file0"},{"photo_id":"1401981607","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981609":["hashtag1","hashtag2"]},{"1401981600":["hashtag1","hashtag2"]},{"1401981602":["hashtag1","hashtag2"]},{"1401981605":["hashtag1","hashtag2"]},{"1401981610":["hashtag1","hashtag2"]},{"1401981607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981609, 1401981600, 1401981602, 1401981605, 1401981610, 1401981607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06379199028015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:26:02.722445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_55_9699.jpg', '/home/pi/Desktop/images/01012026/04/31/image_01012026_04_32_04_9591.jpg', '/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_15_10680.jpg', '/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_25_9586.jpg', '/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_34_9682.jpg', '/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_45_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/31/image_01012026_04_31_55_9699.jpg
/home/pi/Desktop/images/01012026/04/31/image_01012026_04_32_04_9591.jpg
/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_15_10680.jpg
/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_25_9586.jpg
/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_34_9682.jpg
/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_45_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":["1401981612","1401981614","1401981611","1401981613","1401981616","1401981618"],"photo_ids_order":["1401981611","1401981612","1401981613","1401981614","1401981616","1401981618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/246c52410e6708831351c7a1f81bd53a.jpg","text":"TemporaryFile(/tmp/multipartBody8724197264075155617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241623346,"filename":"image_01012026_04_32_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cda4f5894800f7ffb9896e405f9ac55.jpg","text":"TemporaryFile(/tmp/multipartBody3674952663752345071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241623346,"filename":"image_01012026_04_32_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adebb8057b5d4c9d7b2895b987bcb3e5.jpg","text":"TemporaryFile(/tmp/multipartBody2692828687557990959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241623346,"filename":"image_01012026_04_31_55_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf4e7a54e44bb962bb6b47643b3a49f8.jpg","text":"TemporaryFile(/tmp/multipartBody931226811753793532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241623346,"filename":"image_01012026_04_32_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d3f77958ec2e77c634d544270a1f86c.jpg","text":"TemporaryFile(/tmp/multipartBody4625345088101244916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241623346,"filename":"image_01012026_04_32_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e19f93e094bfee0d35ba3b10d65747dd.jpg","text":"TemporaryFile(/tmp/multipartBody5979002743940451362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241623346,"filename":"image_01012026_04_32_45_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981613","file1":"1401981612","file0":"1401981611","file4":"1401981616","file5":"1401981618","file3":"1401981614"},"map_files_photo_id_array":[{"photo_id":"1401981618","filename":"file5"},{"photo_id":"1401981613","filename":"file2"},{"photo_id":"1401981616","filename":"file4"},{"photo_id":"1401981612","filename":"file1"},{"photo_id":"1401981611","filename":"file0"},{"photo_id":"1401981614","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981612":["hashtag1","hashtag2"]},{"1401981614":["hashtag1","hashtag2"]},{"1401981611":["hashtag1","hashtag2"]},{"1401981613":["hashtag1","hashtag2"]},{"1401981616":["hashtag1","hashtag2"]},{"1401981618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981612, 1401981614, 1401981611, 1401981613, 1401981616, 1401981618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17172861099243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:26:42.267868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_27_2685.jpg', '/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_30_2774.jpg', '/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_34_3614.jpg', '/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_36_2658.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_03_1947.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_07_3797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_27_2685.jpg
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_30_2774.jpg
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_34_3614.jpg
/home/pi/Desktop/images/03112025/23/03/image_03112025_23_03_36_2658.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_03_1947.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_07_3797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981627","1401981632","1401981629","1401981633","1401981630","1401981624"],"photo_ids_order":["1401981624","1401981627","1401981629","1401981630","1401981632","1401981633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5addbb030eeadf24a3e2831342e5db4.jpg","text":"TemporaryFile(/tmp/multipartBody6530856097540245630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241664023,"filename":"image_03112025_23_03_30_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/087ed1e7ac9b8bc31a6c03ce6a6a40e7.jpg","text":"TemporaryFile(/tmp/multipartBody8577585915269619032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241664023,"filename":"image_03112025_23_04_03_1947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/523b8e36309901fd38c6bc8d2fd3921d.jpg","text":"TemporaryFile(/tmp/multipartBody1481421074022898010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241664023,"filename":"image_03112025_23_03_34_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a748382e28bef4945f5147f07b9cfad.jpg","text":"TemporaryFile(/tmp/multipartBody8448436854585239206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241664023,"filename":"image_03112025_23_04_07_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8848b06e9cad4d0b10993fd2e110a402.jpg","text":"TemporaryFile(/tmp/multipartBody1023987232147296008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241664023,"filename":"image_03112025_23_03_36_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ac903918a0087112bb8147244d81d74.jpg","text":"TemporaryFile(/tmp/multipartBody4951659089186876832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241664023,"filename":"image_03112025_23_03_27_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981629","file1":"1401981627","file0":"1401981624","file4":"1401981632","file5":"1401981633","file3":"1401981630"},"map_files_photo_id_array":[{"photo_id":"1401981633","filename":"file5"},{"photo_id":"1401981629","filename":"file2"},{"photo_id":"1401981632","filename":"file4"},{"photo_id":"1401981627","filename":"file1"},{"photo_id":"1401981624","filename":"file0"},{"photo_id":"1401981630","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981627":["hashtag1","hashtag2"]},{"1401981632":["hashtag1","hashtag2"]},{"1401981629":["hashtag1","hashtag2"]},{"1401981633":["hashtag1","hashtag2"]},{"1401981630":["hashtag1","hashtag2"]},{"1401981624":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981627, 1401981632, 1401981629, 1401981633, 1401981630, 1401981624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.223268032073975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:27:22.552295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_54_9582.jpg', '/home/pi/Desktop/images/01012026/04/32/image_01012026_04_33_04_9634.jpg', '/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_15_10609.jpg', '/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_25_10013.jpg', '/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_35_9854.jpg', '/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/32/image_01012026_04_32_54_9582.jpg
/home/pi/Desktop/images/01012026/04/32/image_01012026_04_33_04_9634.jpg
/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_15_10609.jpg
/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_25_10013.jpg
/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_35_9854.jpg
/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_44_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":["1401981644","1401981640","1401981648","1401981642","1401981636","1401981639"],"photo_ids_order":["1401981636","1401981639","1401981640","1401981642","1401981644","1401981648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b36a727bdab8557062dee416d29cac4a.jpg","text":"TemporaryFile(/tmp/multipartBody1669661650756336980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241703149,"filename":"image_01012026_04_33_35_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d3b3ab8339de90f0dd82faa1d4432f1.jpg","text":"TemporaryFile(/tmp/multipartBody6841032445102795078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241703149,"filename":"image_01012026_04_33_15_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8259e276c388c59500a37b9b75b42fd.jpg","text":"TemporaryFile(/tmp/multipartBody7437457356925015888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241703149,"filename":"image_01012026_04_33_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6ec442df8556318046e0b53913b5538.jpg","text":"TemporaryFile(/tmp/multipartBody5421310459252293494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241703149,"filename":"image_01012026_04_33_25_10013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a61695b0fbd1476c5f679d1a6a4539f3.jpg","text":"TemporaryFile(/tmp/multipartBody2214416674132270904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241703149,"filename":"image_01012026_04_32_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c5b46001a7404df85644cb58f32a5f9.jpg","text":"TemporaryFile(/tmp/multipartBody519574787391734357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241703149,"filename":"image_01012026_04_33_04_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981640","file1":"1401981639","file0":"1401981636","file4":"1401981644","file5":"1401981648","file3":"1401981642"},"map_files_photo_id_array":[{"photo_id":"1401981648","filename":"file5"},{"photo_id":"1401981640","filename":"file2"},{"photo_id":"1401981644","filename":"file4"},{"photo_id":"1401981639","filename":"file1"},{"photo_id":"1401981636","filename":"file0"},{"photo_id":"1401981642","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981644":["hashtag1","hashtag2"]},{"1401981640":["hashtag1","hashtag2"]},{"1401981648":["hashtag1","hashtag2"]},{"1401981642":["hashtag1","hashtag2"]},{"1401981636":["hashtag1","hashtag2"]},{"1401981639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981644, 1401981640, 1401981648, 1401981642, 1401981636, 1401981639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21400451660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:28:02.995012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_54_9847.jpg', '/home/pi/Desktop/images/01012026/04/33/image_01012026_04_34_05_10825.jpg', '/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_15_9628.jpg', '/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_24_9630.jpg', '/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_35_10695.jpg', '/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_45_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/33/image_01012026_04_33_54_9847.jpg
/home/pi/Desktop/images/01012026/04/33/image_01012026_04_34_05_10825.jpg
/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_15_9628.jpg
/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_24_9630.jpg
/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_35_10695.jpg
/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_45_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":["1401981650","1401981653","1401981649","1401981652","1401981651","1401981654"],"photo_ids_order":["1401981649","1401981650","1401981651","1401981652","1401981653","1401981654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c996e4cb924871c50cf02ca24080e38c.jpg","text":"TemporaryFile(/tmp/multipartBody3343304068196671821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241743630,"filename":"image_01012026_04_34_05_10825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/210d03a8bf98c44410844ec62b00597f.jpg","text":"TemporaryFile(/tmp/multipartBody2669350622833013451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241743630,"filename":"image_01012026_04_34_35_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e5857054f75819da64341e5638a5b06.jpg","text":"TemporaryFile(/tmp/multipartBody364214571450750919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241743630,"filename":"image_01012026_04_33_54_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7930e01e20e2614415002894b678b6f.jpg","text":"TemporaryFile(/tmp/multipartBody1811208484957884551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241743630,"filename":"image_01012026_04_34_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6bda20e526bc79e1be881b894f257126.jpg","text":"TemporaryFile(/tmp/multipartBody3716071137824186655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241743630,"filename":"image_01012026_04_34_15_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7ce0d9e702dc586b8d87e457c7d6761.jpg","text":"TemporaryFile(/tmp/multipartBody194461658933638902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241743630,"filename":"image_01012026_04_34_45_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981651","file1":"1401981650","file0":"1401981649","file4":"1401981653","file5":"1401981654","file3":"1401981652"},"map_files_photo_id_array":[{"photo_id":"1401981654","filename":"file5"},{"photo_id":"1401981651","filename":"file2"},{"photo_id":"1401981653","filename":"file4"},{"photo_id":"1401981650","filename":"file1"},{"photo_id":"1401981649","filename":"file0"},{"photo_id":"1401981652","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981650":["hashtag1","hashtag2"]},{"1401981653":["hashtag1","hashtag2"]},{"1401981649":["hashtag1","hashtag2"]},{"1401981652":["hashtag1","hashtag2"]},{"1401981651":["hashtag1","hashtag2"]},{"1401981654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981650, 1401981653, 1401981649, 1401981652, 1401981651, 1401981654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06210231781006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:28:42.688479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_09_2676.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_21_2545.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_27_2609.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_30_2657.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_37_3675.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_40_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_09_2676.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_21_2545.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_27_2609.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_30_2657.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_37_3675.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_40_2846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981671","1401981665","1401981674","1401981667","1401981661","1401981669"],"photo_ids_order":["1401981661","1401981665","1401981667","1401981669","1401981671","1401981674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db8deacddb30e2ea71fe3d50bc7ec16f.jpg","text":"TemporaryFile(/tmp/multipartBody5138596181214086086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241784503,"filename":"image_03112025_23_04_37_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b38db73f969a760c8b0759e64b803b5d.jpg","text":"TemporaryFile(/tmp/multipartBody1516535764751017978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241784503,"filename":"image_03112025_23_04_21_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34982d2a53472a6f3adbd7d5056682e9.jpg","text":"TemporaryFile(/tmp/multipartBody3295169490922510522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241784503,"filename":"image_03112025_23_04_40_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8eaac01bb65a4238223ee989bdfa126.jpg","text":"TemporaryFile(/tmp/multipartBody803977985026927181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241784503,"filename":"image_03112025_23_04_27_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62bdbdac121f73f18f4cf45f106ff646.jpg","text":"TemporaryFile(/tmp/multipartBody263955669546292386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241784503,"filename":"image_03112025_23_04_09_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f9dcf7fe4674e47cd72f2bfad51d92d.jpg","text":"TemporaryFile(/tmp/multipartBody9121712861733412718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241784503,"filename":"image_03112025_23_04_30_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981667","file1":"1401981665","file0":"1401981661","file4":"1401981671","file5":"1401981674","file3":"1401981669"},"map_files_photo_id_array":[{"photo_id":"1401981674","filename":"file5"},{"photo_id":"1401981667","filename":"file2"},{"photo_id":"1401981671","filename":"file4"},{"photo_id":"1401981665","filename":"file1"},{"photo_id":"1401981661","filename":"file0"},{"photo_id":"1401981669","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981671":["hashtag1","hashtag2"]},{"1401981665":["hashtag1","hashtag2"]},{"1401981674":["hashtag1","hashtag2"]},{"1401981667":["hashtag1","hashtag2"]},{"1401981661":["hashtag1","hashtag2"]},{"1401981669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981671, 1401981665, 1401981674, 1401981667, 1401981661, 1401981669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.951576709747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:29:21.911795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_55_9845.jpg', '/home/pi/Desktop/images/01012026/04/34/image_01012026_04_35_04_9580.jpg', '/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_15_10573.jpg', '/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_24_9580.jpg', '/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_35_10581.jpg', '/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_45_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/34/image_01012026_04_34_55_9845.jpg
/home/pi/Desktop/images/01012026/04/34/image_01012026_04_35_04_9580.jpg
/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_15_10573.jpg
/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_24_9580.jpg
/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_35_10581.jpg
/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_45_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981680","1401981692","1401981685","1401981682","1401981678","1401981675"],"photo_ids_order":["1401981675","1401981678","1401981680","1401981682","1401981685","1401981692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8a3c5579fc1852939ca63ce51013178.jpg","text":"TemporaryFile(/tmp/multipartBody839112315247869029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241822537,"filename":"image_01012026_04_35_15_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b189871d0073d6dfa8c8acee73936a39.jpg","text":"TemporaryFile(/tmp/multipartBody5750091390935401583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241822537,"filename":"image_01012026_04_35_45_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a279084d45285025699d4ebe92b7916.jpg","text":"TemporaryFile(/tmp/multipartBody1957483262603498980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241822537,"filename":"image_01012026_04_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/2026/1/1/6a37f4cf87c273260ce6c0eb6e25f778.jpg","text":"TemporaryFile(/tmp/multipartBody1960538113217581337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241822537,"filename":"image_01012026_04_35_24_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f3c1f9967b47a9286f609509a2ad70a.jpg","text":"TemporaryFile(/tmp/multipartBody6976624850548510567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241822537,"filename":"image_01012026_04_35_04_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/514b6f4c328d23a75ba4881c392f5fcf.jpg","text":"TemporaryFile(/tmp/multipartBody1515844590519369169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241822537,"filename":"image_01012026_04_34_55_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981680","file1":"1401981678","file0":"1401981675","file4":"1401981685","file5":"1401981692","file3":"1401981682"},"map_files_photo_id_array":[{"photo_id":"1401981692","filename":"file5"},{"photo_id":"1401981680","filename":"file2"},{"photo_id":"1401981685","filename":"file4"},{"photo_id":"1401981678","filename":"file1"},{"photo_id":"1401981675","filename":"file0"},{"photo_id":"1401981682","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981680":["hashtag1","hashtag2"]},{"1401981692":["hashtag1","hashtag2"]},{"1401981685":["hashtag1","hashtag2"]},{"1401981682":["hashtag1","hashtag2"]},{"1401981678":["hashtag1","hashtag2"]},{"1401981675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981680, 1401981692, 1401981685, 1401981682, 1401981678, 1401981675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24371814727783 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:30:02.558745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_55_10267.jpg', '/home/pi/Desktop/images/01012026/04/35/image_01012026_04_36_05_9676.jpg', '/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_14_9710.jpg', '/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_24_10098.jpg', '/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_34_9716.jpg', '/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_45_10826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/35/image_01012026_04_35_55_10267.jpg
/home/pi/Desktop/images/01012026/04/35/image_01012026_04_36_05_9676.jpg
/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_14_9710.jpg
/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_24_10098.jpg
/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_34_9716.jpg
/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_45_10826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981722","1401981719","1401981718","1401981727","1401981721","1401981729"],"photo_ids_order":["1401981718","1401981719","1401981721","1401981722","1401981727","1401981729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef8d2897db42cae2cad8d00aea245190.jpg","text":"TemporaryFile(/tmp/multipartBody8271048903588617687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241863179,"filename":"image_01012026_04_36_24_10098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bc14d6fb16f3492153cd784544a2e64.jpg","text":"TemporaryFile(/tmp/multipartBody1464048069230258553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241863179,"filename":"image_01012026_04_36_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77362117d1fc2a0d57bc77280c2121d8.jpg","text":"TemporaryFile(/tmp/multipartBody2994757398309766822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241863179,"filename":"image_01012026_04_35_55_10267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/774f36f8754a3532ef2e24cc2d282a5d.jpg","text":"TemporaryFile(/tmp/multipartBody3808563338228542272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241863179,"filename":"image_01012026_04_36_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d00a365fd0ee6c95d12f44588803f976.jpg","text":"TemporaryFile(/tmp/multipartBody3590040591082755002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241863179,"filename":"image_01012026_04_36_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7e2d1ae4f13188527288d7b10110bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1102973865550760216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241863179,"filename":"image_01012026_04_36_45_10826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981721","file1":"1401981719","file0":"1401981718","file4":"1401981727","file5":"1401981729","file3":"1401981722"},"map_files_photo_id_array":[{"photo_id":"1401981729","filename":"file5"},{"photo_id":"1401981721","filename":"file2"},{"photo_id":"1401981727","filename":"file4"},{"photo_id":"1401981719","filename":"file1"},{"photo_id":"1401981718","filename":"file0"},{"photo_id":"1401981722","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981722":["hashtag1","hashtag2"]},{"1401981719":["hashtag1","hashtag2"]},{"1401981718":["hashtag1","hashtag2"]},{"1401981727":["hashtag1","hashtag2"]},{"1401981721":["hashtag1","hashtag2"]},{"1401981729":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981722, 1401981719, 1401981718, 1401981727, 1401981721, 1401981729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.332526206970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:30:42.148578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_42_2656.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_45_2656.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_49_3880.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_54_2814.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_57_2656.jpg', '/home/pi/Desktop/images/03112025/23/04/image_03112025_23_05_01_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_42_2656.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_45_2656.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_49_3880.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_54_2814.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_04_57_2656.jpg
/home/pi/Desktop/images/03112025/23/04/image_03112025_23_05_01_3551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981740","1401981734","1401981737","1401981742","1401981739","1401981738"],"photo_ids_order":["1401981734","1401981737","1401981738","1401981739","1401981740","1401981742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85ef7b3384c6ceccc81725ffb5edb639.jpg","text":"TemporaryFile(/tmp/multipartBody4165568325648025967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241903911,"filename":"image_03112025_23_04_57_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/622e7c8e95628deabb5a4b902e5250a9.jpg","text":"TemporaryFile(/tmp/multipartBody1353146573519450424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241903911,"filename":"image_03112025_23_04_42_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4f87472300f5dc888b1efefd5a7b18c.jpg","text":"TemporaryFile(/tmp/multipartBody7256742391141002019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241903911,"filename":"image_03112025_23_04_45_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/717d8ebe76ea50f257df5786c8cd8579.jpg","text":"TemporaryFile(/tmp/multipartBody6155223474570405772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241903911,"filename":"image_03112025_23_05_01_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a02f9763c4e8200c2665ed75bdc0465b.jpg","text":"TemporaryFile(/tmp/multipartBody8656188203340985643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241903911,"filename":"image_03112025_23_04_54_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c95bbd2a6a081e640d7626bf1afc02a5.jpg","text":"TemporaryFile(/tmp/multipartBody6783932916922300130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241903911,"filename":"image_03112025_23_04_49_3880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981738","file1":"1401981737","file0":"1401981734","file4":"1401981740","file5":"1401981742","file3":"1401981739"},"map_files_photo_id_array":[{"photo_id":"1401981742","filename":"file5"},{"photo_id":"1401981738","filename":"file2"},{"photo_id":"1401981740","filename":"file4"},{"photo_id":"1401981737","filename":"file1"},{"photo_id":"1401981734","filename":"file0"},{"photo_id":"1401981739","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981740":["hashtag1","hashtag2"]},{"1401981734":["hashtag1","hashtag2"]},{"1401981737":["hashtag1","hashtag2"]},{"1401981742":["hashtag1","hashtag2"]},{"1401981739":["hashtag1","hashtag2"]},{"1401981738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981740, 1401981734, 1401981737, 1401981742, 1401981739, 1401981738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.239381551742554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:31:22.288655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_55_9617.jpg', '/home/pi/Desktop/images/01012026/04/36/image_01012026_04_37_05_9910.jpg', '/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_14_9552.jpg', '/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_25_10806.jpg', '/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_34_9564.jpg', '/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_44_9909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/36/image_01012026_04_36_55_9617.jpg
/home/pi/Desktop/images/01012026/04/36/image_01012026_04_37_05_9910.jpg
/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_14_9552.jpg
/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_25_10806.jpg
/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_34_9564.jpg
/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_44_9909.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981755","1401981749","1401981757","1401981751","1401981753","1401981747"],"photo_ids_order":["1401981747","1401981749","1401981751","1401981753","1401981755","1401981757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cca2e05c6692e271dcb0718108e50300.jpg","text":"TemporaryFile(/tmp/multipartBody3973352899745309529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241942879,"filename":"image_01012026_04_37_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e188d872b14ed8d529593a75c092e557.jpg","text":"TemporaryFile(/tmp/multipartBody6524981660008839168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241942879,"filename":"image_01012026_04_37_05_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a6a851497a88c11c3b7159365d8768c.jpg","text":"TemporaryFile(/tmp/multipartBody5420283315687836269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241942879,"filename":"image_01012026_04_37_44_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13bdf3b72b0c296a10683d3d7e78c212.jpg","text":"TemporaryFile(/tmp/multipartBody47565152087190637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241942879,"filename":"image_01012026_04_37_14_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f74a46f71590632031bf6244b5ef9b90.jpg","text":"TemporaryFile(/tmp/multipartBody4611205374101685401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241942879,"filename":"image_01012026_04_37_25_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57d32f10c9972aadbd4a6f68a73136bb.jpg","text":"TemporaryFile(/tmp/multipartBody6691470899001760329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241942879,"filename":"image_01012026_04_36_55_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981751","file1":"1401981749","file0":"1401981747","file4":"1401981755","file5":"1401981757","file3":"1401981753"},"map_files_photo_id_array":[{"photo_id":"1401981757","filename":"file5"},{"photo_id":"1401981751","filename":"file2"},{"photo_id":"1401981755","filename":"file4"},{"photo_id":"1401981749","filename":"file1"},{"photo_id":"1401981747","filename":"file0"},{"photo_id":"1401981753","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981755":["hashtag1","hashtag2"]},{"1401981749":["hashtag1","hashtag2"]},{"1401981757":["hashtag1","hashtag2"]},{"1401981751":["hashtag1","hashtag2"]},{"1401981753":["hashtag1","hashtag2"]},{"1401981747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981755, 1401981749, 1401981757, 1401981751, 1401981753, 1401981747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67005968093872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:32:02.939772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_55_10585.jpg', '/home/pi/Desktop/images/01012026/04/37/image_01012026_04_38_04_9410.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_15_10714.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_25_9759.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_35_9749.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_44_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_55_10585.jpg
/home/pi/Desktop/images/01012026/04/37/image_01012026_04_38_04_9410.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_15_10714.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_25_9759.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_35_9749.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_44_9722.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.5581624507904053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:32:12.434908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_03_2594.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_06_2874.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_10_3782.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_13_2746.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_15_2509.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_21_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/23/05/image_03112025_23_05_03_2594.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_06_2874.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_10_3782.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_13_2746.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_15_2509.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_21_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":["1401981764","1401981773","1401981767","1401981769","1401981771","1401981762"],"photo_ids_order":["1401981762","1401981764","1401981767","1401981769","1401981771","1401981773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/737251c805b7470fe3653919ae2a2732.jpg","text":"TemporaryFile(/tmp/multipartBody5022953879463605544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241994220,"filename":"image_03112025_23_05_06_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae704fc3a1a67aa94f1fa28dce28b71a.jpg","text":"TemporaryFile(/tmp/multipartBody340577737616772142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241994220,"filename":"image_03112025_23_05_21_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e152fcd03080f56fbc5c1bf0a64fc5b8.jpg","text":"TemporaryFile(/tmp/multipartBody6887668314418713683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241994220,"filename":"image_03112025_23_05_10_3782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3eed76a77ac5a54aad8805e4afff9f43.jpg","text":"TemporaryFile(/tmp/multipartBody116871953781384960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241994220,"filename":"image_03112025_23_05_13_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75b0136345b9ce08264ddee42aaede23.jpg","text":"TemporaryFile(/tmp/multipartBody8993162205706008068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241994220,"filename":"image_03112025_23_05_15_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33e7a8e3c54fd69d0a1dccf5f70e253c.jpg","text":"TemporaryFile(/tmp/multipartBody4314338777290172935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767241994220,"filename":"image_03112025_23_05_03_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981767","file1":"1401981764","file0":"1401981762","file4":"1401981771","file5":"1401981773","file3":"1401981769"},"map_files_photo_id_array":[{"photo_id":"1401981773","filename":"file5"},{"photo_id":"1401981767","filename":"file2"},{"photo_id":"1401981771","filename":"file4"},{"photo_id":"1401981764","filename":"file1"},{"photo_id":"1401981762","filename":"file0"},{"photo_id":"1401981769","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981764":["hashtag1","hashtag2"]},{"1401981773":["hashtag1","hashtag2"]},{"1401981767":["hashtag1","hashtag2"]},{"1401981769":["hashtag1","hashtag2"]},{"1401981771":["hashtag1","hashtag2"]},{"1401981762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981764, 1401981773, 1401981767, 1401981769, 1401981771, 1401981762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.96666145324707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:33:03.307957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_55_10585.jpg', '/home/pi/Desktop/images/01012026/04/37/image_01012026_04_38_04_9410.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_15_10714.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_25_9759.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_35_9749.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_44_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/37/image_01012026_04_37_55_10585.jpg
/home/pi/Desktop/images/01012026/04/37/image_01012026_04_38_04_9410.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_15_10714.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_25_9759.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_35_9749.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_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":["1401981782","1401981785","1401981784","1401981787","1401981781","1401981783"],"photo_ids_order":["1401981781","1401981782","1401981783","1401981784","1401981785","1401981787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/faa133131fb60b19df3bca0f3a711140.jpg","text":"TemporaryFile(/tmp/multipartBody2183887805712890820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242043946,"filename":"image_01012026_04_38_04_9410.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f431a9ca85133a9c9a1de64f7f3c21e0.jpg","text":"TemporaryFile(/tmp/multipartBody6817493103250404061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242043946,"filename":"image_01012026_04_38_35_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27b0a7016c816deadcfd02c34ef9380c.jpg","text":"TemporaryFile(/tmp/multipartBody1722318139337646391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242043946,"filename":"image_01012026_04_38_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5f07a7b8696ad3ba06f5b9a5257cee0.jpg","text":"TemporaryFile(/tmp/multipartBody8871044809432103615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242043946,"filename":"image_01012026_04_38_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0fe1fe1c09534cb9956a71ea65401c1.jpg","text":"TemporaryFile(/tmp/multipartBody4443581879467726101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242043946,"filename":"image_01012026_04_37_55_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/587932d3ef49032e4b87996b32b4c5a2.jpg","text":"TemporaryFile(/tmp/multipartBody6052841149103629540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242043946,"filename":"image_01012026_04_38_15_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981783","file1":"1401981782","file0":"1401981781","file4":"1401981785","file5":"1401981787","file3":"1401981784"},"map_files_photo_id_array":[{"photo_id":"1401981787","filename":"file5"},{"photo_id":"1401981783","filename":"file2"},{"photo_id":"1401981785","filename":"file4"},{"photo_id":"1401981782","filename":"file1"},{"photo_id":"1401981781","filename":"file0"},{"photo_id":"1401981784","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981782":["hashtag1","hashtag2"]},{"1401981785":["hashtag1","hashtag2"]},{"1401981784":["hashtag1","hashtag2"]},{"1401981787":["hashtag1","hashtag2"]},{"1401981781":["hashtag1","hashtag2"]},{"1401981783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981782, 1401981785, 1401981784, 1401981787, 1401981781, 1401981783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.952491998672485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:33:42.585424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_24_2771.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_28_3510.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_45_2605.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_51_2682.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_55_3558.jpg', '/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_57_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_24_2771.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_28_3510.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_45_2605.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_51_2682.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_55_3558.jpg
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_05_57_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981794","1401981797","1401981800","1401981799","1401981796","1401981798"],"photo_ids_order":["1401981794","1401981796","1401981797","1401981798","1401981799","1401981800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6f80f6a7aef9080deeb6999506f7bad.jpg","text":"TemporaryFile(/tmp/multipartBody7302731292312005080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242084341,"filename":"image_03112025_23_05_24_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de24dd102afce98b77c539cd867548b0.jpg","text":"TemporaryFile(/tmp/multipartBody1471370467644611770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242084341,"filename":"image_03112025_23_05_45_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc5a5da794ff990e0027dd3945a670f8.jpg","text":"TemporaryFile(/tmp/multipartBody7023960666327237792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242084341,"filename":"image_03112025_23_05_57_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7698f505a87e26c2a1314332131ff700.jpg","text":"TemporaryFile(/tmp/multipartBody4033572861960139356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242084341,"filename":"image_03112025_23_05_55_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5d3ad05fed78533295e3d9deb2ea2e4.jpg","text":"TemporaryFile(/tmp/multipartBody7035204174062524437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242084341,"filename":"image_03112025_23_05_28_3510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30bd239ddc3ec1a135b2c62cfe88c331.jpg","text":"TemporaryFile(/tmp/multipartBody6763476447431195552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242084341,"filename":"image_03112025_23_05_51_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981797","file1":"1401981796","file0":"1401981794","file4":"1401981799","file5":"1401981800","file3":"1401981798"},"map_files_photo_id_array":[{"photo_id":"1401981800","filename":"file5"},{"photo_id":"1401981797","filename":"file2"},{"photo_id":"1401981799","filename":"file4"},{"photo_id":"1401981796","filename":"file1"},{"photo_id":"1401981794","filename":"file0"},{"photo_id":"1401981798","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981794":["hashtag1","hashtag2"]},{"1401981797":["hashtag1","hashtag2"]},{"1401981800":["hashtag1","hashtag2"]},{"1401981799":["hashtag1","hashtag2"]},{"1401981796":["hashtag1","hashtag2"]},{"1401981798":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981794, 1401981797, 1401981800, 1401981799, 1401981796, 1401981798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81537079811096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:34:22.752242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_54_9793.jpg', '/home/pi/Desktop/images/01012026/04/38/image_01012026_04_39_05_10655.jpg', '/home/pi/Desktop/images/01012026/04/39/image_01012026_04_39_14_9605.jpg', '/home/pi/Desktop/images/01012026/04/39/image_01012026_04_39_24_9782.jpg', '/home/pi/Desktop/images/01012026/04/39/image_01012026_04_39_35_10737.jpg', '/home/pi/Desktop/images/01012026/04/39/image_01012026_04_39_44_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_38_54_9793.jpg
/home/pi/Desktop/images/01012026/04/38/image_01012026_04_39_05_10655.jpg
/home/pi/Desktop/images/01012026/04/39/image_01012026_04_39_14_9605.jpg
/home/pi/Desktop/images/01012026/04/39/image_01012026_04_39_24_9782.jpg
/home/pi/Desktop/images/01012026/04/39/image_01012026_04_39_35_10737.jpg
/home/pi/Desktop/images/01012026/04/39/image_01012026_04_39_44_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981810","1401981806","1401981803","1401981802","1401981814","1401981808"],"photo_ids_order":["1401981802","1401981803","1401981806","1401981808","1401981810","1401981814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1338cf31a91d6b104ce0d6360f549198.jpg","text":"TemporaryFile(/tmp/multipartBody4836822941565280811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242123378,"filename":"image_01012026_04_39_35_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e415a5c16536fb8cad51ad15afe95b0.jpg","text":"TemporaryFile(/tmp/multipartBody2777187885930530470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242123378,"filename":"image_01012026_04_39_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11d73155d681a379c92e25e2d9832235.jpg","text":"TemporaryFile(/tmp/multipartBody2716429004739475691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242123378,"filename":"image_01012026_04_39_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f43e633feec7af82c4e912623850f37.jpg","text":"TemporaryFile(/tmp/multipartBody6039281545418709949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242123378,"filename":"image_01012026_04_38_54_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a862210ecf014c8c0d8bd6c186d874ff.jpg","text":"TemporaryFile(/tmp/multipartBody6727040613144726291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242123378,"filename":"image_01012026_04_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/2026/1/1/b81c97f9f5a3eec04b7a2b857ad4fa99.jpg","text":"TemporaryFile(/tmp/multipartBody3831599163891860511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242123378,"filename":"image_01012026_04_39_24_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981806","file1":"1401981803","file0":"1401981802","file4":"1401981810","file5":"1401981814","file3":"1401981808"},"map_files_photo_id_array":[{"photo_id":"1401981814","filename":"file5"},{"photo_id":"1401981806","filename":"file2"},{"photo_id":"1401981810","filename":"file4"},{"photo_id":"1401981803","filename":"file1"},{"photo_id":"1401981802","filename":"file0"},{"photo_id":"1401981808","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981810":["hashtag1","hashtag2"]},{"1401981806":["hashtag1","hashtag2"]},{"1401981803":["hashtag1","hashtag2"]},{"1401981802":["hashtag1","hashtag2"]},{"1401981814":["hashtag1","hashtag2"]},{"1401981808":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981810, 1401981806, 1401981803, 1401981802, 1401981814, 1401981808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55325412750244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:35:02.768058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_14_9710.jpg', '/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_25_10091.jpg', '/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_34_9567.jpg', '/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_45_10716.jpg', '/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_55_9779.jpg', '/home/pi/Desktop/images/01012026/04/40/image_01012026_04_41_04_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_14_9710.jpg
/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_25_10091.jpg
/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_34_9567.jpg
/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_45_10716.jpg
/home/pi/Desktop/images/01012026/04/40/image_01012026_04_40_55_9779.jpg
/home/pi/Desktop/images/01012026/04/40/image_01012026_04_41_04_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":["1401981819","1401981821","1401981815","1401981823","1401981817","1401981816"],"photo_ids_order":["1401981815","1401981816","1401981817","1401981819","1401981821","1401981823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2f42d38178841379cc376b42a5a24e1.jpg","text":"TemporaryFile(/tmp/multipartBody648710076148796488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242163459,"filename":"image_01012026_04_40_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78a6dbfba40c0cbfe377cceb9cbccd1f.jpg","text":"TemporaryFile(/tmp/multipartBody790632347207155393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242163459,"filename":"image_01012026_04_40_55_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e105fe7fe13963f64c4317317dbbc5a3.jpg","text":"TemporaryFile(/tmp/multipartBody7074678195679285252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242163459,"filename":"image_01012026_04_40_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56f7a5b0fd993b9c36d73c0845910c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4545006939434784201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242163459,"filename":"image_01012026_04_41_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfa9aaff108809cad074dcf6865be937.jpg","text":"TemporaryFile(/tmp/multipartBody5388349378984287415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242163459,"filename":"image_01012026_04_40_34_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/870e19b05a27994d3c976663ef7382bf.jpg","text":"TemporaryFile(/tmp/multipartBody1304714973645562047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242163459,"filename":"image_01012026_04_40_25_10091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981817","file1":"1401981816","file0":"1401981815","file4":"1401981821","file5":"1401981823","file3":"1401981819"},"map_files_photo_id_array":[{"photo_id":"1401981823","filename":"file5"},{"photo_id":"1401981817","filename":"file2"},{"photo_id":"1401981821","filename":"file4"},{"photo_id":"1401981816","filename":"file1"},{"photo_id":"1401981815","filename":"file0"},{"photo_id":"1401981819","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981819":["hashtag1","hashtag2"]},{"1401981821":["hashtag1","hashtag2"]},{"1401981815":["hashtag1","hashtag2"]},{"1401981823":["hashtag1","hashtag2"]},{"1401981817":["hashtag1","hashtag2"]},{"1401981816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981819, 1401981821, 1401981815, 1401981823, 1401981817, 1401981816)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 48.666584730148315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:36:02.649930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_15_10872.jpg', '/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_25_9567.jpg', '/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_34_9621.jpg', '/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_45_10542.jpg', '/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_54_9678.jpg', '/home/pi/Desktop/images/01012026/04/41/image_01012026_04_42_04_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_15_10872.jpg
/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_25_9567.jpg
/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_34_9621.jpg
/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_45_10542.jpg
/home/pi/Desktop/images/01012026/04/41/image_01012026_04_41_54_9678.jpg
/home/pi/Desktop/images/01012026/04/41/image_01012026_04_42_04_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":["1401981830","1401981833","1401981836","1401981832","1401981831","1401981834"],"photo_ids_order":["1401981830","1401981831","1401981832","1401981833","1401981834","1401981836"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d831ef5e13488a111eeb183c0054e65e.jpg","text":"TemporaryFile(/tmp/multipartBody2579105868413789864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242223279,"filename":"image_01012026_04_41_15_10872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1909dc88fb46807c6430d93a72eec298.jpg","text":"TemporaryFile(/tmp/multipartBody693866678137339680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242223279,"filename":"image_01012026_04_41_45_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1505b29bb4cebf07f6e8c9eddb7a705.jpg","text":"TemporaryFile(/tmp/multipartBody8955926756988061512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242223279,"filename":"image_01012026_04_42_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ac8a2b8450732aeabf2b44bae99791a.jpg","text":"TemporaryFile(/tmp/multipartBody1437363689852308589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242223279,"filename":"image_01012026_04_41_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae7860cc6e8d951bf0e93ab1e066ee5f.jpg","text":"TemporaryFile(/tmp/multipartBody7076851664261710534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242223279,"filename":"image_01012026_04_41_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e20649e20f16308829c7dff4f7422211.jpg","text":"TemporaryFile(/tmp/multipartBody9218008959302460896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242223279,"filename":"image_01012026_04_41_54_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981832","file1":"1401981831","file0":"1401981830","file4":"1401981834","file5":"1401981836","file3":"1401981833"},"map_files_photo_id_array":[{"photo_id":"1401981836","filename":"file5"},{"photo_id":"1401981832","filename":"file2"},{"photo_id":"1401981834","filename":"file4"},{"photo_id":"1401981831","filename":"file1"},{"photo_id":"1401981830","filename":"file0"},{"photo_id":"1401981833","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981830":["hashtag1","hashtag2"]},{"1401981833":["hashtag1","hashtag2"]},{"1401981836":["hashtag1","hashtag2"]},{"1401981832":["hashtag1","hashtag2"]},{"1401981831":["hashtag1","hashtag2"]},{"1401981834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981830, 1401981833, 1401981836, 1401981832, 1401981831, 1401981834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9429817199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:36:42.159417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/05/image_03112025_23_06_00_2702.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_09_2759.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_13_3602.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_19_3673.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_31_3529.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_36_4987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/05/image_03112025_23_06_00_2702.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_09_2759.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_13_3602.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_19_3673.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_31_3529.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_36_4987.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981845","1401981847","1401981841","1401981844","1401981846","1401981849"],"photo_ids_order":["1401981841","1401981844","1401981845","1401981846","1401981847","1401981849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08abe858717143040460fe5a5df5c79c.jpg","text":"TemporaryFile(/tmp/multipartBody7167943651333013603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242263944,"filename":"image_03112025_23_06_13_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2407299283ae26c0b6bd1699de0efcd2.jpg","text":"TemporaryFile(/tmp/multipartBody6755558215840865588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242263944,"filename":"image_03112025_23_06_31_3529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41899c048b1b3220c736afc9ee3f977d.jpg","text":"TemporaryFile(/tmp/multipartBody82846787237875925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242263944,"filename":"image_03112025_23_06_00_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a63a033b3eef376c4a89d3fb1c60ec8.jpg","text":"TemporaryFile(/tmp/multipartBody7409813623094884995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242263944,"filename":"image_03112025_23_06_09_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18241b715dbd9b793fd75a6baa62e9ca.jpg","text":"TemporaryFile(/tmp/multipartBody3799579607769754710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242263944,"filename":"image_03112025_23_06_19_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd6b353c78662bf2c0bb70bf924451c3.jpg","text":"TemporaryFile(/tmp/multipartBody8635578249885518214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242263944,"filename":"image_03112025_23_06_36_4987.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981845","file1":"1401981844","file0":"1401981841","file4":"1401981847","file5":"1401981849","file3":"1401981846"},"map_files_photo_id_array":[{"photo_id":"1401981849","filename":"file5"},{"photo_id":"1401981845","filename":"file2"},{"photo_id":"1401981847","filename":"file4"},{"photo_id":"1401981844","filename":"file1"},{"photo_id":"1401981841","filename":"file0"},{"photo_id":"1401981846","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981845":["hashtag1","hashtag2"]},{"1401981847":["hashtag1","hashtag2"]},{"1401981841":["hashtag1","hashtag2"]},{"1401981844":["hashtag1","hashtag2"]},{"1401981846":["hashtag1","hashtag2"]},{"1401981849":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981845, 1401981847, 1401981841, 1401981844, 1401981846, 1401981849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83503007888794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:37:25.862848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_15_10655.jpg', '/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_24_9573.jpg', '/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_35_10663.jpg', '/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_45_9745.jpg', '/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_54_9675.jpg', '/home/pi/Desktop/images/01012026/04/42/image_01012026_04_43_05_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_15_10655.jpg
/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_24_9573.jpg
/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_35_10663.jpg
/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_45_9745.jpg
/home/pi/Desktop/images/01012026/04/42/image_01012026_04_42_54_9675.jpg
/home/pi/Desktop/images/01012026/04/42/image_01012026_04_43_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":["1401981860","1401981863","1401981853","1401981862","1401981858","1401981855"],"photo_ids_order":["1401981853","1401981855","1401981858","1401981860","1401981862","1401981863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7874e173d8aaeeca8b0b76536d8bae4.jpg","text":"TemporaryFile(/tmp/multipartBody4982769107080149552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242306488,"filename":"image_01012026_04_42_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d19c6af4a9b365ae45dc90cce648ba00.jpg","text":"TemporaryFile(/tmp/multipartBody283889952124097667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242306488,"filename":"image_01012026_04_43_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05e28d3bf49b881a7373f9cb816e7411.jpg","text":"TemporaryFile(/tmp/multipartBody5794867683641394894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242306488,"filename":"image_01012026_04_42_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a00afc3bf3ac537356026af7e2cffb45.jpg","text":"TemporaryFile(/tmp/multipartBody8693310215607128802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242306488,"filename":"image_01012026_04_42_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed00e2599d517ed59676df62c86b3494.jpg","text":"TemporaryFile(/tmp/multipartBody3749771160499238539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242306488,"filename":"image_01012026_04_42_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d57f61317f134b1874980e210b86db3f.jpg","text":"TemporaryFile(/tmp/multipartBody1905282099126041530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242306488,"filename":"image_01012026_04_42_24_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981858","file1":"1401981855","file0":"1401981853","file4":"1401981862","file5":"1401981863","file3":"1401981860"},"map_files_photo_id_array":[{"photo_id":"1401981863","filename":"file5"},{"photo_id":"1401981858","filename":"file2"},{"photo_id":"1401981862","filename":"file4"},{"photo_id":"1401981855","filename":"file1"},{"photo_id":"1401981853","filename":"file0"},{"photo_id":"1401981860","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981860":["hashtag1","hashtag2"]},{"1401981863":["hashtag1","hashtag2"]},{"1401981853":["hashtag1","hashtag2"]},{"1401981862":["hashtag1","hashtag2"]},{"1401981858":["hashtag1","hashtag2"]},{"1401981855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981860, 1401981863, 1401981853, 1401981862, 1401981858, 1401981855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81847405433655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:38:11.981878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_39_1597.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_42_3786.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_55_3800.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_57_2797.jpg', '/home/pi/Desktop/images/03112025/23/06/image_03112025_23_07_00_2739.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_03_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_39_1597.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_42_3786.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_55_3800.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_06_57_2797.jpg
/home/pi/Desktop/images/03112025/23/06/image_03112025_23_07_00_2739.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_03_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981869","1401981871","1401981865","1401981864","1401981873","1401981867"],"photo_ids_order":["1401981864","1401981865","1401981867","1401981869","1401981871","1401981873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ae27347738f5323ebad43fbcccd75aa.jpg","text":"TemporaryFile(/tmp/multipartBody3822870830396523121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242356601,"filename":"image_03112025_23_06_57_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a5105019de696909560f7fd06e727f6.jpg","text":"TemporaryFile(/tmp/multipartBody6696245912910888219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242356601,"filename":"image_03112025_23_07_00_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2445b6e7c3d2dce84d42244090d8e164.jpg","text":"TemporaryFile(/tmp/multipartBody7503283204309232093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242356601,"filename":"image_03112025_23_06_42_3786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e829dc95ae4c03f29d0ff4909fafe08a.jpg","text":"TemporaryFile(/tmp/multipartBody6173511320135408663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242356601,"filename":"image_03112025_23_06_39_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ecf9032d47125ceba1c4e2bc03ab0fa.jpg","text":"TemporaryFile(/tmp/multipartBody7438751565837470106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242356601,"filename":"image_03112025_23_07_03_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e0000028b770f356dcf05043afb2ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4479072468264853284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242356601,"filename":"image_03112025_23_06_55_3800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981867","file1":"1401981865","file0":"1401981864","file4":"1401981871","file5":"1401981873","file3":"1401981869"},"map_files_photo_id_array":[{"photo_id":"1401981873","filename":"file5"},{"photo_id":"1401981867","filename":"file2"},{"photo_id":"1401981871","filename":"file4"},{"photo_id":"1401981865","filename":"file1"},{"photo_id":"1401981864","filename":"file0"},{"photo_id":"1401981869","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981869":["hashtag1","hashtag2"]},{"1401981871":["hashtag1","hashtag2"]},{"1401981865":["hashtag1","hashtag2"]},{"1401981864":["hashtag1","hashtag2"]},{"1401981873":["hashtag1","hashtag2"]},{"1401981867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981869, 1401981871, 1401981865, 1401981864, 1401981873, 1401981867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.767088890075684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:39:03.226167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_15_9923.jpg', '/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_25_9725.jpg', '/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_34_9657.jpg', '/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_45_10564.jpg', '/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_54_9569.jpg', '/home/pi/Desktop/images/01012026/04/43/image_01012026_04_44_04_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_15_9923.jpg
/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_25_9725.jpg
/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_34_9657.jpg
/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_45_10564.jpg
/home/pi/Desktop/images/01012026/04/43/image_01012026_04_43_54_9569.jpg
/home/pi/Desktop/images/01012026/04/43/image_01012026_04_44_04_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":["1401981881","1401981884","1401981883","1401981886","1401981882","1401981879"],"photo_ids_order":["1401981879","1401981881","1401981882","1401981883","1401981884","1401981886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12387a22ee1c81479ff05184efb6bebb.jpg","text":"TemporaryFile(/tmp/multipartBody3722339491916469028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242403973,"filename":"image_01012026_04_43_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/346004f819cd6f5d7702e80033456027.jpg","text":"TemporaryFile(/tmp/multipartBody15269859985730596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242403973,"filename":"image_01012026_04_43_54_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30fa4df64f4b8d0b5c09f3c09c1ae2e1.jpg","text":"TemporaryFile(/tmp/multipartBody5310006379949907044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242403973,"filename":"image_01012026_04_43_45_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2980cd640efb87a184506f2426d6013a.jpg","text":"TemporaryFile(/tmp/multipartBody7735847176811132829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242403973,"filename":"image_01012026_04_44_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e24c5783c700f964afd3a61fb5e72358.jpg","text":"TemporaryFile(/tmp/multipartBody1154374444520130222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242403973,"filename":"image_01012026_04_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/2026/1/1/a0192f406112cfdf62f1dc3d9b6662ee.jpg","text":"TemporaryFile(/tmp/multipartBody3828199381654850923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242403973,"filename":"image_01012026_04_43_15_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981882","file1":"1401981881","file0":"1401981879","file4":"1401981884","file5":"1401981886","file3":"1401981883"},"map_files_photo_id_array":[{"photo_id":"1401981886","filename":"file5"},{"photo_id":"1401981882","filename":"file2"},{"photo_id":"1401981884","filename":"file4"},{"photo_id":"1401981881","filename":"file1"},{"photo_id":"1401981879","filename":"file0"},{"photo_id":"1401981883","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981881":["hashtag1","hashtag2"]},{"1401981884":["hashtag1","hashtag2"]},{"1401981883":["hashtag1","hashtag2"]},{"1401981886":["hashtag1","hashtag2"]},{"1401981882":["hashtag1","hashtag2"]},{"1401981879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981881, 1401981884, 1401981883, 1401981886, 1401981882, 1401981879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.876603841781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:39:42.257700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_06_3657.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_09_2578.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_13_3660.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_26_1697.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_27_1513.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_30_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_06_3657.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_09_2578.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_13_3660.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_26_1697.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_27_1513.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_30_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981896","1401981898","1401981892","1401981895","1401981894","1401981897"],"photo_ids_order":["1401981892","1401981894","1401981895","1401981896","1401981897","1401981898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a98005baf1173b7a2737ac712314032c.jpg","text":"TemporaryFile(/tmp/multipartBody7967360862688112097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242444003,"filename":"image_03112025_23_07_26_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5875de9548ca20ee4a3720becbe01d6.jpg","text":"TemporaryFile(/tmp/multipartBody5892054295337339647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242444003,"filename":"image_03112025_23_07_30_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4daeeef99ea4b3300af3e998c2018d7.jpg","text":"TemporaryFile(/tmp/multipartBody8438761296065354694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242444003,"filename":"image_03112025_23_07_06_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3561c133ea449d0465961d2c2925f99.jpg","text":"TemporaryFile(/tmp/multipartBody6830123719608350536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242444003,"filename":"image_03112025_23_07_13_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1d08a22f3e7895d4b0c40793c2dd980.jpg","text":"TemporaryFile(/tmp/multipartBody1599308741819590612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242444003,"filename":"image_03112025_23_07_09_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21da4754b2365c31bb23ea1b926f3f36.jpg","text":"TemporaryFile(/tmp/multipartBody8945780640926965338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242444003,"filename":"image_03112025_23_07_27_1513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981895","file1":"1401981894","file0":"1401981892","file4":"1401981897","file5":"1401981898","file3":"1401981896"},"map_files_photo_id_array":[{"photo_id":"1401981898","filename":"file5"},{"photo_id":"1401981895","filename":"file2"},{"photo_id":"1401981897","filename":"file4"},{"photo_id":"1401981894","filename":"file1"},{"photo_id":"1401981892","filename":"file0"},{"photo_id":"1401981896","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981896":["hashtag1","hashtag2"]},{"1401981898":["hashtag1","hashtag2"]},{"1401981892":["hashtag1","hashtag2"]},{"1401981895":["hashtag1","hashtag2"]},{"1401981894":["hashtag1","hashtag2"]},{"1401981897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981896, 1401981898, 1401981892, 1401981895, 1401981894, 1401981897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80575394630432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:40:22.436019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_15_10769.jpg', '/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_25_9774.jpg', '/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_34_9593.jpg', '/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_45_10564.jpg', '/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_54_9580.jpg', '/home/pi/Desktop/images/01012026/04/44/image_01012026_04_45_05_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_15_10769.jpg
/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_25_9774.jpg
/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_34_9593.jpg
/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_45_10564.jpg
/home/pi/Desktop/images/01012026/04/44/image_01012026_04_44_54_9580.jpg
/home/pi/Desktop/images/01012026/04/44/image_01012026_04_45_05_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981905","1401981902","1401981910","1401981904","1401981907","1401981900"],"photo_ids_order":["1401981900","1401981902","1401981904","1401981905","1401981907","1401981910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82f20398c80775dbe43330ff7817df8c.jpg","text":"TemporaryFile(/tmp/multipartBody5770756746344905097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242483030,"filename":"image_01012026_04_44_45_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10ccdfd30b161e588c1c776a146e66cf.jpg","text":"TemporaryFile(/tmp/multipartBody6854836168285671395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242483030,"filename":"image_01012026_04_44_25_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e45508bffb9b3163689750e275e56de8.jpg","text":"TemporaryFile(/tmp/multipartBody942645680191798999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242483030,"filename":"image_01012026_04_45_05_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79ecead5986de9d08d5c7ec9c2bf55a5.jpg","text":"TemporaryFile(/tmp/multipartBody3399903186331286528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242483030,"filename":"image_01012026_04_44_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2547e6820e06f74d9ea6486a4b7d519.jpg","text":"TemporaryFile(/tmp/multipartBody6712563668638995503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242483030,"filename":"image_01012026_04_44_54_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a344b41d6c370d1763ab0b23fd74891.jpg","text":"TemporaryFile(/tmp/multipartBody6070811236514516055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242483030,"filename":"image_01012026_04_44_15_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981904","file1":"1401981902","file0":"1401981900","file4":"1401981907","file5":"1401981910","file3":"1401981905"},"map_files_photo_id_array":[{"photo_id":"1401981910","filename":"file5"},{"photo_id":"1401981904","filename":"file2"},{"photo_id":"1401981907","filename":"file4"},{"photo_id":"1401981902","filename":"file1"},{"photo_id":"1401981900","filename":"file0"},{"photo_id":"1401981905","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981905":["hashtag1","hashtag2"]},{"1401981902":["hashtag1","hashtag2"]},{"1401981910":["hashtag1","hashtag2"]},{"1401981904":["hashtag1","hashtag2"]},{"1401981907":["hashtag1","hashtag2"]},{"1401981900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981905, 1401981902, 1401981910, 1401981904, 1401981907, 1401981900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37586832046509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:41:03.305376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_15_9668.jpg', '/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_24_9702.jpg', '/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_35_10546.jpg', '/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_45_9617.jpg', '/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_54_9547.jpg', '/home/pi/Desktop/images/01012026/04/45/image_01012026_04_46_05_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_15_9668.jpg
/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_24_9702.jpg
/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_35_10546.jpg
/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_45_9617.jpg
/home/pi/Desktop/images/01012026/04/45/image_01012026_04_45_54_9547.jpg
/home/pi/Desktop/images/01012026/04/45/image_01012026_04_46_05_10793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981917","1401981914","1401981916","1401981919","1401981913","1401981912"],"photo_ids_order":["1401981912","1401981913","1401981914","1401981916","1401981917","1401981919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9c9fa459edc3cdfba9463b0f112803f.jpg","text":"TemporaryFile(/tmp/multipartBody337203271331649807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242523940,"filename":"image_01012026_04_45_54_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de7b9230a111b73e5274b548c6ccfa55.jpg","text":"TemporaryFile(/tmp/multipartBody7063479568003370630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242523940,"filename":"image_01012026_04_45_35_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aadecc06ac5451ff894396f4ff5e0f18.jpg","text":"TemporaryFile(/tmp/multipartBody6483027830665518025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242523940,"filename":"image_01012026_04_45_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ce4f0df958af2577497714d8f4242f2.jpg","text":"TemporaryFile(/tmp/multipartBody5246508820856210250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242523940,"filename":"image_01012026_04_46_05_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/820fcb06a8349961e9f9b000a84a1163.jpg","text":"TemporaryFile(/tmp/multipartBody6032216573070868885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242523940,"filename":"image_01012026_04_45_24_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a14ac79ee20893d15af19588d40bca7.jpg","text":"TemporaryFile(/tmp/multipartBody1018833763188568795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242523940,"filename":"image_01012026_04_45_15_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981914","file1":"1401981913","file0":"1401981912","file4":"1401981917","file5":"1401981919","file3":"1401981916"},"map_files_photo_id_array":[{"photo_id":"1401981919","filename":"file5"},{"photo_id":"1401981914","filename":"file2"},{"photo_id":"1401981917","filename":"file4"},{"photo_id":"1401981913","filename":"file1"},{"photo_id":"1401981912","filename":"file0"},{"photo_id":"1401981916","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981917":["hashtag1","hashtag2"]},{"1401981914":["hashtag1","hashtag2"]},{"1401981916":["hashtag1","hashtag2"]},{"1401981919":["hashtag1","hashtag2"]},{"1401981913":["hashtag1","hashtag2"]},{"1401981912":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981917, 1401981914, 1401981916, 1401981919, 1401981913, 1401981912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15374946594238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:41:42.681990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_33_2788.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_36_3772.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_39_2669.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_43_3497.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_45_2828.jpg', '/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_48_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_33_2788.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_36_3772.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_39_2669.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_43_3497.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_45_2828.jpg
/home/pi/Desktop/images/03112025/23/07/image_03112025_23_07_48_2685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981924","1401981926","1401981929","1401981928","1401981930","1401981927"],"photo_ids_order":["1401981924","1401981926","1401981927","1401981928","1401981929","1401981930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6cdcf44f21c92a8c366316fa3881f73.jpg","text":"TemporaryFile(/tmp/multipartBody5050372927729405916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242564438,"filename":"image_03112025_23_07_33_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad46becf45188fae1e487be81b71ab98.jpg","text":"TemporaryFile(/tmp/multipartBody2632349455235721615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242564438,"filename":"image_03112025_23_07_36_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c0b270c69d5ed9dd868da9aafb4c783.jpg","text":"TemporaryFile(/tmp/multipartBody8973354325160559287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242564438,"filename":"image_03112025_23_07_45_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e5a2e05799843f1592fc049b0fdb3f6.jpg","text":"TemporaryFile(/tmp/multipartBody6129335803733062142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242564438,"filename":"image_03112025_23_07_43_3497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62fdfb97e6e85008ff3c96ddc3f68471.jpg","text":"TemporaryFile(/tmp/multipartBody3214818464394262049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242564438,"filename":"image_03112025_23_07_48_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88e49ec38c9c9f3c636c5ba28ebfde3b.jpg","text":"TemporaryFile(/tmp/multipartBody7202036937404629623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242564438,"filename":"image_03112025_23_07_39_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981927","file1":"1401981926","file0":"1401981924","file4":"1401981929","file5":"1401981930","file3":"1401981928"},"map_files_photo_id_array":[{"photo_id":"1401981930","filename":"file5"},{"photo_id":"1401981927","filename":"file2"},{"photo_id":"1401981929","filename":"file4"},{"photo_id":"1401981926","filename":"file1"},{"photo_id":"1401981924","filename":"file0"},{"photo_id":"1401981928","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981924":["hashtag1","hashtag2"]},{"1401981926":["hashtag1","hashtag2"]},{"1401981929":["hashtag1","hashtag2"]},{"1401981928":["hashtag1","hashtag2"]},{"1401981930":["hashtag1","hashtag2"]},{"1401981927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981924, 1401981926, 1401981929, 1401981928, 1401981930, 1401981927)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.59160089492798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:42:31.986188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_01_7014.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_05_1698.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_18_3566.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_24_3688.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_27_2671.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_36_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/23/08/image_03112025_23_08_01_7014.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_05_1698.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_18_3566.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_24_3688.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_27_2671.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_36_2581.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.6864900588989258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:42:41.958476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_01_7014.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_05_1698.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_18_3566.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_24_3688.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_27_2671.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_36_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/23/08/image_03112025_23_08_01_7014.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_05_1698.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_18_3566.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_24_3688.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_27_2671.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_36_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":["1401981944","1401981947","1401981946","1401981949","1401981940","1401981948"],"photo_ids_order":["1401981940","1401981944","1401981946","1401981947","1401981948","1401981949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b4d62ab9853341279dd36f4b11d8f52.jpg","text":"TemporaryFile(/tmp/multipartBody3164240090227724877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242623611,"filename":"image_03112025_23_08_05_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42c2e5201844e1c5f33d0912386e277e.jpg","text":"TemporaryFile(/tmp/multipartBody1031909145445982715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242623611,"filename":"image_03112025_23_08_24_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9950f0d2f853e3544dd328f2c90b8792.jpg","text":"TemporaryFile(/tmp/multipartBody4441814864219670844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242623611,"filename":"image_03112025_23_08_18_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de3c117288ec12b33d298485dc29f6a3.jpg","text":"TemporaryFile(/tmp/multipartBody2634508098726510909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242623611,"filename":"image_03112025_23_08_36_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/391f75688de9da3ecefcbbb53167e948.jpg","text":"TemporaryFile(/tmp/multipartBody3896161588223276021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242623611,"filename":"image_03112025_23_08_01_7014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc5ff0df317df1618b0ba0a5bc351f0a.jpg","text":"TemporaryFile(/tmp/multipartBody1810613503486690456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242623611,"filename":"image_03112025_23_08_27_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981946","file1":"1401981944","file0":"1401981940","file4":"1401981948","file5":"1401981949","file3":"1401981947"},"map_files_photo_id_array":[{"photo_id":"1401981949","filename":"file5"},{"photo_id":"1401981946","filename":"file2"},{"photo_id":"1401981948","filename":"file4"},{"photo_id":"1401981944","filename":"file1"},{"photo_id":"1401981940","filename":"file0"},{"photo_id":"1401981947","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981944":["hashtag1","hashtag2"]},{"1401981947":["hashtag1","hashtag2"]},{"1401981946":["hashtag1","hashtag2"]},{"1401981949":["hashtag1","hashtag2"]},{"1401981940":["hashtag1","hashtag2"]},{"1401981948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981944, 1401981947, 1401981946, 1401981949, 1401981940, 1401981948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.76211667060852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:43:22.031025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_14_9610.jpg', '/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_24_9683.jpg', '/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_35_10678.jpg', '/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_45_9701.jpg', '/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_54_9770.jpg', '/home/pi/Desktop/images/01012026/04/46/image_01012026_04_47_05_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_14_9610.jpg
/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_24_9683.jpg
/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_35_10678.jpg
/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_45_9701.jpg
/home/pi/Desktop/images/01012026/04/46/image_01012026_04_46_54_9770.jpg
/home/pi/Desktop/images/01012026/04/46/image_01012026_04_47_05_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981953","1401981962","1401981959","1401981955","1401981957","1401981951"],"photo_ids_order":["1401981951","1401981953","1401981955","1401981957","1401981959","1401981962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/835d674b1394c8f77517dee011c2141f.jpg","text":"TemporaryFile(/tmp/multipartBody7218719710564968096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242662586,"filename":"image_01012026_04_46_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d125e6ac4e3d5012e020460715fecca.jpg","text":"TemporaryFile(/tmp/multipartBody4933022851149704321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242662586,"filename":"image_01012026_04_47_05_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/374140eef323698beae30f0e40e1629d.jpg","text":"TemporaryFile(/tmp/multipartBody942857215747006312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242662586,"filename":"image_01012026_04_46_54_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/208065640695d6961b3f531f65b10380.jpg","text":"TemporaryFile(/tmp/multipartBody2000833148886039145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242662586,"filename":"image_01012026_04_46_35_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4acb909a427f06e44077dc511ed15a46.jpg","text":"TemporaryFile(/tmp/multipartBody880382205862017196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242662586,"filename":"image_01012026_04_46_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcdc33e313fc2a39d63ba677af039c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8506688943678556578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242662586,"filename":"image_01012026_04_46_14_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981955","file1":"1401981953","file0":"1401981951","file4":"1401981959","file5":"1401981962","file3":"1401981957"},"map_files_photo_id_array":[{"photo_id":"1401981962","filename":"file5"},{"photo_id":"1401981955","filename":"file2"},{"photo_id":"1401981959","filename":"file4"},{"photo_id":"1401981953","filename":"file1"},{"photo_id":"1401981951","filename":"file0"},{"photo_id":"1401981957","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981953":["hashtag1","hashtag2"]},{"1401981962":["hashtag1","hashtag2"]},{"1401981959":["hashtag1","hashtag2"]},{"1401981955":["hashtag1","hashtag2"]},{"1401981957":["hashtag1","hashtag2"]},{"1401981951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981953, 1401981962, 1401981959, 1401981955, 1401981957, 1401981951)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.03859519958496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:44:12.575657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_45_2639.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_48_3713.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_57_2776.jpg', '/home/pi/Desktop/images/03112025/23/08/image_03112025_23_09_00_2786.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_06_1558.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_09_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/23/08/image_03112025_23_08_45_2639.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_48_3713.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_08_57_2776.jpg
/home/pi/Desktop/images/03112025/23/08/image_03112025_23_09_00_2786.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_06_1558.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_09_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981974","1401981965","1401981967","1401981969","1401981972","1401981966"],"photo_ids_order":["1401981965","1401981966","1401981967","1401981969","1401981972","1401981974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb7aedd0330c1d70471a76d56e48be22.jpg","text":"TemporaryFile(/tmp/multipartBody4995108220516570740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242714211,"filename":"image_03112025_23_09_09_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4cdabcebdb9dcc109e9557f163799e04.jpg","text":"TemporaryFile(/tmp/multipartBody5633124693850291676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242714211,"filename":"image_03112025_23_08_45_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e971d3159cb9a4d66ddce4003698f4e.jpg","text":"TemporaryFile(/tmp/multipartBody7095331286749872206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242714211,"filename":"image_03112025_23_08_57_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79755e2e387a26f569ac4792214778e2.jpg","text":"TemporaryFile(/tmp/multipartBody1258402118578734543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242714211,"filename":"image_03112025_23_09_00_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/490880865311e1ea30ac316d76753dfd.jpg","text":"TemporaryFile(/tmp/multipartBody341067730717251738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242714211,"filename":"image_03112025_23_09_06_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f663b0bd5c3e2be0b37463f6fd1df093.jpg","text":"TemporaryFile(/tmp/multipartBody2384678879610159181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242714211,"filename":"image_03112025_23_08_48_3713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981967","file1":"1401981966","file0":"1401981965","file4":"1401981972","file5":"1401981974","file3":"1401981969"},"map_files_photo_id_array":[{"photo_id":"1401981974","filename":"file5"},{"photo_id":"1401981967","filename":"file2"},{"photo_id":"1401981972","filename":"file4"},{"photo_id":"1401981966","filename":"file1"},{"photo_id":"1401981965","filename":"file0"},{"photo_id":"1401981969","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401981974":["hashtag1","hashtag2"]},{"1401981965":["hashtag1","hashtag2"]},{"1401981967":["hashtag1","hashtag2"]},{"1401981969":["hashtag1","hashtag2"]},{"1401981972":["hashtag1","hashtag2"]},{"1401981966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401981974, 1401981965, 1401981967, 1401981969, 1401981972, 1401981966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79409122467041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:45:04.172992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_15_9646.jpg', '/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_24_9623.jpg', '/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_35_10675.jpg', '/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_45_9666.jpg', '/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_54_9839.jpg', '/home/pi/Desktop/images/01012026/04/47/image_01012026_04_48_05_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_15_9646.jpg
/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_24_9623.jpg
/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_35_10675.jpg
/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_45_9666.jpg
/home/pi/Desktop/images/01012026/04/47/image_01012026_04_47_54_9839.jpg
/home/pi/Desktop/images/01012026/04/47/image_01012026_04_48_05_10568.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":["1401981986","1401981980","1401981983","1401981982","1401981981","1401981984"],"photo_ids_order":["1401981980","1401981981","1401981982","1401981983","1401981984","1401981986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69d4aa31222e8fb566245c7fc8faa3d6.jpg","text":"TemporaryFile(/tmp/multipartBody4994615725803301836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242764818,"filename":"image_01012026_04_48_05_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e75aaa3afd07af290d72566393700a82.jpg","text":"TemporaryFile(/tmp/multipartBody1127293111882253907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242764818,"filename":"image_01012026_04_47_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f767a8209ff408d56b158fd947790823.jpg","text":"TemporaryFile(/tmp/multipartBody9134105156963727338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242764818,"filename":"image_01012026_04_47_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6ddd7042bb3009e5e2617e364883aef.jpg","text":"TemporaryFile(/tmp/multipartBody5597412096869701890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242764818,"filename":"image_01012026_04_47_35_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed7e267ffa4733f946c1c95a7e2ad945.jpg","text":"TemporaryFile(/tmp/multipartBody7695130861578828468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242764818,"filename":"image_01012026_04_47_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5c68d51931523bdfea407a3e6ce080c.jpg","text":"TemporaryFile(/tmp/multipartBody8849858233463754441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242764818,"filename":"image_01012026_04_47_54_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981982","file1":"1401981981","file0":"1401981980","file4":"1401981984","file5":"1401981986","file3":"1401981983"},"map_files_photo_id_array":[{"photo_id":"1401981986","filename":"file5"},{"photo_id":"1401981982","filename":"file2"},{"photo_id":"1401981984","filename":"file4"},{"photo_id":"1401981981","filename":"file1"},{"photo_id":"1401981980","filename":"file0"},{"photo_id":"1401981983","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981986":["hashtag1","hashtag2"]},{"1401981980":["hashtag1","hashtag2"]},{"1401981983":["hashtag1","hashtag2"]},{"1401981982":["hashtag1","hashtag2"]},{"1401981981":["hashtag1","hashtag2"]},{"1401981984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981986, 1401981980, 1401981983, 1401981982, 1401981981, 1401981984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.12365531921387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:46:03.169001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_15_9558.jpg', '/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_24_9733.jpg', '/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_35_10678.jpg', '/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_45_9809.jpg', '/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_54_9584.jpg', '/home/pi/Desktop/images/01012026/04/48/image_01012026_04_49_05_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_15_9558.jpg
/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_24_9733.jpg
/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_35_10678.jpg
/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_45_9809.jpg
/home/pi/Desktop/images/01012026/04/48/image_01012026_04_48_54_9584.jpg
/home/pi/Desktop/images/01012026/04/48/image_01012026_04_49_05_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401981995","1401981997","1401981994","1401981993","1401981996","1401981998"],"photo_ids_order":["1401981993","1401981994","1401981995","1401981996","1401981997","1401981998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3eafbb919b288eb61c3cb3bdda38b2a.jpg","text":"TemporaryFile(/tmp/multipartBody89194879457948381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242823835,"filename":"image_01012026_04_48_35_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab0958d87f19a77d1d1b7b764df6d07a.jpg","text":"TemporaryFile(/tmp/multipartBody2934802342352659854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242823835,"filename":"image_01012026_04_48_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea93f98dff7b4d4bf48f861150dae277.jpg","text":"TemporaryFile(/tmp/multipartBody7354677896910086067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242823835,"filename":"image_01012026_04_48_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fef3f550d526fae2a1ed66aafb535a36.jpg","text":"TemporaryFile(/tmp/multipartBody4274608564700851613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242823835,"filename":"image_01012026_04_48_15_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89e3632d1c56b4defad340d1775825b0.jpg","text":"TemporaryFile(/tmp/multipartBody2931138085664195829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242823835,"filename":"image_01012026_04_48_45_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fea7e87781959013856046ef60775e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5993336598380654680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242823835,"filename":"image_01012026_04_49_05_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401981995","file1":"1401981994","file0":"1401981993","file4":"1401981997","file5":"1401981998","file3":"1401981996"},"map_files_photo_id_array":[{"photo_id":"1401981998","filename":"file5"},{"photo_id":"1401981995","filename":"file2"},{"photo_id":"1401981997","filename":"file4"},{"photo_id":"1401981994","filename":"file1"},{"photo_id":"1401981993","filename":"file0"},{"photo_id":"1401981996","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401981995":["hashtag1","hashtag2"]},{"1401981997":["hashtag1","hashtag2"]},{"1401981994":["hashtag1","hashtag2"]},{"1401981993":["hashtag1","hashtag2"]},{"1401981996":["hashtag1","hashtag2"]},{"1401981998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401981995, 1401981997, 1401981994, 1401981993, 1401981996, 1401981998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55255126953125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:46:42.855427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_12_2904.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_15_2588.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_24_2659.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_27_3616.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_33_2762.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_36_2982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_12_2904.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_15_2588.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_24_2659.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_27_3616.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_33_2762.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_36_2982.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982013","1401982015","1401982011","1401982008","1401982017","1401982005"],"photo_ids_order":["1401982005","1401982008","1401982011","1401982013","1401982015","1401982017"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4222d7dea8d6c5ca9e7e7370a5387552.jpg","text":"TemporaryFile(/tmp/multipartBody7029247138991225029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242865706,"filename":"image_03112025_23_09_27_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6912f496cfe770844a5b497f22e478df.jpg","text":"TemporaryFile(/tmp/multipartBody4274690198104088966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242865706,"filename":"image_03112025_23_09_33_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a884750166e0257a46afd10933d7bda.jpg","text":"TemporaryFile(/tmp/multipartBody84841165680736435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242865706,"filename":"image_03112025_23_09_24_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee3da8400dd6cd9105ec8fbc58caf90a.jpg","text":"TemporaryFile(/tmp/multipartBody8681025601571272907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242865706,"filename":"image_03112025_23_09_15_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/400c482b9bcf853d8681379a7e127248.jpg","text":"TemporaryFile(/tmp/multipartBody2533969459874523474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242865706,"filename":"image_03112025_23_09_36_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aaefcd2baa60b53499875fe7ef9e597f.jpg","text":"TemporaryFile(/tmp/multipartBody1886118515596564935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242865706,"filename":"image_03112025_23_09_12_2904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982011","file1":"1401982008","file0":"1401982005","file4":"1401982015","file5":"1401982017","file3":"1401982013"},"map_files_photo_id_array":[{"photo_id":"1401982017","filename":"file5"},{"photo_id":"1401982011","filename":"file2"},{"photo_id":"1401982015","filename":"file4"},{"photo_id":"1401982008","filename":"file1"},{"photo_id":"1401982005","filename":"file0"},{"photo_id":"1401982013","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401982013":["hashtag1","hashtag2"]},{"1401982015":["hashtag1","hashtag2"]},{"1401982011":["hashtag1","hashtag2"]},{"1401982008":["hashtag1","hashtag2"]},{"1401982017":["hashtag1","hashtag2"]},{"1401982005":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401982013, 1401982015, 1401982011, 1401982008, 1401982017, 1401982005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.68457651138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:47:31.996670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_51_3697.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_54_2715.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_10_00_3600.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_03_2600.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_06_3288.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_18_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/23/09/image_03112025_23_09_51_3697.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_54_2715.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_10_00_3600.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_03_2600.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_06_3288.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_18_2673.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.6490514278411865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:47:42.042246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_51_3697.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_54_2715.jpg', '/home/pi/Desktop/images/03112025/23/09/image_03112025_23_10_00_3600.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_03_2600.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_06_3288.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_18_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/23/09/image_03112025_23_09_51_3697.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_09_54_2715.jpg
/home/pi/Desktop/images/03112025/23/09/image_03112025_23_10_00_3600.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_03_2600.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_06_3288.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_18_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":["1401982034","1401982037","1401982031","1401982028","1401982033","1401982035"],"photo_ids_order":["1401982028","1401982031","1401982033","1401982034","1401982035","1401982037"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abdb9ffae95d4c54e3cd6b05ccae2821.jpg","text":"TemporaryFile(/tmp/multipartBody6171972482038760112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242923740,"filename":"image_03112025_23_10_03_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b98a36dde2c045b526fe092c38b9071.jpg","text":"TemporaryFile(/tmp/multipartBody1589888621773468724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242923740,"filename":"image_03112025_23_10_18_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6855fb1d6abb68ec3da54440b8b109c5.jpg","text":"TemporaryFile(/tmp/multipartBody1584222066964046213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242923740,"filename":"image_03112025_23_09_54_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37dca6ea5f284a06af5695bc2b178dee.jpg","text":"TemporaryFile(/tmp/multipartBody238681225524211767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242923740,"filename":"image_03112025_23_09_51_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/721c9bc5785d8a2f393a480d12abca81.jpg","text":"TemporaryFile(/tmp/multipartBody5314007857419827460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242923740,"filename":"image_03112025_23_10_00_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2df072808612f8db6d9797ff37644e6.jpg","text":"TemporaryFile(/tmp/multipartBody222080859143613664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242923740,"filename":"image_03112025_23_10_06_3288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982033","file1":"1401982031","file0":"1401982028","file4":"1401982035","file5":"1401982037","file3":"1401982034"},"map_files_photo_id_array":[{"photo_id":"1401982037","filename":"file5"},{"photo_id":"1401982033","filename":"file2"},{"photo_id":"1401982035","filename":"file4"},{"photo_id":"1401982031","filename":"file1"},{"photo_id":"1401982028","filename":"file0"},{"photo_id":"1401982034","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401982034":["hashtag1","hashtag2"]},{"1401982037":["hashtag1","hashtag2"]},{"1401982031":["hashtag1","hashtag2"]},{"1401982028":["hashtag1","hashtag2"]},{"1401982033":["hashtag1","hashtag2"]},{"1401982035":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401982034, 1401982037, 1401982031, 1401982028, 1401982033, 1401982035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79320812225342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:48:22.212211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_15_9560.jpg', '/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_24_9710.jpg', '/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_35_10742.jpg', '/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_45_9606.jpg', '/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_54_9662.jpg', '/home/pi/Desktop/images/01012026/04/49/image_01012026_04_50_04_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_15_9560.jpg
/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_24_9710.jpg
/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_35_10742.jpg
/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_45_9606.jpg
/home/pi/Desktop/images/01012026/04/49/image_01012026_04_49_54_9662.jpg
/home/pi/Desktop/images/01012026/04/49/image_01012026_04_50_04_9848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982040","1401982046","1401982045","1401982048","1401982042","1401982044"],"photo_ids_order":["1401982040","1401982042","1401982044","1401982045","1401982046","1401982048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a78b088963d90d88465dffc5814bd67.jpg","text":"TemporaryFile(/tmp/multipartBody4695150251547945956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242962834,"filename":"image_01012026_04_49_15_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/545fae48f0351f75dc2d0e9d4138732d.jpg","text":"TemporaryFile(/tmp/multipartBody5357312824783828484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242962834,"filename":"image_01012026_04_49_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d32922170220c7eae842479c7cabb1c1.jpg","text":"TemporaryFile(/tmp/multipartBody4886563483925368546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242962834,"filename":"image_01012026_04_49_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2379cc9ed8e17a7df6483168eb7b320e.jpg","text":"TemporaryFile(/tmp/multipartBody246142939863434066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242962834,"filename":"image_01012026_04_50_04_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7213ecc7b38de7835777b79e2275a3f.jpg","text":"TemporaryFile(/tmp/multipartBody7684123573365323299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242962834,"filename":"image_01012026_04_49_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0db9e13f762639babd325dc735647874.jpg","text":"TemporaryFile(/tmp/multipartBody8062507561531957005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767242962834,"filename":"image_01012026_04_49_35_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982044","file1":"1401982042","file0":"1401982040","file4":"1401982046","file5":"1401982048","file3":"1401982045"},"map_files_photo_id_array":[{"photo_id":"1401982048","filename":"file5"},{"photo_id":"1401982044","filename":"file2"},{"photo_id":"1401982046","filename":"file4"},{"photo_id":"1401982042","filename":"file1"},{"photo_id":"1401982040","filename":"file0"},{"photo_id":"1401982045","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982040":["hashtag1","hashtag2"]},{"1401982046":["hashtag1","hashtag2"]},{"1401982045":["hashtag1","hashtag2"]},{"1401982048":["hashtag1","hashtag2"]},{"1401982042":["hashtag1","hashtag2"]},{"1401982044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982040, 1401982046, 1401982045, 1401982048, 1401982042, 1401982044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92056322097778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:49:03.415598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_15_10687.jpg', '/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_25_9703.jpg', '/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_34_9737.jpg', '/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_45_10653.jpg', '/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_55_9606.jpg', '/home/pi/Desktop/images/01012026/04/50/image_01012026_04_51_04_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_15_10687.jpg
/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_25_9703.jpg
/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_34_9737.jpg
/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_45_10653.jpg
/home/pi/Desktop/images/01012026/04/50/image_01012026_04_50_55_9606.jpg
/home/pi/Desktop/images/01012026/04/50/image_01012026_04_51_04_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":["1401982051","1401982054","1401982056","1401982050","1401982053","1401982052"],"photo_ids_order":["1401982050","1401982051","1401982052","1401982053","1401982054","1401982056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f4b988863559b57e61ce8f98c1e8878.jpg","text":"TemporaryFile(/tmp/multipartBody8442228813655763577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243004160,"filename":"image_01012026_04_50_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53ca79ca6f14b7fc67f822ee42b24ace.jpg","text":"TemporaryFile(/tmp/multipartBody5837596442495933756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243004160,"filename":"image_01012026_04_50_55_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bee8f48846f359dd619ec309615fa4d.jpg","text":"TemporaryFile(/tmp/multipartBody5609366461035768833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243004160,"filename":"image_01012026_04_51_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/551a6b5ad724099b51f3387ea0786b55.jpg","text":"TemporaryFile(/tmp/multipartBody8642476971075129358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243004160,"filename":"image_01012026_04_50_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ec33b88ba4aa21988346c09a742a562.jpg","text":"TemporaryFile(/tmp/multipartBody6571826942749447203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243004160,"filename":"image_01012026_04_50_45_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42a5e6a5749e46f13827e2ea5dcac049.jpg","text":"TemporaryFile(/tmp/multipartBody6503300063477423613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243004160,"filename":"image_01012026_04_50_34_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982052","file1":"1401982051","file0":"1401982050","file4":"1401982054","file5":"1401982056","file3":"1401982053"},"map_files_photo_id_array":[{"photo_id":"1401982056","filename":"file5"},{"photo_id":"1401982052","filename":"file2"},{"photo_id":"1401982054","filename":"file4"},{"photo_id":"1401982051","filename":"file1"},{"photo_id":"1401982050","filename":"file0"},{"photo_id":"1401982053","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982051":["hashtag1","hashtag2"]},{"1401982054":["hashtag1","hashtag2"]},{"1401982056":["hashtag1","hashtag2"]},{"1401982050":["hashtag1","hashtag2"]},{"1401982053":["hashtag1","hashtag2"]},{"1401982052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982051, 1401982054, 1401982056, 1401982050, 1401982053, 1401982052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43744659423828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:49:42.405132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_23_2641.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_30_2781.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_32_2730.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_42_2854.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_45_3747.jpg', '/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_53_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_23_2641.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_30_2781.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_32_2730.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_42_2854.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_45_3747.jpg
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_53_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982064","1401982066","1401982069","1401982062","1401982065","1401982067"],"photo_ids_order":["1401982062","1401982064","1401982065","1401982066","1401982067","1401982069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44bb14c5f9f2a62330b7601a5591babd.jpg","text":"TemporaryFile(/tmp/multipartBody7032431050404513615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243044150,"filename":"image_03112025_23_10_30_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dee7fb53f5b02fc921728cea9579fb8.jpg","text":"TemporaryFile(/tmp/multipartBody6162769169237627723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243044150,"filename":"image_03112025_23_10_42_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4944aa8e6e1ba3b0ec44132097ae8f6.jpg","text":"TemporaryFile(/tmp/multipartBody1829777140600329727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243044150,"filename":"image_03112025_23_10_53_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36dd8e87ac2fad6d860324fe6839e2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1654285971135045193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243044150,"filename":"image_03112025_23_10_23_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04ca2396efb02185f6a8be648c6c01d8.jpg","text":"TemporaryFile(/tmp/multipartBody6978576107950129613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243044150,"filename":"image_03112025_23_10_32_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c95081553554c336e4da3c804ea03af4.jpg","text":"TemporaryFile(/tmp/multipartBody2982683241267171445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243044150,"filename":"image_03112025_23_10_45_3747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982065","file1":"1401982064","file0":"1401982062","file4":"1401982067","file5":"1401982069","file3":"1401982066"},"map_files_photo_id_array":[{"photo_id":"1401982069","filename":"file5"},{"photo_id":"1401982065","filename":"file2"},{"photo_id":"1401982067","filename":"file4"},{"photo_id":"1401982064","filename":"file1"},{"photo_id":"1401982062","filename":"file0"},{"photo_id":"1401982066","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401982064":["hashtag1","hashtag2"]},{"1401982066":["hashtag1","hashtag2"]},{"1401982069":["hashtag1","hashtag2"]},{"1401982062":["hashtag1","hashtag2"]},{"1401982065":["hashtag1","hashtag2"]},{"1401982067":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401982064, 1401982066, 1401982069, 1401982062, 1401982065, 1401982067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36303353309631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:50:22.560715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_14_9845.jpg', '/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_25_10721.jpg', '/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_34_9569.jpg', '/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_44_9821.jpg', '/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_55_10733.jpg', '/home/pi/Desktop/images/01012026/04/51/image_01012026_04_52_05_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_14_9845.jpg
/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_25_10721.jpg
/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_34_9569.jpg
/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_44_9821.jpg
/home/pi/Desktop/images/01012026/04/51/image_01012026_04_51_55_10733.jpg
/home/pi/Desktop/images/01012026/04/51/image_01012026_04_52_05_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":["1401982074","1401982083","1401982077","1401982071","1401982079","1401982073"],"photo_ids_order":["1401982071","1401982073","1401982074","1401982077","1401982079","1401982083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a0928dfd76b38b0d8470bb9e652db4f.jpg","text":"TemporaryFile(/tmp/multipartBody3128839024005932320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243083148,"filename":"image_01012026_04_51_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d88a59932d03b58b28468254374c638.jpg","text":"TemporaryFile(/tmp/multipartBody1090376068606050810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243083148,"filename":"image_01012026_04_52_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31c76b42115d8f2efa8f827861255a37.jpg","text":"TemporaryFile(/tmp/multipartBody6347553650421090422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243083148,"filename":"image_01012026_04_51_44_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/585296e48826f3a36ecf5106a8fd27e5.jpg","text":"TemporaryFile(/tmp/multipartBody5763383812856951671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243083148,"filename":"image_01012026_04_51_14_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0814382a921c01cd78ae17c9f195d436.jpg","text":"TemporaryFile(/tmp/multipartBody2282962959008045791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243083148,"filename":"image_01012026_04_51_55_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc52fb85a60fbffb4eab6b271443c67b.jpg","text":"TemporaryFile(/tmp/multipartBody7580908926466694706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243083148,"filename":"image_01012026_04_51_25_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982074","file1":"1401982073","file0":"1401982071","file4":"1401982079","file5":"1401982083","file3":"1401982077"},"map_files_photo_id_array":[{"photo_id":"1401982083","filename":"file5"},{"photo_id":"1401982074","filename":"file2"},{"photo_id":"1401982079","filename":"file4"},{"photo_id":"1401982073","filename":"file1"},{"photo_id":"1401982071","filename":"file0"},{"photo_id":"1401982077","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982074":["hashtag1","hashtag2"]},{"1401982083":["hashtag1","hashtag2"]},{"1401982077":["hashtag1","hashtag2"]},{"1401982071":["hashtag1","hashtag2"]},{"1401982079":["hashtag1","hashtag2"]},{"1401982073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982074, 1401982083, 1401982077, 1401982071, 1401982079, 1401982073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.093400716781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:51:03.364266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_14_9756.jpg', '/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_25_10615.jpg', '/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_35_9567.jpg', '/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_44_9787.jpg', '/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_55_10580.jpg', '/home/pi/Desktop/images/01012026/04/52/image_01012026_04_53_04_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_14_9756.jpg
/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_25_10615.jpg
/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_35_9567.jpg
/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_44_9787.jpg
/home/pi/Desktop/images/01012026/04/52/image_01012026_04_52_55_10580.jpg
/home/pi/Desktop/images/01012026/04/52/image_01012026_04_53_04_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982087","1401982089","1401982086","1401982091","1401982085","1401982088"],"photo_ids_order":["1401982085","1401982086","1401982087","1401982088","1401982089","1401982091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3292eb3c9c4ba978270a790e11e04a25.jpg","text":"TemporaryFile(/tmp/multipartBody2986090645990051127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243124013,"filename":"image_01012026_04_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/2026/1/1/84bf832cc524e9c7ebf2c82916ac0551.jpg","text":"TemporaryFile(/tmp/multipartBody745389837118557600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243124013,"filename":"image_01012026_04_52_55_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39cb7e2e27d128785adc6de671ecc168.jpg","text":"TemporaryFile(/tmp/multipartBody7194782091952204431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243124013,"filename":"image_01012026_04_52_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac326681da5dfc853f9ca136e0e7289a.jpg","text":"TemporaryFile(/tmp/multipartBody7226336940003826949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243124013,"filename":"image_01012026_04_53_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d2b16c3fd06d4464a0f7530b9d32930.jpg","text":"TemporaryFile(/tmp/multipartBody6852217483415021062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243124013,"filename":"image_01012026_04_52_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df913ebb3e8cb586492470b57c469847.jpg","text":"TemporaryFile(/tmp/multipartBody5945647492992080418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243124013,"filename":"image_01012026_04_52_44_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982087","file1":"1401982086","file0":"1401982085","file4":"1401982089","file5":"1401982091","file3":"1401982088"},"map_files_photo_id_array":[{"photo_id":"1401982091","filename":"file5"},{"photo_id":"1401982087","filename":"file2"},{"photo_id":"1401982089","filename":"file4"},{"photo_id":"1401982086","filename":"file1"},{"photo_id":"1401982085","filename":"file0"},{"photo_id":"1401982088","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982087":["hashtag1","hashtag2"]},{"1401982089":["hashtag1","hashtag2"]},{"1401982086":["hashtag1","hashtag2"]},{"1401982091":["hashtag1","hashtag2"]},{"1401982085":["hashtag1","hashtag2"]},{"1401982088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982087, 1401982089, 1401982086, 1401982091, 1401982085, 1401982088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.447404861450195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:51:42.714192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_57_3720.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_06_3619.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_09_2893.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_11_2543.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_15_3331.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_27_9298.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/10/image_03112025_23_10_57_3720.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_06_3619.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_09_2893.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_11_2543.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_15_3331.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_27_9298.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982103","1401982100","1401982099","1401982102","1401982097","1401982101"],"photo_ids_order":["1401982097","1401982099","1401982100","1401982101","1401982102","1401982103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00cf2d013e38795bb17b73467cf1c097.jpg","text":"TemporaryFile(/tmp/multipartBody3005745468995319601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243164484,"filename":"image_03112025_23_11_27_9298.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/547ae4e49012e49003eaab322acda94e.jpg","text":"TemporaryFile(/tmp/multipartBody7914774240146332828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243164484,"filename":"image_03112025_23_11_09_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7405e3d8b5e83092a038fada121bc552.jpg","text":"TemporaryFile(/tmp/multipartBody3277397540599058625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243164484,"filename":"image_03112025_23_11_06_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26ecd5566f3f9c57814e909f57a24376.jpg","text":"TemporaryFile(/tmp/multipartBody8394930349350086159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243164484,"filename":"image_03112025_23_11_15_3331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18f6e6c9008f5e6798b7de0cad1d18da.jpg","text":"TemporaryFile(/tmp/multipartBody263003419216961489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243164484,"filename":"image_03112025_23_10_57_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59be208540223b21c9ae2ce7e63134a3.jpg","text":"TemporaryFile(/tmp/multipartBody1264684844815959577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243164484,"filename":"image_03112025_23_11_11_2543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982100","file1":"1401982099","file0":"1401982097","file4":"1401982102","file5":"1401982103","file3":"1401982101"},"map_files_photo_id_array":[{"photo_id":"1401982103","filename":"file5"},{"photo_id":"1401982100","filename":"file2"},{"photo_id":"1401982102","filename":"file4"},{"photo_id":"1401982099","filename":"file1"},{"photo_id":"1401982097","filename":"file0"},{"photo_id":"1401982101","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401982103":["hashtag1","hashtag2"]},{"1401982100":["hashtag1","hashtag2"]},{"1401982099":["hashtag1","hashtag2"]},{"1401982102":["hashtag1","hashtag2"]},{"1401982097":["hashtag1","hashtag2"]},{"1401982101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401982103, 1401982100, 1401982099, 1401982102, 1401982097, 1401982101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.444355726242065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:52:21.856051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_14_9646.jpg', '/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_25_10710.jpg', '/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_35_9777.jpg', '/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_44_9533.jpg', '/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_55_10638.jpg', '/home/pi/Desktop/images/01012026/04/53/image_01012026_04_54_04_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_14_9646.jpg
/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_25_10710.jpg
/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_35_9777.jpg
/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_44_9533.jpg
/home/pi/Desktop/images/01012026/04/53/image_01012026_04_53_55_10638.jpg
/home/pi/Desktop/images/01012026/04/53/image_01012026_04_54_04_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":["1401982112","1401982106","1401982108","1401982110","1401982116","1401982104"],"photo_ids_order":["1401982104","1401982106","1401982108","1401982110","1401982112","1401982116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a945ac7e5ef8eee68f8947ba6bb5877.jpg","text":"TemporaryFile(/tmp/multipartBody3113376553004970851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243202438,"filename":"image_01012026_04_53_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4856ad9157147d0649c47ce974b04a92.jpg","text":"TemporaryFile(/tmp/multipartBody5256147147554020677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243202438,"filename":"image_01012026_04_53_25_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f76cd53ad3842ddce0243dbc40a99f9.jpg","text":"TemporaryFile(/tmp/multipartBody2645514170517252861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243202438,"filename":"image_01012026_04_53_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90ec0604b119df82035a8363943c5205.jpg","text":"TemporaryFile(/tmp/multipartBody3150139951357559487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243202438,"filename":"image_01012026_04_53_44_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/accfdc30f823b625b405b157790b6693.jpg","text":"TemporaryFile(/tmp/multipartBody3216764662530974884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243202438,"filename":"image_01012026_04_54_04_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19db1ec0c827f8f56e52f137bf57fc07.jpg","text":"TemporaryFile(/tmp/multipartBody4626225744435555349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243202438,"filename":"image_01012026_04_53_14_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982108","file1":"1401982106","file0":"1401982104","file4":"1401982112","file5":"1401982116","file3":"1401982110"},"map_files_photo_id_array":[{"photo_id":"1401982116","filename":"file5"},{"photo_id":"1401982108","filename":"file2"},{"photo_id":"1401982112","filename":"file4"},{"photo_id":"1401982106","filename":"file1"},{"photo_id":"1401982104","filename":"file0"},{"photo_id":"1401982110","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982112":["hashtag1","hashtag2"]},{"1401982106":["hashtag1","hashtag2"]},{"1401982108":["hashtag1","hashtag2"]},{"1401982110":["hashtag1","hashtag2"]},{"1401982116":["hashtag1","hashtag2"]},{"1401982104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982112, 1401982106, 1401982108, 1401982110, 1401982116, 1401982104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.857905864715576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:53:02.638261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_14_9671.jpg', '/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_25_10617.jpg', '/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_34_9647.jpg', '/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_45_10637.jpg', '/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_55_9637.jpg', '/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_15_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_14_9671.jpg
/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_25_10617.jpg
/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_34_9647.jpg
/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_45_10637.jpg
/home/pi/Desktop/images/01012026/04/54/image_01012026_04_54_55_9637.jpg
/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_15_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":["1401982121","1401982124","1401982118","1401982120","1401982119","1401982122"],"photo_ids_order":["1401982118","1401982119","1401982120","1401982121","1401982122","1401982124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb6ea6473a6a207eb22e6b5487bfd6d7.jpg","text":"TemporaryFile(/tmp/multipartBody5133793422273568941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243243329,"filename":"image_01012026_04_54_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2eca35e4b170554c5b908a3c2cd5609.jpg","text":"TemporaryFile(/tmp/multipartBody1376277462669111727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243243329,"filename":"image_01012026_04_55_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7afe2a3a0370d277dc7b9b8e171e0166.jpg","text":"TemporaryFile(/tmp/multipartBody8659560654416243307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243243329,"filename":"image_01012026_04_54_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c985ce3e5ab8125dca0cb68443d79fab.jpg","text":"TemporaryFile(/tmp/multipartBody807343366900230432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243243329,"filename":"image_01012026_04_54_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9835ab4c8e0a1dfa2a38a9556890f9b.jpg","text":"TemporaryFile(/tmp/multipartBody5895943120310311766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243243329,"filename":"image_01012026_04_54_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cafe8e17a8d495c0c20b996ebc2f0491.jpg","text":"TemporaryFile(/tmp/multipartBody6693409406660179787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243243329,"filename":"image_01012026_04_54_55_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982120","file1":"1401982119","file0":"1401982118","file4":"1401982122","file5":"1401982124","file3":"1401982121"},"map_files_photo_id_array":[{"photo_id":"1401982124","filename":"file5"},{"photo_id":"1401982120","filename":"file2"},{"photo_id":"1401982122","filename":"file4"},{"photo_id":"1401982119","filename":"file1"},{"photo_id":"1401982118","filename":"file0"},{"photo_id":"1401982121","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982121":["hashtag1","hashtag2"]},{"1401982124":["hashtag1","hashtag2"]},{"1401982118":["hashtag1","hashtag2"]},{"1401982120":["hashtag1","hashtag2"]},{"1401982119":["hashtag1","hashtag2"]},{"1401982122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982121, 1401982124, 1401982118, 1401982120, 1401982119, 1401982122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47084140777588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:53:42.062136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_37_1633.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_39_1854.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_43_1655.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_45_1726.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_48_1645.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_53_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/23/11/image_03112025_23_11_37_1633.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_39_1854.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_43_1655.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_45_1726.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_48_1645.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_53_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":["1401982133","1401982136","1401982135","1401982129","1401982137","1401982134"],"photo_ids_order":["1401982129","1401982133","1401982134","1401982135","1401982136","1401982137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c23cbb73f455d89314093c119e17971d.jpg","text":"TemporaryFile(/tmp/multipartBody2400448258488094873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243283824,"filename":"image_03112025_23_11_39_1854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e91d60898dee51e22a53c16ca66cbef5.jpg","text":"TemporaryFile(/tmp/multipartBody3974007323565416600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243283824,"filename":"image_03112025_23_11_48_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92334736a30b9bd7c83b70b99a988727.jpg","text":"TemporaryFile(/tmp/multipartBody8659802216380942180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243283824,"filename":"image_03112025_23_11_45_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/544e3f928b38d5aaee1b73ff39781972.jpg","text":"TemporaryFile(/tmp/multipartBody2585653119264634094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243283824,"filename":"image_03112025_23_11_37_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df977a8ebc71a537829f5302e7c497fe.jpg","text":"TemporaryFile(/tmp/multipartBody9054984405030788100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243283824,"filename":"image_03112025_23_11_53_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ef7f6a419ff13d1e39415a1f42a9bb9.jpg","text":"TemporaryFile(/tmp/multipartBody3183530052185819833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243283824,"filename":"image_03112025_23_11_43_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982134","file1":"1401982133","file0":"1401982129","file4":"1401982136","file5":"1401982137","file3":"1401982135"},"map_files_photo_id_array":[{"photo_id":"1401982137","filename":"file5"},{"photo_id":"1401982134","filename":"file2"},{"photo_id":"1401982136","filename":"file4"},{"photo_id":"1401982133","filename":"file1"},{"photo_id":"1401982129","filename":"file0"},{"photo_id":"1401982135","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401982133":["hashtag1","hashtag2"]},{"1401982136":["hashtag1","hashtag2"]},{"1401982135":["hashtag1","hashtag2"]},{"1401982129":["hashtag1","hashtag2"]},{"1401982137":["hashtag1","hashtag2"]},{"1401982134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401982133, 1401982136, 1401982135, 1401982129, 1401982137, 1401982134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70036029815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:54:22.291000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_25_9620.jpg', '/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_34_9640.jpg', '/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_45_10698.jpg', '/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_54_9530.jpg', '/home/pi/Desktop/images/01012026/04/55/image_01012026_04_56_04_9703.jpg', '/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_15_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_25_9620.jpg
/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_34_9640.jpg
/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_45_10698.jpg
/home/pi/Desktop/images/01012026/04/55/image_01012026_04_55_54_9530.jpg
/home/pi/Desktop/images/01012026/04/55/image_01012026_04_56_04_9703.jpg
/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_15_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982148","1401982145","1401982139","1401982141","1401982138","1401982143"],"photo_ids_order":["1401982138","1401982139","1401982141","1401982143","1401982145","1401982148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e14f5a7e35a98296ac0945b6a1fe5d03.jpg","text":"TemporaryFile(/tmp/multipartBody7133891194577919707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243322880,"filename":"image_01012026_04_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/2026/1/1/8ec82554ffdcaf13faeb4e6a0bbdd4a1.jpg","text":"TemporaryFile(/tmp/multipartBody524720921232229886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243322880,"filename":"image_01012026_04_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/2026/1/1/2d9b938c34fff171a5fa36211dd2afca.jpg","text":"TemporaryFile(/tmp/multipartBody7522599048281932977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243322880,"filename":"image_01012026_04_55_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d25392da68cdf1336bb8ac09e76650e0.jpg","text":"TemporaryFile(/tmp/multipartBody4640524057056286693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243322880,"filename":"image_01012026_04_55_45_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f5aff5eeb25b0eda3be3e7f95356083.jpg","text":"TemporaryFile(/tmp/multipartBody7216095481598516425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243322880,"filename":"image_01012026_04_55_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6ee5ac0c88ac533690abd466d679374.jpg","text":"TemporaryFile(/tmp/multipartBody5095614822537922649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243322880,"filename":"image_01012026_04_55_54_9530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982141","file1":"1401982139","file0":"1401982138","file4":"1401982145","file5":"1401982148","file3":"1401982143"},"map_files_photo_id_array":[{"photo_id":"1401982148","filename":"file5"},{"photo_id":"1401982141","filename":"file2"},{"photo_id":"1401982145","filename":"file4"},{"photo_id":"1401982139","filename":"file1"},{"photo_id":"1401982138","filename":"file0"},{"photo_id":"1401982143","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982148":["hashtag1","hashtag2"]},{"1401982145":["hashtag1","hashtag2"]},{"1401982139":["hashtag1","hashtag2"]},{"1401982141":["hashtag1","hashtag2"]},{"1401982138":["hashtag1","hashtag2"]},{"1401982143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982148, 1401982145, 1401982139, 1401982141, 1401982138, 1401982143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32528614997864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:55:03.130036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_24_9571.jpg', '/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_35_10672.jpg', '/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_45_9563.jpg', '/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_54_9677.jpg', '/home/pi/Desktop/images/01012026/04/56/image_01012026_04_57_05_10690.jpg', '/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_15_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_24_9571.jpg
/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_35_10672.jpg
/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_45_9563.jpg
/home/pi/Desktop/images/01012026/04/56/image_01012026_04_56_54_9677.jpg
/home/pi/Desktop/images/01012026/04/56/image_01012026_04_57_05_10690.jpg
/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_15_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982160","1401982154","1401982157","1401982162","1401982159","1401982156"],"photo_ids_order":["1401982154","1401982156","1401982157","1401982159","1401982160","1401982162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f95205b77efb0fe70e6faa29fea91d95.jpg","text":"TemporaryFile(/tmp/multipartBody6511050678121520124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243363829,"filename":"image_01012026_04_57_05_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c23db7b2a815b975883ade43ed146a71.jpg","text":"TemporaryFile(/tmp/multipartBody5584470978295686843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243363829,"filename":"image_01012026_04_56_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0873fc10ffc5a97f5a43e3275b58ff16.jpg","text":"TemporaryFile(/tmp/multipartBody259523506367340127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243363829,"filename":"image_01012026_04_56_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f379274c39cde62186948ded3e3bda4.jpg","text":"TemporaryFile(/tmp/multipartBody9186186950353095051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243363829,"filename":"image_01012026_04_57_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6022e1944bc106521039e558bcd09943.jpg","text":"TemporaryFile(/tmp/multipartBody1395924062719093256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243363829,"filename":"image_01012026_04_56_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63ea36166fff64773dd025285532d701.jpg","text":"TemporaryFile(/tmp/multipartBody8721172385843617562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243363829,"filename":"image_01012026_04_56_35_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982157","file1":"1401982156","file0":"1401982154","file4":"1401982160","file5":"1401982162","file3":"1401982159"},"map_files_photo_id_array":[{"photo_id":"1401982162","filename":"file5"},{"photo_id":"1401982157","filename":"file2"},{"photo_id":"1401982160","filename":"file4"},{"photo_id":"1401982156","filename":"file1"},{"photo_id":"1401982154","filename":"file0"},{"photo_id":"1401982159","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982160":["hashtag1","hashtag2"]},{"1401982154":["hashtag1","hashtag2"]},{"1401982157":["hashtag1","hashtag2"]},{"1401982162":["hashtag1","hashtag2"]},{"1401982159":["hashtag1","hashtag2"]},{"1401982156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982160, 1401982154, 1401982157, 1401982162, 1401982159, 1401982156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.052526235580444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:55:42.439352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_57_3650.jpg', '/home/pi/Desktop/images/03112025/23/11/image_03112025_23_12_00_2879.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_12_2759.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_18_3599.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_20_2591.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_23_2747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_11_57_3650.jpg
/home/pi/Desktop/images/03112025/23/11/image_03112025_23_12_00_2879.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_12_2759.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_18_3599.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_20_2591.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_23_2747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982169","1401982171","1401982173","1401982167","1401982170","1401982172"],"photo_ids_order":["1401982167","1401982169","1401982170","1401982171","1401982172","1401982173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8255e9d7fac8ce255c5ecbbf2b1c7e40.jpg","text":"TemporaryFile(/tmp/multipartBody4814700339095009423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243404252,"filename":"image_03112025_23_12_00_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11284be99483fbc3f0f3dd4b2c2f8019.jpg","text":"TemporaryFile(/tmp/multipartBody4588608169125090364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243404252,"filename":"image_03112025_23_12_18_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4382c1557a8dcbaa86f61b80ade8b8b5.jpg","text":"TemporaryFile(/tmp/multipartBody9142589065522548000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243404252,"filename":"image_03112025_23_12_23_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0577a975b55fc486340cbfc6c65b0ee.jpg","text":"TemporaryFile(/tmp/multipartBody619640176649712187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243404252,"filename":"image_03112025_23_11_57_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1db4048def831e8726227b7173166246.jpg","text":"TemporaryFile(/tmp/multipartBody1106385642664103544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243404252,"filename":"image_03112025_23_12_12_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bfee17c96c27f4e33adbe0b6c3115f9.jpg","text":"TemporaryFile(/tmp/multipartBody831073942585252511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243404252,"filename":"image_03112025_23_12_20_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982170","file1":"1401982169","file0":"1401982167","file4":"1401982172","file5":"1401982173","file3":"1401982171"},"map_files_photo_id_array":[{"photo_id":"1401982173","filename":"file5"},{"photo_id":"1401982170","filename":"file2"},{"photo_id":"1401982172","filename":"file4"},{"photo_id":"1401982169","filename":"file1"},{"photo_id":"1401982167","filename":"file0"},{"photo_id":"1401982171","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401982169":["hashtag1","hashtag2"]},{"1401982171":["hashtag1","hashtag2"]},{"1401982173":["hashtag1","hashtag2"]},{"1401982167":["hashtag1","hashtag2"]},{"1401982170":["hashtag1","hashtag2"]},{"1401982172":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401982169, 1401982171, 1401982173, 1401982167, 1401982170, 1401982172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93699812889099 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 05:56:32.670490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_27_3679.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_29_2579.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_33_3627.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_36_2673.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_41_4770.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_42_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_27_3679.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_29_2579.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_33_3627.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_36_2673.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_41_4770.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_42_1704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401982181","1401982183","1401982185","1401982176","1401982184","1401982178"],"photo_ids_order":["1401982176","1401982178","1401982181","1401982183","1401982184","1401982185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d5e09c40382ee912ef48658ac533704.jpg","text":"TemporaryFile(/tmp/multipartBody8056918652859018068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243454442,"filename":"image_03112025_23_12_33_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/257fc7cac5ceadc41c7c27f07ef02b69.jpg","text":"TemporaryFile(/tmp/multipartBody3925283657192846730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243454442,"filename":"image_03112025_23_12_36_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36d231d592f4dd18567eb876bbd7d091.jpg","text":"TemporaryFile(/tmp/multipartBody7004826748223016904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243454442,"filename":"image_03112025_23_12_42_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a5dba8aec3f1a61fd038fa442c32239.jpg","text":"TemporaryFile(/tmp/multipartBody9201824962494233373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243454442,"filename":"image_03112025_23_12_27_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cd08887b8b14041f13f3df5007b39c1.jpg","text":"TemporaryFile(/tmp/multipartBody1146936503984263561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243454442,"filename":"image_03112025_23_12_41_4770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35c84ce06578aef2f26f797e6d822456.jpg","text":"TemporaryFile(/tmp/multipartBody5720398545172891626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243454442,"filename":"image_03112025_23_12_29_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982181","file1":"1401982178","file0":"1401982176","file4":"1401982184","file5":"1401982185","file3":"1401982183"},"map_files_photo_id_array":[{"photo_id":"1401982185","filename":"file5"},{"photo_id":"1401982181","filename":"file2"},{"photo_id":"1401982184","filename":"file4"},{"photo_id":"1401982178","filename":"file1"},{"photo_id":"1401982176","filename":"file0"},{"photo_id":"1401982183","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401982181":["hashtag1","hashtag2"]},{"1401982183":["hashtag1","hashtag2"]},{"1401982185":["hashtag1","hashtag2"]},{"1401982176":["hashtag1","hashtag2"]},{"1401982184":["hashtag1","hashtag2"]},{"1401982178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401982181, 1401982183, 1401982185, 1401982176, 1401982184, 1401982178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.482024908065796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 05:57:22.746821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_24_9704.jpg', '/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_35_10585.jpg', '/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_45_9822.jpg', '/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_54_9591.jpg', '/home/pi/Desktop/images/01012026/04/57/image_01012026_04_58_05_10722.jpg', '/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_15_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_24_9704.jpg
/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_35_10585.jpg
/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_45_9822.jpg
/home/pi/Desktop/images/01012026/04/57/image_01012026_04_57_54_9591.jpg
/home/pi/Desktop/images/01012026/04/57/image_01012026_04_58_05_10722.jpg
/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_15_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":["1401982195","1401982198","1401982191","1401982197","1401982196","1401982193"],"photo_ids_order":["1401982191","1401982193","1401982195","1401982196","1401982197","1401982198"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/870c4c79469df6d82cac198a721e1ba3.jpg","text":"TemporaryFile(/tmp/multipartBody7353157676502695158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243503797,"filename":"image_01012026_04_57_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0716b20e3dec2fbd22ffdd82a919aecc.jpg","text":"TemporaryFile(/tmp/multipartBody1446255818398611895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243503797,"filename":"image_01012026_04_58_15_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48c5d7c44afeeb8c13e23a9a32c7e531.jpg","text":"TemporaryFile(/tmp/multipartBody2377339192051034804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243503797,"filename":"image_01012026_04_57_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74635e7a5947f9a449b9c60829876979.jpg","text":"TemporaryFile(/tmp/multipartBody1428899175640165126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243503797,"filename":"image_01012026_04_58_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ef54806f4f63c9568cb2d49d054c064.jpg","text":"TemporaryFile(/tmp/multipartBody88510314979087261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243503797,"filename":"image_01012026_04_57_54_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5461ef1d64d3143394ad137acd4012b1.jpg","text":"TemporaryFile(/tmp/multipartBody2196362398414679692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243503797,"filename":"image_01012026_04_57_35_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982195","file1":"1401982193","file0":"1401982191","file4":"1401982197","file5":"1401982198","file3":"1401982196"},"map_files_photo_id_array":[{"photo_id":"1401982198","filename":"file5"},{"photo_id":"1401982195","filename":"file2"},{"photo_id":"1401982197","filename":"file4"},{"photo_id":"1401982193","filename":"file1"},{"photo_id":"1401982191","filename":"file0"},{"photo_id":"1401982196","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982195":["hashtag1","hashtag2"]},{"1401982198":["hashtag1","hashtag2"]},{"1401982191":["hashtag1","hashtag2"]},{"1401982197":["hashtag1","hashtag2"]},{"1401982196":["hashtag1","hashtag2"]},{"1401982193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982195, 1401982198, 1401982191, 1401982197, 1401982196, 1401982193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18464708328247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 05:59:02.621724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_24_9670.jpg', '/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_34_9794.jpg', '/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_45_10698.jpg', '/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_54_9663.jpg', '/home/pi/Desktop/images/01012026/04/58/image_01012026_04_59_04_9675.jpg', '/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_15_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_24_9670.jpg
/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_34_9794.jpg
/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_45_10698.jpg
/home/pi/Desktop/images/01012026/04/58/image_01012026_04_58_54_9663.jpg
/home/pi/Desktop/images/01012026/04/58/image_01012026_04_59_04_9675.jpg
/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_15_10718.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":["1401982585","1401982523","1401982588","1401982561","1401982590","1401982592"],"photo_ids_order":["1401982523","1401982561","1401982585","1401982588","1401982590","1401982592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65fa5e76788adc61c86456e1a331cea6.jpg","text":"TemporaryFile(/tmp/multipartBody8620272026711755113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243604558,"filename":"image_01012026_04_58_45_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3af7d53106b5cd5a00e85e0d072c271.jpg","text":"TemporaryFile(/tmp/multipartBody8782778797714399931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243604558,"filename":"image_01012026_04_58_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe6ae371cade9d2cfdf3203668988e9c.jpg","text":"TemporaryFile(/tmp/multipartBody1595656212946930951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243604558,"filename":"image_01012026_04_58_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f66e27786f69da6280e700c47220c5c8.jpg","text":"TemporaryFile(/tmp/multipartBody2050778380660314344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243604558,"filename":"image_01012026_04_58_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5191eef9e28f5f81677136da653b448b.jpg","text":"TemporaryFile(/tmp/multipartBody3143039440275669168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243604558,"filename":"image_01012026_04_59_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d070583b992253dae1f4dd78d2b11749.jpg","text":"TemporaryFile(/tmp/multipartBody215464404154177779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243604558,"filename":"image_01012026_04_59_15_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982585","file1":"1401982561","file0":"1401982523","file4":"1401982590","file5":"1401982592","file3":"1401982588"},"map_files_photo_id_array":[{"photo_id":"1401982592","filename":"file5"},{"photo_id":"1401982585","filename":"file2"},{"photo_id":"1401982590","filename":"file4"},{"photo_id":"1401982561","filename":"file1"},{"photo_id":"1401982523","filename":"file0"},{"photo_id":"1401982588","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401982585":["hashtag1","hashtag2"]},{"1401982523":["hashtag1","hashtag2"]},{"1401982588":["hashtag1","hashtag2"]},{"1401982561":["hashtag1","hashtag2"]},{"1401982590":["hashtag1","hashtag2"]},{"1401982592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401982585, 1401982523, 1401982588, 1401982561, 1401982590, 1401982592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5572395324707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:00:02.782977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_25_9753.jpg', '/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_37_12214.jpg', '/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_44_7628.jpg', '/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_54_9680.jpg', '/home/pi/Desktop/images/01012026/04/59/image_01012026_05_00_05_10820.jpg', '/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_15_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_25_9753.jpg
/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_37_12214.jpg
/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_44_7628.jpg
/home/pi/Desktop/images/01012026/04/59/image_01012026_04_59_54_9680.jpg
/home/pi/Desktop/images/01012026/04/59/image_01012026_05_00_05_10820.jpg
/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_15_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":["1401983067","1401982906","1401982869","1401982830","1401983027","1401982964"],"photo_ids_order":["1401982830","1401982869","1401982906","1401982964","1401983027","1401983067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6c199d660b6a1a9a931c2213e9baad1.jpg","text":"TemporaryFile(/tmp/multipartBody3016021934200655676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243663506,"filename":"image_01012026_05_00_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d54209f53d4f9f2514c91b9e87ed712f.jpg","text":"TemporaryFile(/tmp/multipartBody4325298645625887314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243663506,"filename":"image_01012026_04_59_44_7628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42d5041797c0dc384178659c9c937557.jpg","text":"TemporaryFile(/tmp/multipartBody8887107898700752701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243663506,"filename":"image_01012026_04_59_37_12214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd0fd658ed80522346d04838799a56c2.jpg","text":"TemporaryFile(/tmp/multipartBody1150561177196722136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243663506,"filename":"image_01012026_04_59_25_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9c25c86096f7344ac53c42819784f8e.jpg","text":"TemporaryFile(/tmp/multipartBody5056086173433503784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243663506,"filename":"image_01012026_05_00_05_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91f2e1fa2b8d0ffc873c01a60a25e9b9.jpg","text":"TemporaryFile(/tmp/multipartBody2946828633632817592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243663506,"filename":"image_01012026_04_59_54_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401982906","file1":"1401982869","file0":"1401982830","file4":"1401983027","file5":"1401983067","file3":"1401982964"},"map_files_photo_id_array":[{"photo_id":"1401983067","filename":"file5"},{"photo_id":"1401982906","filename":"file2"},{"photo_id":"1401983027","filename":"file4"},{"photo_id":"1401982869","filename":"file1"},{"photo_id":"1401982830","filename":"file0"},{"photo_id":"1401982964","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401983067":["hashtag1","hashtag2"]},{"1401982906":["hashtag1","hashtag2"]},{"1401982869":["hashtag1","hashtag2"]},{"1401982830":["hashtag1","hashtag2"]},{"1401983027":["hashtag1","hashtag2"]},{"1401982964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401983067, 1401982906, 1401982869, 1401982830, 1401983027, 1401982964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88241386413574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:00:42.348253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_45_2646.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_54_2719.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_57_3031.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_03_3129.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_06_2673.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_32_1958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_45_2646.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_54_2719.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_57_3031.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_03_3129.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_06_2673.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_32_1958.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.650245189666748 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:01:03.185638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_24_9619.jpg', '/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_35_10631.jpg', '/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_44_9267.jpg', '/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_54_10248.jpg', '/home/pi/Desktop/images/01012026/05/00/image_01012026_05_01_05_10688.jpg', '/home/pi/Desktop/images/01012026/05/01/image_01012026_05_01_14_9166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_24_9619.jpg
/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_35_10631.jpg
/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_44_9267.jpg
/home/pi/Desktop/images/01012026/05/00/image_01012026_05_00_54_10248.jpg
/home/pi/Desktop/images/01012026/05/00/image_01012026_05_01_05_10688.jpg
/home/pi/Desktop/images/01012026/05/01/image_01012026_05_01_14_9166.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":["1401983386","1401983388","1401983382","1401983391","1401983393","1401983384"],"photo_ids_order":["1401983382","1401983384","1401983386","1401983388","1401983391","1401983393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dfdba6163a3252868cf165637929790.jpg","text":"TemporaryFile(/tmp/multipartBody6449534779131691714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243723814,"filename":"image_01012026_05_00_44_9267.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ac7b8e09f8f2977b86be05a63e31e26.jpg","text":"TemporaryFile(/tmp/multipartBody8324097983560041683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243723814,"filename":"image_01012026_05_00_54_10248.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6deacec5b2f1c6de95b2adbdf4a898a0.jpg","text":"TemporaryFile(/tmp/multipartBody2763613087645263349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243723814,"filename":"image_01012026_05_00_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6ec1b809417b5c258aa415545893181.jpg","text":"TemporaryFile(/tmp/multipartBody7066058021663937121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243723814,"filename":"image_01012026_05_01_05_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b4d2307e8884954d7624f5b00527ebb.jpg","text":"TemporaryFile(/tmp/multipartBody751233943963609072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243723814,"filename":"image_01012026_05_01_14_9166.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ff43c79d216af93042999529f60dc9e.jpg","text":"TemporaryFile(/tmp/multipartBody4631700424719824797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243723814,"filename":"image_01012026_05_00_35_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401983386","file1":"1401983384","file0":"1401983382","file4":"1401983391","file5":"1401983393","file3":"1401983388"},"map_files_photo_id_array":[{"photo_id":"1401983393","filename":"file5"},{"photo_id":"1401983386","filename":"file2"},{"photo_id":"1401983391","filename":"file4"},{"photo_id":"1401983384","filename":"file1"},{"photo_id":"1401983382","filename":"file0"},{"photo_id":"1401983388","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401983386":["hashtag1","hashtag2"]},{"1401983388":["hashtag1","hashtag2"]},{"1401983382":["hashtag1","hashtag2"]},{"1401983391":["hashtag1","hashtag2"]},{"1401983393":["hashtag1","hashtag2"]},{"1401983384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401983386, 1401983388, 1401983382, 1401983391, 1401983393, 1401983384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.77205276489258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:02:03.217107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/01/image_01012026_05_01_25_10556.jpg', '/home/pi/Desktop/images/01012026/05/01/image_01012026_05_01_45_9707.jpg', '/home/pi/Desktop/images/01012026/05/01/image_01012026_05_01_54_9651.jpg', '/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_04_9673.jpg', '/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_15_10801.jpg', '/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_25_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/01/image_01012026_05_01_25_10556.jpg
/home/pi/Desktop/images/01012026/05/01/image_01012026_05_01_45_9707.jpg
/home/pi/Desktop/images/01012026/05/01/image_01012026_05_01_54_9651.jpg
/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_04_9673.jpg
/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_15_10801.jpg
/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_25_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":["1401983695","1401984025","1401983548","1401983914","1401983817","1401984152"],"photo_ids_order":["1401983548","1401983695","1401983817","1401983914","1401984025","1401984152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd65ad92f7bbdae40e9fdf6a0ff022ea.jpg","text":"TemporaryFile(/tmp/multipartBody7772438465658098024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243783900,"filename":"image_01012026_05_01_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f42b870b2ab17a58774d228739929bb7.jpg","text":"TemporaryFile(/tmp/multipartBody499528243660696833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243783900,"filename":"image_01012026_05_02_15_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/252bda0e96469f99124fef7b369d9fa2.jpg","text":"TemporaryFile(/tmp/multipartBody7166236887088309138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243783900,"filename":"image_01012026_05_01_25_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8cd17b6fc4471501320910c2e2716c6.jpg","text":"TemporaryFile(/tmp/multipartBody6916493420590598193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243783900,"filename":"image_01012026_05_02_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbd0b6e5f54c8d04597a55232dac3a03.jpg","text":"TemporaryFile(/tmp/multipartBody8842655588084976637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243783900,"filename":"image_01012026_05_01_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d71a114d346a48e63cd5659a3be769e.jpg","text":"TemporaryFile(/tmp/multipartBody6914081561730303577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243783900,"filename":"image_01012026_05_02_25_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401983817","file1":"1401983695","file0":"1401983548","file4":"1401984025","file5":"1401984152","file3":"1401983914"},"map_files_photo_id_array":[{"photo_id":"1401984152","filename":"file5"},{"photo_id":"1401983817","filename":"file2"},{"photo_id":"1401984025","filename":"file4"},{"photo_id":"1401983695","filename":"file1"},{"photo_id":"1401983548","filename":"file0"},{"photo_id":"1401983914","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401983695":["hashtag1","hashtag2"]},{"1401984025":["hashtag1","hashtag2"]},{"1401983548":["hashtag1","hashtag2"]},{"1401983914":["hashtag1","hashtag2"]},{"1401983817":["hashtag1","hashtag2"]},{"1401984152":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401983695, 1401984025, 1401983548, 1401983914, 1401983817, 1401984152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47530436515808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:02:42.829697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_45_2646.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_54_2719.jpg', '/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_57_3031.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_03_3129.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_06_2673.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_32_1958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_45_2646.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_54_2719.jpg
/home/pi/Desktop/images/03112025/23/12/image_03112025_23_12_57_3031.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_03_3129.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_06_2673.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_32_1958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401985038","1401984684","1401984965","1401984845","1401984997","1401984931"],"photo_ids_order":["1401984684","1401984845","1401984931","1401984965","1401984997","1401985038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b4594f0502d15af991fb4cf01a40d87.jpg","text":"TemporaryFile(/tmp/multipartBody2135773520645968732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243824513,"filename":"image_03112025_23_13_32_1958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bdcbf24d91d2385269f9f00bb57ec95.jpg","text":"TemporaryFile(/tmp/multipartBody216830773616986137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243824513,"filename":"image_03112025_23_12_45_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa6d6fde510fc64a3dfd2a8ebc4ac47e.jpg","text":"TemporaryFile(/tmp/multipartBody5816761368468727320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243824513,"filename":"image_03112025_23_13_03_3129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0443a123cc2f076e5f26afe7e516d88b.jpg","text":"TemporaryFile(/tmp/multipartBody8385079784322568900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243824513,"filename":"image_03112025_23_12_54_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/962755a16d147e31eba46cface57e810.jpg","text":"TemporaryFile(/tmp/multipartBody9169363250065352468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243824513,"filename":"image_03112025_23_13_06_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d048e63d0777af1815e272a89bf5a7ea.jpg","text":"TemporaryFile(/tmp/multipartBody1005840270813761500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243824513,"filename":"image_03112025_23_12_57_3031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401984931","file1":"1401984845","file0":"1401984684","file4":"1401984997","file5":"1401985038","file3":"1401984965"},"map_files_photo_id_array":[{"photo_id":"1401985038","filename":"file5"},{"photo_id":"1401984931","filename":"file2"},{"photo_id":"1401984997","filename":"file4"},{"photo_id":"1401984845","filename":"file1"},{"photo_id":"1401984684","filename":"file0"},{"photo_id":"1401984965","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401985038":["hashtag1","hashtag2"]},{"1401984684":["hashtag1","hashtag2"]},{"1401984965":["hashtag1","hashtag2"]},{"1401984845":["hashtag1","hashtag2"]},{"1401984997":["hashtag1","hashtag2"]},{"1401984931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401985038, 1401984684, 1401984965, 1401984845, 1401984997, 1401984931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.397459983825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:03:22.026836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_34_9810.jpg', '/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_45_10588.jpg', '/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_55_9889.jpg', '/home/pi/Desktop/images/01012026/05/02/image_01012026_05_03_05_9640.jpg', '/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_14_9737.jpg', '/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_25_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_34_9810.jpg
/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_45_10588.jpg
/home/pi/Desktop/images/01012026/05/02/image_01012026_05_02_55_9889.jpg
/home/pi/Desktop/images/01012026/05/02/image_01012026_05_03_05_9640.jpg
/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_14_9737.jpg
/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_25_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401985371","1401985149","1401985179","1401985268","1401985154","1401985157"],"photo_ids_order":["1401985149","1401985154","1401985157","1401985179","1401985268","1401985371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a300212e6f4de49d8694f6c8961be440.jpg","text":"TemporaryFile(/tmp/multipartBody3345502235184544822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243862637,"filename":"image_01012026_05_03_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/308b5a031983d6465637a96b7eca4f70.jpg","text":"TemporaryFile(/tmp/multipartBody2504919916769471537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243862637,"filename":"image_01012026_05_02_34_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f69746fccc12a00623352569a2e6c3c.jpg","text":"TemporaryFile(/tmp/multipartBody2374570736248294761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243862637,"filename":"image_01012026_05_03_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f7629f459ef3f0d605a9a8231d24849.jpg","text":"TemporaryFile(/tmp/multipartBody9046002481076019232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243862637,"filename":"image_01012026_05_03_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/712b877a13d3a9d0c8c13388de1433d7.jpg","text":"TemporaryFile(/tmp/multipartBody6801630324851708147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243862637,"filename":"image_01012026_05_02_45_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0560514fd088260dd478947c105b53d6.jpg","text":"TemporaryFile(/tmp/multipartBody3679589121978041327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243862637,"filename":"image_01012026_05_02_55_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401985157","file1":"1401985154","file0":"1401985149","file4":"1401985268","file5":"1401985371","file3":"1401985179"},"map_files_photo_id_array":[{"photo_id":"1401985371","filename":"file5"},{"photo_id":"1401985157","filename":"file2"},{"photo_id":"1401985268","filename":"file4"},{"photo_id":"1401985154","filename":"file1"},{"photo_id":"1401985149","filename":"file0"},{"photo_id":"1401985179","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401985371":["hashtag1","hashtag2"]},{"1401985149":["hashtag1","hashtag2"]},{"1401985179":["hashtag1","hashtag2"]},{"1401985268":["hashtag1","hashtag2"]},{"1401985154":["hashtag1","hashtag2"]},{"1401985157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401985371, 1401985149, 1401985179, 1401985268, 1401985154, 1401985157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96227693557739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:04:02.853711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_35_9575.jpg', '/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_44_9573.jpg', '/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_55_10717.jpg', '/home/pi/Desktop/images/01012026/05/03/image_01012026_05_04_04_9522.jpg', '/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_14_9774.jpg', '/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_25_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_35_9575.jpg
/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_44_9573.jpg
/home/pi/Desktop/images/01012026/05/03/image_01012026_05_03_55_10717.jpg
/home/pi/Desktop/images/01012026/05/03/image_01012026_05_04_04_9522.jpg
/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_14_9774.jpg
/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_25_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401985557","1401985641","1401985640","1401985643","1401985523","1401985634"],"photo_ids_order":["1401985523","1401985557","1401985634","1401985640","1401985641","1401985643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc2921967963cd39425a846e40810ad5.jpg","text":"TemporaryFile(/tmp/multipartBody2556890173743945578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243903501,"filename":"image_01012026_05_03_44_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5692541c88b8a861b7d7520e89a99df.jpg","text":"TemporaryFile(/tmp/multipartBody9164336844621388455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243903501,"filename":"image_01012026_05_04_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80d877cd93f7bbdabef715e88849c2ae.jpg","text":"TemporaryFile(/tmp/multipartBody1040675856300680561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243903501,"filename":"image_01012026_05_04_04_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a87a231d7b0036eb07823f79a2adaa2f.jpg","text":"TemporaryFile(/tmp/multipartBody6637862748471386174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243903501,"filename":"image_01012026_05_04_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d075e3ef731163961a034523b0adc793.jpg","text":"TemporaryFile(/tmp/multipartBody8295879748093853844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243903501,"filename":"image_01012026_05_03_35_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1042428aca56f09ff5f92b84496fe740.jpg","text":"TemporaryFile(/tmp/multipartBody5776350541062544321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243903501,"filename":"image_01012026_05_03_55_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401985634","file1":"1401985557","file0":"1401985523","file4":"1401985641","file5":"1401985643","file3":"1401985640"},"map_files_photo_id_array":[{"photo_id":"1401985643","filename":"file5"},{"photo_id":"1401985634","filename":"file2"},{"photo_id":"1401985641","filename":"file4"},{"photo_id":"1401985557","filename":"file1"},{"photo_id":"1401985523","filename":"file0"},{"photo_id":"1401985640","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401985557":["hashtag1","hashtag2"]},{"1401985641":["hashtag1","hashtag2"]},{"1401985640":["hashtag1","hashtag2"]},{"1401985643":["hashtag1","hashtag2"]},{"1401985523":["hashtag1","hashtag2"]},{"1401985634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401985557, 1401985641, 1401985640, 1401985643, 1401985523, 1401985634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83205819129944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:04:42.283570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_33_1598.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_37_1586.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_38_1657.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_40_1721.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_42_1680.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_47_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/23/13/image_03112025_23_13_33_1598.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_37_1586.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_38_1657.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_40_1721.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_42_1680.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_47_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":["1401985850","1401985955","1401985751","1401985745","1401986059","1401985729"],"photo_ids_order":["1401985729","1401985745","1401985751","1401985850","1401985955","1401986059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/447badd574e87f70be269dcd3c903fbe.jpg","text":"TemporaryFile(/tmp/multipartBody5877096282036539479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243944035,"filename":"image_03112025_23_13_40_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbf183698f6d12b5261b23526fe17bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6938302109745687410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243944035,"filename":"image_03112025_23_13_42_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51c4edae21d7644cb841cdf25ce7962f.jpg","text":"TemporaryFile(/tmp/multipartBody9202810402116635924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243944035,"filename":"image_03112025_23_13_38_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/707be5e1dc9d7acb1acd04bdd6661771.jpg","text":"TemporaryFile(/tmp/multipartBody6244757355168043531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243944035,"filename":"image_03112025_23_13_37_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4eefceff1bf2f5e3dd90216e74b1fbb2.jpg","text":"TemporaryFile(/tmp/multipartBody4760420468489960633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243944035,"filename":"image_03112025_23_13_47_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a1a0d2a4b14c3e723b48594dec25d8f.jpg","text":"TemporaryFile(/tmp/multipartBody5881028273538375490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243944035,"filename":"image_03112025_23_13_33_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401985751","file1":"1401985745","file0":"1401985729","file4":"1401985955","file5":"1401986059","file3":"1401985850"},"map_files_photo_id_array":[{"photo_id":"1401986059","filename":"file5"},{"photo_id":"1401985751","filename":"file2"},{"photo_id":"1401985955","filename":"file4"},{"photo_id":"1401985745","filename":"file1"},{"photo_id":"1401985729","filename":"file0"},{"photo_id":"1401985850","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401985850":["hashtag1","hashtag2"]},{"1401985955":["hashtag1","hashtag2"]},{"1401985751":["hashtag1","hashtag2"]},{"1401985745":["hashtag1","hashtag2"]},{"1401986059":["hashtag1","hashtag2"]},{"1401985729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401985850, 1401985955, 1401985751, 1401985745, 1401986059, 1401985729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38618063926697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:05:22.470291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_34_9626.jpg', '/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_44_9649.jpg', '/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_55_10640.jpg', '/home/pi/Desktop/images/01012026/05/04/image_01012026_05_05_04_9610.jpg', '/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_15_10669.jpg', '/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_25_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_34_9626.jpg
/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_44_9649.jpg
/home/pi/Desktop/images/01012026/05/04/image_01012026_05_04_55_10640.jpg
/home/pi/Desktop/images/01012026/05/04/image_01012026_05_05_04_9610.jpg
/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_15_10669.jpg
/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_25_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401986378","1401986612","1401986473","1401986611","1401986617","1401986568"],"photo_ids_order":["1401986378","1401986473","1401986568","1401986611","1401986612","1401986617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36943c26af474498c1b227bb85f498d4.jpg","text":"TemporaryFile(/tmp/multipartBody9021665516865573755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243983058,"filename":"image_01012026_05_04_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/414acdfabd99e8164c3740ae177fb376.jpg","text":"TemporaryFile(/tmp/multipartBody3837023339286498432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243983058,"filename":"image_01012026_05_05_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ea9cccf34ab43e5661c13f7dd8cc7ff.jpg","text":"TemporaryFile(/tmp/multipartBody5180027530236497389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243983058,"filename":"image_01012026_05_04_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d5fad0862bb27d7909d128669d29950.jpg","text":"TemporaryFile(/tmp/multipartBody5708867225166602463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243983058,"filename":"image_01012026_05_05_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/055f88b56400ad7153c1160c1eb0e11a.jpg","text":"TemporaryFile(/tmp/multipartBody365259218792796553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243983058,"filename":"image_01012026_05_05_25_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e38f6f25527a0946260b607edb4d9609.jpg","text":"TemporaryFile(/tmp/multipartBody5531280032949940808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767243983058,"filename":"image_01012026_05_04_55_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401986568","file1":"1401986473","file0":"1401986378","file4":"1401986612","file5":"1401986617","file3":"1401986611"},"map_files_photo_id_array":[{"photo_id":"1401986617","filename":"file5"},{"photo_id":"1401986568","filename":"file2"},{"photo_id":"1401986612","filename":"file4"},{"photo_id":"1401986473","filename":"file1"},{"photo_id":"1401986378","filename":"file0"},{"photo_id":"1401986611","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401986378":["hashtag1","hashtag2"]},{"1401986612":["hashtag1","hashtag2"]},{"1401986473":["hashtag1","hashtag2"]},{"1401986611":["hashtag1","hashtag2"]},{"1401986617":["hashtag1","hashtag2"]},{"1401986568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401986378, 1401986612, 1401986473, 1401986611, 1401986617, 1401986568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.332338094711304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:06:03.184068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_34_9733.jpg', '/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_44_9686.jpg', '/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_55_10563.jpg', '/home/pi/Desktop/images/01012026/05/05/image_01012026_05_06_04_9523.jpg', '/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_15_10585.jpg', '/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_25_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_34_9733.jpg
/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_44_9686.jpg
/home/pi/Desktop/images/01012026/05/05/image_01012026_05_05_55_10563.jpg
/home/pi/Desktop/images/01012026/05/05/image_01012026_05_06_04_9523.jpg
/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_15_10585.jpg
/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_25_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":["1401986742","1401986792","1401986705","1401986929","1401986665","1401986623"],"photo_ids_order":["1401986623","1401986665","1401986705","1401986742","1401986792","1401986929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e9c359502f4aa86153993c856751151.jpg","text":"TemporaryFile(/tmp/multipartBody1648939948035310893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244023808,"filename":"image_01012026_05_06_04_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ebd946e6aad6f08da6dac0aec926765.jpg","text":"TemporaryFile(/tmp/multipartBody1829467135983706760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244023808,"filename":"image_01012026_05_06_15_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c5cca5bdd105fe3ab91e64aa4b1cde7.jpg","text":"TemporaryFile(/tmp/multipartBody3300585531350846733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244023808,"filename":"image_01012026_05_05_55_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d25c67249644a82824c35efadffc45fa.jpg","text":"TemporaryFile(/tmp/multipartBody1783591156906173071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244023808,"filename":"image_01012026_05_06_25_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3dab715772ad6bcdf4c7c2fb235b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody4818228566098707822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244023808,"filename":"image_01012026_05_05_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/494aaa0fb0077659d734924f6706cc1c.jpg","text":"TemporaryFile(/tmp/multipartBody3255927598397520417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244023808,"filename":"image_01012026_05_05_34_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401986705","file1":"1401986665","file0":"1401986623","file4":"1401986792","file5":"1401986929","file3":"1401986742"},"map_files_photo_id_array":[{"photo_id":"1401986929","filename":"file5"},{"photo_id":"1401986705","filename":"file2"},{"photo_id":"1401986792","filename":"file4"},{"photo_id":"1401986665","filename":"file1"},{"photo_id":"1401986623","filename":"file0"},{"photo_id":"1401986742","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401986742":["hashtag1","hashtag2"]},{"1401986792":["hashtag1","hashtag2"]},{"1401986705":["hashtag1","hashtag2"]},{"1401986929":["hashtag1","hashtag2"]},{"1401986665":["hashtag1","hashtag2"]},{"1401986623":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401986742, 1401986792, 1401986705, 1401986929, 1401986665, 1401986623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.471111536026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:06:42.803823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_50_1656.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_52_1740.jpg', '/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_53_1652.jpg', '/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_02_2625.jpg', '/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_39_17356.jpg', '/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_41_1761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_50_1656.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_52_1740.jpg
/home/pi/Desktop/images/03112025/23/13/image_03112025_23_13_53_1652.jpg
/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_02_2625.jpg
/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_39_17356.jpg
/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_41_1761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401987470","1401987380","1401987260","1401987187","1401987334","1401987510"],"photo_ids_order":["1401987187","1401987260","1401987334","1401987380","1401987470","1401987510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4444f41218ebfb39b1813af074703ce3.jpg","text":"TemporaryFile(/tmp/multipartBody4251615105866833816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244064697,"filename":"image_03112025_23_14_39_17356.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/425c8548870185cdbd7a0b796d459095.jpg","text":"TemporaryFile(/tmp/multipartBody5075923561759533512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244064697,"filename":"image_03112025_23_14_02_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d20b31aa25b06bfaff24b732d2cca24.jpg","text":"TemporaryFile(/tmp/multipartBody3491458567920824979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244064697,"filename":"image_03112025_23_13_52_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a19d3d0dfbf98e5f9d1a6e9638a5de97.jpg","text":"TemporaryFile(/tmp/multipartBody1371982185796639798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244064697,"filename":"image_03112025_23_13_50_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/166baff32ca853b85ff79c1efdfa0d9f.jpg","text":"TemporaryFile(/tmp/multipartBody492500116697305944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244064697,"filename":"image_03112025_23_13_53_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/610c62045d4905a66feee278c14169ba.jpg","text":"TemporaryFile(/tmp/multipartBody7401270508253150036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244064697,"filename":"image_03112025_23_14_41_1761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401987334","file1":"1401987260","file0":"1401987187","file4":"1401987470","file5":"1401987510","file3":"1401987380"},"map_files_photo_id_array":[{"photo_id":"1401987510","filename":"file5"},{"photo_id":"1401987334","filename":"file2"},{"photo_id":"1401987470","filename":"file4"},{"photo_id":"1401987260","filename":"file1"},{"photo_id":"1401987187","filename":"file0"},{"photo_id":"1401987380","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401987470":["hashtag1","hashtag2"]},{"1401987380":["hashtag1","hashtag2"]},{"1401987260":["hashtag1","hashtag2"]},{"1401987187":["hashtag1","hashtag2"]},{"1401987334":["hashtag1","hashtag2"]},{"1401987510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401987470, 1401987380, 1401987260, 1401987187, 1401987334, 1401987510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.84016728401184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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
2026-01-01 06:07:42.338324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_59_1695.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_02_1723.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_04_2037.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_06_1601.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_08_1780.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_09_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_59_1695.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_02_1723.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_04_2037.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_06_1601.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_08_1780.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_09_1730.jpg
2026-01-01 06:07:42.350073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_59_1695.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_02_1723.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_04_2037.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_06_1601.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_08_1780.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_09_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/14/image_03112025_23_14_59_1695.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_02_1723.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_04_2037.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_06_1601.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_08_1780.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_09_1730.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.737992286682129 secondes ---
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401987761","1401987800","1401988015","1401987868","1401987943","1401987720"],"photo_ids_order":["1401987720","1401987761","1401987800","1401987868","1401987943","1401988015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3d10bfbd29d5ac2c2168d5905917705.jpg","text":"TemporaryFile(/tmp/multipartBody3271126137489653030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244124179,"filename":"image_03112025_23_15_02_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4283d46108dd80704777e9a9d7a60faa.jpg","text":"TemporaryFile(/tmp/multipartBody4373739371740382316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244124179,"filename":"image_03112025_23_15_04_2037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ee944299a65f96b0bb7859dd2de1841.jpg","text":"TemporaryFile(/tmp/multipartBody5846590857364359687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244124179,"filename":"image_03112025_23_15_09_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/810f50c0e62c703d5be14dfcd4c34ae8.jpg","text":"TemporaryFile(/tmp/multipartBody7961994223154821724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244124179,"filename":"image_03112025_23_15_06_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c93a7610a2e9e956b194dbb030778996.jpg","text":"TemporaryFile(/tmp/multipartBody1738783513137357024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244124179,"filename":"image_03112025_23_15_08_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73058607e89371de1bd0e7782664cd50.jpg","text":"TemporaryFile(/tmp/multipartBody437384022600749408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244124179,"filename":"image_03112025_23_14_59_1695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401987800","file1":"1401987761","file0":"1401987720","file4":"1401987943","file5":"1401988015","file3":"1401987868"},"map_files_photo_id_array":[{"photo_id":"1401988015","filename":"file5"},{"photo_id":"1401987800","filename":"file2"},{"photo_id":"1401987943","filename":"file4"},{"photo_id":"1401987761","filename":"file1"},{"photo_id":"1401987720","filename":"file0"},{"photo_id":"1401987868","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401987761":["hashtag1","hashtag2"]},{"1401987800":["hashtag1","hashtag2"]},{"1401988015":["hashtag1","hashtag2"]},{"1401987868":["hashtag1","hashtag2"]},{"1401987943":["hashtag1","hashtag2"]},{"1401987720":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401987761, 1401987800, 1401988015, 1401987868, 1401987943, 1401987720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03379464149475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:08:22.466509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_34_9588.jpg', '/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_45_10631.jpg', '/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_54_9655.jpg', '/home/pi/Desktop/images/01012026/05/06/image_01012026_05_07_04_9650.jpg', '/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_15_10756.jpg', '/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_25_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_34_9588.jpg
/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_45_10631.jpg
/home/pi/Desktop/images/01012026/05/06/image_01012026_05_06_54_9655.jpg
/home/pi/Desktop/images/01012026/05/06/image_01012026_05_07_04_9650.jpg
/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_15_10756.jpg
/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_25_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401988445","1401988237","1401988359","1401988314","1401988419","1401988277"],"photo_ids_order":["1401988237","1401988277","1401988314","1401988359","1401988419","1401988445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e75baa4cd0da320719ce9eab93335536.jpg","text":"TemporaryFile(/tmp/multipartBody7402701345618143820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244163053,"filename":"image_01012026_05_07_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b3daf314cc0899475b0ecf450554bbf.jpg","text":"TemporaryFile(/tmp/multipartBody4233944878519771474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244163053,"filename":"image_01012026_05_06_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/681d589fce3a262d36f4b67abd21003a.jpg","text":"TemporaryFile(/tmp/multipartBody4699550004346551723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244163053,"filename":"image_01012026_05_07_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b71b5e20cc307a8655f74795106e739.jpg","text":"TemporaryFile(/tmp/multipartBody8647081003215073062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244163053,"filename":"image_01012026_05_06_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/451670125126e12ddaf5cf308e2d07c4.jpg","text":"TemporaryFile(/tmp/multipartBody808795869698464816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244163053,"filename":"image_01012026_05_07_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59d12194a8b2ee400a5c4854a2d3f33d.jpg","text":"TemporaryFile(/tmp/multipartBody5827121990271922134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244163053,"filename":"image_01012026_05_06_45_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401988314","file1":"1401988277","file0":"1401988237","file4":"1401988419","file5":"1401988445","file3":"1401988359"},"map_files_photo_id_array":[{"photo_id":"1401988445","filename":"file5"},{"photo_id":"1401988314","filename":"file2"},{"photo_id":"1401988419","filename":"file4"},{"photo_id":"1401988277","filename":"file1"},{"photo_id":"1401988237","filename":"file0"},{"photo_id":"1401988359","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401988445":["hashtag1","hashtag2"]},{"1401988237":["hashtag1","hashtag2"]},{"1401988359":["hashtag1","hashtag2"]},{"1401988314":["hashtag1","hashtag2"]},{"1401988419":["hashtag1","hashtag2"]},{"1401988277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401988445, 1401988237, 1401988359, 1401988314, 1401988419, 1401988277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23188042640686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:09:03.713954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_34_9784.jpg', '/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_45_10583.jpg', '/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_54_9546.jpg', '/home/pi/Desktop/images/01012026/05/07/image_01012026_05_08_04_9775.jpg', '/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_14_10071.jpg', '/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_25_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_34_9784.jpg
/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_45_10583.jpg
/home/pi/Desktop/images/01012026/05/07/image_01012026_05_07_54_9546.jpg
/home/pi/Desktop/images/01012026/05/07/image_01012026_05_08_04_9775.jpg
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_14_10071.jpg
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_25_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":["1401988631","1401988604","1401988628","1401988534","1401988501","1401988568"],"photo_ids_order":["1401988501","1401988534","1401988568","1401988604","1401988628","1401988631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f7b87e07885d94b951a48dfbfd7e011.jpg","text":"TemporaryFile(/tmp/multipartBody2943424043124337048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244204439,"filename":"image_01012026_05_08_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e64a344d04b3fa4987e80a8c0e34a9d5.jpg","text":"TemporaryFile(/tmp/multipartBody9153722328004969004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244204439,"filename":"image_01012026_05_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/2026/1/1/c10adc9dc9dd9f84a9ea7c63b5a7b0ef.jpg","text":"TemporaryFile(/tmp/multipartBody3672469057860616984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244204439,"filename":"image_01012026_05_08_14_10071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c732d8c8bc4ccdae4407abb1e5e334e4.jpg","text":"TemporaryFile(/tmp/multipartBody7531705224295275798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244204439,"filename":"image_01012026_05_07_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d171fa8aa4402aa92274f57c8acbd5c.jpg","text":"TemporaryFile(/tmp/multipartBody6812713577506922962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244204439,"filename":"image_01012026_05_07_34_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa0b714ba8003c1b1d87149223aee0b4.jpg","text":"TemporaryFile(/tmp/multipartBody6664387272586137829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244204439,"filename":"image_01012026_05_07_54_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401988568","file1":"1401988534","file0":"1401988501","file4":"1401988628","file5":"1401988631","file3":"1401988604"},"map_files_photo_id_array":[{"photo_id":"1401988631","filename":"file5"},{"photo_id":"1401988568","filename":"file2"},{"photo_id":"1401988628","filename":"file4"},{"photo_id":"1401988534","filename":"file1"},{"photo_id":"1401988501","filename":"file0"},{"photo_id":"1401988604","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401988631":["hashtag1","hashtag2"]},{"1401988604":["hashtag1","hashtag2"]},{"1401988628":["hashtag1","hashtag2"]},{"1401988534":["hashtag1","hashtag2"]},{"1401988501":["hashtag1","hashtag2"]},{"1401988568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401988631, 1401988604, 1401988628, 1401988534, 1401988501, 1401988568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25421667098999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:09:42.701078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_13_1742.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_14_1761.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_16_1627.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_29_1542.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_31_1701.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_46_1525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_13_1742.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_14_1761.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_16_1627.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_29_1542.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_31_1701.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_46_1525.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":["1401988829","1401988715","1401988738","1401988695","1401988923","1401988719"],"photo_ids_order":["1401988695","1401988715","1401988719","1401988738","1401988829","1401988923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb8f8c2f9a6a04432254ad3fd3fb5f72.jpg","text":"TemporaryFile(/tmp/multipartBody6591572874047803775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244244462,"filename":"image_03112025_23_15_31_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/023f7746777c19f34eba21e713a7f027.jpg","text":"TemporaryFile(/tmp/multipartBody812591274768985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244244462,"filename":"image_03112025_23_15_14_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6935e7d6ec12878ead595b3291e2ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5544294201078327553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244244462,"filename":"image_03112025_23_15_29_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45526df5443b3641970e019743da5a09.jpg","text":"TemporaryFile(/tmp/multipartBody3287662677580599571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244244462,"filename":"image_03112025_23_15_13_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c84e495178f89aaf70715dfc90e67c7.jpg","text":"TemporaryFile(/tmp/multipartBody2060155254334612115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244244462,"filename":"image_03112025_23_15_46_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bb7709a7d242af26190a24676ef2ed9.jpg","text":"TemporaryFile(/tmp/multipartBody7899011845741874217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244244462,"filename":"image_03112025_23_15_16_1627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401988719","file1":"1401988715","file0":"1401988695","file4":"1401988829","file5":"1401988923","file3":"1401988738"},"map_files_photo_id_array":[{"photo_id":"1401988923","filename":"file5"},{"photo_id":"1401988719","filename":"file2"},{"photo_id":"1401988829","filename":"file4"},{"photo_id":"1401988715","filename":"file1"},{"photo_id":"1401988695","filename":"file0"},{"photo_id":"1401988738","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401988829":["hashtag1","hashtag2"]},{"1401988715":["hashtag1","hashtag2"]},{"1401988738":["hashtag1","hashtag2"]},{"1401988695":["hashtag1","hashtag2"]},{"1401988923":["hashtag1","hashtag2"]},{"1401988719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401988829, 1401988715, 1401988738, 1401988695, 1401988923, 1401988719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.94929480552673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:10:31.945359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_47_1520.jpg', '/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_52_1862.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_01_1654.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_02_1639.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_05_2320.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_06_1726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_47_1520.jpg
/home/pi/Desktop/images/03112025/23/15/image_03112025_23_15_52_1862.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_01_1654.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_02_1639.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_05_2320.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_06_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":["1401989584","1401989524","1401989586","1401989582","1401989585","1401989587"],"photo_ids_order":["1401989524","1401989582","1401989584","1401989585","1401989586","1401989587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0178038ad64256f9b865a125ae36aa5.jpg","text":"TemporaryFile(/tmp/multipartBody6466278110004083149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244293722,"filename":"image_03112025_23_16_01_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/397508c33aee5ea3c3337a88aadb53c2.jpg","text":"TemporaryFile(/tmp/multipartBody5069785011077764787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244293722,"filename":"image_03112025_23_15_47_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02074290aceebdef37845c45ae5aadb5.jpg","text":"TemporaryFile(/tmp/multipartBody2400417636958248265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244293722,"filename":"image_03112025_23_16_05_2320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23692b43dd1b5962552b7a5d46f815dc.jpg","text":"TemporaryFile(/tmp/multipartBody7970708953002676487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244293722,"filename":"image_03112025_23_15_52_1862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41b14a6408419eac171bd20ec5645364.jpg","text":"TemporaryFile(/tmp/multipartBody2966567089670967513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244293722,"filename":"image_03112025_23_16_02_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2605778203be813825824158576ff16d.jpg","text":"TemporaryFile(/tmp/multipartBody3664039468201980091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244293722,"filename":"image_03112025_23_16_06_1726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401989584","file1":"1401989582","file0":"1401989524","file4":"1401989586","file5":"1401989587","file3":"1401989585"},"map_files_photo_id_array":[{"photo_id":"1401989587","filename":"file5"},{"photo_id":"1401989584","filename":"file2"},{"photo_id":"1401989586","filename":"file4"},{"photo_id":"1401989582","filename":"file1"},{"photo_id":"1401989524","filename":"file0"},{"photo_id":"1401989585","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401989584":["hashtag1","hashtag2"]},{"1401989524":["hashtag1","hashtag2"]},{"1401989586":["hashtag1","hashtag2"]},{"1401989582":["hashtag1","hashtag2"]},{"1401989585":["hashtag1","hashtag2"]},{"1401989587":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401989584, 1401989524, 1401989586, 1401989582, 1401989585, 1401989587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87828350067139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:11:12.113025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_08_1621.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_10_1686.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_13_3025.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_38_8975.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_40_1647.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_45_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/23/16/image_03112025_23_16_08_1621.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_10_1686.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_13_3025.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_38_8975.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_40_1647.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_45_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":["1401989804","1401989623","1401989725","1401989808","1401989588","1401989810"],"photo_ids_order":["1401989588","1401989623","1401989725","1401989804","1401989808","1401989810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a062731af197463d5003efe3e995f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6468963529322291928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244333772,"filename":"image_03112025_23_16_38_8975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9bee43063a57c875d521377020293daa.jpg","text":"TemporaryFile(/tmp/multipartBody1370387432145908567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244333772,"filename":"image_03112025_23_16_10_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/192788c6d76e36f5350cc23215a567f4.jpg","text":"TemporaryFile(/tmp/multipartBody266448497186217486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244333772,"filename":"image_03112025_23_16_13_3025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c65aafbb91cfee278040cafe153a852.jpg","text":"TemporaryFile(/tmp/multipartBody8538849877894914032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244333772,"filename":"image_03112025_23_16_40_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/307e36a7929a05f0a01575d764c6f4fd.jpg","text":"TemporaryFile(/tmp/multipartBody8886646847371258350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244333772,"filename":"image_03112025_23_16_08_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea28945a7a5cc30eea8595bb1b035140.jpg","text":"TemporaryFile(/tmp/multipartBody7648341321938708060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244333772,"filename":"image_03112025_23_16_45_1578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401989725","file1":"1401989623","file0":"1401989588","file4":"1401989808","file5":"1401989810","file3":"1401989804"},"map_files_photo_id_array":[{"photo_id":"1401989810","filename":"file5"},{"photo_id":"1401989725","filename":"file2"},{"photo_id":"1401989808","filename":"file4"},{"photo_id":"1401989623","filename":"file1"},{"photo_id":"1401989588","filename":"file0"},{"photo_id":"1401989804","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401989804":["hashtag1","hashtag2"]},{"1401989623":["hashtag1","hashtag2"]},{"1401989725":["hashtag1","hashtag2"]},{"1401989808":["hashtag1","hashtag2"]},{"1401989588":["hashtag1","hashtag2"]},{"1401989810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401989804, 1401989623, 1401989725, 1401989808, 1401989588, 1401989810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10716223716736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:12:06.265949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_35_9843.jpg', '/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_45_9836.jpg', '/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_54_9659.jpg', '/home/pi/Desktop/images/01012026/05/08/image_01012026_05_09_04_9827.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_15_10652.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_25_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_35_9843.jpg
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_45_9836.jpg
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_54_9659.jpg
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_09_04_9827.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_15_10652.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_25_9700.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: 5.072874546051025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:12:16.080894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_49_4483.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_52_1697.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_56_1655.jpg', '/home/pi/Desktop/images/03112025/23/16/image_03112025_23_17_00_1645.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_05_4114.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_07_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_49_4483.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_52_1697.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_16_56_1655.jpg
/home/pi/Desktop/images/03112025/23/16/image_03112025_23_17_00_1645.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_05_4114.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_07_1580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401989935","1401989938","1401989932","1401989940","1401989942","1401989930"],"photo_ids_order":["1401989930","1401989932","1401989935","1401989938","1401989940","1401989942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecf1e05b6aba4cd1255c598d23616233.jpg","text":"TemporaryFile(/tmp/multipartBody1261667654484593322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244397825,"filename":"image_03112025_23_16_56_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/821243df43833635debf722a61619b60.jpg","text":"TemporaryFile(/tmp/multipartBody642341844033059509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244397825,"filename":"image_03112025_23_17_00_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b7309f762c47b1a1af71e036b115739.jpg","text":"TemporaryFile(/tmp/multipartBody7661371747958761158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244397825,"filename":"image_03112025_23_16_52_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d6b3c8a7a9039cb3c71fb0444898239.jpg","text":"TemporaryFile(/tmp/multipartBody7954318305877252494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244397825,"filename":"image_03112025_23_17_05_4114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7b0f24975171e18bdd09d3a1c6b0436.jpg","text":"TemporaryFile(/tmp/multipartBody6146925836736007624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244397825,"filename":"image_03112025_23_17_07_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98b9f6f7bc2b9daabb02e399b5985077.jpg","text":"TemporaryFile(/tmp/multipartBody1027277603383120952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244397825,"filename":"image_03112025_23_16_49_4483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401989935","file1":"1401989932","file0":"1401989930","file4":"1401989940","file5":"1401989942","file3":"1401989938"},"map_files_photo_id_array":[{"photo_id":"1401989942","filename":"file5"},{"photo_id":"1401989935","filename":"file2"},{"photo_id":"1401989940","filename":"file4"},{"photo_id":"1401989932","filename":"file1"},{"photo_id":"1401989930","filename":"file0"},{"photo_id":"1401989938","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401989935":["hashtag1","hashtag2"]},{"1401989938":["hashtag1","hashtag2"]},{"1401989932":["hashtag1","hashtag2"]},{"1401989940":["hashtag1","hashtag2"]},{"1401989942":["hashtag1","hashtag2"]},{"1401989930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401989935, 1401989938, 1401989932, 1401989940, 1401989942, 1401989930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9300901889801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:13:02.996892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_35_9843.jpg', '/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_45_9836.jpg', '/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_54_9659.jpg', '/home/pi/Desktop/images/01012026/05/08/image_01012026_05_09_04_9827.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_15_10652.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_25_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_35_9843.jpg
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_45_9836.jpg
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_08_54_9659.jpg
/home/pi/Desktop/images/01012026/05/08/image_01012026_05_09_04_9827.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_15_10652.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_25_9700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401989947","1401989946","1401989949","1401989951","1401989945","1401989948"],"photo_ids_order":["1401989945","1401989946","1401989947","1401989948","1401989949","1401989951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4646a573c2e1002daffedea84130be75.jpg","text":"TemporaryFile(/tmp/multipartBody8426840199728820293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244443642,"filename":"image_01012026_05_08_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4c7d103a88e0f78d6b97c9c0e9310d3.jpg","text":"TemporaryFile(/tmp/multipartBody5516131061328841327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244443642,"filename":"image_01012026_05_08_45_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a520d62b1c76c9637ffbbb75569ee8d9.jpg","text":"TemporaryFile(/tmp/multipartBody3153450007097898530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244443642,"filename":"image_01012026_05_09_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e37e6256d8574c8d8ae65f551422f176.jpg","text":"TemporaryFile(/tmp/multipartBody863753637307857735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244443642,"filename":"image_01012026_05_09_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23f7a3d7ce9a08c780ba1c413ef091de.jpg","text":"TemporaryFile(/tmp/multipartBody647366976131071129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244443642,"filename":"image_01012026_05_08_35_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a2841ac2e8993f0f4119aee69ad6069.jpg","text":"TemporaryFile(/tmp/multipartBody9121173279807456548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244443642,"filename":"image_01012026_05_09_04_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401989947","file1":"1401989946","file0":"1401989945","file4":"1401989949","file5":"1401989951","file3":"1401989948"},"map_files_photo_id_array":[{"photo_id":"1401989951","filename":"file5"},{"photo_id":"1401989947","filename":"file2"},{"photo_id":"1401989949","filename":"file4"},{"photo_id":"1401989946","filename":"file1"},{"photo_id":"1401989945","filename":"file0"},{"photo_id":"1401989948","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401989947":["hashtag1","hashtag2"]},{"1401989946":["hashtag1","hashtag2"]},{"1401989949":["hashtag1","hashtag2"]},{"1401989951":["hashtag1","hashtag2"]},{"1401989945":["hashtag1","hashtag2"]},{"1401989948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401989947, 1401989946, 1401989949, 1401989951, 1401989945, 1401989948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28536581993103 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:13:42.316773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_09_1703.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_10_1490.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_25_14775.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_27_1616.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_30_1539.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_31_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_09_1703.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_10_1490.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_25_14775.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_27_1616.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_30_1539.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_31_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":["1401989959","1401989962","1401989961","1401989960","1401989963","1401989957"],"photo_ids_order":["1401989957","1401989959","1401989960","1401989961","1401989962","1401989963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f188ac9fcf8ad91cde989e489ffb29b0.jpg","text":"TemporaryFile(/tmp/multipartBody5877777459084068652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244484117,"filename":"image_03112025_23_17_10_1490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/473f260c923449cb6db1c02268ea0673.jpg","text":"TemporaryFile(/tmp/multipartBody7680415944329472586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244484117,"filename":"image_03112025_23_17_30_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/050d70719bff7ff0c7d25d5e46e21b97.jpg","text":"TemporaryFile(/tmp/multipartBody3739388310821340545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244484117,"filename":"image_03112025_23_17_27_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce572f49e048c0f1e9fceae14032b6ad.jpg","text":"TemporaryFile(/tmp/multipartBody6770653287966701624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244484117,"filename":"image_03112025_23_17_25_14775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0a9a75295dfd36602343c61ed3593a0.jpg","text":"TemporaryFile(/tmp/multipartBody1697757060568995407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244484117,"filename":"image_03112025_23_17_31_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14ee609a354a776c72a126236efa46d1.jpg","text":"TemporaryFile(/tmp/multipartBody3684147696875137625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244484117,"filename":"image_03112025_23_17_09_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401989960","file1":"1401989959","file0":"1401989957","file4":"1401989962","file5":"1401989963","file3":"1401989961"},"map_files_photo_id_array":[{"photo_id":"1401989963","filename":"file5"},{"photo_id":"1401989960","filename":"file2"},{"photo_id":"1401989962","filename":"file4"},{"photo_id":"1401989959","filename":"file1"},{"photo_id":"1401989957","filename":"file0"},{"photo_id":"1401989961","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401989959":["hashtag1","hashtag2"]},{"1401989962":["hashtag1","hashtag2"]},{"1401989961":["hashtag1","hashtag2"]},{"1401989960":["hashtag1","hashtag2"]},{"1401989963":["hashtag1","hashtag2"]},{"1401989957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401989959, 1401989962, 1401989961, 1401989960, 1401989963, 1401989957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43134546279907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:14:22.504908
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_34_9679.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_45_10657.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_54_9226.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_10_05_10722.jpg', '/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_14_9639.jpg', '/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_24_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_34_9679.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_45_10657.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_54_9226.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_10_05_10722.jpg
/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_14_9639.jpg
/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_24_9683.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.4793224334716797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:14:32.461708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_33_1623.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_35_1550.jpg', '/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_57_22101.jpg', '/home/pi/Desktop/images/03112025/23/18/image_03112025_23_18_14_17735.jpg', '/home/pi/Desktop/images/03112025/23/18/image_03112025_23_18_34_6886.jpg', '/home/pi/Desktop/images/03112025/23/18/image_03112025_23_18_36_1762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_33_1623.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_35_1550.jpg
/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_57_22101.jpg
/home/pi/Desktop/images/03112025/23/18/image_03112025_23_18_14_17735.jpg
/home/pi/Desktop/images/03112025/23/18/image_03112025_23_18_34_6886.jpg
/home/pi/Desktop/images/03112025/23/18/image_03112025_23_18_36_1762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401989980","1401989982","1401989976","1401989973","1401989984","1401989983"],"photo_ids_order":["1401989973","1401989976","1401989980","1401989982","1401989983","1401989984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81f32f5a51b8a33ff4b6ec4af8caf0f5.jpg","text":"TemporaryFile(/tmp/multipartBody4252602125818747256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244534213,"filename":"image_03112025_23_17_57_22101.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dedc3a32114f03f7ca577cc706a49d5e.jpg","text":"TemporaryFile(/tmp/multipartBody7748715401358564834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244534213,"filename":"image_03112025_23_18_14_17735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a26f6c3d7781af6b6e46c56e7bdd2fa6.jpg","text":"TemporaryFile(/tmp/multipartBody2386859943052409631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244534213,"filename":"image_03112025_23_17_35_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03c207295626b23e5225c259ba18bf7d.jpg","text":"TemporaryFile(/tmp/multipartBody557648705214187904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244534213,"filename":"image_03112025_23_17_33_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fc83cdee0b1bc95d1614f424c662b90.jpg","text":"TemporaryFile(/tmp/multipartBody4955626326913236025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244534213,"filename":"image_03112025_23_18_36_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2eafa2e72fc147fd146eab4946d2171b.jpg","text":"TemporaryFile(/tmp/multipartBody2994623478929025017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244534213,"filename":"image_03112025_23_18_34_6886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401989980","file1":"1401989976","file0":"1401989973","file4":"1401989983","file5":"1401989984","file3":"1401989982"},"map_files_photo_id_array":[{"photo_id":"1401989984","filename":"file5"},{"photo_id":"1401989980","filename":"file2"},{"photo_id":"1401989983","filename":"file4"},{"photo_id":"1401989976","filename":"file1"},{"photo_id":"1401989973","filename":"file0"},{"photo_id":"1401989982","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401989980":["hashtag1","hashtag2"]},{"1401989982":["hashtag1","hashtag2"]},{"1401989976":["hashtag1","hashtag2"]},{"1401989973":["hashtag1","hashtag2"]},{"1401989984":["hashtag1","hashtag2"]},{"1401989983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401989980, 1401989982, 1401989976, 1401989973, 1401989984, 1401989983)","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 = 1401989980 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/03112025/23/17/image_03112025_23_17_57_22101.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 58.39404296875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:15:32.592614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/18/image_03112025_23_18_38_1794.jpg', '/home/pi/Desktop/images/03112025/23/18/image_03112025_23_19_00_21689.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_03_2937.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_09_1677.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_11_1503.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_17_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/23/18/image_03112025_23_18_38_1794.jpg
/home/pi/Desktop/images/03112025/23/18/image_03112025_23_19_00_21689.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_03_2937.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_09_1677.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_11_1503.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_17_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":["1401989992","1401989994","1401989997","1401989990","1401989996","1401989995"],"photo_ids_order":["1401989990","1401989992","1401989994","1401989995","1401989996","1401989997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb9965d32e9baf10d3493ecc217f2ab4.jpg","text":"TemporaryFile(/tmp/multipartBody3761534691947131650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244594247,"filename":"image_03112025_23_19_00_21689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c70ab39b15b0b6902cd8a293e550b47.jpg","text":"TemporaryFile(/tmp/multipartBody4199371200598477456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244594247,"filename":"image_03112025_23_19_03_2937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10c7bda6611044d0025111fc829b9c06.jpg","text":"TemporaryFile(/tmp/multipartBody8574940727895535616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244594247,"filename":"image_03112025_23_19_17_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/589edb1e801286a62404e623e2640116.jpg","text":"TemporaryFile(/tmp/multipartBody7803346372710609264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244594247,"filename":"image_03112025_23_18_38_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53928d81da58003d6e857bd3afb02b64.jpg","text":"TemporaryFile(/tmp/multipartBody1495521598765350145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244594247,"filename":"image_03112025_23_19_11_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2a7b554166446bb66f5cd89f2756c2b.jpg","text":"TemporaryFile(/tmp/multipartBody4614341969973347702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244594247,"filename":"image_03112025_23_19_09_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401989994","file1":"1401989992","file0":"1401989990","file4":"1401989996","file5":"1401989997","file3":"1401989995"},"map_files_photo_id_array":[{"photo_id":"1401989997","filename":"file5"},{"photo_id":"1401989994","filename":"file2"},{"photo_id":"1401989996","filename":"file4"},{"photo_id":"1401989992","filename":"file1"},{"photo_id":"1401989990","filename":"file0"},{"photo_id":"1401989995","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401989992":["hashtag1","hashtag2"]},{"1401989994":["hashtag1","hashtag2"]},{"1401989997":["hashtag1","hashtag2"]},{"1401989990":["hashtag1","hashtag2"]},{"1401989996":["hashtag1","hashtag2"]},{"1401989995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401989992, 1401989994, 1401989997, 1401989990, 1401989996, 1401989995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69066286087036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:16:13.696716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_21_1667.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_22_1593.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_36_2768.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_38_1612.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_46_1804.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_51_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/23/19/image_03112025_23_19_21_1667.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_22_1593.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_36_2768.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_38_1612.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_46_1804.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_51_1621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990005","1401990007","1401990001","1401989999","1401990003","1401989998"],"photo_ids_order":["1401989998","1401989999","1401990001","1401990003","1401990005","1401990007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ceddc8ba31a2b10158ec3e52c3c7b6e.jpg","text":"TemporaryFile(/tmp/multipartBody3789541661316099481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244635454,"filename":"image_03112025_23_19_46_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9317bf950535a4c4c34cf7fe930f7747.jpg","text":"TemporaryFile(/tmp/multipartBody6900168170787456292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244635454,"filename":"image_03112025_23_19_51_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0ac7b67b2df8d2d69c0f5160636d6df.jpg","text":"TemporaryFile(/tmp/multipartBody3142590737220279367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244635454,"filename":"image_03112025_23_19_36_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3157c799e1775bb4a5531d118cb3800e.jpg","text":"TemporaryFile(/tmp/multipartBody4696778200807575124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244635454,"filename":"image_03112025_23_19_22_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91d20e4b6fd8597daa36485162aa8c24.jpg","text":"TemporaryFile(/tmp/multipartBody2717955296407442254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244635454,"filename":"image_03112025_23_19_38_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93749c8421d7d5ffa6f9819fdb0272b4.jpg","text":"TemporaryFile(/tmp/multipartBody343039844486700369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244635454,"filename":"image_03112025_23_19_21_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990001","file1":"1401989999","file0":"1401989998","file4":"1401990005","file5":"1401990007","file3":"1401990003"},"map_files_photo_id_array":[{"photo_id":"1401990007","filename":"file5"},{"photo_id":"1401990001","filename":"file2"},{"photo_id":"1401990005","filename":"file4"},{"photo_id":"1401989999","filename":"file1"},{"photo_id":"1401989998","filename":"file0"},{"photo_id":"1401990003","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990005":["hashtag1","hashtag2"]},{"1401990007":["hashtag1","hashtag2"]},{"1401990001":["hashtag1","hashtag2"]},{"1401989999":["hashtag1","hashtag2"]},{"1401990003":["hashtag1","hashtag2"]},{"1401989998":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990005, 1401990007, 1401990001, 1401989999, 1401990003, 1401989998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83063840866089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:17:02.607750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 06:17:12.063595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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 15
2026-01-01 06:17:22.001640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_34_9679.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_45_10657.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_54_9226.jpg', '/home/pi/Desktop/images/01012026/05/09/image_01012026_05_10_05_10722.jpg', '/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_14_9639.jpg', '/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_24_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_34_9679.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_45_10657.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_09_54_9226.jpg
/home/pi/Desktop/images/01012026/05/09/image_01012026_05_10_05_10722.jpg
/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_14_9639.jpg
/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_24_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":["1401990011","1401990017","1401990022","1401990019","1401990013","1401990015"],"photo_ids_order":["1401990011","1401990013","1401990015","1401990017","1401990019","1401990022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10d087b7ef3a317dab6e876da04d6248.jpg","text":"TemporaryFile(/tmp/multipartBody7378903746017413842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244702560,"filename":"image_01012026_05_09_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cc18570a0eca68377b2d20d23e6e84f.jpg","text":"TemporaryFile(/tmp/multipartBody1876128429980246882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244702560,"filename":"image_01012026_05_10_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8563e1bd24b46c174e278d155d741cb.jpg","text":"TemporaryFile(/tmp/multipartBody4801939486742779975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244702560,"filename":"image_01012026_05_10_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28ca36ba8c5a2065c01d004e7ef68825.jpg","text":"TemporaryFile(/tmp/multipartBody8331986240407964842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244702560,"filename":"image_01012026_05_10_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f98eb1c1f586595582cb394d973d38c6.jpg","text":"TemporaryFile(/tmp/multipartBody6347596086965758097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244702560,"filename":"image_01012026_05_09_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48ffae83c567b27e09141b6855f259ee.jpg","text":"TemporaryFile(/tmp/multipartBody2069972137457205505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244702560,"filename":"image_01012026_05_09_54_9226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990015","file1":"1401990013","file0":"1401990011","file4":"1401990019","file5":"1401990022","file3":"1401990017"},"map_files_photo_id_array":[{"photo_id":"1401990022","filename":"file5"},{"photo_id":"1401990015","filename":"file2"},{"photo_id":"1401990019","filename":"file4"},{"photo_id":"1401990013","filename":"file1"},{"photo_id":"1401990011","filename":"file0"},{"photo_id":"1401990017","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990011":["hashtag1","hashtag2"]},{"1401990017":["hashtag1","hashtag2"]},{"1401990022":["hashtag1","hashtag2"]},{"1401990019":["hashtag1","hashtag2"]},{"1401990013":["hashtag1","hashtag2"]},{"1401990015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990011, 1401990017, 1401990022, 1401990019, 1401990013, 1401990015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19327235221863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:18:02.729566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_35_10644.jpg', '/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_44_9658.jpg', '/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_54_9675.jpg', '/home/pi/Desktop/images/01012026/05/10/image_01012026_05_11_05_10715.jpg', '/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_14_9624.jpg', '/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_24_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_35_10644.jpg
/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_44_9658.jpg
/home/pi/Desktop/images/01012026/05/10/image_01012026_05_10_54_9675.jpg
/home/pi/Desktop/images/01012026/05/10/image_01012026_05_11_05_10715.jpg
/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_14_9624.jpg
/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_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":["1401990023","1401990026","1401990028","1401990025","1401990030","1401990027"],"photo_ids_order":["1401990023","1401990025","1401990026","1401990027","1401990028","1401990030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfdcce04be2d5f85a7efc5701128caf5.jpg","text":"TemporaryFile(/tmp/multipartBody5224834346896655423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244743340,"filename":"image_01012026_05_10_35_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0568311c328dcfc789cae33cc0cab21.jpg","text":"TemporaryFile(/tmp/multipartBody175237282647075177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244743340,"filename":"image_01012026_05_10_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b00d6d478ddb4c7b8013471d8080fd8.jpg","text":"TemporaryFile(/tmp/multipartBody4260135064046586201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244743340,"filename":"image_01012026_05_11_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63bf4bab0a97d9f4ef9b5a31d8ddeb12.jpg","text":"TemporaryFile(/tmp/multipartBody8495222776005306888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244743340,"filename":"image_01012026_05_10_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3446cc55466891ed1d6531894c718a51.jpg","text":"TemporaryFile(/tmp/multipartBody6943383652447809095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244743340,"filename":"image_01012026_05_11_24_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6183e3326db91261820d3fcf18c65430.jpg","text":"TemporaryFile(/tmp/multipartBody2946750970667535564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244743340,"filename":"image_01012026_05_11_05_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990026","file1":"1401990025","file0":"1401990023","file4":"1401990028","file5":"1401990030","file3":"1401990027"},"map_files_photo_id_array":[{"photo_id":"1401990030","filename":"file5"},{"photo_id":"1401990026","filename":"file2"},{"photo_id":"1401990028","filename":"file4"},{"photo_id":"1401990025","filename":"file1"},{"photo_id":"1401990023","filename":"file0"},{"photo_id":"1401990027","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990023":["hashtag1","hashtag2"]},{"1401990026":["hashtag1","hashtag2"]},{"1401990028":["hashtag1","hashtag2"]},{"1401990025":["hashtag1","hashtag2"]},{"1401990030":["hashtag1","hashtag2"]},{"1401990027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990023, 1401990026, 1401990028, 1401990025, 1401990030, 1401990027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.53349566459656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:18:42.348392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_55_1726.jpg', '/home/pi/Desktop/images/03112025/23/19/image_03112025_23_20_00_1645.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_09_1724.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_12_3142.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_17_1701.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_20_2795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_19_55_1726.jpg
/home/pi/Desktop/images/03112025/23/19/image_03112025_23_20_00_1645.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_09_1724.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_12_3142.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_17_1701.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_20_2795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990038","1401990035","1401990040","1401990037","1401990039","1401990036"],"photo_ids_order":["1401990035","1401990036","1401990037","1401990038","1401990039","1401990040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de635c1de1f9017a2b6237dd6a9823a8.jpg","text":"TemporaryFile(/tmp/multipartBody1895929330855977973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244784103,"filename":"image_03112025_23_20_12_3142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ada393a3693e340e1f86c568b27a8ebe.jpg","text":"TemporaryFile(/tmp/multipartBody5936051371982293114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244784103,"filename":"image_03112025_23_19_55_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73a2bc8af5a55621f1e2552b2952451d.jpg","text":"TemporaryFile(/tmp/multipartBody7190122666266985901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244784103,"filename":"image_03112025_23_20_20_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51eb457b5156fc9c50112b8a0d389cbb.jpg","text":"TemporaryFile(/tmp/multipartBody4018823723295049136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244784103,"filename":"image_03112025_23_20_09_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b512d35bc95e45acc67944dc54b283c.jpg","text":"TemporaryFile(/tmp/multipartBody3090742302111631596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244784103,"filename":"image_03112025_23_20_17_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c19c297098ca1e44145c09e9a4a66778.jpg","text":"TemporaryFile(/tmp/multipartBody7656150777513642501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244784103,"filename":"image_03112025_23_20_00_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990037","file1":"1401990036","file0":"1401990035","file4":"1401990039","file5":"1401990040","file3":"1401990038"},"map_files_photo_id_array":[{"photo_id":"1401990040","filename":"file5"},{"photo_id":"1401990037","filename":"file2"},{"photo_id":"1401990039","filename":"file4"},{"photo_id":"1401990036","filename":"file1"},{"photo_id":"1401990035","filename":"file0"},{"photo_id":"1401990038","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990038":["hashtag1","hashtag2"]},{"1401990035":["hashtag1","hashtag2"]},{"1401990040":["hashtag1","hashtag2"]},{"1401990037":["hashtag1","hashtag2"]},{"1401990039":["hashtag1","hashtag2"]},{"1401990036":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990038, 1401990035, 1401990040, 1401990037, 1401990039, 1401990036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57875323295593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:19:22.464973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_35_10656.jpg', '/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_45_9672.jpg', '/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_54_9681.jpg', '/home/pi/Desktop/images/01012026/05/11/image_01012026_05_12_04_9942.jpg', '/home/pi/Desktop/images/01012026/05/12/image_01012026_05_12_25_9713.jpg', '/home/pi/Desktop/images/01012026/05/12/image_01012026_05_12_34_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_35_10656.jpg
/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_45_9672.jpg
/home/pi/Desktop/images/01012026/05/11/image_01012026_05_11_54_9681.jpg
/home/pi/Desktop/images/01012026/05/11/image_01012026_05_12_04_9942.jpg
/home/pi/Desktop/images/01012026/05/12/image_01012026_05_12_25_9713.jpg
/home/pi/Desktop/images/01012026/05/12/image_01012026_05_12_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":["1401990044","1401990047","1401990052","1401990049","1401990045","1401990041"],"photo_ids_order":["1401990041","1401990044","1401990045","1401990047","1401990049","1401990052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c659d1ca4304fdb6feb6eac7eacc2d32.jpg","text":"TemporaryFile(/tmp/multipartBody5407988016885658958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244823026,"filename":"image_01012026_05_11_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c277604beb4342d8592492d7dd223d75.jpg","text":"TemporaryFile(/tmp/multipartBody5679424564590905557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244823026,"filename":"image_01012026_05_12_04_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4007f812256ce603eece19533a85673c.jpg","text":"TemporaryFile(/tmp/multipartBody3812547086104160361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244823026,"filename":"image_01012026_05_12_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/285076a58a2afe6e3bcc557aa19c9bc9.jpg","text":"TemporaryFile(/tmp/multipartBody855857833383280454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244823026,"filename":"image_01012026_05_12_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19e9723df537b6a2166c1ad196fbf865.jpg","text":"TemporaryFile(/tmp/multipartBody834809958734476081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244823026,"filename":"image_01012026_05_11_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0401b411ec8e73b8f8c165106a2df295.jpg","text":"TemporaryFile(/tmp/multipartBody5828414150264980720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244823026,"filename":"image_01012026_05_11_35_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990045","file1":"1401990044","file0":"1401990041","file4":"1401990049","file5":"1401990052","file3":"1401990047"},"map_files_photo_id_array":[{"photo_id":"1401990052","filename":"file5"},{"photo_id":"1401990045","filename":"file2"},{"photo_id":"1401990049","filename":"file4"},{"photo_id":"1401990044","filename":"file1"},{"photo_id":"1401990041","filename":"file0"},{"photo_id":"1401990047","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990044":["hashtag1","hashtag2"]},{"1401990047":["hashtag1","hashtag2"]},{"1401990052":["hashtag1","hashtag2"]},{"1401990049":["hashtag1","hashtag2"]},{"1401990045":["hashtag1","hashtag2"]},{"1401990041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990044, 1401990047, 1401990052, 1401990049, 1401990045, 1401990041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.402759075164795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:20:03.191188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/12/image_01012026_05_12_44_9820.jpg', '/home/pi/Desktop/images/01012026/05/12/image_01012026_05_12_55_10672.jpg', '/home/pi/Desktop/images/01012026/05/12/image_01012026_05_13_05_9765.jpg', '/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_14_9638.jpg', '/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_25_10696.jpg', '/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_34_9519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/12/image_01012026_05_12_44_9820.jpg
/home/pi/Desktop/images/01012026/05/12/image_01012026_05_12_55_10672.jpg
/home/pi/Desktop/images/01012026/05/12/image_01012026_05_13_05_9765.jpg
/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_14_9638.jpg
/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_25_10696.jpg
/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_34_9519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990059","1401990055","1401990058","1401990057","1401990054","1401990056"],"photo_ids_order":["1401990054","1401990055","1401990056","1401990057","1401990058","1401990059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98149ce47a4c50cfc9a0c0382339f08b.jpg","text":"TemporaryFile(/tmp/multipartBody5459731017874217439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244863808,"filename":"image_01012026_05_13_34_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/137facbce437f12a8657c2b347e376ed.jpg","text":"TemporaryFile(/tmp/multipartBody7090334616137921614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244863808,"filename":"image_01012026_05_12_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c724986fc51276d945194b9c28fe1bb8.jpg","text":"TemporaryFile(/tmp/multipartBody9178318055835548321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244863808,"filename":"image_01012026_05_13_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07816d2c9bf135d1d222c2b278442cb3.jpg","text":"TemporaryFile(/tmp/multipartBody4272852989816820768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244863808,"filename":"image_01012026_05_13_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5458965ad4cd7ab549f5566b68ba7383.jpg","text":"TemporaryFile(/tmp/multipartBody5637977756334271554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244863808,"filename":"image_01012026_05_12_44_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f41b908be1db767171a204fbb958a828.jpg","text":"TemporaryFile(/tmp/multipartBody9045245162277727669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244863808,"filename":"image_01012026_05_13_05_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990056","file1":"1401990055","file0":"1401990054","file4":"1401990058","file5":"1401990059","file3":"1401990057"},"map_files_photo_id_array":[{"photo_id":"1401990059","filename":"file5"},{"photo_id":"1401990056","filename":"file2"},{"photo_id":"1401990058","filename":"file4"},{"photo_id":"1401990055","filename":"file1"},{"photo_id":"1401990054","filename":"file0"},{"photo_id":"1401990057","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990059":["hashtag1","hashtag2"]},{"1401990055":["hashtag1","hashtag2"]},{"1401990058":["hashtag1","hashtag2"]},{"1401990057":["hashtag1","hashtag2"]},{"1401990054":["hashtag1","hashtag2"]},{"1401990056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990059, 1401990055, 1401990058, 1401990057, 1401990054, 1401990056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.157418966293335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:20:42.678474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_23_2637.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_26_2756.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_32_2665.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_34_2622.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_38_3633.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_42_3392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_23_2637.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_26_2756.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_32_2665.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_34_2622.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_38_3633.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_42_3392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990071","1401990073","1401990075","1401990066","1401990069","1401990077"],"photo_ids_order":["1401990066","1401990069","1401990071","1401990073","1401990075","1401990077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fe64172c829bf40d9e7543ac93e6785.jpg","text":"TemporaryFile(/tmp/multipartBody6191399052594024419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244904493,"filename":"image_03112025_23_20_32_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4231994f7a6bf12140d754eb35f31b51.jpg","text":"TemporaryFile(/tmp/multipartBody3535276912484505630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244904493,"filename":"image_03112025_23_20_34_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd9e0703448fb580a21906319db64333.jpg","text":"TemporaryFile(/tmp/multipartBody6760396335866648147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244904493,"filename":"image_03112025_23_20_38_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c420a5919427ab6f5c4d91029fcf168.jpg","text":"TemporaryFile(/tmp/multipartBody1126653293029486047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244904493,"filename":"image_03112025_23_20_23_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16880c143fb97c700bbdcaf5b6e57f37.jpg","text":"TemporaryFile(/tmp/multipartBody5789691830496958373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244904493,"filename":"image_03112025_23_20_26_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4df2d767b03eb1ad09d65f2c707201e7.jpg","text":"TemporaryFile(/tmp/multipartBody8766367299732120551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244904493,"filename":"image_03112025_23_20_42_3392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990071","file1":"1401990069","file0":"1401990066","file4":"1401990075","file5":"1401990077","file3":"1401990073"},"map_files_photo_id_array":[{"photo_id":"1401990077","filename":"file5"},{"photo_id":"1401990071","filename":"file2"},{"photo_id":"1401990075","filename":"file4"},{"photo_id":"1401990069","filename":"file1"},{"photo_id":"1401990066","filename":"file0"},{"photo_id":"1401990073","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990071":["hashtag1","hashtag2"]},{"1401990073":["hashtag1","hashtag2"]},{"1401990075":["hashtag1","hashtag2"]},{"1401990066":["hashtag1","hashtag2"]},{"1401990069":["hashtag1","hashtag2"]},{"1401990077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990071, 1401990073, 1401990075, 1401990066, 1401990069, 1401990077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.476062536239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:21:21.915702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_44_9642.jpg', '/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_55_10668.jpg', '/home/pi/Desktop/images/01012026/05/13/image_01012026_05_14_04_9594.jpg', '/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_15_10675.jpg', '/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_25_9757.jpg', '/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_34_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_44_9642.jpg
/home/pi/Desktop/images/01012026/05/13/image_01012026_05_13_55_10668.jpg
/home/pi/Desktop/images/01012026/05/13/image_01012026_05_14_04_9594.jpg
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_15_10675.jpg
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_25_9757.jpg
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_34_9593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990082","1401990084","1401990078","1401990086","1401990089","1401990080"],"photo_ids_order":["1401990078","1401990080","1401990082","1401990084","1401990086","1401990089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d2099b5ed44897caa30a7fba0f7ca63.jpg","text":"TemporaryFile(/tmp/multipartBody1191662236173716459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244942497,"filename":"image_01012026_05_14_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d780d4a1f0b27e5a0e4d9052f01218bb.jpg","text":"TemporaryFile(/tmp/multipartBody2419777562306035410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244942497,"filename":"image_01012026_05_14_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac75b77ab5ae694661387ce0b04bd660.jpg","text":"TemporaryFile(/tmp/multipartBody7216736403051533489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244942497,"filename":"image_01012026_05_13_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2774bbfdfb75c31f61f10d8c100833a2.jpg","text":"TemporaryFile(/tmp/multipartBody4227237923194175765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244942497,"filename":"image_01012026_05_14_25_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4603c4d0f61cb339d0cb1b039939111.jpg","text":"TemporaryFile(/tmp/multipartBody5097829463999650541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244942497,"filename":"image_01012026_05_14_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1697f239c6b33b8a3f96cae75c9ff9f.jpg","text":"TemporaryFile(/tmp/multipartBody6352243411975692038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244942497,"filename":"image_01012026_05_13_55_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990082","file1":"1401990080","file0":"1401990078","file4":"1401990086","file5":"1401990089","file3":"1401990084"},"map_files_photo_id_array":[{"photo_id":"1401990089","filename":"file5"},{"photo_id":"1401990082","filename":"file2"},{"photo_id":"1401990086","filename":"file4"},{"photo_id":"1401990080","filename":"file1"},{"photo_id":"1401990078","filename":"file0"},{"photo_id":"1401990084","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990082":["hashtag1","hashtag2"]},{"1401990084":["hashtag1","hashtag2"]},{"1401990078":["hashtag1","hashtag2"]},{"1401990086":["hashtag1","hashtag2"]},{"1401990089":["hashtag1","hashtag2"]},{"1401990080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990082, 1401990084, 1401990078, 1401990086, 1401990089, 1401990080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39701724052429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:22:02.341928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_45_10569.jpg', '/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_55_9764.jpg', '/home/pi/Desktop/images/01012026/05/14/image_01012026_05_15_05_9837.jpg', '/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_14_9871.jpg', '/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_25_10587.jpg', '/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_35_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_45_10569.jpg
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_55_9764.jpg
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_15_05_9837.jpg
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_14_9871.jpg
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_25_10587.jpg
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_35_9668.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.5032787322998047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:22:11.970565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_55_1610.jpg', '/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_57_1823.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_02_5204.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_04_1640.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_05_1601.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_07_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/23/20/image_03112025_23_20_55_1610.jpg
/home/pi/Desktop/images/03112025/23/20/image_03112025_23_20_57_1823.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_02_5204.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_04_1640.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_05_1601.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_07_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":["1401990104","1401990097","1401990101","1401990106","1401990099","1401990095"],"photo_ids_order":["1401990095","1401990097","1401990099","1401990101","1401990104","1401990106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47805e1a97022c065ecbe51b20347e83.jpg","text":"TemporaryFile(/tmp/multipartBody4373440069674255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244993600,"filename":"image_03112025_23_21_05_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f08007b76a768d3b7ead038e20c700b.jpg","text":"TemporaryFile(/tmp/multipartBody4291476577766530772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244993600,"filename":"image_03112025_23_20_57_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ac785d41987609d18d391e656733f25.jpg","text":"TemporaryFile(/tmp/multipartBody8321737947337184758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244993600,"filename":"image_03112025_23_21_04_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d099c07223ca763986a28b6156d66b7.jpg","text":"TemporaryFile(/tmp/multipartBody1458792473832786703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244993600,"filename":"image_03112025_23_21_07_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c45091b5158549c7694e40826e2f011.jpg","text":"TemporaryFile(/tmp/multipartBody1247955695586170372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244993600,"filename":"image_03112025_23_21_02_5204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c6edf74a1edee0ee58053352e7dead8.jpg","text":"TemporaryFile(/tmp/multipartBody3658896627163064737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767244993600,"filename":"image_03112025_23_20_55_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990099","file1":"1401990097","file0":"1401990095","file4":"1401990104","file5":"1401990106","file3":"1401990101"},"map_files_photo_id_array":[{"photo_id":"1401990106","filename":"file5"},{"photo_id":"1401990099","filename":"file2"},{"photo_id":"1401990104","filename":"file4"},{"photo_id":"1401990097","filename":"file1"},{"photo_id":"1401990095","filename":"file0"},{"photo_id":"1401990101","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990104":["hashtag1","hashtag2"]},{"1401990097":["hashtag1","hashtag2"]},{"1401990101":["hashtag1","hashtag2"]},{"1401990106":["hashtag1","hashtag2"]},{"1401990099":["hashtag1","hashtag2"]},{"1401990095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990104, 1401990097, 1401990101, 1401990106, 1401990099, 1401990095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83676481246948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:23:03.034192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_45_10569.jpg', '/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_55_9764.jpg', '/home/pi/Desktop/images/01012026/05/14/image_01012026_05_15_05_9837.jpg', '/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_14_9871.jpg', '/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_25_10587.jpg', '/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_35_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_45_10569.jpg
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_14_55_9764.jpg
/home/pi/Desktop/images/01012026/05/14/image_01012026_05_15_05_9837.jpg
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_14_9871.jpg
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_25_10587.jpg
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_35_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990113","1401990116","1401990115","1401990109","1401990118","1401990111"],"photo_ids_order":["1401990109","1401990111","1401990113","1401990115","1401990116","1401990118"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a6eed06697f1f35534c099f39651156.jpg","text":"TemporaryFile(/tmp/multipartBody1563184142441702327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245043677,"filename":"image_01012026_05_15_05_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8be3683ac3847989df4f3287fde91985.jpg","text":"TemporaryFile(/tmp/multipartBody8988522252243118950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245043677,"filename":"image_01012026_05_15_25_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d1485f33d9486bd6e01905180a05ab8.jpg","text":"TemporaryFile(/tmp/multipartBody3352971528448291419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245043677,"filename":"image_01012026_05_15_14_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc3faa0154f004d8d5902a974888e0d8.jpg","text":"TemporaryFile(/tmp/multipartBody3027379510726864793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245043677,"filename":"image_01012026_05_14_45_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9f196856a4daa338eb176caa3b21f16.jpg","text":"TemporaryFile(/tmp/multipartBody5249383342199976112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245043677,"filename":"image_01012026_05_15_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41de7ddeb78f2127b26fdf51f24f5186.jpg","text":"TemporaryFile(/tmp/multipartBody3317142770713657112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245043677,"filename":"image_01012026_05_14_55_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990113","file1":"1401990111","file0":"1401990109","file4":"1401990116","file5":"1401990118","file3":"1401990115"},"map_files_photo_id_array":[{"photo_id":"1401990118","filename":"file5"},{"photo_id":"1401990113","filename":"file2"},{"photo_id":"1401990116","filename":"file4"},{"photo_id":"1401990111","filename":"file1"},{"photo_id":"1401990109","filename":"file0"},{"photo_id":"1401990115","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990113":["hashtag1","hashtag2"]},{"1401990116":["hashtag1","hashtag2"]},{"1401990115":["hashtag1","hashtag2"]},{"1401990109":["hashtag1","hashtag2"]},{"1401990118":["hashtag1","hashtag2"]},{"1401990111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990113, 1401990116, 1401990115, 1401990109, 1401990118, 1401990111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60301899909973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:23:42.282536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_08_1592.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_20_2610.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_44_3383.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_47_2991.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_50_2863.jpg', '/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_59_5896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_08_1592.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_20_2610.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_44_3383.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_47_2991.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_50_2863.jpg
/home/pi/Desktop/images/03112025/23/21/image_03112025_23_21_59_5896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990131","1401990128","1401990127","1401990130","1401990124","1401990129"],"photo_ids_order":["1401990124","1401990127","1401990128","1401990129","1401990130","1401990131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7f2b725b729f1f398d5742f1ead0354.jpg","text":"TemporaryFile(/tmp/multipartBody5011132693426800600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245084044,"filename":"image_03112025_23_21_59_5896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f54c5257594f90fbd2d7307cf8034c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2632857046568655845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245084044,"filename":"image_03112025_23_21_44_3383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34f5c29d0a392ef6061e5457174ca240.jpg","text":"TemporaryFile(/tmp/multipartBody8293359202507247699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245084044,"filename":"image_03112025_23_21_20_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d211d97581ad0c67c5b2ede515a6caf.jpg","text":"TemporaryFile(/tmp/multipartBody9178152433042344445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245084044,"filename":"image_03112025_23_21_50_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8788367e2dcf1e18eda6a70b252c303.jpg","text":"TemporaryFile(/tmp/multipartBody3858580654275396909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245084044,"filename":"image_03112025_23_21_08_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5ff2e9d14209df1a98e4f91ff2cfaae.jpg","text":"TemporaryFile(/tmp/multipartBody1912496798063454138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245084044,"filename":"image_03112025_23_21_47_2991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990128","file1":"1401990127","file0":"1401990124","file4":"1401990130","file5":"1401990131","file3":"1401990129"},"map_files_photo_id_array":[{"photo_id":"1401990131","filename":"file5"},{"photo_id":"1401990128","filename":"file2"},{"photo_id":"1401990130","filename":"file4"},{"photo_id":"1401990127","filename":"file1"},{"photo_id":"1401990124","filename":"file0"},{"photo_id":"1401990129","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990131":["hashtag1","hashtag2"]},{"1401990128":["hashtag1","hashtag2"]},{"1401990127":["hashtag1","hashtag2"]},{"1401990130":["hashtag1","hashtag2"]},{"1401990124":["hashtag1","hashtag2"]},{"1401990129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990131, 1401990128, 1401990127, 1401990130, 1401990124, 1401990129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.052886962890625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:24:22.516609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_44_9511.jpg', '/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_55_10623.jpg', '/home/pi/Desktop/images/01012026/05/15/image_01012026_05_16_04_9644.jpg', '/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_14_9801.jpg', '/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_25_10702.jpg', '/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_35_10036.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_44_9511.jpg
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_15_55_10623.jpg
/home/pi/Desktop/images/01012026/05/15/image_01012026_05_16_04_9644.jpg
/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_14_9801.jpg
/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_25_10702.jpg
/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_35_10036.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990143","1401990137","1401990133","1401990139","1401990141","1401990135"],"photo_ids_order":["1401990133","1401990135","1401990137","1401990139","1401990141","1401990143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbb441b7db9d0c2e37c95b0c11a86781.jpg","text":"TemporaryFile(/tmp/multipartBody1071112265886606878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245123114,"filename":"image_01012026_05_16_35_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5c8a313a204b2c9763db3453bc7c7d9.jpg","text":"TemporaryFile(/tmp/multipartBody4648860672092627674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245123114,"filename":"image_01012026_05_16_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/843c8ecd91d866ff44ad1af989738686.jpg","text":"TemporaryFile(/tmp/multipartBody229079184313994642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245123114,"filename":"image_01012026_05_15_44_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/149ad4009a28602b0837c1382e2a737d.jpg","text":"TemporaryFile(/tmp/multipartBody6003609611508617539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245123114,"filename":"image_01012026_05_16_14_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6be4a5862c27c2fde8e49f13c069b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody3460405275393348853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245123114,"filename":"image_01012026_05_16_25_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b75f4779a481c387cb45f41482d94e26.jpg","text":"TemporaryFile(/tmp/multipartBody4922452564278143443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245123114,"filename":"image_01012026_05_15_55_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990137","file1":"1401990135","file0":"1401990133","file4":"1401990141","file5":"1401990143","file3":"1401990139"},"map_files_photo_id_array":[{"photo_id":"1401990143","filename":"file5"},{"photo_id":"1401990137","filename":"file2"},{"photo_id":"1401990141","filename":"file4"},{"photo_id":"1401990135","filename":"file1"},{"photo_id":"1401990133","filename":"file0"},{"photo_id":"1401990139","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990143":["hashtag1","hashtag2"]},{"1401990137":["hashtag1","hashtag2"]},{"1401990133":["hashtag1","hashtag2"]},{"1401990139":["hashtag1","hashtag2"]},{"1401990141":["hashtag1","hashtag2"]},{"1401990135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990143, 1401990137, 1401990133, 1401990139, 1401990141, 1401990135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.176020860672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:25:03.389190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 06:25:12.567668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_04_5935.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_08_3097.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_14_1697.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_18_3317.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_19_1747.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_22_2825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_04_5935.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_08_3097.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_14_1697.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_18_3317.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_19_1747.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_22_2825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990151","1401990145","1401990144","1401990153","1401990147","1401990149"],"photo_ids_order":["1401990144","1401990145","1401990147","1401990149","1401990151","1401990153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2cf3d72896a35b4108d846690264dbbc.jpg","text":"TemporaryFile(/tmp/multipartBody5665836216273490819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245176160,"filename":"image_03112025_23_22_19_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41dbf01e45833a5bd9437d0a14a2582a.jpg","text":"TemporaryFile(/tmp/multipartBody812577510655325402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245176160,"filename":"image_03112025_23_22_08_3097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb5e07e2a35a6cf579b58aa5d9cbe1f4.jpg","text":"TemporaryFile(/tmp/multipartBody1272061776875670822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245176160,"filename":"image_03112025_23_22_04_5935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9166dec40e9e7e344c3df5b594705cd.jpg","text":"TemporaryFile(/tmp/multipartBody3827577236537052865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245176160,"filename":"image_03112025_23_22_22_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97365893d495753ec0e757aa4d38026f.jpg","text":"TemporaryFile(/tmp/multipartBody8783973899146743315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245176160,"filename":"image_03112025_23_22_14_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdf81eadd3c2fa9f08c2f2b98960d276.jpg","text":"TemporaryFile(/tmp/multipartBody6483612388277055985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245176160,"filename":"image_03112025_23_22_18_3317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990147","file1":"1401990145","file0":"1401990144","file4":"1401990151","file5":"1401990153","file3":"1401990149"},"map_files_photo_id_array":[{"photo_id":"1401990153","filename":"file5"},{"photo_id":"1401990147","filename":"file2"},{"photo_id":"1401990151","filename":"file4"},{"photo_id":"1401990145","filename":"file1"},{"photo_id":"1401990144","filename":"file0"},{"photo_id":"1401990149","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990151":["hashtag1","hashtag2"]},{"1401990145":["hashtag1","hashtag2"]},{"1401990144":["hashtag1","hashtag2"]},{"1401990153":["hashtag1","hashtag2"]},{"1401990147":["hashtag1","hashtag2"]},{"1401990149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990151, 1401990145, 1401990144, 1401990153, 1401990147, 1401990149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.76960563659668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:26:02.216971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 06:26:12.601198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_26_3744.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_29_2558.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_32_3524.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_35_2585.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_42_1603.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_44_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/23/22/image_03112025_23_22_26_3744.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_29_2558.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_32_3524.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_35_2585.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_42_1603.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_44_1665.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.6544413566589355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:26:21.830331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_45_9731.jpg', '/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_55_9867.jpg', '/home/pi/Desktop/images/01012026/05/16/image_01012026_05_17_04_9738.jpg', '/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_15_10622.jpg', '/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_25_9729.jpg', '/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_34_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_45_9731.jpg
/home/pi/Desktop/images/01012026/05/16/image_01012026_05_16_55_9867.jpg
/home/pi/Desktop/images/01012026/05/16/image_01012026_05_17_04_9738.jpg
/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_15_10622.jpg
/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_25_9729.jpg
/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_34_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990164","1401990158","1401990169","1401990171","1401990167","1401990161"],"photo_ids_order":["1401990158","1401990161","1401990164","1401990167","1401990169","1401990171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ab4dcecac825a68bf95da5947e7e784.jpg","text":"TemporaryFile(/tmp/multipartBody191346722419688156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245242422,"filename":"image_01012026_05_17_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c2ccf41bc1ed37b317ea124487d414b.jpg","text":"TemporaryFile(/tmp/multipartBody4812551895342952771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245242422,"filename":"image_01012026_05_16_45_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a41e451e3af76427528e650ab4869aa.jpg","text":"TemporaryFile(/tmp/multipartBody1434090075706912792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245242422,"filename":"image_01012026_05_17_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f1bc9f50ffab275ecccd24ff0f26327.jpg","text":"TemporaryFile(/tmp/multipartBody8263050732788876416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245242422,"filename":"image_01012026_05_17_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16576352cb693a615e292d96b865bf9c.jpg","text":"TemporaryFile(/tmp/multipartBody8977144550307870502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245242422,"filename":"image_01012026_05_17_15_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71191f66251a51caa47b03a8ac77905f.jpg","text":"TemporaryFile(/tmp/multipartBody8258911662855991660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245242422,"filename":"image_01012026_05_16_55_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990164","file1":"1401990161","file0":"1401990158","file4":"1401990169","file5":"1401990171","file3":"1401990167"},"map_files_photo_id_array":[{"photo_id":"1401990171","filename":"file5"},{"photo_id":"1401990164","filename":"file2"},{"photo_id":"1401990169","filename":"file4"},{"photo_id":"1401990161","filename":"file1"},{"photo_id":"1401990158","filename":"file0"},{"photo_id":"1401990167","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990164":["hashtag1","hashtag2"]},{"1401990158":["hashtag1","hashtag2"]},{"1401990169":["hashtag1","hashtag2"]},{"1401990171":["hashtag1","hashtag2"]},{"1401990167":["hashtag1","hashtag2"]},{"1401990161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990164, 1401990158, 1401990169, 1401990171, 1401990167, 1401990161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.59470081329346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:27:05.817118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 06:27:15.153476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_26_3744.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_29_2558.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_32_3524.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_35_2585.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_42_1603.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_44_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/23/22/image_03112025_23_22_26_3744.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_29_2558.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_32_3524.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_35_2585.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_42_1603.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_44_1665.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: 6.384007692337036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:27:25.056809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_44_9663.jpg', '/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_55_10610.jpg', '/home/pi/Desktop/images/01012026/05/17/image_01012026_05_18_04_9692.jpg', '/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_14_9711.jpg', '/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_25_10699.jpg', '/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_34_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_44_9663.jpg
/home/pi/Desktop/images/01012026/05/17/image_01012026_05_17_55_10610.jpg
/home/pi/Desktop/images/01012026/05/17/image_01012026_05_18_04_9692.jpg
/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_14_9711.jpg
/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_25_10699.jpg
/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_34_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990181","1401990190","1401990184","1401990178","1401990175","1401990188"],"photo_ids_order":["1401990175","1401990178","1401990181","1401990184","1401990188","1401990190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acc675eaf24cb4f7d0f279b1497fccfc.jpg","text":"TemporaryFile(/tmp/multipartBody4257053202488292203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245305612,"filename":"image_01012026_05_18_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56cf4931ed53168b61eb7eff224357f0.jpg","text":"TemporaryFile(/tmp/multipartBody8938717796421835796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245305612,"filename":"image_01012026_05_18_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c0f0d1fc3aa6739ddedfa32e9d4bf80.jpg","text":"TemporaryFile(/tmp/multipartBody7836339645452746021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245305612,"filename":"image_01012026_05_18_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d51ce31b06ac1c7e90f05952a512c00d.jpg","text":"TemporaryFile(/tmp/multipartBody657393748941679298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245305612,"filename":"image_01012026_05_17_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68058aa9372cb6ccffbb4daef518b77b.jpg","text":"TemporaryFile(/tmp/multipartBody5506275975952270013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245305612,"filename":"image_01012026_05_17_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d99f84d28fc5c580c16616ce74dec55a.jpg","text":"TemporaryFile(/tmp/multipartBody4701218664337655763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245305612,"filename":"image_01012026_05_18_25_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990181","file1":"1401990178","file0":"1401990175","file4":"1401990188","file5":"1401990190","file3":"1401990184"},"map_files_photo_id_array":[{"photo_id":"1401990190","filename":"file5"},{"photo_id":"1401990181","filename":"file2"},{"photo_id":"1401990188","filename":"file4"},{"photo_id":"1401990178","filename":"file1"},{"photo_id":"1401990175","filename":"file0"},{"photo_id":"1401990184","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990181":["hashtag1","hashtag2"]},{"1401990190":["hashtag1","hashtag2"]},{"1401990184":["hashtag1","hashtag2"]},{"1401990178":["hashtag1","hashtag2"]},{"1401990175":["hashtag1","hashtag2"]},{"1401990188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990181, 1401990190, 1401990184, 1401990178, 1401990175, 1401990188)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 36.79399871826172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:28:12.360474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_26_3744.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_29_2558.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_32_3524.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_35_2585.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_42_1603.jpg', '/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_44_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/23/22/image_03112025_23_22_26_3744.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_29_2558.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_32_3524.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_35_2585.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_42_1603.jpg
/home/pi/Desktop/images/03112025/23/22/image_03112025_23_22_44_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":["1401990199","1401990193","1401990192","1401990195","1401990197","1401990191"],"photo_ids_order":["1401990191","1401990192","1401990193","1401990195","1401990197","1401990199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c3fa24f0dd244facb929eca23a7da08.jpg","text":"TemporaryFile(/tmp/multipartBody8502191107614419196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245354049,"filename":"image_03112025_23_22_44_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41944875bdeb51a00696e8c2b9b04196.jpg","text":"TemporaryFile(/tmp/multipartBody2361481487390401033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245354049,"filename":"image_03112025_23_22_32_3524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba1086f2f9e48a4463808948268535ca.jpg","text":"TemporaryFile(/tmp/multipartBody3659547205221990883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245354049,"filename":"image_03112025_23_22_29_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4aa4db544f4d9185f24d522cfc02b0aa.jpg","text":"TemporaryFile(/tmp/multipartBody4778592093067379292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245354049,"filename":"image_03112025_23_22_35_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa727ec32712b26075b71b31a29183db.jpg","text":"TemporaryFile(/tmp/multipartBody2963381112557390507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245354049,"filename":"image_03112025_23_22_42_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db96f7fc3fdf6278e35360e13f565b71.jpg","text":"TemporaryFile(/tmp/multipartBody6880632434252202900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245354049,"filename":"image_03112025_23_22_26_3744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990193","file1":"1401990192","file0":"1401990191","file4":"1401990197","file5":"1401990199","file3":"1401990195"},"map_files_photo_id_array":[{"photo_id":"1401990199","filename":"file5"},{"photo_id":"1401990193","filename":"file2"},{"photo_id":"1401990197","filename":"file4"},{"photo_id":"1401990192","filename":"file1"},{"photo_id":"1401990191","filename":"file0"},{"photo_id":"1401990195","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990199":["hashtag1","hashtag2"]},{"1401990193":["hashtag1","hashtag2"]},{"1401990192":["hashtag1","hashtag2"]},{"1401990195":["hashtag1","hashtag2"]},{"1401990197":["hashtag1","hashtag2"]},{"1401990191":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990199, 1401990193, 1401990192, 1401990195, 1401990197, 1401990191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07882809638977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:29:03.543283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_44_9998.jpg', '/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_55_10714.jpg', '/home/pi/Desktop/images/01012026/05/18/image_01012026_05_19_05_9649.jpg', '/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_14_9678.jpg', '/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_24_9815.jpg', '/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_35_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_44_9998.jpg
/home/pi/Desktop/images/01012026/05/18/image_01012026_05_18_55_10714.jpg
/home/pi/Desktop/images/01012026/05/18/image_01012026_05_19_05_9649.jpg
/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_14_9678.jpg
/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_24_9815.jpg
/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_35_10552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990212","1401990206","1401990209","1401990208","1401990207","1401990204"],"photo_ids_order":["1401990204","1401990206","1401990207","1401990208","1401990209","1401990212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b807bec24eecb0b0de8ecd7bcac1b981.jpg","text":"TemporaryFile(/tmp/multipartBody1305369421628889919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245404264,"filename":"image_01012026_05_19_35_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45e189d504a08e58487fef8d51bb8ee6.jpg","text":"TemporaryFile(/tmp/multipartBody3571508940928634605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245404264,"filename":"image_01012026_05_18_55_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64a05a8cf3d29c10a5908ee89fc8670f.jpg","text":"TemporaryFile(/tmp/multipartBody1808656543999043916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245404264,"filename":"image_01012026_05_19_24_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e616484424f60b180150b07ec9bfb283.jpg","text":"TemporaryFile(/tmp/multipartBody6663839877893051021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245404264,"filename":"image_01012026_05_19_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d955e1f0ee9552a595c09353634feb9.jpg","text":"TemporaryFile(/tmp/multipartBody7541531483332489600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245404264,"filename":"image_01012026_05_19_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90de0d703e348ffcf8b21ff55ee5ac4a.jpg","text":"TemporaryFile(/tmp/multipartBody7221092689761738249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245404264,"filename":"image_01012026_05_18_44_9998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990207","file1":"1401990206","file0":"1401990204","file4":"1401990209","file5":"1401990212","file3":"1401990208"},"map_files_photo_id_array":[{"photo_id":"1401990212","filename":"file5"},{"photo_id":"1401990207","filename":"file2"},{"photo_id":"1401990209","filename":"file4"},{"photo_id":"1401990206","filename":"file1"},{"photo_id":"1401990204","filename":"file0"},{"photo_id":"1401990208","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990212":["hashtag1","hashtag2"]},{"1401990206":["hashtag1","hashtag2"]},{"1401990209":["hashtag1","hashtag2"]},{"1401990208":["hashtag1","hashtag2"]},{"1401990207":["hashtag1","hashtag2"]},{"1401990204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990212, 1401990206, 1401990209, 1401990208, 1401990207, 1401990204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99305033683777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:29:42.597049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_05_1646.jpg', '/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_06_1710.jpg', '/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_32_1609.jpg', '/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_34_1769.jpg', '/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_46_2645.jpg', '/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_58_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/23/23/image_03112025_23_23_05_1646.jpg
/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_06_1710.jpg
/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_32_1609.jpg
/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_34_1769.jpg
/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_46_2645.jpg
/home/pi/Desktop/images/03112025/23/23/image_03112025_23_23_58_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":["1401990221","1401990224","1401990218","1401990220","1401990223","1401990222"],"photo_ids_order":["1401990218","1401990220","1401990221","1401990222","1401990223","1401990224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11999597fb706a2a383b6848e5d7174e.jpg","text":"TemporaryFile(/tmp/multipartBody7290789032468881378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245444350,"filename":"image_03112025_23_23_32_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/952ff81ceb6d073709c2b1ee658fdf63.jpg","text":"TemporaryFile(/tmp/multipartBody6225211413193872968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245444350,"filename":"image_03112025_23_23_58_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/925882722f4b42ef73f543dbe0159de2.jpg","text":"TemporaryFile(/tmp/multipartBody4050759666871567431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245444350,"filename":"image_03112025_23_23_05_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/685759a39a9d4041d1a555836bc4b5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1572022001101447069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245444350,"filename":"image_03112025_23_23_06_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5524f5b7344c7570b07bd5047d8db61.jpg","text":"TemporaryFile(/tmp/multipartBody1012902702376165242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245444350,"filename":"image_03112025_23_23_46_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd5608582ea3c306629cc6f01c0a3390.jpg","text":"TemporaryFile(/tmp/multipartBody9139293457444791109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245444350,"filename":"image_03112025_23_23_34_1769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990221","file1":"1401990220","file0":"1401990218","file4":"1401990223","file5":"1401990224","file3":"1401990222"},"map_files_photo_id_array":[{"photo_id":"1401990224","filename":"file5"},{"photo_id":"1401990221","filename":"file2"},{"photo_id":"1401990223","filename":"file4"},{"photo_id":"1401990220","filename":"file1"},{"photo_id":"1401990218","filename":"file0"},{"photo_id":"1401990222","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990221":["hashtag1","hashtag2"]},{"1401990224":["hashtag1","hashtag2"]},{"1401990218":["hashtag1","hashtag2"]},{"1401990220":["hashtag1","hashtag2"]},{"1401990223":["hashtag1","hashtag2"]},{"1401990222":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990221, 1401990224, 1401990218, 1401990220, 1401990223, 1401990222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.799344301223755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:30:22.727689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_44_9668.jpg', '/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_55_10605.jpg', '/home/pi/Desktop/images/01012026/05/19/image_01012026_05_20_05_9571.jpg', '/home/pi/Desktop/images/01012026/05/20/image_01012026_05_20_14_9827.jpg', '/home/pi/Desktop/images/01012026/05/20/image_01012026_05_20_24_9838.jpg', '/home/pi/Desktop/images/01012026/05/20/image_01012026_05_20_34_10214.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_44_9668.jpg
/home/pi/Desktop/images/01012026/05/19/image_01012026_05_19_55_10605.jpg
/home/pi/Desktop/images/01012026/05/19/image_01012026_05_20_05_9571.jpg
/home/pi/Desktop/images/01012026/05/20/image_01012026_05_20_14_9827.jpg
/home/pi/Desktop/images/01012026/05/20/image_01012026_05_20_24_9838.jpg
/home/pi/Desktop/images/01012026/05/20/image_01012026_05_20_34_10214.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990226","1401990235","1401990229","1401990231","1401990228","1401990233"],"photo_ids_order":["1401990226","1401990228","1401990229","1401990231","1401990233","1401990235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5257e5b47c6897997e9b5472a47f37ba.jpg","text":"TemporaryFile(/tmp/multipartBody7403781316312650248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245484576,"filename":"image_01012026_05_19_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9bdd57cd31b69d1f2186f22f2f648b93.jpg","text":"TemporaryFile(/tmp/multipartBody7578806296398591669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245484576,"filename":"image_01012026_05_20_34_10214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5afd9e1dfc78a491eed9507d8084265b.jpg","text":"TemporaryFile(/tmp/multipartBody8985931671641184220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245484576,"filename":"image_01012026_05_20_05_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/382ff40a0e990fa289b30db8fd28d268.jpg","text":"TemporaryFile(/tmp/multipartBody4572624831674579975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245484576,"filename":"image_01012026_05_20_14_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/103808358d1f30c736b24acb020f7db7.jpg","text":"TemporaryFile(/tmp/multipartBody1104272077398295730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245484576,"filename":"image_01012026_05_19_55_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ace52515bfeaa86e1818e30bddb57d08.jpg","text":"TemporaryFile(/tmp/multipartBody1657289484574885775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245484576,"filename":"image_01012026_05_20_24_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990229","file1":"1401990228","file0":"1401990226","file4":"1401990233","file5":"1401990235","file3":"1401990231"},"map_files_photo_id_array":[{"photo_id":"1401990235","filename":"file5"},{"photo_id":"1401990229","filename":"file2"},{"photo_id":"1401990233","filename":"file4"},{"photo_id":"1401990228","filename":"file1"},{"photo_id":"1401990226","filename":"file0"},{"photo_id":"1401990231","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990226":["hashtag1","hashtag2"]},{"1401990235":["hashtag1","hashtag2"]},{"1401990229":["hashtag1","hashtag2"]},{"1401990231":["hashtag1","hashtag2"]},{"1401990228":["hashtag1","hashtag2"]},{"1401990233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990226, 1401990235, 1401990229, 1401990231, 1401990228, 1401990233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11290717124939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:31:02.845286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/20/image_01012026_05_20_44_9679.jpg', '/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_01_16763.jpg', '/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_05_3687.jpg', '/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_14_9735.jpg', '/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_35_9541.jpg', '/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_44_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/20/image_01012026_05_20_44_9679.jpg
/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_01_16763.jpg
/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_05_3687.jpg
/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_14_9735.jpg
/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_35_9541.jpg
/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_44_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":["1401990242","1401990236","1401990239","1401990238","1401990237","1401990240"],"photo_ids_order":["1401990236","1401990237","1401990238","1401990239","1401990240","1401990242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eec3aa246d2f67cb9674a8cd1f442e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3175262922379849740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245523509,"filename":"image_01012026_05_21_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cde4f935daaecbe7cf47139df0c41cd9.jpg","text":"TemporaryFile(/tmp/multipartBody4217739885803932119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245523509,"filename":"image_01012026_05_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/2026/1/1/5227b2b35d302cb910e8db70c52bb0a1.jpg","text":"TemporaryFile(/tmp/multipartBody8254658425773088653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245523509,"filename":"image_01012026_05_21_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a442938145cf6d42f5334210b48fd585.jpg","text":"TemporaryFile(/tmp/multipartBody6133152512883834241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245523509,"filename":"image_01012026_05_21_05_3687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14644e0b3717ac4e88ea2f488445048f.jpg","text":"TemporaryFile(/tmp/multipartBody1788593427137989839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245523509,"filename":"image_01012026_05_21_01_16763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b863f17f7f52613e1eff6ae1bb97224.jpg","text":"TemporaryFile(/tmp/multipartBody700238297538631205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245523509,"filename":"image_01012026_05_21_35_9541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990238","file1":"1401990237","file0":"1401990236","file4":"1401990240","file5":"1401990242","file3":"1401990239"},"map_files_photo_id_array":[{"photo_id":"1401990242","filename":"file5"},{"photo_id":"1401990238","filename":"file2"},{"photo_id":"1401990240","filename":"file4"},{"photo_id":"1401990237","filename":"file1"},{"photo_id":"1401990236","filename":"file0"},{"photo_id":"1401990239","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990242":["hashtag1","hashtag2"]},{"1401990236":["hashtag1","hashtag2"]},{"1401990239":["hashtag1","hashtag2"]},{"1401990238":["hashtag1","hashtag2"]},{"1401990237":["hashtag1","hashtag2"]},{"1401990240":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990242, 1401990236, 1401990239, 1401990238, 1401990237, 1401990240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.282859563827515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:31:42.091109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/24/image_03112025_23_24_11_2788.jpg', '/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_16_1506.jpg', '/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_35_1532.jpg', '/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_37_1756.jpg', '/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_46_1694.jpg', '/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_47_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/23/24/image_03112025_23_24_11_2788.jpg
/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_16_1506.jpg
/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_35_1532.jpg
/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_37_1756.jpg
/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_46_1694.jpg
/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_47_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":["1401990250","1401990253","1401990255","1401990252","1401990251","1401990248"],"photo_ids_order":["1401990248","1401990250","1401990251","1401990252","1401990253","1401990255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/418cb19454995e4f5483a8c4699e24a7.jpg","text":"TemporaryFile(/tmp/multipartBody8815696545221629024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245563864,"filename":"image_03112025_23_25_16_1506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26adb2ba7a9a67b4ebfe365bbfc49296.jpg","text":"TemporaryFile(/tmp/multipartBody6072346928097508032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245563864,"filename":"image_03112025_23_25_46_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81492a7605ed37ff71b576733f833cb6.jpg","text":"TemporaryFile(/tmp/multipartBody772913677469327822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245563864,"filename":"image_03112025_23_25_47_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93536bc2b6e678044b77335021b830ea.jpg","text":"TemporaryFile(/tmp/multipartBody2654633035277082870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245563864,"filename":"image_03112025_23_25_37_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28577f2d47b0cb0e61c9c35dde5634a3.jpg","text":"TemporaryFile(/tmp/multipartBody7716972960384321597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245563864,"filename":"image_03112025_23_25_35_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b6e40a1e0c992082a32738f149862e4.jpg","text":"TemporaryFile(/tmp/multipartBody6170584278931673353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245563864,"filename":"image_03112025_23_24_11_2788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990251","file1":"1401990250","file0":"1401990248","file4":"1401990253","file5":"1401990255","file3":"1401990252"},"map_files_photo_id_array":[{"photo_id":"1401990255","filename":"file5"},{"photo_id":"1401990251","filename":"file2"},{"photo_id":"1401990253","filename":"file4"},{"photo_id":"1401990250","filename":"file1"},{"photo_id":"1401990248","filename":"file0"},{"photo_id":"1401990252","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990250":["hashtag1","hashtag2"]},{"1401990253":["hashtag1","hashtag2"]},{"1401990255":["hashtag1","hashtag2"]},{"1401990252":["hashtag1","hashtag2"]},{"1401990251":["hashtag1","hashtag2"]},{"1401990248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990250, 1401990253, 1401990255, 1401990252, 1401990251, 1401990248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26236653327942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:32:22.296571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_55_10626.jpg', '/home/pi/Desktop/images/01012026/05/21/image_01012026_05_22_05_9869.jpg', '/home/pi/Desktop/images/01012026/05/22/image_01012026_05_22_14_9558.jpg', '/home/pi/Desktop/images/01012026/05/22/image_01012026_05_22_25_10739.jpg', '/home/pi/Desktop/images/01012026/05/22/image_01012026_05_22_44_9781.jpg', '/home/pi/Desktop/images/01012026/05/22/image_01012026_05_22_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/21/image_01012026_05_21_55_10626.jpg
/home/pi/Desktop/images/01012026/05/21/image_01012026_05_22_05_9869.jpg
/home/pi/Desktop/images/01012026/05/22/image_01012026_05_22_14_9558.jpg
/home/pi/Desktop/images/01012026/05/22/image_01012026_05_22_25_10739.jpg
/home/pi/Desktop/images/01012026/05/22/image_01012026_05_22_44_9781.jpg
/home/pi/Desktop/images/01012026/05/22/image_01012026_05_22_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":["1401990263","1401990257","1401990265","1401990259","1401990267","1401990261"],"photo_ids_order":["1401990257","1401990259","1401990261","1401990263","1401990265","1401990267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e203e4bb3d610d91926ee957f8a91da.jpg","text":"TemporaryFile(/tmp/multipartBody7274024306293547172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245602881,"filename":"image_01012026_05_22_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfd7d654f26109aacef9d1c782497411.jpg","text":"TemporaryFile(/tmp/multipartBody2243392061529931965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245602881,"filename":"image_01012026_05_21_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e416e0d65046b2c256121b854cc9bd9f.jpg","text":"TemporaryFile(/tmp/multipartBody1959630651113743849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245602881,"filename":"image_01012026_05_22_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b70a07dcc3d97260eb68812a8936e05.jpg","text":"TemporaryFile(/tmp/multipartBody8001286345725365824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245602881,"filename":"image_01012026_05_22_05_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af366e58ab1470dab9c382d7fc28a3b7.jpg","text":"TemporaryFile(/tmp/multipartBody6828344427177893585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245602881,"filename":"image_01012026_05_22_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8561f88417fb61ed2ce3faacb6110a41.jpg","text":"TemporaryFile(/tmp/multipartBody5756879375200725959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245602881,"filename":"image_01012026_05_22_14_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990261","file1":"1401990259","file0":"1401990257","file4":"1401990265","file5":"1401990267","file3":"1401990263"},"map_files_photo_id_array":[{"photo_id":"1401990267","filename":"file5"},{"photo_id":"1401990261","filename":"file2"},{"photo_id":"1401990265","filename":"file4"},{"photo_id":"1401990259","filename":"file1"},{"photo_id":"1401990257","filename":"file0"},{"photo_id":"1401990263","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990263":["hashtag1","hashtag2"]},{"1401990257":["hashtag1","hashtag2"]},{"1401990265":["hashtag1","hashtag2"]},{"1401990259":["hashtag1","hashtag2"]},{"1401990267":["hashtag1","hashtag2"]},{"1401990261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990263, 1401990257, 1401990265, 1401990259, 1401990267, 1401990261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4862015247345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:33:02.912450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/22/image_01012026_05_23_05_10568.jpg', '/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_14_9627.jpg', '/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_25_10649.jpg', '/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_34_9533.jpg', '/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_45_10603.jpg', '/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_55_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/22/image_01012026_05_23_05_10568.jpg
/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_14_9627.jpg
/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_25_10649.jpg
/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_34_9533.jpg
/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_45_10603.jpg
/home/pi/Desktop/images/01012026/05/23/image_01012026_05_23_55_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990271","1401990274","1401990268","1401990270","1401990272","1401990269"],"photo_ids_order":["1401990268","1401990269","1401990270","1401990271","1401990272","1401990274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1aee8e8115750e6830ed8b9381673df.jpg","text":"TemporaryFile(/tmp/multipartBody23381479409737237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245643565,"filename":"image_01012026_05_23_34_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d83e55175e5a8aec47e7e379c5039bae.jpg","text":"TemporaryFile(/tmp/multipartBody3349402014220958781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245643565,"filename":"image_01012026_05_23_55_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46a225294ed0cc4c46b9a752c8a39d0a.jpg","text":"TemporaryFile(/tmp/multipartBody8207714931407874870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245643565,"filename":"image_01012026_05_23_05_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4b0677fdc3c608e21b97b8cf14cb6c2.jpg","text":"TemporaryFile(/tmp/multipartBody9211569085360209061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245643565,"filename":"image_01012026_05_23_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae67a59af96eec244b600ab5ae09a01f.jpg","text":"TemporaryFile(/tmp/multipartBody1214223209427149368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245643565,"filename":"image_01012026_05_23_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9556a4c9b9e8438c94e027def48e195.jpg","text":"TemporaryFile(/tmp/multipartBody4308072634521549973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245643565,"filename":"image_01012026_05_23_14_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990270","file1":"1401990269","file0":"1401990268","file4":"1401990272","file5":"1401990274","file3":"1401990271"},"map_files_photo_id_array":[{"photo_id":"1401990274","filename":"file5"},{"photo_id":"1401990270","filename":"file2"},{"photo_id":"1401990272","filename":"file4"},{"photo_id":"1401990269","filename":"file1"},{"photo_id":"1401990268","filename":"file0"},{"photo_id":"1401990271","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990271":["hashtag1","hashtag2"]},{"1401990274":["hashtag1","hashtag2"]},{"1401990268":["hashtag1","hashtag2"]},{"1401990270":["hashtag1","hashtag2"]},{"1401990272":["hashtag1","hashtag2"]},{"1401990269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990271, 1401990274, 1401990268, 1401990270, 1401990272, 1401990269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74158573150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:33:42.540760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_52_1838.jpg', '/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_27_10976.jpg', '/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_29_1576.jpg', '/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_30_1655.jpg', '/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_32_2012.jpg', '/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_36_1756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/25/image_03112025_23_25_52_1838.jpg
/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_27_10976.jpg
/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_29_1576.jpg
/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_30_1655.jpg
/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_32_2012.jpg
/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_36_1756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990280","1401990283","1401990286","1401990285","1401990288","1401990284"],"photo_ids_order":["1401990280","1401990283","1401990284","1401990285","1401990286","1401990288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/988d15b36fa9e2ac522597269616f664.jpg","text":"TemporaryFile(/tmp/multipartBody1483229264399188246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245684348,"filename":"image_03112025_23_25_52_1838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ae6dcd1baa944ca9ee981e1c8ca3784.jpg","text":"TemporaryFile(/tmp/multipartBody4715919598649438649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245684348,"filename":"image_03112025_23_26_27_10976.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe528e45ddcf190534bb506642292785.jpg","text":"TemporaryFile(/tmp/multipartBody4712583580457786655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245684348,"filename":"image_03112025_23_26_32_2012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1a622cb8c4975232bddb08b8197cf3e.jpg","text":"TemporaryFile(/tmp/multipartBody7813564809695044115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245684348,"filename":"image_03112025_23_26_30_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2e052cbf71e13b0e73fbfa94796d3ff.jpg","text":"TemporaryFile(/tmp/multipartBody222746650385547433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245684348,"filename":"image_03112025_23_26_36_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f904d1f723cc95f2b01467732de5e0f3.jpg","text":"TemporaryFile(/tmp/multipartBody8194466714059101082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245684348,"filename":"image_03112025_23_26_29_1576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990284","file1":"1401990283","file0":"1401990280","file4":"1401990286","file5":"1401990288","file3":"1401990285"},"map_files_photo_id_array":[{"photo_id":"1401990288","filename":"file5"},{"photo_id":"1401990284","filename":"file2"},{"photo_id":"1401990286","filename":"file4"},{"photo_id":"1401990283","filename":"file1"},{"photo_id":"1401990280","filename":"file0"},{"photo_id":"1401990285","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990280":["hashtag1","hashtag2"]},{"1401990283":["hashtag1","hashtag2"]},{"1401990286":["hashtag1","hashtag2"]},{"1401990285":["hashtag1","hashtag2"]},{"1401990288":["hashtag1","hashtag2"]},{"1401990284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990280, 1401990283, 1401990286, 1401990285, 1401990288, 1401990284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.334357023239136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:34:22.734525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/23/image_01012026_05_24_05_9860.jpg', '/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_14_9647.jpg', '/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_25_10623.jpg', '/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_35_9695.jpg', '/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_44_9595.jpg', '/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_55_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/23/image_01012026_05_24_05_9860.jpg
/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_14_9647.jpg
/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_25_10623.jpg
/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_35_9695.jpg
/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_44_9595.jpg
/home/pi/Desktop/images/01012026/05/24/image_01012026_05_24_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":["1401990298","1401990292","1401990301","1401990294","1401990296","1401990290"],"photo_ids_order":["1401990290","1401990292","1401990294","1401990296","1401990298","1401990301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e71601776a60cba94472e91850906ab.jpg","text":"TemporaryFile(/tmp/multipartBody3015151012782878334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245723358,"filename":"image_01012026_05_24_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9699e8deb22095f8a5e308afb87277ef.jpg","text":"TemporaryFile(/tmp/multipartBody2423162440486064255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245723358,"filename":"image_01012026_05_24_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56fdd9892da571b817aa754c21871222.jpg","text":"TemporaryFile(/tmp/multipartBody7036096190252222100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245723358,"filename":"image_01012026_05_24_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e88bbae6719aeaae715eef82291c071d.jpg","text":"TemporaryFile(/tmp/multipartBody8859697687225523660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245723358,"filename":"image_01012026_05_24_25_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8bf040cb52d872e5f78de2887a865ba.jpg","text":"TemporaryFile(/tmp/multipartBody3065186358236635140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245723358,"filename":"image_01012026_05_24_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91880759c0e63fbf36065d9c9267ab9b.jpg","text":"TemporaryFile(/tmp/multipartBody982381256418238527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245723358,"filename":"image_01012026_05_24_05_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990294","file1":"1401990292","file0":"1401990290","file4":"1401990298","file5":"1401990301","file3":"1401990296"},"map_files_photo_id_array":[{"photo_id":"1401990301","filename":"file5"},{"photo_id":"1401990294","filename":"file2"},{"photo_id":"1401990298","filename":"file4"},{"photo_id":"1401990292","filename":"file1"},{"photo_id":"1401990290","filename":"file0"},{"photo_id":"1401990296","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990298":["hashtag1","hashtag2"]},{"1401990292":["hashtag1","hashtag2"]},{"1401990301":["hashtag1","hashtag2"]},{"1401990294":["hashtag1","hashtag2"]},{"1401990296":["hashtag1","hashtag2"]},{"1401990290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990298, 1401990292, 1401990301, 1401990294, 1401990296, 1401990290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88250684738159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:35:02.447221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/24/image_01012026_05_25_05_9653.jpg', '/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_14_9645.jpg', '/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_25_10625.jpg', '/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_35_9594.jpg', '/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_44_9627.jpg', '/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_55_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/24/image_01012026_05_25_05_9653.jpg
/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_14_9645.jpg
/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_25_10625.jpg
/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_35_9594.jpg
/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_44_9627.jpg
/home/pi/Desktop/images/01012026/05/25/image_01012026_05_25_55_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":["1401990302","1401990305","1401990308","1401990304","1401990306","1401990303"],"photo_ids_order":["1401990302","1401990303","1401990304","1401990305","1401990306","1401990308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dc7b81ffce58ff8b16f14c278f5cbfc.jpg","text":"TemporaryFile(/tmp/multipartBody229472546072189372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245763147,"filename":"image_01012026_05_25_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11866bf3e11f23f8eda817a26863a6ab.jpg","text":"TemporaryFile(/tmp/multipartBody343205311088781396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245763147,"filename":"image_01012026_05_25_35_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1922b0df05f7617f37f73ad0a6ee7fd5.jpg","text":"TemporaryFile(/tmp/multipartBody3796127698680018405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245763147,"filename":"image_01012026_05_25_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1254c08e9c37317a847e6e8eabb5cb14.jpg","text":"TemporaryFile(/tmp/multipartBody2856878580313212208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245763147,"filename":"image_01012026_05_25_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b71c91d063eddcd61502658dce9b702d.jpg","text":"TemporaryFile(/tmp/multipartBody826939321178413111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245763147,"filename":"image_01012026_05_25_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e4150736ce398e4b9e04b171410101b.jpg","text":"TemporaryFile(/tmp/multipartBody5544876388006639380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245763147,"filename":"image_01012026_05_25_14_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990304","file1":"1401990303","file0":"1401990302","file4":"1401990306","file5":"1401990308","file3":"1401990305"},"map_files_photo_id_array":[{"photo_id":"1401990308","filename":"file5"},{"photo_id":"1401990304","filename":"file2"},{"photo_id":"1401990306","filename":"file4"},{"photo_id":"1401990303","filename":"file1"},{"photo_id":"1401990302","filename":"file0"},{"photo_id":"1401990305","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990302":["hashtag1","hashtag2"]},{"1401990305":["hashtag1","hashtag2"]},{"1401990308":["hashtag1","hashtag2"]},{"1401990304":["hashtag1","hashtag2"]},{"1401990306":["hashtag1","hashtag2"]},{"1401990303":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990302, 1401990305, 1401990308, 1401990304, 1401990306, 1401990303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60846710205078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:35:41.888301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_38_1623.jpg', '/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_39_1644.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_16_8301.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_18_1676.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_19_1775.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_21_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/23/26/image_03112025_23_26_38_1623.jpg
/home/pi/Desktop/images/03112025/23/26/image_03112025_23_26_39_1644.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_16_8301.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_18_1676.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_19_1775.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_21_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":["1401990320","1401990314","1401990317","1401990319","1401990318","1401990321"],"photo_ids_order":["1401990314","1401990317","1401990318","1401990319","1401990320","1401990321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba2690e21450db6870871dbb5d6f7ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4639142001154500084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245803669,"filename":"image_03112025_23_29_19_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3a686d9c081fe20e71aa95bf492ff57.jpg","text":"TemporaryFile(/tmp/multipartBody8483322452950449706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245803669,"filename":"image_03112025_23_26_38_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff186ab8fe0980ba10b73be851a3891e.jpg","text":"TemporaryFile(/tmp/multipartBody9112227054332975091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245803669,"filename":"image_03112025_23_26_39_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a9cfe9d5a08502ea1940ba1f8b78cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4192749364630224059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245803669,"filename":"image_03112025_23_29_18_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86fa366f8f21183bc0a7ab1a72c34b42.jpg","text":"TemporaryFile(/tmp/multipartBody6074819927470025618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245803669,"filename":"image_03112025_23_29_16_8301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/216c6b18ace8e52c880fbb5fdfa0f72b.jpg","text":"TemporaryFile(/tmp/multipartBody8536552275473845379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245803669,"filename":"image_03112025_23_29_21_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990318","file1":"1401990317","file0":"1401990314","file4":"1401990320","file5":"1401990321","file3":"1401990319"},"map_files_photo_id_array":[{"photo_id":"1401990321","filename":"file5"},{"photo_id":"1401990318","filename":"file2"},{"photo_id":"1401990320","filename":"file4"},{"photo_id":"1401990317","filename":"file1"},{"photo_id":"1401990314","filename":"file0"},{"photo_id":"1401990319","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990320":["hashtag1","hashtag2"]},{"1401990314":["hashtag1","hashtag2"]},{"1401990317":["hashtag1","hashtag2"]},{"1401990319":["hashtag1","hashtag2"]},{"1401990318":["hashtag1","hashtag2"]},{"1401990321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990320, 1401990314, 1401990317, 1401990319, 1401990318, 1401990321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00068664550781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:36:22.062227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/25/image_01012026_05_26_04_9713.jpg', '/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_14_9637.jpg', '/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_25_10685.jpg', '/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_35_9718.jpg', '/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_44_9693.jpg', '/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_55_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/25/image_01012026_05_26_04_9713.jpg
/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_14_9637.jpg
/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_25_10685.jpg
/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_35_9718.jpg
/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_44_9693.jpg
/home/pi/Desktop/images/01012026/05/26/image_01012026_05_26_55_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990323","1401990325","1401990334","1401990328","1401990322","1401990330"],"photo_ids_order":["1401990322","1401990323","1401990325","1401990328","1401990330","1401990334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e582d50d83b03ada1e5e280878627b98.jpg","text":"TemporaryFile(/tmp/multipartBody7993253173724786621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245842654,"filename":"image_01012026_05_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/2026/1/1/cc407b0d6afc67423de7923ec0d074a2.jpg","text":"TemporaryFile(/tmp/multipartBody1556300218098147227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245842654,"filename":"image_01012026_05_26_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4ca8c802ddfc9a4ee0034b199b4c824.jpg","text":"TemporaryFile(/tmp/multipartBody379450937018305642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245842654,"filename":"image_01012026_05_26_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/530b559b39274e1f231d69349816f996.jpg","text":"TemporaryFile(/tmp/multipartBody8805345980448133630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245842654,"filename":"image_01012026_05_26_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/708c2adf8380a745ffa221ce2e9e9de6.jpg","text":"TemporaryFile(/tmp/multipartBody6957200137946016215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245842654,"filename":"image_01012026_05_26_04_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3964346249ef2c341a5bff873a82ef4f.jpg","text":"TemporaryFile(/tmp/multipartBody1251900053704624877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245842654,"filename":"image_01012026_05_26_44_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990325","file1":"1401990323","file0":"1401990322","file4":"1401990330","file5":"1401990334","file3":"1401990328"},"map_files_photo_id_array":[{"photo_id":"1401990334","filename":"file5"},{"photo_id":"1401990325","filename":"file2"},{"photo_id":"1401990330","filename":"file4"},{"photo_id":"1401990323","filename":"file1"},{"photo_id":"1401990322","filename":"file0"},{"photo_id":"1401990328","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990323":["hashtag1","hashtag2"]},{"1401990325":["hashtag1","hashtag2"]},{"1401990334":["hashtag1","hashtag2"]},{"1401990328":["hashtag1","hashtag2"]},{"1401990322":["hashtag1","hashtag2"]},{"1401990330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990323, 1401990325, 1401990334, 1401990328, 1401990322, 1401990330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1431770324707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:37:02.947493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/26/image_01012026_05_27_05_9714.jpg', '/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_14_9741.jpg', '/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_24_9799.jpg', '/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_35_10765.jpg', '/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_45_9769.jpg', '/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_54_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/26/image_01012026_05_27_05_9714.jpg
/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_14_9741.jpg
/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_24_9799.jpg
/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_35_10765.jpg
/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_45_9769.jpg
/home/pi/Desktop/images/01012026/05/27/image_01012026_05_27_54_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990341","1401990344","1401990343","1401990346","1401990342","1401990339"],"photo_ids_order":["1401990339","1401990341","1401990342","1401990343","1401990344","1401990346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/338140580eeb545881ca78cd202e3ce7.jpg","text":"TemporaryFile(/tmp/multipartBody6085745132130806193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245883579,"filename":"image_01012026_05_27_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efe6b2ccd4d6e1e2968a32504b8dbce4.jpg","text":"TemporaryFile(/tmp/multipartBody4614363526701082358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245883579,"filename":"image_01012026_05_27_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48ac56a5617e2933753a43d52ea6e1d0.jpg","text":"TemporaryFile(/tmp/multipartBody6874233165548702470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245883579,"filename":"image_01012026_05_27_35_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c5052037d5f81fafb9036dd40d1d5bc.jpg","text":"TemporaryFile(/tmp/multipartBody1389768240619387791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245883579,"filename":"image_01012026_05_27_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b55cdd6ba32f2cb9475921408a43da3a.jpg","text":"TemporaryFile(/tmp/multipartBody5029547772507394129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245883579,"filename":"image_01012026_05_27_24_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13bfcbb2fc32e9c178e4c4265d137cdf.jpg","text":"TemporaryFile(/tmp/multipartBody7399097111681629117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245883579,"filename":"image_01012026_05_27_05_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990342","file1":"1401990341","file0":"1401990339","file4":"1401990344","file5":"1401990346","file3":"1401990343"},"map_files_photo_id_array":[{"photo_id":"1401990346","filename":"file5"},{"photo_id":"1401990342","filename":"file2"},{"photo_id":"1401990344","filename":"file4"},{"photo_id":"1401990341","filename":"file1"},{"photo_id":"1401990339","filename":"file0"},{"photo_id":"1401990343","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990341":["hashtag1","hashtag2"]},{"1401990344":["hashtag1","hashtag2"]},{"1401990343":["hashtag1","hashtag2"]},{"1401990346":["hashtag1","hashtag2"]},{"1401990342":["hashtag1","hashtag2"]},{"1401990339":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990341, 1401990344, 1401990343, 1401990346, 1401990342, 1401990339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8380560874939 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:37:42.240364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_35_14279.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_39_1669.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_40_1603.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_42_1502.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_43_1527.jpg', '/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_50_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/23/29/image_03112025_23_29_35_14279.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_39_1669.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_40_1603.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_42_1502.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_43_1527.jpg
/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_50_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990356","1401990355","1401990357","1401990351","1401990359","1401990353"],"photo_ids_order":["1401990351","1401990353","1401990355","1401990356","1401990357","1401990359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ffa1d55db6bfc07b144e43cca78c917.jpg","text":"TemporaryFile(/tmp/multipartBody5842233506048230183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245924026,"filename":"image_03112025_23_29_42_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2894ced71f1213f511cc5d8d8f7f505f.jpg","text":"TemporaryFile(/tmp/multipartBody3363106131344089115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245924026,"filename":"image_03112025_23_29_40_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b240b87f20aa186737a3b7e447b9732a.jpg","text":"TemporaryFile(/tmp/multipartBody1164322676144233297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245924026,"filename":"image_03112025_23_29_43_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68df64a712190fd5315e10f3dc8744e2.jpg","text":"TemporaryFile(/tmp/multipartBody6525366617646657480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245924026,"filename":"image_03112025_23_29_35_14279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9a22da2ee3311033e7ad56968ed91b5.jpg","text":"TemporaryFile(/tmp/multipartBody6924353331384895027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245924026,"filename":"image_03112025_23_29_50_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c55bbdf874c7918a35f529c891f5e663.jpg","text":"TemporaryFile(/tmp/multipartBody779564096203702756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245924026,"filename":"image_03112025_23_29_39_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990355","file1":"1401990353","file0":"1401990351","file4":"1401990357","file5":"1401990359","file3":"1401990356"},"map_files_photo_id_array":[{"photo_id":"1401990359","filename":"file5"},{"photo_id":"1401990355","filename":"file2"},{"photo_id":"1401990357","filename":"file4"},{"photo_id":"1401990353","filename":"file1"},{"photo_id":"1401990351","filename":"file0"},{"photo_id":"1401990356","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990356":["hashtag1","hashtag2"]},{"1401990355":["hashtag1","hashtag2"]},{"1401990357":["hashtag1","hashtag2"]},{"1401990351":["hashtag1","hashtag2"]},{"1401990359":["hashtag1","hashtag2"]},{"1401990353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990356, 1401990355, 1401990357, 1401990351, 1401990359, 1401990353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74664759635925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:38:22.422806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/27/image_01012026_05_28_04_9729.jpg', '/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_15_10663.jpg', '/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_25_9779.jpg', '/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_34_9644.jpg', '/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_45_10666.jpg', '/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_54_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/27/image_01012026_05_28_04_9729.jpg
/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_15_10663.jpg
/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_25_9779.jpg
/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_34_9644.jpg
/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_45_10666.jpg
/home/pi/Desktop/images/01012026/05/28/image_01012026_05_28_54_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":["1401990361","1401990370","1401990364","1401990372","1401990366","1401990368"],"photo_ids_order":["1401990361","1401990364","1401990366","1401990368","1401990370","1401990372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/391b0763a186c75e8356b4eeb63698fd.jpg","text":"TemporaryFile(/tmp/multipartBody4065326961351048644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245963043,"filename":"image_01012026_05_28_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e6925518dc596f89ab11072a0d3f688.jpg","text":"TemporaryFile(/tmp/multipartBody4661099585280340195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245963043,"filename":"image_01012026_05_28_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96f9e7680bbc15b9d89c91e3e62bb663.jpg","text":"TemporaryFile(/tmp/multipartBody1341187557552990024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245963043,"filename":"image_01012026_05_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/2026/1/1/de1471b6fe51e64dd353d6058d98238e.jpg","text":"TemporaryFile(/tmp/multipartBody2459855381433465467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245963043,"filename":"image_01012026_05_28_54_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6022172950281685be09515ef9ffbb36.jpg","text":"TemporaryFile(/tmp/multipartBody4287939064989212275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245963043,"filename":"image_01012026_05_28_25_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58cf8a6f8165e4aaddf0226e47b30e56.jpg","text":"TemporaryFile(/tmp/multipartBody6178748052521202011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767245963043,"filename":"image_01012026_05_28_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990366","file1":"1401990364","file0":"1401990361","file4":"1401990370","file5":"1401990372","file3":"1401990368"},"map_files_photo_id_array":[{"photo_id":"1401990372","filename":"file5"},{"photo_id":"1401990366","filename":"file2"},{"photo_id":"1401990370","filename":"file4"},{"photo_id":"1401990364","filename":"file1"},{"photo_id":"1401990361","filename":"file0"},{"photo_id":"1401990368","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990361":["hashtag1","hashtag2"]},{"1401990370":["hashtag1","hashtag2"]},{"1401990364":["hashtag1","hashtag2"]},{"1401990372":["hashtag1","hashtag2"]},{"1401990366":["hashtag1","hashtag2"]},{"1401990368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990361, 1401990370, 1401990364, 1401990372, 1401990366, 1401990368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65797257423401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:39:03.464496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/28/image_01012026_05_29_04_9698.jpg', '/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_15_10603.jpg', '/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_24_9583.jpg', '/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_35_10570.jpg', '/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_45_9642.jpg', '/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_54_9550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/28/image_01012026_05_29_04_9698.jpg
/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_15_10603.jpg
/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_24_9583.jpg
/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_35_10570.jpg
/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_45_9642.jpg
/home/pi/Desktop/images/01012026/05/29/image_01012026_05_29_54_9550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990376","1401990379","1401990373","1401990375","1401990377","1401990374"],"photo_ids_order":["1401990373","1401990374","1401990375","1401990376","1401990377","1401990379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d3315689f633b46f2480db8239bbafe.jpg","text":"TemporaryFile(/tmp/multipartBody8635255844652459269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246004170,"filename":"image_01012026_05_29_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5053583b92ac35899b2b6238469d9c83.jpg","text":"TemporaryFile(/tmp/multipartBody5596463133223309301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246004170,"filename":"image_01012026_05_29_54_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8aeba252f8d9db654f1eaa5cad3847f3.jpg","text":"TemporaryFile(/tmp/multipartBody4651794336306583891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246004170,"filename":"image_01012026_05_29_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fda50ad478eff0e8a51efa89ee694732.jpg","text":"TemporaryFile(/tmp/multipartBody1387350884405382244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246004170,"filename":"image_01012026_05_29_24_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8dd2e33bfa37da45e915d598c883f169.jpg","text":"TemporaryFile(/tmp/multipartBody8113271096984105788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246004170,"filename":"image_01012026_05_29_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45adccf3c934e1c33edc31a288fce435.jpg","text":"TemporaryFile(/tmp/multipartBody5438848727178462624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246004170,"filename":"image_01012026_05_29_15_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990375","file1":"1401990374","file0":"1401990373","file4":"1401990377","file5":"1401990379","file3":"1401990376"},"map_files_photo_id_array":[{"photo_id":"1401990379","filename":"file5"},{"photo_id":"1401990375","filename":"file2"},{"photo_id":"1401990377","filename":"file4"},{"photo_id":"1401990374","filename":"file1"},{"photo_id":"1401990373","filename":"file0"},{"photo_id":"1401990376","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990376":["hashtag1","hashtag2"]},{"1401990379":["hashtag1","hashtag2"]},{"1401990373":["hashtag1","hashtag2"]},{"1401990375":["hashtag1","hashtag2"]},{"1401990377":["hashtag1","hashtag2"]},{"1401990374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990376, 1401990379, 1401990373, 1401990375, 1401990377, 1401990374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88147687911987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:39:42.599544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/29/image_03112025_23_29_56_2610.jpg', '/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_07_3011.jpg', '/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_20_2732.jpg', '/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_22_2594.jpg', '/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_26_3614.jpg', '/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_28_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/23/29/image_03112025_23_29_56_2610.jpg
/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_07_3011.jpg
/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_20_2732.jpg
/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_22_2594.jpg
/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_26_3614.jpg
/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_28_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":["1401990388","1401990390","1401990384","1401990387","1401990386","1401990389"],"photo_ids_order":["1401990384","1401990386","1401990387","1401990388","1401990389","1401990390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed12165c796d1d328d01ec49de08f779.jpg","text":"TemporaryFile(/tmp/multipartBody5374380193186362019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246044359,"filename":"image_03112025_23_31_22_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/496f6d3d3e14869995db330d6304a60c.jpg","text":"TemporaryFile(/tmp/multipartBody8929012471483429098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246044359,"filename":"image_03112025_23_31_28_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da54f83bcc4177fcf1314dd673c37ae2.jpg","text":"TemporaryFile(/tmp/multipartBody7322105022824848895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246044359,"filename":"image_03112025_23_29_56_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c8fcac7023e4a5b87d028b45b08d527.jpg","text":"TemporaryFile(/tmp/multipartBody1037628974271527224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246044359,"filename":"image_03112025_23_31_20_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c3995dfb2846dc8897764d44c87768f.jpg","text":"TemporaryFile(/tmp/multipartBody4290859752491387973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246044359,"filename":"image_03112025_23_31_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eef40051ae4469d9791cf3b3f8b7d952.jpg","text":"TemporaryFile(/tmp/multipartBody3090025545293727933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246044359,"filename":"image_03112025_23_31_26_3614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990387","file1":"1401990386","file0":"1401990384","file4":"1401990389","file5":"1401990390","file3":"1401990388"},"map_files_photo_id_array":[{"photo_id":"1401990390","filename":"file5"},{"photo_id":"1401990387","filename":"file2"},{"photo_id":"1401990389","filename":"file4"},{"photo_id":"1401990386","filename":"file1"},{"photo_id":"1401990384","filename":"file0"},{"photo_id":"1401990388","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990388":["hashtag1","hashtag2"]},{"1401990390":["hashtag1","hashtag2"]},{"1401990384":["hashtag1","hashtag2"]},{"1401990387":["hashtag1","hashtag2"]},{"1401990386":["hashtag1","hashtag2"]},{"1401990389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990388, 1401990390, 1401990384, 1401990387, 1401990386, 1401990389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14064431190491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:40:22.761346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/29/image_01012026_05_30_05_10640.jpg', '/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_14_9739.jpg', '/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_24_9683.jpg', '/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_35_10626.jpg', '/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_44_9547.jpg', '/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_55_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/29/image_01012026_05_30_05_10640.jpg
/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_14_9739.jpg
/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_24_9683.jpg
/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_35_10626.jpg
/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_44_9547.jpg
/home/pi/Desktop/images/01012026/05/30/image_01012026_05_30_55_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990401","1401990397","1401990399","1401990395","1401990402","1401990392"],"photo_ids_order":["1401990392","1401990395","1401990397","1401990399","1401990401","1401990402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3a93f0dd0cc329735438791efb34cfb.jpg","text":"TemporaryFile(/tmp/multipartBody102755306413052662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246083354,"filename":"image_01012026_05_30_44_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aaced9e4da2d9fe89a4357f026df6aaf.jpg","text":"TemporaryFile(/tmp/multipartBody988143193570248960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246083354,"filename":"image_01012026_05_30_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee2654c85f8865734ee8370b42651154.jpg","text":"TemporaryFile(/tmp/multipartBody8537270366594168084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246083354,"filename":"image_01012026_05_30_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/771c935a4d9b82e1a4b9eff2238eb824.jpg","text":"TemporaryFile(/tmp/multipartBody4904819517856232883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246083354,"filename":"image_01012026_05_30_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afe2084a298db6408c637747ab4b4c29.jpg","text":"TemporaryFile(/tmp/multipartBody7519118746413668070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246083354,"filename":"image_01012026_05_30_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/735db8bf6c4433af702cf2f3540e160d.jpg","text":"TemporaryFile(/tmp/multipartBody5449525213862472551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246083354,"filename":"image_01012026_05_30_05_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990397","file1":"1401990395","file0":"1401990392","file4":"1401990401","file5":"1401990402","file3":"1401990399"},"map_files_photo_id_array":[{"photo_id":"1401990402","filename":"file5"},{"photo_id":"1401990397","filename":"file2"},{"photo_id":"1401990401","filename":"file4"},{"photo_id":"1401990395","filename":"file1"},{"photo_id":"1401990392","filename":"file0"},{"photo_id":"1401990399","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990401":["hashtag1","hashtag2"]},{"1401990397":["hashtag1","hashtag2"]},{"1401990399":["hashtag1","hashtag2"]},{"1401990395":["hashtag1","hashtag2"]},{"1401990402":["hashtag1","hashtag2"]},{"1401990392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990401, 1401990397, 1401990399, 1401990395, 1401990402, 1401990392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89070153236389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:41:02.683167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/30/image_01012026_05_31_05_9673.jpg', '/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_14_9643.jpg', '/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_24_9797.jpg', '/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_35_10562.jpg', '/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_45_9906.jpg', '/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/30/image_01012026_05_31_05_9673.jpg
/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_14_9643.jpg
/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_24_9797.jpg
/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_35_10562.jpg
/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_45_9906.jpg
/home/pi/Desktop/images/01012026/05/31/image_01012026_05_31_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":["1401990410","1401990404","1401990406","1401990403","1401990405","1401990408"],"photo_ids_order":["1401990403","1401990404","1401990405","1401990406","1401990408","1401990410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37782eb2f7e1fd235637c86bc3e013ac.jpg","text":"TemporaryFile(/tmp/multipartBody2505672755974007339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246123325,"filename":"image_01012026_05_31_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e593fb0bdfc163b7ebdf25302bd1eee.jpg","text":"TemporaryFile(/tmp/multipartBody5245842885481696074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246123325,"filename":"image_01012026_05_31_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdf509b7bf39ae01550552015fb4c026.jpg","text":"TemporaryFile(/tmp/multipartBody2314266481763891637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246123325,"filename":"image_01012026_05_31_35_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8527ce61e3d823b514bd204cec4bf08.jpg","text":"TemporaryFile(/tmp/multipartBody2490512845877466159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246123325,"filename":"image_01012026_05_31_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df9db6dda3cae35eb3164e2b76fd4a9b.jpg","text":"TemporaryFile(/tmp/multipartBody764968603752653650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246123325,"filename":"image_01012026_05_31_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d218ac2664d84a8405b68322c59d2536.jpg","text":"TemporaryFile(/tmp/multipartBody8937069676323468033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246123325,"filename":"image_01012026_05_31_45_9906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990405","file1":"1401990404","file0":"1401990403","file4":"1401990408","file5":"1401990410","file3":"1401990406"},"map_files_photo_id_array":[{"photo_id":"1401990410","filename":"file5"},{"photo_id":"1401990405","filename":"file2"},{"photo_id":"1401990408","filename":"file4"},{"photo_id":"1401990404","filename":"file1"},{"photo_id":"1401990403","filename":"file0"},{"photo_id":"1401990406","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990410":["hashtag1","hashtag2"]},{"1401990404":["hashtag1","hashtag2"]},{"1401990406":["hashtag1","hashtag2"]},{"1401990403":["hashtag1","hashtag2"]},{"1401990405":["hashtag1","hashtag2"]},{"1401990408":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990410, 1401990404, 1401990406, 1401990403, 1401990405, 1401990408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29625391960144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:41:42.068436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_35_3775.jpg', '/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_37_2603.jpg', '/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_52_3591.jpg', '/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_55_2615.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_01_2733.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_04_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/23/31/image_03112025_23_31_35_3775.jpg
/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_37_2603.jpg
/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_52_3591.jpg
/home/pi/Desktop/images/03112025/23/31/image_03112025_23_31_55_2615.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_01_2733.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_04_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":["1401990419","1401990421","1401990415","1401990418","1401990417","1401990420"],"photo_ids_order":["1401990415","1401990417","1401990418","1401990419","1401990420","1401990421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d53fa1e35f421f729a66a526375b7230.jpg","text":"TemporaryFile(/tmp/multipartBody5228840077782132772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246163873,"filename":"image_03112025_23_31_55_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ae6548464bd1ccd73d8ed2691024162.jpg","text":"TemporaryFile(/tmp/multipartBody7201253125194755144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246163873,"filename":"image_03112025_23_32_04_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3298f9f3815c44c9fcd189afb3df1c3a.jpg","text":"TemporaryFile(/tmp/multipartBody7727364829740733662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246163873,"filename":"image_03112025_23_31_35_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfd27b50c0ff3b97c3c73333f36dafd8.jpg","text":"TemporaryFile(/tmp/multipartBody4330427289844360295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246163873,"filename":"image_03112025_23_31_52_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3382628fb62d440118d24afc39867d67.jpg","text":"TemporaryFile(/tmp/multipartBody7213452910012198867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246163873,"filename":"image_03112025_23_31_37_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/311882e4723e736cb5771fe8e26dcad7.jpg","text":"TemporaryFile(/tmp/multipartBody1701427579729168063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246163873,"filename":"image_03112025_23_32_01_2733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990418","file1":"1401990417","file0":"1401990415","file4":"1401990420","file5":"1401990421","file3":"1401990419"},"map_files_photo_id_array":[{"photo_id":"1401990421","filename":"file5"},{"photo_id":"1401990418","filename":"file2"},{"photo_id":"1401990420","filename":"file4"},{"photo_id":"1401990417","filename":"file1"},{"photo_id":"1401990415","filename":"file0"},{"photo_id":"1401990419","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990419":["hashtag1","hashtag2"]},{"1401990421":["hashtag1","hashtag2"]},{"1401990415":["hashtag1","hashtag2"]},{"1401990418":["hashtag1","hashtag2"]},{"1401990417":["hashtag1","hashtag2"]},{"1401990420":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990419, 1401990421, 1401990415, 1401990418, 1401990417, 1401990420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93427658081055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:42:22.229321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/31/image_01012026_05_32_05_10662.jpg', '/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_15_9789.jpg', '/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_25_9832.jpg', '/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_34_9779.jpg', '/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_44_9722.jpg', '/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/31/image_01012026_05_32_05_10662.jpg
/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_15_9789.jpg
/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_25_9832.jpg
/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_34_9779.jpg
/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_44_9722.jpg
/home/pi/Desktop/images/01012026/05/32/image_01012026_05_32_55_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":["1401990428","1401990422","1401990430","1401990424","1401990433","1401990426"],"photo_ids_order":["1401990422","1401990424","1401990426","1401990428","1401990430","1401990433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00fe8a15a0098f82774713f69dfb1a45.jpg","text":"TemporaryFile(/tmp/multipartBody372187638362242915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246202821,"filename":"image_01012026_05_32_34_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a9899ea3c6f6bcbd1cc821f67cd513d.jpg","text":"TemporaryFile(/tmp/multipartBody7745608213880272762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246202821,"filename":"image_01012026_05_32_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbe7a70d86e2cf5238a29896df7b1abc.jpg","text":"TemporaryFile(/tmp/multipartBody1838971943890931508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246202821,"filename":"image_01012026_05_32_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b752991adc5135e4654403e8af11256e.jpg","text":"TemporaryFile(/tmp/multipartBody9154730331094575224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246202821,"filename":"image_01012026_05_32_15_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c6553dbd1d688624faeaa8488fced08.jpg","text":"TemporaryFile(/tmp/multipartBody7682683532235124508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246202821,"filename":"image_01012026_05_32_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ca6273247815541e5bec88b028b6d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7661402503510150907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246202821,"filename":"image_01012026_05_32_25_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990426","file1":"1401990424","file0":"1401990422","file4":"1401990430","file5":"1401990433","file3":"1401990428"},"map_files_photo_id_array":[{"photo_id":"1401990433","filename":"file5"},{"photo_id":"1401990426","filename":"file2"},{"photo_id":"1401990430","filename":"file4"},{"photo_id":"1401990424","filename":"file1"},{"photo_id":"1401990422","filename":"file0"},{"photo_id":"1401990428","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990428":["hashtag1","hashtag2"]},{"1401990422":["hashtag1","hashtag2"]},{"1401990430":["hashtag1","hashtag2"]},{"1401990424":["hashtag1","hashtag2"]},{"1401990433":["hashtag1","hashtag2"]},{"1401990426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990428, 1401990422, 1401990430, 1401990424, 1401990433, 1401990426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31671905517578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:43:03.142401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/32/image_01012026_05_33_04_9593.jpg', '/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_14_9802.jpg', '/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_25_10764.jpg', '/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_35_9753.jpg', '/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_44_9638.jpg', '/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_55_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/32/image_01012026_05_33_04_9593.jpg
/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_14_9802.jpg
/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_25_10764.jpg
/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_35_9753.jpg
/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_44_9638.jpg
/home/pi/Desktop/images/01012026/05/33/image_01012026_05_33_55_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990443","1401990442","1401990445","1401990439","1401990447","1401990444"],"photo_ids_order":["1401990439","1401990442","1401990443","1401990444","1401990445","1401990447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e8ccd19899dbff36e8a0c1c3e0abfa1.jpg","text":"TemporaryFile(/tmp/multipartBody400920187588880664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246243793,"filename":"image_01012026_05_33_25_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52f50162b6ca880012345bf852fb4be7.jpg","text":"TemporaryFile(/tmp/multipartBody8010944187319837115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246243793,"filename":"image_01012026_05_33_14_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41b76828ee7b691a1d4a9a1908405df4.jpg","text":"TemporaryFile(/tmp/multipartBody4574369307444349739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246243793,"filename":"image_01012026_05_33_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a67a34a1ac953136476cc9d42d91f3b9.jpg","text":"TemporaryFile(/tmp/multipartBody7243605665505222158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246243793,"filename":"image_01012026_05_33_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1eeeb2e45eb255eb79f5f7174efe7b95.jpg","text":"TemporaryFile(/tmp/multipartBody8964607685742062046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246243793,"filename":"image_01012026_05_33_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e2334ecf244f31073d3d1c6863576ca.jpg","text":"TemporaryFile(/tmp/multipartBody7834983942025399981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246243793,"filename":"image_01012026_05_33_35_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990443","file1":"1401990442","file0":"1401990439","file4":"1401990445","file5":"1401990447","file3":"1401990444"},"map_files_photo_id_array":[{"photo_id":"1401990447","filename":"file5"},{"photo_id":"1401990443","filename":"file2"},{"photo_id":"1401990445","filename":"file4"},{"photo_id":"1401990442","filename":"file1"},{"photo_id":"1401990439","filename":"file0"},{"photo_id":"1401990444","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990443":["hashtag1","hashtag2"]},{"1401990442":["hashtag1","hashtag2"]},{"1401990445":["hashtag1","hashtag2"]},{"1401990439":["hashtag1","hashtag2"]},{"1401990447":["hashtag1","hashtag2"]},{"1401990444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990443, 1401990442, 1401990445, 1401990439, 1401990447, 1401990444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.209712266922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:43:42.433173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_08_3643.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_10_2769.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_13_2641.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_17_3566.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_19_2793.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_26_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_08_3643.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_10_2769.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_13_2641.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_17_3566.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_19_2793.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_26_3581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990455","1401990457","1401990453","1401990456","1401990459","1401990458"],"photo_ids_order":["1401990453","1401990455","1401990456","1401990457","1401990458","1401990459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/962978d0c208312e6ac16a9802be09c1.jpg","text":"TemporaryFile(/tmp/multipartBody6108821349004251218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246284203,"filename":"image_03112025_23_32_10_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/414c09ceb839dfb744678b7ace703d76.jpg","text":"TemporaryFile(/tmp/multipartBody3213088605858118123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246284203,"filename":"image_03112025_23_32_17_3566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98b4e1cf1f1af624aecbc3fe831e0236.jpg","text":"TemporaryFile(/tmp/multipartBody3868556359453172238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246284203,"filename":"image_03112025_23_32_08_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35bfc28f6e6f44f4d3b385dc71fcb8ec.jpg","text":"TemporaryFile(/tmp/multipartBody7133076909983340175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246284203,"filename":"image_03112025_23_32_13_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8143b65e4feb74ca204aa73c63d559a5.jpg","text":"TemporaryFile(/tmp/multipartBody9061408323971842827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246284203,"filename":"image_03112025_23_32_26_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f06951b72ec015c51fa7d21c7074b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6820825421435264527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246284203,"filename":"image_03112025_23_32_19_2793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990456","file1":"1401990455","file0":"1401990453","file4":"1401990458","file5":"1401990459","file3":"1401990457"},"map_files_photo_id_array":[{"photo_id":"1401990459","filename":"file5"},{"photo_id":"1401990456","filename":"file2"},{"photo_id":"1401990458","filename":"file4"},{"photo_id":"1401990455","filename":"file1"},{"photo_id":"1401990453","filename":"file0"},{"photo_id":"1401990457","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990455":["hashtag1","hashtag2"]},{"1401990457":["hashtag1","hashtag2"]},{"1401990453":["hashtag1","hashtag2"]},{"1401990456":["hashtag1","hashtag2"]},{"1401990459":["hashtag1","hashtag2"]},{"1401990458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990455, 1401990457, 1401990453, 1401990456, 1401990459, 1401990458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23293495178223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:44:22.610142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/33/image_01012026_05_34_05_9608.jpg', '/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_14_9756.jpg', '/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_25_10696.jpg', '/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_35_9663.jpg', '/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_44_9676.jpg', '/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_55_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/33/image_01012026_05_34_05_9608.jpg
/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_14_9756.jpg
/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_25_10696.jpg
/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_35_9663.jpg
/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_44_9676.jpg
/home/pi/Desktop/images/01012026/05/34/image_01012026_05_34_55_10550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990469","1401990471","1401990465","1401990474","1401990462","1401990467"],"photo_ids_order":["1401990462","1401990465","1401990467","1401990469","1401990471","1401990474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dadc7db3a0cffb4f10e33914ed06071.jpg","text":"TemporaryFile(/tmp/multipartBody6527301903108703112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246323200,"filename":"image_01012026_05_34_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05c9075f0dd8fe3cf848dd4c4704ad8e.jpg","text":"TemporaryFile(/tmp/multipartBody4122748014038091277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246323200,"filename":"image_01012026_05_34_44_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/291b5966018ed7b8b6bfc6bccd1b0cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8720689574751286500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246323200,"filename":"image_01012026_05_34_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a8373bfed61ce7d056266e5f70d0a24.jpg","text":"TemporaryFile(/tmp/multipartBody3274257145176922336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246323200,"filename":"image_01012026_05_34_55_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/038d4a9859f341faed82cfcc91d80b23.jpg","text":"TemporaryFile(/tmp/multipartBody5342781797176523924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246323200,"filename":"image_01012026_05_34_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa1a4f43d0d2f07235ef0f570ca3c962.jpg","text":"TemporaryFile(/tmp/multipartBody3773101165728775572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246323200,"filename":"image_01012026_05_34_25_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990467","file1":"1401990465","file0":"1401990462","file4":"1401990471","file5":"1401990474","file3":"1401990469"},"map_files_photo_id_array":[{"photo_id":"1401990474","filename":"file5"},{"photo_id":"1401990467","filename":"file2"},{"photo_id":"1401990471","filename":"file4"},{"photo_id":"1401990465","filename":"file1"},{"photo_id":"1401990462","filename":"file0"},{"photo_id":"1401990469","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990469":["hashtag1","hashtag2"]},{"1401990471":["hashtag1","hashtag2"]},{"1401990465":["hashtag1","hashtag2"]},{"1401990474":["hashtag1","hashtag2"]},{"1401990462":["hashtag1","hashtag2"]},{"1401990467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990469, 1401990471, 1401990465, 1401990474, 1401990462, 1401990467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39442157745361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:45:03.482065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/34/image_01012026_05_35_05_9591.jpg', '/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_14_9697.jpg', '/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_25_10649.jpg', '/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_34_9546.jpg', '/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_45_10556.jpg', '/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_55_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/34/image_01012026_05_35_05_9591.jpg
/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_14_9697.jpg
/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_25_10649.jpg
/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_34_9546.jpg
/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_45_10556.jpg
/home/pi/Desktop/images/01012026/05/35/image_01012026_05_35_55_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":["1401990475","1401990480","1401990477","1401990482","1401990476","1401990479"],"photo_ids_order":["1401990475","1401990476","1401990477","1401990479","1401990480","1401990482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87ccac2c7cc532e706087ee5a63a395c.jpg","text":"TemporaryFile(/tmp/multipartBody7322570264573594794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246364126,"filename":"image_01012026_05_35_05_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3840d81b92dc00aff17a2205c9b027f9.jpg","text":"TemporaryFile(/tmp/multipartBody5814373992126995881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246364126,"filename":"image_01012026_05_35_45_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05abca46c32573109e83ba955c3319f5.jpg","text":"TemporaryFile(/tmp/multipartBody5102530617367477644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246364126,"filename":"image_01012026_05_35_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05411c9d0bfa15794c2272fcee08562c.jpg","text":"TemporaryFile(/tmp/multipartBody5782753218863741796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246364126,"filename":"image_01012026_05_35_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f607a99c11de56c7da0c47bb4324f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7824041439552870645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246364126,"filename":"image_01012026_05_35_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b00671e66ea010d6630db9d32b5e8c86.jpg","text":"TemporaryFile(/tmp/multipartBody7972138761842139078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246364126,"filename":"image_01012026_05_35_34_9546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990477","file1":"1401990476","file0":"1401990475","file4":"1401990480","file5":"1401990482","file3":"1401990479"},"map_files_photo_id_array":[{"photo_id":"1401990482","filename":"file5"},{"photo_id":"1401990477","filename":"file2"},{"photo_id":"1401990480","filename":"file4"},{"photo_id":"1401990476","filename":"file1"},{"photo_id":"1401990475","filename":"file0"},{"photo_id":"1401990479","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990475":["hashtag1","hashtag2"]},{"1401990480":["hashtag1","hashtag2"]},{"1401990477":["hashtag1","hashtag2"]},{"1401990482":["hashtag1","hashtag2"]},{"1401990476":["hashtag1","hashtag2"]},{"1401990479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990475, 1401990480, 1401990477, 1401990482, 1401990476, 1401990479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.891337633132935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:45:42.747267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_28_2532.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_31_2837.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_46_2612.jpg', '/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_58_2722.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_01_2857.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_04_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/23/32/image_03112025_23_32_28_2532.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_31_2837.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_46_2612.jpg
/home/pi/Desktop/images/03112025/23/32/image_03112025_23_32_58_2722.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_01_2857.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_04_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":["1401990493","1401990487","1401990490","1401990492","1401990489","1401990491"],"photo_ids_order":["1401990487","1401990489","1401990490","1401990491","1401990492","1401990493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7ec902811aaee04a45434f8a0288b28.jpg","text":"TemporaryFile(/tmp/multipartBody1209645044307210512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246404521,"filename":"image_03112025_23_33_04_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9de74940ca92f6e7714e967a92dfb44.jpg","text":"TemporaryFile(/tmp/multipartBody3019631448417091058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246404521,"filename":"image_03112025_23_32_28_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb70c2671e936c35bff17fffece31a0d.jpg","text":"TemporaryFile(/tmp/multipartBody733210298010708742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246404521,"filename":"image_03112025_23_32_46_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b15044f4db5fc4ccaf1484985638c14.jpg","text":"TemporaryFile(/tmp/multipartBody8130788831389348449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246404521,"filename":"image_03112025_23_33_01_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/415fb899822679c72de66a847957e856.jpg","text":"TemporaryFile(/tmp/multipartBody4455358000102677062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246404521,"filename":"image_03112025_23_32_31_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72dc42813b7bef199fc77b4480fc0922.jpg","text":"TemporaryFile(/tmp/multipartBody8463804969876895538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246404521,"filename":"image_03112025_23_32_58_2722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990490","file1":"1401990489","file0":"1401990487","file4":"1401990492","file5":"1401990493","file3":"1401990491"},"map_files_photo_id_array":[{"photo_id":"1401990493","filename":"file5"},{"photo_id":"1401990490","filename":"file2"},{"photo_id":"1401990492","filename":"file4"},{"photo_id":"1401990489","filename":"file1"},{"photo_id":"1401990487","filename":"file0"},{"photo_id":"1401990491","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990493":["hashtag1","hashtag2"]},{"1401990487":["hashtag1","hashtag2"]},{"1401990490":["hashtag1","hashtag2"]},{"1401990492":["hashtag1","hashtag2"]},{"1401990489":["hashtag1","hashtag2"]},{"1401990491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990493, 1401990487, 1401990490, 1401990492, 1401990489, 1401990491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72981238365173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:46:21.932876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/35/image_01012026_05_36_04_9698.jpg', '/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_14_10033.jpg', '/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_24_9866.jpg', '/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_35_10589.jpg', '/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_45_9890.jpg', '/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_55_10223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/35/image_01012026_05_36_04_9698.jpg
/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_14_10033.jpg
/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_24_9866.jpg
/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_35_10589.jpg
/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_45_9890.jpg
/home/pi/Desktop/images/01012026/05/36/image_01012026_05_36_55_10223.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990500","1401990496","1401990498","1401990502","1401990504","1401990494"],"photo_ids_order":["1401990494","1401990496","1401990498","1401990500","1401990502","1401990504"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1b4418841a7d04dea7c3cf873947f68.jpg","text":"TemporaryFile(/tmp/multipartBody2415646101148534088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246442520,"filename":"image_01012026_05_36_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b53c142f9a9ff639ca2a5a167b035b10.jpg","text":"TemporaryFile(/tmp/multipartBody1035978766327306714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246442520,"filename":"image_01012026_05_36_14_10033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/997919db5de5caa8b37cc47d885f260a.jpg","text":"TemporaryFile(/tmp/multipartBody4824091175922362958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246442520,"filename":"image_01012026_05_36_24_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eea405d1893cb697181a1e2a68164075.jpg","text":"TemporaryFile(/tmp/multipartBody4450157782397824736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246442520,"filename":"image_01012026_05_36_45_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f2b756675ebb61320292dcf22e7da42.jpg","text":"TemporaryFile(/tmp/multipartBody6670428104045799961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246442520,"filename":"image_01012026_05_36_55_10223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d79cd7aef7d455cef123741e43ca7ff.jpg","text":"TemporaryFile(/tmp/multipartBody3487107551526960421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246442520,"filename":"image_01012026_05_36_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990498","file1":"1401990496","file0":"1401990494","file4":"1401990502","file5":"1401990504","file3":"1401990500"},"map_files_photo_id_array":[{"photo_id":"1401990504","filename":"file5"},{"photo_id":"1401990498","filename":"file2"},{"photo_id":"1401990502","filename":"file4"},{"photo_id":"1401990496","filename":"file1"},{"photo_id":"1401990494","filename":"file0"},{"photo_id":"1401990500","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990500":["hashtag1","hashtag2"]},{"1401990496":["hashtag1","hashtag2"]},{"1401990498":["hashtag1","hashtag2"]},{"1401990502":["hashtag1","hashtag2"]},{"1401990504":["hashtag1","hashtag2"]},{"1401990494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990500, 1401990496, 1401990498, 1401990502, 1401990504, 1401990494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73555541038513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:47:02.901568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_15_10029.jpg', '/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_24_9666.jpg', '/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_35_10534.jpg', '/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_45_9685.jpg', '/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_54_9735.jpg', '/home/pi/Desktop/images/01012026/05/37/image_01012026_05_38_04_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_15_10029.jpg
/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_24_9666.jpg
/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_35_10534.jpg
/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_45_9685.jpg
/home/pi/Desktop/images/01012026/05/37/image_01012026_05_37_54_9735.jpg
/home/pi/Desktop/images/01012026/05/37/image_01012026_05_38_04_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":["1401990506","1401990511","1401990508","1401990510","1401990513","1401990507"],"photo_ids_order":["1401990506","1401990507","1401990508","1401990510","1401990511","1401990513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7fd76fbeeae32c7a35a400074417ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2085968911083951374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246483552,"filename":"image_01012026_05_37_15_10029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74d1b829fe835003bc7cdf1d42bf03d3.jpg","text":"TemporaryFile(/tmp/multipartBody1650966921982701248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246483552,"filename":"image_01012026_05_37_54_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26376d7010c6177e3f97d98f211137a7.jpg","text":"TemporaryFile(/tmp/multipartBody5351451275039570536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246483552,"filename":"image_01012026_05_37_35_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df3c0852f3549598e42d2f993c0783ec.jpg","text":"TemporaryFile(/tmp/multipartBody4188420188645592406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246483552,"filename":"image_01012026_05_37_45_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b84eecc61c431e2504a31b82d8277518.jpg","text":"TemporaryFile(/tmp/multipartBody7916914948974608194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246483552,"filename":"image_01012026_05_38_04_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5aca55f498d0038303c3d62a39031285.jpg","text":"TemporaryFile(/tmp/multipartBody1104261457348169000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246483552,"filename":"image_01012026_05_37_24_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990508","file1":"1401990507","file0":"1401990506","file4":"1401990511","file5":"1401990513","file3":"1401990510"},"map_files_photo_id_array":[{"photo_id":"1401990513","filename":"file5"},{"photo_id":"1401990508","filename":"file2"},{"photo_id":"1401990511","filename":"file4"},{"photo_id":"1401990507","filename":"file1"},{"photo_id":"1401990506","filename":"file0"},{"photo_id":"1401990510","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990506":["hashtag1","hashtag2"]},{"1401990511":["hashtag1","hashtag2"]},{"1401990508":["hashtag1","hashtag2"]},{"1401990510":["hashtag1","hashtag2"]},{"1401990513":["hashtag1","hashtag2"]},{"1401990507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990506, 1401990511, 1401990508, 1401990510, 1401990513, 1401990507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.050469160079956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:47:42.143300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_07_3569.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_10_2798.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_14_3570.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_16_2708.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_28_2559.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_31_3540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_07_3569.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_10_2798.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_14_3570.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_16_2708.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_28_2559.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_31_3540.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990524","1401990518","1401990523","1401990526","1401990522","1401990525"],"photo_ids_order":["1401990518","1401990522","1401990523","1401990524","1401990525","1401990526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24f94ea4e059e866755fd21271479500.jpg","text":"TemporaryFile(/tmp/multipartBody6178572101453209020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246523942,"filename":"image_03112025_23_33_16_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/967fd93a39b5e2f905c2ab62ab55a0dd.jpg","text":"TemporaryFile(/tmp/multipartBody7377367828645474776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246523942,"filename":"image_03112025_23_33_07_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/744934159419fb6640ef33abfc91d1f1.jpg","text":"TemporaryFile(/tmp/multipartBody2702491414504391180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246523942,"filename":"image_03112025_23_33_14_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00aefde414293b78643375f3eccf999a.jpg","text":"TemporaryFile(/tmp/multipartBody2775771774224157936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246523942,"filename":"image_03112025_23_33_31_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0bfd296d0d57aae7caa32c864508509.jpg","text":"TemporaryFile(/tmp/multipartBody3206134324860011573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246523942,"filename":"image_03112025_23_33_10_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efadcb75af2a3b4f5169325e9df5b539.jpg","text":"TemporaryFile(/tmp/multipartBody1224874678922224364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246523942,"filename":"image_03112025_23_33_28_2559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990523","file1":"1401990522","file0":"1401990518","file4":"1401990525","file5":"1401990526","file3":"1401990524"},"map_files_photo_id_array":[{"photo_id":"1401990526","filename":"file5"},{"photo_id":"1401990523","filename":"file2"},{"photo_id":"1401990525","filename":"file4"},{"photo_id":"1401990522","filename":"file1"},{"photo_id":"1401990518","filename":"file0"},{"photo_id":"1401990524","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990524":["hashtag1","hashtag2"]},{"1401990518":["hashtag1","hashtag2"]},{"1401990523":["hashtag1","hashtag2"]},{"1401990526":["hashtag1","hashtag2"]},{"1401990522":["hashtag1","hashtag2"]},{"1401990525":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990524, 1401990518, 1401990523, 1401990526, 1401990522, 1401990525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27199459075928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:48:22.347875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_15_10775.jpg', '/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_25_9739.jpg', '/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_34_9521.jpg', '/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_45_10650.jpg', '/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_54_9559.jpg', '/home/pi/Desktop/images/01012026/05/38/image_01012026_05_39_05_10606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_15_10775.jpg
/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_25_9739.jpg
/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_34_9521.jpg
/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_45_10650.jpg
/home/pi/Desktop/images/01012026/05/38/image_01012026_05_38_54_9559.jpg
/home/pi/Desktop/images/01012026/05/38/image_01012026_05_39_05_10606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990533","1401990527","1401990535","1401990538","1401990529","1401990531"],"photo_ids_order":["1401990527","1401990529","1401990531","1401990533","1401990535","1401990538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e312d35e82825f10048b175526cff29a.jpg","text":"TemporaryFile(/tmp/multipartBody347077654260966513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246562932,"filename":"image_01012026_05_38_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7498a64b1ca51a09102946cf059e8aca.jpg","text":"TemporaryFile(/tmp/multipartBody928571440129314187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246562932,"filename":"image_01012026_05_38_15_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af47be87024b67bb97e6587e78d77e4e.jpg","text":"TemporaryFile(/tmp/multipartBody8757394242911198136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246562932,"filename":"image_01012026_05_38_54_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/106e0478452f5e06d58605c185357d0c.jpg","text":"TemporaryFile(/tmp/multipartBody8454099517787663135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246562932,"filename":"image_01012026_05_39_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2edf2e9b3670753243e0d5bc070a3111.jpg","text":"TemporaryFile(/tmp/multipartBody1332650925410674476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246562932,"filename":"image_01012026_05_38_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16796073196b38b6373bf727982b83ba.jpg","text":"TemporaryFile(/tmp/multipartBody4754716291437955467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246562932,"filename":"image_01012026_05_38_34_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990531","file1":"1401990529","file0":"1401990527","file4":"1401990535","file5":"1401990538","file3":"1401990533"},"map_files_photo_id_array":[{"photo_id":"1401990538","filename":"file5"},{"photo_id":"1401990531","filename":"file2"},{"photo_id":"1401990535","filename":"file4"},{"photo_id":"1401990529","filename":"file1"},{"photo_id":"1401990527","filename":"file0"},{"photo_id":"1401990533","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990533":["hashtag1","hashtag2"]},{"1401990527":["hashtag1","hashtag2"]},{"1401990535":["hashtag1","hashtag2"]},{"1401990538":["hashtag1","hashtag2"]},{"1401990529":["hashtag1","hashtag2"]},{"1401990531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990533, 1401990527, 1401990535, 1401990538, 1401990529, 1401990531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85958814620972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:49:03.391370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_15_9638.jpg', '/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_25_10035.jpg', '/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_34_9817.jpg', '/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_44_9604.jpg', '/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_55_10648.jpg', '/home/pi/Desktop/images/01012026/05/39/image_01012026_05_40_04_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_15_9638.jpg
/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_25_10035.jpg
/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_34_9817.jpg
/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_44_9604.jpg
/home/pi/Desktop/images/01012026/05/39/image_01012026_05_39_55_10648.jpg
/home/pi/Desktop/images/01012026/05/39/image_01012026_05_40_04_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":["1401990542","1401990541","1401990540","1401990543","1401990545","1401990539"],"photo_ids_order":["1401990539","1401990540","1401990541","1401990542","1401990543","1401990545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70950b2c6bc42e6e514a55ae23389821.jpg","text":"TemporaryFile(/tmp/multipartBody8836074369517373674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246604184,"filename":"image_01012026_05_39_44_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/282d12317d486935fc7f89f6a1e87366.jpg","text":"TemporaryFile(/tmp/multipartBody4816802896456347390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246604184,"filename":"image_01012026_05_39_34_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5162ad0c663d4b00474c8b9a8891cc2.jpg","text":"TemporaryFile(/tmp/multipartBody5437705858520362793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246604184,"filename":"image_01012026_05_39_25_10035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cda7c03d1dfcbab44308c93242c6165.jpg","text":"TemporaryFile(/tmp/multipartBody2287438424780367818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246604184,"filename":"image_01012026_05_39_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87d9c24c1b20c59b2dc7ae8cf333d8c0.jpg","text":"TemporaryFile(/tmp/multipartBody7758345193082795225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246604184,"filename":"image_01012026_05_40_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d00f043c2f50653c5958dbb0cd4eb5b.jpg","text":"TemporaryFile(/tmp/multipartBody3321850971958904536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246604184,"filename":"image_01012026_05_39_15_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990541","file1":"1401990540","file0":"1401990539","file4":"1401990543","file5":"1401990545","file3":"1401990542"},"map_files_photo_id_array":[{"photo_id":"1401990545","filename":"file5"},{"photo_id":"1401990541","filename":"file2"},{"photo_id":"1401990543","filename":"file4"},{"photo_id":"1401990540","filename":"file1"},{"photo_id":"1401990539","filename":"file0"},{"photo_id":"1401990542","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990542":["hashtag1","hashtag2"]},{"1401990541":["hashtag1","hashtag2"]},{"1401990540":["hashtag1","hashtag2"]},{"1401990543":["hashtag1","hashtag2"]},{"1401990545":["hashtag1","hashtag2"]},{"1401990539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990542, 1401990541, 1401990540, 1401990543, 1401990545, 1401990539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.274285316467285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:49:42.617242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_38_3670.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_40_2648.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_52_2600.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_55_3695.jpg', '/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_58_2743.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_01_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/23/33/image_03112025_23_33_38_3670.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_40_2648.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_52_2600.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_55_3695.jpg
/home/pi/Desktop/images/03112025/23/33/image_03112025_23_33_58_2743.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_01_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":["1401990554","1401990556","1401990552","1401990555","1401990558","1401990557"],"photo_ids_order":["1401990552","1401990554","1401990555","1401990556","1401990557","1401990558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d599b0916e90b9e3db3fc05fe70b80c.jpg","text":"TemporaryFile(/tmp/multipartBody62606203968595616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246644379,"filename":"image_03112025_23_33_40_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69426147ce61663fc79936d9d9b5afc2.jpg","text":"TemporaryFile(/tmp/multipartBody1442500041682096719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246644379,"filename":"image_03112025_23_33_55_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65b45de51ab6941e7f9f22a3d2a593c7.jpg","text":"TemporaryFile(/tmp/multipartBody7690527110000518499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246644379,"filename":"image_03112025_23_33_38_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/720426cec1099b56043a23b14b7d1786.jpg","text":"TemporaryFile(/tmp/multipartBody7642935484447599786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246644379,"filename":"image_03112025_23_33_52_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22272a09f1f919acb3825bc4ece90084.jpg","text":"TemporaryFile(/tmp/multipartBody763916190876334166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246644379,"filename":"image_03112025_23_34_01_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d61177ee922a5e6a7af585da6834ee14.jpg","text":"TemporaryFile(/tmp/multipartBody818198225392516497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246644379,"filename":"image_03112025_23_33_58_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990555","file1":"1401990554","file0":"1401990552","file4":"1401990557","file5":"1401990558","file3":"1401990556"},"map_files_photo_id_array":[{"photo_id":"1401990558","filename":"file5"},{"photo_id":"1401990555","filename":"file2"},{"photo_id":"1401990557","filename":"file4"},{"photo_id":"1401990554","filename":"file1"},{"photo_id":"1401990552","filename":"file0"},{"photo_id":"1401990556","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990554":["hashtag1","hashtag2"]},{"1401990556":["hashtag1","hashtag2"]},{"1401990552":["hashtag1","hashtag2"]},{"1401990555":["hashtag1","hashtag2"]},{"1401990558":["hashtag1","hashtag2"]},{"1401990557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990554, 1401990556, 1401990552, 1401990555, 1401990558, 1401990557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.937403440475464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:50:22.785076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_15_10640.jpg', '/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_25_9655.jpg', '/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_34_9635.jpg', '/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_44_9759.jpg', '/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_55_10532.jpg', '/home/pi/Desktop/images/01012026/05/40/image_01012026_05_41_04_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_15_10640.jpg
/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_25_9655.jpg
/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_34_9635.jpg
/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_44_9759.jpg
/home/pi/Desktop/images/01012026/05/40/image_01012026_05_40_55_10532.jpg
/home/pi/Desktop/images/01012026/05/40/image_01012026_05_41_04_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990560","1401990571","1401990565","1401990567","1401990561","1401990563"],"photo_ids_order":["1401990560","1401990561","1401990563","1401990565","1401990567","1401990571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/099e84cdac535fceab2a9294524c755e.jpg","text":"TemporaryFile(/tmp/multipartBody7213134254775337461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246683410,"filename":"image_01012026_05_40_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e84a0ffb4bc7552ef1c3bb229fe93e6.jpg","text":"TemporaryFile(/tmp/multipartBody4290811454866531821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246683410,"filename":"image_01012026_05_41_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/565acfb78acf1c378bb00821799e219b.jpg","text":"TemporaryFile(/tmp/multipartBody1829897540533039709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246683410,"filename":"image_01012026_05_40_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adea4f45748ce5015a7a57f5fc56f830.jpg","text":"TemporaryFile(/tmp/multipartBody4902839100470502273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246683410,"filename":"image_01012026_05_40_55_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/743f81b86882c356f95ad13a0cf93239.jpg","text":"TemporaryFile(/tmp/multipartBody3990837282481000132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246683410,"filename":"image_01012026_05_40_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab7a99d998f1e8ddd9478009cec7eab0.jpg","text":"TemporaryFile(/tmp/multipartBody2113935263755441468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246683410,"filename":"image_01012026_05_40_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990563","file1":"1401990561","file0":"1401990560","file4":"1401990567","file5":"1401990571","file3":"1401990565"},"map_files_photo_id_array":[{"photo_id":"1401990571","filename":"file5"},{"photo_id":"1401990563","filename":"file2"},{"photo_id":"1401990567","filename":"file4"},{"photo_id":"1401990561","filename":"file1"},{"photo_id":"1401990560","filename":"file0"},{"photo_id":"1401990565","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990560":["hashtag1","hashtag2"]},{"1401990571":["hashtag1","hashtag2"]},{"1401990565":["hashtag1","hashtag2"]},{"1401990567":["hashtag1","hashtag2"]},{"1401990561":["hashtag1","hashtag2"]},{"1401990563":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990560, 1401990571, 1401990565, 1401990567, 1401990561, 1401990563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.412296533584595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:51:02.593313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_15_10556.jpg', '/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_25_9703.jpg', '/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_34_9643.jpg', '/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_45_10638.jpg', '/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_54_9645.jpg', '/home/pi/Desktop/images/01012026/05/41/image_01012026_05_42_04_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_15_10556.jpg
/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_25_9703.jpg
/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_34_9643.jpg
/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_45_10638.jpg
/home/pi/Desktop/images/01012026/05/41/image_01012026_05_41_54_9645.jpg
/home/pi/Desktop/images/01012026/05/41/image_01012026_05_42_04_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":["1401990580","1401990577","1401990582","1401990585","1401990579","1401990581"],"photo_ids_order":["1401990577","1401990579","1401990580","1401990581","1401990582","1401990585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2cdca973eaac8edb1eefc706c48662c4.jpg","text":"TemporaryFile(/tmp/multipartBody8438394125039608028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246723245,"filename":"image_01012026_05_41_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21237a7cbbd06c773ddb9571715488e4.jpg","text":"TemporaryFile(/tmp/multipartBody1106576817656175785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246723245,"filename":"image_01012026_05_41_15_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47751ca794e5e4fdba74ecfd89b19840.jpg","text":"TemporaryFile(/tmp/multipartBody7694944162805596574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246723245,"filename":"image_01012026_05_41_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8f1931a75a265d1dbb8a2b56d73ec2a.jpg","text":"TemporaryFile(/tmp/multipartBody8445631127623614909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246723245,"filename":"image_01012026_05_42_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/392a430b8b8824ee2f9770a0b1b429e2.jpg","text":"TemporaryFile(/tmp/multipartBody2591595325873638670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246723245,"filename":"image_01012026_05_41_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/425c887c3bcaa643264f2ca859715109.jpg","text":"TemporaryFile(/tmp/multipartBody4732195422208462793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246723245,"filename":"image_01012026_05_41_45_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990580","file1":"1401990579","file0":"1401990577","file4":"1401990582","file5":"1401990585","file3":"1401990581"},"map_files_photo_id_array":[{"photo_id":"1401990585","filename":"file5"},{"photo_id":"1401990580","filename":"file2"},{"photo_id":"1401990582","filename":"file4"},{"photo_id":"1401990579","filename":"file1"},{"photo_id":"1401990577","filename":"file0"},{"photo_id":"1401990581","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990580":["hashtag1","hashtag2"]},{"1401990577":["hashtag1","hashtag2"]},{"1401990582":["hashtag1","hashtag2"]},{"1401990585":["hashtag1","hashtag2"]},{"1401990579":["hashtag1","hashtag2"]},{"1401990581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990580, 1401990577, 1401990582, 1401990585, 1401990579, 1401990581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40453577041626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:51:41.977844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_07_2900.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_10_3747.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_13_2580.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_16_3262.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_19_2680.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_22_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_07_2900.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_10_3747.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_13_2580.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_16_3262.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_19_2680.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_22_2661.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.663963794708252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:52:02.589964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/42/image_01012026_05_42_15_10762.jpg', '/home/pi/Desktop/images/01012026/05/42/image_01012026_05_42_25_9633.jpg', '/home/pi/Desktop/images/01012026/05/42/image_01012026_05_42_45_10634.jpg', '/home/pi/Desktop/images/01012026/05/42/image_01012026_05_42_54_9568.jpg', '/home/pi/Desktop/images/01012026/05/42/image_01012026_05_43_05_10567.jpg', '/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_14_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/42/image_01012026_05_42_15_10762.jpg
/home/pi/Desktop/images/01012026/05/42/image_01012026_05_42_25_9633.jpg
/home/pi/Desktop/images/01012026/05/42/image_01012026_05_42_45_10634.jpg
/home/pi/Desktop/images/01012026/05/42/image_01012026_05_42_54_9568.jpg
/home/pi/Desktop/images/01012026/05/42/image_01012026_05_43_05_10567.jpg
/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_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":["1401990602","1401990604","1401990600","1401990603","1401990606","1401990599"],"photo_ids_order":["1401990599","1401990600","1401990602","1401990603","1401990604","1401990606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b2a905763dad582794871c5f7c9cf53.jpg","text":"TemporaryFile(/tmp/multipartBody7594193838851576532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246783248,"filename":"image_01012026_05_42_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c8e3fdccaa8c59e65d321a435945e08.jpg","text":"TemporaryFile(/tmp/multipartBody4121343062050125423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246783248,"filename":"image_01012026_05_43_05_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4bfbf7266c71a023b61dfa012425887.jpg","text":"TemporaryFile(/tmp/multipartBody1103241438883496173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246783248,"filename":"image_01012026_05_42_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d57fb7583f9433838dcff0104a1dcf1.jpg","text":"TemporaryFile(/tmp/multipartBody2495518899402004960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246783248,"filename":"image_01012026_05_42_54_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a35ebca4cc439fe25360ded221ca7133.jpg","text":"TemporaryFile(/tmp/multipartBody168542257889075269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246783248,"filename":"image_01012026_05_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/2026/1/1/571f992c6f54ee24826d1ed26aa51740.jpg","text":"TemporaryFile(/tmp/multipartBody6105234132554972144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246783248,"filename":"image_01012026_05_42_15_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990602","file1":"1401990600","file0":"1401990599","file4":"1401990604","file5":"1401990606","file3":"1401990603"},"map_files_photo_id_array":[{"photo_id":"1401990606","filename":"file5"},{"photo_id":"1401990602","filename":"file2"},{"photo_id":"1401990604","filename":"file4"},{"photo_id":"1401990600","filename":"file1"},{"photo_id":"1401990599","filename":"file0"},{"photo_id":"1401990603","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990602":["hashtag1","hashtag2"]},{"1401990604":["hashtag1","hashtag2"]},{"1401990600":["hashtag1","hashtag2"]},{"1401990603":["hashtag1","hashtag2"]},{"1401990606":["hashtag1","hashtag2"]},{"1401990599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990602, 1401990604, 1401990600, 1401990603, 1401990606, 1401990599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1869113445282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:52:42.171271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_07_2900.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_10_3747.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_13_2580.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_16_3262.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_19_2680.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_22_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_07_2900.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_10_3747.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_13_2580.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_16_3262.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_19_2680.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_22_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990614","1401990617","1401990616","1401990615","1401990618","1401990612"],"photo_ids_order":["1401990612","1401990614","1401990615","1401990616","1401990617","1401990618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/846b8d2db84bab4b19e2f12e11b6242a.jpg","text":"TemporaryFile(/tmp/multipartBody945707671439355458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246823835,"filename":"image_03112025_23_34_10_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bac2d9cb386f49b3dfb931a5e295a247.jpg","text":"TemporaryFile(/tmp/multipartBody1475582851742395980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246823835,"filename":"image_03112025_23_34_19_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea65ee362fa26d7b3cd94806152440e9.jpg","text":"TemporaryFile(/tmp/multipartBody1519450916237730032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246823835,"filename":"image_03112025_23_34_16_3262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2e5befff63994625f4129304d794785.jpg","text":"TemporaryFile(/tmp/multipartBody7796288370683757155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246823835,"filename":"image_03112025_23_34_13_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e5279a9f4823e3113e94e956d1df49d.jpg","text":"TemporaryFile(/tmp/multipartBody9161383202471737231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246823835,"filename":"image_03112025_23_34_22_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86aaa03001bac88ff66c01a85b09a8c8.jpg","text":"TemporaryFile(/tmp/multipartBody6327403414416370822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246823835,"filename":"image_03112025_23_34_07_2900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990615","file1":"1401990614","file0":"1401990612","file4":"1401990617","file5":"1401990618","file3":"1401990616"},"map_files_photo_id_array":[{"photo_id":"1401990618","filename":"file5"},{"photo_id":"1401990615","filename":"file2"},{"photo_id":"1401990617","filename":"file4"},{"photo_id":"1401990614","filename":"file1"},{"photo_id":"1401990612","filename":"file0"},{"photo_id":"1401990616","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990614":["hashtag1","hashtag2"]},{"1401990617":["hashtag1","hashtag2"]},{"1401990616":["hashtag1","hashtag2"]},{"1401990615":["hashtag1","hashtag2"]},{"1401990618":["hashtag1","hashtag2"]},{"1401990612":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990614, 1401990617, 1401990616, 1401990615, 1401990618, 1401990612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.367265462875366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:53:22.405309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_24_9783.jpg', '/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_35_10691.jpg', '/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_44_9539.jpg', '/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_54_9709.jpg', '/home/pi/Desktop/images/01012026/05/43/image_01012026_05_44_05_10774.jpg', '/home/pi/Desktop/images/01012026/05/44/image_01012026_05_44_15_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_24_9783.jpg
/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_35_10691.jpg
/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_44_9539.jpg
/home/pi/Desktop/images/01012026/05/43/image_01012026_05_43_54_9709.jpg
/home/pi/Desktop/images/01012026/05/43/image_01012026_05_44_05_10774.jpg
/home/pi/Desktop/images/01012026/05/44/image_01012026_05_44_15_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990632","1401990626","1401990620","1401990622","1401990628","1401990624"],"photo_ids_order":["1401990620","1401990622","1401990624","1401990626","1401990628","1401990632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d66387e29c89c76c2a8611d5d16025a3.jpg","text":"TemporaryFile(/tmp/multipartBody6421298223423648295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246862995,"filename":"image_01012026_05_44_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1970001589fba914c81d50dd921bacd5.jpg","text":"TemporaryFile(/tmp/multipartBody3633702348257988964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246862995,"filename":"image_01012026_05_43_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1df50ecae4204476eeb6b0f599a56ec8.jpg","text":"TemporaryFile(/tmp/multipartBody8828834485823776273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246862995,"filename":"image_01012026_05_43_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a2d6f30fd92580699de08395a2b1115.jpg","text":"TemporaryFile(/tmp/multipartBody489243263443110935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246862995,"filename":"image_01012026_05_43_35_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcb80f97cdfc20668365469411e1c85e.jpg","text":"TemporaryFile(/tmp/multipartBody9030936498049255735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246862995,"filename":"image_01012026_05_44_05_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/045e323e52aad50604d64f1d437c4c29.jpg","text":"TemporaryFile(/tmp/multipartBody747524515617135855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246862995,"filename":"image_01012026_05_43_44_9539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990624","file1":"1401990622","file0":"1401990620","file4":"1401990628","file5":"1401990632","file3":"1401990626"},"map_files_photo_id_array":[{"photo_id":"1401990632","filename":"file5"},{"photo_id":"1401990624","filename":"file2"},{"photo_id":"1401990628","filename":"file4"},{"photo_id":"1401990622","filename":"file1"},{"photo_id":"1401990620","filename":"file0"},{"photo_id":"1401990626","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990632":["hashtag1","hashtag2"]},{"1401990626":["hashtag1","hashtag2"]},{"1401990620":["hashtag1","hashtag2"]},{"1401990622":["hashtag1","hashtag2"]},{"1401990628":["hashtag1","hashtag2"]},{"1401990624":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990632, 1401990626, 1401990620, 1401990622, 1401990628, 1401990624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.729105710983276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:54:03.223080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/44/image_01012026_05_44_35_10778.jpg', '/home/pi/Desktop/images/01012026/05/44/image_01012026_05_44_45_9613.jpg', '/home/pi/Desktop/images/01012026/05/44/image_01012026_05_44_54_9618.jpg', '/home/pi/Desktop/images/01012026/05/44/image_01012026_05_45_05_10666.jpg', '/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_15_9766.jpg', '/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_24_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/44/image_01012026_05_44_35_10778.jpg
/home/pi/Desktop/images/01012026/05/44/image_01012026_05_44_45_9613.jpg
/home/pi/Desktop/images/01012026/05/44/image_01012026_05_44_54_9618.jpg
/home/pi/Desktop/images/01012026/05/44/image_01012026_05_45_05_10666.jpg
/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_15_9766.jpg
/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_24_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":["1401990640","1401990637","1401990642","1401990639","1401990644","1401990638"],"photo_ids_order":["1401990637","1401990638","1401990639","1401990640","1401990642","1401990644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b114426a67e118aef40f63d7944635d2.jpg","text":"TemporaryFile(/tmp/multipartBody8286937069072074447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246903915,"filename":"image_01012026_05_45_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f987b53396b9267644d7621ac1dc4d9.jpg","text":"TemporaryFile(/tmp/multipartBody6782106321484595725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246903915,"filename":"image_01012026_05_44_35_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a56c9b38ee03e03f6b50fcd6c98e8ef.jpg","text":"TemporaryFile(/tmp/multipartBody8193950686905327459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246903915,"filename":"image_01012026_05_45_15_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa9860df0b06faf5387d62925e609cad.jpg","text":"TemporaryFile(/tmp/multipartBody8403316142859132928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246903915,"filename":"image_01012026_05_44_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cc763a00de08f86e4f5ef3d23745f19.jpg","text":"TemporaryFile(/tmp/multipartBody1260833589157631736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246903915,"filename":"image_01012026_05_45_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9e59f204e370f2953ca0fc76f4cef59.jpg","text":"TemporaryFile(/tmp/multipartBody2406786017923337673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246903915,"filename":"image_01012026_05_44_45_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990639","file1":"1401990638","file0":"1401990637","file4":"1401990642","file5":"1401990644","file3":"1401990640"},"map_files_photo_id_array":[{"photo_id":"1401990644","filename":"file5"},{"photo_id":"1401990639","filename":"file2"},{"photo_id":"1401990642","filename":"file4"},{"photo_id":"1401990638","filename":"file1"},{"photo_id":"1401990637","filename":"file0"},{"photo_id":"1401990640","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990640":["hashtag1","hashtag2"]},{"1401990637":["hashtag1","hashtag2"]},{"1401990642":["hashtag1","hashtag2"]},{"1401990639":["hashtag1","hashtag2"]},{"1401990644":["hashtag1","hashtag2"]},{"1401990638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990640, 1401990637, 1401990642, 1401990639, 1401990644, 1401990638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.134000301361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:54:42.521479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_25_3579.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_28_2701.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_31_2728.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_34_3695.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_37_2845.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_40_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_25_3579.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_28_2701.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_31_2728.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_34_3695.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_37_2845.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_40_2515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990652","1401990655","1401990658","1401990654","1401990657","1401990656"],"photo_ids_order":["1401990652","1401990654","1401990655","1401990656","1401990657","1401990658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b6da2c191d778c05762255f34f8b002.jpg","text":"TemporaryFile(/tmp/multipartBody5875479232278787347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246944293,"filename":"image_03112025_23_34_25_3579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/306b496b21a18b3059b56555cb528e55.jpg","text":"TemporaryFile(/tmp/multipartBody4463907935161108389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246944293,"filename":"image_03112025_23_34_31_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b2865bcb81b61743d9240aea2db8932.jpg","text":"TemporaryFile(/tmp/multipartBody101723781241889499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246944293,"filename":"image_03112025_23_34_40_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ea2f014f0ae270fcf0a4e984fa1d8b1.jpg","text":"TemporaryFile(/tmp/multipartBody2883108593163700399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246944293,"filename":"image_03112025_23_34_28_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2969b3be603d48874fe1bf01efd48ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5684143066862103056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246944293,"filename":"image_03112025_23_34_37_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71e8dc7c3ab4bf584a33dfd824cda940.jpg","text":"TemporaryFile(/tmp/multipartBody314211852396421912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246944293,"filename":"image_03112025_23_34_34_3695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990655","file1":"1401990654","file0":"1401990652","file4":"1401990657","file5":"1401990658","file3":"1401990656"},"map_files_photo_id_array":[{"photo_id":"1401990658","filename":"file5"},{"photo_id":"1401990655","filename":"file2"},{"photo_id":"1401990657","filename":"file4"},{"photo_id":"1401990654","filename":"file1"},{"photo_id":"1401990652","filename":"file0"},{"photo_id":"1401990656","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990652":["hashtag1","hashtag2"]},{"1401990655":["hashtag1","hashtag2"]},{"1401990658":["hashtag1","hashtag2"]},{"1401990654":["hashtag1","hashtag2"]},{"1401990657":["hashtag1","hashtag2"]},{"1401990656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990652, 1401990655, 1401990658, 1401990654, 1401990657, 1401990656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91432285308838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:55:22.678386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_35_10540.jpg', '/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_45_9813.jpg', '/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_54_9702.jpg', '/home/pi/Desktop/images/01012026/05/45/image_01012026_05_46_05_10664.jpg', '/home/pi/Desktop/images/01012026/05/46/image_01012026_05_46_24_9657.jpg', '/home/pi/Desktop/images/01012026/05/46/image_01012026_05_46_34_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_35_10540.jpg
/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_45_9813.jpg
/home/pi/Desktop/images/01012026/05/45/image_01012026_05_45_54_9702.jpg
/home/pi/Desktop/images/01012026/05/45/image_01012026_05_46_05_10664.jpg
/home/pi/Desktop/images/01012026/05/46/image_01012026_05_46_24_9657.jpg
/home/pi/Desktop/images/01012026/05/46/image_01012026_05_46_34_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990670","1401990664","1401990672","1401990668","1401990662","1401990665"],"photo_ids_order":["1401990662","1401990664","1401990665","1401990668","1401990670","1401990672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f6c452df839b4d1f701b3f852786f06.jpg","text":"TemporaryFile(/tmp/multipartBody3295801358472937557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246983269,"filename":"image_01012026_05_46_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/391fb378627eac842d78f89c0182afc9.jpg","text":"TemporaryFile(/tmp/multipartBody1253596815858360675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246983269,"filename":"image_01012026_05_45_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdbfe0fc2182ca028d68040bd277ee3c.jpg","text":"TemporaryFile(/tmp/multipartBody6695727752357773390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246983269,"filename":"image_01012026_05_46_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97e7daf4f29a6def06aac7ab1bf060f3.jpg","text":"TemporaryFile(/tmp/multipartBody6138339068440559168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246983269,"filename":"image_01012026_05_46_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2d174ba55d031eb86224597d8300491.jpg","text":"TemporaryFile(/tmp/multipartBody6687965181365513204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246983269,"filename":"image_01012026_05_45_35_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecd6cd5b5068faa162d7f6a1237ebb6a.jpg","text":"TemporaryFile(/tmp/multipartBody6656836146868667335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767246983269,"filename":"image_01012026_05_45_54_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990665","file1":"1401990664","file0":"1401990662","file4":"1401990670","file5":"1401990672","file3":"1401990668"},"map_files_photo_id_array":[{"photo_id":"1401990672","filename":"file5"},{"photo_id":"1401990665","filename":"file2"},{"photo_id":"1401990670","filename":"file4"},{"photo_id":"1401990664","filename":"file1"},{"photo_id":"1401990662","filename":"file0"},{"photo_id":"1401990668","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990670":["hashtag1","hashtag2"]},{"1401990664":["hashtag1","hashtag2"]},{"1401990672":["hashtag1","hashtag2"]},{"1401990668":["hashtag1","hashtag2"]},{"1401990662":["hashtag1","hashtag2"]},{"1401990665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990670, 1401990664, 1401990672, 1401990668, 1401990662, 1401990665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18495011329651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:56:02.361643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/46/image_01012026_05_46_45_10566.jpg', '/home/pi/Desktop/images/01012026/05/46/image_01012026_05_46_55_10219.jpg', '/home/pi/Desktop/images/01012026/05/46/image_01012026_05_47_05_9762.jpg', '/home/pi/Desktop/images/01012026/05/47/image_01012026_05_47_14_9572.jpg', '/home/pi/Desktop/images/01012026/05/47/image_01012026_05_47_24_9868.jpg', '/home/pi/Desktop/images/01012026/05/47/image_01012026_05_47_45_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/46/image_01012026_05_46_45_10566.jpg
/home/pi/Desktop/images/01012026/05/46/image_01012026_05_46_55_10219.jpg
/home/pi/Desktop/images/01012026/05/46/image_01012026_05_47_05_9762.jpg
/home/pi/Desktop/images/01012026/05/47/image_01012026_05_47_14_9572.jpg
/home/pi/Desktop/images/01012026/05/47/image_01012026_05_47_24_9868.jpg
/home/pi/Desktop/images/01012026/05/47/image_01012026_05_47_45_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":["1401990682","1401990676","1401990678","1401990675","1401990680","1401990677"],"photo_ids_order":["1401990675","1401990676","1401990677","1401990678","1401990680","1401990682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67d4343ca58611cb75ce2b0f6dbe0d8e.jpg","text":"TemporaryFile(/tmp/multipartBody7201665118802104726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247022964,"filename":"image_01012026_05_47_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/192d1ec55d3f1f32785b9464fb8a93e7.jpg","text":"TemporaryFile(/tmp/multipartBody286480537304221951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247022964,"filename":"image_01012026_05_46_55_10219.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1471c6799b087b7e9475508ae9f1f2b6.jpg","text":"TemporaryFile(/tmp/multipartBody1655512032838159909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247022964,"filename":"image_01012026_05_47_14_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8acc4daef1d2cdf104a2fe607ad69b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4698367798381908470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247022964,"filename":"image_01012026_05_46_45_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fc07bdbc4ee7b825ee421a4f0cf95d3.jpg","text":"TemporaryFile(/tmp/multipartBody4801355721108254863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247022964,"filename":"image_01012026_05_47_24_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e153223282ad8b6e471ebc0ab3f900ea.jpg","text":"TemporaryFile(/tmp/multipartBody4570362560564509669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247022964,"filename":"image_01012026_05_47_05_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990677","file1":"1401990676","file0":"1401990675","file4":"1401990680","file5":"1401990682","file3":"1401990678"},"map_files_photo_id_array":[{"photo_id":"1401990682","filename":"file5"},{"photo_id":"1401990677","filename":"file2"},{"photo_id":"1401990680","filename":"file4"},{"photo_id":"1401990676","filename":"file1"},{"photo_id":"1401990675","filename":"file0"},{"photo_id":"1401990678","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990682":["hashtag1","hashtag2"]},{"1401990676":["hashtag1","hashtag2"]},{"1401990678":["hashtag1","hashtag2"]},{"1401990675":["hashtag1","hashtag2"]},{"1401990680":["hashtag1","hashtag2"]},{"1401990677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990682, 1401990676, 1401990678, 1401990675, 1401990680, 1401990677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87225604057312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:56:42.049281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_46_6772.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_50_1573.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_54_4570.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_56_1633.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_58_1568.jpg', '/home/pi/Desktop/images/03112025/23/34/image_03112025_23_35_01_3742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_46_6772.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_50_1573.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_54_4570.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_56_1633.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_34_58_1568.jpg
/home/pi/Desktop/images/03112025/23/34/image_03112025_23_35_01_3742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401990691","1401990690","1401990693","1401990687","1401990692","1401990689"],"photo_ids_order":["1401990687","1401990689","1401990690","1401990691","1401990692","1401990693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdd2ba3c042c31e57ee8c292bab51745.jpg","text":"TemporaryFile(/tmp/multipartBody1942413520988364076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247063890,"filename":"image_03112025_23_34_56_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2498c0346e487ff9c34f7ad0f13f123d.jpg","text":"TemporaryFile(/tmp/multipartBody8567888064963856736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247063890,"filename":"image_03112025_23_34_54_4570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/109f50ecf473bd1858a6ffb64b8cc6aa.jpg","text":"TemporaryFile(/tmp/multipartBody2851432677355047144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247063890,"filename":"image_03112025_23_35_01_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc277fb3dfcc6d27b35351b3e49312ec.jpg","text":"TemporaryFile(/tmp/multipartBody6811738295545235008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247063890,"filename":"image_03112025_23_34_46_6772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9daaa3539d771c75319ae236e7cc40af.jpg","text":"TemporaryFile(/tmp/multipartBody3086912449255173771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247063890,"filename":"image_03112025_23_34_58_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a179dc6e11eb0b992da152739677e39.jpg","text":"TemporaryFile(/tmp/multipartBody9086435002360232676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247063890,"filename":"image_03112025_23_34_50_1573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990690","file1":"1401990689","file0":"1401990687","file4":"1401990692","file5":"1401990693","file3":"1401990691"},"map_files_photo_id_array":[{"photo_id":"1401990693","filename":"file5"},{"photo_id":"1401990690","filename":"file2"},{"photo_id":"1401990692","filename":"file4"},{"photo_id":"1401990689","filename":"file1"},{"photo_id":"1401990687","filename":"file0"},{"photo_id":"1401990691","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401990691":["hashtag1","hashtag2"]},{"1401990690":["hashtag1","hashtag2"]},{"1401990693":["hashtag1","hashtag2"]},{"1401990687":["hashtag1","hashtag2"]},{"1401990692":["hashtag1","hashtag2"]},{"1401990689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401990691, 1401990690, 1401990693, 1401990687, 1401990692, 1401990689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87898588180542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 06:57:22.173635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/47/image_01012026_05_47_54_9581.jpg', '/home/pi/Desktop/images/01012026/05/47/image_01012026_05_48_04_9765.jpg', '/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_15_10697.jpg', '/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_24_9623.jpg', '/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_35_10625.jpg', '/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_45_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/47/image_01012026_05_47_54_9581.jpg
/home/pi/Desktop/images/01012026/05/47/image_01012026_05_48_04_9765.jpg
/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_15_10697.jpg
/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_24_9623.jpg
/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_35_10625.jpg
/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_45_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":["1401990707","1401990704","1401990700","1401990702","1401990695","1401990698"],"photo_ids_order":["1401990695","1401990698","1401990700","1401990702","1401990704","1401990707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8f247dcb2f6c9f3d8b7625c4cd7a1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1651285782125998883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247102759,"filename":"image_01012026_05_48_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c57e9e09cc30bc69f4da42c5a5fee6a1.jpg","text":"TemporaryFile(/tmp/multipartBody1791055549459801947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247102759,"filename":"image_01012026_05_48_35_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5064202ffa20efdc221e7686663bb7f7.jpg","text":"TemporaryFile(/tmp/multipartBody1858574413821721618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247102759,"filename":"image_01012026_05_48_15_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb678d8a27a5517f841205987585c64c.jpg","text":"TemporaryFile(/tmp/multipartBody3258201610760324019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247102759,"filename":"image_01012026_05_48_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b60697e51bbc383758d85b24ec2d34c3.jpg","text":"TemporaryFile(/tmp/multipartBody5931580250163525948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247102759,"filename":"image_01012026_05_47_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efa62be3c4eb444ff51e098f3e113053.jpg","text":"TemporaryFile(/tmp/multipartBody2682230222705355625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247102759,"filename":"image_01012026_05_48_04_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990700","file1":"1401990698","file0":"1401990695","file4":"1401990704","file5":"1401990707","file3":"1401990702"},"map_files_photo_id_array":[{"photo_id":"1401990707","filename":"file5"},{"photo_id":"1401990700","filename":"file2"},{"photo_id":"1401990704","filename":"file4"},{"photo_id":"1401990698","filename":"file1"},{"photo_id":"1401990695","filename":"file0"},{"photo_id":"1401990702","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990707":["hashtag1","hashtag2"]},{"1401990704":["hashtag1","hashtag2"]},{"1401990700":["hashtag1","hashtag2"]},{"1401990702":["hashtag1","hashtag2"]},{"1401990695":["hashtag1","hashtag2"]},{"1401990698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990707, 1401990704, 1401990700, 1401990702, 1401990695, 1401990698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06853365898132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 06:59:03.688217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_54_9614.jpg', '/home/pi/Desktop/images/01012026/05/48/image_01012026_05_49_04_9785.jpg', '/home/pi/Desktop/images/01012026/05/49/image_01012026_05_49_15_10754.jpg', '/home/pi/Desktop/images/01012026/05/49/image_01012026_05_49_24_9593.jpg', '/home/pi/Desktop/images/01012026/05/49/image_01012026_05_49_45_9606.jpg', '/home/pi/Desktop/images/01012026/05/49/image_01012026_05_49_54_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/48/image_01012026_05_48_54_9614.jpg
/home/pi/Desktop/images/01012026/05/48/image_01012026_05_49_04_9785.jpg
/home/pi/Desktop/images/01012026/05/49/image_01012026_05_49_15_10754.jpg
/home/pi/Desktop/images/01012026/05/49/image_01012026_05_49_24_9593.jpg
/home/pi/Desktop/images/01012026/05/49/image_01012026_05_49_45_9606.jpg
/home/pi/Desktop/images/01012026/05/49/image_01012026_05_49_54_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":["1401990721","1401990724","1401990718","1401990712","1401990759","1401990714"],"photo_ids_order":["1401990712","1401990714","1401990718","1401990721","1401990724","1401990759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e23a0d9cc568e194083348940adb225e.jpg","text":"TemporaryFile(/tmp/multipartBody6025479514388537312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247204475,"filename":"image_01012026_05_49_24_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd790e245c1de67dd7a294d9cacb8188.jpg","text":"TemporaryFile(/tmp/multipartBody3534758221765469977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247204475,"filename":"image_01012026_05_49_45_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6ca545f4dddd717fd69339e94278252.jpg","text":"TemporaryFile(/tmp/multipartBody2784021791822056461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247204475,"filename":"image_01012026_05_49_15_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cddafa7516621f16009c453f04e100b2.jpg","text":"TemporaryFile(/tmp/multipartBody3091771847547759338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247204475,"filename":"image_01012026_05_48_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76e5776e1112658d1d3168cda81235b5.jpg","text":"TemporaryFile(/tmp/multipartBody5342911682413217950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247204475,"filename":"image_01012026_05_49_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8108f4330e928546855f9fb7065a5e7b.jpg","text":"TemporaryFile(/tmp/multipartBody1317179681791874244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247204475,"filename":"image_01012026_05_49_04_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401990718","file1":"1401990714","file0":"1401990712","file4":"1401990724","file5":"1401990759","file3":"1401990721"},"map_files_photo_id_array":[{"photo_id":"1401990759","filename":"file5"},{"photo_id":"1401990718","filename":"file2"},{"photo_id":"1401990724","filename":"file4"},{"photo_id":"1401990714","filename":"file1"},{"photo_id":"1401990712","filename":"file0"},{"photo_id":"1401990721","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401990721":["hashtag1","hashtag2"]},{"1401990724":["hashtag1","hashtag2"]},{"1401990718":["hashtag1","hashtag2"]},{"1401990712":["hashtag1","hashtag2"]},{"1401990759":["hashtag1","hashtag2"]},{"1401990714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401990721, 1401990724, 1401990718, 1401990712, 1401990759, 1401990714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.157297134399414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 06:59:42.766488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_04_3071.jpg', '/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_19_2501.jpg', '/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_22_3600.jpg', '/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_31_2611.jpg', '/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_49_2714.jpg', '/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_52_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_04_3071.jpg
/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_19_2501.jpg
/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_22_3600.jpg
/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_31_2611.jpg
/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_49_2714.jpg
/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_52_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":["1401991112","1401991327","1401991257","1401991184","1401991040","1401990968"],"photo_ids_order":["1401990968","1401991040","1401991112","1401991184","1401991257","1401991327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/409637cc42f425c2cffc568f602f5103.jpg","text":"TemporaryFile(/tmp/multipartBody3971013281869589746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247244533,"filename":"image_03112025_23_35_22_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90f6415431fba14d983a9cd0cef6353c.jpg","text":"TemporaryFile(/tmp/multipartBody1833865231467514298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247244533,"filename":"image_03112025_23_35_52_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f74bb774618b85487373387782f54c26.jpg","text":"TemporaryFile(/tmp/multipartBody330235934596029546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247244533,"filename":"image_03112025_23_35_49_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77902cb7a58ec35dfd0a5038135877fe.jpg","text":"TemporaryFile(/tmp/multipartBody2391609208364858036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247244533,"filename":"image_03112025_23_35_31_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c75919e36766daad279fac270c48141.jpg","text":"TemporaryFile(/tmp/multipartBody3513196811984755634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247244533,"filename":"image_03112025_23_35_19_2501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4540447ff6b85d944819adf40c089c92.jpg","text":"TemporaryFile(/tmp/multipartBody6177628710870251612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247244533,"filename":"image_03112025_23_35_04_3071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401991112","file1":"1401991040","file0":"1401990968","file4":"1401991257","file5":"1401991327","file3":"1401991184"},"map_files_photo_id_array":[{"photo_id":"1401991327","filename":"file5"},{"photo_id":"1401991112","filename":"file2"},{"photo_id":"1401991257","filename":"file4"},{"photo_id":"1401991040","filename":"file1"},{"photo_id":"1401990968","filename":"file0"},{"photo_id":"1401991184","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401991112":["hashtag1","hashtag2"]},{"1401991327":["hashtag1","hashtag2"]},{"1401991257":["hashtag1","hashtag2"]},{"1401991184":["hashtag1","hashtag2"]},{"1401991040":["hashtag1","hashtag2"]},{"1401990968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401991112, 1401991327, 1401991257, 1401991184, 1401991040, 1401990968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57773280143738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:00:21.880887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/49/image_01012026_05_50_04_9877.jpg', '/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_15_10509.jpg', '/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_24_9708.jpg', '/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_34_9837.jpg', '/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_45_10599.jpg', '/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_55_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/49/image_01012026_05_50_04_9877.jpg
/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_15_10509.jpg
/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_24_9708.jpg
/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_34_9837.jpg
/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_45_10599.jpg
/home/pi/Desktop/images/01012026/05/50/image_01012026_05_50_55_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":["1401991786","1401991561","1401991708","1401991748","1401991637","1401991817"],"photo_ids_order":["1401991561","1401991637","1401991708","1401991748","1401991786","1401991817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5735e918982b82a71b05742e62c1be25.jpg","text":"TemporaryFile(/tmp/multipartBody8353762458991612372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247282475,"filename":"image_01012026_05_50_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55e7ea13a1697659c176f2661e17497d.jpg","text":"TemporaryFile(/tmp/multipartBody7897482552141154350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247282475,"filename":"image_01012026_05_50_04_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/506f6ecede4f319c2186ea9f922c09cb.jpg","text":"TemporaryFile(/tmp/multipartBody3746878963543485732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247282475,"filename":"image_01012026_05_50_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79868b491f8f6d9ea7dbbdf0000f6da6.jpg","text":"TemporaryFile(/tmp/multipartBody4416639320551919547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247282475,"filename":"image_01012026_05_50_34_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1fed64b85f00de53408f68d05c646d7.jpg","text":"TemporaryFile(/tmp/multipartBody8880306646270419844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247282475,"filename":"image_01012026_05_50_15_10509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f29f4f77c646f88808cdcc93462582c.jpg","text":"TemporaryFile(/tmp/multipartBody3235572538832538356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247282475,"filename":"image_01012026_05_50_55_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401991708","file1":"1401991637","file0":"1401991561","file4":"1401991786","file5":"1401991817","file3":"1401991748"},"map_files_photo_id_array":[{"photo_id":"1401991817","filename":"file5"},{"photo_id":"1401991708","filename":"file2"},{"photo_id":"1401991786","filename":"file4"},{"photo_id":"1401991637","filename":"file1"},{"photo_id":"1401991561","filename":"file0"},{"photo_id":"1401991748","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401991786":["hashtag1","hashtag2"]},{"1401991561":["hashtag1","hashtag2"]},{"1401991708":["hashtag1","hashtag2"]},{"1401991748":["hashtag1","hashtag2"]},{"1401991637":["hashtag1","hashtag2"]},{"1401991817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401991786, 1401991561, 1401991708, 1401991748, 1401991637, 1401991817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.41341829299927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:01:02.817756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/50/image_01012026_05_51_04_9516.jpg', '/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_15_10683.jpg', '/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_24_9707.jpg', '/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_34_9668.jpg', '/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_45_10720.jpg', '/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_55_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/50/image_01012026_05_51_04_9516.jpg
/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_15_10683.jpg
/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_24_9707.jpg
/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_34_9668.jpg
/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_45_10720.jpg
/home/pi/Desktop/images/01012026/05/51/image_01012026_05_51_55_9661.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":["1401992008","1401991822","1401991848","1401991821","1401992084","1401991926"],"photo_ids_order":["1401991821","1401991822","1401991848","1401991926","1401992008","1401992084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c50523f833c334375b0eee8c6135d0c3.jpg","text":"TemporaryFile(/tmp/multipartBody1257448839391299665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247323591,"filename":"image_01012026_05_51_45_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fac90b61343541fca724fba423b3b8a3.jpg","text":"TemporaryFile(/tmp/multipartBody6045750989776660956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247323591,"filename":"image_01012026_05_51_15_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b304ae9db81a931f136e1794f55a3036.jpg","text":"TemporaryFile(/tmp/multipartBody7943878925254114941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247323591,"filename":"image_01012026_05_51_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd048836827a62ba2fe98ebb9d2fcae9.jpg","text":"TemporaryFile(/tmp/multipartBody5615182783827230588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247323591,"filename":"image_01012026_05_51_04_9516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58c526af547bf37a6e150b09661941db.jpg","text":"TemporaryFile(/tmp/multipartBody7378131562780428270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247323591,"filename":"image_01012026_05_51_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/402cbf774d37f0e13fda0009b9d3beb1.jpg","text":"TemporaryFile(/tmp/multipartBody3048512413482580955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247323591,"filename":"image_01012026_05_51_34_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401991848","file1":"1401991822","file0":"1401991821","file4":"1401992008","file5":"1401992084","file3":"1401991926"},"map_files_photo_id_array":[{"photo_id":"1401992084","filename":"file5"},{"photo_id":"1401991848","filename":"file2"},{"photo_id":"1401992008","filename":"file4"},{"photo_id":"1401991822","filename":"file1"},{"photo_id":"1401991821","filename":"file0"},{"photo_id":"1401991926","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401992008":["hashtag1","hashtag2"]},{"1401991822":["hashtag1","hashtag2"]},{"1401991848":["hashtag1","hashtag2"]},{"1401991821":["hashtag1","hashtag2"]},{"1401992084":["hashtag1","hashtag2"]},{"1401991926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401992008, 1401991822, 1401991848, 1401991821, 1401992084, 1401991926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60994052886963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:02:03.023056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/51/image_01012026_05_52_04_9638.jpg', '/home/pi/Desktop/images/01012026/05/52/image_01012026_05_52_15_10549.jpg', '/home/pi/Desktop/images/01012026/05/52/image_01012026_05_52_24_9639.jpg', '/home/pi/Desktop/images/01012026/05/52/image_01012026_05_52_45_10678.jpg', '/home/pi/Desktop/images/01012026/05/52/image_01012026_05_52_54_9560.jpg', '/home/pi/Desktop/images/01012026/05/52/image_01012026_05_53_04_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/51/image_01012026_05_52_04_9638.jpg
/home/pi/Desktop/images/01012026/05/52/image_01012026_05_52_15_10549.jpg
/home/pi/Desktop/images/01012026/05/52/image_01012026_05_52_24_9639.jpg
/home/pi/Desktop/images/01012026/05/52/image_01012026_05_52_45_10678.jpg
/home/pi/Desktop/images/01012026/05/52/image_01012026_05_52_54_9560.jpg
/home/pi/Desktop/images/01012026/05/52/image_01012026_05_53_04_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":["1401992356","1401992352","1401992327","1401992306","1401992353","1401992347"],"photo_ids_order":["1401992306","1401992327","1401992347","1401992352","1401992353","1401992356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8d75735f2efb1b25a2cabaf6ae2f421.jpg","text":"TemporaryFile(/tmp/multipartBody2610144684467725046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247383708,"filename":"image_01012026_05_53_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6afa8121e51a4af892d30ce2b3ca8916.jpg","text":"TemporaryFile(/tmp/multipartBody4318064672962069915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247383708,"filename":"image_01012026_05_52_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7de1c546f34648d6f4a5f9067546c9b7.jpg","text":"TemporaryFile(/tmp/multipartBody4507749644945022507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247383708,"filename":"image_01012026_05_52_15_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38ee6bae0391eccad44b624cc7004888.jpg","text":"TemporaryFile(/tmp/multipartBody2353406921062467921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247383708,"filename":"image_01012026_05_52_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16aa04df2b2d2f937fddaf7ddcd09d33.jpg","text":"TemporaryFile(/tmp/multipartBody7812284786267454491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247383708,"filename":"image_01012026_05_52_54_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2522cf74ba3e5b36c4a6ddabc0ef80ef.jpg","text":"TemporaryFile(/tmp/multipartBody2143272681808707577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247383708,"filename":"image_01012026_05_52_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401992347","file1":"1401992327","file0":"1401992306","file4":"1401992353","file5":"1401992356","file3":"1401992352"},"map_files_photo_id_array":[{"photo_id":"1401992356","filename":"file5"},{"photo_id":"1401992347","filename":"file2"},{"photo_id":"1401992353","filename":"file4"},{"photo_id":"1401992327","filename":"file1"},{"photo_id":"1401992306","filename":"file0"},{"photo_id":"1401992352","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401992356":["hashtag1","hashtag2"]},{"1401992352":["hashtag1","hashtag2"]},{"1401992327":["hashtag1","hashtag2"]},{"1401992306":["hashtag1","hashtag2"]},{"1401992353":["hashtag1","hashtag2"]},{"1401992347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401992356, 1401992352, 1401992327, 1401992306, 1401992353, 1401992347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.103177309036255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:02:42.516740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_58_2534.jpg', '/home/pi/Desktop/images/03112025/23/35/image_03112025_23_36_00_2655.jpg', '/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_04_3586.jpg', '/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_10_2769.jpg', '/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_16_2563.jpg', '/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_22_3745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/35/image_03112025_23_35_58_2534.jpg
/home/pi/Desktop/images/03112025/23/35/image_03112025_23_36_00_2655.jpg
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_04_3586.jpg
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_10_2769.jpg
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_16_2563.jpg
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_22_3745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401992362","1401992364","1401992367","1401992360","1401992363","1401992365"],"photo_ids_order":["1401992360","1401992362","1401992363","1401992364","1401992365","1401992367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19b77f438b8a0f7ee262a5c2a57cff2c.jpg","text":"TemporaryFile(/tmp/multipartBody494570699012720369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247424317,"filename":"image_03112025_23_36_00_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05956d43fb12728fa506e76ae1d7217b.jpg","text":"TemporaryFile(/tmp/multipartBody1091239854988882478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247424317,"filename":"image_03112025_23_36_10_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31b80684ec895926c434ba2798f69782.jpg","text":"TemporaryFile(/tmp/multipartBody9163186065672217014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247424317,"filename":"image_03112025_23_36_22_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a3fcb69d832fce4ee4563f47d7c72c8.jpg","text":"TemporaryFile(/tmp/multipartBody6869591053485944562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247424317,"filename":"image_03112025_23_35_58_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3535f955f25e5c8f632a3c3213dfac76.jpg","text":"TemporaryFile(/tmp/multipartBody4053953889259882143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247424317,"filename":"image_03112025_23_36_04_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa3b3a05411b69a44f60a5bc3faa6e3b.jpg","text":"TemporaryFile(/tmp/multipartBody7050514942327005387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247424317,"filename":"image_03112025_23_36_16_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401992363","file1":"1401992362","file0":"1401992360","file4":"1401992365","file5":"1401992367","file3":"1401992364"},"map_files_photo_id_array":[{"photo_id":"1401992367","filename":"file5"},{"photo_id":"1401992363","filename":"file2"},{"photo_id":"1401992365","filename":"file4"},{"photo_id":"1401992362","filename":"file1"},{"photo_id":"1401992360","filename":"file0"},{"photo_id":"1401992364","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401992362":["hashtag1","hashtag2"]},{"1401992364":["hashtag1","hashtag2"]},{"1401992367":["hashtag1","hashtag2"]},{"1401992360":["hashtag1","hashtag2"]},{"1401992363":["hashtag1","hashtag2"]},{"1401992365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401992362, 1401992364, 1401992367, 1401992360, 1401992363, 1401992365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09148907661438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:03:22.671718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_15_10684.jpg', '/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_24_9638.jpg', '/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_34_9663.jpg', '/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_45_10699.jpg', '/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_55_9717.jpg', '/home/pi/Desktop/images/01012026/05/53/image_01012026_05_54_04_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_15_10684.jpg
/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_24_9638.jpg
/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_34_9663.jpg
/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_45_10699.jpg
/home/pi/Desktop/images/01012026/05/53/image_01012026_05_53_55_9717.jpg
/home/pi/Desktop/images/01012026/05/53/image_01012026_05_54_04_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401992853","1401992465","1401992759","1401992369","1401992561","1401992665"],"photo_ids_order":["1401992369","1401992465","1401992561","1401992665","1401992759","1401992853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5c5924d87c2d63c66c6b50114db4602.jpg","text":"TemporaryFile(/tmp/multipartBody1280766783575792572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247463296,"filename":"image_01012026_05_54_04_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3e88b56972cd0dd896b694aa2442aed.jpg","text":"TemporaryFile(/tmp/multipartBody5571725588392111246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247463296,"filename":"image_01012026_05_53_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b63169c23b959819f73e7964ed1bd08.jpg","text":"TemporaryFile(/tmp/multipartBody2469710180482547809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247463296,"filename":"image_01012026_05_53_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b8077edc65f113f67fbb6f24ff9740f.jpg","text":"TemporaryFile(/tmp/multipartBody8241299872103003583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247463296,"filename":"image_01012026_05_53_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89ddd6e418b467a3513032a90547739e.jpg","text":"TemporaryFile(/tmp/multipartBody7122819477960899699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247463296,"filename":"image_01012026_05_53_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0a4b0dd67f7b6b483b08182f36a64d0.jpg","text":"TemporaryFile(/tmp/multipartBody8515017325106527838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247463296,"filename":"image_01012026_05_53_45_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401992561","file1":"1401992465","file0":"1401992369","file4":"1401992759","file5":"1401992853","file3":"1401992665"},"map_files_photo_id_array":[{"photo_id":"1401992853","filename":"file5"},{"photo_id":"1401992561","filename":"file2"},{"photo_id":"1401992759","filename":"file4"},{"photo_id":"1401992465","filename":"file1"},{"photo_id":"1401992369","filename":"file0"},{"photo_id":"1401992665","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401992853":["hashtag1","hashtag2"]},{"1401992465":["hashtag1","hashtag2"]},{"1401992759":["hashtag1","hashtag2"]},{"1401992369":["hashtag1","hashtag2"]},{"1401992561":["hashtag1","hashtag2"]},{"1401992665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401992853, 1401992465, 1401992759, 1401992369, 1401992561, 1401992665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.845964670181274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:04:02.614266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_15_10572.jpg', '/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_24_9519.jpg', '/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_35_10554.jpg', '/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_45_9636.jpg', '/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_54_9551.jpg', '/home/pi/Desktop/images/01012026/05/54/image_01012026_05_55_05_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_15_10572.jpg
/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_24_9519.jpg
/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_35_10554.jpg
/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_45_9636.jpg
/home/pi/Desktop/images/01012026/05/54/image_01012026_05_54_54_9551.jpg
/home/pi/Desktop/images/01012026/05/54/image_01012026_05_55_05_10760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401992950","1401992917","1401993015","1401993062","1401993041","1401993017"],"photo_ids_order":["1401992917","1401992950","1401993015","1401993017","1401993041","1401993062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88cb4eb73c9646ea539a61cff0aec0da.jpg","text":"TemporaryFile(/tmp/multipartBody1289574997798787266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247503253,"filename":"image_01012026_05_54_24_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0c206fd33b18d1dae283888c36af1b4.jpg","text":"TemporaryFile(/tmp/multipartBody6521720032981572656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247503253,"filename":"image_01012026_05_54_15_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6295a751ab2eb466ea587e46e6ea1f72.jpg","text":"TemporaryFile(/tmp/multipartBody3233735339266223647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247503253,"filename":"image_01012026_05_54_35_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5647fc3dffcc0279c57f6077141f174.jpg","text":"TemporaryFile(/tmp/multipartBody6875180194900868351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247503253,"filename":"image_01012026_05_55_05_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb599a1715760bf6f90b28903d59ab48.jpg","text":"TemporaryFile(/tmp/multipartBody7153218309145931064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247503253,"filename":"image_01012026_05_54_54_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bac4b1e3f38281e674bd378ec090a9d5.jpg","text":"TemporaryFile(/tmp/multipartBody7722814029241730918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247503253,"filename":"image_01012026_05_54_45_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993015","file1":"1401992950","file0":"1401992917","file4":"1401993041","file5":"1401993062","file3":"1401993017"},"map_files_photo_id_array":[{"photo_id":"1401993062","filename":"file5"},{"photo_id":"1401993015","filename":"file2"},{"photo_id":"1401993041","filename":"file4"},{"photo_id":"1401992950","filename":"file1"},{"photo_id":"1401992917","filename":"file0"},{"photo_id":"1401993017","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401992950":["hashtag1","hashtag2"]},{"1401992917":["hashtag1","hashtag2"]},{"1401993015":["hashtag1","hashtag2"]},{"1401993062":["hashtag1","hashtag2"]},{"1401993041":["hashtag1","hashtag2"]},{"1401993017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401992950, 1401992917, 1401993015, 1401993062, 1401993041, 1401993017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74420690536499 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:04:41.943657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_27_2596.jpg', '/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_31_3518.jpg', '/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_34_2567.jpg', '/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_40_3636.jpg', '/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_55_3620.jpg', '/home/pi/Desktop/images/03112025/23/37/image_03112025_23_37_07_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_27_2596.jpg
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_31_3518.jpg
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_34_2567.jpg
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_40_3636.jpg
/home/pi/Desktop/images/03112025/23/36/image_03112025_23_36_55_3620.jpg
/home/pi/Desktop/images/03112025/23/37/image_03112025_23_37_07_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401993072","1401993071","1401993074","1401993068","1401993076","1401993073"],"photo_ids_order":["1401993068","1401993071","1401993072","1401993073","1401993074","1401993076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4176778f5569c69d327a7400c249c89.jpg","text":"TemporaryFile(/tmp/multipartBody7963190760719903245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247543709,"filename":"image_03112025_23_36_34_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0aa585998ba1bb86c20ef3462b67f06.jpg","text":"TemporaryFile(/tmp/multipartBody6611192779920332856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247543709,"filename":"image_03112025_23_36_31_3518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d629a36c3519b8f41e2e8b18329447c.jpg","text":"TemporaryFile(/tmp/multipartBody8301447153794838487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247543709,"filename":"image_03112025_23_36_55_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3dec2ece1b7d4af80e938d9290c145ca.jpg","text":"TemporaryFile(/tmp/multipartBody6559355293562557569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247543709,"filename":"image_03112025_23_36_27_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b557896d2e293638950474ac9297c2b.jpg","text":"TemporaryFile(/tmp/multipartBody694475710750127801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247543709,"filename":"image_03112025_23_37_07_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f65875a4ad4ff3faea537e3bb50e9692.jpg","text":"TemporaryFile(/tmp/multipartBody405369268908955296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247543709,"filename":"image_03112025_23_36_40_3636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993072","file1":"1401993071","file0":"1401993068","file4":"1401993074","file5":"1401993076","file3":"1401993073"},"map_files_photo_id_array":[{"photo_id":"1401993076","filename":"file5"},{"photo_id":"1401993072","filename":"file2"},{"photo_id":"1401993074","filename":"file4"},{"photo_id":"1401993071","filename":"file1"},{"photo_id":"1401993068","filename":"file0"},{"photo_id":"1401993073","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993072":["hashtag1","hashtag2"]},{"1401993071":["hashtag1","hashtag2"]},{"1401993074":["hashtag1","hashtag2"]},{"1401993068":["hashtag1","hashtag2"]},{"1401993076":["hashtag1","hashtag2"]},{"1401993073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993072, 1401993071, 1401993074, 1401993068, 1401993076, 1401993073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17792749404907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:05:22.110666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_15_9733.jpg', '/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_24_9653.jpg', '/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_35_10626.jpg', '/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_45_9723.jpg', '/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_54_9657.jpg', '/home/pi/Desktop/images/01012026/05/55/image_01012026_05_56_05_10558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_15_9733.jpg
/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_24_9653.jpg
/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_35_10626.jpg
/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_45_9723.jpg
/home/pi/Desktop/images/01012026/05/55/image_01012026_05_55_54_9657.jpg
/home/pi/Desktop/images/01012026/05/55/image_01012026_05_56_05_10558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401993081","1401993083","1401993077","1401993085","1401993079","1401993088"],"photo_ids_order":["1401993077","1401993079","1401993081","1401993083","1401993085","1401993088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1bd5cb04bf213b00acb2d1b4b0a9645.jpg","text":"TemporaryFile(/tmp/multipartBody2904188358117156186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247582706,"filename":"image_01012026_05_55_35_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d56587228902ae72ddded3bfbfd8c581.jpg","text":"TemporaryFile(/tmp/multipartBody4140384453969320811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247582706,"filename":"image_01012026_05_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/2026/1/1/defdc00c54ee5d300d43a5776410d4ae.jpg","text":"TemporaryFile(/tmp/multipartBody3465219957112920930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247582706,"filename":"image_01012026_05_55_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56680e05b15dc59a85be65c49b050b66.jpg","text":"TemporaryFile(/tmp/multipartBody6179667282169580470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247582706,"filename":"image_01012026_05_55_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/999d00d3cbf9fc43ce79ce52fbd9ce47.jpg","text":"TemporaryFile(/tmp/multipartBody6757035851778543255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247582706,"filename":"image_01012026_05_55_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d385d378c1ba8ce977bc58e3d47c56fb.jpg","text":"TemporaryFile(/tmp/multipartBody8973218394986141593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247582706,"filename":"image_01012026_05_56_05_10558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993081","file1":"1401993079","file0":"1401993077","file4":"1401993085","file5":"1401993088","file3":"1401993083"},"map_files_photo_id_array":[{"photo_id":"1401993088","filename":"file5"},{"photo_id":"1401993081","filename":"file2"},{"photo_id":"1401993085","filename":"file4"},{"photo_id":"1401993079","filename":"file1"},{"photo_id":"1401993077","filename":"file0"},{"photo_id":"1401993083","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993081":["hashtag1","hashtag2"]},{"1401993083":["hashtag1","hashtag2"]},{"1401993077":["hashtag1","hashtag2"]},{"1401993085":["hashtag1","hashtag2"]},{"1401993079":["hashtag1","hashtag2"]},{"1401993088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993081, 1401993083, 1401993077, 1401993085, 1401993079, 1401993088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04085636138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:06:02.730840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_14_9579.jpg', '/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_24_9730.jpg', '/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_35_10722.jpg', '/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_45_9788.jpg', '/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_54_9562.jpg', '/home/pi/Desktop/images/01012026/05/56/image_01012026_05_57_05_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_14_9579.jpg
/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_24_9730.jpg
/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_35_10722.jpg
/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_45_9788.jpg
/home/pi/Desktop/images/01012026/05/56/image_01012026_05_56_54_9562.jpg
/home/pi/Desktop/images/01012026/05/56/image_01012026_05_57_05_10778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401993096","1401993090","1401993092","1401993094","1401993091","1401993093"],"photo_ids_order":["1401993090","1401993091","1401993092","1401993093","1401993094","1401993096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19e9d14d0d3ad7b785936b3f060bb8c3.jpg","text":"TemporaryFile(/tmp/multipartBody1716214705563785984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247623353,"filename":"image_01012026_05_57_05_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d32c113cb5bbd13633e027d9a6a159b.jpg","text":"TemporaryFile(/tmp/multipartBody4623272353576430841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247623353,"filename":"image_01012026_05_56_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7dfc39bbcc15dc90fe80a0d8ed057a9b.jpg","text":"TemporaryFile(/tmp/multipartBody1784699822570500221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247623353,"filename":"image_01012026_05_56_35_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0df84c6abf019a870c2fa49b97a8f2a9.jpg","text":"TemporaryFile(/tmp/multipartBody8738288016125018027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247623353,"filename":"image_01012026_05_56_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6564601d64a39b6732fe1c8af32e3fd8.jpg","text":"TemporaryFile(/tmp/multipartBody6595097960872983589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247623353,"filename":"image_01012026_05_56_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e73fb5b5d08367fbd37464ffd6bf62dd.jpg","text":"TemporaryFile(/tmp/multipartBody184648103546450158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247623353,"filename":"image_01012026_05_56_45_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993092","file1":"1401993091","file0":"1401993090","file4":"1401993094","file5":"1401993096","file3":"1401993093"},"map_files_photo_id_array":[{"photo_id":"1401993096","filename":"file5"},{"photo_id":"1401993092","filename":"file2"},{"photo_id":"1401993094","filename":"file4"},{"photo_id":"1401993091","filename":"file1"},{"photo_id":"1401993090","filename":"file0"},{"photo_id":"1401993093","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993096":["hashtag1","hashtag2"]},{"1401993090":["hashtag1","hashtag2"]},{"1401993092":["hashtag1","hashtag2"]},{"1401993094":["hashtag1","hashtag2"]},{"1401993091":["hashtag1","hashtag2"]},{"1401993093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993096, 1401993090, 1401993092, 1401993094, 1401993091, 1401993093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00997543334961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:06:42.297173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/37/image_03112025_23_37_40_3584.jpg', '/home/pi/Desktop/images/03112025/23/38/image_03112025_23_38_01_2667.jpg', '/home/pi/Desktop/images/03112025/23/38/image_03112025_23_38_13_2731.jpg', '/home/pi/Desktop/images/03112025/23/38/image_03112025_23_38_27_2762.jpg', '/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_03_2602.jpg', '/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_06_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/23/37/image_03112025_23_37_40_3584.jpg
/home/pi/Desktop/images/03112025/23/38/image_03112025_23_38_01_2667.jpg
/home/pi/Desktop/images/03112025/23/38/image_03112025_23_38_13_2731.jpg
/home/pi/Desktop/images/03112025/23/38/image_03112025_23_38_27_2762.jpg
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_03_2602.jpg
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_06_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":["1401993106","1401993105","1401993108","1401993102","1401993110","1401993107"],"photo_ids_order":["1401993102","1401993105","1401993106","1401993107","1401993108","1401993110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0686b5212e56303539d137442356eb44.jpg","text":"TemporaryFile(/tmp/multipartBody9084940969706293073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247664078,"filename":"image_03112025_23_38_13_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7eb1d1fa062bb526ab023c84a535fa31.jpg","text":"TemporaryFile(/tmp/multipartBody7696900692913063376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247664078,"filename":"image_03112025_23_38_01_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ac916c8d66434f6b9866882217ff598.jpg","text":"TemporaryFile(/tmp/multipartBody6095832056193412156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247664078,"filename":"image_03112025_23_39_03_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95ddb540f273dbf67103541006bb88f9.jpg","text":"TemporaryFile(/tmp/multipartBody6940127788603147488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247664078,"filename":"image_03112025_23_37_40_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c50d07bc1db24818ffcac6d66a6decfe.jpg","text":"TemporaryFile(/tmp/multipartBody4409341890689001203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247664078,"filename":"image_03112025_23_39_06_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/517278506a4cd2ebb31a078ca816fba2.jpg","text":"TemporaryFile(/tmp/multipartBody7294659116351074746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247664078,"filename":"image_03112025_23_38_27_2762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993106","file1":"1401993105","file0":"1401993102","file4":"1401993108","file5":"1401993110","file3":"1401993107"},"map_files_photo_id_array":[{"photo_id":"1401993110","filename":"file5"},{"photo_id":"1401993106","filename":"file2"},{"photo_id":"1401993108","filename":"file4"},{"photo_id":"1401993105","filename":"file1"},{"photo_id":"1401993102","filename":"file0"},{"photo_id":"1401993107","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993106":["hashtag1","hashtag2"]},{"1401993105":["hashtag1","hashtag2"]},{"1401993108":["hashtag1","hashtag2"]},{"1401993102":["hashtag1","hashtag2"]},{"1401993110":["hashtag1","hashtag2"]},{"1401993107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993106, 1401993105, 1401993108, 1401993102, 1401993110, 1401993107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06220507621765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:07:22.481349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_15_9658.jpg', '/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_24_9608.jpg', '/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_35_10730.jpg', '/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_45_9613.jpg', '/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_54_9590.jpg', '/home/pi/Desktop/images/01012026/05/57/image_01012026_05_58_05_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_15_9658.jpg
/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_24_9608.jpg
/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_35_10730.jpg
/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_45_9613.jpg
/home/pi/Desktop/images/01012026/05/57/image_01012026_05_57_54_9590.jpg
/home/pi/Desktop/images/01012026/05/57/image_01012026_05_58_05_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":["1401993111","1401993114","1401993117","1401993119","1401993121","1401993115"],"photo_ids_order":["1401993111","1401993114","1401993115","1401993117","1401993119","1401993121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/702789fdb95bdd4f458a8ff173e22a48.jpg","text":"TemporaryFile(/tmp/multipartBody6521204555879356518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247703102,"filename":"image_01012026_05_57_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d9d9006359f7d60b65498a06bdc0bdb.jpg","text":"TemporaryFile(/tmp/multipartBody6828368790787130361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247703102,"filename":"image_01012026_05_57_24_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c49f6f2a6c4361a3e8f8895177d8431a.jpg","text":"TemporaryFile(/tmp/multipartBody2581903845474717129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247703102,"filename":"image_01012026_05_57_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66072d81b080cffe2d414d3361b0cba5.jpg","text":"TemporaryFile(/tmp/multipartBody8250402314549652673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247703102,"filename":"image_01012026_05_57_54_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/253c47247c059d085d1d592a6425e8de.jpg","text":"TemporaryFile(/tmp/multipartBody3564983899175827633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247703102,"filename":"image_01012026_05_58_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/615b9af4cce2e3b459aa7bd19f4c80d4.jpg","text":"TemporaryFile(/tmp/multipartBody4225212051792280634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247703102,"filename":"image_01012026_05_57_35_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993115","file1":"1401993114","file0":"1401993111","file4":"1401993119","file5":"1401993121","file3":"1401993117"},"map_files_photo_id_array":[{"photo_id":"1401993121","filename":"file5"},{"photo_id":"1401993115","filename":"file2"},{"photo_id":"1401993119","filename":"file4"},{"photo_id":"1401993114","filename":"file1"},{"photo_id":"1401993111","filename":"file0"},{"photo_id":"1401993117","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993111":["hashtag1","hashtag2"]},{"1401993114":["hashtag1","hashtag2"]},{"1401993117":["hashtag1","hashtag2"]},{"1401993119":["hashtag1","hashtag2"]},{"1401993121":["hashtag1","hashtag2"]},{"1401993115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993111, 1401993114, 1401993117, 1401993119, 1401993121, 1401993115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.229530811309814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:08:03.058430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_14_9630.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_24_9661.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_35_10867.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_45_9840.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_55_9676.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_59_04_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_14_9630.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_24_9661.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_35_10867.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_45_9840.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_55_9676.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_59_04_9761.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.5028054714202881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:08:12.580504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_19_3803.jpg', '/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_22_2656.jpg', '/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_24_2729.jpg', '/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_31_2764.jpg', '/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_33_2510.jpg', '/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_37_3513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_19_3803.jpg
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_22_2656.jpg
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_24_2729.jpg
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_31_2764.jpg
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_33_2510.jpg
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_39_37_3513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401993138","1401993126","1401993135","1401993129","1401993131","1401993133"],"photo_ids_order":["1401993126","1401993129","1401993131","1401993133","1401993135","1401993138"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59476d784741f106a96f648c9423a878.jpg","text":"TemporaryFile(/tmp/multipartBody1617484565273947987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247754228,"filename":"image_03112025_23_39_37_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e57f6e3cf75b085eaf3762ce1eaa4d7f.jpg","text":"TemporaryFile(/tmp/multipartBody4248149960934404003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247754228,"filename":"image_03112025_23_39_19_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94c615f6144b8c02962a989e6a87f1f8.jpg","text":"TemporaryFile(/tmp/multipartBody7107421826896345946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247754228,"filename":"image_03112025_23_39_33_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bf923a9949cb28737937e4c42405648.jpg","text":"TemporaryFile(/tmp/multipartBody339967319264111891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247754228,"filename":"image_03112025_23_39_22_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f2c44715a55c1e27d5e852dad8a1223.jpg","text":"TemporaryFile(/tmp/multipartBody4120620912023470148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247754228,"filename":"image_03112025_23_39_24_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc26d72b65955caad6501a3d6e9277c3.jpg","text":"TemporaryFile(/tmp/multipartBody5372317635189881628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247754228,"filename":"image_03112025_23_39_31_2764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993131","file1":"1401993129","file0":"1401993126","file4":"1401993135","file5":"1401993138","file3":"1401993133"},"map_files_photo_id_array":[{"photo_id":"1401993138","filename":"file5"},{"photo_id":"1401993131","filename":"file2"},{"photo_id":"1401993135","filename":"file4"},{"photo_id":"1401993129","filename":"file1"},{"photo_id":"1401993126","filename":"file0"},{"photo_id":"1401993133","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993138":["hashtag1","hashtag2"]},{"1401993126":["hashtag1","hashtag2"]},{"1401993135":["hashtag1","hashtag2"]},{"1401993129":["hashtag1","hashtag2"]},{"1401993131":["hashtag1","hashtag2"]},{"1401993133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993138, 1401993126, 1401993135, 1401993129, 1401993131, 1401993133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.521846294403076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:09:02.893688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_14_9630.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_24_9661.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_35_10867.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_45_9840.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_55_9676.jpg', '/home/pi/Desktop/images/01012026/05/58/image_01012026_05_59_04_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_14_9630.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_24_9661.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_35_10867.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_45_9840.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_58_55_9676.jpg
/home/pi/Desktop/images/01012026/05/58/image_01012026_05_59_04_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":["1401993150","1401993144","1401993147","1401993146","1401993145","1401993148"],"photo_ids_order":["1401993144","1401993145","1401993146","1401993147","1401993148","1401993150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92a07fe4abc9916d8060b8692bcdfea5.jpg","text":"TemporaryFile(/tmp/multipartBody533250008131554104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247803631,"filename":"image_01012026_05_59_04_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/881421dccb9005a5127a5396aacc1360.jpg","text":"TemporaryFile(/tmp/multipartBody6531020734230880907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247803631,"filename":"image_01012026_05_58_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e51fa2f4cbe909b0862a6466c43382fa.jpg","text":"TemporaryFile(/tmp/multipartBody2975152110431755294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247803631,"filename":"image_01012026_05_58_45_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab43601b9c32e504a469c57a7398e4f5.jpg","text":"TemporaryFile(/tmp/multipartBody184623393380563783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247803631,"filename":"image_01012026_05_58_35_10867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c19704d082e75007d1378ad52e9c000d.jpg","text":"TemporaryFile(/tmp/multipartBody3080124113271925368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247803631,"filename":"image_01012026_05_58_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46318d87fc83d6133a688eb4acbb5812.jpg","text":"TemporaryFile(/tmp/multipartBody3822734315147068185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247803631,"filename":"image_01012026_05_58_55_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993146","file1":"1401993145","file0":"1401993144","file4":"1401993148","file5":"1401993150","file3":"1401993147"},"map_files_photo_id_array":[{"photo_id":"1401993150","filename":"file5"},{"photo_id":"1401993146","filename":"file2"},{"photo_id":"1401993148","filename":"file4"},{"photo_id":"1401993145","filename":"file1"},{"photo_id":"1401993144","filename":"file0"},{"photo_id":"1401993147","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993150":["hashtag1","hashtag2"]},{"1401993144":["hashtag1","hashtag2"]},{"1401993147":["hashtag1","hashtag2"]},{"1401993146":["hashtag1","hashtag2"]},{"1401993145":["hashtag1","hashtag2"]},{"1401993148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993150, 1401993144, 1401993147, 1401993146, 1401993145, 1401993148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74368166923523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:09:41.934428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/39/image_03112025_23_40_00_2672.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_04_3817.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_07_2822.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_10_2886.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_12_2783.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_15_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/39/image_03112025_23_40_00_2672.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_04_3817.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_07_2822.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_10_2886.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_12_2783.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_15_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":["1401993162","1401993156","1401993159","1401993161","1401993158","1401993160"],"photo_ids_order":["1401993156","1401993158","1401993159","1401993160","1401993161","1401993162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e3521055c399bc4aa4a3cee5197c696.jpg","text":"TemporaryFile(/tmp/multipartBody5043743897040724626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247843734,"filename":"image_03112025_23_40_15_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1830a2eca05505fa7ea1f5a5333f5be9.jpg","text":"TemporaryFile(/tmp/multipartBody7052816162961109457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247843734,"filename":"image_03112025_23_40_00_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ce465c786df382c4c5f75146fde35d5.jpg","text":"TemporaryFile(/tmp/multipartBody701566415060530682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247843734,"filename":"image_03112025_23_40_07_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65a5111e8b00888db2fe129eee8ca4cb.jpg","text":"TemporaryFile(/tmp/multipartBody7588721086928085278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247843734,"filename":"image_03112025_23_40_12_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9860133d54e8d823b853db4601f6f15c.jpg","text":"TemporaryFile(/tmp/multipartBody2751655566424091056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247843734,"filename":"image_03112025_23_40_04_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e8d1174c5775fa358b2b82b77c0a85e.jpg","text":"TemporaryFile(/tmp/multipartBody1509303434995792084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247843734,"filename":"image_03112025_23_40_10_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993159","file1":"1401993158","file0":"1401993156","file4":"1401993161","file5":"1401993162","file3":"1401993160"},"map_files_photo_id_array":[{"photo_id":"1401993162","filename":"file5"},{"photo_id":"1401993159","filename":"file2"},{"photo_id":"1401993161","filename":"file4"},{"photo_id":"1401993158","filename":"file1"},{"photo_id":"1401993156","filename":"file0"},{"photo_id":"1401993160","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993162":["hashtag1","hashtag2"]},{"1401993156":["hashtag1","hashtag2"]},{"1401993159":["hashtag1","hashtag2"]},{"1401993161":["hashtag1","hashtag2"]},{"1401993158":["hashtag1","hashtag2"]},{"1401993160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993162, 1401993156, 1401993159, 1401993161, 1401993158, 1401993160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.847344636917114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:10:22.138364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_15_10661.jpg', '/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_25_9667.jpg', '/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_34_9605.jpg', '/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_45_10697.jpg', '/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_55_9698.jpg', '/home/pi/Desktop/images/01012026/05/59/image_01012026_06_00_04_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_15_10661.jpg
/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_25_9667.jpg
/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_34_9605.jpg
/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_45_10697.jpg
/home/pi/Desktop/images/01012026/05/59/image_01012026_05_59_55_9698.jpg
/home/pi/Desktop/images/01012026/05/59/image_01012026_06_00_04_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":["1401993174","1401993168","1401993170","1401993164","1401993172","1401993166"],"photo_ids_order":["1401993164","1401993166","1401993168","1401993170","1401993172","1401993174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5feb5ca35b7ba51e188dd49375d92875.jpg","text":"TemporaryFile(/tmp/multipartBody976772304230207306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247882727,"filename":"image_01012026_06_00_04_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ba4cdaa746ab98ab459fc48dbff6761.jpg","text":"TemporaryFile(/tmp/multipartBody6510722009723274545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247882727,"filename":"image_01012026_05_59_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43bb35bcbbb940f4dda8e677d45e8921.jpg","text":"TemporaryFile(/tmp/multipartBody4424720505961340630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247882727,"filename":"image_01012026_05_59_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8105c36cb801b66386a95e2d224f7328.jpg","text":"TemporaryFile(/tmp/multipartBody7344172353861533172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247882727,"filename":"image_01012026_05_59_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/384820bb52436c79c468fec5e5ec1689.jpg","text":"TemporaryFile(/tmp/multipartBody5484270185315806368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247882727,"filename":"image_01012026_05_59_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56ac36d6a9671ecc205f67b4dc3710e6.jpg","text":"TemporaryFile(/tmp/multipartBody5164234523484490873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247882727,"filename":"image_01012026_05_59_25_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993168","file1":"1401993166","file0":"1401993164","file4":"1401993172","file5":"1401993174","file3":"1401993170"},"map_files_photo_id_array":[{"photo_id":"1401993174","filename":"file5"},{"photo_id":"1401993168","filename":"file2"},{"photo_id":"1401993172","filename":"file4"},{"photo_id":"1401993166","filename":"file1"},{"photo_id":"1401993164","filename":"file0"},{"photo_id":"1401993170","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993174":["hashtag1","hashtag2"]},{"1401993168":["hashtag1","hashtag2"]},{"1401993170":["hashtag1","hashtag2"]},{"1401993164":["hashtag1","hashtag2"]},{"1401993172":["hashtag1","hashtag2"]},{"1401993166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993174, 1401993168, 1401993170, 1401993164, 1401993172, 1401993166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48204803466797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:11:03.009296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_15_10791.jpg', '/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_25_9678.jpg', '/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_34_9537.jpg', '/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_45_10691.jpg', '/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_55_9655.jpg', '/home/pi/Desktop/images/01012026/06/00/image_01012026_06_01_04_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_15_10791.jpg
/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_25_9678.jpg
/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_34_9537.jpg
/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_45_10691.jpg
/home/pi/Desktop/images/01012026/06/00/image_01012026_06_00_55_9655.jpg
/home/pi/Desktop/images/01012026/06/00/image_01012026_06_01_04_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":["1401993180","1401993179","1401993182","1401993176","1401993184","1401993178"],"photo_ids_order":["1401993176","1401993178","1401993179","1401993180","1401993182","1401993184"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/855da30f2d623e0e54fc537c8332dd59.jpg","text":"TemporaryFile(/tmp/multipartBody616467839152211480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247923707,"filename":"image_01012026_06_00_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3248f3e70557157acd9a2889688e20c8.jpg","text":"TemporaryFile(/tmp/multipartBody6022187215752826560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247923707,"filename":"image_01012026_06_00_34_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e56bed665bc1225642583f8726b3e612.jpg","text":"TemporaryFile(/tmp/multipartBody3290752574416183237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247923707,"filename":"image_01012026_06_00_55_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3feed1210ee86181122c6ee1413464ba.jpg","text":"TemporaryFile(/tmp/multipartBody3694376346319819679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247923707,"filename":"image_01012026_06_00_15_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e6f9b571e505ad03e56025ae8dd18cf.jpg","text":"TemporaryFile(/tmp/multipartBody1349039208352435869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247923707,"filename":"image_01012026_06_01_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/337fd340224ce43ca564bab25dbee5d9.jpg","text":"TemporaryFile(/tmp/multipartBody2740816806880396033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247923707,"filename":"image_01012026_06_00_25_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993179","file1":"1401993178","file0":"1401993176","file4":"1401993182","file5":"1401993184","file3":"1401993180"},"map_files_photo_id_array":[{"photo_id":"1401993184","filename":"file5"},{"photo_id":"1401993179","filename":"file2"},{"photo_id":"1401993182","filename":"file4"},{"photo_id":"1401993178","filename":"file1"},{"photo_id":"1401993176","filename":"file0"},{"photo_id":"1401993180","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993180":["hashtag1","hashtag2"]},{"1401993179":["hashtag1","hashtag2"]},{"1401993182":["hashtag1","hashtag2"]},{"1401993176":["hashtag1","hashtag2"]},{"1401993184":["hashtag1","hashtag2"]},{"1401993178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993180, 1401993179, 1401993182, 1401993176, 1401993184, 1401993178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.713812589645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:11:42.255987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_19_3726.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_24_2538.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_28_3793.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_33_2871.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_36_2770.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_48_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/23/40/image_03112025_23_40_19_3726.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_24_2538.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_28_3793.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_33_2871.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_36_2770.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_48_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":["1401993195","1401993194","1401993193","1401993196","1401993190","1401993192"],"photo_ids_order":["1401993190","1401993192","1401993193","1401993194","1401993195","1401993196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d1a10af7061ef7670ec30d1fcb53e76.jpg","text":"TemporaryFile(/tmp/multipartBody482172376271343149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247964024,"filename":"image_03112025_23_40_36_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/678e27fa754a4ccdc1c3b1b60fb310f2.jpg","text":"TemporaryFile(/tmp/multipartBody7297537480351205347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247964024,"filename":"image_03112025_23_40_33_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e2e70da1fe9aadbd43b91f16dac513e.jpg","text":"TemporaryFile(/tmp/multipartBody1199983905253876441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247964024,"filename":"image_03112025_23_40_28_3793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3be3be9415e88d27ab9ae0250cc5864.jpg","text":"TemporaryFile(/tmp/multipartBody3603753972400883299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247964024,"filename":"image_03112025_23_40_48_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4c460cdab49ae8a2b4432ca629886d5.jpg","text":"TemporaryFile(/tmp/multipartBody2163993413593713945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247964024,"filename":"image_03112025_23_40_19_3726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed4018c7e8cb9f15e2c51e3076c4b7ce.jpg","text":"TemporaryFile(/tmp/multipartBody853663881105483461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767247964024,"filename":"image_03112025_23_40_24_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993193","file1":"1401993192","file0":"1401993190","file4":"1401993195","file5":"1401993196","file3":"1401993194"},"map_files_photo_id_array":[{"photo_id":"1401993196","filename":"file5"},{"photo_id":"1401993193","filename":"file2"},{"photo_id":"1401993195","filename":"file4"},{"photo_id":"1401993192","filename":"file1"},{"photo_id":"1401993190","filename":"file0"},{"photo_id":"1401993194","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993195":["hashtag1","hashtag2"]},{"1401993194":["hashtag1","hashtag2"]},{"1401993193":["hashtag1","hashtag2"]},{"1401993196":["hashtag1","hashtag2"]},{"1401993190":["hashtag1","hashtag2"]},{"1401993192":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993195, 1401993194, 1401993193, 1401993196, 1401993190, 1401993192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.835060358047485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:12:22.426956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_15_10660.jpg', '/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_25_9811.jpg', '/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_34_9570.jpg', '/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_45_10676.jpg', '/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_55_9716.jpg', '/home/pi/Desktop/images/01012026/06/01/image_01012026_06_02_04_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_15_10660.jpg
/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_25_9811.jpg
/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_34_9570.jpg
/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_45_10676.jpg
/home/pi/Desktop/images/01012026/06/01/image_01012026_06_01_55_9716.jpg
/home/pi/Desktop/images/01012026/06/01/image_01012026_06_02_04_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":["1401993205","1401993210","1401993207","1401993201","1401993203","1401993199"],"photo_ids_order":["1401993199","1401993201","1401993203","1401993205","1401993207","1401993210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0019da87e680b9640909ac5e6f0d0f63.jpg","text":"TemporaryFile(/tmp/multipartBody5791983454657866840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248003020,"filename":"image_01012026_06_01_45_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2451b9b0483ea42547ebc4bfcaaddae9.jpg","text":"TemporaryFile(/tmp/multipartBody3694509595746788200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248003020,"filename":"image_01012026_06_02_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fce1e1e9eccc67e52aab5e423d37a461.jpg","text":"TemporaryFile(/tmp/multipartBody3610229114865478113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248003020,"filename":"image_01012026_06_01_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07a2bb46a0ed1f7424c8d8f53edcf3b3.jpg","text":"TemporaryFile(/tmp/multipartBody4962479616113460556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248003020,"filename":"image_01012026_06_01_25_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf9f0fadf4f982c3b4370a8efb781935.jpg","text":"TemporaryFile(/tmp/multipartBody8699961616304808775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248003020,"filename":"image_01012026_06_01_34_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0c56bb821c6489ad40b739e326c1b78.jpg","text":"TemporaryFile(/tmp/multipartBody2101459315710471170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248003020,"filename":"image_01012026_06_01_15_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993203","file1":"1401993201","file0":"1401993199","file4":"1401993207","file5":"1401993210","file3":"1401993205"},"map_files_photo_id_array":[{"photo_id":"1401993210","filename":"file5"},{"photo_id":"1401993203","filename":"file2"},{"photo_id":"1401993207","filename":"file4"},{"photo_id":"1401993201","filename":"file1"},{"photo_id":"1401993199","filename":"file0"},{"photo_id":"1401993205","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993205":["hashtag1","hashtag2"]},{"1401993210":["hashtag1","hashtag2"]},{"1401993207":["hashtag1","hashtag2"]},{"1401993201":["hashtag1","hashtag2"]},{"1401993203":["hashtag1","hashtag2"]},{"1401993199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993205, 1401993210, 1401993207, 1401993201, 1401993203, 1401993199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.137141704559326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:13:03.199499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_15_10631.jpg', '/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_25_9639.jpg', '/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_34_9677.jpg', '/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_45_10613.jpg', '/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_55_9844.jpg', '/home/pi/Desktop/images/01012026/06/02/image_01012026_06_03_04_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_15_10631.jpg
/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_25_9639.jpg
/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_34_9677.jpg
/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_45_10613.jpg
/home/pi/Desktop/images/01012026/06/02/image_01012026_06_02_55_9844.jpg
/home/pi/Desktop/images/01012026/06/02/image_01012026_06_03_04_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":["1401993282","1401993234","1401993329","1401993308","1401993298","1401993268"],"photo_ids_order":["1401993234","1401993268","1401993282","1401993298","1401993308","1401993329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe183a765df7272fdfa10bd9743f9680.jpg","text":"TemporaryFile(/tmp/multipartBody2410300622425992311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248043846,"filename":"image_01012026_06_02_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12a4647cedee46c8e6f3dbd982e47611.jpg","text":"TemporaryFile(/tmp/multipartBody4408042548204536469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248043846,"filename":"image_01012026_06_02_15_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/698a9e791d8223c72cc151c1c990e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody8745630901267053297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248043846,"filename":"image_01012026_06_03_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c641eff3f74a6c84f99963e9cb95f2ab.jpg","text":"TemporaryFile(/tmp/multipartBody2294617816487966841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248043846,"filename":"image_01012026_06_02_55_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4477b86fc0c431e9a4bb93be860c22fd.jpg","text":"TemporaryFile(/tmp/multipartBody7592363492433316430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248043846,"filename":"image_01012026_06_02_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31a9a258ce1f67d85e29a4ed17b50cad.jpg","text":"TemporaryFile(/tmp/multipartBody5958268284236072034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248043846,"filename":"image_01012026_06_02_25_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993282","file1":"1401993268","file0":"1401993234","file4":"1401993308","file5":"1401993329","file3":"1401993298"},"map_files_photo_id_array":[{"photo_id":"1401993329","filename":"file5"},{"photo_id":"1401993282","filename":"file2"},{"photo_id":"1401993308","filename":"file4"},{"photo_id":"1401993268","filename":"file1"},{"photo_id":"1401993234","filename":"file0"},{"photo_id":"1401993298","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993282":["hashtag1","hashtag2"]},{"1401993234":["hashtag1","hashtag2"]},{"1401993329":["hashtag1","hashtag2"]},{"1401993308":["hashtag1","hashtag2"]},{"1401993298":["hashtag1","hashtag2"]},{"1401993268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993282, 1401993234, 1401993329, 1401993308, 1401993298, 1401993268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.347657680511475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:13:42.552511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_52_3632.jpg', '/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_54_2785.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_01_2755.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_03_2557.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_10_3700.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_12_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/23/40/image_03112025_23_40_52_3632.jpg
/home/pi/Desktop/images/03112025/23/40/image_03112025_23_40_54_2785.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_01_2755.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_03_2557.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_10_3700.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_12_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":["1401993348","1401993350","1401993344","1401993341","1401993346","1401993349"],"photo_ids_order":["1401993341","1401993344","1401993346","1401993348","1401993349","1401993350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b065a2266f82c242e9335ba212879375.jpg","text":"TemporaryFile(/tmp/multipartBody5331504162774513039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248084330,"filename":"image_03112025_23_41_03_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df73eecdf5120fe82f50c93f6e74ce1c.jpg","text":"TemporaryFile(/tmp/multipartBody278136376581898209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248084330,"filename":"image_03112025_23_41_12_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b7f2bb0c202af9737f8e8629cf634d0.jpg","text":"TemporaryFile(/tmp/multipartBody3271348405552588795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248084330,"filename":"image_03112025_23_40_54_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c252499ab9f9058bbfb1bf665af30374.jpg","text":"TemporaryFile(/tmp/multipartBody6645460802964096428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248084330,"filename":"image_03112025_23_40_52_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e112ff8f700ed03a64006833e36b8bd4.jpg","text":"TemporaryFile(/tmp/multipartBody1367284657729896086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248084330,"filename":"image_03112025_23_41_01_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/477a49db8ad1ac4ccecba83e6ee6c442.jpg","text":"TemporaryFile(/tmp/multipartBody3713869920009201690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248084330,"filename":"image_03112025_23_41_10_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993346","file1":"1401993344","file0":"1401993341","file4":"1401993349","file5":"1401993350","file3":"1401993348"},"map_files_photo_id_array":[{"photo_id":"1401993350","filename":"file5"},{"photo_id":"1401993346","filename":"file2"},{"photo_id":"1401993349","filename":"file4"},{"photo_id":"1401993344","filename":"file1"},{"photo_id":"1401993341","filename":"file0"},{"photo_id":"1401993348","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993348":["hashtag1","hashtag2"]},{"1401993350":["hashtag1","hashtag2"]},{"1401993344":["hashtag1","hashtag2"]},{"1401993341":["hashtag1","hashtag2"]},{"1401993346":["hashtag1","hashtag2"]},{"1401993349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993348, 1401993350, 1401993344, 1401993341, 1401993346, 1401993349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31139898300171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:14:22.758000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_14_9713.jpg', '/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_25_10693.jpg', '/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_35_9647.jpg', '/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_44_9682.jpg', '/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_55_10620.jpg', '/home/pi/Desktop/images/01012026/06/03/image_01012026_06_04_04_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_14_9713.jpg
/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_25_10693.jpg
/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_35_9647.jpg
/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_44_9682.jpg
/home/pi/Desktop/images/01012026/06/03/image_01012026_06_03_55_10620.jpg
/home/pi/Desktop/images/01012026/06/03/image_01012026_06_04_04_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":["1401993369","1401993360","1401993363","1401993357","1401993365","1401993353"],"photo_ids_order":["1401993353","1401993357","1401993360","1401993363","1401993365","1401993369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dd50c673c08f4482a24980f37e1bb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3551003016263695619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248123345,"filename":"image_01012026_06_04_04_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eaa6270c3b8823ee8d9762a41422159a.jpg","text":"TemporaryFile(/tmp/multipartBody3589260063793936249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248123345,"filename":"image_01012026_06_03_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/833efed0d59d63dc1ab36ff31871f76f.jpg","text":"TemporaryFile(/tmp/multipartBody5129503787367036490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248123345,"filename":"image_01012026_06_03_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02c9605eaa4da71e4784b5aa88fcc1db.jpg","text":"TemporaryFile(/tmp/multipartBody3553920820535792855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248123345,"filename":"image_01012026_06_03_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58d34bc6c2e700fa81ff39d006736563.jpg","text":"TemporaryFile(/tmp/multipartBody6899938060236561349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248123345,"filename":"image_01012026_06_03_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5634a02879676db5addc497025acd80a.jpg","text":"TemporaryFile(/tmp/multipartBody1352433802407879531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248123345,"filename":"image_01012026_06_03_14_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993360","file1":"1401993357","file0":"1401993353","file4":"1401993365","file5":"1401993369","file3":"1401993363"},"map_files_photo_id_array":[{"photo_id":"1401993369","filename":"file5"},{"photo_id":"1401993360","filename":"file2"},{"photo_id":"1401993365","filename":"file4"},{"photo_id":"1401993357","filename":"file1"},{"photo_id":"1401993353","filename":"file0"},{"photo_id":"1401993363","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993369":["hashtag1","hashtag2"]},{"1401993360":["hashtag1","hashtag2"]},{"1401993363":["hashtag1","hashtag2"]},{"1401993357":["hashtag1","hashtag2"]},{"1401993365":["hashtag1","hashtag2"]},{"1401993353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993369, 1401993360, 1401993363, 1401993357, 1401993365, 1401993353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.519843339920044 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
2026-01-01 07:15:11.910795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_19_3665.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_21_2643.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_25_3584.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_27_2597.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_34_3641.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_37_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/23/41/image_03112025_23_41_19_3665.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_21_2643.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_25_3584.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_27_2597.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_34_3641.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_37_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":["1401993453","1401993479","1401993425","1401993440","1401993472","1401993496"],"photo_ids_order":["1401993425","1401993440","1401993453","1401993472","1401993479","1401993496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17790932a06a1da22243de0c10c0a937.jpg","text":"TemporaryFile(/tmp/multipartBody3677207369794849873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248173561,"filename":"image_03112025_23_41_25_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6c9c1e9a6261adc2b4dd422cbc29668.jpg","text":"TemporaryFile(/tmp/multipartBody1398615032686260985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248173561,"filename":"image_03112025_23_41_34_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c22fcfc54cbd1a261a7d327c1794ca1.jpg","text":"TemporaryFile(/tmp/multipartBody7007608266113274185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248173561,"filename":"image_03112025_23_41_19_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3e86fc612ee2621978ca97c5a1b8ac3.jpg","text":"TemporaryFile(/tmp/multipartBody5713357762077481928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248173561,"filename":"image_03112025_23_41_21_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c742a56fad135787d5531698f6bd618d.jpg","text":"TemporaryFile(/tmp/multipartBody6722387026742299476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248173561,"filename":"image_03112025_23_41_27_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39117f08be1b88f403d850ce0d2a9288.jpg","text":"TemporaryFile(/tmp/multipartBody2807976549313000869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248173561,"filename":"image_03112025_23_41_37_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993453","file1":"1401993440","file0":"1401993425","file4":"1401993479","file5":"1401993496","file3":"1401993472"},"map_files_photo_id_array":[{"photo_id":"1401993496","filename":"file5"},{"photo_id":"1401993453","filename":"file2"},{"photo_id":"1401993479","filename":"file4"},{"photo_id":"1401993440","filename":"file1"},{"photo_id":"1401993425","filename":"file0"},{"photo_id":"1401993472","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993453":["hashtag1","hashtag2"]},{"1401993479":["hashtag1","hashtag2"]},{"1401993425":["hashtag1","hashtag2"]},{"1401993440":["hashtag1","hashtag2"]},{"1401993472":["hashtag1","hashtag2"]},{"1401993496":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993453, 1401993479, 1401993425, 1401993440, 1401993472, 1401993496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.408920764923096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:16:02.569820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_14_9708.jpg', '/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_25_10616.jpg', '/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_34_9735.jpg', '/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_45_10616.jpg', '/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_55_9631.jpg', '/home/pi/Desktop/images/01012026/06/04/image_01012026_06_05_04_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_14_9708.jpg
/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_25_10616.jpg
/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_34_9735.jpg
/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_45_10616.jpg
/home/pi/Desktop/images/01012026/06/04/image_01012026_06_04_55_9631.jpg
/home/pi/Desktop/images/01012026/06/04/image_01012026_06_05_04_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":["1401993579","1401993630","1401993603","1401993606","1401993592","1401993634"],"photo_ids_order":["1401993579","1401993592","1401993603","1401993606","1401993630","1401993634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89f2fcffb0789b24baa9b6e6cd486a29.jpg","text":"TemporaryFile(/tmp/multipartBody8360612781991368114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248223285,"filename":"image_01012026_06_04_14_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3eb97378f2e4134e62f668e41553ef5b.jpg","text":"TemporaryFile(/tmp/multipartBody3887333770523029571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248223285,"filename":"image_01012026_06_04_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62e1c747d49c70ff250406c96d037786.jpg","text":"TemporaryFile(/tmp/multipartBody6831817112247922215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248223285,"filename":"image_01012026_06_04_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c1245911f6b78c0deaa228bbbf4563d.jpg","text":"TemporaryFile(/tmp/multipartBody8333846514086795545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248223285,"filename":"image_01012026_06_04_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19f73a62391377df8227a262bae8fed5.jpg","text":"TemporaryFile(/tmp/multipartBody8941128778285082431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248223285,"filename":"image_01012026_06_04_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2b650bf5446c656311f8c0942082df5.jpg","text":"TemporaryFile(/tmp/multipartBody8863558773496950745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248223285,"filename":"image_01012026_06_05_04_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993603","file1":"1401993592","file0":"1401993579","file4":"1401993630","file5":"1401993634","file3":"1401993606"},"map_files_photo_id_array":[{"photo_id":"1401993634","filename":"file5"},{"photo_id":"1401993603","filename":"file2"},{"photo_id":"1401993630","filename":"file4"},{"photo_id":"1401993592","filename":"file1"},{"photo_id":"1401993579","filename":"file0"},{"photo_id":"1401993606","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993579":["hashtag1","hashtag2"]},{"1401993630":["hashtag1","hashtag2"]},{"1401993603":["hashtag1","hashtag2"]},{"1401993606":["hashtag1","hashtag2"]},{"1401993592":["hashtag1","hashtag2"]},{"1401993634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993579, 1401993630, 1401993603, 1401993606, 1401993592, 1401993634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88997721672058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:16:42.150530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_39_2915.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_42_2655.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_46_3657.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_54_2725.jpg', '/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_57_2805.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_12_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/23/41/image_03112025_23_41_39_2915.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_42_2655.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_46_3657.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_54_2725.jpg
/home/pi/Desktop/images/03112025/23/41/image_03112025_23_41_57_2805.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_12_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":["1401993639","1401993642","1401993641","1401993644","1401993646","1401993643"],"photo_ids_order":["1401993639","1401993641","1401993642","1401993643","1401993644","1401993646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b666a2c7ceb61b84b52314bd14c78046.jpg","text":"TemporaryFile(/tmp/multipartBody6819581150360070315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248263903,"filename":"image_03112025_23_41_39_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1ed93cf3e05f0b32364866487ed3f47.jpg","text":"TemporaryFile(/tmp/multipartBody3588774150935000425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248263903,"filename":"image_03112025_23_41_46_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c711632a6f4dfb35f7e7ccd8d4c27b4.jpg","text":"TemporaryFile(/tmp/multipartBody1504254805096312401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248263903,"filename":"image_03112025_23_41_42_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6638ef610be4705836e064dd0f84c874.jpg","text":"TemporaryFile(/tmp/multipartBody803029805055989969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248263903,"filename":"image_03112025_23_41_57_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09baa222686c6c4935651a0d4a8ab942.jpg","text":"TemporaryFile(/tmp/multipartBody7116636321796714477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248263903,"filename":"image_03112025_23_42_12_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/399afe45552d90fab948fbae0499ef87.jpg","text":"TemporaryFile(/tmp/multipartBody708996248883108964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248263903,"filename":"image_03112025_23_41_54_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993642","file1":"1401993641","file0":"1401993639","file4":"1401993644","file5":"1401993646","file3":"1401993643"},"map_files_photo_id_array":[{"photo_id":"1401993646","filename":"file5"},{"photo_id":"1401993642","filename":"file2"},{"photo_id":"1401993644","filename":"file4"},{"photo_id":"1401993641","filename":"file1"},{"photo_id":"1401993639","filename":"file0"},{"photo_id":"1401993643","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993639":["hashtag1","hashtag2"]},{"1401993642":["hashtag1","hashtag2"]},{"1401993641":["hashtag1","hashtag2"]},{"1401993644":["hashtag1","hashtag2"]},{"1401993646":["hashtag1","hashtag2"]},{"1401993643":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993639, 1401993642, 1401993641, 1401993644, 1401993646, 1401993643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24348521232605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:17:22.303997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_14_9775.jpg', '/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_25_10711.jpg', '/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_34_9512.jpg', '/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_44_9764.jpg', '/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_55_10577.jpg', '/home/pi/Desktop/images/01012026/06/05/image_01012026_06_06_04_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_14_9775.jpg
/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_25_10711.jpg
/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_34_9512.jpg
/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_44_9764.jpg
/home/pi/Desktop/images/01012026/06/05/image_01012026_06_05_55_10577.jpg
/home/pi/Desktop/images/01012026/06/05/image_01012026_06_06_04_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":["1401993657","1401993651","1401993660","1401993653","1401993655","1401993649"],"photo_ids_order":["1401993649","1401993651","1401993653","1401993655","1401993657","1401993660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99801f6c0be85a687d5ab50f2fe2c7db.jpg","text":"TemporaryFile(/tmp/multipartBody6486133557115029751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248302894,"filename":"image_01012026_06_05_55_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07443e3bddedd7186beaf554f42ade38.jpg","text":"TemporaryFile(/tmp/multipartBody1589842312552968891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248302894,"filename":"image_01012026_06_05_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/117c0952d57f07aa4f650169862939eb.jpg","text":"TemporaryFile(/tmp/multipartBody5041368978316795563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248302894,"filename":"image_01012026_06_06_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d034cae83400e972f0536b4cf397f096.jpg","text":"TemporaryFile(/tmp/multipartBody129675932093336966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248302894,"filename":"image_01012026_06_05_34_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b582e6a983d4a3675cb3a3196dc1308.jpg","text":"TemporaryFile(/tmp/multipartBody3366021576045627377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248302894,"filename":"image_01012026_06_05_44_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ab4c6450ceb23d066c8a64cd8a40d73.jpg","text":"TemporaryFile(/tmp/multipartBody8301147081835010396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248302894,"filename":"image_01012026_06_05_14_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993653","file1":"1401993651","file0":"1401993649","file4":"1401993657","file5":"1401993660","file3":"1401993655"},"map_files_photo_id_array":[{"photo_id":"1401993660","filename":"file5"},{"photo_id":"1401993653","filename":"file2"},{"photo_id":"1401993657","filename":"file4"},{"photo_id":"1401993651","filename":"file1"},{"photo_id":"1401993649","filename":"file0"},{"photo_id":"1401993655","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993657":["hashtag1","hashtag2"]},{"1401993651":["hashtag1","hashtag2"]},{"1401993660":["hashtag1","hashtag2"]},{"1401993653":["hashtag1","hashtag2"]},{"1401993655":["hashtag1","hashtag2"]},{"1401993649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993657, 1401993651, 1401993660, 1401993653, 1401993655, 1401993649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.209575176239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:18:02.876776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_15_10651.jpg', '/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_25_9759.jpg', '/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_34_9713.jpg', '/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_45_10523.jpg', '/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_54_9571.jpg', '/home/pi/Desktop/images/01012026/06/06/image_01012026_06_07_04_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_15_10651.jpg
/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_25_9759.jpg
/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_34_9713.jpg
/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_45_10523.jpg
/home/pi/Desktop/images/01012026/06/06/image_01012026_06_06_54_9571.jpg
/home/pi/Desktop/images/01012026/06/06/image_01012026_06_07_04_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401993663","1401993666","1401993668","1401993662","1401993665","1401993664"],"photo_ids_order":["1401993662","1401993663","1401993664","1401993665","1401993666","1401993668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f672338557381c30c9e79c022daf7c9b.jpg","text":"TemporaryFile(/tmp/multipartBody5276138624398497186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248343502,"filename":"image_01012026_06_06_25_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e94b231cc15828d47f3041ad57a752d.jpg","text":"TemporaryFile(/tmp/multipartBody5823444878365478179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248343502,"filename":"image_01012026_06_06_54_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ace045ed14a025d72e26bdffffd7f5c3.jpg","text":"TemporaryFile(/tmp/multipartBody985441186720810126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248343502,"filename":"image_01012026_06_07_04_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ca55fcf5ec250d69128c1cb7575104b.jpg","text":"TemporaryFile(/tmp/multipartBody6240512995260238301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248343502,"filename":"image_01012026_06_06_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/203008f00468d7d340552a8fb3b5b5ac.jpg","text":"TemporaryFile(/tmp/multipartBody8042245521107152588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248343502,"filename":"image_01012026_06_06_45_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b612dce2ee5d5fbaf51bddf762209055.jpg","text":"TemporaryFile(/tmp/multipartBody1093612433463581409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248343502,"filename":"image_01012026_06_06_34_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993664","file1":"1401993663","file0":"1401993662","file4":"1401993666","file5":"1401993668","file3":"1401993665"},"map_files_photo_id_array":[{"photo_id":"1401993668","filename":"file5"},{"photo_id":"1401993664","filename":"file2"},{"photo_id":"1401993666","filename":"file4"},{"photo_id":"1401993663","filename":"file1"},{"photo_id":"1401993662","filename":"file0"},{"photo_id":"1401993665","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993663":["hashtag1","hashtag2"]},{"1401993666":["hashtag1","hashtag2"]},{"1401993668":["hashtag1","hashtag2"]},{"1401993662":["hashtag1","hashtag2"]},{"1401993665":["hashtag1","hashtag2"]},{"1401993664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993663, 1401993666, 1401993668, 1401993662, 1401993665, 1401993664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49707865715027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:18:42.524952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_18_3567.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_21_2609.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_25_3661.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_27_2603.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_30_2641.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_37_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/23/42/image_03112025_23_42_18_3567.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_21_2609.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_25_3661.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_27_2603.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_30_2641.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_37_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":["1401993765","1401993753","1401993723","1401993674","1401993734","1401993685"],"photo_ids_order":["1401993674","1401993685","1401993723","1401993734","1401993753","1401993765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecc82405cf5bd41b3e60c5c747e606f0.jpg","text":"TemporaryFile(/tmp/multipartBody4518223353301719905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248384335,"filename":"image_03112025_23_42_37_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7c7bfafd699339876f411a94a45e788.jpg","text":"TemporaryFile(/tmp/multipartBody8696517029049210902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248384335,"filename":"image_03112025_23_42_30_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cdaa119b6d1da619fe62477c2c7f8d7.jpg","text":"TemporaryFile(/tmp/multipartBody6855632736104059104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248384335,"filename":"image_03112025_23_42_25_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9a9e7edb096493e8e9c4d6763f64659.jpg","text":"TemporaryFile(/tmp/multipartBody5601823536895871386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248384335,"filename":"image_03112025_23_42_18_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1136dc535ed8f4fa447f2c0042e9dc2.jpg","text":"TemporaryFile(/tmp/multipartBody1010982546811406330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248384335,"filename":"image_03112025_23_42_27_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60ba21cdb511a1ff9c1de3fb7daf6b36.jpg","text":"TemporaryFile(/tmp/multipartBody5147237990510353308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248384335,"filename":"image_03112025_23_42_21_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993723","file1":"1401993685","file0":"1401993674","file4":"1401993753","file5":"1401993765","file3":"1401993734"},"map_files_photo_id_array":[{"photo_id":"1401993765","filename":"file5"},{"photo_id":"1401993723","filename":"file2"},{"photo_id":"1401993753","filename":"file4"},{"photo_id":"1401993685","filename":"file1"},{"photo_id":"1401993674","filename":"file0"},{"photo_id":"1401993734","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993765":["hashtag1","hashtag2"]},{"1401993753":["hashtag1","hashtag2"]},{"1401993723":["hashtag1","hashtag2"]},{"1401993674":["hashtag1","hashtag2"]},{"1401993734":["hashtag1","hashtag2"]},{"1401993685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993765, 1401993753, 1401993723, 1401993674, 1401993734, 1401993685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.982765913009644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:19:22.702517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_15_10642.jpg', '/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_24_9591.jpg', '/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_35_10723.jpg', '/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_45_9546.jpg', '/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_54_9704.jpg', '/home/pi/Desktop/images/01012026/06/07/image_01012026_06_08_05_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_15_10642.jpg
/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_24_9591.jpg
/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_35_10723.jpg
/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_45_9546.jpg
/home/pi/Desktop/images/01012026/06/07/image_01012026_06_07_54_9704.jpg
/home/pi/Desktop/images/01012026/06/07/image_01012026_06_08_05_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":["1401993798","1401993797","1401993809","1401993800","1401993802","1401993805"],"photo_ids_order":["1401993797","1401993798","1401993800","1401993802","1401993805","1401993809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec3b90f9f67d87da331677ccb62bba18.jpg","text":"TemporaryFile(/tmp/multipartBody1213195265751161808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248423294,"filename":"image_01012026_06_07_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/000fdf019893b1c820db6b5e8595a763.jpg","text":"TemporaryFile(/tmp/multipartBody1289504670706070673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248423294,"filename":"image_01012026_06_07_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6174b849d58378a1ad1dd7a13d5ccc97.jpg","text":"TemporaryFile(/tmp/multipartBody7445107630044956121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248423294,"filename":"image_01012026_06_08_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99059546e5432a3cfe07520e5ab87b47.jpg","text":"TemporaryFile(/tmp/multipartBody2973909813474516865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248423294,"filename":"image_01012026_06_07_35_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c05259f14750b71fa6d248e86e8da160.jpg","text":"TemporaryFile(/tmp/multipartBody6621146090088436732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248423294,"filename":"image_01012026_06_07_45_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bf13f562939479e05e60240b932d4a0.jpg","text":"TemporaryFile(/tmp/multipartBody2216571482469986610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248423294,"filename":"image_01012026_06_07_54_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993800","file1":"1401993798","file0":"1401993797","file4":"1401993805","file5":"1401993809","file3":"1401993802"},"map_files_photo_id_array":[{"photo_id":"1401993809","filename":"file5"},{"photo_id":"1401993800","filename":"file2"},{"photo_id":"1401993805","filename":"file4"},{"photo_id":"1401993798","filename":"file1"},{"photo_id":"1401993797","filename":"file0"},{"photo_id":"1401993802","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993798":["hashtag1","hashtag2"]},{"1401993797":["hashtag1","hashtag2"]},{"1401993809":["hashtag1","hashtag2"]},{"1401993800":["hashtag1","hashtag2"]},{"1401993802":["hashtag1","hashtag2"]},{"1401993805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993798, 1401993797, 1401993809, 1401993800, 1401993802, 1401993805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06841850280762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:20:03.267338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_15_9713.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_24_9624.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_35_10506.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_44_9393.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_55_10600.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_09_05_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_15_9713.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_24_9624.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_35_10506.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_44_9393.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_55_10600.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_09_05_9777.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.5442571640014648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:20:12.787716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_39_2697.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_42_2598.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_46_3790.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_54_3632.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_57_2602.jpg', '/home/pi/Desktop/images/03112025/23/42/image_03112025_23_43_00_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/23/42/image_03112025_23_42_39_2697.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_42_2598.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_46_3790.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_54_3632.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_42_57_2602.jpg
/home/pi/Desktop/images/03112025/23/42/image_03112025_23_43_00_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401993819","1401993821","1401993824","1401993832","1401993826","1401993829"],"photo_ids_order":["1401993819","1401993821","1401993824","1401993826","1401993829","1401993832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01000805fd55873cac4d354a5c961388.jpg","text":"TemporaryFile(/tmp/multipartBody6728651946622956223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248474495,"filename":"image_03112025_23_42_39_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2ea38134e0585f7724afd74d70c81c5.jpg","text":"TemporaryFile(/tmp/multipartBody6603010706727838836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248474495,"filename":"image_03112025_23_42_42_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92dd5d1331775f29457da28b4df19806.jpg","text":"TemporaryFile(/tmp/multipartBody7778061585944067158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248474495,"filename":"image_03112025_23_42_46_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25146627b49c8182c63839575b80f95a.jpg","text":"TemporaryFile(/tmp/multipartBody5519813056280600058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248474495,"filename":"image_03112025_23_43_00_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c980ccdfc6ac25db2de97067a7c3d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3153715140266496353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248474495,"filename":"image_03112025_23_42_54_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3702e095e2f61c1eafce2e1de670f23c.jpg","text":"TemporaryFile(/tmp/multipartBody1196764632680559451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248474495,"filename":"image_03112025_23_42_57_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993824","file1":"1401993821","file0":"1401993819","file4":"1401993829","file5":"1401993832","file3":"1401993826"},"map_files_photo_id_array":[{"photo_id":"1401993832","filename":"file5"},{"photo_id":"1401993824","filename":"file2"},{"photo_id":"1401993829","filename":"file4"},{"photo_id":"1401993821","filename":"file1"},{"photo_id":"1401993819","filename":"file0"},{"photo_id":"1401993826","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401993819":["hashtag1","hashtag2"]},{"1401993821":["hashtag1","hashtag2"]},{"1401993824":["hashtag1","hashtag2"]},{"1401993832":["hashtag1","hashtag2"]},{"1401993826":["hashtag1","hashtag2"]},{"1401993829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401993819, 1401993821, 1401993824, 1401993832, 1401993826, 1401993829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45107102394104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:21:02.739916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_15_9713.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_24_9624.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_35_10506.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_44_9393.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_55_10600.jpg', '/home/pi/Desktop/images/01012026/06/08/image_01012026_06_09_05_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_15_9713.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_24_9624.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_35_10506.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_44_9393.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_08_55_10600.jpg
/home/pi/Desktop/images/01012026/06/08/image_01012026_06_09_05_9777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401993840","1401993903","1401993869","1401993839","1401993943","1401993838"],"photo_ids_order":["1401993838","1401993839","1401993840","1401993869","1401993903","1401993943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b264270bdde01f23efb6e5433d155859.jpg","text":"TemporaryFile(/tmp/multipartBody8739208155575790995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248523394,"filename":"image_01012026_06_08_35_10506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/268b9046376f463043429d46aa8e2930.jpg","text":"TemporaryFile(/tmp/multipartBody7158838912461803919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248523394,"filename":"image_01012026_06_08_55_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6916f32208b94dc798b97b2cbd9161c8.jpg","text":"TemporaryFile(/tmp/multipartBody6565067063067637745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248523394,"filename":"image_01012026_06_08_44_9393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73546ac60d4804b99ea6aa0ec5f89c07.jpg","text":"TemporaryFile(/tmp/multipartBody4559104308006065063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248523394,"filename":"image_01012026_06_08_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/586cf6f8f93cd9e619b1748242e9dff3.jpg","text":"TemporaryFile(/tmp/multipartBody3323692951185373877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248523394,"filename":"image_01012026_06_09_05_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f47f45e0b8c427dc8fd0c53c4579cb16.jpg","text":"TemporaryFile(/tmp/multipartBody2969956719331401269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248523394,"filename":"image_01012026_06_08_15_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401993840","file1":"1401993839","file0":"1401993838","file4":"1401993903","file5":"1401993943","file3":"1401993869"},"map_files_photo_id_array":[{"photo_id":"1401993943","filename":"file5"},{"photo_id":"1401993840","filename":"file2"},{"photo_id":"1401993903","filename":"file4"},{"photo_id":"1401993839","filename":"file1"},{"photo_id":"1401993838","filename":"file0"},{"photo_id":"1401993869","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401993840":["hashtag1","hashtag2"]},{"1401993903":["hashtag1","hashtag2"]},{"1401993869":["hashtag1","hashtag2"]},{"1401993839":["hashtag1","hashtag2"]},{"1401993943":["hashtag1","hashtag2"]},{"1401993838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401993840, 1401993903, 1401993869, 1401993839, 1401993943, 1401993838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14487648010254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:21:42.017503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_15_2746.jpg', '/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_18_2782.jpg', '/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_27_2606.jpg', '/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_31_3895.jpg', '/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_42_2679.jpg', '/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_48_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/23/43/image_03112025_23_43_15_2746.jpg
/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_18_2782.jpg
/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_27_2606.jpg
/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_31_3895.jpg
/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_42_2679.jpg
/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_48_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":["1401994116","1401994097","1401994108","1401994021","1401994000","1401994080"],"photo_ids_order":["1401994000","1401994021","1401994080","1401994097","1401994108","1401994116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52f6ce1a7576b1fae1a51e105d6498ba.jpg","text":"TemporaryFile(/tmp/multipartBody930128143423987929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248563782,"filename":"image_03112025_23_43_48_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/953d0069e0a4290e52b4681c1ee9d62e.jpg","text":"TemporaryFile(/tmp/multipartBody5613244633396160162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248563782,"filename":"image_03112025_23_43_31_3895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/521c6bb148d320e6f983675242deda70.jpg","text":"TemporaryFile(/tmp/multipartBody441379317170743793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248563782,"filename":"image_03112025_23_43_42_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b78fe0eb153268d507c1ebb70afbee6.jpg","text":"TemporaryFile(/tmp/multipartBody2302746857246222049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248563782,"filename":"image_03112025_23_43_18_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d1fcf25ab0ce8c7c8e6152e40c64e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8972185378977951083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248563782,"filename":"image_03112025_23_43_15_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f27cce56611ef6323760961969a1ba8d.jpg","text":"TemporaryFile(/tmp/multipartBody3718081191007573598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248563782,"filename":"image_03112025_23_43_27_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994080","file1":"1401994021","file0":"1401994000","file4":"1401994108","file5":"1401994116","file3":"1401994097"},"map_files_photo_id_array":[{"photo_id":"1401994116","filename":"file5"},{"photo_id":"1401994080","filename":"file2"},{"photo_id":"1401994108","filename":"file4"},{"photo_id":"1401994021","filename":"file1"},{"photo_id":"1401994000","filename":"file0"},{"photo_id":"1401994097","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401994116":["hashtag1","hashtag2"]},{"1401994097":["hashtag1","hashtag2"]},{"1401994108":["hashtag1","hashtag2"]},{"1401994021":["hashtag1","hashtag2"]},{"1401994000":["hashtag1","hashtag2"]},{"1401994080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401994116, 1401994097, 1401994108, 1401994021, 1401994000, 1401994080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86621356010437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:22:22.216320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/09/image_01012026_06_09_14_9676.jpg', '/home/pi/Desktop/images/01012026/06/09/image_01012026_06_09_25_10574.jpg', '/home/pi/Desktop/images/01012026/06/09/image_01012026_06_09_34_9619.jpg', '/home/pi/Desktop/images/01012026/06/09/image_01012026_06_09_55_9781.jpg', '/home/pi/Desktop/images/01012026/06/09/image_01012026_06_10_04_9649.jpg', '/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_14_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/09/image_01012026_06_09_14_9676.jpg
/home/pi/Desktop/images/01012026/06/09/image_01012026_06_09_25_10574.jpg
/home/pi/Desktop/images/01012026/06/09/image_01012026_06_09_34_9619.jpg
/home/pi/Desktop/images/01012026/06/09/image_01012026_06_09_55_9781.jpg
/home/pi/Desktop/images/01012026/06/09/image_01012026_06_10_04_9649.jpg
/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_14_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":["1401994145","1401994142","1401994136","1401994138","1401994140","1401994134"],"photo_ids_order":["1401994134","1401994136","1401994138","1401994140","1401994142","1401994145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc6a3906b81f89d82260f78ed2889e06.jpg","text":"TemporaryFile(/tmp/multipartBody2610775026128638669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248602806,"filename":"image_01012026_06_10_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a233780863452eddf288a39bb7a7f81.jpg","text":"TemporaryFile(/tmp/multipartBody5326802667317542141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248602806,"filename":"image_01012026_06_10_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dddbeaa2c620265ba84150c77a84870a.jpg","text":"TemporaryFile(/tmp/multipartBody1734862832943708030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248602806,"filename":"image_01012026_06_09_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bd3f55728f041641674074d2be95eb7.jpg","text":"TemporaryFile(/tmp/multipartBody5567772975564395206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248602806,"filename":"image_01012026_06_09_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9d3862f0e26f726ecb7f55a3e08204e.jpg","text":"TemporaryFile(/tmp/multipartBody6953592986699808645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248602806,"filename":"image_01012026_06_09_55_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8eab3336a63f40a21eab659751aec467.jpg","text":"TemporaryFile(/tmp/multipartBody2831182785416590796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248602806,"filename":"image_01012026_06_09_14_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994138","file1":"1401994136","file0":"1401994134","file4":"1401994142","file5":"1401994145","file3":"1401994140"},"map_files_photo_id_array":[{"photo_id":"1401994145","filename":"file5"},{"photo_id":"1401994138","filename":"file2"},{"photo_id":"1401994142","filename":"file4"},{"photo_id":"1401994136","filename":"file1"},{"photo_id":"1401994134","filename":"file0"},{"photo_id":"1401994140","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994145":["hashtag1","hashtag2"]},{"1401994142":["hashtag1","hashtag2"]},{"1401994136":["hashtag1","hashtag2"]},{"1401994138":["hashtag1","hashtag2"]},{"1401994140":["hashtag1","hashtag2"]},{"1401994134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994145, 1401994142, 1401994136, 1401994138, 1401994140, 1401994134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58000898361206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:23:03.075154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_25_10818.jpg', '/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_34_9504.jpg', '/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_44_9772.jpg', '/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_55_10721.jpg', '/home/pi/Desktop/images/01012026/06/10/image_01012026_06_11_05_9600.jpg', '/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_14_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_25_10818.jpg
/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_34_9504.jpg
/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_44_9772.jpg
/home/pi/Desktop/images/01012026/06/10/image_01012026_06_10_55_10721.jpg
/home/pi/Desktop/images/01012026/06/10/image_01012026_06_11_05_9600.jpg
/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_14_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":["1401994151","1401994154","1401994148","1401994150","1401994152","1401994149"],"photo_ids_order":["1401994148","1401994149","1401994150","1401994151","1401994152","1401994154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a4fec9fda45b79583dd42639dc18a6c.jpg","text":"TemporaryFile(/tmp/multipartBody8368487756352896498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248643726,"filename":"image_01012026_06_10_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ef1e3dce87acb6d4ac8c25cc26376b5.jpg","text":"TemporaryFile(/tmp/multipartBody160099609909477879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248643726,"filename":"image_01012026_06_11_14_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56a72cc0a3bcdcf42bebedca04fd3452.jpg","text":"TemporaryFile(/tmp/multipartBody5658172594256013624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248643726,"filename":"image_01012026_06_10_25_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34024ad4d9990d69dc24e058e73a2bf9.jpg","text":"TemporaryFile(/tmp/multipartBody1054017828227612532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248643726,"filename":"image_01012026_06_10_44_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3709b20dd062d30142d2dcd070e2eb19.jpg","text":"TemporaryFile(/tmp/multipartBody5662572457580553987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248643726,"filename":"image_01012026_06_11_05_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67f404d3907786c20001f68334e28d63.jpg","text":"TemporaryFile(/tmp/multipartBody6131690604266959695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248643726,"filename":"image_01012026_06_10_34_9504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994150","file1":"1401994149","file0":"1401994148","file4":"1401994152","file5":"1401994154","file3":"1401994151"},"map_files_photo_id_array":[{"photo_id":"1401994154","filename":"file5"},{"photo_id":"1401994150","filename":"file2"},{"photo_id":"1401994152","filename":"file4"},{"photo_id":"1401994149","filename":"file1"},{"photo_id":"1401994148","filename":"file0"},{"photo_id":"1401994151","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994151":["hashtag1","hashtag2"]},{"1401994154":["hashtag1","hashtag2"]},{"1401994148":["hashtag1","hashtag2"]},{"1401994150":["hashtag1","hashtag2"]},{"1401994152":["hashtag1","hashtag2"]},{"1401994149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994151, 1401994154, 1401994148, 1401994150, 1401994152, 1401994149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6404824256897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:23:42.320315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_51_3771.jpg', '/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_04_1577.jpg', '/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_06_2510.jpg', '/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_12_2598.jpg', '/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_21_2618.jpg', '/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_33_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/43/image_03112025_23_43_51_3771.jpg
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_04_1577.jpg
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_06_2510.jpg
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_12_2598.jpg
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_21_2618.jpg
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_33_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":["1401994163","1401994172","1401994166","1401994168","1401994170","1401994173"],"photo_ids_order":["1401994163","1401994166","1401994168","1401994170","1401994172","1401994173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f9ba35ec84e809ba3fa05328cbbb50a.jpg","text":"TemporaryFile(/tmp/multipartBody5721125519875816155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248684080,"filename":"image_03112025_23_43_51_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a997843523c3902fba3e9b4f9c3527ba.jpg","text":"TemporaryFile(/tmp/multipartBody1620290156386953170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248684080,"filename":"image_03112025_23_44_21_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5cee31cf4dd5f952ae4c36feafc05e8.jpg","text":"TemporaryFile(/tmp/multipartBody7896625509483345993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248684080,"filename":"image_03112025_23_44_04_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11a0d31ddca098c0a63ecad74a8961fd.jpg","text":"TemporaryFile(/tmp/multipartBody1056996262831609190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248684080,"filename":"image_03112025_23_44_06_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb1f013f96ede6faabd822e7145a44b4.jpg","text":"TemporaryFile(/tmp/multipartBody8945833402811412557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248684080,"filename":"image_03112025_23_44_12_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd8af5b3f1f21859455305267e2c569f.jpg","text":"TemporaryFile(/tmp/multipartBody5353319701108309074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248684080,"filename":"image_03112025_23_44_33_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994168","file1":"1401994166","file0":"1401994163","file4":"1401994172","file5":"1401994173","file3":"1401994170"},"map_files_photo_id_array":[{"photo_id":"1401994173","filename":"file5"},{"photo_id":"1401994168","filename":"file2"},{"photo_id":"1401994172","filename":"file4"},{"photo_id":"1401994166","filename":"file1"},{"photo_id":"1401994163","filename":"file0"},{"photo_id":"1401994170","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401994163":["hashtag1","hashtag2"]},{"1401994172":["hashtag1","hashtag2"]},{"1401994166":["hashtag1","hashtag2"]},{"1401994168":["hashtag1","hashtag2"]},{"1401994170":["hashtag1","hashtag2"]},{"1401994173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401994163, 1401994172, 1401994166, 1401994168, 1401994170, 1401994173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.634772300720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:24:22.446735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_24_10079.jpg', '/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_35_10645.jpg', '/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_44_9651.jpg', '/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_54_9679.jpg', '/home/pi/Desktop/images/01012026/06/11/image_01012026_06_12_05_10524.jpg', '/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_14_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_24_10079.jpg
/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_35_10645.jpg
/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_44_9651.jpg
/home/pi/Desktop/images/01012026/06/11/image_01012026_06_11_54_9679.jpg
/home/pi/Desktop/images/01012026/06/11/image_01012026_06_12_05_10524.jpg
/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_14_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401994181","1401994184","1401994178","1401994174","1401994185","1401994188"],"photo_ids_order":["1401994174","1401994178","1401994181","1401994184","1401994185","1401994188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a37a9a0aca33362b2d72aaed657ea702.jpg","text":"TemporaryFile(/tmp/multipartBody6831658158182149084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248723040,"filename":"image_01012026_06_11_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf0f34d9dc47f2bee74977d735a2b5d3.jpg","text":"TemporaryFile(/tmp/multipartBody7644824631162684288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248723040,"filename":"image_01012026_06_11_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0072fe7b00e373e3518c1ac9f6773072.jpg","text":"TemporaryFile(/tmp/multipartBody3747001441238266018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248723040,"filename":"image_01012026_06_11_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/396c78530e6fd1e09084ac1c0059a94a.jpg","text":"TemporaryFile(/tmp/multipartBody8454379990791953556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248723040,"filename":"image_01012026_06_11_24_10079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d8d27b7f4e959b0871930f3339c7612.jpg","text":"TemporaryFile(/tmp/multipartBody5958990240525129145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248723040,"filename":"image_01012026_06_12_05_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b73ac01e7948a17bbebfb937ee1f1db.jpg","text":"TemporaryFile(/tmp/multipartBody4474126529041735466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248723040,"filename":"image_01012026_06_12_14_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994181","file1":"1401994178","file0":"1401994174","file4":"1401994185","file5":"1401994188","file3":"1401994184"},"map_files_photo_id_array":[{"photo_id":"1401994188","filename":"file5"},{"photo_id":"1401994181","filename":"file2"},{"photo_id":"1401994185","filename":"file4"},{"photo_id":"1401994178","filename":"file1"},{"photo_id":"1401994174","filename":"file0"},{"photo_id":"1401994184","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994181":["hashtag1","hashtag2"]},{"1401994184":["hashtag1","hashtag2"]},{"1401994178":["hashtag1","hashtag2"]},{"1401994174":["hashtag1","hashtag2"]},{"1401994185":["hashtag1","hashtag2"]},{"1401994188":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994181, 1401994184, 1401994178, 1401994174, 1401994185, 1401994188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.522910594940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:25:03.471059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_24_9628.jpg', '/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_35_10679.jpg', '/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_44_9631.jpg', '/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_55_10574.jpg', '/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_06_10823.jpg', '/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_14_8632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_24_9628.jpg
/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_35_10679.jpg
/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_44_9631.jpg
/home/pi/Desktop/images/01012026/06/12/image_01012026_06_12_55_10574.jpg
/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_06_10823.jpg
/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_14_8632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401994292","1401994295","1401994280","1401994298","1401994265","1401994293"],"photo_ids_order":["1401994265","1401994280","1401994292","1401994293","1401994295","1401994298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ad43d9d68416610a9196d60dcc2b150.jpg","text":"TemporaryFile(/tmp/multipartBody358577661322378980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248764113,"filename":"image_01012026_06_12_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4357117d4cb7cdef56458483da4aae96.jpg","text":"TemporaryFile(/tmp/multipartBody676587002433894538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248764113,"filename":"image_01012026_06_13_06_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56c0287f9bfc5b44cd0288c5436a78c8.jpg","text":"TemporaryFile(/tmp/multipartBody6357048850353526664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248764113,"filename":"image_01012026_06_12_35_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e85413f694a9f4b17c03c8fbe1a72f3.jpg","text":"TemporaryFile(/tmp/multipartBody503638666505690122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248764113,"filename":"image_01012026_06_13_14_8632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52cb13931c92c0531887313c7f864683.jpg","text":"TemporaryFile(/tmp/multipartBody8884555021445402071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248764113,"filename":"image_01012026_06_12_24_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a62c16a9017202a1c78b31be95230e25.jpg","text":"TemporaryFile(/tmp/multipartBody6761289172965153886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248764113,"filename":"image_01012026_06_12_55_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994292","file1":"1401994280","file0":"1401994265","file4":"1401994295","file5":"1401994298","file3":"1401994293"},"map_files_photo_id_array":[{"photo_id":"1401994298","filename":"file5"},{"photo_id":"1401994292","filename":"file2"},{"photo_id":"1401994295","filename":"file4"},{"photo_id":"1401994280","filename":"file1"},{"photo_id":"1401994265","filename":"file0"},{"photo_id":"1401994293","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994292":["hashtag1","hashtag2"]},{"1401994295":["hashtag1","hashtag2"]},{"1401994280":["hashtag1","hashtag2"]},{"1401994298":["hashtag1","hashtag2"]},{"1401994265":["hashtag1","hashtag2"]},{"1401994293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994292, 1401994295, 1401994280, 1401994298, 1401994265, 1401994293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41372060775757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:25:42.683009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_36_2667.jpg', '/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_42_2646.jpg', '/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_45_2698.jpg', '/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_48_3691.jpg', '/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_06_3251.jpg', '/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_09_2767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_36_2667.jpg
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_42_2646.jpg
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_45_2698.jpg
/home/pi/Desktop/images/03112025/23/44/image_03112025_23_44_48_3691.jpg
/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_06_3251.jpg
/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_09_2767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401994308","1401994305","1401994307","1401994303","1401994306","1401994309"],"photo_ids_order":["1401994303","1401994305","1401994306","1401994307","1401994308","1401994309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27a2c1639b488ab15910f6244dd24088.jpg","text":"TemporaryFile(/tmp/multipartBody481065852951131361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248804460,"filename":"image_03112025_23_45_06_3251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb3cf5a492ff47e6722922c1a9e654b6.jpg","text":"TemporaryFile(/tmp/multipartBody6122452318379981835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248804460,"filename":"image_03112025_23_44_42_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2c9a5e5c9812afd2fb9218c43d8175f.jpg","text":"TemporaryFile(/tmp/multipartBody6043558484466753733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248804460,"filename":"image_03112025_23_44_48_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2c89498f5d8b5ffa1eab020919ac308.jpg","text":"TemporaryFile(/tmp/multipartBody7335953597385724898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248804460,"filename":"image_03112025_23_44_36_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/372ad15d94b8b5b106bcc48c16259d92.jpg","text":"TemporaryFile(/tmp/multipartBody6204233653762335110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248804460,"filename":"image_03112025_23_44_45_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7b5697188f3aef3cf7f8580217f1203.jpg","text":"TemporaryFile(/tmp/multipartBody4658983965788860830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248804460,"filename":"image_03112025_23_45_09_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994306","file1":"1401994305","file0":"1401994303","file4":"1401994308","file5":"1401994309","file3":"1401994307"},"map_files_photo_id_array":[{"photo_id":"1401994309","filename":"file5"},{"photo_id":"1401994306","filename":"file2"},{"photo_id":"1401994308","filename":"file4"},{"photo_id":"1401994305","filename":"file1"},{"photo_id":"1401994303","filename":"file0"},{"photo_id":"1401994307","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401994308":["hashtag1","hashtag2"]},{"1401994305":["hashtag1","hashtag2"]},{"1401994307":["hashtag1","hashtag2"]},{"1401994303":["hashtag1","hashtag2"]},{"1401994306":["hashtag1","hashtag2"]},{"1401994309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401994308, 1401994305, 1401994307, 1401994303, 1401994306, 1401994309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.590901374816895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:26:21.873374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_24_9730.jpg', '/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_35_10825.jpg', '/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_45_9680.jpg', '/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_54_9607.jpg', '/home/pi/Desktop/images/01012026/06/13/image_01012026_06_14_05_10558.jpg', '/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_15_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_24_9730.jpg
/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_35_10825.jpg
/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_45_9680.jpg
/home/pi/Desktop/images/01012026/06/13/image_01012026_06_13_54_9607.jpg
/home/pi/Desktop/images/01012026/06/13/image_01012026_06_14_05_10558.jpg
/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_15_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401994314","1401994323","1401994311","1401994316","1401994318","1401994312"],"photo_ids_order":["1401994311","1401994312","1401994314","1401994316","1401994318","1401994323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44939a8d719e5abd69e18c11995776a1.jpg","text":"TemporaryFile(/tmp/multipartBody8398764257440744998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248842466,"filename":"image_01012026_06_13_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9508017ff5cf623b09d2f3144e238520.jpg","text":"TemporaryFile(/tmp/multipartBody7703277728203881494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248842466,"filename":"image_01012026_06_14_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/939d93a15a8ed448b67027ea437b3fd3.jpg","text":"TemporaryFile(/tmp/multipartBody2453894593464141813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248842466,"filename":"image_01012026_06_13_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8de10d19470ee887ee66d8311665185.jpg","text":"TemporaryFile(/tmp/multipartBody5406842947286208359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248842466,"filename":"image_01012026_06_13_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09928f19ed614bca840f051af3b5a784.jpg","text":"TemporaryFile(/tmp/multipartBody8300188422657452144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248842466,"filename":"image_01012026_06_14_05_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ea9638ece9de492e3165fd5af57e686.jpg","text":"TemporaryFile(/tmp/multipartBody7184780476959033572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248842466,"filename":"image_01012026_06_13_35_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994314","file1":"1401994312","file0":"1401994311","file4":"1401994318","file5":"1401994323","file3":"1401994316"},"map_files_photo_id_array":[{"photo_id":"1401994323","filename":"file5"},{"photo_id":"1401994314","filename":"file2"},{"photo_id":"1401994318","filename":"file4"},{"photo_id":"1401994312","filename":"file1"},{"photo_id":"1401994311","filename":"file0"},{"photo_id":"1401994316","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994314":["hashtag1","hashtag2"]},{"1401994323":["hashtag1","hashtag2"]},{"1401994311":["hashtag1","hashtag2"]},{"1401994316":["hashtag1","hashtag2"]},{"1401994318":["hashtag1","hashtag2"]},{"1401994312":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994314, 1401994323, 1401994311, 1401994316, 1401994318, 1401994312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26649808883667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:27:02.605506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_24_9635.jpg', '/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_35_10635.jpg', '/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_44_9656.jpg', '/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_54_9726.jpg', '/home/pi/Desktop/images/01012026/06/14/image_01012026_06_15_05_10644.jpg', '/home/pi/Desktop/images/01012026/06/15/image_01012026_06_15_24_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_24_9635.jpg
/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_35_10635.jpg
/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_44_9656.jpg
/home/pi/Desktop/images/01012026/06/14/image_01012026_06_14_54_9726.jpg
/home/pi/Desktop/images/01012026/06/14/image_01012026_06_15_05_10644.jpg
/home/pi/Desktop/images/01012026/06/15/image_01012026_06_15_24_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":["1401994329","1401994331","1401994334","1401994336","1401994333","1401994332"],"photo_ids_order":["1401994329","1401994331","1401994332","1401994333","1401994334","1401994336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bca5651f249fe20581990c5f06e0e367.jpg","text":"TemporaryFile(/tmp/multipartBody4582175209542396710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248883268,"filename":"image_01012026_06_14_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01b800f424fae248716a85b144376237.jpg","text":"TemporaryFile(/tmp/multipartBody3865695044692354035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248883268,"filename":"image_01012026_06_14_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38bebc8a580c9dd1e8df87db76126a70.jpg","text":"TemporaryFile(/tmp/multipartBody8572961067934084911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248883268,"filename":"image_01012026_06_15_05_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0203c54d53293dcfa0b6b245b9512c36.jpg","text":"TemporaryFile(/tmp/multipartBody5340717031572655148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248883268,"filename":"image_01012026_06_15_24_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e9abb49bb66a3612e2080e9daac7c15.jpg","text":"TemporaryFile(/tmp/multipartBody331538720800256042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248883268,"filename":"image_01012026_06_14_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0eacff829932a92ded0e27b96a8ea84c.jpg","text":"TemporaryFile(/tmp/multipartBody6313534034512118123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248883268,"filename":"image_01012026_06_14_44_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994332","file1":"1401994331","file0":"1401994329","file4":"1401994334","file5":"1401994336","file3":"1401994333"},"map_files_photo_id_array":[{"photo_id":"1401994336","filename":"file5"},{"photo_id":"1401994332","filename":"file2"},{"photo_id":"1401994334","filename":"file4"},{"photo_id":"1401994331","filename":"file1"},{"photo_id":"1401994329","filename":"file0"},{"photo_id":"1401994333","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994329":["hashtag1","hashtag2"]},{"1401994331":["hashtag1","hashtag2"]},{"1401994334":["hashtag1","hashtag2"]},{"1401994336":["hashtag1","hashtag2"]},{"1401994333":["hashtag1","hashtag2"]},{"1401994332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994329, 1401994331, 1401994334, 1401994336, 1401994333, 1401994332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.044893741607666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:27:41.998226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_12_2697.jpg', '/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_15_3536.jpg', '/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_18_2551.jpg', '/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_45_3538.jpg', '/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_56_5834.jpg', '/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_57_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_12_2697.jpg
/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_15_3536.jpg
/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_18_2551.jpg
/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_45_3538.jpg
/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_56_5834.jpg
/home/pi/Desktop/images/03112025/23/45/image_03112025_23_45_57_1799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401994341","1401994410","1401994394","1401994430","1401994415","1401994362"],"photo_ids_order":["1401994341","1401994362","1401994394","1401994410","1401994415","1401994430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b942e6d798a765fb8ae84c270ccfe763.jpg","text":"TemporaryFile(/tmp/multipartBody1088916315433292330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248923802,"filename":"image_03112025_23_45_12_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f179649cf4e2a7d25d0962d6d3a9388.jpg","text":"TemporaryFile(/tmp/multipartBody4654122476395281035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248923802,"filename":"image_03112025_23_45_45_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56356b0a4d2bf7ba74d5c0d7bc6506b9.jpg","text":"TemporaryFile(/tmp/multipartBody5284953142253277172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248923802,"filename":"image_03112025_23_45_18_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0deddf19fd3f5a52765be7614dc76120.jpg","text":"TemporaryFile(/tmp/multipartBody3036341295494298919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248923802,"filename":"image_03112025_23_45_57_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a26737e972f3471baaf5c6ec464935b.jpg","text":"TemporaryFile(/tmp/multipartBody120446528712329811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248923802,"filename":"image_03112025_23_45_56_5834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bdcac716a1502a2d04d0fa8aca6539e.jpg","text":"TemporaryFile(/tmp/multipartBody8581955068270151064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248923802,"filename":"image_03112025_23_45_15_3536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994394","file1":"1401994362","file0":"1401994341","file4":"1401994415","file5":"1401994430","file3":"1401994410"},"map_files_photo_id_array":[{"photo_id":"1401994430","filename":"file5"},{"photo_id":"1401994394","filename":"file2"},{"photo_id":"1401994415","filename":"file4"},{"photo_id":"1401994362","filename":"file1"},{"photo_id":"1401994341","filename":"file0"},{"photo_id":"1401994410","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401994341":["hashtag1","hashtag2"]},{"1401994410":["hashtag1","hashtag2"]},{"1401994394":["hashtag1","hashtag2"]},{"1401994430":["hashtag1","hashtag2"]},{"1401994415":["hashtag1","hashtag2"]},{"1401994362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401994341, 1401994410, 1401994394, 1401994430, 1401994415, 1401994362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11497926712036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:28:22.159302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/15/image_01012026_06_15_35_10581.jpg', '/home/pi/Desktop/images/01012026/06/15/image_01012026_06_15_44_9732.jpg', '/home/pi/Desktop/images/01012026/06/15/image_01012026_06_15_54_9661.jpg', '/home/pi/Desktop/images/01012026/06/15/image_01012026_06_16_05_10691.jpg', '/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_14_9447.jpg', '/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_25_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/15/image_01012026_06_15_35_10581.jpg
/home/pi/Desktop/images/01012026/06/15/image_01012026_06_15_44_9732.jpg
/home/pi/Desktop/images/01012026/06/15/image_01012026_06_15_54_9661.jpg
/home/pi/Desktop/images/01012026/06/15/image_01012026_06_16_05_10691.jpg
/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_14_9447.jpg
/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_25_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401994460","1401994462","1401994456","1401994464","1401994458","1401994467"],"photo_ids_order":["1401994456","1401994458","1401994460","1401994462","1401994464","1401994467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35ca777ead5d6d5aa75c4a0641359fc0.jpg","text":"TemporaryFile(/tmp/multipartBody8347189013804228260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248962749,"filename":"image_01012026_06_15_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/871189c6207e2bc4d3f3335a33c8ee43.jpg","text":"TemporaryFile(/tmp/multipartBody6279383090536354646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248962749,"filename":"image_01012026_06_16_05_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa07593e2f68b8bfbd10fb0343c091c5.jpg","text":"TemporaryFile(/tmp/multipartBody1926200289398908869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248962749,"filename":"image_01012026_06_15_35_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/698b45e62e38518a0f1e4215e50dbb8d.jpg","text":"TemporaryFile(/tmp/multipartBody3360474395867819180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248962749,"filename":"image_01012026_06_16_14_9447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f552fc98a2bcebfee6208f44c3aa6f18.jpg","text":"TemporaryFile(/tmp/multipartBody4378935147115594486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248962749,"filename":"image_01012026_06_15_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bc06d4e2e6d7de1707fb99ae3c954e7.jpg","text":"TemporaryFile(/tmp/multipartBody853440063542259058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767248962749,"filename":"image_01012026_06_16_25_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994460","file1":"1401994458","file0":"1401994456","file4":"1401994464","file5":"1401994467","file3":"1401994462"},"map_files_photo_id_array":[{"photo_id":"1401994467","filename":"file5"},{"photo_id":"1401994460","filename":"file2"},{"photo_id":"1401994464","filename":"file4"},{"photo_id":"1401994458","filename":"file1"},{"photo_id":"1401994456","filename":"file0"},{"photo_id":"1401994462","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994460":["hashtag1","hashtag2"]},{"1401994462":["hashtag1","hashtag2"]},{"1401994456":["hashtag1","hashtag2"]},{"1401994464":["hashtag1","hashtag2"]},{"1401994458":["hashtag1","hashtag2"]},{"1401994467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994460, 1401994462, 1401994456, 1401994464, 1401994458, 1401994467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.124197483062744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:29:03.388313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_35_9648.jpg', '/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_44_9700.jpg', '/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_55_10310.jpg', '/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_04_9799.jpg', '/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_15_10675.jpg', '/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_25_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_35_9648.jpg
/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_44_9700.jpg
/home/pi/Desktop/images/01012026/06/16/image_01012026_06_16_55_10310.jpg
/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_04_9799.jpg
/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_15_10675.jpg
/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_25_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":["1401994481","1401994475","1401994478","1401994471","1401994470","1401994473"],"photo_ids_order":["1401994470","1401994471","1401994473","1401994475","1401994478","1401994481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61327509e974fb67cb78b9d755590dbd.jpg","text":"TemporaryFile(/tmp/multipartBody1169370062556475658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249004122,"filename":"image_01012026_06_17_25_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc8ce1f92c62838db70e014b6642bcdc.jpg","text":"TemporaryFile(/tmp/multipartBody4333578206360912608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249004122,"filename":"image_01012026_06_17_04_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5a8c56c2d6c7e05a3ae95eed7ba80f9.jpg","text":"TemporaryFile(/tmp/multipartBody6784160045353666025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249004122,"filename":"image_01012026_06_17_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7258f98afd2e2962276929c745d18c82.jpg","text":"TemporaryFile(/tmp/multipartBody8521070356809694237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249004122,"filename":"image_01012026_06_16_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62d2603c8916371679f3ffac2418c3a8.jpg","text":"TemporaryFile(/tmp/multipartBody111396806914787713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249004122,"filename":"image_01012026_06_16_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0db2bbfd077b9ad3cf7f3ce19794759e.jpg","text":"TemporaryFile(/tmp/multipartBody7409107885162759789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249004122,"filename":"image_01012026_06_16_55_10310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994473","file1":"1401994471","file0":"1401994470","file4":"1401994478","file5":"1401994481","file3":"1401994475"},"map_files_photo_id_array":[{"photo_id":"1401994481","filename":"file5"},{"photo_id":"1401994473","filename":"file2"},{"photo_id":"1401994478","filename":"file4"},{"photo_id":"1401994471","filename":"file1"},{"photo_id":"1401994470","filename":"file0"},{"photo_id":"1401994475","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994481":["hashtag1","hashtag2"]},{"1401994475":["hashtag1","hashtag2"]},{"1401994478":["hashtag1","hashtag2"]},{"1401994471":["hashtag1","hashtag2"]},{"1401994470":["hashtag1","hashtag2"]},{"1401994473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994481, 1401994475, 1401994478, 1401994471, 1401994470, 1401994473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.645047187805176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:29:42.438981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_01_1716.jpg', '/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_38_2688.jpg', '/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_42_3599.jpg', '/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_54_2646.jpg', '/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_56_2698.jpg', '/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_05_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_01_1716.jpg
/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_38_2688.jpg
/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_42_3599.jpg
/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_54_2646.jpg
/home/pi/Desktop/images/03112025/23/46/image_03112025_23_46_56_2698.jpg
/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_05_2700.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":["1401994490","1401994565","1401994496","1401994567","1401994488","1401994491"],"photo_ids_order":["1401994488","1401994490","1401994491","1401994496","1401994565","1401994567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f56a69c0b436b969febf14719cc201d3.jpg","text":"TemporaryFile(/tmp/multipartBody2026193413485199556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249044220,"filename":"image_03112025_23_46_38_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94297b2b0da18e307149bffa73c00392.jpg","text":"TemporaryFile(/tmp/multipartBody4026716879175978215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249044220,"filename":"image_03112025_23_46_56_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67ad18a33dec968538cd392557769eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8873215093482887140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249044220,"filename":"image_03112025_23_46_54_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acac2b10e29b164272ecb1b9ffcae171.jpg","text":"TemporaryFile(/tmp/multipartBody9143099880746760558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249044220,"filename":"image_03112025_23_47_05_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4b6fa871a7509657b5f4010ed2c64bf.jpg","text":"TemporaryFile(/tmp/multipartBody4266397881824179900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249044220,"filename":"image_03112025_23_46_01_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e511cbd8f9a787111628682ba9735f2c.jpg","text":"TemporaryFile(/tmp/multipartBody4996492391192064659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249044220,"filename":"image_03112025_23_46_42_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994491","file1":"1401994490","file0":"1401994488","file4":"1401994565","file5":"1401994567","file3":"1401994496"},"map_files_photo_id_array":[{"photo_id":"1401994567","filename":"file5"},{"photo_id":"1401994491","filename":"file2"},{"photo_id":"1401994565","filename":"file4"},{"photo_id":"1401994490","filename":"file1"},{"photo_id":"1401994488","filename":"file0"},{"photo_id":"1401994496","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401994490":["hashtag1","hashtag2"]},{"1401994565":["hashtag1","hashtag2"]},{"1401994496":["hashtag1","hashtag2"]},{"1401994567":["hashtag1","hashtag2"]},{"1401994488":["hashtag1","hashtag2"]},{"1401994491":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401994490, 1401994565, 1401994496, 1401994567, 1401994488, 1401994491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.15873861312866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:31:03.480661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_34_9677.jpg', '/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_45_10666.jpg', '/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_55_9726.jpg', '/home/pi/Desktop/images/01012026/06/17/image_01012026_06_18_04_9606.jpg', '/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_15_10597.jpg', '/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_24_9192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_34_9677.jpg
/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_45_10666.jpg
/home/pi/Desktop/images/01012026/06/17/image_01012026_06_17_55_9726.jpg
/home/pi/Desktop/images/01012026/06/17/image_01012026_06_18_04_9606.jpg
/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_15_10597.jpg
/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_24_9192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401994632","1401994635","1401994670","1401994631","1401994706","1401994633"],"photo_ids_order":["1401994631","1401994632","1401994633","1401994635","1401994670","1401994706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63852896edc421404fe5422b62fac769.jpg","text":"TemporaryFile(/tmp/multipartBody2711236354541747974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249124125,"filename":"image_01012026_06_17_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dbbaa473e73a95d610b9036ca8fd269.jpg","text":"TemporaryFile(/tmp/multipartBody8270178863179396783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249124125,"filename":"image_01012026_06_18_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2c63f54332c50cb5787058e571281e6.jpg","text":"TemporaryFile(/tmp/multipartBody5570479641434841295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249124125,"filename":"image_01012026_06_18_15_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e686a7c391ee6a1559b7ffff22247c3.jpg","text":"TemporaryFile(/tmp/multipartBody5878156516978970347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249124125,"filename":"image_01012026_06_17_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c3861b99b0f8abeaecf772df0d3c2aa.jpg","text":"TemporaryFile(/tmp/multipartBody8284429463846555546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249124125,"filename":"image_01012026_06_18_24_9192.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddf69ad0bd3e3dc1dc1fbd3a15630189.jpg","text":"TemporaryFile(/tmp/multipartBody4137138077385313679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249124125,"filename":"image_01012026_06_17_55_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994633","file1":"1401994632","file0":"1401994631","file4":"1401994670","file5":"1401994706","file3":"1401994635"},"map_files_photo_id_array":[{"photo_id":"1401994706","filename":"file5"},{"photo_id":"1401994633","filename":"file2"},{"photo_id":"1401994670","filename":"file4"},{"photo_id":"1401994632","filename":"file1"},{"photo_id":"1401994631","filename":"file0"},{"photo_id":"1401994635","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994632":["hashtag1","hashtag2"]},{"1401994635":["hashtag1","hashtag2"]},{"1401994670":["hashtag1","hashtag2"]},{"1401994631":["hashtag1","hashtag2"]},{"1401994706":["hashtag1","hashtag2"]},{"1401994633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994632, 1401994635, 1401994670, 1401994631, 1401994706, 1401994633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.577070474624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:31:42.867593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_09_3567.jpg', '/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_12_2633.jpg', '/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_14_2676.jpg', '/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_21_2685.jpg', '/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_24_2794.jpg', '/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_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/23/47/image_03112025_23_47_09_3567.jpg
/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_12_2633.jpg
/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_14_2676.jpg
/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_21_2685.jpg
/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_24_2794.jpg
/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_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":["1401994841","1401994829","1401994838","1401994783","1401994879","1401994810"],"photo_ids_order":["1401994783","1401994810","1401994829","1401994838","1401994841","1401994879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56a38c275579ad1106eb0225af0910a6.jpg","text":"TemporaryFile(/tmp/multipartBody7758018917444999050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249164627,"filename":"image_03112025_23_47_24_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/205da9b87c5b2f672e1b4ff8b9d734bb.jpg","text":"TemporaryFile(/tmp/multipartBody637991900174546978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249164627,"filename":"image_03112025_23_47_14_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8c7751c81f3de47fcd041299b2a1600.jpg","text":"TemporaryFile(/tmp/multipartBody478804996338247669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249164627,"filename":"image_03112025_23_47_21_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b844aa57e07f0e7b2ce94252c88d97f4.jpg","text":"TemporaryFile(/tmp/multipartBody5692439244066615586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249164627,"filename":"image_03112025_23_47_09_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a26d1e4190fa74d7a850ebe2f8937ac3.jpg","text":"TemporaryFile(/tmp/multipartBody4311990395371830562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249164627,"filename":"image_03112025_23_47_41_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fecddce9a4e24d77c5c9bc315ee25d69.jpg","text":"TemporaryFile(/tmp/multipartBody3455041114611712324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249164627,"filename":"image_03112025_23_47_12_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994829","file1":"1401994810","file0":"1401994783","file4":"1401994841","file5":"1401994879","file3":"1401994838"},"map_files_photo_id_array":[{"photo_id":"1401994879","filename":"file5"},{"photo_id":"1401994829","filename":"file2"},{"photo_id":"1401994841","filename":"file4"},{"photo_id":"1401994810","filename":"file1"},{"photo_id":"1401994783","filename":"file0"},{"photo_id":"1401994838","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401994841":["hashtag1","hashtag2"]},{"1401994829":["hashtag1","hashtag2"]},{"1401994838":["hashtag1","hashtag2"]},{"1401994783":["hashtag1","hashtag2"]},{"1401994879":["hashtag1","hashtag2"]},{"1401994810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401994841, 1401994829, 1401994838, 1401994783, 1401994879, 1401994810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93553566932678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:32:22.056837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_35_10627.jpg', '/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_44_9681.jpg', '/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_54_9908.jpg', '/home/pi/Desktop/images/01012026/06/18/image_01012026_06_19_05_10575.jpg', '/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_15_9826.jpg', '/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_25_10243.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_35_10627.jpg
/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_44_9681.jpg
/home/pi/Desktop/images/01012026/06/18/image_01012026_06_18_54_9908.jpg
/home/pi/Desktop/images/01012026/06/18/image_01012026_06_19_05_10575.jpg
/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_15_9826.jpg
/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_25_10243.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401994938","1401994940","1401994942","1401994936","1401994945","1401994930"],"photo_ids_order":["1401994930","1401994936","1401994938","1401994940","1401994942","1401994945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6455995b725cc6de8b15fe07cd3295eb.jpg","text":"TemporaryFile(/tmp/multipartBody2652388115709393069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249202796,"filename":"image_01012026_06_18_54_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9654d164d351dca6d8dc499c83df9513.jpg","text":"TemporaryFile(/tmp/multipartBody2695958555780171810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249202796,"filename":"image_01012026_06_19_05_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/662e40290e551c821d5abfd16f3a9e8e.jpg","text":"TemporaryFile(/tmp/multipartBody3492461788326315641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249202796,"filename":"image_01012026_06_19_15_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/687e5137e6e21de8fc6b10606d42e816.jpg","text":"TemporaryFile(/tmp/multipartBody241823560948125641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249202796,"filename":"image_01012026_06_18_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c18f5230b8a42942ecce8a923bc7c94f.jpg","text":"TemporaryFile(/tmp/multipartBody8124056679736850521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249202796,"filename":"image_01012026_06_19_25_10243.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/056307f4a6ef8d04a7abf7b5cdf16e3d.jpg","text":"TemporaryFile(/tmp/multipartBody3148423855803165835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249202796,"filename":"image_01012026_06_18_35_10627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994938","file1":"1401994936","file0":"1401994930","file4":"1401994942","file5":"1401994945","file3":"1401994940"},"map_files_photo_id_array":[{"photo_id":"1401994945","filename":"file5"},{"photo_id":"1401994938","filename":"file2"},{"photo_id":"1401994942","filename":"file4"},{"photo_id":"1401994936","filename":"file1"},{"photo_id":"1401994930","filename":"file0"},{"photo_id":"1401994940","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994938":["hashtag1","hashtag2"]},{"1401994940":["hashtag1","hashtag2"]},{"1401994942":["hashtag1","hashtag2"]},{"1401994936":["hashtag1","hashtag2"]},{"1401994945":["hashtag1","hashtag2"]},{"1401994930":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994938, 1401994940, 1401994942, 1401994936, 1401994945, 1401994930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64339566230774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:33:02.924847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_35_9642.jpg', '/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_44_9563.jpg', '/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_55_10574.jpg', '/home/pi/Desktop/images/01012026/06/19/image_01012026_06_20_05_9820.jpg', '/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_14_9563.jpg', '/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_25_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_35_9642.jpg
/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_44_9563.jpg
/home/pi/Desktop/images/01012026/06/19/image_01012026_06_19_55_10574.jpg
/home/pi/Desktop/images/01012026/06/19/image_01012026_06_20_05_9820.jpg
/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_14_9563.jpg
/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_25_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":["1401994952","1401994949","1401994954","1401994948","1401994951","1401994950"],"photo_ids_order":["1401994948","1401994949","1401994950","1401994951","1401994952","1401994954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10f19e5136f4e2c564626aa98925fe2e.jpg","text":"TemporaryFile(/tmp/multipartBody8204063014990783865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249243620,"filename":"image_01012026_06_20_14_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b667c32ed545a478793e968505536ece.jpg","text":"TemporaryFile(/tmp/multipartBody969237832545696300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249243620,"filename":"image_01012026_06_19_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e0013e1aa2a6edd654da2a75443454e.jpg","text":"TemporaryFile(/tmp/multipartBody5727883304537045249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249243620,"filename":"image_01012026_06_20_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/971c57f2b2ae60e4c7b8f21fdab47f6c.jpg","text":"TemporaryFile(/tmp/multipartBody6727933101463611517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249243620,"filename":"image_01012026_06_19_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0852c57ccd69ac4bd0cc10cd9f320bc.jpg","text":"TemporaryFile(/tmp/multipartBody8395933643912928122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249243620,"filename":"image_01012026_06_20_05_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b98b59fe9501ca2ae6e6a25cad59ae5.jpg","text":"TemporaryFile(/tmp/multipartBody1462917313570628940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249243620,"filename":"image_01012026_06_19_55_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994950","file1":"1401994949","file0":"1401994948","file4":"1401994952","file5":"1401994954","file3":"1401994951"},"map_files_photo_id_array":[{"photo_id":"1401994954","filename":"file5"},{"photo_id":"1401994950","filename":"file2"},{"photo_id":"1401994952","filename":"file4"},{"photo_id":"1401994949","filename":"file1"},{"photo_id":"1401994948","filename":"file0"},{"photo_id":"1401994951","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994952":["hashtag1","hashtag2"]},{"1401994949":["hashtag1","hashtag2"]},{"1401994954":["hashtag1","hashtag2"]},{"1401994948":["hashtag1","hashtag2"]},{"1401994951":["hashtag1","hashtag2"]},{"1401994950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994952, 1401994949, 1401994954, 1401994948, 1401994951, 1401994950)","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 --last_days 70 --only_old 1
2026-01-01 07:33:42.183113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_45_3601.jpg', '/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_54_2701.jpg', '/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_12_3635.jpg', '/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_21_2667.jpg', '/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_23_2707.jpg', '/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_41_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/23/47/image_03112025_23_47_45_3601.jpg
/home/pi/Desktop/images/03112025/23/47/image_03112025_23_47_54_2701.jpg
/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_12_3635.jpg
/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_21_2667.jpg
/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_23_2707.jpg
/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_41_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":["1401994964","1401994966","1401994960","1401994963","1401994965","1401994962"],"photo_ids_order":["1401994960","1401994962","1401994963","1401994964","1401994965","1401994966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8faed3152dafc3b71eef73e40504897a.jpg","text":"TemporaryFile(/tmp/multipartBody3678046803745011440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249283957,"filename":"image_03112025_23_48_21_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d726f85d9aa7e65bffd4b10eab6a9a5.jpg","text":"TemporaryFile(/tmp/multipartBody5568853692670865621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249283957,"filename":"image_03112025_23_48_41_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3351c4f15050f21445afd7b7511e1654.jpg","text":"TemporaryFile(/tmp/multipartBody4012162330358092761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249283957,"filename":"image_03112025_23_47_45_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c6b43a6dfb0029211ba29d509b9d4df.jpg","text":"TemporaryFile(/tmp/multipartBody910493742431962510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249283957,"filename":"image_03112025_23_48_12_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1410486f56f0c8dff28493dfc23976c3.jpg","text":"TemporaryFile(/tmp/multipartBody8480862116118226728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249283957,"filename":"image_03112025_23_48_23_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/041580faa530da54109b728999832838.jpg","text":"TemporaryFile(/tmp/multipartBody1764579375584820318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249283957,"filename":"image_03112025_23_47_54_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994963","file1":"1401994962","file0":"1401994960","file4":"1401994965","file5":"1401994966","file3":"1401994964"},"map_files_photo_id_array":[{"photo_id":"1401994966","filename":"file5"},{"photo_id":"1401994963","filename":"file2"},{"photo_id":"1401994965","filename":"file4"},{"photo_id":"1401994962","filename":"file1"},{"photo_id":"1401994960","filename":"file0"},{"photo_id":"1401994964","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401994964":["hashtag1","hashtag2"]},{"1401994966":["hashtag1","hashtag2"]},{"1401994960":["hashtag1","hashtag2"]},{"1401994963":["hashtag1","hashtag2"]},{"1401994965":["hashtag1","hashtag2"]},{"1401994962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401994964, 1401994966, 1401994960, 1401994963, 1401994965, 1401994962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71742105484009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:34:22.359859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_34_9699.jpg', '/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_45_10626.jpg', '/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_55_9636.jpg', '/home/pi/Desktop/images/01012026/06/20/image_01012026_06_21_04_9652.jpg', '/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_14_9721.jpg', '/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_25_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_34_9699.jpg
/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_45_10626.jpg
/home/pi/Desktop/images/01012026/06/20/image_01012026_06_20_55_9636.jpg
/home/pi/Desktop/images/01012026/06/20/image_01012026_06_21_04_9652.jpg
/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_14_9721.jpg
/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_25_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":["1401994973","1401994967","1401994975","1401994969","1401994978","1401994971"],"photo_ids_order":["1401994967","1401994969","1401994971","1401994973","1401994975","1401994978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cabe21fd2dea41e3905f7c88b28f7426.jpg","text":"TemporaryFile(/tmp/multipartBody5198708893972593258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249322979,"filename":"image_01012026_06_21_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be6fa73f9851083d9f1cb2186dd013b2.jpg","text":"TemporaryFile(/tmp/multipartBody9019507109015950056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249322979,"filename":"image_01012026_06_20_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf6bada7266450163c176ab7a853e094.jpg","text":"TemporaryFile(/tmp/multipartBody2213826407761716898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249322979,"filename":"image_01012026_06_21_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/442643a599a99c492ea2f727a745d96b.jpg","text":"TemporaryFile(/tmp/multipartBody8780922514347124994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249322979,"filename":"image_01012026_06_20_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d4c74e51cb1979f741f07e3b3eedcfa.jpg","text":"TemporaryFile(/tmp/multipartBody583236785825382871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249322979,"filename":"image_01012026_06_21_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abf264121843fe3bcdcce6fff211c737.jpg","text":"TemporaryFile(/tmp/multipartBody7913533564365128924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249322979,"filename":"image_01012026_06_20_55_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401994971","file1":"1401994969","file0":"1401994967","file4":"1401994975","file5":"1401994978","file3":"1401994973"},"map_files_photo_id_array":[{"photo_id":"1401994978","filename":"file5"},{"photo_id":"1401994971","filename":"file2"},{"photo_id":"1401994975","filename":"file4"},{"photo_id":"1401994969","filename":"file1"},{"photo_id":"1401994967","filename":"file0"},{"photo_id":"1401994973","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401994973":["hashtag1","hashtag2"]},{"1401994967":["hashtag1","hashtag2"]},{"1401994975":["hashtag1","hashtag2"]},{"1401994969":["hashtag1","hashtag2"]},{"1401994978":["hashtag1","hashtag2"]},{"1401994971":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401994973, 1401994967, 1401994975, 1401994969, 1401994978, 1401994971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69601106643677 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:35:03.297182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_34_9671.jpg', '/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_44_9711.jpg', '/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_55_10631.jpg', '/home/pi/Desktop/images/01012026/06/21/image_01012026_06_22_04_9681.jpg', '/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_14_9756.jpg', '/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_25_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_34_9671.jpg
/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_44_9711.jpg
/home/pi/Desktop/images/01012026/06/21/image_01012026_06_21_55_10631.jpg
/home/pi/Desktop/images/01012026/06/21/image_01012026_06_22_04_9681.jpg
/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_14_9756.jpg
/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_25_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":["1401995225","1401995111","1401995036","1401995149","1401995077","1401994998"],"photo_ids_order":["1401994998","1401995036","1401995077","1401995111","1401995149","1401995225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6956beb3f2ad708b4ae64b49465d4a73.jpg","text":"TemporaryFile(/tmp/multipartBody5676025398540451783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249363932,"filename":"image_01012026_06_22_25_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68406ecae3a8b594320cf5dc534d3dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5421527086831248480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249363932,"filename":"image_01012026_06_22_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f30c378b7fda5a9d20164acd8fc05dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1066378262490334981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249363932,"filename":"image_01012026_06_21_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1296c993cae41110c899a66695dcb27.jpg","text":"TemporaryFile(/tmp/multipartBody4027284068347590766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249363932,"filename":"image_01012026_06_22_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2acfebba4598df1de9252d278005846c.jpg","text":"TemporaryFile(/tmp/multipartBody4816483656114543509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249363932,"filename":"image_01012026_06_21_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c05e5a59b625b336e4839fad90b38dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4224899041368546347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249363932,"filename":"image_01012026_06_21_34_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401995077","file1":"1401995036","file0":"1401994998","file4":"1401995149","file5":"1401995225","file3":"1401995111"},"map_files_photo_id_array":[{"photo_id":"1401995225","filename":"file5"},{"photo_id":"1401995077","filename":"file2"},{"photo_id":"1401995149","filename":"file4"},{"photo_id":"1401995036","filename":"file1"},{"photo_id":"1401994998","filename":"file0"},{"photo_id":"1401995111","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401995225":["hashtag1","hashtag2"]},{"1401995111":["hashtag1","hashtag2"]},{"1401995036":["hashtag1","hashtag2"]},{"1401995149":["hashtag1","hashtag2"]},{"1401995077":["hashtag1","hashtag2"]},{"1401994998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401995225, 1401995111, 1401995036, 1401995149, 1401995077, 1401994998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.081793785095215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:35:42.605029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_45_3603.jpg', '/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_47_2611.jpg', '/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_50_2884.jpg', '/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_59_2734.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_06_3700.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_20_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/23/48/image_03112025_23_48_45_3603.jpg
/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_47_2611.jpg
/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_50_2884.jpg
/home/pi/Desktop/images/03112025/23/48/image_03112025_23_48_59_2734.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_06_3700.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_20_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":["1401995486","1401995465","1401995425","1401995416","1401995419","1401995502"],"photo_ids_order":["1401995416","1401995419","1401995425","1401995465","1401995486","1401995502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aff8dba8b2f8bbc5566a686a73f2f44b.jpg","text":"TemporaryFile(/tmp/multipartBody6033965490743705475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249404383,"filename":"image_03112025_23_49_06_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f6b1de80b2ae355b53bc00bba62b65d.jpg","text":"TemporaryFile(/tmp/multipartBody3958166229980915648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249404383,"filename":"image_03112025_23_48_59_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1961b22c0bc8e260bb10645fc08ab689.jpg","text":"TemporaryFile(/tmp/multipartBody3111939096785756470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249404383,"filename":"image_03112025_23_48_50_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a26304b1497f8d90841e95008a22067b.jpg","text":"TemporaryFile(/tmp/multipartBody1149647684454947458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249404383,"filename":"image_03112025_23_48_45_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d35424cc087632c69cc899d74b7b71d.jpg","text":"TemporaryFile(/tmp/multipartBody1638401578120562259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249404383,"filename":"image_03112025_23_48_47_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b86f6073815d3c478434a8d147464bbe.jpg","text":"TemporaryFile(/tmp/multipartBody8177095869879248003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249404383,"filename":"image_03112025_23_49_20_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401995425","file1":"1401995419","file0":"1401995416","file4":"1401995486","file5":"1401995502","file3":"1401995465"},"map_files_photo_id_array":[{"photo_id":"1401995502","filename":"file5"},{"photo_id":"1401995425","filename":"file2"},{"photo_id":"1401995486","filename":"file4"},{"photo_id":"1401995419","filename":"file1"},{"photo_id":"1401995416","filename":"file0"},{"photo_id":"1401995465","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401995486":["hashtag1","hashtag2"]},{"1401995465":["hashtag1","hashtag2"]},{"1401995425":["hashtag1","hashtag2"]},{"1401995416":["hashtag1","hashtag2"]},{"1401995419":["hashtag1","hashtag2"]},{"1401995502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401995486, 1401995465, 1401995425, 1401995416, 1401995419, 1401995502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9777672290802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:36:22.897433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_34_9632.jpg', '/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_45_10650.jpg', '/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_55_9756.jpg', '/home/pi/Desktop/images/01012026/06/22/image_01012026_06_23_05_9858.jpg', '/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_14_9608.jpg', '/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_25_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_34_9632.jpg
/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_45_10650.jpg
/home/pi/Desktop/images/01012026/06/22/image_01012026_06_22_55_9756.jpg
/home/pi/Desktop/images/01012026/06/22/image_01012026_06_23_05_9858.jpg
/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_14_9608.jpg
/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_25_10745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401995555","1401995540","1401995634","1401995535","1401995538","1401995594"],"photo_ids_order":["1401995535","1401995538","1401995540","1401995555","1401995594","1401995634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a9bf86eb23ceda0c5d3987da47ae288.jpg","text":"TemporaryFile(/tmp/multipartBody3030348857277482174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249443491,"filename":"image_01012026_06_23_05_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe5d8b95c40e3432a04efb992c66be90.jpg","text":"TemporaryFile(/tmp/multipartBody2840553335025145272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249443491,"filename":"image_01012026_06_22_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c9dc39f2ad212f9b1c22e2ca10a2cf2.jpg","text":"TemporaryFile(/tmp/multipartBody169247528503118155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249443491,"filename":"image_01012026_06_23_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb20679185564f9d96ef06f00046dedf.jpg","text":"TemporaryFile(/tmp/multipartBody4159353343931056716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249443491,"filename":"image_01012026_06_22_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd53b0870a4757debd11813373de2326.jpg","text":"TemporaryFile(/tmp/multipartBody3903742946834358685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249443491,"filename":"image_01012026_06_22_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98edbe41e8fdbe8a84ea117b93b32a2e.jpg","text":"TemporaryFile(/tmp/multipartBody8765784766106425529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249443491,"filename":"image_01012026_06_23_14_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401995540","file1":"1401995538","file0":"1401995535","file4":"1401995594","file5":"1401995634","file3":"1401995555"},"map_files_photo_id_array":[{"photo_id":"1401995634","filename":"file5"},{"photo_id":"1401995540","filename":"file2"},{"photo_id":"1401995594","filename":"file4"},{"photo_id":"1401995538","filename":"file1"},{"photo_id":"1401995535","filename":"file0"},{"photo_id":"1401995555","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401995555":["hashtag1","hashtag2"]},{"1401995540":["hashtag1","hashtag2"]},{"1401995634":["hashtag1","hashtag2"]},{"1401995535":["hashtag1","hashtag2"]},{"1401995538":["hashtag1","hashtag2"]},{"1401995594":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401995555, 1401995540, 1401995634, 1401995535, 1401995538, 1401995594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7336642742157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:37:02.646815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_35_9729.jpg', '/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_44_9757.jpg', '/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_54_9702.jpg', '/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_15_9767.jpg', '/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_24_9560.jpg', '/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_35_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_35_9729.jpg
/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_44_9757.jpg
/home/pi/Desktop/images/01012026/06/23/image_01012026_06_23_54_9702.jpg
/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_15_9767.jpg
/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_24_9560.jpg
/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_35_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401995663","1401995732","1401995654","1401995782","1401995697","1401995769"],"photo_ids_order":["1401995654","1401995663","1401995697","1401995732","1401995769","1401995782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b69865bee860a0062274f5ebd779661.jpg","text":"TemporaryFile(/tmp/multipartBody1691647996562755420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249483287,"filename":"image_01012026_06_23_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c83697961b450f2532a3a5a9d4ad71e6.jpg","text":"TemporaryFile(/tmp/multipartBody3200497355690831143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249483287,"filename":"image_01012026_06_24_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ef95d03b0452fd7f32ec0e3327243f8.jpg","text":"TemporaryFile(/tmp/multipartBody1829868243177992200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249483287,"filename":"image_01012026_06_23_35_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01a9ddbbd5d7ce7b130d1164bb7bca1e.jpg","text":"TemporaryFile(/tmp/multipartBody1241600824241345681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249483287,"filename":"image_01012026_06_24_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/871b9dd66bc6e494923c7a27f29ab260.jpg","text":"TemporaryFile(/tmp/multipartBody1746844034217146413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249483287,"filename":"image_01012026_06_23_54_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/821023fe89a87e082a09d8d434bcd9b9.jpg","text":"TemporaryFile(/tmp/multipartBody9139904390282300216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249483287,"filename":"image_01012026_06_24_24_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401995697","file1":"1401995663","file0":"1401995654","file4":"1401995769","file5":"1401995782","file3":"1401995732"},"map_files_photo_id_array":[{"photo_id":"1401995782","filename":"file5"},{"photo_id":"1401995697","filename":"file2"},{"photo_id":"1401995769","filename":"file4"},{"photo_id":"1401995663","filename":"file1"},{"photo_id":"1401995654","filename":"file0"},{"photo_id":"1401995732","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401995663":["hashtag1","hashtag2"]},{"1401995732":["hashtag1","hashtag2"]},{"1401995654":["hashtag1","hashtag2"]},{"1401995782":["hashtag1","hashtag2"]},{"1401995697":["hashtag1","hashtag2"]},{"1401995769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401995663, 1401995732, 1401995654, 1401995782, 1401995697, 1401995769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.681732177734375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:37:41.989122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_24_3553.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_27_2675.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_29_2654.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_36_2638.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_38_2806.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_41_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/23/49/image_03112025_23_49_24_3553.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_27_2675.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_29_2654.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_36_2638.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_38_2806.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_41_2654.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.658552646636963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:38:02.575590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_44_9682.jpg', '/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_55_10525.jpg', '/home/pi/Desktop/images/01012026/06/24/image_01012026_06_25_05_9654.jpg', '/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_15_9949.jpg', '/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_24_9601.jpg', '/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_35_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_44_9682.jpg
/home/pi/Desktop/images/01012026/06/24/image_01012026_06_24_55_10525.jpg
/home/pi/Desktop/images/01012026/06/24/image_01012026_06_25_05_9654.jpg
/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_15_9949.jpg
/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_24_9601.jpg
/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_35_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":["1401995906","1401995909","1401995911","1401995908","1401995907","1401995904"],"photo_ids_order":["1401995904","1401995906","1401995907","1401995908","1401995909","1401995911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca79c1a3b4324ff520bbcc20ae354541.jpg","text":"TemporaryFile(/tmp/multipartBody1421521629276348722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249543197,"filename":"image_01012026_06_24_55_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0423b553f544285f640cdad924360284.jpg","text":"TemporaryFile(/tmp/multipartBody1702916444758231129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249543197,"filename":"image_01012026_06_25_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57863827f3a304b588d7ddacf230dacb.jpg","text":"TemporaryFile(/tmp/multipartBody2113079602744144148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249543197,"filename":"image_01012026_06_25_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d4eaa8b1179713c55fb80eb10159e26.jpg","text":"TemporaryFile(/tmp/multipartBody8711495781339302915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249543197,"filename":"image_01012026_06_25_15_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98f9d345a1002b6ba3b58c010003d6cb.jpg","text":"TemporaryFile(/tmp/multipartBody1739471932594060055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249543197,"filename":"image_01012026_06_25_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0ef46154f163f174abd7ac9f6b08316.jpg","text":"TemporaryFile(/tmp/multipartBody4682692053289969776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249543197,"filename":"image_01012026_06_24_44_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401995907","file1":"1401995906","file0":"1401995904","file4":"1401995909","file5":"1401995911","file3":"1401995908"},"map_files_photo_id_array":[{"photo_id":"1401995911","filename":"file5"},{"photo_id":"1401995907","filename":"file2"},{"photo_id":"1401995909","filename":"file4"},{"photo_id":"1401995906","filename":"file1"},{"photo_id":"1401995904","filename":"file0"},{"photo_id":"1401995908","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401995906":["hashtag1","hashtag2"]},{"1401995909":["hashtag1","hashtag2"]},{"1401995911":["hashtag1","hashtag2"]},{"1401995908":["hashtag1","hashtag2"]},{"1401995907":["hashtag1","hashtag2"]},{"1401995904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401995906, 1401995909, 1401995911, 1401995908, 1401995907, 1401995904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.036277055740356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:38:42.242926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_24_3553.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_27_2675.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_29_2654.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_36_2638.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_38_2806.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_41_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/23/49/image_03112025_23_49_24_3553.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_27_2675.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_29_2654.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_36_2638.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_38_2806.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_41_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":["1401995921","1401995973","1401995926","1401995985","1401995925","1401995940"],"photo_ids_order":["1401995921","1401995925","1401995926","1401995940","1401995973","1401995985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b136e4eb633a05cbda58231175e75bf.jpg","text":"TemporaryFile(/tmp/multipartBody6245096824083275895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249583911,"filename":"image_03112025_23_49_24_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba86a206fb7ff0ea65676d902e19bd2b.jpg","text":"TemporaryFile(/tmp/multipartBody8599936363334083039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249583911,"filename":"image_03112025_23_49_38_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebace97d26108bcc8e67c745121a9b2e.jpg","text":"TemporaryFile(/tmp/multipartBody1896450054307669654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249583911,"filename":"image_03112025_23_49_29_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0d01526730db2dd629fb24da3d7468a.jpg","text":"TemporaryFile(/tmp/multipartBody1089749484251762332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249583911,"filename":"image_03112025_23_49_41_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de0269a0bb933c95dc0f6c6dfe595514.jpg","text":"TemporaryFile(/tmp/multipartBody7510540656968806703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249583911,"filename":"image_03112025_23_49_27_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78ebdd410db712655aa2d1121bc7bacf.jpg","text":"TemporaryFile(/tmp/multipartBody1781188933461724815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249583911,"filename":"image_03112025_23_49_36_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401995926","file1":"1401995925","file0":"1401995921","file4":"1401995973","file5":"1401995985","file3":"1401995940"},"map_files_photo_id_array":[{"photo_id":"1401995985","filename":"file5"},{"photo_id":"1401995926","filename":"file2"},{"photo_id":"1401995973","filename":"file4"},{"photo_id":"1401995925","filename":"file1"},{"photo_id":"1401995921","filename":"file0"},{"photo_id":"1401995940","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401995921":["hashtag1","hashtag2"]},{"1401995973":["hashtag1","hashtag2"]},{"1401995926":["hashtag1","hashtag2"]},{"1401995985":["hashtag1","hashtag2"]},{"1401995925":["hashtag1","hashtag2"]},{"1401995940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401995921, 1401995973, 1401995926, 1401995985, 1401995925, 1401995940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8927743434906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:39:23.180802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_45_9662.jpg', '/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_54_9880.jpg', '/home/pi/Desktop/images/01012026/06/25/image_01012026_06_26_04_9688.jpg', '/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_15_10914.jpg', '/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_25_9801.jpg', '/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_34_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_45_9662.jpg
/home/pi/Desktop/images/01012026/06/25/image_01012026_06_25_54_9880.jpg
/home/pi/Desktop/images/01012026/06/25/image_01012026_06_26_04_9688.jpg
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_15_10914.jpg
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_25_9801.jpg
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_34_9317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401996026","1401996031","1401996028","1401996022","1401996024","1401996035"],"photo_ids_order":["1401996022","1401996024","1401996026","1401996028","1401996031","1401996035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d61d13e118b8e7e70a02d8e4c3f4c03f.jpg","text":"TemporaryFile(/tmp/multipartBody2698065720379859372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249623771,"filename":"image_01012026_06_26_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/081474e430b5e12a8fc11a7321846401.jpg","text":"TemporaryFile(/tmp/multipartBody3989744784887243726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249623771,"filename":"image_01012026_06_26_25_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e61cfbca10e1debc6de9d506efe1243d.jpg","text":"TemporaryFile(/tmp/multipartBody2912488002822775030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249623771,"filename":"image_01012026_06_26_15_10914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8707dd2b5c0ec121386b9fb30a671cc.jpg","text":"TemporaryFile(/tmp/multipartBody1750142273032470117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249623771,"filename":"image_01012026_06_25_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e853a5d210825d9b00e020b77dd05a3.jpg","text":"TemporaryFile(/tmp/multipartBody5534459777715395917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249623771,"filename":"image_01012026_06_25_54_9880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30a87af1e333ebbd56e44ac2dd62fe73.jpg","text":"TemporaryFile(/tmp/multipartBody1571896773134783051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249623771,"filename":"image_01012026_06_26_34_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401996026","file1":"1401996024","file0":"1401996022","file4":"1401996031","file5":"1401996035","file3":"1401996028"},"map_files_photo_id_array":[{"photo_id":"1401996035","filename":"file5"},{"photo_id":"1401996026","filename":"file2"},{"photo_id":"1401996031","filename":"file4"},{"photo_id":"1401996024","filename":"file1"},{"photo_id":"1401996022","filename":"file0"},{"photo_id":"1401996028","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401996026":["hashtag1","hashtag2"]},{"1401996031":["hashtag1","hashtag2"]},{"1401996028":["hashtag1","hashtag2"]},{"1401996022":["hashtag1","hashtag2"]},{"1401996024":["hashtag1","hashtag2"]},{"1401996035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401996026, 1401996031, 1401996028, 1401996022, 1401996024, 1401996035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64989686012268 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:40:02.667082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_45_10858.jpg', '/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_55_9649.jpg', '/home/pi/Desktop/images/01012026/06/26/image_01012026_06_27_04_9519.jpg', '/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_15_10806.jpg', '/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_25_9641.jpg', '/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_34_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_45_10858.jpg
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_55_9649.jpg
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_27_04_9519.jpg
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_15_10806.jpg
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_25_9641.jpg
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_34_9791.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.5100531578063965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:40:12.203143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_47_2649.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_50_2695.jpg', '/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_59_2608.jpg', '/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_06_3705.jpg', '/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_08_2708.jpg', '/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_36_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/23/49/image_03112025_23_49_47_2649.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_50_2695.jpg
/home/pi/Desktop/images/03112025/23/49/image_03112025_23_49_59_2608.jpg
/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_06_3705.jpg
/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_08_2708.jpg
/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_36_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":["1401996172","1401996100","1401996043","1401996093","1401996045","1401996225"],"photo_ids_order":["1401996043","1401996045","1401996093","1401996100","1401996172","1401996225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87f2fe848c78b81d8c7c67edb609c36f.jpg","text":"TemporaryFile(/tmp/multipartBody6988189508728543587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249673850,"filename":"image_03112025_23_50_08_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/623a3bd7272ea3441425f987b05ce271.jpg","text":"TemporaryFile(/tmp/multipartBody7515484353483779372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249673850,"filename":"image_03112025_23_50_06_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4a9daf733d4b440dc14b8c41f97ce24.jpg","text":"TemporaryFile(/tmp/multipartBody147117597652477913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249673850,"filename":"image_03112025_23_49_47_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f63a09ec4c65e1b212fed1dee0f3613.jpg","text":"TemporaryFile(/tmp/multipartBody8106129484604828176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249673850,"filename":"image_03112025_23_49_59_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84720bf0fe989adca96329e078ed2669.jpg","text":"TemporaryFile(/tmp/multipartBody1397909602280172640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249673850,"filename":"image_03112025_23_49_50_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf75d74dd7c8677433d6d4d14702c444.jpg","text":"TemporaryFile(/tmp/multipartBody371108241541979625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249673850,"filename":"image_03112025_23_50_36_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401996093","file1":"1401996045","file0":"1401996043","file4":"1401996172","file5":"1401996225","file3":"1401996100"},"map_files_photo_id_array":[{"photo_id":"1401996225","filename":"file5"},{"photo_id":"1401996093","filename":"file2"},{"photo_id":"1401996172","filename":"file4"},{"photo_id":"1401996045","filename":"file1"},{"photo_id":"1401996043","filename":"file0"},{"photo_id":"1401996100","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401996172":["hashtag1","hashtag2"]},{"1401996100":["hashtag1","hashtag2"]},{"1401996043":["hashtag1","hashtag2"]},{"1401996093":["hashtag1","hashtag2"]},{"1401996045":["hashtag1","hashtag2"]},{"1401996225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401996172, 1401996100, 1401996043, 1401996093, 1401996045, 1401996225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.527541160583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:41:02.982107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 07:41:12.407721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_38_2704.jpg', '/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_48_2672.jpg', '/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_57_3660.jpg', '/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_05_2592.jpg', '/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_14_2585.jpg', '/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_21_3739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_38_2704.jpg
/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_48_2672.jpg
/home/pi/Desktop/images/03112025/23/50/image_03112025_23_50_57_3660.jpg
/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_05_2592.jpg
/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_14_2585.jpg
/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_21_3739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401996397","1401996468","1401996441","1401996411","1401996395","1401996389"],"photo_ids_order":["1401996389","1401996395","1401996397","1401996411","1401996441","1401996468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1650a6c4077f0d92d35e2844eddab0c5.jpg","text":"TemporaryFile(/tmp/multipartBody4367465988468275699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249734074,"filename":"image_03112025_23_50_57_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89920fdaeccc0556add53f0e7b87da20.jpg","text":"TemporaryFile(/tmp/multipartBody1707008365895800654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249734074,"filename":"image_03112025_23_51_21_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e0bfd6540f00ce6903c00d2952bd4eb.jpg","text":"TemporaryFile(/tmp/multipartBody44281227882733264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249734074,"filename":"image_03112025_23_51_14_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/175c936a0ef72736e925f845269dc990.jpg","text":"TemporaryFile(/tmp/multipartBody825907567601543491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249734074,"filename":"image_03112025_23_51_05_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c787dad382d8bb028a4206b588ee9b77.jpg","text":"TemporaryFile(/tmp/multipartBody2510938613441179881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249734074,"filename":"image_03112025_23_50_48_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d53a4819efaed281eba82097cbcb405.jpg","text":"TemporaryFile(/tmp/multipartBody5119222263314195486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249734074,"filename":"image_03112025_23_50_38_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401996397","file1":"1401996395","file0":"1401996389","file4":"1401996441","file5":"1401996468","file3":"1401996411"},"map_files_photo_id_array":[{"photo_id":"1401996468","filename":"file5"},{"photo_id":"1401996397","filename":"file2"},{"photo_id":"1401996441","filename":"file4"},{"photo_id":"1401996395","filename":"file1"},{"photo_id":"1401996389","filename":"file0"},{"photo_id":"1401996411","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401996397":["hashtag1","hashtag2"]},{"1401996468":["hashtag1","hashtag2"]},{"1401996441":["hashtag1","hashtag2"]},{"1401996411":["hashtag1","hashtag2"]},{"1401996395":["hashtag1","hashtag2"]},{"1401996389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401996397, 1401996468, 1401996441, 1401996411, 1401996395, 1401996389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70305943489075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:42:03.185105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_45_10858.jpg', '/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_55_9649.jpg', '/home/pi/Desktop/images/01012026/06/26/image_01012026_06_27_04_9519.jpg', '/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_15_10806.jpg', '/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_25_9641.jpg', '/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_34_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_45_10858.jpg
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_26_55_9649.jpg
/home/pi/Desktop/images/01012026/06/26/image_01012026_06_27_04_9519.jpg
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_15_10806.jpg
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_25_9641.jpg
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_34_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":["1401996472","1401996475","1401996478","1401996474","1401996473","1401996476"],"photo_ids_order":["1401996472","1401996473","1401996474","1401996475","1401996476","1401996478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43775605666124d79850eebba6197900.jpg","text":"TemporaryFile(/tmp/multipartBody4721211172516458968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249783797,"filename":"image_01012026_06_26_45_10858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aecbe0849889f5563dc3617e15ae4bd9.jpg","text":"TemporaryFile(/tmp/multipartBody1189709650150014419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249783797,"filename":"image_01012026_06_27_15_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1f725f312e09404edb048fb5ba1fd58.jpg","text":"TemporaryFile(/tmp/multipartBody8079429579691580265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249783797,"filename":"image_01012026_06_27_34_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b58054d7b83c9f2126b36c62b3f6f533.jpg","text":"TemporaryFile(/tmp/multipartBody2839728361763220928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249783797,"filename":"image_01012026_06_27_04_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bedd1d04f01254a310a664a9365445b3.jpg","text":"TemporaryFile(/tmp/multipartBody7959559732655567234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249783797,"filename":"image_01012026_06_26_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e4cdb41ddfd69acc3585f41876211a2.jpg","text":"TemporaryFile(/tmp/multipartBody765338271340385933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249783797,"filename":"image_01012026_06_27_25_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401996474","file1":"1401996473","file0":"1401996472","file4":"1401996476","file5":"1401996478","file3":"1401996475"},"map_files_photo_id_array":[{"photo_id":"1401996478","filename":"file5"},{"photo_id":"1401996474","filename":"file2"},{"photo_id":"1401996476","filename":"file4"},{"photo_id":"1401996473","filename":"file1"},{"photo_id":"1401996472","filename":"file0"},{"photo_id":"1401996475","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401996472":["hashtag1","hashtag2"]},{"1401996475":["hashtag1","hashtag2"]},{"1401996478":["hashtag1","hashtag2"]},{"1401996474":["hashtag1","hashtag2"]},{"1401996473":["hashtag1","hashtag2"]},{"1401996476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401996472, 1401996475, 1401996478, 1401996474, 1401996473, 1401996476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52912926673889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:42:42.691573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_32_2650.jpg', '/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_36_3508.jpg', '/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_38_2540.jpg', '/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_41_2704.jpg', '/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_50_2608.jpg', '/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_56_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/23/51/image_03112025_23_51_32_2650.jpg
/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_36_3508.jpg
/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_38_2540.jpg
/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_41_2704.jpg
/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_50_2608.jpg
/home/pi/Desktop/images/03112025/23/51/image_03112025_23_51_56_2635.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":["1401996490","1401996484","1401996487","1401996492","1401996489","1401996488"],"photo_ids_order":["1401996484","1401996487","1401996488","1401996489","1401996490","1401996492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf1e062336d0291b4528d8d2c46f54c4.jpg","text":"TemporaryFile(/tmp/multipartBody6028394925146634922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249824364,"filename":"image_03112025_23_51_50_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/491d0d8367d1043509d9f6fd904fcd13.jpg","text":"TemporaryFile(/tmp/multipartBody2133313689829691416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249824364,"filename":"image_03112025_23_51_32_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/142ade427c2cef39b26b6c52ff88a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody6082509725522628672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249824364,"filename":"image_03112025_23_51_36_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b24216f23e57da548cefb9a54fc7f316.jpg","text":"TemporaryFile(/tmp/multipartBody2416501368194114599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249824364,"filename":"image_03112025_23_51_56_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0dcea17d8d8a53d9250460e410a2779.jpg","text":"TemporaryFile(/tmp/multipartBody1623698077118488208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249824364,"filename":"image_03112025_23_51_41_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9221cdc16699f9f5b5ec0aca54078ac.jpg","text":"TemporaryFile(/tmp/multipartBody6854641664266731828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249824364,"filename":"image_03112025_23_51_38_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401996488","file1":"1401996487","file0":"1401996484","file4":"1401996490","file5":"1401996492","file3":"1401996489"},"map_files_photo_id_array":[{"photo_id":"1401996492","filename":"file5"},{"photo_id":"1401996488","filename":"file2"},{"photo_id":"1401996490","filename":"file4"},{"photo_id":"1401996487","filename":"file1"},{"photo_id":"1401996484","filename":"file0"},{"photo_id":"1401996489","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401996490":["hashtag1","hashtag2"]},{"1401996484":["hashtag1","hashtag2"]},{"1401996487":["hashtag1","hashtag2"]},{"1401996492":["hashtag1","hashtag2"]},{"1401996489":["hashtag1","hashtag2"]},{"1401996488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401996490, 1401996484, 1401996487, 1401996492, 1401996489, 1401996488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.35935091972351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:43:42.029371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_03_2894.jpg', '/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_05_2628.jpg', '/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_08_2622.jpg', '/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_22_1822.jpg', '/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_24_1666.jpg', '/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_41_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/23/52/image_03112025_23_52_03_2894.jpg
/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_05_2628.jpg
/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_08_2622.jpg
/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_22_1822.jpg
/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_24_1666.jpg
/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_41_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":["1401996521","1401996499","1401996503","1401996553","1401996502","1401996501"],"photo_ids_order":["1401996499","1401996501","1401996502","1401996503","1401996521","1401996553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a483f2ce7968bdf4e95124044980b97.jpg","text":"TemporaryFile(/tmp/multipartBody9121131881907255597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249883826,"filename":"image_03112025_23_52_24_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67b5eff332903e71353430c2a8e53f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3486701785915580714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249883826,"filename":"image_03112025_23_52_03_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bed711f143cbfea194a8ea00248c9602.jpg","text":"TemporaryFile(/tmp/multipartBody694063900358421847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249883826,"filename":"image_03112025_23_52_22_1822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f3af75de2b93a7ab545b5a184637f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7621969128256359199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249883826,"filename":"image_03112025_23_52_41_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d3b6112108f9863df7bbc5181fecc4c.jpg","text":"TemporaryFile(/tmp/multipartBody2274967392335354584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249883826,"filename":"image_03112025_23_52_08_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba2eb76f530cfa86c979b9d899d989ee.jpg","text":"TemporaryFile(/tmp/multipartBody5473585997916018694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249883826,"filename":"image_03112025_23_52_05_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401996502","file1":"1401996501","file0":"1401996499","file4":"1401996521","file5":"1401996553","file3":"1401996503"},"map_files_photo_id_array":[{"photo_id":"1401996553","filename":"file5"},{"photo_id":"1401996502","filename":"file2"},{"photo_id":"1401996521","filename":"file4"},{"photo_id":"1401996501","filename":"file1"},{"photo_id":"1401996499","filename":"file0"},{"photo_id":"1401996503","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401996521":["hashtag1","hashtag2"]},{"1401996499":["hashtag1","hashtag2"]},{"1401996503":["hashtag1","hashtag2"]},{"1401996553":["hashtag1","hashtag2"]},{"1401996502":["hashtag1","hashtag2"]},{"1401996501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401996521, 1401996499, 1401996503, 1401996553, 1401996502, 1401996501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47701549530029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:44:22.209286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_44_9727.jpg', '/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_55_10687.jpg', '/home/pi/Desktop/images/01012026/06/27/image_01012026_06_28_05_9838.jpg', '/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_14_9610.jpg', '/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_25_10780.jpg', '/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_35_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_44_9727.jpg
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_27_55_10687.jpg
/home/pi/Desktop/images/01012026/06/27/image_01012026_06_28_05_9838.jpg
/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_14_9610.jpg
/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_25_10780.jpg
/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_35_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401996769","1401996742","1401996792","1401996720","1401996683","1401996743"],"photo_ids_order":["1401996683","1401996720","1401996742","1401996743","1401996769","1401996792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39851b3a0ae54e078277b4a77f5a8c24.jpg","text":"TemporaryFile(/tmp/multipartBody3390712894698808421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249922797,"filename":"image_01012026_06_28_25_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92262719cff8efd4009e41cbc7cd0734.jpg","text":"TemporaryFile(/tmp/multipartBody2487124759236081636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249922797,"filename":"image_01012026_06_28_05_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/625f84b458b60d19815ebacb19dd850d.jpg","text":"TemporaryFile(/tmp/multipartBody3705813773007846519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249922797,"filename":"image_01012026_06_28_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbc63e788bc504e1ea3d15a37dd6ee2b.jpg","text":"TemporaryFile(/tmp/multipartBody4460757766708513889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249922797,"filename":"image_01012026_06_27_55_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c802c6d61b36e905b186cfab506c2d15.jpg","text":"TemporaryFile(/tmp/multipartBody1061955676388305822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249922797,"filename":"image_01012026_06_27_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/509c716db6f73cc179c33ec4ba2a3a1c.jpg","text":"TemporaryFile(/tmp/multipartBody4536352670212270823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249922797,"filename":"image_01012026_06_28_14_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401996742","file1":"1401996720","file0":"1401996683","file4":"1401996769","file5":"1401996792","file3":"1401996743"},"map_files_photo_id_array":[{"photo_id":"1401996792","filename":"file5"},{"photo_id":"1401996742","filename":"file2"},{"photo_id":"1401996769","filename":"file4"},{"photo_id":"1401996720","filename":"file1"},{"photo_id":"1401996683","filename":"file0"},{"photo_id":"1401996743","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401996769":["hashtag1","hashtag2"]},{"1401996742":["hashtag1","hashtag2"]},{"1401996792":["hashtag1","hashtag2"]},{"1401996720":["hashtag1","hashtag2"]},{"1401996683":["hashtag1","hashtag2"]},{"1401996743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401996769, 1401996742, 1401996792, 1401996720, 1401996683, 1401996743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05124378204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:45:02.953351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_44_9633.jpg', '/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_54_9855.jpg', '/home/pi/Desktop/images/01012026/06/28/image_01012026_06_29_05_10671.jpg', '/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_15_9746.jpg', '/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_24_9672.jpg', '/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_35_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_44_9633.jpg
/home/pi/Desktop/images/01012026/06/28/image_01012026_06_28_54_9855.jpg
/home/pi/Desktop/images/01012026/06/28/image_01012026_06_29_05_10671.jpg
/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_15_9746.jpg
/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_24_9672.jpg
/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_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":["1401996850","1401997021","1401996919","1401996940","1401996954","1401996962"],"photo_ids_order":["1401996850","1401996919","1401996940","1401996954","1401996962","1401997021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8717b2533b30778951a72da935c81ce5.jpg","text":"TemporaryFile(/tmp/multipartBody4453500658802478482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249963594,"filename":"image_01012026_06_28_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/319f3d9050dba5608e74277d4ea5edcf.jpg","text":"TemporaryFile(/tmp/multipartBody6115767280636078513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249963594,"filename":"image_01012026_06_29_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3546ec78deace7f2e16a816df9bddb6.jpg","text":"TemporaryFile(/tmp/multipartBody3986087467488602880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249963594,"filename":"image_01012026_06_28_54_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd8b6578f564081d9c6bae3435343413.jpg","text":"TemporaryFile(/tmp/multipartBody1124834445746364633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249963594,"filename":"image_01012026_06_29_05_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/381f739a3378aafe7b767cd8b39ee130.jpg","text":"TemporaryFile(/tmp/multipartBody7879554133848728039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249963594,"filename":"image_01012026_06_29_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/153af4829ab28a8d10dba56eb7fc0f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1406477104003915430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767249963594,"filename":"image_01012026_06_29_24_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401996940","file1":"1401996919","file0":"1401996850","file4":"1401996962","file5":"1401997021","file3":"1401996954"},"map_files_photo_id_array":[{"photo_id":"1401997021","filename":"file5"},{"photo_id":"1401996940","filename":"file2"},{"photo_id":"1401996962","filename":"file4"},{"photo_id":"1401996919","filename":"file1"},{"photo_id":"1401996850","filename":"file0"},{"photo_id":"1401996954","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401996850":["hashtag1","hashtag2"]},{"1401997021":["hashtag1","hashtag2"]},{"1401996919":["hashtag1","hashtag2"]},{"1401996940":["hashtag1","hashtag2"]},{"1401996954":["hashtag1","hashtag2"]},{"1401996962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401996850, 1401997021, 1401996919, 1401996940, 1401996954, 1401996962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24446654319763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:45:42.449152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/52/image_03112025_23_52_44_2556.jpg', '/home/pi/Desktop/images/03112025/23/53/image_03112025_23_53_56_1565.jpg', '/home/pi/Desktop/images/03112025/23/53/image_03112025_23_53_58_1795.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_01_1644.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_03_1625.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_09_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/23/52/image_03112025_23_52_44_2556.jpg
/home/pi/Desktop/images/03112025/23/53/image_03112025_23_53_56_1565.jpg
/home/pi/Desktop/images/03112025/23/53/image_03112025_23_53_58_1795.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_01_1644.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_03_1625.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_09_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401997345","1401997395","1401997257","1401997326","1401997404","1401997220"],"photo_ids_order":["1401997220","1401997257","1401997326","1401997345","1401997395","1401997404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2273f85c84c32b415bfb65b186a123d1.jpg","text":"TemporaryFile(/tmp/multipartBody4287970418263091586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250011055,"filename":"image_03112025_23_54_01_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d91cb87f3aa1d02c009cc050a7d3137.jpg","text":"TemporaryFile(/tmp/multipartBody732302215230691310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250011055,"filename":"image_03112025_23_54_03_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a2fa99c194019e3dfd9c93e54514717.jpg","text":"TemporaryFile(/tmp/multipartBody5035748443413265953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250011055,"filename":"image_03112025_23_53_56_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cdde9dfd462f6bb43b900daad9e541e.jpg","text":"TemporaryFile(/tmp/multipartBody1449882217223939919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250011055,"filename":"image_03112025_23_53_58_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca8da2a06051c2b34b67ac1d71d01b55.jpg","text":"TemporaryFile(/tmp/multipartBody4653472575422769383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250011055,"filename":"image_03112025_23_54_09_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/934e712acced00895f7d95fe2c1b79fa.jpg","text":"TemporaryFile(/tmp/multipartBody4821381212594697172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250011055,"filename":"image_03112025_23_52_44_2556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997326","file1":"1401997257","file0":"1401997220","file4":"1401997395","file5":"1401997404","file3":"1401997345"},"map_files_photo_id_array":[{"photo_id":"1401997404","filename":"file5"},{"photo_id":"1401997326","filename":"file2"},{"photo_id":"1401997395","filename":"file4"},{"photo_id":"1401997257","filename":"file1"},{"photo_id":"1401997220","filename":"file0"},{"photo_id":"1401997345","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401997345":["hashtag1","hashtag2"]},{"1401997395":["hashtag1","hashtag2"]},{"1401997257":["hashtag1","hashtag2"]},{"1401997326":["hashtag1","hashtag2"]},{"1401997404":["hashtag1","hashtag2"]},{"1401997220":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401997345, 1401997395, 1401997257, 1401997326, 1401997404, 1401997220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.77518892288208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:46:32.383603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_11_1618.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_14_1681.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_17_2533.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_21_3773.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_25_4062.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_27_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/23/54/image_03112025_23_54_11_1618.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_14_1681.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_17_2533.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_21_3773.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_25_4062.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_27_2894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401997438","1401997428","1401997422","1401997436","1401997424","1401997433"],"photo_ids_order":["1401997422","1401997424","1401997428","1401997433","1401997436","1401997438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50c8aa097c13991bbadd0b2cfe072bb7.jpg","text":"TemporaryFile(/tmp/multipartBody941562566459210819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250054169,"filename":"image_03112025_23_54_27_2894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69ebd273f35960cfe152e573a646cefe.jpg","text":"TemporaryFile(/tmp/multipartBody1009099703070368364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250054169,"filename":"image_03112025_23_54_17_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9e42dd3e2158bfdb5614720d7b15c02.jpg","text":"TemporaryFile(/tmp/multipartBody5275367783374188589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250054169,"filename":"image_03112025_23_54_11_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/411b3e09a0a737473cf7a2ff756576a4.jpg","text":"TemporaryFile(/tmp/multipartBody8208587225112026250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250054169,"filename":"image_03112025_23_54_25_4062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa0d6935f3d50865d0a76ea9b892fa66.jpg","text":"TemporaryFile(/tmp/multipartBody7580263770136722020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250054169,"filename":"image_03112025_23_54_14_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e02008a17203833e26d0b7da74bedcf.jpg","text":"TemporaryFile(/tmp/multipartBody4505290965169048761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250054169,"filename":"image_03112025_23_54_21_3773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997428","file1":"1401997424","file0":"1401997422","file4":"1401997436","file5":"1401997438","file3":"1401997433"},"map_files_photo_id_array":[{"photo_id":"1401997438","filename":"file5"},{"photo_id":"1401997428","filename":"file2"},{"photo_id":"1401997436","filename":"file4"},{"photo_id":"1401997424","filename":"file1"},{"photo_id":"1401997422","filename":"file0"},{"photo_id":"1401997433","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401997438":["hashtag1","hashtag2"]},{"1401997428":["hashtag1","hashtag2"]},{"1401997422":["hashtag1","hashtag2"]},{"1401997436":["hashtag1","hashtag2"]},{"1401997424":["hashtag1","hashtag2"]},{"1401997433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401997438, 1401997428, 1401997422, 1401997436, 1401997424, 1401997433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.60534048080444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:47:12.367713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_29_1605.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_32_2499.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_38_2662.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_44_2535.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_47_2586.jpg', '/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_53_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_29_1605.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_32_2499.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_38_2662.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_44_2535.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_47_2586.jpg
/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_53_2649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401997450","1401997444","1401997452","1401997446","1401997448","1401997442"],"photo_ids_order":["1401997442","1401997444","1401997446","1401997448","1401997450","1401997452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c5721320f5eabbcd42fef4de6898d01.jpg","text":"TemporaryFile(/tmp/multipartBody8664235700446641235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250094024,"filename":"image_03112025_23_54_47_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b6b35109e038c336e77fac2ade203d5.jpg","text":"TemporaryFile(/tmp/multipartBody8124480491159992748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250094024,"filename":"image_03112025_23_54_32_2499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c65e9c4f2315832e541d1661a0a877d6.jpg","text":"TemporaryFile(/tmp/multipartBody2550342196938644243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250094024,"filename":"image_03112025_23_54_53_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfc8ecd40977bdd3c6a9fce00955e303.jpg","text":"TemporaryFile(/tmp/multipartBody5244275908409738824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250094024,"filename":"image_03112025_23_54_38_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b17e12c588b2c8ae1f96b25b883faf3.jpg","text":"TemporaryFile(/tmp/multipartBody4660792221237405221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250094024,"filename":"image_03112025_23_54_44_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3aa93ae312cce484ef6c250c2dc62165.jpg","text":"TemporaryFile(/tmp/multipartBody5138033595400019007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250094024,"filename":"image_03112025_23_54_29_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997446","file1":"1401997444","file0":"1401997442","file4":"1401997450","file5":"1401997452","file3":"1401997448"},"map_files_photo_id_array":[{"photo_id":"1401997452","filename":"file5"},{"photo_id":"1401997446","filename":"file2"},{"photo_id":"1401997450","filename":"file4"},{"photo_id":"1401997444","filename":"file1"},{"photo_id":"1401997442","filename":"file0"},{"photo_id":"1401997448","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401997450":["hashtag1","hashtag2"]},{"1401997444":["hashtag1","hashtag2"]},{"1401997452":["hashtag1","hashtag2"]},{"1401997446":["hashtag1","hashtag2"]},{"1401997448":["hashtag1","hashtag2"]},{"1401997442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401997450, 1401997444, 1401997452, 1401997446, 1401997448, 1401997442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.853416442871094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:48:03.006137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_45_9595.jpg', '/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_54_9589.jpg', '/home/pi/Desktop/images/01012026/06/29/image_01012026_06_30_05_10708.jpg', '/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_14_9652.jpg', '/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_24_9932.jpg', '/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_34_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_45_9595.jpg
/home/pi/Desktop/images/01012026/06/29/image_01012026_06_29_54_9589.jpg
/home/pi/Desktop/images/01012026/06/29/image_01012026_06_30_05_10708.jpg
/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_14_9652.jpg
/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_24_9932.jpg
/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_34_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401997465","1401997459","1401997462","1401997458","1401997460","1401997463"],"photo_ids_order":["1401997458","1401997459","1401997460","1401997462","1401997463","1401997465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4c2ece6a036fef5503f5e4c4c315ab6.jpg","text":"TemporaryFile(/tmp/multipartBody629850283827479588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250143618,"filename":"image_01012026_06_30_34_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70380d68d9073e369849c46a51978c20.jpg","text":"TemporaryFile(/tmp/multipartBody8812698508756505826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250143618,"filename":"image_01012026_06_29_54_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a75cbf911a6d975b4b6f53561422839.jpg","text":"TemporaryFile(/tmp/multipartBody5249633532829143119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250143618,"filename":"image_01012026_06_30_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15efc07bf1a8995c39fe1e0065c6ff2a.jpg","text":"TemporaryFile(/tmp/multipartBody3519628904456566816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250143618,"filename":"image_01012026_06_29_45_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e56fb99bfe034d92639be82246e56ea.jpg","text":"TemporaryFile(/tmp/multipartBody7862394743177945904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250143618,"filename":"image_01012026_06_30_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc5328e4f47db3af00bde995a0094b35.jpg","text":"TemporaryFile(/tmp/multipartBody8859114276133797151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250143618,"filename":"image_01012026_06_30_24_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997460","file1":"1401997459","file0":"1401997458","file4":"1401997463","file5":"1401997465","file3":"1401997462"},"map_files_photo_id_array":[{"photo_id":"1401997465","filename":"file5"},{"photo_id":"1401997460","filename":"file2"},{"photo_id":"1401997463","filename":"file4"},{"photo_id":"1401997459","filename":"file1"},{"photo_id":"1401997458","filename":"file0"},{"photo_id":"1401997462","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401997465":["hashtag1","hashtag2"]},{"1401997459":["hashtag1","hashtag2"]},{"1401997462":["hashtag1","hashtag2"]},{"1401997458":["hashtag1","hashtag2"]},{"1401997460":["hashtag1","hashtag2"]},{"1401997463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401997465, 1401997459, 1401997462, 1401997458, 1401997460, 1401997463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07082962989807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:48:42.629927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/54/image_03112025_23_54_56_3565.jpg', '/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_09_13076.jpg', '/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_11_1637.jpg', '/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_35_20511.jpg', '/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_36_1625.jpg', '/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_38_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/23/54/image_03112025_23_54_56_3565.jpg
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_09_13076.jpg
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_11_1637.jpg
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_35_20511.jpg
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_36_1625.jpg
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_38_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":["1401997543","1401997471","1401997474","1401997473","1401997506","1401997559"],"photo_ids_order":["1401997471","1401997473","1401997474","1401997506","1401997543","1401997559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de114c8ab7d6e155dfb86b9dfe81209b.jpg","text":"TemporaryFile(/tmp/multipartBody8459295556379579650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250184405,"filename":"image_03112025_23_55_36_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b3a5022b698be348ce32e51740323ef.jpg","text":"TemporaryFile(/tmp/multipartBody2472803478690007261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250184405,"filename":"image_03112025_23_54_56_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b992ab769436ed3482069bcc9b90aef.jpg","text":"TemporaryFile(/tmp/multipartBody6298069673493678473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250184405,"filename":"image_03112025_23_55_11_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b02497cf30b3c9504bea651153b1757.jpg","text":"TemporaryFile(/tmp/multipartBody3712402111302962441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250184405,"filename":"image_03112025_23_55_09_13076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51ab9e7f12dc3232003877fa69d8172a.jpg","text":"TemporaryFile(/tmp/multipartBody676438448638735805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250184405,"filename":"image_03112025_23_55_35_20511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f51ea3a8a9b2c2e00b5c1b4999151c00.jpg","text":"TemporaryFile(/tmp/multipartBody905183211143537800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250184405,"filename":"image_03112025_23_55_38_1711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997474","file1":"1401997473","file0":"1401997471","file4":"1401997543","file5":"1401997559","file3":"1401997506"},"map_files_photo_id_array":[{"photo_id":"1401997559","filename":"file5"},{"photo_id":"1401997474","filename":"file2"},{"photo_id":"1401997543","filename":"file4"},{"photo_id":"1401997473","filename":"file1"},{"photo_id":"1401997471","filename":"file0"},{"photo_id":"1401997506","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401997543":["hashtag1","hashtag2"]},{"1401997471":["hashtag1","hashtag2"]},{"1401997474":["hashtag1","hashtag2"]},{"1401997473":["hashtag1","hashtag2"]},{"1401997506":["hashtag1","hashtag2"]},{"1401997559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401997543, 1401997471, 1401997474, 1401997473, 1401997506, 1401997559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50006818771362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:49:22.863447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_45_10585.jpg', '/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_55_9662.jpg', '/home/pi/Desktop/images/01012026/06/30/image_01012026_06_31_04_9729.jpg', '/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_15_10809.jpg', '/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_25_9634.jpg', '/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_34_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_45_10585.jpg
/home/pi/Desktop/images/01012026/06/30/image_01012026_06_30_55_9662.jpg
/home/pi/Desktop/images/01012026/06/30/image_01012026_06_31_04_9729.jpg
/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_15_10809.jpg
/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_25_9634.jpg
/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_34_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401997606","1401997599","1401997608","1401997601","1401997610","1401997604"],"photo_ids_order":["1401997599","1401997601","1401997604","1401997606","1401997608","1401997610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc44e169fe377990e1c4a2863e14debb.jpg","text":"TemporaryFile(/tmp/multipartBody96614738299624181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250223489,"filename":"image_01012026_06_31_15_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59a8da834bb8f4ab2770b8f526690f7e.jpg","text":"TemporaryFile(/tmp/multipartBody7796297750191468343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250223489,"filename":"image_01012026_06_30_45_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c992684fa7f39f96585383c2808ab3f.jpg","text":"TemporaryFile(/tmp/multipartBody1863586821510048588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250223489,"filename":"image_01012026_06_31_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6f02ba8c49ea235c40dea6be7742806.jpg","text":"TemporaryFile(/tmp/multipartBody5681551565308929177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250223489,"filename":"image_01012026_06_30_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/744b79c2570f4377d8ccb9b4d69f4a88.jpg","text":"TemporaryFile(/tmp/multipartBody4646837089356303411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250223489,"filename":"image_01012026_06_31_34_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/517c24e2f7d4eded80f24ec5d5989d62.jpg","text":"TemporaryFile(/tmp/multipartBody6530635489904592345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250223489,"filename":"image_01012026_06_31_04_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997604","file1":"1401997601","file0":"1401997599","file4":"1401997608","file5":"1401997610","file3":"1401997606"},"map_files_photo_id_array":[{"photo_id":"1401997610","filename":"file5"},{"photo_id":"1401997604","filename":"file2"},{"photo_id":"1401997608","filename":"file4"},{"photo_id":"1401997601","filename":"file1"},{"photo_id":"1401997599","filename":"file0"},{"photo_id":"1401997606","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401997606":["hashtag1","hashtag2"]},{"1401997599":["hashtag1","hashtag2"]},{"1401997608":["hashtag1","hashtag2"]},{"1401997601":["hashtag1","hashtag2"]},{"1401997610":["hashtag1","hashtag2"]},{"1401997604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401997606, 1401997599, 1401997608, 1401997601, 1401997610, 1401997604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83483695983887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:50:02.431509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_44_9744.jpg', '/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_55_10669.jpg', '/home/pi/Desktop/images/01012026/06/31/image_01012026_06_32_05_9722.jpg', '/home/pi/Desktop/images/01012026/06/32/image_01012026_06_32_25_10617.jpg', '/home/pi/Desktop/images/01012026/06/32/image_01012026_06_32_35_9897.jpg', '/home/pi/Desktop/images/01012026/06/32/image_01012026_06_32_44_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_44_9744.jpg
/home/pi/Desktop/images/01012026/06/31/image_01012026_06_31_55_10669.jpg
/home/pi/Desktop/images/01012026/06/31/image_01012026_06_32_05_9722.jpg
/home/pi/Desktop/images/01012026/06/32/image_01012026_06_32_25_10617.jpg
/home/pi/Desktop/images/01012026/06/32/image_01012026_06_32_35_9897.jpg
/home/pi/Desktop/images/01012026/06/32/image_01012026_06_32_44_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":["1401997612","1401997615","1401997618","1401997611","1401997616","1401997613"],"photo_ids_order":["1401997611","1401997612","1401997613","1401997615","1401997616","1401997618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/199aaba823005563452994ca3491826a.jpg","text":"TemporaryFile(/tmp/multipartBody9212286022314128356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250263056,"filename":"image_01012026_06_31_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9fd57ecba7b04f9737c3ef3a1348b16.jpg","text":"TemporaryFile(/tmp/multipartBody2338903498669635888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250263056,"filename":"image_01012026_06_32_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e20355ca12b49f7874469b56aa4ca70e.jpg","text":"TemporaryFile(/tmp/multipartBody5400104089107947668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250263056,"filename":"image_01012026_06_32_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/750c96595b6361e1df66f5f184f99b82.jpg","text":"TemporaryFile(/tmp/multipartBody3524070481906399072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250263056,"filename":"image_01012026_06_31_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ada349c9484a9b138ad0b57de31577f3.jpg","text":"TemporaryFile(/tmp/multipartBody1301590716540927958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250263056,"filename":"image_01012026_06_32_35_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/268f1c8a341165d0bff6369539a50fcc.jpg","text":"TemporaryFile(/tmp/multipartBody3415540336433597737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250263056,"filename":"image_01012026_06_32_05_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997613","file1":"1401997612","file0":"1401997611","file4":"1401997616","file5":"1401997618","file3":"1401997615"},"map_files_photo_id_array":[{"photo_id":"1401997618","filename":"file5"},{"photo_id":"1401997613","filename":"file2"},{"photo_id":"1401997616","filename":"file4"},{"photo_id":"1401997612","filename":"file1"},{"photo_id":"1401997611","filename":"file0"},{"photo_id":"1401997615","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401997612":["hashtag1","hashtag2"]},{"1401997615":["hashtag1","hashtag2"]},{"1401997618":["hashtag1","hashtag2"]},{"1401997611":["hashtag1","hashtag2"]},{"1401997616":["hashtag1","hashtag2"]},{"1401997613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401997612, 1401997615, 1401997618, 1401997611, 1401997616, 1401997613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40343260765076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:50:41.925623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_49_1654.jpg', '/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_53_1662.jpg', '/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_56_1805.jpg', '/home/pi/Desktop/images/03112025/23/55/image_03112025_23_56_00_1721.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_05_1596.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_07_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_49_1654.jpg
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_53_1662.jpg
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_55_56_1805.jpg
/home/pi/Desktop/images/03112025/23/55/image_03112025_23_56_00_1721.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_05_1596.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_07_1587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401997807","1401997656","1401997758","1401997757","1401997808","1401997792"],"photo_ids_order":["1401997656","1401997757","1401997758","1401997792","1401997807","1401997808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77c237354152e39d08b2a03f099934b9.jpg","text":"TemporaryFile(/tmp/multipartBody3148252295787723021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250303702,"filename":"image_03112025_23_56_05_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bce9de9684b1ef376d66f69fc5376344.jpg","text":"TemporaryFile(/tmp/multipartBody7974211583752637865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250303702,"filename":"image_03112025_23_55_49_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fadb1bcc07a4959602957c56c699395a.jpg","text":"TemporaryFile(/tmp/multipartBody1286313448661139610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250303702,"filename":"image_03112025_23_55_56_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a4d8fb1291bd0a24756bfb1963557a3.jpg","text":"TemporaryFile(/tmp/multipartBody2765571543201499231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250303702,"filename":"image_03112025_23_55_53_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1e4cd8e9bf4e0e6db4c19c71167e988.jpg","text":"TemporaryFile(/tmp/multipartBody4683864295483463045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250303702,"filename":"image_03112025_23_56_07_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7bcfd2f50cb38af8967bdc1f03654b8d.jpg","text":"TemporaryFile(/tmp/multipartBody2841423111658839932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250303702,"filename":"image_03112025_23_56_00_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997758","file1":"1401997757","file0":"1401997656","file4":"1401997807","file5":"1401997808","file3":"1401997792"},"map_files_photo_id_array":[{"photo_id":"1401997808","filename":"file5"},{"photo_id":"1401997758","filename":"file2"},{"photo_id":"1401997807","filename":"file4"},{"photo_id":"1401997757","filename":"file1"},{"photo_id":"1401997656","filename":"file0"},{"photo_id":"1401997792","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401997807":["hashtag1","hashtag2"]},{"1401997656":["hashtag1","hashtag2"]},{"1401997758":["hashtag1","hashtag2"]},{"1401997757":["hashtag1","hashtag2"]},{"1401997808":["hashtag1","hashtag2"]},{"1401997792":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401997807, 1401997656, 1401997758, 1401997757, 1401997808, 1401997792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83236598968506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:51:22.056610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/32/image_01012026_06_32_55_10671.jpg', '/home/pi/Desktop/images/01012026/06/32/image_01012026_06_33_05_9678.jpg', '/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_14_9594.jpg', '/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_25_10540.jpg', '/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_35_9769.jpg', '/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_44_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/32/image_01012026_06_32_55_10671.jpg
/home/pi/Desktop/images/01012026/06/32/image_01012026_06_33_05_9678.jpg
/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_14_9594.jpg
/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_25_10540.jpg
/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_35_9769.jpg
/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_44_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401997855","1401997849","1401997846","1401997851","1401997853","1401997888"],"photo_ids_order":["1401997846","1401997849","1401997851","1401997853","1401997855","1401997888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9402cd440e068152a8115f55c158415b.jpg","text":"TemporaryFile(/tmp/multipartBody8677950972381576842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250342685,"filename":"image_01012026_06_33_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62a8524bce664e5a5ad2c0b2b6c19063.jpg","text":"TemporaryFile(/tmp/multipartBody6873748524934737610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250342685,"filename":"image_01012026_06_33_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cb3c80b72cd7fd13c49f188a1403915.jpg","text":"TemporaryFile(/tmp/multipartBody4705644290125684217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250342685,"filename":"image_01012026_06_32_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f8d9c81501f3a2b5e9e27ff9d7b3628.jpg","text":"TemporaryFile(/tmp/multipartBody2973795806221553922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250342685,"filename":"image_01012026_06_33_14_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c723a48b470e4cf1c154e8766b09cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5949178910727969931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250342685,"filename":"image_01012026_06_33_25_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14f2ae5c5fcd22acb23ef630e283968c.jpg","text":"TemporaryFile(/tmp/multipartBody2129158720035549285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250342685,"filename":"image_01012026_06_33_44_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401997851","file1":"1401997849","file0":"1401997846","file4":"1401997855","file5":"1401997888","file3":"1401997853"},"map_files_photo_id_array":[{"photo_id":"1401997888","filename":"file5"},{"photo_id":"1401997851","filename":"file2"},{"photo_id":"1401997855","filename":"file4"},{"photo_id":"1401997849","filename":"file1"},{"photo_id":"1401997846","filename":"file0"},{"photo_id":"1401997853","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401997855":["hashtag1","hashtag2"]},{"1401997849":["hashtag1","hashtag2"]},{"1401997846":["hashtag1","hashtag2"]},{"1401997851":["hashtag1","hashtag2"]},{"1401997853":["hashtag1","hashtag2"]},{"1401997888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401997855, 1401997849, 1401997846, 1401997851, 1401997853, 1401997888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59916138648987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:52:02.775791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_55_10599.jpg', '/home/pi/Desktop/images/01012026/06/33/image_01012026_06_34_04_9646.jpg', '/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_14_9577.jpg', '/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_25_10724.jpg', '/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_34_9697.jpg', '/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_45_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/33/image_01012026_06_33_55_10599.jpg
/home/pi/Desktop/images/01012026/06/33/image_01012026_06_34_04_9646.jpg
/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_14_9577.jpg
/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_25_10724.jpg
/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_34_9697.jpg
/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_45_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":["1401998224","1401998160","1401998241","1401998190","1401998115","1401998164"],"photo_ids_order":["1401998115","1401998160","1401998164","1401998190","1401998224","1401998241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58e118cbec93d4db3ef7f59dde16f666.jpg","text":"TemporaryFile(/tmp/multipartBody5966310474233736809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250383415,"filename":"image_01012026_06_34_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/303c366fa7b7efe97f2d1efe16238661.jpg","text":"TemporaryFile(/tmp/multipartBody4670132233425667487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250383415,"filename":"image_01012026_06_34_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9774263a77d869ac1d88bff291f5dad6.jpg","text":"TemporaryFile(/tmp/multipartBody1150751648126394959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250383415,"filename":"image_01012026_06_34_45_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63f3bc3eadb992c145937b8107644767.jpg","text":"TemporaryFile(/tmp/multipartBody7362505931858836544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250383415,"filename":"image_01012026_06_34_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/325db333587d5287e5063a45667677e9.jpg","text":"TemporaryFile(/tmp/multipartBody4627658341281073913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250383415,"filename":"image_01012026_06_33_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7dac278b27fc6f1534093e9dfc16313.jpg","text":"TemporaryFile(/tmp/multipartBody3740027851896134887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250383415,"filename":"image_01012026_06_34_14_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998164","file1":"1401998160","file0":"1401998115","file4":"1401998224","file5":"1401998241","file3":"1401998190"},"map_files_photo_id_array":[{"photo_id":"1401998241","filename":"file5"},{"photo_id":"1401998164","filename":"file2"},{"photo_id":"1401998224","filename":"file4"},{"photo_id":"1401998160","filename":"file1"},{"photo_id":"1401998115","filename":"file0"},{"photo_id":"1401998190","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401998224":["hashtag1","hashtag2"]},{"1401998160":["hashtag1","hashtag2"]},{"1401998241":["hashtag1","hashtag2"]},{"1401998190":["hashtag1","hashtag2"]},{"1401998115":["hashtag1","hashtag2"]},{"1401998164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401998224, 1401998160, 1401998241, 1401998190, 1401998115, 1401998164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67711782455444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:52:42.328087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_09_1738.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_10_1610.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_13_1580.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_20_2800.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_26_3640.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_44_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/23/56/image_03112025_23_56_09_1738.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_10_1610.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_13_1580.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_20_2800.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_26_3640.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_44_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":["1401998341","1401998283","1401998343","1401998301","1401998336","1401998345"],"photo_ids_order":["1401998283","1401998301","1401998336","1401998341","1401998343","1401998345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2fd2911196b46de76a43268f08f18264.jpg","text":"TemporaryFile(/tmp/multipartBody931502377780542128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250424134,"filename":"image_03112025_23_56_20_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ace89f8371b437381b9a1b663c531a4a.jpg","text":"TemporaryFile(/tmp/multipartBody2685136379598405312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250424134,"filename":"image_03112025_23_56_09_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fddf1bc1fa0adfe184ef96e13a9fa3cd.jpg","text":"TemporaryFile(/tmp/multipartBody5437880050609218537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250424134,"filename":"image_03112025_23_56_26_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03f1554347d8ffd9d2ef0586ffa51270.jpg","text":"TemporaryFile(/tmp/multipartBody4594443296063232646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250424134,"filename":"image_03112025_23_56_10_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4db189b5a6f77eb844a59e6bcfa72be2.jpg","text":"TemporaryFile(/tmp/multipartBody6461788181669837274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250424134,"filename":"image_03112025_23_56_13_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8761ea89d80a72671468fdd3007a09c0.jpg","text":"TemporaryFile(/tmp/multipartBody8777389183300117677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250424134,"filename":"image_03112025_23_56_44_3673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998336","file1":"1401998301","file0":"1401998283","file4":"1401998343","file5":"1401998345","file3":"1401998341"},"map_files_photo_id_array":[{"photo_id":"1401998345","filename":"file5"},{"photo_id":"1401998336","filename":"file2"},{"photo_id":"1401998343","filename":"file4"},{"photo_id":"1401998301","filename":"file1"},{"photo_id":"1401998283","filename":"file0"},{"photo_id":"1401998341","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401998341":["hashtag1","hashtag2"]},{"1401998283":["hashtag1","hashtag2"]},{"1401998343":["hashtag1","hashtag2"]},{"1401998301":["hashtag1","hashtag2"]},{"1401998336":["hashtag1","hashtag2"]},{"1401998345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401998341, 1401998283, 1401998343, 1401998301, 1401998336, 1401998345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01110339164734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:53:22.547689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_55_9683.jpg', '/home/pi/Desktop/images/01012026/06/34/image_01012026_06_35_04_9613.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_15_10679.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_25_9578.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_34_9891.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_44_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_55_9683.jpg
/home/pi/Desktop/images/01012026/06/34/image_01012026_06_35_04_9613.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_15_10679.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_25_9578.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_34_9891.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_44_9819.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.4907379150390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:53:32.516775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_50_2689.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_56_2552.jpg', '/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_58_2714.jpg', '/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_05_2491.jpg', '/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_23_2683.jpg', '/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_32_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/23/56/image_03112025_23_56_50_2689.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_56_2552.jpg
/home/pi/Desktop/images/03112025/23/56/image_03112025_23_56_58_2714.jpg
/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_05_2491.jpg
/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_23_2683.jpg
/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_32_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":["1401998361","1401998355","1401998364","1401998352","1401998366","1401998368"],"photo_ids_order":["1401998352","1401998355","1401998361","1401998364","1401998366","1401998368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df4fe003a12fb1d5aa3c6b3b6d7c9226.jpg","text":"TemporaryFile(/tmp/multipartBody4496932608280118683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250474325,"filename":"image_03112025_23_56_58_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01b3aa70771cd4cc0cf2db2e515217eb.jpg","text":"TemporaryFile(/tmp/multipartBody3793925249994581889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250474325,"filename":"image_03112025_23_56_56_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35b8487de67be0a937af255f50e163f4.jpg","text":"TemporaryFile(/tmp/multipartBody2238123551688520398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250474325,"filename":"image_03112025_23_57_05_2491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c22ce0bf96c9eac1dc16a53850f61918.jpg","text":"TemporaryFile(/tmp/multipartBody3554910864921140072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250474325,"filename":"image_03112025_23_56_50_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dcd7266507509902fb18a89e2f56cd0.jpg","text":"TemporaryFile(/tmp/multipartBody2870214881720699730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250474325,"filename":"image_03112025_23_57_23_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bba8bcc54d71f111d6b47baf2ff49dd9.jpg","text":"TemporaryFile(/tmp/multipartBody731776195137545033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250474325,"filename":"image_03112025_23_57_32_2591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998361","file1":"1401998355","file0":"1401998352","file4":"1401998366","file5":"1401998368","file3":"1401998364"},"map_files_photo_id_array":[{"photo_id":"1401998368","filename":"file5"},{"photo_id":"1401998361","filename":"file2"},{"photo_id":"1401998366","filename":"file4"},{"photo_id":"1401998355","filename":"file1"},{"photo_id":"1401998352","filename":"file0"},{"photo_id":"1401998364","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401998361":["hashtag1","hashtag2"]},{"1401998355":["hashtag1","hashtag2"]},{"1401998364":["hashtag1","hashtag2"]},{"1401998352":["hashtag1","hashtag2"]},{"1401998366":["hashtag1","hashtag2"]},{"1401998368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401998361, 1401998355, 1401998364, 1401998352, 1401998366, 1401998368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.268003702163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:54:12.635640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_34_2671.jpg', '/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_53_3606.jpg', '/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_58_2541.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_02_3728.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_04_2568.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_11_3884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_34_2671.jpg
/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_53_3606.jpg
/home/pi/Desktop/images/03112025/23/57/image_03112025_23_57_58_2541.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_02_3728.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_04_2568.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_11_3884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401998373","1401998376","1401998381","1401998384","1401998378","1401998374"],"photo_ids_order":["1401998373","1401998374","1401998376","1401998378","1401998381","1401998384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/badf4a1705e38c76f285c7352854aa53.jpg","text":"TemporaryFile(/tmp/multipartBody1551182445827091864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250514295,"filename":"image_03112025_23_57_34_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9508cf1aec22744122a8e8720011ab2e.jpg","text":"TemporaryFile(/tmp/multipartBody2744762469249908557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250514295,"filename":"image_03112025_23_57_58_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48a471def46a1a0eb98e55df74ac33c0.jpg","text":"TemporaryFile(/tmp/multipartBody1612051614479380604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250514295,"filename":"image_03112025_23_58_04_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a523111286d1e7f3d45ec610ec0c933.jpg","text":"TemporaryFile(/tmp/multipartBody504362922501416801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250514295,"filename":"image_03112025_23_58_11_3884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63fd976e9038db374630aa08e1538ecb.jpg","text":"TemporaryFile(/tmp/multipartBody5298953002764029334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250514295,"filename":"image_03112025_23_58_02_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/512e5c36658448bc2510632498dc596c.jpg","text":"TemporaryFile(/tmp/multipartBody9171861368557226788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250514295,"filename":"image_03112025_23_57_53_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998376","file1":"1401998374","file0":"1401998373","file4":"1401998381","file5":"1401998384","file3":"1401998378"},"map_files_photo_id_array":[{"photo_id":"1401998384","filename":"file5"},{"photo_id":"1401998376","filename":"file2"},{"photo_id":"1401998381","filename":"file4"},{"photo_id":"1401998374","filename":"file1"},{"photo_id":"1401998373","filename":"file0"},{"photo_id":"1401998378","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401998373":["hashtag1","hashtag2"]},{"1401998376":["hashtag1","hashtag2"]},{"1401998381":["hashtag1","hashtag2"]},{"1401998384":["hashtag1","hashtag2"]},{"1401998378":["hashtag1","hashtag2"]},{"1401998374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401998373, 1401998376, 1401998381, 1401998384, 1401998378, 1401998374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94920778274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:55:02.499477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_55_9683.jpg', '/home/pi/Desktop/images/01012026/06/34/image_01012026_06_35_04_9613.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_15_10679.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_25_9578.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_34_9891.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_44_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/34/image_01012026_06_34_55_9683.jpg
/home/pi/Desktop/images/01012026/06/34/image_01012026_06_35_04_9613.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_15_10679.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_25_9578.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_34_9891.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_44_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":["1401998515","1401998517","1401998502","1401998543","1401998486","1401998464"],"photo_ids_order":["1401998464","1401998486","1401998502","1401998515","1401998517","1401998543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ea08cbd9199eddcf746f320599a0825.jpg","text":"TemporaryFile(/tmp/multipartBody186432496273561632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250563145,"filename":"image_01012026_06_35_25_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7bd0ac9cff49dddecde0ac50641ddde5.jpg","text":"TemporaryFile(/tmp/multipartBody2099187548787064942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250563145,"filename":"image_01012026_06_35_34_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a64782f4d5dd936613728aa0b949eabc.jpg","text":"TemporaryFile(/tmp/multipartBody6143105076147996675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250563145,"filename":"image_01012026_06_35_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/241352ca2c126067cfa116a754da3e87.jpg","text":"TemporaryFile(/tmp/multipartBody7511232506139988350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250563145,"filename":"image_01012026_06_35_44_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bca152488264398262a0ad7fb4b58ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4232284472065624918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250563145,"filename":"image_01012026_06_35_04_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55f40415517bc8863963a1b885d48bf4.jpg","text":"TemporaryFile(/tmp/multipartBody2559039786575486640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250563145,"filename":"image_01012026_06_34_55_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998502","file1":"1401998486","file0":"1401998464","file4":"1401998517","file5":"1401998543","file3":"1401998515"},"map_files_photo_id_array":[{"photo_id":"1401998543","filename":"file5"},{"photo_id":"1401998502","filename":"file2"},{"photo_id":"1401998517","filename":"file4"},{"photo_id":"1401998486","filename":"file1"},{"photo_id":"1401998464","filename":"file0"},{"photo_id":"1401998515","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401998515":["hashtag1","hashtag2"]},{"1401998517":["hashtag1","hashtag2"]},{"1401998502":["hashtag1","hashtag2"]},{"1401998543":["hashtag1","hashtag2"]},{"1401998486":["hashtag1","hashtag2"]},{"1401998464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401998515, 1401998517, 1401998502, 1401998543, 1401998486, 1401998464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75660419464111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:55:41.872963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_14_2812.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_17_2776.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_19_2751.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_22_2659.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_31_2667.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_50_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/23/58/image_03112025_23_58_14_2812.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_17_2776.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_19_2751.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_22_2659.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_31_2667.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_50_1604.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.6524109840393066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:56:02.552265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_54_9754.jpg', '/home/pi/Desktop/images/01012026/06/35/image_01012026_06_36_05_10608.jpg', '/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_14_9759.jpg', '/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_25_10552.jpg', '/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_35_9680.jpg', '/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_44_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_35_54_9754.jpg
/home/pi/Desktop/images/01012026/06/35/image_01012026_06_36_05_10608.jpg
/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_14_9759.jpg
/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_25_10552.jpg
/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_35_9680.jpg
/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_44_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":["1401998697","1401998701","1401998700","1401998703","1401998706","1401998698"],"photo_ids_order":["1401998697","1401998698","1401998700","1401998701","1401998703","1401998706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18cf95c0e13a9cf336cb19aef65377ff.jpg","text":"TemporaryFile(/tmp/multipartBody6968235775898165361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250623164,"filename":"image_01012026_06_35_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5edb2e4cfd77fcc44811505d727bb82f.jpg","text":"TemporaryFile(/tmp/multipartBody3232177540835728425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250623164,"filename":"image_01012026_06_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/2026/1/1/609f1a3539f8b93af0feb4310e70a6cb.jpg","text":"TemporaryFile(/tmp/multipartBody6595167993700671707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250623164,"filename":"image_01012026_06_36_14_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5af9a013253aa6a584298d432afeca0c.jpg","text":"TemporaryFile(/tmp/multipartBody7696374862959926167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250623164,"filename":"image_01012026_06_36_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1652766df5a888d8bccd21e1cbedc6b9.jpg","text":"TemporaryFile(/tmp/multipartBody635672215018566012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250623164,"filename":"image_01012026_06_36_44_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e65dd5f5eb16f5698c32e41b9751b37.jpg","text":"TemporaryFile(/tmp/multipartBody6285946260438891281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250623164,"filename":"image_01012026_06_36_05_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998700","file1":"1401998698","file0":"1401998697","file4":"1401998703","file5":"1401998706","file3":"1401998701"},"map_files_photo_id_array":[{"photo_id":"1401998706","filename":"file5"},{"photo_id":"1401998700","filename":"file2"},{"photo_id":"1401998703","filename":"file4"},{"photo_id":"1401998698","filename":"file1"},{"photo_id":"1401998697","filename":"file0"},{"photo_id":"1401998701","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401998697":["hashtag1","hashtag2"]},{"1401998701":["hashtag1","hashtag2"]},{"1401998700":["hashtag1","hashtag2"]},{"1401998703":["hashtag1","hashtag2"]},{"1401998706":["hashtag1","hashtag2"]},{"1401998698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401998697, 1401998701, 1401998700, 1401998703, 1401998706, 1401998698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71027612686157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:56:42.089607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_14_2812.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_17_2776.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_19_2751.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_22_2659.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_31_2667.jpg', '/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_50_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/23/58/image_03112025_23_58_14_2812.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_17_2776.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_19_2751.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_22_2659.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_31_2667.jpg
/home/pi/Desktop/images/03112025/23/58/image_03112025_23_58_50_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401998719","1401998718","1401998720","1401998714","1401998717","1401998755"],"photo_ids_order":["1401998714","1401998717","1401998718","1401998719","1401998720","1401998755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82fed5eb062926cd3c57c296342de818.jpg","text":"TemporaryFile(/tmp/multipartBody2292149351144242234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250663744,"filename":"image_03112025_23_58_22_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d73c1d67a6b524b9fc6a1446b84ea4c.jpg","text":"TemporaryFile(/tmp/multipartBody4645226574470465302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250663744,"filename":"image_03112025_23_58_19_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/197252cf018e4a398d6ccd99e6f594bc.jpg","text":"TemporaryFile(/tmp/multipartBody5707629470794553166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250663744,"filename":"image_03112025_23_58_31_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e3e1a0f63f2a76b701f94ffba3f80ae.jpg","text":"TemporaryFile(/tmp/multipartBody256314125858805278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250663744,"filename":"image_03112025_23_58_14_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da01b1ea5988b799fbf4eb3a5e9d1b3d.jpg","text":"TemporaryFile(/tmp/multipartBody5029803293831908386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250663744,"filename":"image_03112025_23_58_17_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3be15192f5a4a4e74c73d9384a68491f.jpg","text":"TemporaryFile(/tmp/multipartBody8337268103165946273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250663744,"filename":"image_03112025_23_58_50_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998718","file1":"1401998717","file0":"1401998714","file4":"1401998720","file5":"1401998755","file3":"1401998719"},"map_files_photo_id_array":[{"photo_id":"1401998755","filename":"file5"},{"photo_id":"1401998718","filename":"file2"},{"photo_id":"1401998720","filename":"file4"},{"photo_id":"1401998717","filename":"file1"},{"photo_id":"1401998714","filename":"file0"},{"photo_id":"1401998719","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401998719":["hashtag1","hashtag2"]},{"1401998718":["hashtag1","hashtag2"]},{"1401998720":["hashtag1","hashtag2"]},{"1401998714":["hashtag1","hashtag2"]},{"1401998717":["hashtag1","hashtag2"]},{"1401998755":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401998719, 1401998718, 1401998720, 1401998714, 1401998717, 1401998755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.316056966781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 07:57:22.347238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_54_9610.jpg', '/home/pi/Desktop/images/01012026/06/36/image_01012026_06_37_05_10657.jpg', '/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_15_9787.jpg', '/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_24_9762.jpg', '/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_35_10768.jpg', '/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_45_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/36/image_01012026_06_36_54_9610.jpg
/home/pi/Desktop/images/01012026/06/36/image_01012026_06_37_05_10657.jpg
/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_15_9787.jpg
/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_24_9762.jpg
/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_35_10768.jpg
/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_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":["1401998839","1401998874","1401998871","1401998855","1401998869","1401998821"],"photo_ids_order":["1401998821","1401998839","1401998855","1401998869","1401998871","1401998874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b1ef6bc964d1b7f67175f9640c827d4.jpg","text":"TemporaryFile(/tmp/multipartBody6935946068725324180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250702971,"filename":"image_01012026_06_37_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29d87a88fcf6cdeda2e4cde6130da5f9.jpg","text":"TemporaryFile(/tmp/multipartBody183034659820519022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250702971,"filename":"image_01012026_06_37_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25c7741c2ff04b22cff1560c77af8b08.jpg","text":"TemporaryFile(/tmp/multipartBody5120050310154485456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250702971,"filename":"image_01012026_06_37_35_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3206a877a68162e0a787da6b2849ee1.jpg","text":"TemporaryFile(/tmp/multipartBody7254988405964562452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250702971,"filename":"image_01012026_06_37_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d730cc5b64878eb43e8bd19d30aaa5ba.jpg","text":"TemporaryFile(/tmp/multipartBody556038701290802745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250702971,"filename":"image_01012026_06_37_24_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c6f5590c8d20e3800237f08fa25584f.jpg","text":"TemporaryFile(/tmp/multipartBody6482140609280177790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250702971,"filename":"image_01012026_06_36_54_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998855","file1":"1401998839","file0":"1401998821","file4":"1401998871","file5":"1401998874","file3":"1401998869"},"map_files_photo_id_array":[{"photo_id":"1401998874","filename":"file5"},{"photo_id":"1401998855","filename":"file2"},{"photo_id":"1401998871","filename":"file4"},{"photo_id":"1401998839","filename":"file1"},{"photo_id":"1401998821","filename":"file0"},{"photo_id":"1401998869","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401998839":["hashtag1","hashtag2"]},{"1401998874":["hashtag1","hashtag2"]},{"1401998871":["hashtag1","hashtag2"]},{"1401998855":["hashtag1","hashtag2"]},{"1401998869":["hashtag1","hashtag2"]},{"1401998821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401998839, 1401998874, 1401998871, 1401998855, 1401998869, 1401998821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.006864070892334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 07:59:03.563327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_54_9758.jpg', '/home/pi/Desktop/images/01012026/06/37/image_01012026_06_38_04_9732.jpg', '/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_15_10649.jpg', '/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_24_9602.jpg', '/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_34_9653.jpg', '/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_45_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/37/image_01012026_06_37_54_9758.jpg
/home/pi/Desktop/images/01012026/06/37/image_01012026_06_38_04_9732.jpg
/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_15_10649.jpg
/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_24_9602.jpg
/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_34_9653.jpg
/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_45_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401998880","1401998883","1401998877","1401998885","1401998879","1401998876"],"photo_ids_order":["1401998876","1401998877","1401998879","1401998880","1401998883","1401998885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f194d6da57694fe626981c81d8516794.jpg","text":"TemporaryFile(/tmp/multipartBody6919896425665655343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250804244,"filename":"image_01012026_06_38_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19342ea104742906ef51d96397ad111d.jpg","text":"TemporaryFile(/tmp/multipartBody7447524452865285622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250804244,"filename":"image_01012026_06_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/2026/1/1/45e3e03e05db3839634b831e26918197.jpg","text":"TemporaryFile(/tmp/multipartBody8601675651438758358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250804244,"filename":"image_01012026_06_38_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e56751b3838e556828d7ffd89bd7ea41.jpg","text":"TemporaryFile(/tmp/multipartBody5877639218461676530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250804244,"filename":"image_01012026_06_38_45_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35c1daaf6268497e69bc3975e6e35d65.jpg","text":"TemporaryFile(/tmp/multipartBody7542952567544943170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250804244,"filename":"image_01012026_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/2026/1/1/6a43694a6bd7b21da2f40768cfdb1525.jpg","text":"TemporaryFile(/tmp/multipartBody2438393064249196180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250804244,"filename":"image_01012026_06_37_54_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998879","file1":"1401998877","file0":"1401998876","file4":"1401998883","file5":"1401998885","file3":"1401998880"},"map_files_photo_id_array":[{"photo_id":"1401998885","filename":"file5"},{"photo_id":"1401998879","filename":"file2"},{"photo_id":"1401998883","filename":"file4"},{"photo_id":"1401998877","filename":"file1"},{"photo_id":"1401998876","filename":"file0"},{"photo_id":"1401998880","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401998880":["hashtag1","hashtag2"]},{"1401998883":["hashtag1","hashtag2"]},{"1401998877":["hashtag1","hashtag2"]},{"1401998885":["hashtag1","hashtag2"]},{"1401998879":["hashtag1","hashtag2"]},{"1401998876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401998880, 1401998883, 1401998877, 1401998885, 1401998879, 1401998876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04743027687073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 07:59:42.510943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_22_2596.jpg', '/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_26_3549.jpg', '/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_41_3615.jpg', '/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_44_2722.jpg', '/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_46_2663.jpg', '/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_55_2846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_22_2596.jpg
/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_26_3549.jpg
/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_41_3615.jpg
/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_44_2722.jpg
/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_46_2663.jpg
/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_55_2846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401998905","1401998898","1401998901","1401998894","1401998903","1401998900"],"photo_ids_order":["1401998894","1401998898","1401998900","1401998901","1401998903","1401998905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd7d9fd52afc126bd73f62286ca61199.jpg","text":"TemporaryFile(/tmp/multipartBody8479425917754578939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250844288,"filename":"image_03112025_23_59_55_2846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c35ac306583072bf6933e4fc0da54366.jpg","text":"TemporaryFile(/tmp/multipartBody5389788858984852550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250844288,"filename":"image_03112025_23_59_26_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76d2cd09cad1e659ab8e77a06cb2c4da.jpg","text":"TemporaryFile(/tmp/multipartBody984998483930582130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250844288,"filename":"image_03112025_23_59_44_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3784179b54080a5607022bf964790a7c.jpg","text":"TemporaryFile(/tmp/multipartBody563423725900281302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250844288,"filename":"image_03112025_23_59_22_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc991a8e76d95b016350f30a486553f9.jpg","text":"TemporaryFile(/tmp/multipartBody5994013208255856415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250844288,"filename":"image_03112025_23_59_46_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9314015659df217c59a185889b53d18.jpg","text":"TemporaryFile(/tmp/multipartBody5263089687208807246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250844288,"filename":"image_03112025_23_59_41_3615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998900","file1":"1401998898","file0":"1401998894","file4":"1401998903","file5":"1401998905","file3":"1401998901"},"map_files_photo_id_array":[{"photo_id":"1401998905","filename":"file5"},{"photo_id":"1401998900","filename":"file2"},{"photo_id":"1401998903","filename":"file4"},{"photo_id":"1401998898","filename":"file1"},{"photo_id":"1401998894","filename":"file0"},{"photo_id":"1401998901","filename":"file3"}],"portfolio_id":28082735,"hashtag_by_photo_ids":[{"1401998905":["hashtag1","hashtag2"]},{"1401998898":["hashtag1","hashtag2"]},{"1401998901":["hashtag1","hashtag2"]},{"1401998894":["hashtag1","hashtag2"]},{"1401998903":["hashtag1","hashtag2"]},{"1401998900":["hashtag1","hashtag2"]}],"comms":"Portfolio 28082735 used, photo_id : ArrayBuffer(1401998905, 1401998898, 1401998901, 1401998894, 1401998903, 1401998900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.84395718574524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:00:32.675045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
  port_id : 28082735
  datou_current_id : 3981661
in upload_from_sqlite, uploading in 28082735
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_58_3125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3981661&datou=0
/home/pi/Desktop/images/03112025/23/59/image_03112025_23_59_58_3125.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401998911"],"photo_id":"1401998911","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b2c11c0fde39a3fbf30f0dab536fdbd.jpg","text":"TemporaryFile(/tmp/multipartBody4754580822229896618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250894265,"filename":"image_03112025_23_59_58_3125.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1401998911"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1401998911"}],"hashtags":[],"portfolio_id":"28082735","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.135748147964478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:01:03.327242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_55_9662.jpg', '/home/pi/Desktop/images/01012026/06/38/image_01012026_06_39_04_9812.jpg', '/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_15_10691.jpg', '/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_25_9563.jpg', '/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_34_9737.jpg', '/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_45_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/38/image_01012026_06_38_55_9662.jpg
/home/pi/Desktop/images/01012026/06/38/image_01012026_06_39_04_9812.jpg
/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_15_10691.jpg
/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_25_9563.jpg
/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_34_9737.jpg
/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_45_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":["1401998923","1401998922","1401998921","1401998924","1401998918","1401998926"],"photo_ids_order":["1401998918","1401998921","1401998922","1401998923","1401998924","1401998926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2361e7734d11890702b337197c9653bf.jpg","text":"TemporaryFile(/tmp/multipartBody4432207846779976400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250923986,"filename":"image_01012026_06_39_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ba50b2d4af0e95c26c2d323cabb1ef5.jpg","text":"TemporaryFile(/tmp/multipartBody309888370912591196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250923986,"filename":"image_01012026_06_39_15_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5bc5fa4cdca31eeba6e2aa676eca5eb.jpg","text":"TemporaryFile(/tmp/multipartBody1897491506369777744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250923986,"filename":"image_01012026_06_39_04_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d289c199e3ae3a50223773a6c179b71e.jpg","text":"TemporaryFile(/tmp/multipartBody7493008427189309562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250923986,"filename":"image_01012026_06_39_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d09375971eaddce6420eae2ea0fe11a2.jpg","text":"TemporaryFile(/tmp/multipartBody2877472832920705278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250923986,"filename":"image_01012026_06_38_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78b02e94e9fd7c04d8362854cc3ccb3a.jpg","text":"TemporaryFile(/tmp/multipartBody3106793157556340934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250923986,"filename":"image_01012026_06_39_45_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998922","file1":"1401998921","file0":"1401998918","file4":"1401998924","file5":"1401998926","file3":"1401998923"},"map_files_photo_id_array":[{"photo_id":"1401998926","filename":"file5"},{"photo_id":"1401998922","filename":"file2"},{"photo_id":"1401998924","filename":"file4"},{"photo_id":"1401998921","filename":"file1"},{"photo_id":"1401998918","filename":"file0"},{"photo_id":"1401998923","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401998923":["hashtag1","hashtag2"]},{"1401998922":["hashtag1","hashtag2"]},{"1401998921":["hashtag1","hashtag2"]},{"1401998924":["hashtag1","hashtag2"]},{"1401998918":["hashtag1","hashtag2"]},{"1401998926":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401998923, 1401998922, 1401998921, 1401998924, 1401998918, 1401998926)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0108425617218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:01:42.820956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_38_2672.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_42_3677.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_44_2598.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_47_2697.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_51_3615.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_53_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_38_2672.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_42_3677.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_44_2598.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_47_2697.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_51_3615.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_53_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":["1401998937","1401998931","1401998934","1401998936","1401998933","1401998935"],"photo_ids_order":["1401998931","1401998933","1401998934","1401998935","1401998936","1401998937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ba60288d44b1892b215dba613d478fe.jpg","text":"TemporaryFile(/tmp/multipartBody7830345764842596824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250964747,"filename":"image_04112025_15_21_53_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82fa0f45c571fabc329cabee6c847850.jpg","text":"TemporaryFile(/tmp/multipartBody4643926565487836457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250964747,"filename":"image_04112025_15_21_38_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbfa6bb8ad362e7fa32ad404206a8927.jpg","text":"TemporaryFile(/tmp/multipartBody5745741730013788248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250964747,"filename":"image_04112025_15_21_44_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fde72c90959b59649c5773cc7fbc9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4631248777834795823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250964747,"filename":"image_04112025_15_21_51_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0229b187d24944403cf643cb382f5bf8.jpg","text":"TemporaryFile(/tmp/multipartBody3850031935323393577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250964747,"filename":"image_04112025_15_21_42_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc7b957a6b46d31a13ec9d67eb11e31b.jpg","text":"TemporaryFile(/tmp/multipartBody7351510361875708865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767250964747,"filename":"image_04112025_15_21_47_2697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998934","file1":"1401998933","file0":"1401998931","file4":"1401998936","file5":"1401998937","file3":"1401998935"},"map_files_photo_id_array":[{"photo_id":"1401998937","filename":"file5"},{"photo_id":"1401998934","filename":"file2"},{"photo_id":"1401998936","filename":"file4"},{"photo_id":"1401998933","filename":"file1"},{"photo_id":"1401998931","filename":"file0"},{"photo_id":"1401998935","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401998937":["hashtag1","hashtag2"]},{"1401998931":["hashtag1","hashtag2"]},{"1401998934":["hashtag1","hashtag2"]},{"1401998936":["hashtag1","hashtag2"]},{"1401998933":["hashtag1","hashtag2"]},{"1401998935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401998937, 1401998931, 1401998934, 1401998936, 1401998933, 1401998935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.845834255218506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:02:21.988198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_55_9653.jpg', '/home/pi/Desktop/images/01012026/06/39/image_01012026_06_40_04_9715.jpg', '/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_14_9795.jpg', '/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_25_10736.jpg', '/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_35_9750.jpg', '/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_44_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/39/image_01012026_06_39_55_9653.jpg
/home/pi/Desktop/images/01012026/06/39/image_01012026_06_40_04_9715.jpg
/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_14_9795.jpg
/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_25_10736.jpg
/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_35_9750.jpg
/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_44_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401998938","1401998946","1401998940","1401998942","1401998950","1401998944"],"photo_ids_order":["1401998938","1401998940","1401998942","1401998944","1401998946","1401998950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23e780f3e288811f2cedbb7270c824a7.jpg","text":"TemporaryFile(/tmp/multipartBody3326262345215087459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251002579,"filename":"image_01012026_06_39_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0961a9e3cd8af5cf0e8dbfa8f3740411.jpg","text":"TemporaryFile(/tmp/multipartBody3044707631638900320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251002579,"filename":"image_01012026_06_40_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32f50519abfe34afe30ae737f162081d.jpg","text":"TemporaryFile(/tmp/multipartBody260078875094986579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251002579,"filename":"image_01012026_06_40_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/faa054f9aa8d2323fb9dba5979fef134.jpg","text":"TemporaryFile(/tmp/multipartBody8490205008808997160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251002579,"filename":"image_01012026_06_40_14_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e97d30f259a198cd23375115345ce78.jpg","text":"TemporaryFile(/tmp/multipartBody7264858315189772119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251002579,"filename":"image_01012026_06_40_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55820805aa5bd3fdf0cc857b16419462.jpg","text":"TemporaryFile(/tmp/multipartBody6467712449174838588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251002579,"filename":"image_01012026_06_40_25_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998942","file1":"1401998940","file0":"1401998938","file4":"1401998946","file5":"1401998950","file3":"1401998944"},"map_files_photo_id_array":[{"photo_id":"1401998950","filename":"file5"},{"photo_id":"1401998942","filename":"file2"},{"photo_id":"1401998946","filename":"file4"},{"photo_id":"1401998940","filename":"file1"},{"photo_id":"1401998938","filename":"file0"},{"photo_id":"1401998944","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401998938":["hashtag1","hashtag2"]},{"1401998946":["hashtag1","hashtag2"]},{"1401998940":["hashtag1","hashtag2"]},{"1401998942":["hashtag1","hashtag2"]},{"1401998950":["hashtag1","hashtag2"]},{"1401998944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401998938, 1401998946, 1401998940, 1401998942, 1401998950, 1401998944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.616469860076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:03:02.849675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_55_10669.jpg', '/home/pi/Desktop/images/01012026/06/40/image_01012026_06_41_05_9657.jpg', '/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_14_9575.jpg', '/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_25_10786.jpg', '/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_35_9695.jpg', '/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/40/image_01012026_06_40_55_10669.jpg
/home/pi/Desktop/images/01012026/06/40/image_01012026_06_41_05_9657.jpg
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_14_9575.jpg
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_25_10786.jpg
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_35_9695.jpg
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_44_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401998961","1401998958","1401998954","1401998957","1401998959","1401998956"],"photo_ids_order":["1401998954","1401998956","1401998957","1401998958","1401998959","1401998961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a55c958fcf360b484e6e8bc7ba09a43.jpg","text":"TemporaryFile(/tmp/multipartBody7608099146909506474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251043523,"filename":"image_01012026_06_41_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25be3b91c18f42e8079eb68533176b95.jpg","text":"TemporaryFile(/tmp/multipartBody6995232130255646497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251043523,"filename":"image_01012026_06_41_25_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6fa9b493e7c2e68ff1996b02ee06e064.jpg","text":"TemporaryFile(/tmp/multipartBody5940852373494234367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251043523,"filename":"image_01012026_06_40_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b309ddab2bf8d86457f7f280b5faee2a.jpg","text":"TemporaryFile(/tmp/multipartBody2036961700559486955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251043523,"filename":"image_01012026_06_41_14_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36b94bcf34fe855f8207d91a106a09e6.jpg","text":"TemporaryFile(/tmp/multipartBody7187505989135358418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251043523,"filename":"image_01012026_06_41_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/193d92f54d0ac00aff7ed2787ca5ea60.jpg","text":"TemporaryFile(/tmp/multipartBody6880692941655975658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251043523,"filename":"image_01012026_06_41_05_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998957","file1":"1401998956","file0":"1401998954","file4":"1401998959","file5":"1401998961","file3":"1401998958"},"map_files_photo_id_array":[{"photo_id":"1401998961","filename":"file5"},{"photo_id":"1401998957","filename":"file2"},{"photo_id":"1401998959","filename":"file4"},{"photo_id":"1401998956","filename":"file1"},{"photo_id":"1401998954","filename":"file0"},{"photo_id":"1401998958","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401998961":["hashtag1","hashtag2"]},{"1401998958":["hashtag1","hashtag2"]},{"1401998954":["hashtag1","hashtag2"]},{"1401998957":["hashtag1","hashtag2"]},{"1401998959":["hashtag1","hashtag2"]},{"1401998956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401998961, 1401998958, 1401998954, 1401998957, 1401998959, 1401998956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34584927558899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:03:42.218538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_56_2632.jpg', '/home/pi/Desktop/images/04112025/15/21/image_04112025_15_22_00_3752.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_02_2714.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_05_2630.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_12_7288.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_14_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_21_56_2632.jpg
/home/pi/Desktop/images/04112025/15/21/image_04112025_15_22_00_3752.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_02_2714.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_05_2630.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_12_7288.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_14_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":["1401998970","1401998972","1401998966","1401998969","1401998971","1401998968"],"photo_ids_order":["1401998966","1401998968","1401998969","1401998970","1401998971","1401998972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/427067520c0e950e4528d867c214e007.jpg","text":"TemporaryFile(/tmp/multipartBody8962605730479643128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251084144,"filename":"image_04112025_15_22_05_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c24abc3358c593a5cc53bb270a048fee.jpg","text":"TemporaryFile(/tmp/multipartBody4770224943686055392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251084144,"filename":"image_04112025_15_22_14_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd9256934ae27d69da5fcc1463f0a00a.jpg","text":"TemporaryFile(/tmp/multipartBody6807191348759200402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251084144,"filename":"image_04112025_15_21_56_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/854eb26660783bfa2af6fb44d19eedc4.jpg","text":"TemporaryFile(/tmp/multipartBody5793572499381882513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251084144,"filename":"image_04112025_15_22_02_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da71a84a0f11040ec99ad50cbef52504.jpg","text":"TemporaryFile(/tmp/multipartBody1273837217020979484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251084144,"filename":"image_04112025_15_22_12_7288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/584c06278ea6d4312be9cfc8e0e12641.jpg","text":"TemporaryFile(/tmp/multipartBody6421912347918778779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251084144,"filename":"image_04112025_15_22_00_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998969","file1":"1401998968","file0":"1401998966","file4":"1401998971","file5":"1401998972","file3":"1401998970"},"map_files_photo_id_array":[{"photo_id":"1401998972","filename":"file5"},{"photo_id":"1401998969","filename":"file2"},{"photo_id":"1401998971","filename":"file4"},{"photo_id":"1401998968","filename":"file1"},{"photo_id":"1401998966","filename":"file0"},{"photo_id":"1401998970","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401998970":["hashtag1","hashtag2"]},{"1401998972":["hashtag1","hashtag2"]},{"1401998966":["hashtag1","hashtag2"]},{"1401998969":["hashtag1","hashtag2"]},{"1401998971":["hashtag1","hashtag2"]},{"1401998968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401998970, 1401998972, 1401998966, 1401998969, 1401998971, 1401998968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.616775035858154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:04:22.409193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_55_10733.jpg', '/home/pi/Desktop/images/01012026/06/41/image_01012026_06_42_05_9666.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_14_9750.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_24_9704.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_35_10923.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_45_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_55_10733.jpg
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_42_05_9666.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_14_9750.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_24_9704.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_35_10923.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_45_9593.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.5222938060760498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:04:32.537470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_17_3117.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_19_1992.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_21_1627.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_23_2653.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_26_2683.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_29_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_17_3117.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_19_1992.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_21_1627.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_23_2653.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_26_2683.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_29_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":["1401998988","1401998982","1401998985","1401998979","1401998984","1401998987"],"photo_ids_order":["1401998979","1401998982","1401998984","1401998985","1401998987","1401998988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f32cf1337b8765f6b22617c03e182c0.jpg","text":"TemporaryFile(/tmp/multipartBody4992155660336215669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251134470,"filename":"image_04112025_15_22_29_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af473d74316ef3c173a5571ed653237b.jpg","text":"TemporaryFile(/tmp/multipartBody1453341568949640967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251134470,"filename":"image_04112025_15_22_19_1992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b928112637e3b2e1fd9479a8c02101b9.jpg","text":"TemporaryFile(/tmp/multipartBody8019464599980746242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251134470,"filename":"image_04112025_15_22_23_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3eb862632890b235c71546ac90d5a252.jpg","text":"TemporaryFile(/tmp/multipartBody1318086965627455550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251134470,"filename":"image_04112025_15_22_17_3117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/544d14897ba84bf30100ec80b2f7dd5a.jpg","text":"TemporaryFile(/tmp/multipartBody1876966868723528920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251134470,"filename":"image_04112025_15_22_21_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/503810318f0583897ef5f1a8088c03c6.jpg","text":"TemporaryFile(/tmp/multipartBody2291767017375316807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251134470,"filename":"image_04112025_15_22_26_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998984","file1":"1401998982","file0":"1401998979","file4":"1401998987","file5":"1401998988","file3":"1401998985"},"map_files_photo_id_array":[{"photo_id":"1401998988","filename":"file5"},{"photo_id":"1401998984","filename":"file2"},{"photo_id":"1401998987","filename":"file4"},{"photo_id":"1401998982","filename":"file1"},{"photo_id":"1401998979","filename":"file0"},{"photo_id":"1401998985","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401998988":["hashtag1","hashtag2"]},{"1401998982":["hashtag1","hashtag2"]},{"1401998985":["hashtag1","hashtag2"]},{"1401998979":["hashtag1","hashtag2"]},{"1401998984":["hashtag1","hashtag2"]},{"1401998987":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401998988, 1401998982, 1401998985, 1401998979, 1401998984, 1401998987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.932573556900024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:05:12.537888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_32_3719.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_35_2600.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_39_3620.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_41_2793.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_44_2841.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_47_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_32_3719.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_35_2600.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_39_3620.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_41_2793.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_44_2841.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_47_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401998994","1401998996","1401998990","1401998989","1401998998","1401998992"],"photo_ids_order":["1401998989","1401998990","1401998992","1401998994","1401998996","1401998998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/704443a8a2cf9edfb165c13456c88478.jpg","text":"TemporaryFile(/tmp/multipartBody5310433153487285618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251174370,"filename":"image_04112025_15_22_41_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/550bb67170acd66b33a80f6bfacd4892.jpg","text":"TemporaryFile(/tmp/multipartBody8234345099565165352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251174370,"filename":"image_04112025_15_22_44_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df46058caa2cfc3d5b837f09fa96da82.jpg","text":"TemporaryFile(/tmp/multipartBody646371405956806728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251174370,"filename":"image_04112025_15_22_35_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d0efb67c862f1bac92bed60eca234fc.jpg","text":"TemporaryFile(/tmp/multipartBody2844498540368857365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251174370,"filename":"image_04112025_15_22_32_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ae6c9000ea9649dd177d7e9e698b498.jpg","text":"TemporaryFile(/tmp/multipartBody1174553771779451029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251174370,"filename":"image_04112025_15_22_47_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d81cd490d390e58c9213cc878c398c38.jpg","text":"TemporaryFile(/tmp/multipartBody5004927077042722331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251174370,"filename":"image_04112025_15_22_39_3620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401998992","file1":"1401998990","file0":"1401998989","file4":"1401998996","file5":"1401998998","file3":"1401998994"},"map_files_photo_id_array":[{"photo_id":"1401998998","filename":"file5"},{"photo_id":"1401998992","filename":"file2"},{"photo_id":"1401998996","filename":"file4"},{"photo_id":"1401998990","filename":"file1"},{"photo_id":"1401998989","filename":"file0"},{"photo_id":"1401998994","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401998994":["hashtag1","hashtag2"]},{"1401998996":["hashtag1","hashtag2"]},{"1401998990":["hashtag1","hashtag2"]},{"1401998989":["hashtag1","hashtag2"]},{"1401998998":["hashtag1","hashtag2"]},{"1401998992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401998994, 1401998996, 1401998990, 1401998989, 1401998998, 1401998992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.764561891555786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:06:03.197494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_55_10733.jpg', '/home/pi/Desktop/images/01012026/06/41/image_01012026_06_42_05_9666.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_14_9750.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_24_9704.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_35_10923.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_45_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_55_10733.jpg
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_42_05_9666.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_14_9750.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_24_9704.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_35_10923.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_45_9593.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.5398986339569092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:06:12.732800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_51_3613.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_53_2772.jpg', '/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_56_2785.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_01_4986.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_03_1588.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_06_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_51_3613.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_53_2772.jpg
/home/pi/Desktop/images/04112025/15/22/image_04112025_15_22_56_2785.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_01_4986.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_03_1588.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_06_2841.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999012","1401999005","1401999014","1401999007","1401999016","1401999010"],"photo_ids_order":["1401999005","1401999007","1401999010","1401999012","1401999014","1401999016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a23edcc21d8200ca8f51fd43dd1b9530.jpg","text":"TemporaryFile(/tmp/multipartBody1008497602249601447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251234516,"filename":"image_04112025_15_23_01_4986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4277c82ecbefcc640ce51d26c20e9c5.jpg","text":"TemporaryFile(/tmp/multipartBody5729828541870827179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251234516,"filename":"image_04112025_15_22_51_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4e6e871d9e29f948d04857bc05fb9e4.jpg","text":"TemporaryFile(/tmp/multipartBody4712143548942853241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251234516,"filename":"image_04112025_15_23_03_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a0b8095600f9a015f50dfe7079efdad.jpg","text":"TemporaryFile(/tmp/multipartBody1998489739454522100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251234516,"filename":"image_04112025_15_22_53_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9de4ebc5cce538b079745b4628bebc29.jpg","text":"TemporaryFile(/tmp/multipartBody795574330726513751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251234516,"filename":"image_04112025_15_23_06_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcc4c0280bc3427b9dcf1e8d9ea92f15.jpg","text":"TemporaryFile(/tmp/multipartBody1590471062887965870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251234516,"filename":"image_04112025_15_22_56_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999010","file1":"1401999007","file0":"1401999005","file4":"1401999014","file5":"1401999016","file3":"1401999012"},"map_files_photo_id_array":[{"photo_id":"1401999016","filename":"file5"},{"photo_id":"1401999010","filename":"file2"},{"photo_id":"1401999014","filename":"file4"},{"photo_id":"1401999007","filename":"file1"},{"photo_id":"1401999005","filename":"file0"},{"photo_id":"1401999012","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999012":["hashtag1","hashtag2"]},{"1401999005":["hashtag1","hashtag2"]},{"1401999014":["hashtag1","hashtag2"]},{"1401999007":["hashtag1","hashtag2"]},{"1401999016":["hashtag1","hashtag2"]},{"1401999010":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999012, 1401999005, 1401999014, 1401999007, 1401999016, 1401999010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54728698730469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:07:02.669352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_55_10733.jpg', '/home/pi/Desktop/images/01012026/06/41/image_01012026_06_42_05_9666.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_14_9750.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_24_9704.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_35_10923.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_45_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_41_55_10733.jpg
/home/pi/Desktop/images/01012026/06/41/image_01012026_06_42_05_9666.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_14_9750.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_24_9704.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_35_10923.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_45_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":["1401999024","1401999027","1401999021","1401999023","1401999025","1401999022"],"photo_ids_order":["1401999021","1401999022","1401999023","1401999024","1401999025","1401999027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af7e90d6c672172eae157b24a933f670.jpg","text":"TemporaryFile(/tmp/multipartBody8784133218370961201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251283321,"filename":"image_01012026_06_42_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92219c5944c301c7dccd366043833da6.jpg","text":"TemporaryFile(/tmp/multipartBody7400699489681902894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251283321,"filename":"image_01012026_06_42_45_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/213414a7db0aecb9d7d610bfc9ba0e62.jpg","text":"TemporaryFile(/tmp/multipartBody1625446496810197052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251283321,"filename":"image_01012026_06_41_55_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9753722833c5edc044b831c8e3cbc12.jpg","text":"TemporaryFile(/tmp/multipartBody529371009329854049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251283321,"filename":"image_01012026_06_42_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d3e35552bb990a65dad73dc81349e60.jpg","text":"TemporaryFile(/tmp/multipartBody6403532947806942619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251283321,"filename":"image_01012026_06_42_35_10923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4cceb44e422e7ee3f1d4a59b5100cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody169286893388062331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251283321,"filename":"image_01012026_06_42_05_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999023","file1":"1401999022","file0":"1401999021","file4":"1401999025","file5":"1401999027","file3":"1401999024"},"map_files_photo_id_array":[{"photo_id":"1401999027","filename":"file5"},{"photo_id":"1401999023","filename":"file2"},{"photo_id":"1401999025","filename":"file4"},{"photo_id":"1401999022","filename":"file1"},{"photo_id":"1401999021","filename":"file0"},{"photo_id":"1401999024","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999024":["hashtag1","hashtag2"]},{"1401999027":["hashtag1","hashtag2"]},{"1401999021":["hashtag1","hashtag2"]},{"1401999023":["hashtag1","hashtag2"]},{"1401999025":["hashtag1","hashtag2"]},{"1401999022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999024, 1401999027, 1401999021, 1401999023, 1401999025, 1401999022)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.3233118057251 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:08:03.297528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_54_9613.jpg', '/home/pi/Desktop/images/01012026/06/42/image_01012026_06_43_04_9835.jpg', '/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_15_10758.jpg', '/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_25_9806.jpg', '/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_34_9766.jpg', '/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_44_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_42_54_9613.jpg
/home/pi/Desktop/images/01012026/06/42/image_01012026_06_43_04_9835.jpg
/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_15_10758.jpg
/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_25_9806.jpg
/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_34_9766.jpg
/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_44_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":["1401999036","1401999033","1401999041","1401999035","1401999038","1401999034"],"photo_ids_order":["1401999033","1401999034","1401999035","1401999036","1401999038","1401999041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c61de3fc2c4df994e501f903af6f8bb2.jpg","text":"TemporaryFile(/tmp/multipartBody5647758474393581805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251343948,"filename":"image_01012026_06_43_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1b49682ae11c0198bd4418cbcc31e3f.jpg","text":"TemporaryFile(/tmp/multipartBody4847989845218263775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251343948,"filename":"image_01012026_06_42_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3b980fe8d8d2890376b0ea3d4899dc9.jpg","text":"TemporaryFile(/tmp/multipartBody3744128734156046815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251343948,"filename":"image_01012026_06_43_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69fcc77e490544cbae6513d69b0be2e7.jpg","text":"TemporaryFile(/tmp/multipartBody8749110643058610755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251343948,"filename":"image_01012026_06_43_15_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a4feb104e11e4884e0bb3a43c985085.jpg","text":"TemporaryFile(/tmp/multipartBody5051122707784123603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251343948,"filename":"image_01012026_06_43_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1da6e08eb5b679b6297252af33cfc9bd.jpg","text":"TemporaryFile(/tmp/multipartBody631391698192508665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251343948,"filename":"image_01012026_06_43_04_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999035","file1":"1401999034","file0":"1401999033","file4":"1401999038","file5":"1401999041","file3":"1401999036"},"map_files_photo_id_array":[{"photo_id":"1401999041","filename":"file5"},{"photo_id":"1401999035","filename":"file2"},{"photo_id":"1401999038","filename":"file4"},{"photo_id":"1401999034","filename":"file1"},{"photo_id":"1401999033","filename":"file0"},{"photo_id":"1401999036","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999036":["hashtag1","hashtag2"]},{"1401999033":["hashtag1","hashtag2"]},{"1401999041":["hashtag1","hashtag2"]},{"1401999035":["hashtag1","hashtag2"]},{"1401999038":["hashtag1","hashtag2"]},{"1401999034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999036, 1401999033, 1401999041, 1401999035, 1401999038, 1401999034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53353810310364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:08:42.833949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_08_2639.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_11_2659.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_14_2763.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_17_3596.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_20_2681.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_23_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_08_2639.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_11_2659.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_14_2763.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_17_3596.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_20_2681.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_23_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":["1401999054","1401999053","1401999056","1401999052","1401999055","1401999049"],"photo_ids_order":["1401999049","1401999052","1401999053","1401999054","1401999055","1401999056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbf48bd6d3c27c10e93000fb55146359.jpg","text":"TemporaryFile(/tmp/multipartBody4695199200119134559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251384747,"filename":"image_04112025_15_23_17_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b74552b4a3597933318937fea461606b.jpg","text":"TemporaryFile(/tmp/multipartBody2361399401903520942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251384747,"filename":"image_04112025_15_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/2026/1/1/5e1dc248819e47aec5884063a0763fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4642825035265769755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251384747,"filename":"image_04112025_15_23_23_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de072f44c6ba5f97e432e805343cf044.jpg","text":"TemporaryFile(/tmp/multipartBody4999629280096569533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251384747,"filename":"image_04112025_15_23_11_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4917186475f366f2b5f1ef5c81c15d02.jpg","text":"TemporaryFile(/tmp/multipartBody3889996249100145471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251384747,"filename":"image_04112025_15_23_20_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10dc0c8e259e92b99ac1b79c28463b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4246833273745871341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251384747,"filename":"image_04112025_15_23_08_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999053","file1":"1401999052","file0":"1401999049","file4":"1401999055","file5":"1401999056","file3":"1401999054"},"map_files_photo_id_array":[{"photo_id":"1401999056","filename":"file5"},{"photo_id":"1401999053","filename":"file2"},{"photo_id":"1401999055","filename":"file4"},{"photo_id":"1401999052","filename":"file1"},{"photo_id":"1401999049","filename":"file0"},{"photo_id":"1401999054","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999054":["hashtag1","hashtag2"]},{"1401999053":["hashtag1","hashtag2"]},{"1401999056":["hashtag1","hashtag2"]},{"1401999052":["hashtag1","hashtag2"]},{"1401999055":["hashtag1","hashtag2"]},{"1401999049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999054, 1401999053, 1401999056, 1401999052, 1401999055, 1401999049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.029154777526855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:09:21.995080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_55_10747.jpg', '/home/pi/Desktop/images/01012026/06/43/image_01012026_06_44_05_9658.jpg', '/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_14_9790.jpg', '/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_25_10668.jpg', '/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_35_9660.jpg', '/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_44_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/43/image_01012026_06_43_55_10747.jpg
/home/pi/Desktop/images/01012026/06/43/image_01012026_06_44_05_9658.jpg
/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_14_9790.jpg
/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_25_10668.jpg
/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_35_9660.jpg
/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_44_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":["1401999063","1401999057","1401999065","1401999059","1401999068","1401999061"],"photo_ids_order":["1401999057","1401999059","1401999061","1401999063","1401999065","1401999068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a2a9ab215fdc2366b86196c126f7cc9.jpg","text":"TemporaryFile(/tmp/multipartBody6754205040459443201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251422581,"filename":"image_01012026_06_44_25_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81cb342eb31d62957e0f2ea3a4509e66.jpg","text":"TemporaryFile(/tmp/multipartBody5086170429757234355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251422581,"filename":"image_01012026_06_43_55_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebac6858c206c681c695900cc5315697.jpg","text":"TemporaryFile(/tmp/multipartBody2407091004600836860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251422581,"filename":"image_01012026_06_44_35_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a5bb328958958d39fb90cf63cbf567a.jpg","text":"TemporaryFile(/tmp/multipartBody994088468148836719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251422581,"filename":"image_01012026_06_44_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3efc2bcfdd7194fad949b0ec354557b.jpg","text":"TemporaryFile(/tmp/multipartBody8655664718561017315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251422581,"filename":"image_01012026_06_44_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3b911634608aa16cd3e0377ea40b851.jpg","text":"TemporaryFile(/tmp/multipartBody484380876855431704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251422581,"filename":"image_01012026_06_44_14_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999061","file1":"1401999059","file0":"1401999057","file4":"1401999065","file5":"1401999068","file3":"1401999063"},"map_files_photo_id_array":[{"photo_id":"1401999068","filename":"file5"},{"photo_id":"1401999061","filename":"file2"},{"photo_id":"1401999065","filename":"file4"},{"photo_id":"1401999059","filename":"file1"},{"photo_id":"1401999057","filename":"file0"},{"photo_id":"1401999063","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999063":["hashtag1","hashtag2"]},{"1401999057":["hashtag1","hashtag2"]},{"1401999065":["hashtag1","hashtag2"]},{"1401999059":["hashtag1","hashtag2"]},{"1401999068":["hashtag1","hashtag2"]},{"1401999061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999063, 1401999057, 1401999065, 1401999059, 1401999068, 1401999061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68629741668701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:10:02.637794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_54_9874.jpg', '/home/pi/Desktop/images/01012026/06/44/image_01012026_06_45_05_10714.jpg', '/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_14_9629.jpg', '/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_24_9658.jpg', '/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_35_10836.jpg', '/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_45_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/44/image_01012026_06_44_54_9874.jpg
/home/pi/Desktop/images/01012026/06/44/image_01012026_06_45_05_10714.jpg
/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_14_9629.jpg
/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_24_9658.jpg
/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_35_10836.jpg
/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_45_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":["1401999071","1401999074","1401999076","1401999070","1401999073","1401999072"],"photo_ids_order":["1401999070","1401999071","1401999072","1401999073","1401999074","1401999076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/799b322c434766bdaf40bf02840d3bf1.jpg","text":"TemporaryFile(/tmp/multipartBody4425125057413008576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251463262,"filename":"image_01012026_06_45_05_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1d24722caa275e1dfea0614a17c4bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3465770845466527262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251463262,"filename":"image_01012026_06_45_35_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6813f83780a22f51deaf1d3d195055ba.jpg","text":"TemporaryFile(/tmp/multipartBody2681370183388180560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251463262,"filename":"image_01012026_06_45_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/658832ea99f46bf0c347ca6eb9c89e8f.jpg","text":"TemporaryFile(/tmp/multipartBody5427843713240670240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251463262,"filename":"image_01012026_06_44_54_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4e6f6619d6147f614227075d97a720c.jpg","text":"TemporaryFile(/tmp/multipartBody7459049930455245544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251463262,"filename":"image_01012026_06_45_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21de0f2c110ccb067b269e48067ec8c5.jpg","text":"TemporaryFile(/tmp/multipartBody865344839422340434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251463262,"filename":"image_01012026_06_45_14_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999072","file1":"1401999071","file0":"1401999070","file4":"1401999074","file5":"1401999076","file3":"1401999073"},"map_files_photo_id_array":[{"photo_id":"1401999076","filename":"file5"},{"photo_id":"1401999072","filename":"file2"},{"photo_id":"1401999074","filename":"file4"},{"photo_id":"1401999071","filename":"file1"},{"photo_id":"1401999070","filename":"file0"},{"photo_id":"1401999073","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999071":["hashtag1","hashtag2"]},{"1401999074":["hashtag1","hashtag2"]},{"1401999076":["hashtag1","hashtag2"]},{"1401999070":["hashtag1","hashtag2"]},{"1401999073":["hashtag1","hashtag2"]},{"1401999072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999071, 1401999074, 1401999076, 1401999070, 1401999073, 1401999072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90043520927429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:10:42.252490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_27_3754.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_29_2662.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_32_2704.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_35_2767.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_38_3598.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_41_2862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_27_3754.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_29_2662.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_32_2704.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_35_2767.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_38_3598.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_41_2862.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999086","1401999088","1401999082","1401999085","1401999090","1401999087"],"photo_ids_order":["1401999082","1401999085","1401999086","1401999087","1401999088","1401999090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/938dade05ee86dd21e9ca467e88dd3ee.jpg","text":"TemporaryFile(/tmp/multipartBody5429268488728691382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251504186,"filename":"image_04112025_15_23_32_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be4a4d3d9d22438c163eb6298386ddfd.jpg","text":"TemporaryFile(/tmp/multipartBody1818740622883288565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251504186,"filename":"image_04112025_15_23_38_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c54fd9222bb40aadec86d5080452988c.jpg","text":"TemporaryFile(/tmp/multipartBody3869957071437076482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251504186,"filename":"image_04112025_15_23_27_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9efba544ea3ff1dc2ba16ca61be095d0.jpg","text":"TemporaryFile(/tmp/multipartBody8978841782041383018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251504186,"filename":"image_04112025_15_23_29_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff0ba7d83307a75cf0c21d0f1485b36e.jpg","text":"TemporaryFile(/tmp/multipartBody3914895608085120062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251504186,"filename":"image_04112025_15_23_41_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d75d63746db21f9da6e1463993e1a506.jpg","text":"TemporaryFile(/tmp/multipartBody6948246071422479459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251504186,"filename":"image_04112025_15_23_35_2767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999086","file1":"1401999085","file0":"1401999082","file4":"1401999088","file5":"1401999090","file3":"1401999087"},"map_files_photo_id_array":[{"photo_id":"1401999090","filename":"file5"},{"photo_id":"1401999086","filename":"file2"},{"photo_id":"1401999088","filename":"file4"},{"photo_id":"1401999085","filename":"file1"},{"photo_id":"1401999082","filename":"file0"},{"photo_id":"1401999087","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999086":["hashtag1","hashtag2"]},{"1401999088":["hashtag1","hashtag2"]},{"1401999082":["hashtag1","hashtag2"]},{"1401999085":["hashtag1","hashtag2"]},{"1401999090":["hashtag1","hashtag2"]},{"1401999087":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999086, 1401999088, 1401999082, 1401999085, 1401999090, 1401999087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.571927547454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:11:22.455698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_54_9625.jpg', '/home/pi/Desktop/images/01012026/06/45/image_01012026_06_46_05_10660.jpg', '/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_15_9633.jpg', '/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_24_9859.jpg', '/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_35_10691.jpg', '/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_45_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/45/image_01012026_06_45_54_9625.jpg
/home/pi/Desktop/images/01012026/06/45/image_01012026_06_46_05_10660.jpg
/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_15_9633.jpg
/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_24_9859.jpg
/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_35_10691.jpg
/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_45_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":["1401999095","1401999101","1401999097","1401999106","1401999099","1401999093"],"photo_ids_order":["1401999093","1401999095","1401999097","1401999099","1401999101","1401999106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89501b23473b534c7bd99efd1929bdf4.jpg","text":"TemporaryFile(/tmp/multipartBody3070801595296635153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251543047,"filename":"image_01012026_06_46_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0569a826188b11f3bbb699a2cd5b1d2.jpg","text":"TemporaryFile(/tmp/multipartBody5440661143136067759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251543047,"filename":"image_01012026_06_46_35_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d22a71f5268afba5f27e4d476d01cc8.jpg","text":"TemporaryFile(/tmp/multipartBody7587152656907807103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251543047,"filename":"image_01012026_06_46_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d84cfcbbda8bf336883cf10dd9ffd6db.jpg","text":"TemporaryFile(/tmp/multipartBody1556663198090362653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251543047,"filename":"image_01012026_06_46_45_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2311269f2c7e98f06ff389f0ccb657d5.jpg","text":"TemporaryFile(/tmp/multipartBody251302278758478159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251543047,"filename":"image_01012026_06_46_24_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5557b1459bcb3de4e7044bc18810d8a.jpg","text":"TemporaryFile(/tmp/multipartBody2775370665993081793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251543047,"filename":"image_01012026_06_45_54_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999097","file1":"1401999095","file0":"1401999093","file4":"1401999101","file5":"1401999106","file3":"1401999099"},"map_files_photo_id_array":[{"photo_id":"1401999106","filename":"file5"},{"photo_id":"1401999097","filename":"file2"},{"photo_id":"1401999101","filename":"file4"},{"photo_id":"1401999095","filename":"file1"},{"photo_id":"1401999093","filename":"file0"},{"photo_id":"1401999099","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999095":["hashtag1","hashtag2"]},{"1401999101":["hashtag1","hashtag2"]},{"1401999097":["hashtag1","hashtag2"]},{"1401999106":["hashtag1","hashtag2"]},{"1401999099":["hashtag1","hashtag2"]},{"1401999093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999095, 1401999101, 1401999097, 1401999106, 1401999099, 1401999093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1121027469635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:12:03.194411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_54_9636.jpg', '/home/pi/Desktop/images/01012026/06/46/image_01012026_06_47_04_9793.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_15_10653.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_25_9898.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_34_9683.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_45_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_54_9636.jpg
/home/pi/Desktop/images/01012026/06/46/image_01012026_06_47_04_9793.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_15_10653.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_25_9898.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_34_9683.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_45_10633.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.4990348815917969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:12:12.617487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_44_2854.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_47_2982.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_53_5815.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_55_1860.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_56_1507.jpg', '/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_59_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_44_2854.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_47_2982.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_53_5815.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_55_1860.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_56_1507.jpg
/home/pi/Desktop/images/04112025/15/23/image_04112025_15_23_59_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999117","1401999119","1401999110","1401999112","1401999121","1401999115"],"photo_ids_order":["1401999110","1401999112","1401999115","1401999117","1401999119","1401999121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32bd3b911bf41c7eb1c840c340b2d3c0.jpg","text":"TemporaryFile(/tmp/multipartBody7682230511486467132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251594398,"filename":"image_04112025_15_23_55_1860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77bc50e269c1a047a70610731db400b3.jpg","text":"TemporaryFile(/tmp/multipartBody1309466924458720181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251594398,"filename":"image_04112025_15_23_56_1507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e40f8a39ae9ba219e604df4a0579446c.jpg","text":"TemporaryFile(/tmp/multipartBody3308582193450738898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251594398,"filename":"image_04112025_15_23_44_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91a48b6f71e8e56bc9658c9702a5297c.jpg","text":"TemporaryFile(/tmp/multipartBody8162840527949026103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251594398,"filename":"image_04112025_15_23_47_2982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/946cad2ede45a3346b96c918bed35001.jpg","text":"TemporaryFile(/tmp/multipartBody597096730138369541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251594398,"filename":"image_04112025_15_23_59_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6925c4cf0f63d0336ddc75b4486c4f55.jpg","text":"TemporaryFile(/tmp/multipartBody7268989292349446702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251594398,"filename":"image_04112025_15_23_53_5815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999115","file1":"1401999112","file0":"1401999110","file4":"1401999119","file5":"1401999121","file3":"1401999117"},"map_files_photo_id_array":[{"photo_id":"1401999121","filename":"file5"},{"photo_id":"1401999115","filename":"file2"},{"photo_id":"1401999119","filename":"file4"},{"photo_id":"1401999112","filename":"file1"},{"photo_id":"1401999110","filename":"file0"},{"photo_id":"1401999117","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999117":["hashtag1","hashtag2"]},{"1401999119":["hashtag1","hashtag2"]},{"1401999110":["hashtag1","hashtag2"]},{"1401999112":["hashtag1","hashtag2"]},{"1401999121":["hashtag1","hashtag2"]},{"1401999115":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999117, 1401999119, 1401999110, 1401999112, 1401999121, 1401999115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9626088142395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:13:03.544572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_54_9636.jpg', '/home/pi/Desktop/images/01012026/06/46/image_01012026_06_47_04_9793.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_15_10653.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_25_9898.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_34_9683.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_45_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/46/image_01012026_06_46_54_9636.jpg
/home/pi/Desktop/images/01012026/06/46/image_01012026_06_47_04_9793.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_15_10653.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_25_9898.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_34_9683.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_45_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999126","1401999128","1401999125","1401999130","1401999124","1401999127"],"photo_ids_order":["1401999124","1401999125","1401999126","1401999127","1401999128","1401999130"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8a2de33168ccd74fd3761ac41552738.jpg","text":"TemporaryFile(/tmp/multipartBody3701976663084005650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251644197,"filename":"image_01012026_06_47_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb4d9a97ef3fa09e28e64f2ed4773e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8166737675968756973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251644197,"filename":"image_01012026_06_47_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f99b4e10e5734ed7d99c43391b6f7d8.jpg","text":"TemporaryFile(/tmp/multipartBody6151617341844190435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251644197,"filename":"image_01012026_06_47_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fa4508dab7993400bdc6fe6768920d5.jpg","text":"TemporaryFile(/tmp/multipartBody925527492839464676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251644197,"filename":"image_01012026_06_47_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d71725cd25653b396f14dabf05d11029.jpg","text":"TemporaryFile(/tmp/multipartBody9219981174919394058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251644197,"filename":"image_01012026_06_46_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4802e64be1b32e5a15dd96cf2aaff959.jpg","text":"TemporaryFile(/tmp/multipartBody2999945256886274569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251644197,"filename":"image_01012026_06_47_25_9898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999126","file1":"1401999125","file0":"1401999124","file4":"1401999128","file5":"1401999130","file3":"1401999127"},"map_files_photo_id_array":[{"photo_id":"1401999130","filename":"file5"},{"photo_id":"1401999126","filename":"file2"},{"photo_id":"1401999128","filename":"file4"},{"photo_id":"1401999125","filename":"file1"},{"photo_id":"1401999124","filename":"file0"},{"photo_id":"1401999127","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999126":["hashtag1","hashtag2"]},{"1401999128":["hashtag1","hashtag2"]},{"1401999125":["hashtag1","hashtag2"]},{"1401999130":["hashtag1","hashtag2"]},{"1401999124":["hashtag1","hashtag2"]},{"1401999127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999126, 1401999128, 1401999125, 1401999130, 1401999124, 1401999127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.348286867141724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:13:42.856941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_02_3685.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_05_2864.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_08_2602.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_11_2591.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_14_3751.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_17_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_02_3685.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_05_2864.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_08_2602.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_11_2591.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_14_3751.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_17_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999141","1401999138","1401999147","1401999143","1401999145","1401999148"],"photo_ids_order":["1401999138","1401999141","1401999143","1401999145","1401999147","1401999148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a183a4a2f07fcc73964ca830b9357bc.jpg","text":"TemporaryFile(/tmp/multipartBody1211320038449492159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251684805,"filename":"image_04112025_15_24_05_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4463c4d59d69193c404817753fb64cb.jpg","text":"TemporaryFile(/tmp/multipartBody83746242253136194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251684805,"filename":"image_04112025_15_24_02_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e100d03785e9b7b4075eee423595857.jpg","text":"TemporaryFile(/tmp/multipartBody5661753550193586100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251684805,"filename":"image_04112025_15_24_14_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/993b3775bbaca1debf3ba6f348a36622.jpg","text":"TemporaryFile(/tmp/multipartBody6959063229475052957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251684805,"filename":"image_04112025_15_24_08_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61ab3d71191c347fe38c90ce6eb6840b.jpg","text":"TemporaryFile(/tmp/multipartBody5413871548501307018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251684805,"filename":"image_04112025_15_24_11_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10d3016bcbaa87ced99e36187b614053.jpg","text":"TemporaryFile(/tmp/multipartBody355415778842649118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251684805,"filename":"image_04112025_15_24_17_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999143","file1":"1401999141","file0":"1401999138","file4":"1401999147","file5":"1401999148","file3":"1401999145"},"map_files_photo_id_array":[{"photo_id":"1401999148","filename":"file5"},{"photo_id":"1401999143","filename":"file2"},{"photo_id":"1401999147","filename":"file4"},{"photo_id":"1401999141","filename":"file1"},{"photo_id":"1401999138","filename":"file0"},{"photo_id":"1401999145","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999141":["hashtag1","hashtag2"]},{"1401999138":["hashtag1","hashtag2"]},{"1401999147":["hashtag1","hashtag2"]},{"1401999143":["hashtag1","hashtag2"]},{"1401999145":["hashtag1","hashtag2"]},{"1401999148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999141, 1401999138, 1401999147, 1401999143, 1401999145, 1401999148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07060098648071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:14:22.138657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_54_9519.jpg', '/home/pi/Desktop/images/01012026/06/47/image_01012026_06_48_04_9698.jpg', '/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_15_10799.jpg', '/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_25_9567.jpg', '/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_34_9704.jpg', '/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_45_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_47_54_9519.jpg
/home/pi/Desktop/images/01012026/06/47/image_01012026_06_48_04_9698.jpg
/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_15_10799.jpg
/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_25_9567.jpg
/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_34_9704.jpg
/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_45_10753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999164","1401999161","1401999155","1401999169","1401999157","1401999151"],"photo_ids_order":["1401999151","1401999155","1401999157","1401999161","1401999164","1401999169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d80c42a010f35e280cfe8e5068ebda8a.jpg","text":"TemporaryFile(/tmp/multipartBody1355267565388239792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251722759,"filename":"image_01012026_06_48_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7400cece228921f3df2becc14b06185.jpg","text":"TemporaryFile(/tmp/multipartBody7255101789509600873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251722759,"filename":"image_01012026_06_48_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f273c6e675bd27f8d07fa2d883278046.jpg","text":"TemporaryFile(/tmp/multipartBody9157733561485925609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251722759,"filename":"image_01012026_06_48_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c199c1b4c76116da3cd1bf762e18f1ed.jpg","text":"TemporaryFile(/tmp/multipartBody3438144681061093561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251722759,"filename":"image_01012026_06_48_45_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab75dff95a73dcf43080d924530fbbd3.jpg","text":"TemporaryFile(/tmp/multipartBody4185333521127762088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251722759,"filename":"image_01012026_06_48_15_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a964521d14b9d7080073f33c0a778e93.jpg","text":"TemporaryFile(/tmp/multipartBody6027247223372022159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251722759,"filename":"image_01012026_06_47_54_9519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999157","file1":"1401999155","file0":"1401999151","file4":"1401999164","file5":"1401999169","file3":"1401999161"},"map_files_photo_id_array":[{"photo_id":"1401999169","filename":"file5"},{"photo_id":"1401999157","filename":"file2"},{"photo_id":"1401999164","filename":"file4"},{"photo_id":"1401999155","filename":"file1"},{"photo_id":"1401999151","filename":"file0"},{"photo_id":"1401999161","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999164":["hashtag1","hashtag2"]},{"1401999161":["hashtag1","hashtag2"]},{"1401999155":["hashtag1","hashtag2"]},{"1401999169":["hashtag1","hashtag2"]},{"1401999157":["hashtag1","hashtag2"]},{"1401999151":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999164, 1401999161, 1401999155, 1401999169, 1401999157, 1401999151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69729256629944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:15:02.943705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_55_9649.jpg', '/home/pi/Desktop/images/01012026/06/48/image_01012026_06_49_04_9575.jpg', '/home/pi/Desktop/images/01012026/06/49/image_01012026_06_49_15_10757.jpg', '/home/pi/Desktop/images/01012026/06/49/image_01012026_06_49_25_9554.jpg', '/home/pi/Desktop/images/01012026/06/49/image_01012026_06_49_45_10802.jpg', '/home/pi/Desktop/images/01012026/06/49/image_01012026_06_49_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/48/image_01012026_06_48_55_9649.jpg
/home/pi/Desktop/images/01012026/06/48/image_01012026_06_49_04_9575.jpg
/home/pi/Desktop/images/01012026/06/49/image_01012026_06_49_15_10757.jpg
/home/pi/Desktop/images/01012026/06/49/image_01012026_06_49_25_9554.jpg
/home/pi/Desktop/images/01012026/06/49/image_01012026_06_49_45_10802.jpg
/home/pi/Desktop/images/01012026/06/49/image_01012026_06_49_55_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":["1401999174","1401999176","1401999173","1401999175","1401999178","1401999171"],"photo_ids_order":["1401999171","1401999173","1401999174","1401999175","1401999176","1401999178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/242469aa68db72bcf98cab07f33a47a4.jpg","text":"TemporaryFile(/tmp/multipartBody6402184828077190404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251763601,"filename":"image_01012026_06_49_15_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ae8c85228400f01c86d1877ebc6a21e.jpg","text":"TemporaryFile(/tmp/multipartBody3476482802616965559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251763601,"filename":"image_01012026_06_49_45_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50c3e34e09760582135d8548703a6858.jpg","text":"TemporaryFile(/tmp/multipartBody7170682753490208449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251763601,"filename":"image_01012026_06_49_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5c309b08dd1009fe7afdb244770465b.jpg","text":"TemporaryFile(/tmp/multipartBody4788450765251135696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251763601,"filename":"image_01012026_06_49_25_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f0f2410a0ca661246f6df2829f43f19.jpg","text":"TemporaryFile(/tmp/multipartBody7979354203192604508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251763601,"filename":"image_01012026_06_49_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3a3914078be4c720c66e407544ea9f9.jpg","text":"TemporaryFile(/tmp/multipartBody889632269381141123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251763601,"filename":"image_01012026_06_48_55_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999174","file1":"1401999173","file0":"1401999171","file4":"1401999176","file5":"1401999178","file3":"1401999175"},"map_files_photo_id_array":[{"photo_id":"1401999178","filename":"file5"},{"photo_id":"1401999174","filename":"file2"},{"photo_id":"1401999176","filename":"file4"},{"photo_id":"1401999173","filename":"file1"},{"photo_id":"1401999171","filename":"file0"},{"photo_id":"1401999175","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999174":["hashtag1","hashtag2"]},{"1401999176":["hashtag1","hashtag2"]},{"1401999173":["hashtag1","hashtag2"]},{"1401999175":["hashtag1","hashtag2"]},{"1401999178":["hashtag1","hashtag2"]},{"1401999171":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999174, 1401999176, 1401999173, 1401999175, 1401999178, 1401999171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31202816963196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:15:42.369008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_20_2689.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_23_3140.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_26_2827.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_29_3075.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_32_3792.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_35_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_20_2689.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_23_3140.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_26_2827.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_29_3075.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_32_3792.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_35_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999189","1401999191","1401999188","1401999187","1401999190","1401999186"],"photo_ids_order":["1401999186","1401999187","1401999188","1401999189","1401999190","1401999191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1283b7a4a280b400b8fe3003be9fb18a.jpg","text":"TemporaryFile(/tmp/multipartBody480327576621942885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251804358,"filename":"image_04112025_15_24_29_3075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39b556ea14b9f314a2890fc6059a08cd.jpg","text":"TemporaryFile(/tmp/multipartBody2716048769021016416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251804358,"filename":"image_04112025_15_24_35_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c89189e8b8fd0ef148f7585c5e18288.jpg","text":"TemporaryFile(/tmp/multipartBody450588930679649370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251804358,"filename":"image_04112025_15_24_26_2827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/355d94597d4d771d752a1fdb32776c9e.jpg","text":"TemporaryFile(/tmp/multipartBody6402252874521884252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251804358,"filename":"image_04112025_15_24_23_3140.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/360ed030eb80e7bda2b6855c0bbadd30.jpg","text":"TemporaryFile(/tmp/multipartBody8987131850801436545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251804358,"filename":"image_04112025_15_24_32_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f6fb92703d8a45ee178d4d6d768d0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6593079739002602438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251804358,"filename":"image_04112025_15_24_20_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999188","file1":"1401999187","file0":"1401999186","file4":"1401999190","file5":"1401999191","file3":"1401999189"},"map_files_photo_id_array":[{"photo_id":"1401999191","filename":"file5"},{"photo_id":"1401999188","filename":"file2"},{"photo_id":"1401999190","filename":"file4"},{"photo_id":"1401999187","filename":"file1"},{"photo_id":"1401999186","filename":"file0"},{"photo_id":"1401999189","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999189":["hashtag1","hashtag2"]},{"1401999191":["hashtag1","hashtag2"]},{"1401999188":["hashtag1","hashtag2"]},{"1401999187":["hashtag1","hashtag2"]},{"1401999190":["hashtag1","hashtag2"]},{"1401999186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999189, 1401999191, 1401999188, 1401999187, 1401999190, 1401999186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36506128311157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:16:22.539983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/49/image_01012026_06_50_04_9576.jpg', '/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_15_10642.jpg', '/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_24_9614.jpg', '/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_34_9669.jpg', '/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_45_10643.jpg', '/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_54_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/49/image_01012026_06_50_04_9576.jpg
/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_15_10642.jpg
/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_24_9614.jpg
/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_34_9669.jpg
/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_45_10643.jpg
/home/pi/Desktop/images/01012026/06/50/image_01012026_06_50_54_9559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999197","1401999201","1401999193","1401999196","1401999199","1401999205"],"photo_ids_order":["1401999193","1401999196","1401999197","1401999199","1401999201","1401999205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/541f7e0b8557544af97c6608ffa50b74.jpg","text":"TemporaryFile(/tmp/multipartBody223990206332163590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251843161,"filename":"image_01012026_06_50_24_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aac447af55aa3f1aa246dba638072d04.jpg","text":"TemporaryFile(/tmp/multipartBody8266819073361453203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251843161,"filename":"image_01012026_06_50_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b62b908d9542d5245e929fbcdbcb6ba0.jpg","text":"TemporaryFile(/tmp/multipartBody7115723433513575823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251843161,"filename":"image_01012026_06_50_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af995fd7ab0ca0773d748d93713f5f40.jpg","text":"TemporaryFile(/tmp/multipartBody897706638930075183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251843161,"filename":"image_01012026_06_50_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f67d463a69d719d261e978e220b11c2.jpg","text":"TemporaryFile(/tmp/multipartBody8215955379570147542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251843161,"filename":"image_01012026_06_50_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb82dc3e6412591bf5916887160b5f9c.jpg","text":"TemporaryFile(/tmp/multipartBody9082723693282659719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251843161,"filename":"image_01012026_06_50_54_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999197","file1":"1401999196","file0":"1401999193","file4":"1401999201","file5":"1401999205","file3":"1401999199"},"map_files_photo_id_array":[{"photo_id":"1401999205","filename":"file5"},{"photo_id":"1401999197","filename":"file2"},{"photo_id":"1401999201","filename":"file4"},{"photo_id":"1401999196","filename":"file1"},{"photo_id":"1401999193","filename":"file0"},{"photo_id":"1401999199","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999197":["hashtag1","hashtag2"]},{"1401999201":["hashtag1","hashtag2"]},{"1401999193":["hashtag1","hashtag2"]},{"1401999196":["hashtag1","hashtag2"]},{"1401999199":["hashtag1","hashtag2"]},{"1401999205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999197, 1401999201, 1401999193, 1401999196, 1401999199, 1401999205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79376459121704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:17:03.433934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/50/image_01012026_06_51_05_10650.jpg', '/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_15_9622.jpg', '/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_24_9829.jpg', '/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_35_10558.jpg', '/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_45_9877.jpg', '/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_54_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/50/image_01012026_06_51_05_10650.jpg
/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_15_9622.jpg
/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_24_9829.jpg
/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_35_10558.jpg
/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_45_9877.jpg
/home/pi/Desktop/images/01012026/06/51/image_01012026_06_51_54_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":["1401999212","1401999221","1401999215","1401999218","1401999214","1401999217"],"photo_ids_order":["1401999212","1401999214","1401999215","1401999217","1401999218","1401999221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9440b1b2e40d1dcd9661001d1d6b246.jpg","text":"TemporaryFile(/tmp/multipartBody6687922163618647896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251884130,"filename":"image_01012026_06_51_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0585d5cdcb625a44d13e65228239d8c1.jpg","text":"TemporaryFile(/tmp/multipartBody2951970150639215654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251884130,"filename":"image_01012026_06_51_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a92f0e3998ed70736416abb918047be8.jpg","text":"TemporaryFile(/tmp/multipartBody4964660914653385916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251884130,"filename":"image_01012026_06_51_24_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9534c9fc19b4565c429daa7ed936d9db.jpg","text":"TemporaryFile(/tmp/multipartBody4711847196670795231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251884130,"filename":"image_01012026_06_51_45_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e7caccab68978cb22dcdb58de0f23af.jpg","text":"TemporaryFile(/tmp/multipartBody3906915087643353530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251884130,"filename":"image_01012026_06_51_15_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/846e5ea7be9bc699603ece2f34475141.jpg","text":"TemporaryFile(/tmp/multipartBody1399208071800965765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251884130,"filename":"image_01012026_06_51_35_10558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999215","file1":"1401999214","file0":"1401999212","file4":"1401999218","file5":"1401999221","file3":"1401999217"},"map_files_photo_id_array":[{"photo_id":"1401999221","filename":"file5"},{"photo_id":"1401999215","filename":"file2"},{"photo_id":"1401999218","filename":"file4"},{"photo_id":"1401999214","filename":"file1"},{"photo_id":"1401999212","filename":"file0"},{"photo_id":"1401999217","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999212":["hashtag1","hashtag2"]},{"1401999221":["hashtag1","hashtag2"]},{"1401999215":["hashtag1","hashtag2"]},{"1401999218":["hashtag1","hashtag2"]},{"1401999214":["hashtag1","hashtag2"]},{"1401999217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999212, 1401999221, 1401999215, 1401999218, 1401999214, 1401999217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50504732131958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:17:42.799905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_38_2782.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_41_2766.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_44_3711.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_47_2664.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_50_2648.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_53_3693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_38_2782.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_41_2766.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_44_3711.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_47_2664.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_50_2648.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_53_3693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999234","1401999231","1401999230","1401999227","1401999232","1401999229"],"photo_ids_order":["1401999227","1401999229","1401999230","1401999231","1401999232","1401999234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f05eb583d53165de9d16946e2111aec.jpg","text":"TemporaryFile(/tmp/multipartBody4564869639128618856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251924739,"filename":"image_04112025_15_24_53_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4271e6530fad970b23b3ce1648c99f06.jpg","text":"TemporaryFile(/tmp/multipartBody8562414223603945258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251924739,"filename":"image_04112025_15_24_47_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41030395607183da64fe028e196cb917.jpg","text":"TemporaryFile(/tmp/multipartBody7672272864392037180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251924739,"filename":"image_04112025_15_24_44_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0de2ba11cfa0fbb51a2208d74eccad61.jpg","text":"TemporaryFile(/tmp/multipartBody110064275406272484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251924739,"filename":"image_04112025_15_24_38_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a91570744286b20598d52991dac7495.jpg","text":"TemporaryFile(/tmp/multipartBody4973047846265258464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251924739,"filename":"image_04112025_15_24_50_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae603e3bfb73d72da1a722c6715dee27.jpg","text":"TemporaryFile(/tmp/multipartBody5334041556760121705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251924739,"filename":"image_04112025_15_24_41_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999230","file1":"1401999229","file0":"1401999227","file4":"1401999232","file5":"1401999234","file3":"1401999231"},"map_files_photo_id_array":[{"photo_id":"1401999234","filename":"file5"},{"photo_id":"1401999230","filename":"file2"},{"photo_id":"1401999232","filename":"file4"},{"photo_id":"1401999229","filename":"file1"},{"photo_id":"1401999227","filename":"file0"},{"photo_id":"1401999231","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999234":["hashtag1","hashtag2"]},{"1401999231":["hashtag1","hashtag2"]},{"1401999230":["hashtag1","hashtag2"]},{"1401999227":["hashtag1","hashtag2"]},{"1401999232":["hashtag1","hashtag2"]},{"1401999229":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999234, 1401999231, 1401999230, 1401999227, 1401999232, 1401999229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.309406757354736 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:18:21.974627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/51/image_01012026_06_52_04_9644.jpg', '/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_15_10645.jpg', '/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_25_9903.jpg', '/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_34_9707.jpg', '/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_45_10671.jpg', '/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_55_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/51/image_01012026_06_52_04_9644.jpg
/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_15_10645.jpg
/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_25_9903.jpg
/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_34_9707.jpg
/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_45_10671.jpg
/home/pi/Desktop/images/01012026/06/52/image_01012026_06_52_55_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999240","1401999237","1401999242","1401999244","1401999247","1401999235"],"photo_ids_order":["1401999235","1401999237","1401999240","1401999242","1401999244","1401999247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81bcadc56b2734c2a97f562c39d8cb67.jpg","text":"TemporaryFile(/tmp/multipartBody7192565192077612366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251962563,"filename":"image_01012026_06_52_25_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e1d0323821de7fb3a98e3c8975385e6.jpg","text":"TemporaryFile(/tmp/multipartBody7817342307047441488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251962563,"filename":"image_01012026_06_52_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/346a91b27ad01e9d79051947f01a32cd.jpg","text":"TemporaryFile(/tmp/multipartBody1060259308610076444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251962563,"filename":"image_01012026_06_52_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b627e617dab2120ba09d7e1be2880547.jpg","text":"TemporaryFile(/tmp/multipartBody118243960865565845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251962563,"filename":"image_01012026_06_52_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/833ef32f25c1963a2be7c830b6052999.jpg","text":"TemporaryFile(/tmp/multipartBody5522355059997461389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251962563,"filename":"image_01012026_06_52_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d52661ae970c47f8b7c092077a87f93a.jpg","text":"TemporaryFile(/tmp/multipartBody94207479740341956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767251962563,"filename":"image_01012026_06_52_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999240","file1":"1401999237","file0":"1401999235","file4":"1401999244","file5":"1401999247","file3":"1401999242"},"map_files_photo_id_array":[{"photo_id":"1401999247","filename":"file5"},{"photo_id":"1401999240","filename":"file2"},{"photo_id":"1401999244","filename":"file4"},{"photo_id":"1401999237","filename":"file1"},{"photo_id":"1401999235","filename":"file0"},{"photo_id":"1401999242","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999240":["hashtag1","hashtag2"]},{"1401999237":["hashtag1","hashtag2"]},{"1401999242":["hashtag1","hashtag2"]},{"1401999244":["hashtag1","hashtag2"]},{"1401999247":["hashtag1","hashtag2"]},{"1401999235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999240, 1401999237, 1401999242, 1401999244, 1401999247, 1401999235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54161524772644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:19:03.065873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/52/image_01012026_06_53_04_9547.jpg', '/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_14_9724.jpg', '/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_25_10740.jpg', '/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_35_9733.jpg', '/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_44_9696.jpg', '/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_54_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/52/image_01012026_06_53_04_9547.jpg
/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_14_9724.jpg
/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_25_10740.jpg
/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_35_9733.jpg
/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_44_9696.jpg
/home/pi/Desktop/images/01012026/06/53/image_01012026_06_53_54_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999252","1401999249","1401999251","1401999254","1401999256","1401999253"],"photo_ids_order":["1401999249","1401999251","1401999252","1401999253","1401999254","1401999256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7cac1b526a7b031346acfdf60fa533b3.jpg","text":"TemporaryFile(/tmp/multipartBody6232398823895795228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252003793,"filename":"image_01012026_06_53_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15d301b67bb17c75cce07d8d16bdfa93.jpg","text":"TemporaryFile(/tmp/multipartBody784992245674923623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252003793,"filename":"image_01012026_06_53_04_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a76bdf91d6b6f9d3703006423c0c7dd.jpg","text":"TemporaryFile(/tmp/multipartBody5541507887361454782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252003793,"filename":"image_01012026_06_53_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d431a18a1ac9b7ade6a1dca2364e11ef.jpg","text":"TemporaryFile(/tmp/multipartBody1936915347299093699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252003793,"filename":"image_01012026_06_53_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9217bb3392a1e17c424aeedaf80e159.jpg","text":"TemporaryFile(/tmp/multipartBody449125392114053504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252003793,"filename":"image_01012026_06_53_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e35c1b14242b666427d0122f51f7a87.jpg","text":"TemporaryFile(/tmp/multipartBody6098946267901630176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252003793,"filename":"image_01012026_06_53_35_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999252","file1":"1401999251","file0":"1401999249","file4":"1401999254","file5":"1401999256","file3":"1401999253"},"map_files_photo_id_array":[{"photo_id":"1401999256","filename":"file5"},{"photo_id":"1401999252","filename":"file2"},{"photo_id":"1401999254","filename":"file4"},{"photo_id":"1401999251","filename":"file1"},{"photo_id":"1401999249","filename":"file0"},{"photo_id":"1401999253","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999252":["hashtag1","hashtag2"]},{"1401999249":["hashtag1","hashtag2"]},{"1401999251":["hashtag1","hashtag2"]},{"1401999254":["hashtag1","hashtag2"]},{"1401999256":["hashtag1","hashtag2"]},{"1401999253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999252, 1401999249, 1401999251, 1401999254, 1401999256, 1401999253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.050222396850586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:19:42.171466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_56_2671.jpg', '/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_59_2703.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_02_3654.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_05_2757.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_08_2616.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_14_6534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_56_2671.jpg
/home/pi/Desktop/images/04112025/15/24/image_04112025_15_24_59_2703.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_02_3654.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_05_2757.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_08_2616.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_14_6534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999261","1401999263","1401999266","1401999268","1401999265","1401999264"],"photo_ids_order":["1401999261","1401999263","1401999264","1401999265","1401999266","1401999268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f8d94f27712218bf103d84ddb20dcb4.jpg","text":"TemporaryFile(/tmp/multipartBody2506724194635592772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252044112,"filename":"image_04112025_15_24_56_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b80b94bd555b9166301c3ed069b09442.jpg","text":"TemporaryFile(/tmp/multipartBody6745335402784575366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252044112,"filename":"image_04112025_15_24_59_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/340526918c8c765301e203ebcfbf2e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5874894693282592295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252044112,"filename":"image_04112025_15_25_08_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0fe3be80946827de64ce997c958a77d.jpg","text":"TemporaryFile(/tmp/multipartBody4264187452631914643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252044112,"filename":"image_04112025_15_25_14_6534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3457154f797ad5fb2044cb56a670472e.jpg","text":"TemporaryFile(/tmp/multipartBody479589528995749354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252044112,"filename":"image_04112025_15_25_05_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b35966e8c56b85041f35bc25aee05de.jpg","text":"TemporaryFile(/tmp/multipartBody1951280597758369174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252044112,"filename":"image_04112025_15_25_02_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999264","file1":"1401999263","file0":"1401999261","file4":"1401999266","file5":"1401999268","file3":"1401999265"},"map_files_photo_id_array":[{"photo_id":"1401999268","filename":"file5"},{"photo_id":"1401999264","filename":"file2"},{"photo_id":"1401999266","filename":"file4"},{"photo_id":"1401999263","filename":"file1"},{"photo_id":"1401999261","filename":"file0"},{"photo_id":"1401999265","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999261":["hashtag1","hashtag2"]},{"1401999263":["hashtag1","hashtag2"]},{"1401999266":["hashtag1","hashtag2"]},{"1401999268":["hashtag1","hashtag2"]},{"1401999265":["hashtag1","hashtag2"]},{"1401999264":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999261, 1401999263, 1401999266, 1401999268, 1401999265, 1401999264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69719123840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:20:22.310189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/53/image_01012026_06_54_05_10768.jpg', '/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_15_9657.jpg', '/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_24_9569.jpg', '/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_35_10756.jpg', '/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_45_9805.jpg', '/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_54_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/53/image_01012026_06_54_05_10768.jpg
/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_15_9657.jpg
/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_24_9569.jpg
/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_35_10756.jpg
/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_45_9805.jpg
/home/pi/Desktop/images/01012026/06/54/image_01012026_06_54_54_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":["1401999273","1401999275","1401999269","1401999283","1401999277","1401999271"],"photo_ids_order":["1401999269","1401999271","1401999273","1401999275","1401999277","1401999283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d02156da0452a22c6f2f159fb3f626ba.jpg","text":"TemporaryFile(/tmp/multipartBody6041026875764524706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252082901,"filename":"image_01012026_06_54_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a74701778a2901aab6e32e5272fdd40b.jpg","text":"TemporaryFile(/tmp/multipartBody1030891988681207428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252082901,"filename":"image_01012026_06_54_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbbcd8b0c306bd55685d0b8e4a108c0c.jpg","text":"TemporaryFile(/tmp/multipartBody1998481255604144269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252082901,"filename":"image_01012026_06_54_05_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8e70b32af40d1059ea5e0ce74c4a156.jpg","text":"TemporaryFile(/tmp/multipartBody4691167207361062412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252082901,"filename":"image_01012026_06_54_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c36101a16a426707074bdaf8b8d65a1.jpg","text":"TemporaryFile(/tmp/multipartBody7768967331722248582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252082901,"filename":"image_01012026_06_54_45_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee18ea35c02ba2188c9c88f7840b2ddd.jpg","text":"TemporaryFile(/tmp/multipartBody2130672499662622993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252082901,"filename":"image_01012026_06_54_15_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999273","file1":"1401999271","file0":"1401999269","file4":"1401999277","file5":"1401999283","file3":"1401999275"},"map_files_photo_id_array":[{"photo_id":"1401999283","filename":"file5"},{"photo_id":"1401999273","filename":"file2"},{"photo_id":"1401999277","filename":"file4"},{"photo_id":"1401999271","filename":"file1"},{"photo_id":"1401999269","filename":"file0"},{"photo_id":"1401999275","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999273":["hashtag1","hashtag2"]},{"1401999275":["hashtag1","hashtag2"]},{"1401999269":["hashtag1","hashtag2"]},{"1401999283":["hashtag1","hashtag2"]},{"1401999277":["hashtag1","hashtag2"]},{"1401999271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999273, 1401999275, 1401999269, 1401999283, 1401999277, 1401999271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1734082698822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:21:03.159129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/54/image_01012026_06_55_04_9765.jpg', '/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_15_10738.jpg', '/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_24_9623.jpg', '/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_34_9766.jpg', '/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_45_10564.jpg', '/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_54_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/54/image_01012026_06_55_04_9765.jpg
/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_15_10738.jpg
/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_24_9623.jpg
/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_34_9766.jpg
/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_45_10564.jpg
/home/pi/Desktop/images/01012026/06/55/image_01012026_06_55_54_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":["1401999288","1401999293","1401999296","1401999298","1401999295","1401999291"],"photo_ids_order":["1401999288","1401999291","1401999293","1401999295","1401999296","1401999298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b53d87f62efa4556dee0dce2f3e5c20.jpg","text":"TemporaryFile(/tmp/multipartBody9193777205585244274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252123832,"filename":"image_01012026_06_55_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a6b30474123f1541f5a03272eddfeb2.jpg","text":"TemporaryFile(/tmp/multipartBody4187264763223745374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252123832,"filename":"image_01012026_06_55_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5808ce8c51c522f59ba434954f5ccab.jpg","text":"TemporaryFile(/tmp/multipartBody4200190214593599820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252123832,"filename":"image_01012026_06_55_45_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bce5e9f10af7073c67dc8a494d0dfd7f.jpg","text":"TemporaryFile(/tmp/multipartBody5885174567566622876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252123832,"filename":"image_01012026_06_55_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2a070fb0e7d73bd1ee6a3bb3246b6ad.jpg","text":"TemporaryFile(/tmp/multipartBody2005086871854498852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252123832,"filename":"image_01012026_06_55_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/723f8a2af14bbb740de15c669acd8fd0.jpg","text":"TemporaryFile(/tmp/multipartBody2184940604845311747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252123832,"filename":"image_01012026_06_55_15_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999293","file1":"1401999291","file0":"1401999288","file4":"1401999296","file5":"1401999298","file3":"1401999295"},"map_files_photo_id_array":[{"photo_id":"1401999298","filename":"file5"},{"photo_id":"1401999293","filename":"file2"},{"photo_id":"1401999296","filename":"file4"},{"photo_id":"1401999291","filename":"file1"},{"photo_id":"1401999288","filename":"file0"},{"photo_id":"1401999295","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999288":["hashtag1","hashtag2"]},{"1401999293":["hashtag1","hashtag2"]},{"1401999296":["hashtag1","hashtag2"]},{"1401999298":["hashtag1","hashtag2"]},{"1401999295":["hashtag1","hashtag2"]},{"1401999291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999288, 1401999293, 1401999296, 1401999298, 1401999295, 1401999291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41042971611023 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:21:42.664455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_16_1568.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_18_1776.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_20_2584.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_23_2638.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_25_2644.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_29_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_16_1568.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_18_1776.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_20_2584.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_23_2638.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_25_2644.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_29_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":["1401999309","1401999303","1401999306","1401999308","1401999305","1401999307"],"photo_ids_order":["1401999303","1401999305","1401999306","1401999307","1401999308","1401999309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef214b0d4e23641466c6fc54930e6acd.jpg","text":"TemporaryFile(/tmp/multipartBody2279340261635925260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252164599,"filename":"image_04112025_15_25_29_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/142415eb397a7f3827b9889516206040.jpg","text":"TemporaryFile(/tmp/multipartBody5348942051768150029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252164599,"filename":"image_04112025_15_25_16_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e53ed4fcfd2e1959ecacf99a736cc48b.jpg","text":"TemporaryFile(/tmp/multipartBody1776211790272412577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252164599,"filename":"image_04112025_15_25_20_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e48c7af515b0f9b73eefd1bc629d5611.jpg","text":"TemporaryFile(/tmp/multipartBody365413729094201501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252164599,"filename":"image_04112025_15_25_25_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae1872765d151345a9d7abc6ea1cb404.jpg","text":"TemporaryFile(/tmp/multipartBody4156771498671313872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252164599,"filename":"image_04112025_15_25_18_1776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adb76b9cc9358ff7ec1fe89450e8eee5.jpg","text":"TemporaryFile(/tmp/multipartBody8349768494282885295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252164599,"filename":"image_04112025_15_25_23_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999306","file1":"1401999305","file0":"1401999303","file4":"1401999308","file5":"1401999309","file3":"1401999307"},"map_files_photo_id_array":[{"photo_id":"1401999309","filename":"file5"},{"photo_id":"1401999306","filename":"file2"},{"photo_id":"1401999308","filename":"file4"},{"photo_id":"1401999305","filename":"file1"},{"photo_id":"1401999303","filename":"file0"},{"photo_id":"1401999307","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999309":["hashtag1","hashtag2"]},{"1401999303":["hashtag1","hashtag2"]},{"1401999306":["hashtag1","hashtag2"]},{"1401999308":["hashtag1","hashtag2"]},{"1401999305":["hashtag1","hashtag2"]},{"1401999307":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999309, 1401999303, 1401999306, 1401999308, 1401999305, 1401999307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.499292850494385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:22:22.857826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/55/image_01012026_06_56_05_10584.jpg', '/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_15_9559.jpg', '/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_24_9625.jpg', '/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_35_10829.jpg', '/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_45_9632.jpg', '/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_54_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/55/image_01012026_06_56_05_10584.jpg
/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_15_9559.jpg
/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_24_9625.jpg
/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_35_10829.jpg
/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_45_9632.jpg
/home/pi/Desktop/images/01012026/06/56/image_01012026_06_56_54_9561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999315","1401999311","1401999317","1401999322","1401999319","1401999313"],"photo_ids_order":["1401999311","1401999313","1401999315","1401999317","1401999319","1401999322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58fcee87655efe41ed27d2676e44be25.jpg","text":"TemporaryFile(/tmp/multipartBody4523288989498265089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252203481,"filename":"image_01012026_06_56_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbc7b0d537c18545dcd55cf93ac0755e.jpg","text":"TemporaryFile(/tmp/multipartBody6677460508391677004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252203481,"filename":"image_01012026_06_56_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5991b82695536f627f4bb430db4655d3.jpg","text":"TemporaryFile(/tmp/multipartBody4715439763054076821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252203481,"filename":"image_01012026_06_56_35_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/793e49468b688325099211326ad737c0.jpg","text":"TemporaryFile(/tmp/multipartBody385122901617791289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252203481,"filename":"image_01012026_06_56_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f133b5a36691d86ad35b3874d5ff9383.jpg","text":"TemporaryFile(/tmp/multipartBody4215396404558859809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252203481,"filename":"image_01012026_06_56_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/888bc108ab094b044ccc643033eafb1e.jpg","text":"TemporaryFile(/tmp/multipartBody4472226179085326845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252203481,"filename":"image_01012026_06_56_15_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999315","file1":"1401999313","file0":"1401999311","file4":"1401999319","file5":"1401999322","file3":"1401999317"},"map_files_photo_id_array":[{"photo_id":"1401999322","filename":"file5"},{"photo_id":"1401999315","filename":"file2"},{"photo_id":"1401999319","filename":"file4"},{"photo_id":"1401999313","filename":"file1"},{"photo_id":"1401999311","filename":"file0"},{"photo_id":"1401999317","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999315":["hashtag1","hashtag2"]},{"1401999311":["hashtag1","hashtag2"]},{"1401999317":["hashtag1","hashtag2"]},{"1401999322":["hashtag1","hashtag2"]},{"1401999319":["hashtag1","hashtag2"]},{"1401999313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999315, 1401999311, 1401999317, 1401999322, 1401999319, 1401999313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46527862548828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:23:02.673251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/56/image_01012026_06_57_05_10642.jpg', '/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_15_9929.jpg', '/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_25_9676.jpg', '/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_34_9670.jpg', '/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_45_10734.jpg', '/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_55_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/56/image_01012026_06_57_05_10642.jpg
/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_15_9929.jpg
/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_25_9676.jpg
/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_34_9670.jpg
/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_45_10734.jpg
/home/pi/Desktop/images/01012026/06/57/image_01012026_06_57_55_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":["1401999327","1401999330","1401999324","1401999326","1401999325","1401999328"],"photo_ids_order":["1401999324","1401999325","1401999326","1401999327","1401999328","1401999330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0328dd986e18cce1010445ee0f45e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7666686092516758282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252243307,"filename":"image_01012026_06_57_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15c62f9082c7e02a11e3061b5d434344.jpg","text":"TemporaryFile(/tmp/multipartBody284884044455693167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252243307,"filename":"image_01012026_06_57_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/438395d854a5ef9e41d7833363e85ddc.jpg","text":"TemporaryFile(/tmp/multipartBody6707370178356692398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252243307,"filename":"image_01012026_06_57_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/723e082f0c4e4c4ded75397e8084c181.jpg","text":"TemporaryFile(/tmp/multipartBody7659883951220813720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252243307,"filename":"image_01012026_06_57_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/309ff0b0f03e17c367cc27b54d556ad6.jpg","text":"TemporaryFile(/tmp/multipartBody3388354362658549662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252243307,"filename":"image_01012026_06_57_15_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00a91c9097493dfc7ded7efae9b4dcb6.jpg","text":"TemporaryFile(/tmp/multipartBody8984777893847690410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252243307,"filename":"image_01012026_06_57_45_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999326","file1":"1401999325","file0":"1401999324","file4":"1401999328","file5":"1401999330","file3":"1401999327"},"map_files_photo_id_array":[{"photo_id":"1401999330","filename":"file5"},{"photo_id":"1401999326","filename":"file2"},{"photo_id":"1401999328","filename":"file4"},{"photo_id":"1401999325","filename":"file1"},{"photo_id":"1401999324","filename":"file0"},{"photo_id":"1401999327","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999327":["hashtag1","hashtag2"]},{"1401999330":["hashtag1","hashtag2"]},{"1401999324":["hashtag1","hashtag2"]},{"1401999326":["hashtag1","hashtag2"]},{"1401999325":["hashtag1","hashtag2"]},{"1401999328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999327, 1401999330, 1401999324, 1401999326, 1401999325, 1401999328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.751821756362915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:23:41.993539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_32_2702.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_35_3647.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_38_2704.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_41_2625.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_43_2687.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_47_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_32_2702.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_35_3647.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_38_2704.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_41_2625.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_43_2687.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_47_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999345","1401999336","1401999347","1401999349","1401999343","1401999352"],"photo_ids_order":["1401999336","1401999343","1401999345","1401999347","1401999349","1401999352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0752770b94deed57e91eb79aed22b509.jpg","text":"TemporaryFile(/tmp/multipartBody2788018329571247852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252283928,"filename":"image_04112025_15_25_38_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59d80fab5c78235cce5a00a75f795da8.jpg","text":"TemporaryFile(/tmp/multipartBody3388733212018467579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252283928,"filename":"image_04112025_15_25_32_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f49d61941626237dafc52e39307f009.jpg","text":"TemporaryFile(/tmp/multipartBody1077595256361152093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252283928,"filename":"image_04112025_15_25_41_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1165793fe5d66828eac187c3d71eb26.jpg","text":"TemporaryFile(/tmp/multipartBody750047488458695829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252283928,"filename":"image_04112025_15_25_43_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0085267f098ba00ab641432f4f87f838.jpg","text":"TemporaryFile(/tmp/multipartBody6671204881611724486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252283928,"filename":"image_04112025_15_25_35_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ae3c738ada730a62e6e46f512da3564.jpg","text":"TemporaryFile(/tmp/multipartBody2411391171601249811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252283928,"filename":"image_04112025_15_25_47_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999345","file1":"1401999343","file0":"1401999336","file4":"1401999349","file5":"1401999352","file3":"1401999347"},"map_files_photo_id_array":[{"photo_id":"1401999352","filename":"file5"},{"photo_id":"1401999345","filename":"file2"},{"photo_id":"1401999349","filename":"file4"},{"photo_id":"1401999343","filename":"file1"},{"photo_id":"1401999336","filename":"file0"},{"photo_id":"1401999347","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999345":["hashtag1","hashtag2"]},{"1401999336":["hashtag1","hashtag2"]},{"1401999347":["hashtag1","hashtag2"]},{"1401999349":["hashtag1","hashtag2"]},{"1401999343":["hashtag1","hashtag2"]},{"1401999352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999345, 1401999336, 1401999347, 1401999349, 1401999343, 1401999352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74478840827942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:24:22.184064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/57/image_01012026_06_58_04_9813.jpg', '/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_14_9751.jpg', '/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_25_10638.jpg', '/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_35_9751.jpg', '/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_44_9683.jpg', '/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_55_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/57/image_01012026_06_58_04_9813.jpg
/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_14_9751.jpg
/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_25_10638.jpg
/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_35_9751.jpg
/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_44_9683.jpg
/home/pi/Desktop/images/01012026/06/58/image_01012026_06_58_55_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":["1401999369","1401999357","1401999359","1401999361","1401999355","1401999363"],"photo_ids_order":["1401999355","1401999357","1401999359","1401999361","1401999363","1401999369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dda09c75193ccf86daad729818a4839d.jpg","text":"TemporaryFile(/tmp/multipartBody4112969163475472009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252322770,"filename":"image_01012026_06_58_55_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/beffc447734a3082f9d72f4c03d83766.jpg","text":"TemporaryFile(/tmp/multipartBody3749723184985217910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252322770,"filename":"image_01012026_06_58_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f387e04dff2e24d16721d53d16cc406b.jpg","text":"TemporaryFile(/tmp/multipartBody2291164202849803441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252322770,"filename":"image_01012026_06_58_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7da71c1cf6a74ad5d99204af2ed9d997.jpg","text":"TemporaryFile(/tmp/multipartBody3708480614631671714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252322770,"filename":"image_01012026_06_58_35_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56ebb1c8bb01b1b47c6fb1793dc8e4b6.jpg","text":"TemporaryFile(/tmp/multipartBody4291269227993099537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252322770,"filename":"image_01012026_06_58_04_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6546ae37aaca50390f51b0d0c2808ed.jpg","text":"TemporaryFile(/tmp/multipartBody5451894656095674063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252322770,"filename":"image_01012026_06_58_44_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999359","file1":"1401999357","file0":"1401999355","file4":"1401999363","file5":"1401999369","file3":"1401999361"},"map_files_photo_id_array":[{"photo_id":"1401999369","filename":"file5"},{"photo_id":"1401999359","filename":"file2"},{"photo_id":"1401999363","filename":"file4"},{"photo_id":"1401999357","filename":"file1"},{"photo_id":"1401999355","filename":"file0"},{"photo_id":"1401999361","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999369":["hashtag1","hashtag2"]},{"1401999357":["hashtag1","hashtag2"]},{"1401999359":["hashtag1","hashtag2"]},{"1401999361":["hashtag1","hashtag2"]},{"1401999355":["hashtag1","hashtag2"]},{"1401999363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999369, 1401999357, 1401999359, 1401999361, 1401999355, 1401999363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53272032737732 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:25:02.966785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/58/image_01012026_06_59_04_9635.jpg', '/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_14_9674.jpg', '/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_25_10904.jpg', '/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_35_9673.jpg', '/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_45_9845.jpg', '/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_54_9827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/58/image_01012026_06_59_04_9635.jpg
/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_14_9674.jpg
/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_25_10904.jpg
/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_35_9673.jpg
/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_45_9845.jpg
/home/pi/Desktop/images/01012026/06/59/image_01012026_06_59_54_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":["1401999387","1401999380","1401999383","1401999381","1401999384","1401999378"],"photo_ids_order":["1401999378","1401999380","1401999381","1401999383","1401999384","1401999387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/259ff0ee5ffd28cedb18c0822b2f4773.jpg","text":"TemporaryFile(/tmp/multipartBody7338857497948184821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252363603,"filename":"image_01012026_06_59_54_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94849303c0b5519221d87fb219ae14b3.jpg","text":"TemporaryFile(/tmp/multipartBody5196586266830542761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252363603,"filename":"image_01012026_06_59_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d40f17d55dc65c9be04953f9d8b47379.jpg","text":"TemporaryFile(/tmp/multipartBody8246035936651982233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252363603,"filename":"image_01012026_06_59_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1bcbd64a2ed335a33c63443ce587535.jpg","text":"TemporaryFile(/tmp/multipartBody6035192337917499425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252363603,"filename":"image_01012026_06_59_25_10904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8cd881b3c488363540429c534f610b10.jpg","text":"TemporaryFile(/tmp/multipartBody3327249941779005066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252363603,"filename":"image_01012026_06_59_45_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac39ffded1bc662cfbd791bf1200efcb.jpg","text":"TemporaryFile(/tmp/multipartBody5411078775463469736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252363603,"filename":"image_01012026_06_59_04_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999381","file1":"1401999380","file0":"1401999378","file4":"1401999384","file5":"1401999387","file3":"1401999383"},"map_files_photo_id_array":[{"photo_id":"1401999387","filename":"file5"},{"photo_id":"1401999381","filename":"file2"},{"photo_id":"1401999384","filename":"file4"},{"photo_id":"1401999380","filename":"file1"},{"photo_id":"1401999378","filename":"file0"},{"photo_id":"1401999383","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999387":["hashtag1","hashtag2"]},{"1401999380":["hashtag1","hashtag2"]},{"1401999383":["hashtag1","hashtag2"]},{"1401999381":["hashtag1","hashtag2"]},{"1401999384":["hashtag1","hashtag2"]},{"1401999378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999387, 1401999380, 1401999383, 1401999381, 1401999384, 1401999378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67332077026367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:25:42.339389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_50_2756.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_52_2639.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_56_3758.jpg', '/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_59_2825.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_02_2749.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_08_3577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_50_2756.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_52_2639.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_56_3758.jpg
/home/pi/Desktop/images/04112025/15/25/image_04112025_15_25_59_2825.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_02_2749.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_08_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":["1401999393","1401999395","1401999398","1401999397","1401999396","1401999399"],"photo_ids_order":["1401999393","1401999395","1401999396","1401999397","1401999398","1401999399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59a6a7bd9b7efd32ae948ef48739093c.jpg","text":"TemporaryFile(/tmp/multipartBody2645586199762154096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252404317,"filename":"image_04112025_15_25_50_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5358d8d9675765a8d7887dd2e8fb06ef.jpg","text":"TemporaryFile(/tmp/multipartBody2263557425385682718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252404317,"filename":"image_04112025_15_25_52_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/383991c33e6bc802b425ec865ceee1a7.jpg","text":"TemporaryFile(/tmp/multipartBody7395702157190116694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252404317,"filename":"image_04112025_15_26_02_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9817e42e5af5ae03fdda21120856ac6c.jpg","text":"TemporaryFile(/tmp/multipartBody1206872991808673426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252404317,"filename":"image_04112025_15_25_59_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7124f87a989c05c5999a125a62e6572f.jpg","text":"TemporaryFile(/tmp/multipartBody4090323719154061229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252404317,"filename":"image_04112025_15_25_56_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b8d2ee63ecbcafa93bf7b3f5b3f7a05.jpg","text":"TemporaryFile(/tmp/multipartBody2080495907821362197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252404317,"filename":"image_04112025_15_26_08_3577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999396","file1":"1401999395","file0":"1401999393","file4":"1401999398","file5":"1401999399","file3":"1401999397"},"map_files_photo_id_array":[{"photo_id":"1401999399","filename":"file5"},{"photo_id":"1401999396","filename":"file2"},{"photo_id":"1401999398","filename":"file4"},{"photo_id":"1401999395","filename":"file1"},{"photo_id":"1401999393","filename":"file0"},{"photo_id":"1401999397","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999393":["hashtag1","hashtag2"]},{"1401999395":["hashtag1","hashtag2"]},{"1401999398":["hashtag1","hashtag2"]},{"1401999397":["hashtag1","hashtag2"]},{"1401999396":["hashtag1","hashtag2"]},{"1401999399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999393, 1401999395, 1401999398, 1401999397, 1401999396, 1401999399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.690812826156616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:26:22.506752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/06/59/image_01012026_07_00_05_10680.jpg', '/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_15_9626.jpg', '/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_24_9709.jpg', '/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_35_10605.jpg', '/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_45_9670.jpg', '/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_54_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/06/59/image_01012026_07_00_05_10680.jpg
/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_15_9626.jpg
/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_24_9709.jpg
/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_35_10605.jpg
/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_45_9670.jpg
/home/pi/Desktop/images/01012026/07/00/image_01012026_07_00_54_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":["1401999408","1401999402","1401999404","1401999412","1401999406","1401999400"],"photo_ids_order":["1401999400","1401999402","1401999404","1401999406","1401999408","1401999412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b41c20bfc95764d03b20687fa6715c30.jpg","text":"TemporaryFile(/tmp/multipartBody4120336780688260699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252443089,"filename":"image_01012026_07_00_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4225e9f797b43e1e11780420e955737a.jpg","text":"TemporaryFile(/tmp/multipartBody4637847192284886923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252443089,"filename":"image_01012026_07_00_15_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca0545ebcb661e7dbc16e28f8e605798.jpg","text":"TemporaryFile(/tmp/multipartBody7501469747132198864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252443089,"filename":"image_01012026_07_00_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c81d7fe4dacd4804666d5026be363ca1.jpg","text":"TemporaryFile(/tmp/multipartBody8161810829556171075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252443089,"filename":"image_01012026_07_00_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/393d986a3230211937398bdadd40a41f.jpg","text":"TemporaryFile(/tmp/multipartBody1084823632950760608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252443089,"filename":"image_01012026_07_00_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6ef1edcba26098fa8d50f30e3853224.jpg","text":"TemporaryFile(/tmp/multipartBody7384752892706830007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252443089,"filename":"image_01012026_07_00_05_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999404","file1":"1401999402","file0":"1401999400","file4":"1401999408","file5":"1401999412","file3":"1401999406"},"map_files_photo_id_array":[{"photo_id":"1401999412","filename":"file5"},{"photo_id":"1401999404","filename":"file2"},{"photo_id":"1401999408","filename":"file4"},{"photo_id":"1401999402","filename":"file1"},{"photo_id":"1401999400","filename":"file0"},{"photo_id":"1401999406","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999408":["hashtag1","hashtag2"]},{"1401999402":["hashtag1","hashtag2"]},{"1401999404":["hashtag1","hashtag2"]},{"1401999412":["hashtag1","hashtag2"]},{"1401999406":["hashtag1","hashtag2"]},{"1401999400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999408, 1401999402, 1401999404, 1401999412, 1401999406, 1401999400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09089756011963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:27:03.429473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/00/image_01012026_07_01_05_10546.jpg', '/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_15_9727.jpg', '/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_24_9891.jpg', '/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_34_9699.jpg', '/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_45_10658.jpg', '/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_54_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/00/image_01012026_07_01_05_10546.jpg
/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_15_9727.jpg
/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_24_9891.jpg
/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_34_9699.jpg
/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_45_10658.jpg
/home/pi/Desktop/images/01012026/07/01/image_01012026_07_01_54_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":["1401999414","1401999419","1401999416","1401999421","1401999418","1401999415"],"photo_ids_order":["1401999414","1401999415","1401999416","1401999418","1401999419","1401999421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0355e631f63be5c69a204fa61325e49.jpg","text":"TemporaryFile(/tmp/multipartBody8870978504410182340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252484062,"filename":"image_01012026_07_01_05_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48d6aabedcd16b3f60a87137d7855980.jpg","text":"TemporaryFile(/tmp/multipartBody3159315752425311006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252484062,"filename":"image_01012026_07_01_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cd6df4b218fb7cbced343ad78c4965c.jpg","text":"TemporaryFile(/tmp/multipartBody8396186705102335199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252484062,"filename":"image_01012026_07_01_24_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/762c70d14df3178a41dee6c7d0165b75.jpg","text":"TemporaryFile(/tmp/multipartBody7840938037549740101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252484062,"filename":"image_01012026_07_01_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/399f1709f67500e9a2c06f2dd90fc75a.jpg","text":"TemporaryFile(/tmp/multipartBody7219272450781490917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252484062,"filename":"image_01012026_07_01_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef3275c1537c29badf6e5583c1824570.jpg","text":"TemporaryFile(/tmp/multipartBody3077671833426633882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252484062,"filename":"image_01012026_07_01_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999416","file1":"1401999415","file0":"1401999414","file4":"1401999419","file5":"1401999421","file3":"1401999418"},"map_files_photo_id_array":[{"photo_id":"1401999421","filename":"file5"},{"photo_id":"1401999416","filename":"file2"},{"photo_id":"1401999419","filename":"file4"},{"photo_id":"1401999415","filename":"file1"},{"photo_id":"1401999414","filename":"file0"},{"photo_id":"1401999418","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999414":["hashtag1","hashtag2"]},{"1401999419":["hashtag1","hashtag2"]},{"1401999416":["hashtag1","hashtag2"]},{"1401999421":["hashtag1","hashtag2"]},{"1401999418":["hashtag1","hashtag2"]},{"1401999415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999414, 1401999419, 1401999416, 1401999421, 1401999418, 1401999415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65783214569092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:27:42.806724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_11_2713.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_13_2634.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_17_3664.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_20_2561.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_22_2843.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_26_3734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_11_2713.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_13_2634.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_17_3664.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_20_2561.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_22_2843.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_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":["1401999432","1401999426","1401999429","1401999431","1401999428","1401999430"],"photo_ids_order":["1401999426","1401999428","1401999429","1401999430","1401999431","1401999432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cd388a7a2fa298a8055802226020ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6244976255678737257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252524730,"filename":"image_04112025_15_26_26_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/498f54696299638d5d3914ced633042e.jpg","text":"TemporaryFile(/tmp/multipartBody4686986163782062691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252524730,"filename":"image_04112025_15_26_11_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a017d8399ce0f9dd178726c51706351d.jpg","text":"TemporaryFile(/tmp/multipartBody7789708491587214744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252524730,"filename":"image_04112025_15_26_17_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88f4b71f5fdd5ca0a664d091d46abc0e.jpg","text":"TemporaryFile(/tmp/multipartBody2392025321386054457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252524730,"filename":"image_04112025_15_26_22_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6bf67e58bffa7898b9e710f51696969.jpg","text":"TemporaryFile(/tmp/multipartBody6298692755645023813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252524730,"filename":"image_04112025_15_26_13_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d8fe920f2d32c77ef5cbb3c28822a5a.jpg","text":"TemporaryFile(/tmp/multipartBody7688697482543366571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252524730,"filename":"image_04112025_15_26_20_2561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999429","file1":"1401999428","file0":"1401999426","file4":"1401999431","file5":"1401999432","file3":"1401999430"},"map_files_photo_id_array":[{"photo_id":"1401999432","filename":"file5"},{"photo_id":"1401999429","filename":"file2"},{"photo_id":"1401999431","filename":"file4"},{"photo_id":"1401999428","filename":"file1"},{"photo_id":"1401999426","filename":"file0"},{"photo_id":"1401999430","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999432":["hashtag1","hashtag2"]},{"1401999426":["hashtag1","hashtag2"]},{"1401999429":["hashtag1","hashtag2"]},{"1401999431":["hashtag1","hashtag2"]},{"1401999428":["hashtag1","hashtag2"]},{"1401999430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999432, 1401999426, 1401999429, 1401999431, 1401999428, 1401999430)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.305169343948364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:28:31.974627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_31_2626.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_35_3626.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_40_5067.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_42_1639.jpg', '/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_55_12979.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_09_14485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_31_2626.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_35_3626.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_40_5067.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_42_1639.jpg
/home/pi/Desktop/images/04112025/15/26/image_04112025_15_26_55_12979.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_09_14485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999444","1401999447","1401999441","1401999446","1401999448","1401999445"],"photo_ids_order":["1401999441","1401999444","1401999445","1401999446","1401999447","1401999448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/733faedcf5f72f91326460700847ab2c.jpg","text":"TemporaryFile(/tmp/multipartBody2327458012470747781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252584461,"filename":"image_04112025_15_26_35_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0442df6ddd8e5736ff111c1766354bd1.jpg","text":"TemporaryFile(/tmp/multipartBody8843053848825589956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252584461,"filename":"image_04112025_15_26_55_12979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f1427cef391f2c9918ab27df97c3fdc.jpg","text":"TemporaryFile(/tmp/multipartBody410819794528511853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252584461,"filename":"image_04112025_15_26_31_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2acb16de5b88ba3e2d79df3667761ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8835879397382621337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252584461,"filename":"image_04112025_15_26_42_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b82c361c28d6600e6d37d2e26d3d1e2.jpg","text":"TemporaryFile(/tmp/multipartBody4150314374719310047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252584461,"filename":"image_04112025_15_27_09_14485.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a74a03770f981b4c697b7b66faccd27.jpg","text":"TemporaryFile(/tmp/multipartBody4941257745236047146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252584461,"filename":"image_04112025_15_26_40_5067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999445","file1":"1401999444","file0":"1401999441","file4":"1401999447","file5":"1401999448","file3":"1401999446"},"map_files_photo_id_array":[{"photo_id":"1401999448","filename":"file5"},{"photo_id":"1401999445","filename":"file2"},{"photo_id":"1401999447","filename":"file4"},{"photo_id":"1401999444","filename":"file1"},{"photo_id":"1401999441","filename":"file0"},{"photo_id":"1401999446","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999444":["hashtag1","hashtag2"]},{"1401999447":["hashtag1","hashtag2"]},{"1401999441":["hashtag1","hashtag2"]},{"1401999446":["hashtag1","hashtag2"]},{"1401999448":["hashtag1","hashtag2"]},{"1401999445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999444, 1401999447, 1401999441, 1401999446, 1401999448, 1401999445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.69490575790405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:29:22.073971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/01/image_01012026_07_02_04_9812.jpg', '/home/pi/Desktop/images/01012026/07/02/image_01012026_07_02_15_10767.jpg', '/home/pi/Desktop/images/01012026/07/02/image_01012026_07_02_44_9698.jpg', '/home/pi/Desktop/images/01012026/07/02/image_01012026_07_02_54_9732.jpg', '/home/pi/Desktop/images/01012026/07/02/image_01012026_07_03_05_10767.jpg', '/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_15_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/01/image_01012026_07_02_04_9812.jpg
/home/pi/Desktop/images/01012026/07/02/image_01012026_07_02_15_10767.jpg
/home/pi/Desktop/images/01012026/07/02/image_01012026_07_02_44_9698.jpg
/home/pi/Desktop/images/01012026/07/02/image_01012026_07_02_54_9732.jpg
/home/pi/Desktop/images/01012026/07/02/image_01012026_07_03_05_10767.jpg
/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_15_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999453","1401999461","1401999455","1401999466","1401999457","1401999451"],"photo_ids_order":["1401999451","1401999453","1401999455","1401999457","1401999461","1401999466"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bd3e3fa364b86418bc72aec25c07c4a.jpg","text":"TemporaryFile(/tmp/multipartBody5226676783381732711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252622649,"filename":"image_01012026_07_02_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b6d6245132bcdfba0179e1b2f992b5b.jpg","text":"TemporaryFile(/tmp/multipartBody914624205904495901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252622649,"filename":"image_01012026_07_03_05_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb29751e410750a1975be03aa38e398a.jpg","text":"TemporaryFile(/tmp/multipartBody4619191320650706646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252622649,"filename":"image_01012026_07_02_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bfdd1e4080067577d879541d0b20342.jpg","text":"TemporaryFile(/tmp/multipartBody508259247725676940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252622649,"filename":"image_01012026_07_03_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/816400cb05bc1c6ad0b0e698e6f47627.jpg","text":"TemporaryFile(/tmp/multipartBody3659079645817810638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252622649,"filename":"image_01012026_07_02_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebeb4785372a89392b19736208e5d9b6.jpg","text":"TemporaryFile(/tmp/multipartBody1535959720231358680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252622649,"filename":"image_01012026_07_02_04_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999455","file1":"1401999453","file0":"1401999451","file4":"1401999461","file5":"1401999466","file3":"1401999457"},"map_files_photo_id_array":[{"photo_id":"1401999466","filename":"file5"},{"photo_id":"1401999455","filename":"file2"},{"photo_id":"1401999461","filename":"file4"},{"photo_id":"1401999453","filename":"file1"},{"photo_id":"1401999451","filename":"file0"},{"photo_id":"1401999457","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999453":["hashtag1","hashtag2"]},{"1401999461":["hashtag1","hashtag2"]},{"1401999455":["hashtag1","hashtag2"]},{"1401999466":["hashtag1","hashtag2"]},{"1401999457":["hashtag1","hashtag2"]},{"1401999451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999453, 1401999461, 1401999455, 1401999466, 1401999457, 1401999451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.834125995635986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:30:02.878919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_24_9694.jpg', '/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_34_9839.jpg', '/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_45_10718.jpg', '/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_54_9666.jpg', '/home/pi/Desktop/images/01012026/07/03/image_01012026_07_04_04_9609.jpg', '/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_15_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_24_9694.jpg
/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_34_9839.jpg
/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_45_10718.jpg
/home/pi/Desktop/images/01012026/07/03/image_01012026_07_03_54_9666.jpg
/home/pi/Desktop/images/01012026/07/03/image_01012026_07_04_04_9609.jpg
/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_15_10777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999471","1401999468","1401999473","1401999470","1401999467","1401999469"],"photo_ids_order":["1401999467","1401999468","1401999469","1401999470","1401999471","1401999473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4cec09af2cd27e452ebf8d187359063.jpg","text":"TemporaryFile(/tmp/multipartBody6815697329866787984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252663501,"filename":"image_01012026_07_04_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/caac2cd627ca85b3603161f51b9b8a74.jpg","text":"TemporaryFile(/tmp/multipartBody227627626973102912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252663501,"filename":"image_01012026_07_03_34_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0d243452422765d0db339633dcfad60.jpg","text":"TemporaryFile(/tmp/multipartBody8852000645286459161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252663501,"filename":"image_01012026_07_04_15_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5349a49ee8b9428a0806990133b99f79.jpg","text":"TemporaryFile(/tmp/multipartBody5018979373858717072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252663501,"filename":"image_01012026_07_03_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8601fb72aed6832a09ccd10fac57fd1.jpg","text":"TemporaryFile(/tmp/multipartBody423748182459415168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252663501,"filename":"image_01012026_07_03_24_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e3d89228cd2b9a3c15614d826c916bb.jpg","text":"TemporaryFile(/tmp/multipartBody5909725814253897547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252663501,"filename":"image_01012026_07_03_45_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999469","file1":"1401999468","file0":"1401999467","file4":"1401999471","file5":"1401999473","file3":"1401999470"},"map_files_photo_id_array":[{"photo_id":"1401999473","filename":"file5"},{"photo_id":"1401999469","filename":"file2"},{"photo_id":"1401999471","filename":"file4"},{"photo_id":"1401999468","filename":"file1"},{"photo_id":"1401999467","filename":"file0"},{"photo_id":"1401999470","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999471":["hashtag1","hashtag2"]},{"1401999468":["hashtag1","hashtag2"]},{"1401999473":["hashtag1","hashtag2"]},{"1401999470":["hashtag1","hashtag2"]},{"1401999467":["hashtag1","hashtag2"]},{"1401999469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999471, 1401999468, 1401999473, 1401999470, 1401999467, 1401999469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02174162864685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:30:42.394402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_11_1674.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_13_1612.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_14_1762.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_19_5049.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_23_1720.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_24_1551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_11_1674.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_13_1612.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_14_1762.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_19_5049.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_23_1720.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_24_1551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999486","1401999482","1401999485","1401999479","1401999484","1401999483"],"photo_ids_order":["1401999479","1401999482","1401999483","1401999484","1401999485","1401999486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd6a0e20c09f4dbc05457c9fc9a2f816.jpg","text":"TemporaryFile(/tmp/multipartBody8653061205039407705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252704308,"filename":"image_04112025_15_27_24_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfed8d16238ea551e71e5f36332b8183.jpg","text":"TemporaryFile(/tmp/multipartBody2900981751198638019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252704308,"filename":"image_04112025_15_27_13_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0ddee6daa2d0024b2898532950a292d.jpg","text":"TemporaryFile(/tmp/multipartBody7945117556117985322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252704308,"filename":"image_04112025_15_27_23_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4486818d5b0a576b14d183d4a76ce381.jpg","text":"TemporaryFile(/tmp/multipartBody82795379847059863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252704308,"filename":"image_04112025_15_27_11_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2e8f6eeae11743e0b39102035536912.jpg","text":"TemporaryFile(/tmp/multipartBody5964566153399765943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252704308,"filename":"image_04112025_15_27_19_5049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08de8469bded5ed3cf6de54e01b0d8b7.jpg","text":"TemporaryFile(/tmp/multipartBody5792780853196886635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252704308,"filename":"image_04112025_15_27_14_1762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999483","file1":"1401999482","file0":"1401999479","file4":"1401999485","file5":"1401999486","file3":"1401999484"},"map_files_photo_id_array":[{"photo_id":"1401999486","filename":"file5"},{"photo_id":"1401999483","filename":"file2"},{"photo_id":"1401999485","filename":"file4"},{"photo_id":"1401999482","filename":"file1"},{"photo_id":"1401999479","filename":"file0"},{"photo_id":"1401999484","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999486":["hashtag1","hashtag2"]},{"1401999482":["hashtag1","hashtag2"]},{"1401999485":["hashtag1","hashtag2"]},{"1401999479":["hashtag1","hashtag2"]},{"1401999484":["hashtag1","hashtag2"]},{"1401999483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999486, 1401999482, 1401999485, 1401999479, 1401999484, 1401999483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.618680238723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:31:22.515139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_25_9722.jpg', '/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_34_9660.jpg', '/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_45_10660.jpg', '/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_55_9645.jpg', '/home/pi/Desktop/images/01012026/07/04/image_01012026_07_05_04_9846.jpg', '/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_15_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_25_9722.jpg
/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_34_9660.jpg
/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_45_10660.jpg
/home/pi/Desktop/images/01012026/07/04/image_01012026_07_04_55_9645.jpg
/home/pi/Desktop/images/01012026/07/04/image_01012026_07_05_04_9846.jpg
/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_15_10653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999491","1401999497","1401999493","1401999487","1401999495","1401999489"],"photo_ids_order":["1401999487","1401999489","1401999491","1401999493","1401999495","1401999497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45047c5852d23f3ed31410cf200041f8.jpg","text":"TemporaryFile(/tmp/multipartBody8288526186446893026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252743068,"filename":"image_01012026_07_04_45_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95968db622fef4223f0271b5bec7c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody8962842921207889694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252743068,"filename":"image_01012026_07_05_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2db22104cc425225268bc42d5de23f99.jpg","text":"TemporaryFile(/tmp/multipartBody1330504200267401431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252743068,"filename":"image_01012026_07_04_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0e2915cfbfdb67ff1424ae36f847556.jpg","text":"TemporaryFile(/tmp/multipartBody6793348115502613282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252743068,"filename":"image_01012026_07_04_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd9579273ddb0006423fd7dd42f45dec.jpg","text":"TemporaryFile(/tmp/multipartBody274352589996590164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252743068,"filename":"image_01012026_07_05_04_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bac9e214a2891eb1906e955c2c695eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4627862132946195779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252743068,"filename":"image_01012026_07_04_34_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999491","file1":"1401999489","file0":"1401999487","file4":"1401999495","file5":"1401999497","file3":"1401999493"},"map_files_photo_id_array":[{"photo_id":"1401999497","filename":"file5"},{"photo_id":"1401999491","filename":"file2"},{"photo_id":"1401999495","filename":"file4"},{"photo_id":"1401999489","filename":"file1"},{"photo_id":"1401999487","filename":"file0"},{"photo_id":"1401999493","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999491":["hashtag1","hashtag2"]},{"1401999497":["hashtag1","hashtag2"]},{"1401999493":["hashtag1","hashtag2"]},{"1401999487":["hashtag1","hashtag2"]},{"1401999495":["hashtag1","hashtag2"]},{"1401999489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999491, 1401999497, 1401999493, 1401999487, 1401999495, 1401999489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00946307182312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:32:03.040625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_25_9636.jpg', '/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_34_9572.jpg', '/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_45_10517.jpg', '/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_54_9685.jpg', '/home/pi/Desktop/images/01012026/07/05/image_01012026_07_06_04_9807.jpg', '/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_15_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_25_9636.jpg
/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_34_9572.jpg
/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_45_10517.jpg
/home/pi/Desktop/images/01012026/07/05/image_01012026_07_05_54_9685.jpg
/home/pi/Desktop/images/01012026/07/05/image_01012026_07_06_04_9807.jpg
/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_15_10779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999501","1401999504","1401999506","1401999500","1401999499","1401999503"],"photo_ids_order":["1401999499","1401999500","1401999501","1401999503","1401999504","1401999506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76dbe5e149555a32f4a31f00b81ed2fe.jpg","text":"TemporaryFile(/tmp/multipartBody6341790406140886122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252783674,"filename":"image_01012026_07_05_45_10517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3aaf8356d3a8ff1d3deee50d5e28e8f0.jpg","text":"TemporaryFile(/tmp/multipartBody6161273480172395494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252783674,"filename":"image_01012026_07_06_04_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d61b6b3e42feea6f6465e54398f9c9e2.jpg","text":"TemporaryFile(/tmp/multipartBody1657071044424740197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252783674,"filename":"image_01012026_07_06_15_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af000843c560d4173246fba7076cc688.jpg","text":"TemporaryFile(/tmp/multipartBody1703681738606263793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252783674,"filename":"image_01012026_07_05_34_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9eb571232e9b6cdda4564ee6ac13cbc8.jpg","text":"TemporaryFile(/tmp/multipartBody3275535904254399577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252783674,"filename":"image_01012026_07_05_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9d27a0c281e61f9c34ae6038f4b6ddb.jpg","text":"TemporaryFile(/tmp/multipartBody458690428351889271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252783674,"filename":"image_01012026_07_05_54_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999501","file1":"1401999500","file0":"1401999499","file4":"1401999504","file5":"1401999506","file3":"1401999503"},"map_files_photo_id_array":[{"photo_id":"1401999506","filename":"file5"},{"photo_id":"1401999501","filename":"file2"},{"photo_id":"1401999504","filename":"file4"},{"photo_id":"1401999500","filename":"file1"},{"photo_id":"1401999499","filename":"file0"},{"photo_id":"1401999503","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999501":["hashtag1","hashtag2"]},{"1401999504":["hashtag1","hashtag2"]},{"1401999506":["hashtag1","hashtag2"]},{"1401999500":["hashtag1","hashtag2"]},{"1401999499":["hashtag1","hashtag2"]},{"1401999503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999501, 1401999504, 1401999506, 1401999500, 1401999499, 1401999503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.545451402664185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:32:42.464907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_26_1634.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_28_1687.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_29_1714.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_33_1654.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_34_1504.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_36_1605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_26_1634.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_28_1687.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_29_1714.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_33_1654.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_34_1504.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_36_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":["1401999519","1401999518","1401999512","1401999521","1401999520","1401999523"],"photo_ids_order":["1401999512","1401999518","1401999519","1401999520","1401999521","1401999523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08338f4e6cb441e9743d92b7b1eb987e.jpg","text":"TemporaryFile(/tmp/multipartBody7354463420296869253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252824257,"filename":"image_04112025_15_27_29_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7c6df16cc43f36122dae0bfd19243ba.jpg","text":"TemporaryFile(/tmp/multipartBody8209215653349205940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252824257,"filename":"image_04112025_15_27_28_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb86fd37632f27cf188f66428f8eb597.jpg","text":"TemporaryFile(/tmp/multipartBody6870861105028400636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252824257,"filename":"image_04112025_15_27_26_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29803490f15b3c946fb1c25f72f1403c.jpg","text":"TemporaryFile(/tmp/multipartBody1363494601612909553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252824257,"filename":"image_04112025_15_27_34_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c54e49a1f24afdbc3f41282776bbf559.jpg","text":"TemporaryFile(/tmp/multipartBody2103923741541190725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252824257,"filename":"image_04112025_15_27_33_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/701d2b8b9f908a6a4f6be96359b45c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1165181744055437748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252824257,"filename":"image_04112025_15_27_36_1605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999519","file1":"1401999518","file0":"1401999512","file4":"1401999521","file5":"1401999523","file3":"1401999520"},"map_files_photo_id_array":[{"photo_id":"1401999523","filename":"file5"},{"photo_id":"1401999519","filename":"file2"},{"photo_id":"1401999521","filename":"file4"},{"photo_id":"1401999518","filename":"file1"},{"photo_id":"1401999512","filename":"file0"},{"photo_id":"1401999520","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999519":["hashtag1","hashtag2"]},{"1401999518":["hashtag1","hashtag2"]},{"1401999512":["hashtag1","hashtag2"]},{"1401999521":["hashtag1","hashtag2"]},{"1401999520":["hashtag1","hashtag2"]},{"1401999523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999519, 1401999518, 1401999512, 1401999521, 1401999520, 1401999523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98554491996765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:33:22.649294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_25_9768.jpg', '/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_35_9787.jpg', '/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_44_9628.jpg', '/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_55_10570.jpg', '/home/pi/Desktop/images/01012026/07/06/image_01012026_07_07_05_9738.jpg', '/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_14_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_25_9768.jpg
/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_35_9787.jpg
/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_44_9628.jpg
/home/pi/Desktop/images/01012026/07/06/image_01012026_07_06_55_10570.jpg
/home/pi/Desktop/images/01012026/07/06/image_01012026_07_07_05_9738.jpg
/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_14_9549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999531","1401999525","1401999533","1401999527","1401999535","1401999529"],"photo_ids_order":["1401999525","1401999527","1401999529","1401999531","1401999533","1401999535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c1568b5089cecd193c9c665c099fc11.jpg","text":"TemporaryFile(/tmp/multipartBody4530417153125048701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252863207,"filename":"image_01012026_07_06_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/363df6b9230e1ce6485506f2c1a738b7.jpg","text":"TemporaryFile(/tmp/multipartBody6670560931645056932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252863207,"filename":"image_01012026_07_06_25_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9db0a098ace1569a6a5a1499c36f50bb.jpg","text":"TemporaryFile(/tmp/multipartBody9205451448467936281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252863207,"filename":"image_01012026_07_07_05_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/052857a7b54e781d1dabc45b81325d57.jpg","text":"TemporaryFile(/tmp/multipartBody3278104028264229053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252863207,"filename":"image_01012026_07_06_35_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0880baff99a06500c58b6e068ea41fe2.jpg","text":"TemporaryFile(/tmp/multipartBody4216224954523308850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252863207,"filename":"image_01012026_07_07_14_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea112e5ae87bdf2dc71b6b504edce1bf.jpg","text":"TemporaryFile(/tmp/multipartBody8593421805303730251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252863207,"filename":"image_01012026_07_06_44_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999529","file1":"1401999527","file0":"1401999525","file4":"1401999533","file5":"1401999535","file3":"1401999531"},"map_files_photo_id_array":[{"photo_id":"1401999535","filename":"file5"},{"photo_id":"1401999529","filename":"file2"},{"photo_id":"1401999533","filename":"file4"},{"photo_id":"1401999527","filename":"file1"},{"photo_id":"1401999525","filename":"file0"},{"photo_id":"1401999531","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999531":["hashtag1","hashtag2"]},{"1401999525":["hashtag1","hashtag2"]},{"1401999533":["hashtag1","hashtag2"]},{"1401999527":["hashtag1","hashtag2"]},{"1401999535":["hashtag1","hashtag2"]},{"1401999529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999531, 1401999525, 1401999533, 1401999527, 1401999535, 1401999529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73746705055237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:34:02.651536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_25_10578.jpg', '/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_34_9516.jpg', '/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_45_10650.jpg', '/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_54_9632.jpg', '/home/pi/Desktop/images/01012026/07/07/image_01012026_07_08_04_9703.jpg', '/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_15_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_25_10578.jpg
/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_34_9516.jpg
/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_45_10650.jpg
/home/pi/Desktop/images/01012026/07/07/image_01012026_07_07_54_9632.jpg
/home/pi/Desktop/images/01012026/07/07/image_01012026_07_08_04_9703.jpg
/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_15_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999537","1401999542","1401999536","1401999539","1401999541","1401999538"],"photo_ids_order":["1401999536","1401999537","1401999538","1401999539","1401999541","1401999542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26563c230f62da621cd1b6b59fb48923.jpg","text":"TemporaryFile(/tmp/multipartBody6427538048497946145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252903364,"filename":"image_01012026_07_07_34_9516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a929766900ac12662d2594aa16ca6745.jpg","text":"TemporaryFile(/tmp/multipartBody4559808766421514267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252903364,"filename":"image_01012026_07_08_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3979e888b771748d82b8c592e811af05.jpg","text":"TemporaryFile(/tmp/multipartBody5971060337293884679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252903364,"filename":"image_01012026_07_07_25_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db1d7c2d02a7f2325e59476f735f0dd2.jpg","text":"TemporaryFile(/tmp/multipartBody3344916118297355117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252903364,"filename":"image_01012026_07_07_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9c1c2445097974e4346f60932809efa.jpg","text":"TemporaryFile(/tmp/multipartBody6307138863157344799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252903364,"filename":"image_01012026_07_08_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db88285395492e3b94556bb41e58078c.jpg","text":"TemporaryFile(/tmp/multipartBody3465724307516763597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252903364,"filename":"image_01012026_07_07_45_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999538","file1":"1401999537","file0":"1401999536","file4":"1401999541","file5":"1401999542","file3":"1401999539"},"map_files_photo_id_array":[{"photo_id":"1401999542","filename":"file5"},{"photo_id":"1401999538","filename":"file2"},{"photo_id":"1401999541","filename":"file4"},{"photo_id":"1401999537","filename":"file1"},{"photo_id":"1401999536","filename":"file0"},{"photo_id":"1401999539","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999537":["hashtag1","hashtag2"]},{"1401999542":["hashtag1","hashtag2"]},{"1401999536":["hashtag1","hashtag2"]},{"1401999539":["hashtag1","hashtag2"]},{"1401999541":["hashtag1","hashtag2"]},{"1401999538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999537, 1401999542, 1401999536, 1401999539, 1401999541, 1401999538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.472172498703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:34:41.807222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_37_1622.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_39_1648.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_43_1844.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_44_1556.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_47_2544.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_49_2742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_37_1622.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_39_1648.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_43_1844.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_44_1556.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_47_2544.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_49_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":["1401999555","1401999549","1401999557","1401999559","1401999553","1401999561"],"photo_ids_order":["1401999549","1401999553","1401999555","1401999557","1401999559","1401999561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8aceddf619bea2a330818f8f23881145.jpg","text":"TemporaryFile(/tmp/multipartBody8644770126996534362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252943638,"filename":"image_04112025_15_27_43_1844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c51f0289eca8f213237ce82b6acdd49a.jpg","text":"TemporaryFile(/tmp/multipartBody5379432608204344509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252943638,"filename":"image_04112025_15_27_37_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52450e897d12d310992dc4f1ee84f4b1.jpg","text":"TemporaryFile(/tmp/multipartBody8246388933139685907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252943638,"filename":"image_04112025_15_27_44_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2fb3f8dbf1f6021303660c116c5b0e6.jpg","text":"TemporaryFile(/tmp/multipartBody1930909841861751464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252943638,"filename":"image_04112025_15_27_47_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85376446c4a9739a18000ea53f508d32.jpg","text":"TemporaryFile(/tmp/multipartBody572079620666564203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252943638,"filename":"image_04112025_15_27_39_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c467a6d6e27ef8e194533d843cdcb66e.jpg","text":"TemporaryFile(/tmp/multipartBody609592687655780660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252943638,"filename":"image_04112025_15_27_49_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999555","file1":"1401999553","file0":"1401999549","file4":"1401999559","file5":"1401999561","file3":"1401999557"},"map_files_photo_id_array":[{"photo_id":"1401999561","filename":"file5"},{"photo_id":"1401999555","filename":"file2"},{"photo_id":"1401999559","filename":"file4"},{"photo_id":"1401999553","filename":"file1"},{"photo_id":"1401999549","filename":"file0"},{"photo_id":"1401999557","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999555":["hashtag1","hashtag2"]},{"1401999549":["hashtag1","hashtag2"]},{"1401999557":["hashtag1","hashtag2"]},{"1401999559":["hashtag1","hashtag2"]},{"1401999553":["hashtag1","hashtag2"]},{"1401999561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999555, 1401999549, 1401999557, 1401999559, 1401999553, 1401999561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01566791534424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:35:22.083995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_25_9695.jpg', '/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_34_9629.jpg', '/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_45_10689.jpg', '/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_55_9727.jpg', '/home/pi/Desktop/images/01012026/07/08/image_01012026_07_09_04_9726.jpg', '/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_14_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_25_9695.jpg
/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_34_9629.jpg
/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_45_10689.jpg
/home/pi/Desktop/images/01012026/07/08/image_01012026_07_08_55_9727.jpg
/home/pi/Desktop/images/01012026/07/08/image_01012026_07_09_04_9726.jpg
/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_14_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":["1401999570","1401999564","1401999566","1401999568","1401999562","1401999576"],"photo_ids_order":["1401999562","1401999564","1401999566","1401999568","1401999570","1401999576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/078bed5fbf01688b8c649b75166b6c61.jpg","text":"TemporaryFile(/tmp/multipartBody1681288512798653036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252982674,"filename":"image_01012026_07_09_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c60f090d0e98c13da1ba191a8b49c17.jpg","text":"TemporaryFile(/tmp/multipartBody4440784289083352701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252982674,"filename":"image_01012026_07_08_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b8f66ed137043fcd548910a4a804748.jpg","text":"TemporaryFile(/tmp/multipartBody1479649886004844339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252982674,"filename":"image_01012026_07_08_45_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01358b385a396888b3a7377da70a7038.jpg","text":"TemporaryFile(/tmp/multipartBody9118452375462134643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252982674,"filename":"image_01012026_07_08_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61f7606119327b8709d50c4351d73cb1.jpg","text":"TemporaryFile(/tmp/multipartBody5319258422639967647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252982674,"filename":"image_01012026_07_08_25_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/216486d8ec82de4b4e05d93f93bd0af8.jpg","text":"TemporaryFile(/tmp/multipartBody5610270983657068630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767252982674,"filename":"image_01012026_07_09_14_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999566","file1":"1401999564","file0":"1401999562","file4":"1401999570","file5":"1401999576","file3":"1401999568"},"map_files_photo_id_array":[{"photo_id":"1401999576","filename":"file5"},{"photo_id":"1401999566","filename":"file2"},{"photo_id":"1401999570","filename":"file4"},{"photo_id":"1401999564","filename":"file1"},{"photo_id":"1401999562","filename":"file0"},{"photo_id":"1401999568","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999570":["hashtag1","hashtag2"]},{"1401999564":["hashtag1","hashtag2"]},{"1401999566":["hashtag1","hashtag2"]},{"1401999568":["hashtag1","hashtag2"]},{"1401999562":["hashtag1","hashtag2"]},{"1401999576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999570, 1401999564, 1401999566, 1401999568, 1401999562, 1401999576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82967472076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:36:02.780228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_25_10686.jpg', '/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_34_9657.jpg', '/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_44_9713.jpg', '/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_55_10635.jpg', '/home/pi/Desktop/images/01012026/07/09/image_01012026_07_10_05_9771.jpg', '/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_14_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_25_10686.jpg
/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_34_9657.jpg
/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_44_9713.jpg
/home/pi/Desktop/images/01012026/07/09/image_01012026_07_09_55_10635.jpg
/home/pi/Desktop/images/01012026/07/09/image_01012026_07_10_05_9771.jpg
/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_14_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":["1401999579","1401999584","1401999581","1401999583","1401999586","1401999580"],"photo_ids_order":["1401999579","1401999580","1401999581","1401999583","1401999584","1401999586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79cd8835a415f8f81a33a62a91124756.jpg","text":"TemporaryFile(/tmp/multipartBody8533596907771881542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253023431,"filename":"image_01012026_07_09_25_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d164eb637b1fc3a675e1757f2d21feee.jpg","text":"TemporaryFile(/tmp/multipartBody8892691560661158205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253023431,"filename":"image_01012026_07_10_05_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/000e33978937fb032e63c08159944674.jpg","text":"TemporaryFile(/tmp/multipartBody578116951455052886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253023431,"filename":"image_01012026_07_09_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/947c8664eea0fd1e2b9be8d10137fd7d.jpg","text":"TemporaryFile(/tmp/multipartBody9144037460990148274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253023431,"filename":"image_01012026_07_09_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9f643a43119312a62676d97acaebdca.jpg","text":"TemporaryFile(/tmp/multipartBody3494312968956737719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253023431,"filename":"image_01012026_07_10_14_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef77a4d0842feed4f9a053940e992ccc.jpg","text":"TemporaryFile(/tmp/multipartBody119230344781393761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253023431,"filename":"image_01012026_07_09_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999581","file1":"1401999580","file0":"1401999579","file4":"1401999584","file5":"1401999586","file3":"1401999583"},"map_files_photo_id_array":[{"photo_id":"1401999586","filename":"file5"},{"photo_id":"1401999581","filename":"file2"},{"photo_id":"1401999584","filename":"file4"},{"photo_id":"1401999580","filename":"file1"},{"photo_id":"1401999579","filename":"file0"},{"photo_id":"1401999583","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999579":["hashtag1","hashtag2"]},{"1401999584":["hashtag1","hashtag2"]},{"1401999581":["hashtag1","hashtag2"]},{"1401999583":["hashtag1","hashtag2"]},{"1401999586":["hashtag1","hashtag2"]},{"1401999580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999579, 1401999584, 1401999581, 1401999583, 1401999586, 1401999580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.208932876586914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:36:42.326731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_53_3569.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_56_2875.jpg', '/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_59_2812.jpg', '/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_01_2759.jpg', '/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_04_2725.jpg', '/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_08_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_53_3569.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_56_2875.jpg
/home/pi/Desktop/images/04112025/15/27/image_04112025_15_27_59_2812.jpg
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_01_2759.jpg
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_04_2725.jpg
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_08_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999599","1401999596","1401999595","1401999598","1401999592","1401999597"],"photo_ids_order":["1401999592","1401999595","1401999596","1401999597","1401999598","1401999599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89bf6a60523aa7961caaadab99ac6701.jpg","text":"TemporaryFile(/tmp/multipartBody1637175633327038784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253064229,"filename":"image_04112025_15_28_08_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdca2a171b0a995046723d625f8e5df0.jpg","text":"TemporaryFile(/tmp/multipartBody2241063447973446549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253064229,"filename":"image_04112025_15_27_59_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fd4f5525cee7c82c4a35c7da28c976a.jpg","text":"TemporaryFile(/tmp/multipartBody8780035738446330794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253064229,"filename":"image_04112025_15_27_56_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f10c458e0af0c096efa369982a64768.jpg","text":"TemporaryFile(/tmp/multipartBody6582046616040399492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253064229,"filename":"image_04112025_15_28_04_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0789a279327db4b45f9acfa0e36d27c2.jpg","text":"TemporaryFile(/tmp/multipartBody1202671268226257277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253064229,"filename":"image_04112025_15_27_53_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/115e216de4e5371ee57ec2a9ca6944d6.jpg","text":"TemporaryFile(/tmp/multipartBody8751373908422594790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253064229,"filename":"image_04112025_15_28_01_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999596","file1":"1401999595","file0":"1401999592","file4":"1401999598","file5":"1401999599","file3":"1401999597"},"map_files_photo_id_array":[{"photo_id":"1401999599","filename":"file5"},{"photo_id":"1401999596","filename":"file2"},{"photo_id":"1401999598","filename":"file4"},{"photo_id":"1401999595","filename":"file1"},{"photo_id":"1401999592","filename":"file0"},{"photo_id":"1401999597","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999599":["hashtag1","hashtag2"]},{"1401999596":["hashtag1","hashtag2"]},{"1401999595":["hashtag1","hashtag2"]},{"1401999598":["hashtag1","hashtag2"]},{"1401999592":["hashtag1","hashtag2"]},{"1401999597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999599, 1401999596, 1401999595, 1401999598, 1401999592, 1401999597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19204568862915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:37:22.480702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_25_10720.jpg', '/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_35_9821.jpg', '/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_44_9658.jpg', '/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_54_9663.jpg', '/home/pi/Desktop/images/01012026/07/10/image_01012026_07_11_05_10570.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_15_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_25_10720.jpg
/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_35_9821.jpg
/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_44_9658.jpg
/home/pi/Desktop/images/01012026/07/10/image_01012026_07_10_54_9663.jpg
/home/pi/Desktop/images/01012026/07/10/image_01012026_07_11_05_10570.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_15_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999612","1401999609","1401999605","1401999601","1401999604","1401999607"],"photo_ids_order":["1401999601","1401999604","1401999605","1401999607","1401999609","1401999612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ea4880106e76d6051b9fe6fe9c6d33f.jpg","text":"TemporaryFile(/tmp/multipartBody4922778292981317986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253103073,"filename":"image_01012026_07_11_15_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/289a654327804cf5f8bee54325a67192.jpg","text":"TemporaryFile(/tmp/multipartBody923138023204974348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253103073,"filename":"image_01012026_07_11_05_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34281e5c94312594ca270cf23fb6f4e7.jpg","text":"TemporaryFile(/tmp/multipartBody1848848998884264150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253103073,"filename":"image_01012026_07_10_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b72e0625fdf6310be10fd7adc4b464c9.jpg","text":"TemporaryFile(/tmp/multipartBody4731272910609644481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253103073,"filename":"image_01012026_07_10_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b51371cf40070590542c38f639e3f285.jpg","text":"TemporaryFile(/tmp/multipartBody2181705843005567955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253103073,"filename":"image_01012026_07_10_35_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aef7e6458dbac98366b659f961cca4d1.jpg","text":"TemporaryFile(/tmp/multipartBody5231428922779740039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253103073,"filename":"image_01012026_07_10_54_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999605","file1":"1401999604","file0":"1401999601","file4":"1401999609","file5":"1401999612","file3":"1401999607"},"map_files_photo_id_array":[{"photo_id":"1401999612","filename":"file5"},{"photo_id":"1401999605","filename":"file2"},{"photo_id":"1401999609","filename":"file4"},{"photo_id":"1401999604","filename":"file1"},{"photo_id":"1401999601","filename":"file0"},{"photo_id":"1401999607","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999612":["hashtag1","hashtag2"]},{"1401999609":["hashtag1","hashtag2"]},{"1401999605":["hashtag1","hashtag2"]},{"1401999601":["hashtag1","hashtag2"]},{"1401999604":["hashtag1","hashtag2"]},{"1401999607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999612, 1401999609, 1401999605, 1401999601, 1401999604, 1401999607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74537754058838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:38:03.148096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_24_9552.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_35_10623.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_44_9639.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_54_9685.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_12_05_10685.jpg', '/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_14_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_24_9552.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_35_10623.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_44_9639.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_54_9685.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_12_05_10685.jpg
/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_14_9668.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.5107388496398926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:38:12.612912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_13_5765.jpg', '/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_17_3014.jpg', '/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_18_1664.jpg', '/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_20_1603.jpg', '/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_22_2566.jpg', '/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_40_17315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_13_5765.jpg
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_17_3014.jpg
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_18_1664.jpg
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_20_1603.jpg
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_22_2566.jpg
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_28_40_17315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999624","1401999617","1401999626","1401999628","1401999622","1401999619"],"photo_ids_order":["1401999617","1401999619","1401999622","1401999624","1401999626","1401999628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9a12033fc02eb3ec3d0bf9a202f1507.jpg","text":"TemporaryFile(/tmp/multipartBody7122439844611759723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253154413,"filename":"image_04112025_15_28_20_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9818cc81b13d03c785528069f232604c.jpg","text":"TemporaryFile(/tmp/multipartBody820844458119008078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253154413,"filename":"image_04112025_15_28_13_5765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32b51f08afae0a562fa41f4917d44946.jpg","text":"TemporaryFile(/tmp/multipartBody8344917267752364374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253154413,"filename":"image_04112025_15_28_22_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/577679d0a55c42960a4975ede5124245.jpg","text":"TemporaryFile(/tmp/multipartBody5637112758680805619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253154413,"filename":"image_04112025_15_28_40_17315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/308e64fd8be3570e988a7e44b5ce31f4.jpg","text":"TemporaryFile(/tmp/multipartBody3875972047149071764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253154413,"filename":"image_04112025_15_28_18_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9258e6ef585917d956275d9344cae988.jpg","text":"TemporaryFile(/tmp/multipartBody8616121779303312519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253154413,"filename":"image_04112025_15_28_17_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999622","file1":"1401999619","file0":"1401999617","file4":"1401999626","file5":"1401999628","file3":"1401999624"},"map_files_photo_id_array":[{"photo_id":"1401999628","filename":"file5"},{"photo_id":"1401999622","filename":"file2"},{"photo_id":"1401999626","filename":"file4"},{"photo_id":"1401999619","filename":"file1"},{"photo_id":"1401999617","filename":"file0"},{"photo_id":"1401999624","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999624":["hashtag1","hashtag2"]},{"1401999617":["hashtag1","hashtag2"]},{"1401999626":["hashtag1","hashtag2"]},{"1401999628":["hashtag1","hashtag2"]},{"1401999622":["hashtag1","hashtag2"]},{"1401999619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999624, 1401999617, 1401999626, 1401999628, 1401999622, 1401999619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.243165493011475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:39:03.799758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_24_9552.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_35_10623.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_44_9639.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_54_9685.jpg', '/home/pi/Desktop/images/01012026/07/11/image_01012026_07_12_05_10685.jpg', '/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_14_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_24_9552.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_35_10623.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_44_9639.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_11_54_9685.jpg
/home/pi/Desktop/images/01012026/07/11/image_01012026_07_12_05_10685.jpg
/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_14_9668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999639","1401999636","1401999641","1401999635","1401999638","1401999637"],"photo_ids_order":["1401999635","1401999636","1401999637","1401999638","1401999639","1401999641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7341231e5eb141fb370df7dbc96aef0e.jpg","text":"TemporaryFile(/tmp/multipartBody1534051394147217321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253204496,"filename":"image_01012026_07_12_05_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4fb7371742932c9a7c1a2a0bc48b7b7b.jpg","text":"TemporaryFile(/tmp/multipartBody6615559497168339867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253204496,"filename":"image_01012026_07_11_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e09582eb5bbab2f281d124c4bf6841e.jpg","text":"TemporaryFile(/tmp/multipartBody6963838092770696671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253204496,"filename":"image_01012026_07_12_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/389c17770423cdeccccfecca7ae4c61f.jpg","text":"TemporaryFile(/tmp/multipartBody4701085811060359099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253204496,"filename":"image_01012026_07_11_24_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b9326929a5d311fe7e23e037f5e79d5.jpg","text":"TemporaryFile(/tmp/multipartBody808560707853236272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253204496,"filename":"image_01012026_07_11_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e401011dac1669f9b060f07d5969e52.jpg","text":"TemporaryFile(/tmp/multipartBody6364535895538813283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253204496,"filename":"image_01012026_07_11_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999637","file1":"1401999636","file0":"1401999635","file4":"1401999639","file5":"1401999641","file3":"1401999638"},"map_files_photo_id_array":[{"photo_id":"1401999641","filename":"file5"},{"photo_id":"1401999637","filename":"file2"},{"photo_id":"1401999639","filename":"file4"},{"photo_id":"1401999636","filename":"file1"},{"photo_id":"1401999635","filename":"file0"},{"photo_id":"1401999638","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999639":["hashtag1","hashtag2"]},{"1401999636":["hashtag1","hashtag2"]},{"1401999641":["hashtag1","hashtag2"]},{"1401999635":["hashtag1","hashtag2"]},{"1401999638":["hashtag1","hashtag2"]},{"1401999637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999639, 1401999636, 1401999641, 1401999635, 1401999638, 1401999637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.870113372802734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:39:42.856292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/28/image_04112025_15_29_00_20261.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_02_1665.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_03_1696.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_05_1717.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_07_1627.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_08_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/28/image_04112025_15_29_00_20261.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_02_1665.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_03_1696.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_05_1717.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_07_1627.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_08_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":["1401999651","1401999653","1401999647","1401999650","1401999652","1401999649"],"photo_ids_order":["1401999647","1401999649","1401999650","1401999651","1401999652","1401999653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ed483f79849bfaef985a082cb023f3e.jpg","text":"TemporaryFile(/tmp/multipartBody8612705815736263149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253247171,"filename":"image_04112025_15_29_05_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7dfc0bd34bed6c5c540a2bbb81fa875.jpg","text":"TemporaryFile(/tmp/multipartBody4218481845484052055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253247171,"filename":"image_04112025_15_29_08_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e0da711d0ce3378a82dae7d291c9730.jpg","text":"TemporaryFile(/tmp/multipartBody3720584675180682735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253247171,"filename":"image_04112025_15_29_00_20261.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/172c4a2ea12f4667bf46cebb64325b62.jpg","text":"TemporaryFile(/tmp/multipartBody7921169542019985822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253247171,"filename":"image_04112025_15_29_03_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ec09d3c16097714a97b18efc86fd3db.jpg","text":"TemporaryFile(/tmp/multipartBody8535491994405349944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253247171,"filename":"image_04112025_15_29_07_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e0f568796989d3e00f9353e2b55c414.jpg","text":"TemporaryFile(/tmp/multipartBody1444653270392284848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253247171,"filename":"image_04112025_15_29_02_1665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999650","file1":"1401999649","file0":"1401999647","file4":"1401999652","file5":"1401999653","file3":"1401999651"},"map_files_photo_id_array":[{"photo_id":"1401999653","filename":"file5"},{"photo_id":"1401999650","filename":"file2"},{"photo_id":"1401999652","filename":"file4"},{"photo_id":"1401999649","filename":"file1"},{"photo_id":"1401999647","filename":"file0"},{"photo_id":"1401999651","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999651":["hashtag1","hashtag2"]},{"1401999653":["hashtag1","hashtag2"]},{"1401999647":["hashtag1","hashtag2"]},{"1401999650":["hashtag1","hashtag2"]},{"1401999652":["hashtag1","hashtag2"]},{"1401999649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999651, 1401999653, 1401999647, 1401999650, 1401999652, 1401999649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33011770248413 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:40:32.604131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_26_17864.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_28_1714.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_29_1522.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_31_1810.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_33_1847.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_35_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_26_17864.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_28_1714.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_29_1522.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_31_1810.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_33_1847.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_35_1581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999657","1401999666","1401999665","1401999662","1401999659","1401999664"],"photo_ids_order":["1401999657","1401999659","1401999662","1401999664","1401999665","1401999666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da12b14385a81360392d9fac04a300ea.jpg","text":"TemporaryFile(/tmp/multipartBody3010685266914838438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253294542,"filename":"image_04112025_15_29_26_17864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5db12a0640d8c884e1264d2735688f77.jpg","text":"TemporaryFile(/tmp/multipartBody1669348644580841852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253294542,"filename":"image_04112025_15_29_35_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b443523c12b7d714fd2166190b2b76f2.jpg","text":"TemporaryFile(/tmp/multipartBody7355249366314927818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253294542,"filename":"image_04112025_15_29_33_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4f0558043a5360e9bc84bb4b5bc5a67.jpg","text":"TemporaryFile(/tmp/multipartBody9107982562813457957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253294542,"filename":"image_04112025_15_29_29_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2df111af4e56b89dae1f8b8005fefdc9.jpg","text":"TemporaryFile(/tmp/multipartBody993390866310779643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253294542,"filename":"image_04112025_15_29_28_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f76d0bd51ceaf260b5a071eeadf7a444.jpg","text":"TemporaryFile(/tmp/multipartBody4896189032089706185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253294542,"filename":"image_04112025_15_29_31_1810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999662","file1":"1401999659","file0":"1401999657","file4":"1401999665","file5":"1401999666","file3":"1401999664"},"map_files_photo_id_array":[{"photo_id":"1401999666","filename":"file5"},{"photo_id":"1401999662","filename":"file2"},{"photo_id":"1401999665","filename":"file4"},{"photo_id":"1401999659","filename":"file1"},{"photo_id":"1401999657","filename":"file0"},{"photo_id":"1401999664","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999657":["hashtag1","hashtag2"]},{"1401999666":["hashtag1","hashtag2"]},{"1401999665":["hashtag1","hashtag2"]},{"1401999662":["hashtag1","hashtag2"]},{"1401999659":["hashtag1","hashtag2"]},{"1401999664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999657, 1401999666, 1401999665, 1401999662, 1401999659, 1401999664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3392391204834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:41:11.796983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_36_1610.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_38_1763.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_46_6657.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_52_6137.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_54_1553.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_56_1685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_36_1610.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_38_1763.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_46_6657.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_52_6137.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_54_1553.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_56_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":["1401999672","1401999671","1401999674","1401999676","1401999667","1401999669"],"photo_ids_order":["1401999667","1401999669","1401999671","1401999672","1401999674","1401999676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/342d616c17927d9ecc86e311b017de82.jpg","text":"TemporaryFile(/tmp/multipartBody113848340368134869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253338667,"filename":"image_04112025_15_29_52_6137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d359803970b0bef1e144a65750fe7e2.jpg","text":"TemporaryFile(/tmp/multipartBody3473680145808087208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253338667,"filename":"image_04112025_15_29_46_6657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24bd2e3b1b4e1208ae229a5270725430.jpg","text":"TemporaryFile(/tmp/multipartBody5885243194992355660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253338667,"filename":"image_04112025_15_29_54_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0fd8b8be524d7e79108b503f908ecf4.jpg","text":"TemporaryFile(/tmp/multipartBody7496662468489446173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253338667,"filename":"image_04112025_15_29_56_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dc2867ce2045241cca83c1b1bb4cf1a.jpg","text":"TemporaryFile(/tmp/multipartBody5557319121493307677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253338667,"filename":"image_04112025_15_29_36_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e3f0b350097956243a075f8ccfd4d2.jpg","text":"TemporaryFile(/tmp/multipartBody2776026611786285923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253338667,"filename":"image_04112025_15_29_38_1763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999671","file1":"1401999669","file0":"1401999667","file4":"1401999674","file5":"1401999676","file3":"1401999672"},"map_files_photo_id_array":[{"photo_id":"1401999676","filename":"file5"},{"photo_id":"1401999671","filename":"file2"},{"photo_id":"1401999674","filename":"file4"},{"photo_id":"1401999669","filename":"file1"},{"photo_id":"1401999667","filename":"file0"},{"photo_id":"1401999672","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999672":["hashtag1","hashtag2"]},{"1401999671":["hashtag1","hashtag2"]},{"1401999674":["hashtag1","hashtag2"]},{"1401999676":["hashtag1","hashtag2"]},{"1401999667":["hashtag1","hashtag2"]},{"1401999669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999672, 1401999671, 1401999674, 1401999676, 1401999667, 1401999669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.33203482627869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:42:02.426424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_24_9755.jpg', '/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_35_10636.jpg', '/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_44_9619.jpg', '/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_54_9766.jpg', '/home/pi/Desktop/images/01012026/07/12/image_01012026_07_13_05_10549.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_14_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_24_9755.jpg
/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_35_10636.jpg
/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_44_9619.jpg
/home/pi/Desktop/images/01012026/07/12/image_01012026_07_12_54_9766.jpg
/home/pi/Desktop/images/01012026/07/12/image_01012026_07_13_05_10549.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_14_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":["1401999684","1401999683","1401999682","1401999685","1401999687","1401999681"],"photo_ids_order":["1401999681","1401999682","1401999683","1401999684","1401999685","1401999687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f81e945aebf7f1f31d5c88e403a15ae7.jpg","text":"TemporaryFile(/tmp/multipartBody2529274312326882585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253383093,"filename":"image_01012026_07_12_54_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8cbee7a2541e6d2b5aaef7b92b9fa8c.jpg","text":"TemporaryFile(/tmp/multipartBody4020932208731788340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253383093,"filename":"image_01012026_07_12_44_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b18c7e5afabc0b4ef2b4d93f123f39a.jpg","text":"TemporaryFile(/tmp/multipartBody4382436874361050074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253383093,"filename":"image_01012026_07_12_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c30cae79dcf7f3e23b318c3681a00b1.jpg","text":"TemporaryFile(/tmp/multipartBody4444375112283909782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253383093,"filename":"image_01012026_07_13_05_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ae3afdd9e1e2f17744d46b404a05b85.jpg","text":"TemporaryFile(/tmp/multipartBody7659319619130129536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253383093,"filename":"image_01012026_07_13_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/010c805f41c59fcf3c3217f50d16a62f.jpg","text":"TemporaryFile(/tmp/multipartBody7737995352825435604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253383093,"filename":"image_01012026_07_12_24_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999683","file1":"1401999682","file0":"1401999681","file4":"1401999685","file5":"1401999687","file3":"1401999684"},"map_files_photo_id_array":[{"photo_id":"1401999687","filename":"file5"},{"photo_id":"1401999683","filename":"file2"},{"photo_id":"1401999685","filename":"file4"},{"photo_id":"1401999682","filename":"file1"},{"photo_id":"1401999681","filename":"file0"},{"photo_id":"1401999684","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999684":["hashtag1","hashtag2"]},{"1401999683":["hashtag1","hashtag2"]},{"1401999682":["hashtag1","hashtag2"]},{"1401999685":["hashtag1","hashtag2"]},{"1401999687":["hashtag1","hashtag2"]},{"1401999681":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999684, 1401999683, 1401999682, 1401999685, 1401999687, 1401999681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51997661590576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:42:42.050015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_57_1751.jpg', '/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_59_1849.jpg', '/home/pi/Desktop/images/04112025/15/30/image_04112025_15_30_01_1642.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_07_3011.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_11_3616.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_25_14610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_57_1751.jpg
/home/pi/Desktop/images/04112025/15/29/image_04112025_15_29_59_1849.jpg
/home/pi/Desktop/images/04112025/15/30/image_04112025_15_30_01_1642.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_07_3011.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_11_3616.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_25_14610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999698","1401999695","1401999697","1401999700","1401999693","1401999696"],"photo_ids_order":["1401999693","1401999695","1401999696","1401999697","1401999698","1401999700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e65cdc709499e1cfd376e63052f1f6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3127550390191953860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253423972,"filename":"image_04112025_15_32_11_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fea840c2372a159674a6cc544f11ba81.jpg","text":"TemporaryFile(/tmp/multipartBody4581331684008001189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253423972,"filename":"image_04112025_15_29_59_1849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a57fbbb41bdb2a94d4edf60ee0f69465.jpg","text":"TemporaryFile(/tmp/multipartBody1944107579692153222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253423972,"filename":"image_04112025_15_32_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edea566f21468e124aaa489e779f7c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1711001625961820586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253423972,"filename":"image_04112025_15_32_25_14610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a813c1efdc3a6b25d35766e135dd315.jpg","text":"TemporaryFile(/tmp/multipartBody2996461539005168872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253423972,"filename":"image_04112025_15_29_57_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c63f336deb985a50ac2a1c49ebb4bd09.jpg","text":"TemporaryFile(/tmp/multipartBody2255719747754633664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253423972,"filename":"image_04112025_15_30_01_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999696","file1":"1401999695","file0":"1401999693","file4":"1401999698","file5":"1401999700","file3":"1401999697"},"map_files_photo_id_array":[{"photo_id":"1401999700","filename":"file5"},{"photo_id":"1401999696","filename":"file2"},{"photo_id":"1401999698","filename":"file4"},{"photo_id":"1401999695","filename":"file1"},{"photo_id":"1401999693","filename":"file0"},{"photo_id":"1401999697","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999698":["hashtag1","hashtag2"]},{"1401999695":["hashtag1","hashtag2"]},{"1401999697":["hashtag1","hashtag2"]},{"1401999700":["hashtag1","hashtag2"]},{"1401999693":["hashtag1","hashtag2"]},{"1401999696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999698, 1401999695, 1401999697, 1401999700, 1401999693, 1401999696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.014084815979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:43:22.268349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_24_9696.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_35_10672.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_44_9690.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_54_9839.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_14_05_10638.jpg', '/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_15_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_24_9696.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_35_10672.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_44_9690.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_54_9839.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_14_05_10638.jpg
/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_15_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.4838593006134033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:43:32.216997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_28_2845.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_30_1636.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_32_1894.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_44_12545.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_46_1678.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_48_1785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_28_2845.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_30_1636.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_32_1894.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_44_12545.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_46_1678.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_48_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":["1401999714","1401999716","1401999710","1401999713","1401999707","1401999715"],"photo_ids_order":["1401999707","1401999710","1401999713","1401999714","1401999715","1401999716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34aec53d0e5481d8d9c284ea8d73d374.jpg","text":"TemporaryFile(/tmp/multipartBody2324776377772259800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253474204,"filename":"image_04112025_15_32_44_12545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/086f6c998c6d52469618cea0e10afcc7.jpg","text":"TemporaryFile(/tmp/multipartBody570015301255001559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253474204,"filename":"image_04112025_15_32_48_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9eae5dfcdc7b307a4058f535ef20cf20.jpg","text":"TemporaryFile(/tmp/multipartBody7514868847867420734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253474204,"filename":"image_04112025_15_32_30_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b100ca55ef1d21817db8cde158919a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1151283501082428819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253474204,"filename":"image_04112025_15_32_32_1894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bac2e5e3c0a8934dadb46a3bed7763b.jpg","text":"TemporaryFile(/tmp/multipartBody6151732276714157321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253474204,"filename":"image_04112025_15_32_28_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3819cab9ed8c8948d623d6f0bd4b313.jpg","text":"TemporaryFile(/tmp/multipartBody4076166879432820958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253474204,"filename":"image_04112025_15_32_46_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999713","file1":"1401999710","file0":"1401999707","file4":"1401999715","file5":"1401999716","file3":"1401999714"},"map_files_photo_id_array":[{"photo_id":"1401999716","filename":"file5"},{"photo_id":"1401999713","filename":"file2"},{"photo_id":"1401999715","filename":"file4"},{"photo_id":"1401999710","filename":"file1"},{"photo_id":"1401999707","filename":"file0"},{"photo_id":"1401999714","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999714":["hashtag1","hashtag2"]},{"1401999716":["hashtag1","hashtag2"]},{"1401999710":["hashtag1","hashtag2"]},{"1401999713":["hashtag1","hashtag2"]},{"1401999707":["hashtag1","hashtag2"]},{"1401999715":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999714, 1401999716, 1401999710, 1401999713, 1401999707, 1401999715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18256759643555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:44:12.344745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_49_1660.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_51_1707.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_53_1681.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_54_1696.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_56_1616.jpg', '/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_57_1548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_49_1660.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_51_1707.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_53_1681.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_54_1696.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_56_1616.jpg
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_57_1548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999723","1401999725","1401999719","1401999727","1401999721","1401999718"],"photo_ids_order":["1401999718","1401999719","1401999721","1401999723","1401999725","1401999727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d454c133d66228e45de2648fd752f74b.jpg","text":"TemporaryFile(/tmp/multipartBody5550158566710505625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253514133,"filename":"image_04112025_15_32_54_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f43bafe517e76033e4a92c46dce1c62.jpg","text":"TemporaryFile(/tmp/multipartBody5784975395841027675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253514133,"filename":"image_04112025_15_32_56_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17d4387123f0c9257e703035626ea13d.jpg","text":"TemporaryFile(/tmp/multipartBody8051808999560102549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253514133,"filename":"image_04112025_15_32_51_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bafa64a8351c0cbc06c50fc695fdf74.jpg","text":"TemporaryFile(/tmp/multipartBody4271524908811098020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253514133,"filename":"image_04112025_15_32_57_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51cfc24e2a9ec72aab868390a8c2e519.jpg","text":"TemporaryFile(/tmp/multipartBody1213262675036094977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253514133,"filename":"image_04112025_15_32_53_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ff0a1ceff1eec6bf576be9b31dc3255.jpg","text":"TemporaryFile(/tmp/multipartBody4800535472876585143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253514133,"filename":"image_04112025_15_32_49_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999721","file1":"1401999719","file0":"1401999718","file4":"1401999725","file5":"1401999727","file3":"1401999723"},"map_files_photo_id_array":[{"photo_id":"1401999727","filename":"file5"},{"photo_id":"1401999721","filename":"file2"},{"photo_id":"1401999725","filename":"file4"},{"photo_id":"1401999719","filename":"file1"},{"photo_id":"1401999718","filename":"file0"},{"photo_id":"1401999723","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999723":["hashtag1","hashtag2"]},{"1401999725":["hashtag1","hashtag2"]},{"1401999719":["hashtag1","hashtag2"]},{"1401999727":["hashtag1","hashtag2"]},{"1401999721":["hashtag1","hashtag2"]},{"1401999718":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999723, 1401999725, 1401999719, 1401999727, 1401999721, 1401999718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10789227485657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:45:03.227307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_24_9696.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_35_10672.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_44_9690.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_54_9839.jpg', '/home/pi/Desktop/images/01012026/07/13/image_01012026_07_14_05_10638.jpg', '/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_15_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_24_9696.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_35_10672.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_44_9690.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_13_54_9839.jpg
/home/pi/Desktop/images/01012026/07/13/image_01012026_07_14_05_10638.jpg
/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_15_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":["1401999741","1401999738","1401999737","1401999739","1401999733","1401999736"],"photo_ids_order":["1401999733","1401999736","1401999737","1401999738","1401999739","1401999741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71689bc82c1f737db5e222f8d39f0cfd.jpg","text":"TemporaryFile(/tmp/multipartBody695053369171679180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253563915,"filename":"image_01012026_07_14_15_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24035151187531d2ee5841475d283c83.jpg","text":"TemporaryFile(/tmp/multipartBody934105071812234335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253563915,"filename":"image_01012026_07_13_54_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b998b8ac3de8dbae927b10c83bd64bb.jpg","text":"TemporaryFile(/tmp/multipartBody5738576546084868914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253563915,"filename":"image_01012026_07_13_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30071c7de32a1aab63520dc28307b248.jpg","text":"TemporaryFile(/tmp/multipartBody4850288909647548789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253563915,"filename":"image_01012026_07_14_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74391bfd6bda3179c6cbf96c258872b4.jpg","text":"TemporaryFile(/tmp/multipartBody4029231529353094972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253563915,"filename":"image_01012026_07_13_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0a9e21af2d0faa4c71465a90425f25c.jpg","text":"TemporaryFile(/tmp/multipartBody4873647725946410971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253563915,"filename":"image_01012026_07_13_35_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999737","file1":"1401999736","file0":"1401999733","file4":"1401999739","file5":"1401999741","file3":"1401999738"},"map_files_photo_id_array":[{"photo_id":"1401999741","filename":"file5"},{"photo_id":"1401999737","filename":"file2"},{"photo_id":"1401999739","filename":"file4"},{"photo_id":"1401999736","filename":"file1"},{"photo_id":"1401999733","filename":"file0"},{"photo_id":"1401999738","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999741":["hashtag1","hashtag2"]},{"1401999738":["hashtag1","hashtag2"]},{"1401999737":["hashtag1","hashtag2"]},{"1401999739":["hashtag1","hashtag2"]},{"1401999733":["hashtag1","hashtag2"]},{"1401999736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999741, 1401999738, 1401999737, 1401999739, 1401999733, 1401999736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58338665962219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:45:42.549863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_59_1710.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_01_1558.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_02_1609.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_04_1703.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_11_6981.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_13_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/32/image_04112025_15_32_59_1710.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_01_1558.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_02_1609.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_04_1703.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_11_6981.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_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":["1401999750","1401999747","1401999752","1401999749","1401999751","1401999748"],"photo_ids_order":["1401999747","1401999748","1401999749","1401999750","1401999751","1401999752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da3810839cea56e3a27867acb6a89930.jpg","text":"TemporaryFile(/tmp/multipartBody8973072651418745448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253604467,"filename":"image_04112025_15_33_04_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38d3271c13709f0635e0242e5685293b.jpg","text":"TemporaryFile(/tmp/multipartBody1594150260815008503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253604467,"filename":"image_04112025_15_32_59_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82568bf2f1cf1a5125e2fb99628ce537.jpg","text":"TemporaryFile(/tmp/multipartBody7050866520405143662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253604467,"filename":"image_04112025_15_33_13_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b446a78736aa891b99263d59d559d82.jpg","text":"TemporaryFile(/tmp/multipartBody4228305318308583660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253604467,"filename":"image_04112025_15_33_02_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2a0a116545cbbde5add7c64d3f2d2db.jpg","text":"TemporaryFile(/tmp/multipartBody3550205856569883897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253604467,"filename":"image_04112025_15_33_11_6981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d63c6cc73f580054880382590bfcb8a5.jpg","text":"TemporaryFile(/tmp/multipartBody5213545343594758622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253604467,"filename":"image_04112025_15_33_01_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999749","file1":"1401999748","file0":"1401999747","file4":"1401999751","file5":"1401999752","file3":"1401999750"},"map_files_photo_id_array":[{"photo_id":"1401999752","filename":"file5"},{"photo_id":"1401999749","filename":"file2"},{"photo_id":"1401999751","filename":"file4"},{"photo_id":"1401999748","filename":"file1"},{"photo_id":"1401999747","filename":"file0"},{"photo_id":"1401999750","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999750":["hashtag1","hashtag2"]},{"1401999747":["hashtag1","hashtag2"]},{"1401999752":["hashtag1","hashtag2"]},{"1401999749":["hashtag1","hashtag2"]},{"1401999751":["hashtag1","hashtag2"]},{"1401999748":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999750, 1401999747, 1401999752, 1401999749, 1401999751, 1401999748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85330820083618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:46:22.832953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_24_9687.jpg', '/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_35_10584.jpg', '/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_54_9590.jpg', '/home/pi/Desktop/images/01012026/07/14/image_01012026_07_15_05_10686.jpg', '/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_15_9714.jpg', '/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_25_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_24_9687.jpg
/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_35_10584.jpg
/home/pi/Desktop/images/01012026/07/14/image_01012026_07_14_54_9590.jpg
/home/pi/Desktop/images/01012026/07/14/image_01012026_07_15_05_10686.jpg
/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_15_9714.jpg
/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_25_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":["1401999756","1401999764","1401999761","1401999758","1401999760","1401999754"],"photo_ids_order":["1401999754","1401999756","1401999758","1401999760","1401999761","1401999764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce21a104796eebd303c9051a8c354e04.jpg","text":"TemporaryFile(/tmp/multipartBody7734090352602940730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253643422,"filename":"image_01012026_07_14_35_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c35e8c8cb2f3e5eca65b29eff6d7c081.jpg","text":"TemporaryFile(/tmp/multipartBody107797142054927214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253643422,"filename":"image_01012026_07_15_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c88d30128d702f9190fec58998c330f.jpg","text":"TemporaryFile(/tmp/multipartBody8230581656523893898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253643422,"filename":"image_01012026_07_15_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a86bf82287b0f1caf918a8fca28c792d.jpg","text":"TemporaryFile(/tmp/multipartBody6867657619882990392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253643422,"filename":"image_01012026_07_14_54_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3dd3c79ae835e96528be352b3d3deb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1442056347151499967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253643422,"filename":"image_01012026_07_15_05_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e84140a666e16dc737a9e2c6bc578da2.jpg","text":"TemporaryFile(/tmp/multipartBody6260688571897116730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253643422,"filename":"image_01012026_07_14_24_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999758","file1":"1401999756","file0":"1401999754","file4":"1401999761","file5":"1401999764","file3":"1401999760"},"map_files_photo_id_array":[{"photo_id":"1401999764","filename":"file5"},{"photo_id":"1401999758","filename":"file2"},{"photo_id":"1401999761","filename":"file4"},{"photo_id":"1401999756","filename":"file1"},{"photo_id":"1401999754","filename":"file0"},{"photo_id":"1401999760","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999756":["hashtag1","hashtag2"]},{"1401999764":["hashtag1","hashtag2"]},{"1401999761":["hashtag1","hashtag2"]},{"1401999758":["hashtag1","hashtag2"]},{"1401999760":["hashtag1","hashtag2"]},{"1401999754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999756, 1401999764, 1401999761, 1401999758, 1401999760, 1401999754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32600378990173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:47:02.537845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_34_9601.jpg', '/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_45_10736.jpg', '/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_55_9693.jpg', '/home/pi/Desktop/images/01012026/07/15/image_01012026_07_16_04_9741.jpg', '/home/pi/Desktop/images/01012026/07/16/image_01012026_07_16_14_9925.jpg', '/home/pi/Desktop/images/01012026/07/16/image_01012026_07_16_25_10820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_34_9601.jpg
/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_45_10736.jpg
/home/pi/Desktop/images/01012026/07/15/image_01012026_07_15_55_9693.jpg
/home/pi/Desktop/images/01012026/07/15/image_01012026_07_16_04_9741.jpg
/home/pi/Desktop/images/01012026/07/16/image_01012026_07_16_14_9925.jpg
/home/pi/Desktop/images/01012026/07/16/image_01012026_07_16_25_10820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999771","1401999770","1401999773","1401999767","1401999766","1401999768"],"photo_ids_order":["1401999766","1401999767","1401999768","1401999770","1401999771","1401999773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45f8522b7b6086f7dae9b240436d7327.jpg","text":"TemporaryFile(/tmp/multipartBody8966846444071109148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253683182,"filename":"image_01012026_07_16_14_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09fb600b948dd5a25d1930a04f260829.jpg","text":"TemporaryFile(/tmp/multipartBody3839465481748133361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253683182,"filename":"image_01012026_07_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/2026/1/1/48eafe25c8748779c2448a60d02c1500.jpg","text":"TemporaryFile(/tmp/multipartBody628925674038706838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253683182,"filename":"image_01012026_07_16_25_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe94795d10d6434ddddb21debe6bc4bc.jpg","text":"TemporaryFile(/tmp/multipartBody2761657639254100078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253683182,"filename":"image_01012026_07_15_45_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3338f4c51e7a25dc47ff24c3c25faad4.jpg","text":"TemporaryFile(/tmp/multipartBody6684068876359196166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253683182,"filename":"image_01012026_07_15_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df2256ce38304fe459b12353eeeeef83.jpg","text":"TemporaryFile(/tmp/multipartBody1645313731593580422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253683182,"filename":"image_01012026_07_15_55_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999768","file1":"1401999767","file0":"1401999766","file4":"1401999771","file5":"1401999773","file3":"1401999770"},"map_files_photo_id_array":[{"photo_id":"1401999773","filename":"file5"},{"photo_id":"1401999768","filename":"file2"},{"photo_id":"1401999771","filename":"file4"},{"photo_id":"1401999767","filename":"file1"},{"photo_id":"1401999766","filename":"file0"},{"photo_id":"1401999770","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999771":["hashtag1","hashtag2"]},{"1401999770":["hashtag1","hashtag2"]},{"1401999773":["hashtag1","hashtag2"]},{"1401999767":["hashtag1","hashtag2"]},{"1401999766":["hashtag1","hashtag2"]},{"1401999768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999771, 1401999770, 1401999773, 1401999767, 1401999766, 1401999768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.540546894073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:47:41.993492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_14_1677.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_16_1866.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_18_1733.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_20_1671.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_22_2752.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_25_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_14_1677.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_16_1866.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_18_1733.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_20_1671.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_22_2752.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_25_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999783","1401999785","1401999779","1401999784","1401999787","1401999786"],"photo_ids_order":["1401999779","1401999783","1401999784","1401999785","1401999786","1401999787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf19d2f7135196b430b17a3e5c66d2d0.jpg","text":"TemporaryFile(/tmp/multipartBody3000078515516753780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253723919,"filename":"image_04112025_15_33_16_1866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d33952c819a82ee813cd8759c1a885f8.jpg","text":"TemporaryFile(/tmp/multipartBody104553774686556434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253723919,"filename":"image_04112025_15_33_20_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7835f45e354102d9993e52a67a5629c.jpg","text":"TemporaryFile(/tmp/multipartBody5325995372787320747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253723919,"filename":"image_04112025_15_33_14_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d32c21f56ccc769a47f8490c74b93da0.jpg","text":"TemporaryFile(/tmp/multipartBody4784670566620978481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253723919,"filename":"image_04112025_15_33_18_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee113f02304391d5b5882c65f7ee7e70.jpg","text":"TemporaryFile(/tmp/multipartBody478984932590245572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253723919,"filename":"image_04112025_15_33_25_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5e36217ec4d96661a2755923d2eef89.jpg","text":"TemporaryFile(/tmp/multipartBody5500340587880983534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253723919,"filename":"image_04112025_15_33_22_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999784","file1":"1401999783","file0":"1401999779","file4":"1401999786","file5":"1401999787","file3":"1401999785"},"map_files_photo_id_array":[{"photo_id":"1401999787","filename":"file5"},{"photo_id":"1401999784","filename":"file2"},{"photo_id":"1401999786","filename":"file4"},{"photo_id":"1401999783","filename":"file1"},{"photo_id":"1401999779","filename":"file0"},{"photo_id":"1401999785","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999783":["hashtag1","hashtag2"]},{"1401999785":["hashtag1","hashtag2"]},{"1401999779":["hashtag1","hashtag2"]},{"1401999784":["hashtag1","hashtag2"]},{"1401999787":["hashtag1","hashtag2"]},{"1401999786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999783, 1401999785, 1401999779, 1401999784, 1401999787, 1401999786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48910617828369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:48:22.185884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/16/image_01012026_07_16_35_9606.jpg', '/home/pi/Desktop/images/01012026/07/16/image_01012026_07_16_54_9733.jpg', '/home/pi/Desktop/images/01012026/07/16/image_01012026_07_17_05_10675.jpg', '/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_14_9596.jpg', '/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_25_10639.jpg', '/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_35_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/16/image_01012026_07_16_35_9606.jpg
/home/pi/Desktop/images/01012026/07/16/image_01012026_07_16_54_9733.jpg
/home/pi/Desktop/images/01012026/07/16/image_01012026_07_17_05_10675.jpg
/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_14_9596.jpg
/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_25_10639.jpg
/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_35_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":["1401999797","1401999788","1401999799","1401999790","1401999792","1401999795"],"photo_ids_order":["1401999788","1401999790","1401999792","1401999795","1401999797","1401999799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07b10fd5d5b4c36d8c29c3a08f067042.jpg","text":"TemporaryFile(/tmp/multipartBody3812625120481926165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253762774,"filename":"image_01012026_07_17_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c474ee06f6f8470ca4e739517b75d3b4.jpg","text":"TemporaryFile(/tmp/multipartBody8173105709844047487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253762774,"filename":"image_01012026_07_16_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4eaf7e13a53ab340cdd3787cf68c5fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8712593870921018665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253762774,"filename":"image_01012026_07_17_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ebfe8f17a72ee887626f1f5b55953cd.jpg","text":"TemporaryFile(/tmp/multipartBody417306219747268759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253762774,"filename":"image_01012026_07_16_54_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c84a3c3d1f6ce5024819660e07f22a0e.jpg","text":"TemporaryFile(/tmp/multipartBody804850005148732218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253762774,"filename":"image_01012026_07_17_05_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5acfca85fec217b5ab70f4dace0e713.jpg","text":"TemporaryFile(/tmp/multipartBody561565611532723737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253762774,"filename":"image_01012026_07_17_14_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999792","file1":"1401999790","file0":"1401999788","file4":"1401999797","file5":"1401999799","file3":"1401999795"},"map_files_photo_id_array":[{"photo_id":"1401999799","filename":"file5"},{"photo_id":"1401999792","filename":"file2"},{"photo_id":"1401999797","filename":"file4"},{"photo_id":"1401999790","filename":"file1"},{"photo_id":"1401999788","filename":"file0"},{"photo_id":"1401999795","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999797":["hashtag1","hashtag2"]},{"1401999788":["hashtag1","hashtag2"]},{"1401999799":["hashtag1","hashtag2"]},{"1401999790":["hashtag1","hashtag2"]},{"1401999792":["hashtag1","hashtag2"]},{"1401999795":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999797, 1401999788, 1401999799, 1401999790, 1401999792, 1401999795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5306715965271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:49:03.334972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_44_9572.jpg', '/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_55_10848.jpg', '/home/pi/Desktop/images/01012026/07/17/image_01012026_07_18_05_9708.jpg', '/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_14_9673.jpg', '/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_24_9698.jpg', '/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_35_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_44_9572.jpg
/home/pi/Desktop/images/01012026/07/17/image_01012026_07_17_55_10848.jpg
/home/pi/Desktop/images/01012026/07/17/image_01012026_07_18_05_9708.jpg
/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_14_9673.jpg
/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_24_9698.jpg
/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_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":["1401999930","1401999912","1401999890","1401999932","1401999902","1401999870"],"photo_ids_order":["1401999870","1401999890","1401999902","1401999912","1401999930","1401999932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57d0e4ce751f82c1e7c94b7a1b45d3dc.jpg","text":"TemporaryFile(/tmp/multipartBody4829650863877260614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253804078,"filename":"image_01012026_07_18_24_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/712447764538ff00329ab41c505ced7c.jpg","text":"TemporaryFile(/tmp/multipartBody8202281342280487077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253804078,"filename":"image_01012026_07_18_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b98564b0640831a14d608262794d24fa.jpg","text":"TemporaryFile(/tmp/multipartBody8531097287468991745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253804078,"filename":"image_01012026_07_17_55_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d78be39604e66eaa51b10ae8e23d6401.jpg","text":"TemporaryFile(/tmp/multipartBody8051074156037458635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253804078,"filename":"image_01012026_07_18_35_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de8df934b099a5c6cca730a47f000eb4.jpg","text":"TemporaryFile(/tmp/multipartBody4814670956321024498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253804078,"filename":"image_01012026_07_18_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7097bd0b848f10cfc638e1a213bc6581.jpg","text":"TemporaryFile(/tmp/multipartBody8253847308549284573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253804078,"filename":"image_01012026_07_17_44_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999902","file1":"1401999890","file0":"1401999870","file4":"1401999930","file5":"1401999932","file3":"1401999912"},"map_files_photo_id_array":[{"photo_id":"1401999932","filename":"file5"},{"photo_id":"1401999902","filename":"file2"},{"photo_id":"1401999930","filename":"file4"},{"photo_id":"1401999890","filename":"file1"},{"photo_id":"1401999870","filename":"file0"},{"photo_id":"1401999912","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999930":["hashtag1","hashtag2"]},{"1401999912":["hashtag1","hashtag2"]},{"1401999890":["hashtag1","hashtag2"]},{"1401999932":["hashtag1","hashtag2"]},{"1401999902":["hashtag1","hashtag2"]},{"1401999870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999930, 1401999912, 1401999890, 1401999932, 1401999902, 1401999870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97336220741272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:49:42.488367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_29_3640.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_43_14310.jpg', '/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_45_1707.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_06_21317.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_08_1646.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_09_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_29_3640.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_43_14310.jpg
/home/pi/Desktop/images/04112025/15/33/image_04112025_15_33_45_1707.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_06_21317.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_08_1646.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_09_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999942","1401999944","1401999941","1401999938","1401999943","1401999940"],"photo_ids_order":["1401999938","1401999940","1401999941","1401999942","1401999943","1401999944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd0644db18a2d7b3f839e04f716e68a1.jpg","text":"TemporaryFile(/tmp/multipartBody3844840099952682702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253844398,"filename":"image_04112025_15_34_06_21317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b433b322d719a6b6ab318fb1482c5422.jpg","text":"TemporaryFile(/tmp/multipartBody5896870604622227397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253844398,"filename":"image_04112025_15_34_09_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc6e8182bd81401c3c4848a76986c8e1.jpg","text":"TemporaryFile(/tmp/multipartBody2530841058561763581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253844398,"filename":"image_04112025_15_33_45_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38c1416789d99671e3936662c5e95b38.jpg","text":"TemporaryFile(/tmp/multipartBody3585892570511257926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253844398,"filename":"image_04112025_15_33_29_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2466bab3474cfd6e09de8e782943247c.jpg","text":"TemporaryFile(/tmp/multipartBody585571286954867532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253844398,"filename":"image_04112025_15_34_08_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a90032e03dd54efbdc5dcb84d1cd9e5.jpg","text":"TemporaryFile(/tmp/multipartBody2673066747044004718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253844398,"filename":"image_04112025_15_33_43_14310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999941","file1":"1401999940","file0":"1401999938","file4":"1401999943","file5":"1401999944","file3":"1401999942"},"map_files_photo_id_array":[{"photo_id":"1401999944","filename":"file5"},{"photo_id":"1401999941","filename":"file2"},{"photo_id":"1401999943","filename":"file4"},{"photo_id":"1401999940","filename":"file1"},{"photo_id":"1401999938","filename":"file0"},{"photo_id":"1401999942","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1401999942":["hashtag1","hashtag2"]},{"1401999944":["hashtag1","hashtag2"]},{"1401999941":["hashtag1","hashtag2"]},{"1401999938":["hashtag1","hashtag2"]},{"1401999943":["hashtag1","hashtag2"]},{"1401999940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1401999942, 1401999944, 1401999941, 1401999938, 1401999943, 1401999940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.835777759552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:50:22.732381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_44_9550.jpg', '/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_55_10644.jpg', '/home/pi/Desktop/images/01012026/07/18/image_01012026_07_19_04_9541.jpg', '/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_14_9774.jpg', '/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_25_10675.jpg', '/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_35_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_44_9550.jpg
/home/pi/Desktop/images/01012026/07/18/image_01012026_07_18_55_10644.jpg
/home/pi/Desktop/images/01012026/07/18/image_01012026_07_19_04_9541.jpg
/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_14_9774.jpg
/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_25_10675.jpg
/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_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":["1401999954","1401999948","1401999950","1401999958","1401999952","1401999946"],"photo_ids_order":["1401999946","1401999948","1401999950","1401999952","1401999954","1401999958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c61ab4f2253396b1d70e7fecb403e03.jpg","text":"TemporaryFile(/tmp/multipartBody6904712689399809645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253883320,"filename":"image_01012026_07_19_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bd6cc91e26409c1f6d9b6816d90f780.jpg","text":"TemporaryFile(/tmp/multipartBody7032909613069044043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253883320,"filename":"image_01012026_07_18_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1133b17f3d42e18e0b3f468f202664df.jpg","text":"TemporaryFile(/tmp/multipartBody7136194661691695953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253883320,"filename":"image_01012026_07_19_04_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbf34d369616f88c9f3d0d6877f6dcb2.jpg","text":"TemporaryFile(/tmp/multipartBody2607372348173475254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253883320,"filename":"image_01012026_07_19_35_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0b2fa2fceb2e7dc39eb53a5a08b4d76.jpg","text":"TemporaryFile(/tmp/multipartBody6909321554223366953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253883320,"filename":"image_01012026_07_19_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/633de2e68a3ac395477713f5b0d6c6e1.jpg","text":"TemporaryFile(/tmp/multipartBody2855564975207098424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253883320,"filename":"image_01012026_07_18_44_9550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999950","file1":"1401999948","file0":"1401999946","file4":"1401999954","file5":"1401999958","file3":"1401999952"},"map_files_photo_id_array":[{"photo_id":"1401999958","filename":"file5"},{"photo_id":"1401999950","filename":"file2"},{"photo_id":"1401999954","filename":"file4"},{"photo_id":"1401999948","filename":"file1"},{"photo_id":"1401999946","filename":"file0"},{"photo_id":"1401999952","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999954":["hashtag1","hashtag2"]},{"1401999948":["hashtag1","hashtag2"]},{"1401999950":["hashtag1","hashtag2"]},{"1401999958":["hashtag1","hashtag2"]},{"1401999952":["hashtag1","hashtag2"]},{"1401999946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999954, 1401999948, 1401999950, 1401999958, 1401999952, 1401999946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72882843017578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:51:02.709727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_44_9686.jpg', '/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_55_10676.jpg', '/home/pi/Desktop/images/01012026/07/19/image_01012026_07_20_05_9647.jpg', '/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_15_9831.jpg', '/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_24_9684.jpg', '/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_35_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_44_9686.jpg
/home/pi/Desktop/images/01012026/07/19/image_01012026_07_19_55_10676.jpg
/home/pi/Desktop/images/01012026/07/19/image_01012026_07_20_05_9647.jpg
/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_15_9831.jpg
/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_24_9684.jpg
/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_35_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1401999960","1402000100","1402000150","1401999959","1402000164","1401999999"],"photo_ids_order":["1401999959","1401999960","1401999999","1402000100","1402000150","1402000164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7a866abb459a74c5fb42278184df948.jpg","text":"TemporaryFile(/tmp/multipartBody8770255629211314547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253923363,"filename":"image_01012026_07_19_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84120981db33a1738286cad6573151ce.jpg","text":"TemporaryFile(/tmp/multipartBody4071498532840982497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253923363,"filename":"image_01012026_07_20_15_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e52b20233820a80111bf72c998587cb.jpg","text":"TemporaryFile(/tmp/multipartBody1604287792875588600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253923363,"filename":"image_01012026_07_20_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8607b0dc07693dcebbf9f9e44e94d808.jpg","text":"TemporaryFile(/tmp/multipartBody1905360724056502490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253923363,"filename":"image_01012026_07_19_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17124126b2b5339faee969274554ab1e.jpg","text":"TemporaryFile(/tmp/multipartBody3633966605713851337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253923363,"filename":"image_01012026_07_20_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/956662d1dcb5ebe4b267ae93b56b39a5.jpg","text":"TemporaryFile(/tmp/multipartBody1687260715753955452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253923363,"filename":"image_01012026_07_20_05_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1401999999","file1":"1401999960","file0":"1401999959","file4":"1402000150","file5":"1402000164","file3":"1402000100"},"map_files_photo_id_array":[{"photo_id":"1402000164","filename":"file5"},{"photo_id":"1401999999","filename":"file2"},{"photo_id":"1402000150","filename":"file4"},{"photo_id":"1401999960","filename":"file1"},{"photo_id":"1401999959","filename":"file0"},{"photo_id":"1402000100","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1401999960":["hashtag1","hashtag2"]},{"1402000100":["hashtag1","hashtag2"]},{"1402000150":["hashtag1","hashtag2"]},{"1401999959":["hashtag1","hashtag2"]},{"1402000164":["hashtag1","hashtag2"]},{"1401999999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1401999960, 1402000100, 1402000150, 1401999959, 1402000164, 1401999999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29588198661804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:51:41.928679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_11_1742.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_13_1647.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_14_1621.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_16_1846.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_18_1686.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_19_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_11_1742.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_13_1647.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_14_1621.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_16_1846.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_18_1686.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_19_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402000331","1402000291","1402000336","1402000246","1402000383","1402000259"],"photo_ids_order":["1402000246","1402000259","1402000291","1402000331","1402000336","1402000383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c61378028d5cb60fbe9912de0cecefaa.jpg","text":"TemporaryFile(/tmp/multipartBody2845855948006509658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253963890,"filename":"image_04112025_15_34_16_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64dc79c162bce9fa3f337173b070b811.jpg","text":"TemporaryFile(/tmp/multipartBody7929036679659550154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253963890,"filename":"image_04112025_15_34_14_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b02f7f56d5a4bb86dec179590abaa149.jpg","text":"TemporaryFile(/tmp/multipartBody6159072918516740463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253963890,"filename":"image_04112025_15_34_18_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d343b8d81cc7eef4142c4e14443a9b1.jpg","text":"TemporaryFile(/tmp/multipartBody8540586154441432248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253963890,"filename":"image_04112025_15_34_11_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1169fe4df87c854e132fc46f7eac5af.jpg","text":"TemporaryFile(/tmp/multipartBody9203692560358559524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253963890,"filename":"image_04112025_15_34_19_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b401f3ea8e7d302eb2ccc52dcf07710.jpg","text":"TemporaryFile(/tmp/multipartBody2043024003015332816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767253963890,"filename":"image_04112025_15_34_13_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402000291","file1":"1402000259","file0":"1402000246","file4":"1402000336","file5":"1402000383","file3":"1402000331"},"map_files_photo_id_array":[{"photo_id":"1402000383","filename":"file5"},{"photo_id":"1402000291","filename":"file2"},{"photo_id":"1402000336","filename":"file4"},{"photo_id":"1402000259","filename":"file1"},{"photo_id":"1402000246","filename":"file0"},{"photo_id":"1402000331","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402000331":["hashtag1","hashtag2"]},{"1402000291":["hashtag1","hashtag2"]},{"1402000336":["hashtag1","hashtag2"]},{"1402000246":["hashtag1","hashtag2"]},{"1402000383":["hashtag1","hashtag2"]},{"1402000259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402000331, 1402000291, 1402000336, 1402000246, 1402000383, 1402000259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.944356203079224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:52:22.121832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_45_9677.jpg', '/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_54_9695.jpg', '/home/pi/Desktop/images/01012026/07/20/image_01012026_07_21_05_10738.jpg', '/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_15_9579.jpg', '/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_24_9620.jpg', '/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_35_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_45_9677.jpg
/home/pi/Desktop/images/01012026/07/20/image_01012026_07_20_54_9695.jpg
/home/pi/Desktop/images/01012026/07/20/image_01012026_07_21_05_10738.jpg
/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_15_9579.jpg
/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_24_9620.jpg
/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_35_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402000549","1402000698","1402000656","1402000584","1402000623","1402000694"],"photo_ids_order":["1402000549","1402000584","1402000623","1402000656","1402000694","1402000698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8db29c420a292bb60bb246dcbd0e84b6.jpg","text":"TemporaryFile(/tmp/multipartBody7279765348283548561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254002714,"filename":"image_01012026_07_20_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3156479eb4dec94b00f81a61c6e43238.jpg","text":"TemporaryFile(/tmp/multipartBody2820664010389910846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254002714,"filename":"image_01012026_07_21_35_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb40eb669afd62676880b4d902d59107.jpg","text":"TemporaryFile(/tmp/multipartBody6444719598942202857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254002714,"filename":"image_01012026_07_21_15_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55c019b41f4e2696d8e9dd120f0b2c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3725396348040119235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254002714,"filename":"image_01012026_07_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/2026/1/1/35d291cbeec447347b8a2f88205683c8.jpg","text":"TemporaryFile(/tmp/multipartBody2444269987636697086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254002714,"filename":"image_01012026_07_21_05_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7fd05e48970df9b70c482602f010e20.jpg","text":"TemporaryFile(/tmp/multipartBody7009666036533334466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254002714,"filename":"image_01012026_07_21_24_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402000623","file1":"1402000584","file0":"1402000549","file4":"1402000694","file5":"1402000698","file3":"1402000656"},"map_files_photo_id_array":[{"photo_id":"1402000698","filename":"file5"},{"photo_id":"1402000623","filename":"file2"},{"photo_id":"1402000694","filename":"file4"},{"photo_id":"1402000584","filename":"file1"},{"photo_id":"1402000549","filename":"file0"},{"photo_id":"1402000656","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402000549":["hashtag1","hashtag2"]},{"1402000698":["hashtag1","hashtag2"]},{"1402000656":["hashtag1","hashtag2"]},{"1402000584":["hashtag1","hashtag2"]},{"1402000623":["hashtag1","hashtag2"]},{"1402000694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402000549, 1402000698, 1402000656, 1402000584, 1402000623, 1402000694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97046732902527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:53:02.958055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_45_9796.jpg', '/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_54_9667.jpg', '/home/pi/Desktop/images/01012026/07/21/image_01012026_07_22_05_10657.jpg', '/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_15_9601.jpg', '/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_24_9662.jpg', '/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_35_10729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_45_9796.jpg
/home/pi/Desktop/images/01012026/07/21/image_01012026_07_21_54_9667.jpg
/home/pi/Desktop/images/01012026/07/21/image_01012026_07_22_05_10657.jpg
/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_15_9601.jpg
/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_24_9662.jpg
/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_35_10729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402000808","1402000780","1402000774","1402000782","1402000784","1402000781"],"photo_ids_order":["1402000774","1402000780","1402000781","1402000782","1402000784","1402000808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5988a2ad1cdb1910c596e5ddd5af5c2c.jpg","text":"TemporaryFile(/tmp/multipartBody3143025512352892758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254046164,"filename":"image_01012026_07_22_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/560bba0a5f11fa59ac0948eb2a742e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1854189338071247515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254046164,"filename":"image_01012026_07_21_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f222702d77688a7ec1c4705010655b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8323129362359353417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254046164,"filename":"image_01012026_07_21_45_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/539434813ce585b8d95a48a06e81578f.jpg","text":"TemporaryFile(/tmp/multipartBody2259035224342663902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254046164,"filename":"image_01012026_07_22_15_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15a73389d5fad1f6b161e6b7c18ca0ad.jpg","text":"TemporaryFile(/tmp/multipartBody3687100821586083015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254046164,"filename":"image_01012026_07_22_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfc49e5cc0b7a47f28e567f77ead8fea.jpg","text":"TemporaryFile(/tmp/multipartBody8994293770668433977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254046164,"filename":"image_01012026_07_22_05_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402000781","file1":"1402000780","file0":"1402000774","file4":"1402000784","file5":"1402000808","file3":"1402000782"},"map_files_photo_id_array":[{"photo_id":"1402000808","filename":"file5"},{"photo_id":"1402000781","filename":"file2"},{"photo_id":"1402000784","filename":"file4"},{"photo_id":"1402000780","filename":"file1"},{"photo_id":"1402000774","filename":"file0"},{"photo_id":"1402000782","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402000808":["hashtag1","hashtag2"]},{"1402000780":["hashtag1","hashtag2"]},{"1402000774":["hashtag1","hashtag2"]},{"1402000782":["hashtag1","hashtag2"]},{"1402000784":["hashtag1","hashtag2"]},{"1402000781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402000808, 1402000780, 1402000774, 1402000782, 1402000784, 1402000781)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 47.15947079658508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:54:03.057187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_45_9657.jpg', '/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_54_9667.jpg', '/home/pi/Desktop/images/01012026/07/22/image_01012026_07_23_05_10746.jpg', '/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_15_9646.jpg', '/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_24_9660.jpg', '/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_34_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_45_9657.jpg
/home/pi/Desktop/images/01012026/07/22/image_01012026_07_22_54_9667.jpg
/home/pi/Desktop/images/01012026/07/22/image_01012026_07_23_05_10746.jpg
/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_15_9646.jpg
/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_24_9660.jpg
/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_34_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":["1402000901","1402000904","1402000900","1402000899","1402000903","1402000898"],"photo_ids_order":["1402000898","1402000899","1402000900","1402000901","1402000903","1402000904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30f319354c4e843a3577ddc421ee9376.jpg","text":"TemporaryFile(/tmp/multipartBody3069174566137981973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254105400,"filename":"image_01012026_07_23_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c605cebecc55a4f9e0caff301b00baa.jpg","text":"TemporaryFile(/tmp/multipartBody5194320523631456811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254105400,"filename":"image_01012026_07_23_34_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13930f755b15da9fe4442fc2dbe0440f.jpg","text":"TemporaryFile(/tmp/multipartBody1171811793142613074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254105400,"filename":"image_01012026_07_23_05_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19a84386b3c334e13e953e726524b734.jpg","text":"TemporaryFile(/tmp/multipartBody8301683151099445438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254105400,"filename":"image_01012026_07_22_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e60ff6dea0faaf7044b8dccd467c9af.jpg","text":"TemporaryFile(/tmp/multipartBody1153291607305094375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254105400,"filename":"image_01012026_07_23_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f10863af07966d9ad2f45224ad02d86b.jpg","text":"TemporaryFile(/tmp/multipartBody6475200146548238139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254105400,"filename":"image_01012026_07_22_45_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402000900","file1":"1402000899","file0":"1402000898","file4":"1402000903","file5":"1402000904","file3":"1402000901"},"map_files_photo_id_array":[{"photo_id":"1402000904","filename":"file5"},{"photo_id":"1402000900","filename":"file2"},{"photo_id":"1402000903","filename":"file4"},{"photo_id":"1402000899","filename":"file1"},{"photo_id":"1402000898","filename":"file0"},{"photo_id":"1402000901","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402000901":["hashtag1","hashtag2"]},{"1402000904":["hashtag1","hashtag2"]},{"1402000900":["hashtag1","hashtag2"]},{"1402000899":["hashtag1","hashtag2"]},{"1402000903":["hashtag1","hashtag2"]},{"1402000898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402000901, 1402000904, 1402000900, 1402000899, 1402000903, 1402000898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55343532562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:54:42.477870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_21_1639.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_23_1755.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_25_1710.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_26_1524.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_28_1695.jpg', '/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_29_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_21_1639.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_23_1755.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_25_1710.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_26_1524.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_28_1695.jpg
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_29_1725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402000940","1402000913","1402000910","1402000915","1402000974","1402000914"],"photo_ids_order":["1402000910","1402000913","1402000914","1402000915","1402000940","1402000974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c827ec2d6e592230488bc9a32cb61779.jpg","text":"TemporaryFile(/tmp/multipartBody1240067355771228304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254144312,"filename":"image_04112025_15_34_28_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e93a7d06bd941fb9d1b8fa8cbd611a34.jpg","text":"TemporaryFile(/tmp/multipartBody7829898262159553270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254144312,"filename":"image_04112025_15_34_23_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7758cbaa3804a02ccae01185ac871edf.jpg","text":"TemporaryFile(/tmp/multipartBody8911444137720595380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254144312,"filename":"image_04112025_15_34_21_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a67e88951f78607f0560c9a0342c33d.jpg","text":"TemporaryFile(/tmp/multipartBody2710967416567907312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254144312,"filename":"image_04112025_15_34_26_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2a5df3bc2136eb73c72e368989ffa63.jpg","text":"TemporaryFile(/tmp/multipartBody7573884321598085433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254144312,"filename":"image_04112025_15_34_29_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b714bb2b84b0eb7cd12c552cac9fb36.jpg","text":"TemporaryFile(/tmp/multipartBody3954941432936946608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254144312,"filename":"image_04112025_15_34_25_1710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402000914","file1":"1402000913","file0":"1402000910","file4":"1402000940","file5":"1402000974","file3":"1402000915"},"map_files_photo_id_array":[{"photo_id":"1402000974","filename":"file5"},{"photo_id":"1402000914","filename":"file2"},{"photo_id":"1402000940","filename":"file4"},{"photo_id":"1402000913","filename":"file1"},{"photo_id":"1402000910","filename":"file0"},{"photo_id":"1402000915","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402000940":["hashtag1","hashtag2"]},{"1402000913":["hashtag1","hashtag2"]},{"1402000910":["hashtag1","hashtag2"]},{"1402000915":["hashtag1","hashtag2"]},{"1402000974":["hashtag1","hashtag2"]},{"1402000914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402000940, 1402000913, 1402000910, 1402000915, 1402000974, 1402000914)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.94196701049805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:55:32.714747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_31_1622.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_07_3011.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_11_3762.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_14_2684.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_16_2579.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_20_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/34/image_04112025_15_34_31_1622.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_07_3011.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_11_3762.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_14_2684.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_16_2579.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_20_3661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402001194","1402001221","1402001224","1402001253","1402001156","1402001252"],"photo_ids_order":["1402001156","1402001194","1402001221","1402001224","1402001252","1402001253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5794a4e179ef5ec3d188955dacaeea5.jpg","text":"TemporaryFile(/tmp/multipartBody8402854495943030974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254194660,"filename":"image_04112025_15_38_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ef4b3804f30a3789920746a951da71c.jpg","text":"TemporaryFile(/tmp/multipartBody7436304826696592237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254194660,"filename":"image_04112025_15_38_11_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cd9ed419db54815e6cb6c164bf03638.jpg","text":"TemporaryFile(/tmp/multipartBody565950100193440230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254194660,"filename":"image_04112025_15_38_14_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d6633b5415128b2d8543dee806e99df.jpg","text":"TemporaryFile(/tmp/multipartBody8567329966258093616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254194660,"filename":"image_04112025_15_38_20_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2744565f8883dec141c8699e3ddcae34.jpg","text":"TemporaryFile(/tmp/multipartBody8116807550621645145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254194660,"filename":"image_04112025_15_34_31_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/565fcb8c42c8b4a82352866cdba8c070.jpg","text":"TemporaryFile(/tmp/multipartBody1356004098907203894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254194660,"filename":"image_04112025_15_38_16_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402001221","file1":"1402001194","file0":"1402001156","file4":"1402001252","file5":"1402001253","file3":"1402001224"},"map_files_photo_id_array":[{"photo_id":"1402001253","filename":"file5"},{"photo_id":"1402001221","filename":"file2"},{"photo_id":"1402001252","filename":"file4"},{"photo_id":"1402001194","filename":"file1"},{"photo_id":"1402001156","filename":"file0"},{"photo_id":"1402001224","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402001194":["hashtag1","hashtag2"]},{"1402001221":["hashtag1","hashtag2"]},{"1402001224":["hashtag1","hashtag2"]},{"1402001253":["hashtag1","hashtag2"]},{"1402001156":["hashtag1","hashtag2"]},{"1402001252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402001194, 1402001221, 1402001224, 1402001253, 1402001156, 1402001252)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.95360541343689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 08:56:24.972911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_45_10621.jpg', '/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_54_9634.jpg', '/home/pi/Desktop/images/01012026/07/23/image_01012026_07_24_04_9787.jpg', '/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_15_10658.jpg', '/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_25_9644.jpg', '/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_34_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_45_10621.jpg
/home/pi/Desktop/images/01012026/07/23/image_01012026_07_23_54_9634.jpg
/home/pi/Desktop/images/01012026/07/23/image_01012026_07_24_04_9787.jpg
/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_15_10658.jpg
/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_25_9644.jpg
/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_34_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402001315","1402001309","1402001311","1402001319","1402001313","1402001322"],"photo_ids_order":["1402001309","1402001311","1402001313","1402001315","1402001319","1402001322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31b307ca2cd1aad46d3ec38f61c1e177.jpg","text":"TemporaryFile(/tmp/multipartBody3051476872734670529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254245533,"filename":"image_01012026_07_24_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82b24df8cb0db65d9059dbd2a077db8a.jpg","text":"TemporaryFile(/tmp/multipartBody3737714584202963496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254245533,"filename":"image_01012026_07_23_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/378a477d64b6fa1c71bc747ff4d20337.jpg","text":"TemporaryFile(/tmp/multipartBody2526030092263287948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254245533,"filename":"image_01012026_07_23_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5451f02c6af7acf2879b63310a9a856c.jpg","text":"TemporaryFile(/tmp/multipartBody8120656558847628673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254245533,"filename":"image_01012026_07_24_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5257d92b6d2881d81328a3a3fbb7e480.jpg","text":"TemporaryFile(/tmp/multipartBody4752035549667914152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254245533,"filename":"image_01012026_07_24_04_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c6c9aeefae7a03fe5ab74adfa0c70af.jpg","text":"TemporaryFile(/tmp/multipartBody4953438706666419069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254245533,"filename":"image_01012026_07_24_34_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402001313","file1":"1402001311","file0":"1402001309","file4":"1402001319","file5":"1402001322","file3":"1402001315"},"map_files_photo_id_array":[{"photo_id":"1402001322","filename":"file5"},{"photo_id":"1402001313","filename":"file2"},{"photo_id":"1402001319","filename":"file4"},{"photo_id":"1402001311","filename":"file1"},{"photo_id":"1402001309","filename":"file0"},{"photo_id":"1402001315","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402001315":["hashtag1","hashtag2"]},{"1402001309":["hashtag1","hashtag2"]},{"1402001311":["hashtag1","hashtag2"]},{"1402001319":["hashtag1","hashtag2"]},{"1402001313":["hashtag1","hashtag2"]},{"1402001322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402001315, 1402001309, 1402001311, 1402001319, 1402001313, 1402001322)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.92693853378296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:57:13.543668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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 15
2026-01-01 08:57:22.248972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_45_10763.jpg', '/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_55_9835.jpg', '/home/pi/Desktop/images/01012026/07/24/image_01012026_07_25_04_9718.jpg', '/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_14_9868.jpg', '/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_25_10677.jpg', '/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_35_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_45_10763.jpg
/home/pi/Desktop/images/01012026/07/24/image_01012026_07_24_55_9835.jpg
/home/pi/Desktop/images/01012026/07/24/image_01012026_07_25_04_9718.jpg
/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_14_9868.jpg
/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_25_10677.jpg
/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_35_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":["1402001332","1402001326","1402001335","1402001329","1402001328","1402001333"],"photo_ids_order":["1402001326","1402001328","1402001329","1402001332","1402001333","1402001335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/252f427c3bef23a1e661de12bbccc389.jpg","text":"TemporaryFile(/tmp/multipartBody4590597851394139502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254305248,"filename":"image_01012026_07_25_14_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e3a55db72ba9d564d136da25d4673ba.jpg","text":"TemporaryFile(/tmp/multipartBody1361573882517884619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254305248,"filename":"image_01012026_07_24_45_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b83a1ef936620f53b625e9d21410ad03.jpg","text":"TemporaryFile(/tmp/multipartBody379632289466653802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254305248,"filename":"image_01012026_07_25_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/601f5b5c5750b088866642009149efe5.jpg","text":"TemporaryFile(/tmp/multipartBody5869062157052169578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254305248,"filename":"image_01012026_07_25_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d3482bfb89e6745e4668d9230c45295.jpg","text":"TemporaryFile(/tmp/multipartBody6871101092129157746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254305248,"filename":"image_01012026_07_24_55_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd345baafc7c66629874acdf33bf7eaf.jpg","text":"TemporaryFile(/tmp/multipartBody9091148100885389909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254305248,"filename":"image_01012026_07_25_25_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402001329","file1":"1402001328","file0":"1402001326","file4":"1402001333","file5":"1402001335","file3":"1402001332"},"map_files_photo_id_array":[{"photo_id":"1402001335","filename":"file5"},{"photo_id":"1402001329","filename":"file2"},{"photo_id":"1402001333","filename":"file4"},{"photo_id":"1402001328","filename":"file1"},{"photo_id":"1402001326","filename":"file0"},{"photo_id":"1402001332","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402001332":["hashtag1","hashtag2"]},{"1402001326":["hashtag1","hashtag2"]},{"1402001335":["hashtag1","hashtag2"]},{"1402001329":["hashtag1","hashtag2"]},{"1402001328":["hashtag1","hashtag2"]},{"1402001333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402001332, 1402001326, 1402001335, 1402001329, 1402001328, 1402001333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09921956062317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 08:59:03.049556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_44_9707.jpg', '/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_55_10550.jpg', '/home/pi/Desktop/images/01012026/07/25/image_01012026_07_26_05_9648.jpg', '/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_14_9541.jpg', '/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_25_10633.jpg', '/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_35_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_44_9707.jpg
/home/pi/Desktop/images/01012026/07/25/image_01012026_07_25_55_10550.jpg
/home/pi/Desktop/images/01012026/07/25/image_01012026_07_26_05_9648.jpg
/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_14_9541.jpg
/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_25_10633.jpg
/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_35_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":["1402001992","1402001887","1402001821","1402001926","1402001766","1402001721"],"photo_ids_order":["1402001721","1402001766","1402001821","1402001887","1402001926","1402001992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3378fce12be1115676da56bc462bd2e4.jpg","text":"TemporaryFile(/tmp/multipartBody5500117001575582987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254403861,"filename":"image_01012026_07_26_35_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae27fbe1bdd0c9ab825e67e77964b48d.jpg","text":"TemporaryFile(/tmp/multipartBody5905171007094899544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254403861,"filename":"image_01012026_07_26_14_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec8ee5f35174d3ad8d2889e91b4a2586.jpg","text":"TemporaryFile(/tmp/multipartBody8365613843797792818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254403861,"filename":"image_01012026_07_26_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5aeb55098dce3961e9c9f46ef1cfdbd1.jpg","text":"TemporaryFile(/tmp/multipartBody8909235756161135751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254403861,"filename":"image_01012026_07_26_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9e7cfd2d29dfa049fa8b04e0833a7cb.jpg","text":"TemporaryFile(/tmp/multipartBody1726119731710735976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254403861,"filename":"image_01012026_07_25_55_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b020e064942ec79c1cbc840c6fcfa50.jpg","text":"TemporaryFile(/tmp/multipartBody199355271867178195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254403861,"filename":"image_01012026_07_25_44_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402001821","file1":"1402001766","file0":"1402001721","file4":"1402001926","file5":"1402001992","file3":"1402001887"},"map_files_photo_id_array":[{"photo_id":"1402001992","filename":"file5"},{"photo_id":"1402001821","filename":"file2"},{"photo_id":"1402001926","filename":"file4"},{"photo_id":"1402001766","filename":"file1"},{"photo_id":"1402001721","filename":"file0"},{"photo_id":"1402001887","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402001992":["hashtag1","hashtag2"]},{"1402001887":["hashtag1","hashtag2"]},{"1402001821":["hashtag1","hashtag2"]},{"1402001926":["hashtag1","hashtag2"]},{"1402001766":["hashtag1","hashtag2"]},{"1402001721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402001992, 1402001887, 1402001821, 1402001926, 1402001766, 1402001721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25476336479187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 08:59:42.255010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_23_2705.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_25_2600.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_29_3762.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_32_2688.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_34_2611.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_38_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_23_2705.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_25_2600.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_29_3762.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_32_2688.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_34_2611.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_38_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":["1402002121","1402002118","1402002120","1402002117","1402002122","1402002119"],"photo_ids_order":["1402002117","1402002118","1402002119","1402002120","1402002121","1402002122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a71a0db105f8be45b7c5e9d0f79aa8d4.jpg","text":"TemporaryFile(/tmp/multipartBody3162241803132941514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254444221,"filename":"image_04112025_15_38_34_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/585e4fea4bb8853b3a0833f9d43870c8.jpg","text":"TemporaryFile(/tmp/multipartBody4587541670368353445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254444221,"filename":"image_04112025_15_38_25_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea626f984de3832f8fe6b2b1394946df.jpg","text":"TemporaryFile(/tmp/multipartBody4538917886271868420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254444221,"filename":"image_04112025_15_38_32_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e374ce0e216cc58bc3c55ed6fb5e031.jpg","text":"TemporaryFile(/tmp/multipartBody2464210929499377777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254444221,"filename":"image_04112025_15_38_23_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4a1e534e156a0ad4fccf5dd9f088e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7906108646114225152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254444221,"filename":"image_04112025_15_38_38_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/175fda8c7c4314bb22c94f4333a24d0b.jpg","text":"TemporaryFile(/tmp/multipartBody1440133176703401216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254444221,"filename":"image_04112025_15_38_29_3762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402002119","file1":"1402002118","file0":"1402002117","file4":"1402002121","file5":"1402002122","file3":"1402002120"},"map_files_photo_id_array":[{"photo_id":"1402002122","filename":"file5"},{"photo_id":"1402002119","filename":"file2"},{"photo_id":"1402002121","filename":"file4"},{"photo_id":"1402002118","filename":"file1"},{"photo_id":"1402002117","filename":"file0"},{"photo_id":"1402002120","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402002121":["hashtag1","hashtag2"]},{"1402002118":["hashtag1","hashtag2"]},{"1402002120":["hashtag1","hashtag2"]},{"1402002117":["hashtag1","hashtag2"]},{"1402002122":["hashtag1","hashtag2"]},{"1402002119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402002121, 1402002118, 1402002120, 1402002117, 1402002122, 1402002119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21533823013306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:00:22.448496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_44_9599.jpg', '/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_55_10593.jpg', '/home/pi/Desktop/images/01012026/07/26/image_01012026_07_27_04_9598.jpg', '/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_14_9713.jpg', '/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_25_10608.jpg', '/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_34_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_44_9599.jpg
/home/pi/Desktop/images/01012026/07/26/image_01012026_07_26_55_10593.jpg
/home/pi/Desktop/images/01012026/07/26/image_01012026_07_27_04_9598.jpg
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_14_9713.jpg
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_25_10608.jpg
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_34_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":["1402002127","1402002321","1402002236","1402002274","1402002199","1402002163"],"photo_ids_order":["1402002127","1402002163","1402002199","1402002236","1402002274","1402002321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f663ad15d6bc8b2136f1a6606461616.jpg","text":"TemporaryFile(/tmp/multipartBody4066101307443456287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254483038,"filename":"image_01012026_07_26_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a93c98f5dd1bb67c7df3ff3c0b8a919d.jpg","text":"TemporaryFile(/tmp/multipartBody1194245250415935287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254483038,"filename":"image_01012026_07_27_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/397156b85531deecffafdb9779a3ace7.jpg","text":"TemporaryFile(/tmp/multipartBody8129031909999502011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254483038,"filename":"image_01012026_07_27_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c81d6a2bd66a8f4b404a7dc4d864104.jpg","text":"TemporaryFile(/tmp/multipartBody787174517078791441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254483038,"filename":"image_01012026_07_27_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09e475937a52562b06e489c189af38e6.jpg","text":"TemporaryFile(/tmp/multipartBody3764954075654735016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254483038,"filename":"image_01012026_07_27_04_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2101d7017ff61692a78397dafcbea91.jpg","text":"TemporaryFile(/tmp/multipartBody8597277178588397613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254483038,"filename":"image_01012026_07_26_55_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402002199","file1":"1402002163","file0":"1402002127","file4":"1402002274","file5":"1402002321","file3":"1402002236"},"map_files_photo_id_array":[{"photo_id":"1402002321","filename":"file5"},{"photo_id":"1402002199","filename":"file2"},{"photo_id":"1402002274","filename":"file4"},{"photo_id":"1402002163","filename":"file1"},{"photo_id":"1402002127","filename":"file0"},{"photo_id":"1402002236","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402002127":["hashtag1","hashtag2"]},{"1402002321":["hashtag1","hashtag2"]},{"1402002236":["hashtag1","hashtag2"]},{"1402002274":["hashtag1","hashtag2"]},{"1402002199":["hashtag1","hashtag2"]},{"1402002163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402002127, 1402002321, 1402002236, 1402002274, 1402002199, 1402002163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23924374580383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:01:03.128443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_44_9716.jpg', '/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_55_10618.jpg', '/home/pi/Desktop/images/01012026/07/27/image_01012026_07_28_04_9673.jpg', '/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_15_10633.jpg', '/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_25_9633.jpg', '/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_34_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_44_9716.jpg
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_55_10618.jpg
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_28_04_9673.jpg
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_15_10633.jpg
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_25_9633.jpg
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_34_9616.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.5599038600921631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:01:12.503686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_41_2646.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_44_3541.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_48_4283.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_52_3201.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_53_1810.jpg', '/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_56_2672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_41_2646.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_44_3541.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_48_4283.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_52_3201.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_53_1810.jpg
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_56_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":["1402002835","1402002637","1402002739","1402002798","1402002698","1402002871"],"photo_ids_order":["1402002637","1402002698","1402002739","1402002798","1402002835","1402002871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d59beaa3c8c18ae9764cd53ee0a422d1.jpg","text":"TemporaryFile(/tmp/multipartBody4922606184515971037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254534326,"filename":"image_04112025_15_38_53_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6be14ecfdce1f65c46195c41804cb1d.jpg","text":"TemporaryFile(/tmp/multipartBody4795212452546318393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254534326,"filename":"image_04112025_15_38_41_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b72986738efe35ff05ba75f31c9f5522.jpg","text":"TemporaryFile(/tmp/multipartBody1826434038425084196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254534326,"filename":"image_04112025_15_38_48_4283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/674867fd7eaf1627b927b1a8846b2414.jpg","text":"TemporaryFile(/tmp/multipartBody131334737426450682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254534326,"filename":"image_04112025_15_38_52_3201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad8ee05436b878d4d2ab66a629269d56.jpg","text":"TemporaryFile(/tmp/multipartBody1625762585356877645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254534326,"filename":"image_04112025_15_38_44_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ef9b5864e3575f6a31998d24c57a90f.jpg","text":"TemporaryFile(/tmp/multipartBody4210588685154517496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254534326,"filename":"image_04112025_15_38_56_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402002739","file1":"1402002698","file0":"1402002637","file4":"1402002835","file5":"1402002871","file3":"1402002798"},"map_files_photo_id_array":[{"photo_id":"1402002871","filename":"file5"},{"photo_id":"1402002739","filename":"file2"},{"photo_id":"1402002835","filename":"file4"},{"photo_id":"1402002698","filename":"file1"},{"photo_id":"1402002637","filename":"file0"},{"photo_id":"1402002798","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402002835":["hashtag1","hashtag2"]},{"1402002637":["hashtag1","hashtag2"]},{"1402002739":["hashtag1","hashtag2"]},{"1402002798":["hashtag1","hashtag2"]},{"1402002698":["hashtag1","hashtag2"]},{"1402002871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402002835, 1402002637, 1402002739, 1402002798, 1402002698, 1402002871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59957194328308 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:02:03.172714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_44_9716.jpg', '/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_55_10618.jpg', '/home/pi/Desktop/images/01012026/07/27/image_01012026_07_28_04_9673.jpg', '/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_15_10633.jpg', '/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_25_9633.jpg', '/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_34_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_44_9716.jpg
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_27_55_10618.jpg
/home/pi/Desktop/images/01012026/07/27/image_01012026_07_28_04_9673.jpg
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_15_10633.jpg
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_25_9633.jpg
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_34_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":["1402003500","1402003085","1402003124","1402003366","1402003630","1402003234"],"photo_ids_order":["1402003085","1402003124","1402003234","1402003366","1402003500","1402003630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f3a7fde5a375f62c6fd535ad9662862.jpg","text":"TemporaryFile(/tmp/multipartBody1642514012629079004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254583816,"filename":"image_01012026_07_28_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8db0de70b9db166ddc619be7aee95afb.jpg","text":"TemporaryFile(/tmp/multipartBody550324731927781011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254583816,"filename":"image_01012026_07_27_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/276111d34e3ce761232e3f13ed8f044b.jpg","text":"TemporaryFile(/tmp/multipartBody6722440593466905932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254583816,"filename":"image_01012026_07_27_55_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60f46250596984a55d0149268f1a23a1.jpg","text":"TemporaryFile(/tmp/multipartBody4096065085046084604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254583816,"filename":"image_01012026_07_28_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/877254aa78d107fa45c39a61538df828.jpg","text":"TemporaryFile(/tmp/multipartBody6031111534802231925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254583816,"filename":"image_01012026_07_28_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac2bdf1b83cd309ac18686d166b72c22.jpg","text":"TemporaryFile(/tmp/multipartBody702659813587510116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254583816,"filename":"image_01012026_07_28_04_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402003234","file1":"1402003124","file0":"1402003085","file4":"1402003500","file5":"1402003630","file3":"1402003366"},"map_files_photo_id_array":[{"photo_id":"1402003630","filename":"file5"},{"photo_id":"1402003234","filename":"file2"},{"photo_id":"1402003500","filename":"file4"},{"photo_id":"1402003124","filename":"file1"},{"photo_id":"1402003085","filename":"file0"},{"photo_id":"1402003366","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402003500":["hashtag1","hashtag2"]},{"1402003085":["hashtag1","hashtag2"]},{"1402003124":["hashtag1","hashtag2"]},{"1402003366":["hashtag1","hashtag2"]},{"1402003630":["hashtag1","hashtag2"]},{"1402003234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402003500, 1402003085, 1402003124, 1402003366, 1402003630, 1402003234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0758216381073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:02:42.825648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_59_2738.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_01_2572.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_05_3728.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_08_2738.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_12_4334.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_14_1542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/38/image_04112025_15_38_59_2738.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_01_2572.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_05_3728.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_08_2738.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_12_4334.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_14_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":["1402003752","1402003749","1402003826","1402003754","1402003924","1402003753"],"photo_ids_order":["1402003749","1402003752","1402003753","1402003754","1402003826","1402003924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/536d85e551b08fbe20fd1ef0a5c541bb.jpg","text":"TemporaryFile(/tmp/multipartBody992456493992021924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254624725,"filename":"image_04112025_15_39_01_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b40640e9734de11cb144452f516e85e2.jpg","text":"TemporaryFile(/tmp/multipartBody7608728166516805754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254624725,"filename":"image_04112025_15_38_59_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b089565f7a69f75c94e7c3231859b564.jpg","text":"TemporaryFile(/tmp/multipartBody5793110343520657702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254624725,"filename":"image_04112025_15_39_12_4334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f443658cabd1f4d073216d4a07469404.jpg","text":"TemporaryFile(/tmp/multipartBody8512361070973065496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254624725,"filename":"image_04112025_15_39_08_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e41e11e065ebf3b588e9897ac70e3d41.jpg","text":"TemporaryFile(/tmp/multipartBody5871425795624061252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254624725,"filename":"image_04112025_15_39_14_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eff4c811a2d8b98264144a8719ce92a2.jpg","text":"TemporaryFile(/tmp/multipartBody5883133215302822158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254624725,"filename":"image_04112025_15_39_05_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402003753","file1":"1402003752","file0":"1402003749","file4":"1402003826","file5":"1402003924","file3":"1402003754"},"map_files_photo_id_array":[{"photo_id":"1402003924","filename":"file5"},{"photo_id":"1402003753","filename":"file2"},{"photo_id":"1402003826","filename":"file4"},{"photo_id":"1402003752","filename":"file1"},{"photo_id":"1402003749","filename":"file0"},{"photo_id":"1402003754","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402003752":["hashtag1","hashtag2"]},{"1402003749":["hashtag1","hashtag2"]},{"1402003826":["hashtag1","hashtag2"]},{"1402003754":["hashtag1","hashtag2"]},{"1402003924":["hashtag1","hashtag2"]},{"1402003753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402003752, 1402003749, 1402003826, 1402003754, 1402003924, 1402003753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51388382911682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:03:21.954762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_45_10599.jpg', '/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_55_9731.jpg', '/home/pi/Desktop/images/01012026/07/28/image_01012026_07_29_04_9724.jpg', '/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_15_10701.jpg', '/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_25_9716.jpg', '/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_35_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_45_10599.jpg
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_28_55_9731.jpg
/home/pi/Desktop/images/01012026/07/28/image_01012026_07_29_04_9724.jpg
/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_15_10701.jpg
/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_25_9716.jpg
/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_35_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":["1402004451","1402004403","1402004232","1402004336","1402004146","1402004298"],"photo_ids_order":["1402004146","1402004232","1402004298","1402004336","1402004403","1402004451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e7ebaa612a5f4648f6ca1cbc7695b2c.jpg","text":"TemporaryFile(/tmp/multipartBody6304267020520009070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254662581,"filename":"image_01012026_07_29_35_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a04c96e7c81c27715a6fa6c047c067cb.jpg","text":"TemporaryFile(/tmp/multipartBody3830050087772820146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254662581,"filename":"image_01012026_07_29_25_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc8671f6acd33316309b3fab56d23f66.jpg","text":"TemporaryFile(/tmp/multipartBody31420937954808492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254662581,"filename":"image_01012026_07_28_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10dd6b0fbd922d9c5713121f9e17c535.jpg","text":"TemporaryFile(/tmp/multipartBody5602140726085381977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254662581,"filename":"image_01012026_07_29_15_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88c5baceb7f5404d5288a4c4f10388b8.jpg","text":"TemporaryFile(/tmp/multipartBody8772709688838886947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254662581,"filename":"image_01012026_07_28_45_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3e7eaa280278cdf6f2a90c22fb31ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1033075134240741178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254662581,"filename":"image_01012026_07_29_04_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402004298","file1":"1402004232","file0":"1402004146","file4":"1402004403","file5":"1402004451","file3":"1402004336"},"map_files_photo_id_array":[{"photo_id":"1402004451","filename":"file5"},{"photo_id":"1402004298","filename":"file2"},{"photo_id":"1402004403","filename":"file4"},{"photo_id":"1402004232","filename":"file1"},{"photo_id":"1402004146","filename":"file0"},{"photo_id":"1402004336","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402004451":["hashtag1","hashtag2"]},{"1402004403":["hashtag1","hashtag2"]},{"1402004232":["hashtag1","hashtag2"]},{"1402004336":["hashtag1","hashtag2"]},{"1402004146":["hashtag1","hashtag2"]},{"1402004298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402004451, 1402004403, 1402004232, 1402004336, 1402004146, 1402004298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68414497375488 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:04:02.700611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_44_9656.jpg', '/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_55_10797.jpg', '/home/pi/Desktop/images/01012026/07/29/image_01012026_07_30_05_9720.jpg', '/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_14_9606.jpg', '/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_25_10621.jpg', '/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_35_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_44_9656.jpg
/home/pi/Desktop/images/01012026/07/29/image_01012026_07_29_55_10797.jpg
/home/pi/Desktop/images/01012026/07/29/image_01012026_07_30_05_9720.jpg
/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_14_9606.jpg
/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_25_10621.jpg
/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_35_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":["1402004619","1402004690","1402004653","1402004728","1402004800","1402004760"],"photo_ids_order":["1402004619","1402004653","1402004690","1402004728","1402004760","1402004800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0516f0b48ca6f0aa07015f8d76783189.jpg","text":"TemporaryFile(/tmp/multipartBody8961259179363318577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254703402,"filename":"image_01012026_07_29_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fda836da0683cbc285e36d4aa9ca5b2d.jpg","text":"TemporaryFile(/tmp/multipartBody8974668502568692745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254703402,"filename":"image_01012026_07_30_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b65308dc44d64b71adb8061d9f067827.jpg","text":"TemporaryFile(/tmp/multipartBody6506103347679855955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254703402,"filename":"image_01012026_07_29_55_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff7da178cbc7218025185f18d84d4dae.jpg","text":"TemporaryFile(/tmp/multipartBody9007033225022536690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254703402,"filename":"image_01012026_07_30_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12728bac185763ead6d0b54c2163e4ec.jpg","text":"TemporaryFile(/tmp/multipartBody8801595192238788853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254703402,"filename":"image_01012026_07_30_35_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d761c205dee5bd9e8a6d35a21daadbe2.jpg","text":"TemporaryFile(/tmp/multipartBody5182418076988592890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254703402,"filename":"image_01012026_07_30_25_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402004690","file1":"1402004653","file0":"1402004619","file4":"1402004760","file5":"1402004800","file3":"1402004728"},"map_files_photo_id_array":[{"photo_id":"1402004800","filename":"file5"},{"photo_id":"1402004690","filename":"file2"},{"photo_id":"1402004760","filename":"file4"},{"photo_id":"1402004653","filename":"file1"},{"photo_id":"1402004619","filename":"file0"},{"photo_id":"1402004728","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402004619":["hashtag1","hashtag2"]},{"1402004690":["hashtag1","hashtag2"]},{"1402004653":["hashtag1","hashtag2"]},{"1402004728":["hashtag1","hashtag2"]},{"1402004800":["hashtag1","hashtag2"]},{"1402004760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402004619, 1402004690, 1402004653, 1402004728, 1402004800, 1402004760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.029441356658936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:04:42.123739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_20_6495.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_23_2981.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_25_1598.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_26_1628.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_57_30491.jpg', '/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_59_1738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_20_6495.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_23_2981.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_25_1598.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_26_1628.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_57_30491.jpg
/home/pi/Desktop/images/04112025/15/39/image_04112025_15_39_59_1738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402004904","1402004873","1402004870","1402004945","1402004872","1402004874"],"photo_ids_order":["1402004870","1402004872","1402004873","1402004874","1402004904","1402004945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c60e27a60158e73b7b204efd16399683.jpg","text":"TemporaryFile(/tmp/multipartBody6751308675132710653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254744042,"filename":"image_04112025_15_39_57_30491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/682f9aa58f588b5905f2c480c4a03fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2847725395154128971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254744042,"filename":"image_04112025_15_39_25_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8df43b8a96967cf87321f81c0859e5d8.jpg","text":"TemporaryFile(/tmp/multipartBody5317380435494326756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254744042,"filename":"image_04112025_15_39_20_6495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/332b0017f8a0b0fee1e603c710726e84.jpg","text":"TemporaryFile(/tmp/multipartBody6050295112985925182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254744042,"filename":"image_04112025_15_39_59_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80f5f2df04fdf13a7671ede921a64ccd.jpg","text":"TemporaryFile(/tmp/multipartBody3400751405861921993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254744042,"filename":"image_04112025_15_39_23_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b8d3b7f634aeb9976991aa541e050cc.jpg","text":"TemporaryFile(/tmp/multipartBody6687507127031219267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254744042,"filename":"image_04112025_15_39_26_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402004873","file1":"1402004872","file0":"1402004870","file4":"1402004904","file5":"1402004945","file3":"1402004874"},"map_files_photo_id_array":[{"photo_id":"1402004945","filename":"file5"},{"photo_id":"1402004873","filename":"file2"},{"photo_id":"1402004904","filename":"file4"},{"photo_id":"1402004872","filename":"file1"},{"photo_id":"1402004870","filename":"file0"},{"photo_id":"1402004874","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402004904":["hashtag1","hashtag2"]},{"1402004873":["hashtag1","hashtag2"]},{"1402004870":["hashtag1","hashtag2"]},{"1402004945":["hashtag1","hashtag2"]},{"1402004872":["hashtag1","hashtag2"]},{"1402004874":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402004904, 1402004873, 1402004870, 1402004945, 1402004872, 1402004874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19124507904053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:05:22.464064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_44_9664.jpg', '/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_55_10762.jpg', '/home/pi/Desktop/images/01012026/07/30/image_01012026_07_31_05_9581.jpg', '/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_14_9921.jpg', '/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_24_9600.jpg', '/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_35_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_44_9664.jpg
/home/pi/Desktop/images/01012026/07/30/image_01012026_07_30_55_10762.jpg
/home/pi/Desktop/images/01012026/07/30/image_01012026_07_31_05_9581.jpg
/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_14_9921.jpg
/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_24_9600.jpg
/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_35_10566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402005052","1402005013","1402005090","1402005016","1402005066","1402005098"],"photo_ids_order":["1402005013","1402005016","1402005052","1402005066","1402005090","1402005098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cc62ac7c3e5aa474d1d0acbbb35c486.jpg","text":"TemporaryFile(/tmp/multipartBody81574424599143015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254783055,"filename":"image_01012026_07_31_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d89bb52a71a069ac3c36c5f592017b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3262536066951420209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254783055,"filename":"image_01012026_07_30_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37426d99566d7ca3bfbcb44d4b937702.jpg","text":"TemporaryFile(/tmp/multipartBody1705787802147396836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254783055,"filename":"image_01012026_07_31_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e89aa0f28c720aa68b21951fcc6dd4d2.jpg","text":"TemporaryFile(/tmp/multipartBody1611758626397566566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254783055,"filename":"image_01012026_07_30_55_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db507da11bd28f92038c9f34f554ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody1321585294104747494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254783055,"filename":"image_01012026_07_31_14_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91b7c7185932225c013305d4c0599eff.jpg","text":"TemporaryFile(/tmp/multipartBody6362267708604495228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254783055,"filename":"image_01012026_07_31_35_10566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402005052","file1":"1402005016","file0":"1402005013","file4":"1402005090","file5":"1402005098","file3":"1402005066"},"map_files_photo_id_array":[{"photo_id":"1402005098","filename":"file5"},{"photo_id":"1402005052","filename":"file2"},{"photo_id":"1402005090","filename":"file4"},{"photo_id":"1402005016","filename":"file1"},{"photo_id":"1402005013","filename":"file0"},{"photo_id":"1402005066","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402005052":["hashtag1","hashtag2"]},{"1402005013":["hashtag1","hashtag2"]},{"1402005090":["hashtag1","hashtag2"]},{"1402005016":["hashtag1","hashtag2"]},{"1402005066":["hashtag1","hashtag2"]},{"1402005098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402005052, 1402005013, 1402005090, 1402005016, 1402005066, 1402005098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01043200492859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:06:02.885835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_44_9707.jpg', '/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_55_10564.jpg', '/home/pi/Desktop/images/01012026/07/31/image_01012026_07_32_05_9831.jpg', '/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_14_9677.jpg', '/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_25_10547.jpg', '/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_35_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_44_9707.jpg
/home/pi/Desktop/images/01012026/07/31/image_01012026_07_31_55_10564.jpg
/home/pi/Desktop/images/01012026/07/31/image_01012026_07_32_05_9831.jpg
/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_14_9677.jpg
/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_25_10547.jpg
/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_35_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":["1402005102","1402005101","1402005104","1402005100","1402005103","1402005106"],"photo_ids_order":["1402005100","1402005101","1402005102","1402005103","1402005104","1402005106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04ca5c105af16cf33521c75f8697e719.jpg","text":"TemporaryFile(/tmp/multipartBody577379151202584056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254823509,"filename":"image_01012026_07_32_05_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a28c12f67e48e64a28997e68a648785.jpg","text":"TemporaryFile(/tmp/multipartBody5884843991627130898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254823509,"filename":"image_01012026_07_31_55_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1469cf028de3347500ffde0797e688e0.jpg","text":"TemporaryFile(/tmp/multipartBody5954183877378023737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254823509,"filename":"image_01012026_07_32_25_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/768d8124479016e6c472b936dff3f782.jpg","text":"TemporaryFile(/tmp/multipartBody3733491303356342033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254823509,"filename":"image_01012026_07_31_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa6acd88e9feb94e08170dbc0b9dc582.jpg","text":"TemporaryFile(/tmp/multipartBody729100833038541071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254823509,"filename":"image_01012026_07_32_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/706de38762fb5f2a2d98c56057433de5.jpg","text":"TemporaryFile(/tmp/multipartBody3871824538663800924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254823509,"filename":"image_01012026_07_32_35_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402005102","file1":"1402005101","file0":"1402005100","file4":"1402005104","file5":"1402005106","file3":"1402005103"},"map_files_photo_id_array":[{"photo_id":"1402005106","filename":"file5"},{"photo_id":"1402005102","filename":"file2"},{"photo_id":"1402005104","filename":"file4"},{"photo_id":"1402005101","filename":"file1"},{"photo_id":"1402005100","filename":"file0"},{"photo_id":"1402005103","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402005102":["hashtag1","hashtag2"]},{"1402005101":["hashtag1","hashtag2"]},{"1402005104":["hashtag1","hashtag2"]},{"1402005100":["hashtag1","hashtag2"]},{"1402005103":["hashtag1","hashtag2"]},{"1402005106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402005102, 1402005101, 1402005104, 1402005100, 1402005103, 1402005106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.149072885513306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:06:42.454950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_17_18845.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_20_2057.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_21_1635.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_23_1757.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_36_13439.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_38_1657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_17_18845.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_20_2057.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_21_1635.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_23_1757.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_36_13439.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_38_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":["1402005272","1402005163","1402005238","1402005307","1402005345","1402005204"],"photo_ids_order":["1402005163","1402005204","1402005238","1402005272","1402005307","1402005345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/572d54c82f2640fadf2d34c8a4410315.jpg","text":"TemporaryFile(/tmp/multipartBody5215616664536503356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254864395,"filename":"image_04112025_15_40_23_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2fec130a4e940ce1e768539de6d583d1.jpg","text":"TemporaryFile(/tmp/multipartBody1938400688215016453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254864395,"filename":"image_04112025_15_40_17_18845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fae8237a6a57f2718bb4bc89407e437d.jpg","text":"TemporaryFile(/tmp/multipartBody2511484079348987816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254864395,"filename":"image_04112025_15_40_21_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9eb30dbe812000a92772a5e24828cc88.jpg","text":"TemporaryFile(/tmp/multipartBody6603797907813803702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254864395,"filename":"image_04112025_15_40_36_13439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f5d4fca18bfae6a171696124e1e0f8d.jpg","text":"TemporaryFile(/tmp/multipartBody2858508970207542122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254864395,"filename":"image_04112025_15_40_38_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b1c69a34c299d5a08a3c1dbb1f6a467.jpg","text":"TemporaryFile(/tmp/multipartBody2842319555497836094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254864395,"filename":"image_04112025_15_40_20_2057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402005238","file1":"1402005204","file0":"1402005163","file4":"1402005307","file5":"1402005345","file3":"1402005272"},"map_files_photo_id_array":[{"photo_id":"1402005345","filename":"file5"},{"photo_id":"1402005238","filename":"file2"},{"photo_id":"1402005307","filename":"file4"},{"photo_id":"1402005204","filename":"file1"},{"photo_id":"1402005163","filename":"file0"},{"photo_id":"1402005272","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402005272":["hashtag1","hashtag2"]},{"1402005163":["hashtag1","hashtag2"]},{"1402005238":["hashtag1","hashtag2"]},{"1402005307":["hashtag1","hashtag2"]},{"1402005345":["hashtag1","hashtag2"]},{"1402005204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402005272, 1402005163, 1402005238, 1402005307, 1402005345, 1402005204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54160118103027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:07:22.686561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_45_9857.jpg', '/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_54_9685.jpg', '/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_15_9669.jpg', '/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_24_9769.jpg', '/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_34_9873.jpg', '/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_45_10784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_45_9857.jpg
/home/pi/Desktop/images/01012026/07/32/image_01012026_07_32_54_9685.jpg
/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_15_9669.jpg
/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_24_9769.jpg
/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_34_9873.jpg
/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_45_10784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402005581","1402005652","1402005616","1402005508","1402005471","1402005546"],"photo_ids_order":["1402005471","1402005508","1402005546","1402005581","1402005616","1402005652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f6eb43cdefb7654409b9819cfb017b9.jpg","text":"TemporaryFile(/tmp/multipartBody8193428220575400224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254903275,"filename":"image_01012026_07_33_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c712c1faaaaf0133c8417dedcf2fd293.jpg","text":"TemporaryFile(/tmp/multipartBody5439339240545106782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254903275,"filename":"image_01012026_07_33_45_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c52186e3a704a70c20edaa6e117aa00f.jpg","text":"TemporaryFile(/tmp/multipartBody4406018653634197040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254903275,"filename":"image_01012026_07_33_34_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29e210f75b80bbcf286b1028f8e25bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4018738709403146624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254903275,"filename":"image_01012026_07_32_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/247e82a975e4fa574b96ba9e4d257e78.jpg","text":"TemporaryFile(/tmp/multipartBody7583109584768762900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254903275,"filename":"image_01012026_07_32_45_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1b0224fae9df406a7f09c69091a1886.jpg","text":"TemporaryFile(/tmp/multipartBody9021223074820301836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254903275,"filename":"image_01012026_07_33_15_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402005546","file1":"1402005508","file0":"1402005471","file4":"1402005616","file5":"1402005652","file3":"1402005581"},"map_files_photo_id_array":[{"photo_id":"1402005652","filename":"file5"},{"photo_id":"1402005546","filename":"file2"},{"photo_id":"1402005616","filename":"file4"},{"photo_id":"1402005508","filename":"file1"},{"photo_id":"1402005471","filename":"file0"},{"photo_id":"1402005581","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402005581":["hashtag1","hashtag2"]},{"1402005652":["hashtag1","hashtag2"]},{"1402005616":["hashtag1","hashtag2"]},{"1402005508":["hashtag1","hashtag2"]},{"1402005471":["hashtag1","hashtag2"]},{"1402005546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402005581, 1402005652, 1402005616, 1402005508, 1402005471, 1402005546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73160696029663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:08:03.234875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_55_9621.jpg', '/home/pi/Desktop/images/01012026/07/33/image_01012026_07_34_04_9711.jpg', '/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_15_10559.jpg', '/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_25_9665.jpg', '/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_34_9527.jpg', '/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_45_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/33/image_01012026_07_33_55_9621.jpg
/home/pi/Desktop/images/01012026/07/33/image_01012026_07_34_04_9711.jpg
/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_15_10559.jpg
/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_25_9665.jpg
/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_34_9527.jpg
/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_45_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402005898","1402005792","1402005936","1402005939","1402005828","1402005863"],"photo_ids_order":["1402005792","1402005828","1402005863","1402005898","1402005936","1402005939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfbd45fb542bace3ac046a83aa7c8716.jpg","text":"TemporaryFile(/tmp/multipartBody2431966222635000042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254943853,"filename":"image_01012026_07_34_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b2324040ef89277751e311d0b4cb7af.jpg","text":"TemporaryFile(/tmp/multipartBody8663359065330582178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254943853,"filename":"image_01012026_07_33_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4bba816291f69b4f7f4b6d6583ef1a8.jpg","text":"TemporaryFile(/tmp/multipartBody8827407239591127988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254943853,"filename":"image_01012026_07_34_34_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9df3b6fad00e6a609c838f2cc2f9c7f8.jpg","text":"TemporaryFile(/tmp/multipartBody3727410060320702543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254943853,"filename":"image_01012026_07_34_45_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29e78ae3f4bef7b9a1438fd0d2d0cc17.jpg","text":"TemporaryFile(/tmp/multipartBody8010242039633743426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254943853,"filename":"image_01012026_07_34_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b0bfb67f67f90950966706cc7246ca1.jpg","text":"TemporaryFile(/tmp/multipartBody2295806025468776176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254943853,"filename":"image_01012026_07_34_15_10559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402005863","file1":"1402005828","file0":"1402005792","file4":"1402005936","file5":"1402005939","file3":"1402005898"},"map_files_photo_id_array":[{"photo_id":"1402005939","filename":"file5"},{"photo_id":"1402005863","filename":"file2"},{"photo_id":"1402005936","filename":"file4"},{"photo_id":"1402005828","filename":"file1"},{"photo_id":"1402005792","filename":"file0"},{"photo_id":"1402005898","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402005898":["hashtag1","hashtag2"]},{"1402005792":["hashtag1","hashtag2"]},{"1402005936":["hashtag1","hashtag2"]},{"1402005939":["hashtag1","hashtag2"]},{"1402005828":["hashtag1","hashtag2"]},{"1402005863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402005898, 1402005792, 1402005936, 1402005939, 1402005828, 1402005863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32496404647827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:08:42.857818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_40_1543.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_41_1709.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_43_1657.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_45_1663.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_46_1540.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_48_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_40_1543.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_41_1709.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_43_1657.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_45_1663.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_46_1540.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_48_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":["1402005950","1402006024","1402005949","1402005984","1402005948","1402005945"],"photo_ids_order":["1402005945","1402005948","1402005949","1402005950","1402005984","1402006024"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/614ef888c2121acb6dbfb13cd54e3e15.jpg","text":"TemporaryFile(/tmp/multipartBody374392358913414619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254984803,"filename":"image_04112025_15_40_45_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/803f7d24e3327509b7da1e78546c6e42.jpg","text":"TemporaryFile(/tmp/multipartBody1041998458396341998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254984803,"filename":"image_04112025_15_40_48_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce1276d0296cd5494adcc283cf90499d.jpg","text":"TemporaryFile(/tmp/multipartBody3802802520923996162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254984803,"filename":"image_04112025_15_40_43_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8290685f795971c16f15f7533d4a1161.jpg","text":"TemporaryFile(/tmp/multipartBody2003023673798021063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254984803,"filename":"image_04112025_15_40_46_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/274bd895025d229656e90fb741c656e5.jpg","text":"TemporaryFile(/tmp/multipartBody6612572664028256920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254984803,"filename":"image_04112025_15_40_41_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7211d9e92370212514639e344eb11c2.jpg","text":"TemporaryFile(/tmp/multipartBody3971015026112586768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767254984803,"filename":"image_04112025_15_40_40_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402005949","file1":"1402005948","file0":"1402005945","file4":"1402005984","file5":"1402006024","file3":"1402005950"},"map_files_photo_id_array":[{"photo_id":"1402006024","filename":"file5"},{"photo_id":"1402005949","filename":"file2"},{"photo_id":"1402005984","filename":"file4"},{"photo_id":"1402005948","filename":"file1"},{"photo_id":"1402005945","filename":"file0"},{"photo_id":"1402005950","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402005950":["hashtag1","hashtag2"]},{"1402006024":["hashtag1","hashtag2"]},{"1402005949":["hashtag1","hashtag2"]},{"1402005984":["hashtag1","hashtag2"]},{"1402005948":["hashtag1","hashtag2"]},{"1402005945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402005950, 1402006024, 1402005949, 1402005984, 1402005948, 1402005945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80612254142761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:09:22.037037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_55_9745.jpg', '/home/pi/Desktop/images/01012026/07/34/image_01012026_07_35_04_9824.jpg', '/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_15_10549.jpg', '/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_25_9684.jpg', '/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_34_9629.jpg', '/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_45_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/34/image_01012026_07_34_55_9745.jpg
/home/pi/Desktop/images/01012026/07/34/image_01012026_07_35_04_9824.jpg
/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_15_10549.jpg
/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_25_9684.jpg
/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_34_9629.jpg
/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_45_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006189","1402006150","1402006188","1402006134","1402006209","1402006142"],"photo_ids_order":["1402006134","1402006142","1402006150","1402006188","1402006189","1402006209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a858236612fc575e6c6bf47bcd1c772b.jpg","text":"TemporaryFile(/tmp/multipartBody6283166324894800836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255022630,"filename":"image_01012026_07_35_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f058173b548b2743a42ea758160a1cc.jpg","text":"TemporaryFile(/tmp/multipartBody3931738197642326295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255022630,"filename":"image_01012026_07_35_15_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2bfbbd37de3b37d95f8280c35f582fc.jpg","text":"TemporaryFile(/tmp/multipartBody4425741093998521938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255022630,"filename":"image_01012026_07_35_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f23d54f9e1c5673f82e443bd0fc4fe13.jpg","text":"TemporaryFile(/tmp/multipartBody604643831742455090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255022630,"filename":"image_01012026_07_34_55_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e96fd18021fda8828cecd576a083fd6.jpg","text":"TemporaryFile(/tmp/multipartBody7491954167099057533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255022630,"filename":"image_01012026_07_35_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3523d7d4d70c7b0d3821bfa930a99a0f.jpg","text":"TemporaryFile(/tmp/multipartBody7246388431780022368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255022630,"filename":"image_01012026_07_35_04_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006150","file1":"1402006142","file0":"1402006134","file4":"1402006189","file5":"1402006209","file3":"1402006188"},"map_files_photo_id_array":[{"photo_id":"1402006209","filename":"file5"},{"photo_id":"1402006150","filename":"file2"},{"photo_id":"1402006189","filename":"file4"},{"photo_id":"1402006142","filename":"file1"},{"photo_id":"1402006134","filename":"file0"},{"photo_id":"1402006188","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006189":["hashtag1","hashtag2"]},{"1402006150":["hashtag1","hashtag2"]},{"1402006188":["hashtag1","hashtag2"]},{"1402006134":["hashtag1","hashtag2"]},{"1402006209":["hashtag1","hashtag2"]},{"1402006142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006189, 1402006150, 1402006188, 1402006134, 1402006209, 1402006142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29801821708679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:10:02.629034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_55_9683.jpg', '/home/pi/Desktop/images/01012026/07/35/image_01012026_07_36_04_9675.jpg', '/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_15_10719.jpg', '/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_25_9784.jpg', '/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_35_9839.jpg', '/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_44_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/35/image_01012026_07_35_55_9683.jpg
/home/pi/Desktop/images/01012026/07/35/image_01012026_07_36_04_9675.jpg
/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_15_10719.jpg
/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_25_9784.jpg
/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_35_9839.jpg
/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_44_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":["1402006237","1402006239","1402006242","1402006241","1402006244","1402006238"],"photo_ids_order":["1402006237","1402006238","1402006239","1402006241","1402006242","1402006244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd64e2780bcc2fdd91b4f752292c545a.jpg","text":"TemporaryFile(/tmp/multipartBody6870124134015941916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255063259,"filename":"image_01012026_07_35_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ebbb4c2b4b024abd8a0ce27112b327a.jpg","text":"TemporaryFile(/tmp/multipartBody1957155552533206727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255063259,"filename":"image_01012026_07_36_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de0a7360cd238ad5951c281fcf52a562.jpg","text":"TemporaryFile(/tmp/multipartBody4059463258105848797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255063259,"filename":"image_01012026_07_36_35_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f030b5d7bd25806008385a3460b6e89f.jpg","text":"TemporaryFile(/tmp/multipartBody3228496215297682651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255063259,"filename":"image_01012026_07_36_25_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44a9bbd08728e8da7ba58ad7b0428ce4.jpg","text":"TemporaryFile(/tmp/multipartBody3647758894088638168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255063259,"filename":"image_01012026_07_36_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f5fdca67aab3591b732d904efb3ac1b.jpg","text":"TemporaryFile(/tmp/multipartBody5312024550327878717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255063259,"filename":"image_01012026_07_36_04_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006239","file1":"1402006238","file0":"1402006237","file4":"1402006242","file5":"1402006244","file3":"1402006241"},"map_files_photo_id_array":[{"photo_id":"1402006244","filename":"file5"},{"photo_id":"1402006239","filename":"file2"},{"photo_id":"1402006242","filename":"file4"},{"photo_id":"1402006238","filename":"file1"},{"photo_id":"1402006237","filename":"file0"},{"photo_id":"1402006241","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006237":["hashtag1","hashtag2"]},{"1402006239":["hashtag1","hashtag2"]},{"1402006242":["hashtag1","hashtag2"]},{"1402006241":["hashtag1","hashtag2"]},{"1402006244":["hashtag1","hashtag2"]},{"1402006238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006237, 1402006239, 1402006242, 1402006241, 1402006244, 1402006238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81028485298157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:10:42.289644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_50_1754.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_51_1657.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_53_1559.jpg', '/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_55_1777.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_04_1542.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_06_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_50_1754.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_51_1657.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_53_1559.jpg
/home/pi/Desktop/images/04112025/15/40/image_04112025_15_40_55_1777.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_04_1542.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_06_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":["1402006253","1402006255","1402006257","1402006254","1402006256","1402006250"],"photo_ids_order":["1402006250","1402006253","1402006254","1402006255","1402006256","1402006257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08e91de1d72c4321c7bc8d83a75cac70.jpg","text":"TemporaryFile(/tmp/multipartBody4639650348167681244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255104247,"filename":"image_04112025_15_40_51_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c944c55c562108bf7030485f66ae36f7.jpg","text":"TemporaryFile(/tmp/multipartBody4217457710560468353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255104247,"filename":"image_04112025_15_40_55_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/154f9536fd0697963db08dc57d908b6f.jpg","text":"TemporaryFile(/tmp/multipartBody886640162677029766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255104247,"filename":"image_04112025_15_41_06_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d9e578b9c74fd9699ff13dd58446bda.jpg","text":"TemporaryFile(/tmp/multipartBody8927697494859732247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255104247,"filename":"image_04112025_15_40_53_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aad1c04d80095cb3994fbfa2e9a12a71.jpg","text":"TemporaryFile(/tmp/multipartBody4601086543337265128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255104247,"filename":"image_04112025_15_41_04_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0ec36dbfc4d8f63723560d702491d50.jpg","text":"TemporaryFile(/tmp/multipartBody110984176243375718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255104247,"filename":"image_04112025_15_40_50_1754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006254","file1":"1402006253","file0":"1402006250","file4":"1402006256","file5":"1402006257","file3":"1402006255"},"map_files_photo_id_array":[{"photo_id":"1402006257","filename":"file5"},{"photo_id":"1402006254","filename":"file2"},{"photo_id":"1402006256","filename":"file4"},{"photo_id":"1402006253","filename":"file1"},{"photo_id":"1402006250","filename":"file0"},{"photo_id":"1402006255","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006253":["hashtag1","hashtag2"]},{"1402006255":["hashtag1","hashtag2"]},{"1402006257":["hashtag1","hashtag2"]},{"1402006254":["hashtag1","hashtag2"]},{"1402006256":["hashtag1","hashtag2"]},{"1402006250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006253, 1402006255, 1402006257, 1402006254, 1402006256, 1402006250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5411913394928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:11:22.390227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_55_10806.jpg', '/home/pi/Desktop/images/01012026/07/36/image_01012026_07_37_05_9563.jpg', '/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_14_9596.jpg', '/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_25_10622.jpg', '/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_34_9602.jpg', '/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_45_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/36/image_01012026_07_36_55_10806.jpg
/home/pi/Desktop/images/01012026/07/36/image_01012026_07_37_05_9563.jpg
/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_14_9596.jpg
/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_25_10622.jpg
/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_34_9602.jpg
/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_45_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006270","1402006264","1402006258","1402006266","1402006260","1402006262"],"photo_ids_order":["1402006258","1402006260","1402006262","1402006264","1402006266","1402006270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8e1769443d107db59e30d983303c2c6.jpg","text":"TemporaryFile(/tmp/multipartBody1026342081819974981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255142986,"filename":"image_01012026_07_37_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b778a63c4ec3ff970b950c76efdbeb7c.jpg","text":"TemporaryFile(/tmp/multipartBody7065035687193368534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255142986,"filename":"image_01012026_07_37_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f697bbfce37690ba81555d056ac51f90.jpg","text":"TemporaryFile(/tmp/multipartBody182032210299506432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255142986,"filename":"image_01012026_07_36_55_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/165bcca0f3e4aca795e8a7904c416075.jpg","text":"TemporaryFile(/tmp/multipartBody5646708846343640867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255142986,"filename":"image_01012026_07_37_34_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45db7e0acc0c674dfc28ec2e22008ec1.jpg","text":"TemporaryFile(/tmp/multipartBody4862445344590895892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255142986,"filename":"image_01012026_07_37_05_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82987d588f105511f80ada57b33181c2.jpg","text":"TemporaryFile(/tmp/multipartBody6690759501106746893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255142986,"filename":"image_01012026_07_37_14_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006262","file1":"1402006260","file0":"1402006258","file4":"1402006266","file5":"1402006270","file3":"1402006264"},"map_files_photo_id_array":[{"photo_id":"1402006270","filename":"file5"},{"photo_id":"1402006262","filename":"file2"},{"photo_id":"1402006266","filename":"file4"},{"photo_id":"1402006260","filename":"file1"},{"photo_id":"1402006258","filename":"file0"},{"photo_id":"1402006264","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006270":["hashtag1","hashtag2"]},{"1402006264":["hashtag1","hashtag2"]},{"1402006258":["hashtag1","hashtag2"]},{"1402006266":["hashtag1","hashtag2"]},{"1402006260":["hashtag1","hashtag2"]},{"1402006262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006270, 1402006264, 1402006258, 1402006266, 1402006260, 1402006262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72149848937988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:12:03.040075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_55_9511.jpg', '/home/pi/Desktop/images/01012026/07/37/image_01012026_07_38_04_9654.jpg', '/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_15_10613.jpg', '/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_24_9676.jpg', '/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_34_9622.jpg', '/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_45_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/37/image_01012026_07_37_55_9511.jpg
/home/pi/Desktop/images/01012026/07/37/image_01012026_07_38_04_9654.jpg
/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_15_10613.jpg
/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_24_9676.jpg
/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_34_9622.jpg
/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_45_10853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006273","1402006276","1402006275","1402006278","1402006272","1402006274"],"photo_ids_order":["1402006272","1402006273","1402006274","1402006275","1402006276","1402006278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff975b76a6e66eb74e5f16a85c8b6955.jpg","text":"TemporaryFile(/tmp/multipartBody298562077160098780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255183708,"filename":"image_01012026_07_38_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/871aabc6a388c98856d04486f3f962a4.jpg","text":"TemporaryFile(/tmp/multipartBody7933897083989751477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255183708,"filename":"image_01012026_07_38_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07de9fd23e182d6dbb3e95ccefda0e85.jpg","text":"TemporaryFile(/tmp/multipartBody4754316444984287450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255183708,"filename":"image_01012026_07_38_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a49c59009251f2e0d1b652c1137df3e.jpg","text":"TemporaryFile(/tmp/multipartBody5226984545057036135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255183708,"filename":"image_01012026_07_38_45_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b66f369e18f847b940eb0950916fe043.jpg","text":"TemporaryFile(/tmp/multipartBody3379523494334473676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255183708,"filename":"image_01012026_07_37_55_9511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa4c7140252a47cf32452bcae63d8124.jpg","text":"TemporaryFile(/tmp/multipartBody3339625582979399822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255183708,"filename":"image_01012026_07_38_15_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006274","file1":"1402006273","file0":"1402006272","file4":"1402006276","file5":"1402006278","file3":"1402006275"},"map_files_photo_id_array":[{"photo_id":"1402006278","filename":"file5"},{"photo_id":"1402006274","filename":"file2"},{"photo_id":"1402006276","filename":"file4"},{"photo_id":"1402006273","filename":"file1"},{"photo_id":"1402006272","filename":"file0"},{"photo_id":"1402006275","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006273":["hashtag1","hashtag2"]},{"1402006276":["hashtag1","hashtag2"]},{"1402006275":["hashtag1","hashtag2"]},{"1402006278":["hashtag1","hashtag2"]},{"1402006272":["hashtag1","hashtag2"]},{"1402006274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006273, 1402006276, 1402006275, 1402006278, 1402006272, 1402006274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11529850959778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:12:42.630352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_07_1609.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_09_1741.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_11_1752.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_12_1666.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_14_1784.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_16_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_07_1609.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_09_1741.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_11_1752.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_12_1666.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_14_1784.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_16_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006285","1402006288","1402006290","1402006287","1402006286","1402006283"],"photo_ids_order":["1402006283","1402006285","1402006286","1402006287","1402006288","1402006290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1a5993bc0660deb7f70174cbf8f303a.jpg","text":"TemporaryFile(/tmp/multipartBody1564709852554432309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255224587,"filename":"image_04112025_15_41_09_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5496c4598f6223ee4b6ae159c447da7.jpg","text":"TemporaryFile(/tmp/multipartBody4540352771350043076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255224587,"filename":"image_04112025_15_41_14_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e25e3fc8262b6fb1a312a3222818e76.jpg","text":"TemporaryFile(/tmp/multipartBody7526865655384156054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255224587,"filename":"image_04112025_15_41_16_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7307323013a9abe8098ee1d4f2f53f18.jpg","text":"TemporaryFile(/tmp/multipartBody703470001900470013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255224587,"filename":"image_04112025_15_41_12_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/003f64aa2cecc89d0a3b5b2a235af31b.jpg","text":"TemporaryFile(/tmp/multipartBody1500592233565474664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255224587,"filename":"image_04112025_15_41_11_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8eb17f4f4cf6c8b785d12cea1d96df6b.jpg","text":"TemporaryFile(/tmp/multipartBody8505512423522243240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255224587,"filename":"image_04112025_15_41_07_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006286","file1":"1402006285","file0":"1402006283","file4":"1402006288","file5":"1402006290","file3":"1402006287"},"map_files_photo_id_array":[{"photo_id":"1402006290","filename":"file5"},{"photo_id":"1402006286","filename":"file2"},{"photo_id":"1402006288","filename":"file4"},{"photo_id":"1402006285","filename":"file1"},{"photo_id":"1402006283","filename":"file0"},{"photo_id":"1402006287","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006285":["hashtag1","hashtag2"]},{"1402006288":["hashtag1","hashtag2"]},{"1402006290":["hashtag1","hashtag2"]},{"1402006287":["hashtag1","hashtag2"]},{"1402006286":["hashtag1","hashtag2"]},{"1402006283":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006285, 1402006288, 1402006290, 1402006287, 1402006286, 1402006283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75856375694275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:13:22.933630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_55_9732.jpg', '/home/pi/Desktop/images/01012026/07/38/image_01012026_07_39_04_9574.jpg', '/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_14_9893.jpg', '/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_25_10604.jpg', '/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_34_9568.jpg', '/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_45_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/38/image_01012026_07_38_55_9732.jpg
/home/pi/Desktop/images/01012026/07/38/image_01012026_07_39_04_9574.jpg
/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_14_9893.jpg
/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_25_10604.jpg
/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_34_9568.jpg
/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_45_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":["1402006294","1402006296","1402006300","1402006302","1402006292","1402006298"],"photo_ids_order":["1402006292","1402006294","1402006296","1402006298","1402006300","1402006302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/599a1da5a83008a3ba429715d83841af.jpg","text":"TemporaryFile(/tmp/multipartBody1139527460391496656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255263806,"filename":"image_01012026_07_39_04_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45009c231436c3e85013d9f0a146f3d5.jpg","text":"TemporaryFile(/tmp/multipartBody1203815816611299987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255263806,"filename":"image_01012026_07_39_14_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce04fe4ffbfeb5e36fbd15fb4bb1fffa.jpg","text":"TemporaryFile(/tmp/multipartBody5947935721459973727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255263806,"filename":"image_01012026_07_39_34_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7bb203a8d00cf272f5b296b183f8a7c0.jpg","text":"TemporaryFile(/tmp/multipartBody7008052748634629950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255263806,"filename":"image_01012026_07_39_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50bceb2394f5207d86cc1260f9ae660c.jpg","text":"TemporaryFile(/tmp/multipartBody351546809661671088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255263806,"filename":"image_01012026_07_38_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/647fb0e39250366923c068afae78444c.jpg","text":"TemporaryFile(/tmp/multipartBody2735871651106408600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255263806,"filename":"image_01012026_07_39_25_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006296","file1":"1402006294","file0":"1402006292","file4":"1402006300","file5":"1402006302","file3":"1402006298"},"map_files_photo_id_array":[{"photo_id":"1402006302","filename":"file5"},{"photo_id":"1402006296","filename":"file2"},{"photo_id":"1402006300","filename":"file4"},{"photo_id":"1402006294","filename":"file1"},{"photo_id":"1402006292","filename":"file0"},{"photo_id":"1402006298","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006294":["hashtag1","hashtag2"]},{"1402006296":["hashtag1","hashtag2"]},{"1402006300":["hashtag1","hashtag2"]},{"1402006302":["hashtag1","hashtag2"]},{"1402006292":["hashtag1","hashtag2"]},{"1402006298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006294, 1402006296, 1402006300, 1402006302, 1402006292, 1402006298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63837218284607 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:14:02.696271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_55_9712.jpg', '/home/pi/Desktop/images/01012026/07/39/image_01012026_07_40_04_9726.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_14_9696.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_25_10751.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_35_9812.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_45_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_55_9712.jpg
/home/pi/Desktop/images/01012026/07/39/image_01012026_07_40_04_9726.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_14_9696.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_25_10751.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_35_9812.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_45_9825.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.5674014091491699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:14:11.963846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_17_1646.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_19_1645.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_21_1740.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_25_4143.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_27_1683.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_28_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_17_1646.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_19_1645.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_21_1740.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_25_4143.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_27_1683.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_28_1736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006319","1402006313","1402006307","1402006315","1402006309","1402006317"],"photo_ids_order":["1402006307","1402006309","1402006313","1402006315","1402006317","1402006319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a816a71490225da8a2131d3717746288.jpg","text":"TemporaryFile(/tmp/multipartBody3110433634332438497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255313827,"filename":"image_04112025_15_41_28_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a412856fe117a9d364dd4d50304cac80.jpg","text":"TemporaryFile(/tmp/multipartBody4162121790295873864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255313827,"filename":"image_04112025_15_41_21_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be2e34e8ac206a40c35d06d7949b9850.jpg","text":"TemporaryFile(/tmp/multipartBody6477878430546926345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255313827,"filename":"image_04112025_15_41_17_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ede33451b1a04dc0192c0af7607ecdb2.jpg","text":"TemporaryFile(/tmp/multipartBody1344881218679642148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255313827,"filename":"image_04112025_15_41_25_4143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3190ec5d137c2dc55629ab616f023c8.jpg","text":"TemporaryFile(/tmp/multipartBody383128957038197107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255313827,"filename":"image_04112025_15_41_19_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58ff2cf39921485f92cd8283e61ea5ac.jpg","text":"TemporaryFile(/tmp/multipartBody8468151754700188341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255313827,"filename":"image_04112025_15_41_27_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006313","file1":"1402006309","file0":"1402006307","file4":"1402006317","file5":"1402006319","file3":"1402006315"},"map_files_photo_id_array":[{"photo_id":"1402006319","filename":"file5"},{"photo_id":"1402006313","filename":"file2"},{"photo_id":"1402006317","filename":"file4"},{"photo_id":"1402006309","filename":"file1"},{"photo_id":"1402006307","filename":"file0"},{"photo_id":"1402006315","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006319":["hashtag1","hashtag2"]},{"1402006313":["hashtag1","hashtag2"]},{"1402006307":["hashtag1","hashtag2"]},{"1402006315":["hashtag1","hashtag2"]},{"1402006309":["hashtag1","hashtag2"]},{"1402006317":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006319, 1402006313, 1402006307, 1402006315, 1402006309, 1402006317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56970834732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:15:02.718108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_55_9712.jpg', '/home/pi/Desktop/images/01012026/07/39/image_01012026_07_40_04_9726.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_14_9696.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_25_10751.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_35_9812.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_45_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/39/image_01012026_07_39_55_9712.jpg
/home/pi/Desktop/images/01012026/07/39/image_01012026_07_40_04_9726.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_14_9696.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_25_10751.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_35_9812.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_45_9825.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006325","1402006327","1402006324","1402006326","1402006329","1402006323"],"photo_ids_order":["1402006323","1402006324","1402006325","1402006326","1402006327","1402006329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae26b8c4f8ddfaf2d5dbe8d161abdb2a.jpg","text":"TemporaryFile(/tmp/multipartBody7514017693107261455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255363405,"filename":"image_01012026_07_40_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f54e1f4d68fbb65ce3560ffd714e34ad.jpg","text":"TemporaryFile(/tmp/multipartBody131330423306229738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255363405,"filename":"image_01012026_07_40_35_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4923f2eafe4af4bba4fe64925b840349.jpg","text":"TemporaryFile(/tmp/multipartBody7002404917605840631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255363405,"filename":"image_01012026_07_40_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b3157dbb3116fa6ce898a14539d310f.jpg","text":"TemporaryFile(/tmp/multipartBody2863465362140535034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255363405,"filename":"image_01012026_07_40_25_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59a1fff6581c139cdc4c3d2eacb32f9b.jpg","text":"TemporaryFile(/tmp/multipartBody1236827157831989561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255363405,"filename":"image_01012026_07_40_45_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c139f8cf42fc15f8fb7c2aa641f7a08.jpg","text":"TemporaryFile(/tmp/multipartBody6828156923873869139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255363405,"filename":"image_01012026_07_39_55_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006325","file1":"1402006324","file0":"1402006323","file4":"1402006327","file5":"1402006329","file3":"1402006326"},"map_files_photo_id_array":[{"photo_id":"1402006329","filename":"file5"},{"photo_id":"1402006325","filename":"file2"},{"photo_id":"1402006327","filename":"file4"},{"photo_id":"1402006324","filename":"file1"},{"photo_id":"1402006323","filename":"file0"},{"photo_id":"1402006326","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006325":["hashtag1","hashtag2"]},{"1402006327":["hashtag1","hashtag2"]},{"1402006324":["hashtag1","hashtag2"]},{"1402006326":["hashtag1","hashtag2"]},{"1402006329":["hashtag1","hashtag2"]},{"1402006323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006325, 1402006327, 1402006324, 1402006326, 1402006329, 1402006323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3050971031189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:15:42.101129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_39_11085.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_41_1598.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_43_1650.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_44_1608.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_46_1669.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_47_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_39_11085.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_41_1598.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_43_1650.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_44_1608.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_46_1669.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_47_1549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006334","1402006336","1402006339","1402006338","1402006340","1402006337"],"photo_ids_order":["1402006334","1402006336","1402006337","1402006338","1402006339","1402006340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b084e042ad1aa98d9d281d90fe5d7c03.jpg","text":"TemporaryFile(/tmp/multipartBody4821674384392016050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255404055,"filename":"image_04112025_15_41_39_11085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f15e832c3bc05910d84d68fe2a6add2.jpg","text":"TemporaryFile(/tmp/multipartBody6531046101450349571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255404055,"filename":"image_04112025_15_41_41_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b011eee421f87c6792fc48aa62e808f.jpg","text":"TemporaryFile(/tmp/multipartBody5490482420035659391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255404055,"filename":"image_04112025_15_41_46_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1a60bc2c1988303c52a56fb2d24c42a.jpg","text":"TemporaryFile(/tmp/multipartBody8789327749743663776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255404055,"filename":"image_04112025_15_41_44_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc42de8cb08578939267481c38af9f02.jpg","text":"TemporaryFile(/tmp/multipartBody544586784750060291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255404055,"filename":"image_04112025_15_41_47_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0825e77c07fd5165a7a11526444a22fe.jpg","text":"TemporaryFile(/tmp/multipartBody7259716705114955758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255404055,"filename":"image_04112025_15_41_43_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006337","file1":"1402006336","file0":"1402006334","file4":"1402006339","file5":"1402006340","file3":"1402006338"},"map_files_photo_id_array":[{"photo_id":"1402006340","filename":"file5"},{"photo_id":"1402006337","filename":"file2"},{"photo_id":"1402006339","filename":"file4"},{"photo_id":"1402006336","filename":"file1"},{"photo_id":"1402006334","filename":"file0"},{"photo_id":"1402006338","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006334":["hashtag1","hashtag2"]},{"1402006336":["hashtag1","hashtag2"]},{"1402006339":["hashtag1","hashtag2"]},{"1402006338":["hashtag1","hashtag2"]},{"1402006340":["hashtag1","hashtag2"]},{"1402006337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006334, 1402006336, 1402006339, 1402006338, 1402006340, 1402006337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24201798439026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:16:22.287008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_54_9573.jpg', '/home/pi/Desktop/images/01012026/07/40/image_01012026_07_41_05_10611.jpg', '/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_14_9779.jpg', '/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_24_9618.jpg', '/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_35_10747.jpg', '/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_44_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_40_54_9573.jpg
/home/pi/Desktop/images/01012026/07/40/image_01012026_07_41_05_10611.jpg
/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_14_9779.jpg
/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_24_9618.jpg
/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_35_10747.jpg
/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_44_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":["1402006346","1402006348","1402006350","1402006344","1402006353","1402006341"],"photo_ids_order":["1402006341","1402006344","1402006346","1402006348","1402006350","1402006353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa1ca9b491922adfa18b0fd4ade69cee.jpg","text":"TemporaryFile(/tmp/multipartBody5984798015065689488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255442881,"filename":"image_01012026_07_41_14_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b083f46703abeb7f4a96f43aff5ab188.jpg","text":"TemporaryFile(/tmp/multipartBody2139339273721503950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255442881,"filename":"image_01012026_07_41_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2703ec062beafa09245f683f9d92c234.jpg","text":"TemporaryFile(/tmp/multipartBody2971664659022020378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255442881,"filename":"image_01012026_07_41_35_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c90224b140cd9bc6fc8838e92c1a2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8871396183286209901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255442881,"filename":"image_01012026_07_41_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11bad00afe08c9205fe31d7d3e3a54f9.jpg","text":"TemporaryFile(/tmp/multipartBody3238852100447756674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255442881,"filename":"image_01012026_07_41_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4167c5065110c65063422d16eb15e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8603723628642339405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255442881,"filename":"image_01012026_07_40_54_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006346","file1":"1402006344","file0":"1402006341","file4":"1402006350","file5":"1402006353","file3":"1402006348"},"map_files_photo_id_array":[{"photo_id":"1402006353","filename":"file5"},{"photo_id":"1402006346","filename":"file2"},{"photo_id":"1402006350","filename":"file4"},{"photo_id":"1402006344","filename":"file1"},{"photo_id":"1402006341","filename":"file0"},{"photo_id":"1402006348","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006346":["hashtag1","hashtag2"]},{"1402006348":["hashtag1","hashtag2"]},{"1402006350":["hashtag1","hashtag2"]},{"1402006344":["hashtag1","hashtag2"]},{"1402006353":["hashtag1","hashtag2"]},{"1402006341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006346, 1402006348, 1402006350, 1402006344, 1402006353, 1402006341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12316298484802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:17:03.200950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_54_9649.jpg', '/home/pi/Desktop/images/01012026/07/41/image_01012026_07_42_05_10713.jpg', '/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_15_10270.jpg', '/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_25_9619.jpg', '/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_34_9687.jpg', '/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_44_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/41/image_01012026_07_41_54_9649.jpg
/home/pi/Desktop/images/01012026/07/41/image_01012026_07_42_05_10713.jpg
/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_15_10270.jpg
/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_25_9619.jpg
/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_34_9687.jpg
/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_44_9871.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006360","1402006354","1402006357","1402006356","1402006355","1402006358"],"photo_ids_order":["1402006354","1402006355","1402006356","1402006357","1402006358","1402006360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4425f73c784f99089f2c7a8a560f51c4.jpg","text":"TemporaryFile(/tmp/multipartBody138462706486023819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255483922,"filename":"image_01012026_07_42_44_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ccc8ab5c65e0ed046c9b3301a82876e.jpg","text":"TemporaryFile(/tmp/multipartBody6643892379702096219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255483922,"filename":"image_01012026_07_41_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c28a3af3d9f2e4d147fb8aa259004dbf.jpg","text":"TemporaryFile(/tmp/multipartBody221628685622212150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255483922,"filename":"image_01012026_07_42_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e12aedd9e48bec6e8fd045685a269287.jpg","text":"TemporaryFile(/tmp/multipartBody142733898340142781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255483922,"filename":"image_01012026_07_42_15_10270.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54c998036fdbcdd0a9ac4f29d2d319b1.jpg","text":"TemporaryFile(/tmp/multipartBody1461689490668426019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255483922,"filename":"image_01012026_07_42_05_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9205fadb04f5bbdf7602a5ecd6088d32.jpg","text":"TemporaryFile(/tmp/multipartBody3339179421956181058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255483922,"filename":"image_01012026_07_42_34_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006356","file1":"1402006355","file0":"1402006354","file4":"1402006358","file5":"1402006360","file3":"1402006357"},"map_files_photo_id_array":[{"photo_id":"1402006360","filename":"file5"},{"photo_id":"1402006356","filename":"file2"},{"photo_id":"1402006358","filename":"file4"},{"photo_id":"1402006355","filename":"file1"},{"photo_id":"1402006354","filename":"file0"},{"photo_id":"1402006357","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006360":["hashtag1","hashtag2"]},{"1402006354":["hashtag1","hashtag2"]},{"1402006357":["hashtag1","hashtag2"]},{"1402006356":["hashtag1","hashtag2"]},{"1402006355":["hashtag1","hashtag2"]},{"1402006358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006360, 1402006354, 1402006357, 1402006356, 1402006355, 1402006358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48666787147522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:17:42.539380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_49_1577.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_51_1643.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_52_1633.jpg', '/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_54_1647.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_06_12312.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_08_1800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_49_1577.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_51_1643.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_52_1633.jpg
/home/pi/Desktop/images/04112025/15/41/image_04112025_15_41_54_1647.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_06_12312.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_08_1800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006372","1402006366","1402006369","1402006371","1402006368","1402006370"],"photo_ids_order":["1402006366","1402006368","1402006369","1402006370","1402006371","1402006372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5973043858ef3905d71ad1f2075f87ca.jpg","text":"TemporaryFile(/tmp/multipartBody3283649094229334528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255524522,"filename":"image_04112025_15_42_08_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d80066a9b710dfc3d97d57fe5087c78b.jpg","text":"TemporaryFile(/tmp/multipartBody4819877034750263443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255524522,"filename":"image_04112025_15_41_49_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bfd432608d270c71567d9345499e84c.jpg","text":"TemporaryFile(/tmp/multipartBody7479916287955419170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255524522,"filename":"image_04112025_15_41_52_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b91da856ff2ff6beaff516d8c28d6449.jpg","text":"TemporaryFile(/tmp/multipartBody6778449427991965129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255524522,"filename":"image_04112025_15_42_06_12312.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c22a16d5d4c8050183208cc87102ab5.jpg","text":"TemporaryFile(/tmp/multipartBody4715862127820999560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255524522,"filename":"image_04112025_15_41_51_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e31f410e50dc247432186c9b3259ff4b.jpg","text":"TemporaryFile(/tmp/multipartBody12691819456665901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255524522,"filename":"image_04112025_15_41_54_1647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006369","file1":"1402006368","file0":"1402006366","file4":"1402006371","file5":"1402006372","file3":"1402006370"},"map_files_photo_id_array":[{"photo_id":"1402006372","filename":"file5"},{"photo_id":"1402006369","filename":"file2"},{"photo_id":"1402006371","filename":"file4"},{"photo_id":"1402006368","filename":"file1"},{"photo_id":"1402006366","filename":"file0"},{"photo_id":"1402006370","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006372":["hashtag1","hashtag2"]},{"1402006366":["hashtag1","hashtag2"]},{"1402006369":["hashtag1","hashtag2"]},{"1402006371":["hashtag1","hashtag2"]},{"1402006368":["hashtag1","hashtag2"]},{"1402006370":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006372, 1402006366, 1402006369, 1402006371, 1402006368, 1402006370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60684013366699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:18:22.700251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_55_10777.jpg', '/home/pi/Desktop/images/01012026/07/42/image_01012026_07_43_05_9703.jpg', '/home/pi/Desktop/images/01012026/07/43/image_01012026_07_43_15_9771.jpg', '/home/pi/Desktop/images/01012026/07/43/image_01012026_07_43_24_9602.jpg', '/home/pi/Desktop/images/01012026/07/43/image_01012026_07_43_35_10726.jpg', '/home/pi/Desktop/images/01012026/07/43/image_01012026_07_43_44_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/42/image_01012026_07_42_55_10777.jpg
/home/pi/Desktop/images/01012026/07/42/image_01012026_07_43_05_9703.jpg
/home/pi/Desktop/images/01012026/07/43/image_01012026_07_43_15_9771.jpg
/home/pi/Desktop/images/01012026/07/43/image_01012026_07_43_24_9602.jpg
/home/pi/Desktop/images/01012026/07/43/image_01012026_07_43_35_10726.jpg
/home/pi/Desktop/images/01012026/07/43/image_01012026_07_43_44_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006378","1402006380","1402006374","1402006385","1402006382","1402006376"],"photo_ids_order":["1402006374","1402006376","1402006378","1402006380","1402006382","1402006385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eee5b813bb6e0e19334775f289cf0522.jpg","text":"TemporaryFile(/tmp/multipartBody5959282837428648513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255563300,"filename":"image_01012026_07_43_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bd319a08dd22a6d6ea3c24a37af82bc.jpg","text":"TemporaryFile(/tmp/multipartBody5399317078843013985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255563300,"filename":"image_01012026_07_43_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e30713a313a9de8b25ffc1af183742e.jpg","text":"TemporaryFile(/tmp/multipartBody6603462851817460361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255563300,"filename":"image_01012026_07_42_55_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bbbb7cbf1454d23034e8818db8d2e9f.jpg","text":"TemporaryFile(/tmp/multipartBody1809424829843562455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255563300,"filename":"image_01012026_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/2026/1/1/2142b0e452432da7d89353d281056cf9.jpg","text":"TemporaryFile(/tmp/multipartBody860319085393837609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255563300,"filename":"image_01012026_07_43_35_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddce3fe9eaad544b61f471ac324c7d86.jpg","text":"TemporaryFile(/tmp/multipartBody7674074386477716017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255563300,"filename":"image_01012026_07_43_05_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006378","file1":"1402006376","file0":"1402006374","file4":"1402006382","file5":"1402006385","file3":"1402006380"},"map_files_photo_id_array":[{"photo_id":"1402006385","filename":"file5"},{"photo_id":"1402006378","filename":"file2"},{"photo_id":"1402006382","filename":"file4"},{"photo_id":"1402006376","filename":"file1"},{"photo_id":"1402006374","filename":"file0"},{"photo_id":"1402006380","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006378":["hashtag1","hashtag2"]},{"1402006380":["hashtag1","hashtag2"]},{"1402006374":["hashtag1","hashtag2"]},{"1402006385":["hashtag1","hashtag2"]},{"1402006382":["hashtag1","hashtag2"]},{"1402006376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006378, 1402006380, 1402006374, 1402006385, 1402006382, 1402006376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78777074813843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:19:02.733512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/43/image_01012026_07_44_05_10635.jpg', '/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_14_9644.jpg', '/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_25_10675.jpg', '/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_35_9620.jpg', '/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_44_9720.jpg', '/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_54_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/43/image_01012026_07_44_05_10635.jpg
/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_14_9644.jpg
/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_25_10675.jpg
/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_35_9620.jpg
/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_44_9720.jpg
/home/pi/Desktop/images/01012026/07/44/image_01012026_07_44_54_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006390","1402006393","1402006387","1402006392","1402006389","1402006394"],"photo_ids_order":["1402006387","1402006389","1402006390","1402006392","1402006393","1402006394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/057e8677cc66f21c7f169d2118fcd9ed.jpg","text":"TemporaryFile(/tmp/multipartBody895276033100388425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255603500,"filename":"image_01012026_07_44_25_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31de72f9f173ef57d5465cad0c44a496.jpg","text":"TemporaryFile(/tmp/multipartBody6291845221888531746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255603500,"filename":"image_01012026_07_44_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16b80ade3e2aef3897ea5e1ba359c07a.jpg","text":"TemporaryFile(/tmp/multipartBody2144756763592299449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255603500,"filename":"image_01012026_07_44_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/410d353acfb25351fcb57a526abf78c2.jpg","text":"TemporaryFile(/tmp/multipartBody1982783859181503047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255603500,"filename":"image_01012026_07_44_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68a9b3b7e81fd5926f3afbf78c4682b6.jpg","text":"TemporaryFile(/tmp/multipartBody570219907874523862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255603500,"filename":"image_01012026_07_44_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20d6e4d853902d0961b2cd40dea5cbea.jpg","text":"TemporaryFile(/tmp/multipartBody8920263923262573387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255603500,"filename":"image_01012026_07_44_54_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006390","file1":"1402006389","file0":"1402006387","file4":"1402006393","file5":"1402006394","file3":"1402006392"},"map_files_photo_id_array":[{"photo_id":"1402006394","filename":"file5"},{"photo_id":"1402006390","filename":"file2"},{"photo_id":"1402006393","filename":"file4"},{"photo_id":"1402006389","filename":"file1"},{"photo_id":"1402006387","filename":"file0"},{"photo_id":"1402006392","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006390":["hashtag1","hashtag2"]},{"1402006393":["hashtag1","hashtag2"]},{"1402006387":["hashtag1","hashtag2"]},{"1402006392":["hashtag1","hashtag2"]},{"1402006389":["hashtag1","hashtag2"]},{"1402006394":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006390, 1402006393, 1402006387, 1402006392, 1402006389, 1402006394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40397906303406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:19:41.877860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_10_1713.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_11_1519.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_13_1892.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_15_1861.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_17_1670.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_18_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_10_1713.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_11_1519.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_13_1892.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_15_1861.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_17_1670.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_18_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":["1402006403","1402006409","1402006400","1402006405","1402006410","1402006407"],"photo_ids_order":["1402006400","1402006403","1402006405","1402006407","1402006409","1402006410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/745958ffffc71ce579add50fe89094ca.jpg","text":"TemporaryFile(/tmp/multipartBody5109557679553544283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255643866,"filename":"image_04112025_15_42_11_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e782da99b944a0a6f421b6e8c12285bf.jpg","text":"TemporaryFile(/tmp/multipartBody2340116226569417834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255643866,"filename":"image_04112025_15_42_17_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc1b0168d5d2089e517ca0170bf60c43.jpg","text":"TemporaryFile(/tmp/multipartBody2055742145972059111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255643866,"filename":"image_04112025_15_42_10_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e65927494d22eedacc3b24cccbcc1ad5.jpg","text":"TemporaryFile(/tmp/multipartBody8357630842900868234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255643866,"filename":"image_04112025_15_42_13_1892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce37fd3d1938bad8194d89196a564ce4.jpg","text":"TemporaryFile(/tmp/multipartBody9209537244089631832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255643866,"filename":"image_04112025_15_42_18_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c705421a57d26914d3b1cb14b462840f.jpg","text":"TemporaryFile(/tmp/multipartBody2592661647578368480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255643866,"filename":"image_04112025_15_42_15_1861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006405","file1":"1402006403","file0":"1402006400","file4":"1402006409","file5":"1402006410","file3":"1402006407"},"map_files_photo_id_array":[{"photo_id":"1402006410","filename":"file5"},{"photo_id":"1402006405","filename":"file2"},{"photo_id":"1402006409","filename":"file4"},{"photo_id":"1402006403","filename":"file1"},{"photo_id":"1402006400","filename":"file0"},{"photo_id":"1402006407","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006403":["hashtag1","hashtag2"]},{"1402006409":["hashtag1","hashtag2"]},{"1402006400":["hashtag1","hashtag2"]},{"1402006405":["hashtag1","hashtag2"]},{"1402006410":["hashtag1","hashtag2"]},{"1402006407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006403, 1402006409, 1402006400, 1402006405, 1402006410, 1402006407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07449245452881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:20:22.038846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/44/image_01012026_07_45_05_10738.jpg', '/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_15_9600.jpg', '/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_24_9671.jpg', '/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_35_10692.jpg', '/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_45_9669.jpg', '/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/44/image_01012026_07_45_05_10738.jpg
/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_15_9600.jpg
/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_24_9671.jpg
/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_35_10692.jpg
/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_45_9669.jpg
/home/pi/Desktop/images/01012026/07/45/image_01012026_07_45_54_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":["1402006424","1402006415","1402006417","1402006419","1402006413","1402006421"],"photo_ids_order":["1402006413","1402006415","1402006417","1402006419","1402006421","1402006424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b86203e5857f8ef48f8ee67a73c1fa84.jpg","text":"TemporaryFile(/tmp/multipartBody8406010753531936030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255682636,"filename":"image_01012026_07_45_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16a7608de338c95b88eb3a16b30f53dc.jpg","text":"TemporaryFile(/tmp/multipartBody6470425995734076584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255682636,"filename":"image_01012026_07_45_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da5e56e9c83fbbdc956fc40e11c16ea9.jpg","text":"TemporaryFile(/tmp/multipartBody1526748017613425931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255682636,"filename":"image_01012026_07_45_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc7f6ef6e014b8cd0a0395a58d75358f.jpg","text":"TemporaryFile(/tmp/multipartBody5526859034238953660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255682636,"filename":"image_01012026_07_45_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a49b473df8c149019f6e9612261a9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6614218478790615838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255682636,"filename":"image_01012026_07_45_05_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23c45980986c2a00ae0306ffffc06dce.jpg","text":"TemporaryFile(/tmp/multipartBody7127476375780280080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255682636,"filename":"image_01012026_07_45_45_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006417","file1":"1402006415","file0":"1402006413","file4":"1402006421","file5":"1402006424","file3":"1402006419"},"map_files_photo_id_array":[{"photo_id":"1402006424","filename":"file5"},{"photo_id":"1402006417","filename":"file2"},{"photo_id":"1402006421","filename":"file4"},{"photo_id":"1402006415","filename":"file1"},{"photo_id":"1402006413","filename":"file0"},{"photo_id":"1402006419","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006424":["hashtag1","hashtag2"]},{"1402006415":["hashtag1","hashtag2"]},{"1402006417":["hashtag1","hashtag2"]},{"1402006419":["hashtag1","hashtag2"]},{"1402006413":["hashtag1","hashtag2"]},{"1402006421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006424, 1402006415, 1402006417, 1402006419, 1402006413, 1402006421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55051565170288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:21:03.007740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/45/image_01012026_07_46_05_10707.jpg', '/home/pi/Desktop/images/01012026/07/46/image_01012026_07_46_15_9695.jpg', '/home/pi/Desktop/images/01012026/07/46/image_01012026_07_46_24_9647.jpg', '/home/pi/Desktop/images/01012026/07/46/image_01012026_07_46_35_10572.jpg', '/home/pi/Desktop/images/01012026/07/46/image_01012026_07_46_45_9627.jpg', '/home/pi/Desktop/images/01012026/07/46/image_01012026_07_47_05_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/45/image_01012026_07_46_05_10707.jpg
/home/pi/Desktop/images/01012026/07/46/image_01012026_07_46_15_9695.jpg
/home/pi/Desktop/images/01012026/07/46/image_01012026_07_46_24_9647.jpg
/home/pi/Desktop/images/01012026/07/46/image_01012026_07_46_35_10572.jpg
/home/pi/Desktop/images/01012026/07/46/image_01012026_07_46_45_9627.jpg
/home/pi/Desktop/images/01012026/07/46/image_01012026_07_47_05_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":["1402006427","1402006426","1402006429","1402006431","1402006425","1402006428"],"photo_ids_order":["1402006425","1402006426","1402006427","1402006428","1402006429","1402006431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f954e531f148a16ea1964b1320705ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8766421351394256744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255723698,"filename":"image_01012026_07_46_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a867274b2ca826f590210b555cfec9ee.jpg","text":"TemporaryFile(/tmp/multipartBody1491079242270365557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255723698,"filename":"image_01012026_07_46_15_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0f0fdcbf677c564370a40d01a3ea92c.jpg","text":"TemporaryFile(/tmp/multipartBody2699481248520429875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255723698,"filename":"image_01012026_07_46_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5157a5781c8122ace102a180599867c.jpg","text":"TemporaryFile(/tmp/multipartBody1697983863781916002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255723698,"filename":"image_01012026_07_47_05_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1524d60cbfdea6226e7f961e2e16249a.jpg","text":"TemporaryFile(/tmp/multipartBody7256002316261301024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255723698,"filename":"image_01012026_07_46_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d919bb2d4c1c84046e1c23bd0b601783.jpg","text":"TemporaryFile(/tmp/multipartBody1493683922541843103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255723698,"filename":"image_01012026_07_46_35_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006427","file1":"1402006426","file0":"1402006425","file4":"1402006429","file5":"1402006431","file3":"1402006428"},"map_files_photo_id_array":[{"photo_id":"1402006431","filename":"file5"},{"photo_id":"1402006427","filename":"file2"},{"photo_id":"1402006429","filename":"file4"},{"photo_id":"1402006426","filename":"file1"},{"photo_id":"1402006425","filename":"file0"},{"photo_id":"1402006428","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006427":["hashtag1","hashtag2"]},{"1402006426":["hashtag1","hashtag2"]},{"1402006429":["hashtag1","hashtag2"]},{"1402006431":["hashtag1","hashtag2"]},{"1402006425":["hashtag1","hashtag2"]},{"1402006428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006427, 1402006426, 1402006429, 1402006431, 1402006425, 1402006428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.969671964645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:21:42.309123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_20_1716.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_22_2037.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_24_1626.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_25_1555.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_27_1671.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_29_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_20_1716.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_22_2037.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_24_1626.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_25_1555.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_27_1671.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_29_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006439","1402006441","1402006438","1402006437","1402006440","1402006442"],"photo_ids_order":["1402006437","1402006438","1402006439","1402006440","1402006441","1402006442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/358c881759d6b115978057d03d297a0d.jpg","text":"TemporaryFile(/tmp/multipartBody3430223716629137385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255764313,"filename":"image_04112025_15_42_24_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca57ff3ed70f8113f8b6262c99ea6ec8.jpg","text":"TemporaryFile(/tmp/multipartBody4129147865835794581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255764313,"filename":"image_04112025_15_42_27_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ab730a1cedbaa40cd1b3a5b5abe3403.jpg","text":"TemporaryFile(/tmp/multipartBody8707508348158560423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255764313,"filename":"image_04112025_15_42_22_2037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47ace86fc3e96c6e1f5581bb1a303b22.jpg","text":"TemporaryFile(/tmp/multipartBody2741039344773272871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255764313,"filename":"image_04112025_15_42_20_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa8e7e48611c93ba9a8db4fc4118dfe5.jpg","text":"TemporaryFile(/tmp/multipartBody4289090368475690477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255764313,"filename":"image_04112025_15_42_25_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b20d31c1fb45bffcf2f4b53a0ea04194.jpg","text":"TemporaryFile(/tmp/multipartBody6232725166526776667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255764313,"filename":"image_04112025_15_42_29_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006439","file1":"1402006438","file0":"1402006437","file4":"1402006441","file5":"1402006442","file3":"1402006440"},"map_files_photo_id_array":[{"photo_id":"1402006442","filename":"file5"},{"photo_id":"1402006439","filename":"file2"},{"photo_id":"1402006441","filename":"file4"},{"photo_id":"1402006438","filename":"file1"},{"photo_id":"1402006437","filename":"file0"},{"photo_id":"1402006440","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006439":["hashtag1","hashtag2"]},{"1402006441":["hashtag1","hashtag2"]},{"1402006438":["hashtag1","hashtag2"]},{"1402006437":["hashtag1","hashtag2"]},{"1402006440":["hashtag1","hashtag2"]},{"1402006442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006439, 1402006441, 1402006438, 1402006437, 1402006440, 1402006442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45634365081787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:22:22.474171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_14_9766.jpg', '/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_25_10687.jpg', '/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_35_9669.jpg', '/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_44_9636.jpg', '/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_55_10670.jpg', '/home/pi/Desktop/images/01012026/07/47/image_01012026_07_48_05_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_14_9766.jpg
/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_25_10687.jpg
/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_35_9669.jpg
/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_44_9636.jpg
/home/pi/Desktop/images/01012026/07/47/image_01012026_07_47_55_10670.jpg
/home/pi/Desktop/images/01012026/07/47/image_01012026_07_48_05_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006450","1402006444","1402006455","1402006452","1402006446","1402006448"],"photo_ids_order":["1402006444","1402006446","1402006448","1402006450","1402006452","1402006455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bc8f0075dedc9baa318bada05e449bc.jpg","text":"TemporaryFile(/tmp/multipartBody1673230114803864404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255803104,"filename":"image_01012026_07_47_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50b87a6e160f19434dca5d2aa73f1bc2.jpg","text":"TemporaryFile(/tmp/multipartBody7671940575276769698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255803104,"filename":"image_01012026_07_47_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa1d51fc0d6097b4c1262a05c994c985.jpg","text":"TemporaryFile(/tmp/multipartBody6368311324951479836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255803104,"filename":"image_01012026_07_48_05_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e6a925040dc28f9e9aaebfaa3236064.jpg","text":"TemporaryFile(/tmp/multipartBody1450126474613614490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255803104,"filename":"image_01012026_07_47_55_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13bdd207af45ed8750f67fd048afdaa2.jpg","text":"TemporaryFile(/tmp/multipartBody7514960953001839029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255803104,"filename":"image_01012026_07_47_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbfb97dce078b15d998aa6f026a359cf.jpg","text":"TemporaryFile(/tmp/multipartBody4004528211460361012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255803104,"filename":"image_01012026_07_47_35_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006448","file1":"1402006446","file0":"1402006444","file4":"1402006452","file5":"1402006455","file3":"1402006450"},"map_files_photo_id_array":[{"photo_id":"1402006455","filename":"file5"},{"photo_id":"1402006448","filename":"file2"},{"photo_id":"1402006452","filename":"file4"},{"photo_id":"1402006446","filename":"file1"},{"photo_id":"1402006444","filename":"file0"},{"photo_id":"1402006450","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006450":["hashtag1","hashtag2"]},{"1402006444":["hashtag1","hashtag2"]},{"1402006455":["hashtag1","hashtag2"]},{"1402006452":["hashtag1","hashtag2"]},{"1402006446":["hashtag1","hashtag2"]},{"1402006448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006450, 1402006444, 1402006455, 1402006452, 1402006446, 1402006448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.71150612831116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:23:03.257896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_15_9743.jpg', '/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_24_9742.jpg', '/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_35_10679.jpg', '/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_45_10013.jpg', '/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_55_9604.jpg', '/home/pi/Desktop/images/01012026/07/48/image_01012026_07_49_04_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_15_9743.jpg
/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_24_9742.jpg
/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_35_10679.jpg
/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_45_10013.jpg
/home/pi/Desktop/images/01012026/07/48/image_01012026_07_48_55_9604.jpg
/home/pi/Desktop/images/01012026/07/48/image_01012026_07_49_04_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":["1402006459","1402006461","1402006458","1402006460","1402006463","1402006457"],"photo_ids_order":["1402006457","1402006458","1402006459","1402006460","1402006461","1402006463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1279b15f8611fe63581111245c22613.jpg","text":"TemporaryFile(/tmp/multipartBody1598134578673786167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255843896,"filename":"image_01012026_07_48_35_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26c02ef79da801e682b08cadd547b42c.jpg","text":"TemporaryFile(/tmp/multipartBody1401371253803234200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255843896,"filename":"image_01012026_07_48_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/621cafdf6fd6a4b2b2539ebaa951389d.jpg","text":"TemporaryFile(/tmp/multipartBody4910229173770325016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255843896,"filename":"image_01012026_07_48_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bcb6a9ef399787c7b22307d7291fce3.jpg","text":"TemporaryFile(/tmp/multipartBody777919076644057500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255843896,"filename":"image_01012026_07_48_45_10013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48502533fd9e2266777eed97f9ee6c71.jpg","text":"TemporaryFile(/tmp/multipartBody3715802806233311404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255843896,"filename":"image_01012026_07_49_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57f79623e7e8d3e06ed2a231ae37d6a8.jpg","text":"TemporaryFile(/tmp/multipartBody3832105536169998356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255843896,"filename":"image_01012026_07_48_15_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006459","file1":"1402006458","file0":"1402006457","file4":"1402006461","file5":"1402006463","file3":"1402006460"},"map_files_photo_id_array":[{"photo_id":"1402006463","filename":"file5"},{"photo_id":"1402006459","filename":"file2"},{"photo_id":"1402006461","filename":"file4"},{"photo_id":"1402006458","filename":"file1"},{"photo_id":"1402006457","filename":"file0"},{"photo_id":"1402006460","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006459":["hashtag1","hashtag2"]},{"1402006461":["hashtag1","hashtag2"]},{"1402006458":["hashtag1","hashtag2"]},{"1402006460":["hashtag1","hashtag2"]},{"1402006463":["hashtag1","hashtag2"]},{"1402006457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006459, 1402006461, 1402006458, 1402006460, 1402006463, 1402006457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92288517951965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:23:42.619890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_30_1635.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_32_1695.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_34_1602.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_35_1784.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_37_1654.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_44_6932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_30_1635.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_32_1695.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_34_1602.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_35_1784.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_37_1654.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_44_6932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006471","1402006474","1402006473","1402006472","1402006475","1402006469"],"photo_ids_order":["1402006469","1402006471","1402006472","1402006473","1402006474","1402006475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27889b20da3d10dfbae8cd665c2f5fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8521628284890255559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255884568,"filename":"image_04112025_15_42_32_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aac9ed5b6ce8d076a5de6239bc918403.jpg","text":"TemporaryFile(/tmp/multipartBody9054293462187129098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255884568,"filename":"image_04112025_15_42_37_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/368df7d8fd46c8a66e01d5f436c0d8fd.jpg","text":"TemporaryFile(/tmp/multipartBody571871351398780091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255884568,"filename":"image_04112025_15_42_35_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c4520274182a864c04227f77de9e8a3.jpg","text":"TemporaryFile(/tmp/multipartBody6991540892916346499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255884568,"filename":"image_04112025_15_42_34_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81c31f40593e7f84b66819eba669608f.jpg","text":"TemporaryFile(/tmp/multipartBody5440781598051292746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255884568,"filename":"image_04112025_15_42_44_6932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71a55e52a1749a2a0a7ea29a3f23c1f1.jpg","text":"TemporaryFile(/tmp/multipartBody5508225923504889810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255884568,"filename":"image_04112025_15_42_30_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006472","file1":"1402006471","file0":"1402006469","file4":"1402006474","file5":"1402006475","file3":"1402006473"},"map_files_photo_id_array":[{"photo_id":"1402006475","filename":"file5"},{"photo_id":"1402006472","filename":"file2"},{"photo_id":"1402006474","filename":"file4"},{"photo_id":"1402006471","filename":"file1"},{"photo_id":"1402006469","filename":"file0"},{"photo_id":"1402006473","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006471":["hashtag1","hashtag2"]},{"1402006474":["hashtag1","hashtag2"]},{"1402006473":["hashtag1","hashtag2"]},{"1402006472":["hashtag1","hashtag2"]},{"1402006475":["hashtag1","hashtag2"]},{"1402006469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006471, 1402006474, 1402006473, 1402006472, 1402006475, 1402006469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.950690269470215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:24:22.901786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_15_10709.jpg', '/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_25_9611.jpg', '/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_34_9604.jpg', '/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_45_10753.jpg', '/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_55_9668.jpg', '/home/pi/Desktop/images/01012026/07/49/image_01012026_07_50_04_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_15_10709.jpg
/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_25_9611.jpg
/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_34_9604.jpg
/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_45_10753.jpg
/home/pi/Desktop/images/01012026/07/49/image_01012026_07_49_55_9668.jpg
/home/pi/Desktop/images/01012026/07/49/image_01012026_07_50_04_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006480","1402006486","1402006482","1402006490","1402006484","1402006478"],"photo_ids_order":["1402006478","1402006480","1402006482","1402006484","1402006486","1402006490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b81861cb4cb83e69a25aa88413de2639.jpg","text":"TemporaryFile(/tmp/multipartBody8913101593757634699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255923558,"filename":"image_01012026_07_49_25_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdb62bc689e5e26a66eb3f3d13f5e3ad.jpg","text":"TemporaryFile(/tmp/multipartBody1961162479903905682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255923558,"filename":"image_01012026_07_49_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14ad1006c22c8751ccf25eea06ed49ed.jpg","text":"TemporaryFile(/tmp/multipartBody7146312554727700597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255923558,"filename":"image_01012026_07_49_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1204b52aa828f56136b63563cf0da0f.jpg","text":"TemporaryFile(/tmp/multipartBody1783408173189611620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255923558,"filename":"image_01012026_07_50_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d438a8bf0e2203ff34200d89f1efbed2.jpg","text":"TemporaryFile(/tmp/multipartBody8706645682060240213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255923558,"filename":"image_01012026_07_49_45_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5aaed9881e03ccec7f7253b3caf0286a.jpg","text":"TemporaryFile(/tmp/multipartBody5486540959079368576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255923558,"filename":"image_01012026_07_49_15_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006482","file1":"1402006480","file0":"1402006478","file4":"1402006486","file5":"1402006490","file3":"1402006484"},"map_files_photo_id_array":[{"photo_id":"1402006490","filename":"file5"},{"photo_id":"1402006482","filename":"file2"},{"photo_id":"1402006486","filename":"file4"},{"photo_id":"1402006480","filename":"file1"},{"photo_id":"1402006478","filename":"file0"},{"photo_id":"1402006484","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006480":["hashtag1","hashtag2"]},{"1402006486":["hashtag1","hashtag2"]},{"1402006482":["hashtag1","hashtag2"]},{"1402006490":["hashtag1","hashtag2"]},{"1402006484":["hashtag1","hashtag2"]},{"1402006478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006480, 1402006486, 1402006482, 1402006490, 1402006484, 1402006478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01258444786072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:25:02.495625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_15_10642.jpg', '/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_25_9711.jpg', '/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_34_9601.jpg', '/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_45_10620.jpg', '/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_55_9761.jpg', '/home/pi/Desktop/images/01012026/07/50/image_01012026_07_51_04_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_15_10642.jpg
/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_25_9711.jpg
/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_34_9601.jpg
/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_45_10620.jpg
/home/pi/Desktop/images/01012026/07/50/image_01012026_07_50_55_9761.jpg
/home/pi/Desktop/images/01012026/07/50/image_01012026_07_51_04_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":["1402006495","1402006492","1402006491","1402006494","1402006497","1402006493"],"photo_ids_order":["1402006491","1402006492","1402006493","1402006494","1402006495","1402006497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86cce92285dbad30714d1d041101992d.jpg","text":"TemporaryFile(/tmp/multipartBody2544883949521568889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255963158,"filename":"image_01012026_07_50_55_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6e8e0ea5220f5b04adc4ba90b59c160.jpg","text":"TemporaryFile(/tmp/multipartBody4684840785727812905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255963158,"filename":"image_01012026_07_50_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/648d84d2b28e821d23448dc61a283d1b.jpg","text":"TemporaryFile(/tmp/multipartBody4524350815005845506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255963158,"filename":"image_01012026_07_50_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7d9a0a64d2452ff89a9e4446f0fdf2e.jpg","text":"TemporaryFile(/tmp/multipartBody7922881575341653691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255963158,"filename":"image_01012026_07_50_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40307bdd7bce16bfc7fdb7fccda9ce72.jpg","text":"TemporaryFile(/tmp/multipartBody187890732777121837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255963158,"filename":"image_01012026_07_51_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf135d591e0be76b3f35a827fe82e8a3.jpg","text":"TemporaryFile(/tmp/multipartBody3853516564865947601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767255963158,"filename":"image_01012026_07_50_34_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006493","file1":"1402006492","file0":"1402006491","file4":"1402006495","file5":"1402006497","file3":"1402006494"},"map_files_photo_id_array":[{"photo_id":"1402006497","filename":"file5"},{"photo_id":"1402006493","filename":"file2"},{"photo_id":"1402006495","filename":"file4"},{"photo_id":"1402006492","filename":"file1"},{"photo_id":"1402006491","filename":"file0"},{"photo_id":"1402006494","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006495":["hashtag1","hashtag2"]},{"1402006492":["hashtag1","hashtag2"]},{"1402006491":["hashtag1","hashtag2"]},{"1402006494":["hashtag1","hashtag2"]},{"1402006497":["hashtag1","hashtag2"]},{"1402006493":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006495, 1402006492, 1402006491, 1402006494, 1402006497, 1402006493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70051693916321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:25:41.894071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_46_1637.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_59_13260.jpg', '/home/pi/Desktop/images/04112025/15/42/image_04112025_15_43_00_1573.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_02_1755.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_04_1896.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_06_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_46_1637.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_42_59_13260.jpg
/home/pi/Desktop/images/04112025/15/42/image_04112025_15_43_00_1573.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_02_1755.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_04_1896.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_06_1663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006505","1402006508","1402006507","1402006506","1402006509","1402006503"],"photo_ids_order":["1402006503","1402006505","1402006506","1402006507","1402006508","1402006509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81c9d264661937774814352f106452c0.jpg","text":"TemporaryFile(/tmp/multipartBody5563304024902484267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256003855,"filename":"image_04112025_15_42_59_13260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebf3959b59bc9867c93f3170ac6c3b5b.jpg","text":"TemporaryFile(/tmp/multipartBody2272957987839381616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256003855,"filename":"image_04112025_15_43_04_1896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/515813d62019f33c456779efb1d3a7dc.jpg","text":"TemporaryFile(/tmp/multipartBody3368951731147876528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256003855,"filename":"image_04112025_15_43_02_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a64c33d86940e9c1f07b82c4ed11732b.jpg","text":"TemporaryFile(/tmp/multipartBody2652474079413584217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256003855,"filename":"image_04112025_15_43_00_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f2fab627844a43ffffdc58975c4ec33.jpg","text":"TemporaryFile(/tmp/multipartBody3557487117117766688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256003855,"filename":"image_04112025_15_43_06_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34672ae53166477fc5bfede0e279fc62.jpg","text":"TemporaryFile(/tmp/multipartBody1632157574526603667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256003855,"filename":"image_04112025_15_42_46_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006506","file1":"1402006505","file0":"1402006503","file4":"1402006508","file5":"1402006509","file3":"1402006507"},"map_files_photo_id_array":[{"photo_id":"1402006509","filename":"file5"},{"photo_id":"1402006506","filename":"file2"},{"photo_id":"1402006508","filename":"file4"},{"photo_id":"1402006505","filename":"file1"},{"photo_id":"1402006503","filename":"file0"},{"photo_id":"1402006507","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006505":["hashtag1","hashtag2"]},{"1402006508":["hashtag1","hashtag2"]},{"1402006507":["hashtag1","hashtag2"]},{"1402006506":["hashtag1","hashtag2"]},{"1402006509":["hashtag1","hashtag2"]},{"1402006503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006505, 1402006508, 1402006507, 1402006506, 1402006509, 1402006503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.363009214401245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:26:22.066439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/51/image_01012026_07_51_15_10697.jpg', '/home/pi/Desktop/images/01012026/07/51/image_01012026_07_51_25_9790.jpg', '/home/pi/Desktop/images/01012026/07/51/image_01012026_07_51_44_9690.jpg', '/home/pi/Desktop/images/01012026/07/51/image_01012026_07_51_55_10743.jpg', '/home/pi/Desktop/images/01012026/07/51/image_01012026_07_52_05_9580.jpg', '/home/pi/Desktop/images/01012026/07/52/image_01012026_07_52_14_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/51/image_01012026_07_51_15_10697.jpg
/home/pi/Desktop/images/01012026/07/51/image_01012026_07_51_25_9790.jpg
/home/pi/Desktop/images/01012026/07/51/image_01012026_07_51_44_9690.jpg
/home/pi/Desktop/images/01012026/07/51/image_01012026_07_51_55_10743.jpg
/home/pi/Desktop/images/01012026/07/51/image_01012026_07_52_05_9580.jpg
/home/pi/Desktop/images/01012026/07/52/image_01012026_07_52_14_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":["1402006517","1402006514","1402006513","1402006522","1402006519","1402006510"],"photo_ids_order":["1402006510","1402006513","1402006514","1402006517","1402006519","1402006522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e67436a805f0a221792c942346da935.jpg","text":"TemporaryFile(/tmp/multipartBody1998861634735603265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256042659,"filename":"image_01012026_07_51_55_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ed51b7a20fbe2b4340517cf59194236.jpg","text":"TemporaryFile(/tmp/multipartBody5999114858840737678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256042659,"filename":"image_01012026_07_51_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3158ca0346623874ffa2872d7feb95e4.jpg","text":"TemporaryFile(/tmp/multipartBody6903015654326906319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256042659,"filename":"image_01012026_07_51_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd8ee4ea02c1a5b2763e8842809c3386.jpg","text":"TemporaryFile(/tmp/multipartBody7083994595648943344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256042659,"filename":"image_01012026_07_52_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74d0d400c9f601d4c64cd544a822734c.jpg","text":"TemporaryFile(/tmp/multipartBody2666045258951928901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256042659,"filename":"image_01012026_07_52_05_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8811ec502dd3509824affb0405f3dd1.jpg","text":"TemporaryFile(/tmp/multipartBody8250424092808578955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256042659,"filename":"image_01012026_07_51_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006514","file1":"1402006513","file0":"1402006510","file4":"1402006519","file5":"1402006522","file3":"1402006517"},"map_files_photo_id_array":[{"photo_id":"1402006522","filename":"file5"},{"photo_id":"1402006514","filename":"file2"},{"photo_id":"1402006519","filename":"file4"},{"photo_id":"1402006513","filename":"file1"},{"photo_id":"1402006510","filename":"file0"},{"photo_id":"1402006517","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006517":["hashtag1","hashtag2"]},{"1402006514":["hashtag1","hashtag2"]},{"1402006513":["hashtag1","hashtag2"]},{"1402006522":["hashtag1","hashtag2"]},{"1402006519":["hashtag1","hashtag2"]},{"1402006510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006517, 1402006514, 1402006513, 1402006522, 1402006519, 1402006510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82577681541443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:27:02.851051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/52/image_01012026_07_52_25_10572.jpg', '/home/pi/Desktop/images/01012026/07/52/image_01012026_07_52_34_9736.jpg', '/home/pi/Desktop/images/01012026/07/52/image_01012026_07_52_44_9775.jpg', '/home/pi/Desktop/images/01012026/07/52/image_01012026_07_53_05_10660.jpg', '/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_15_9739.jpg', '/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/52/image_01012026_07_52_25_10572.jpg
/home/pi/Desktop/images/01012026/07/52/image_01012026_07_52_34_9736.jpg
/home/pi/Desktop/images/01012026/07/52/image_01012026_07_52_44_9775.jpg
/home/pi/Desktop/images/01012026/07/52/image_01012026_07_53_05_10660.jpg
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_15_9739.jpg
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_24_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006523","1402006526","1402006525","1402006530","1402006524","1402006527"],"photo_ids_order":["1402006523","1402006524","1402006525","1402006526","1402006527","1402006530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48d542da5ded6cd9a164dcecf32f7bec.jpg","text":"TemporaryFile(/tmp/multipartBody3762046062616075258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256083557,"filename":"image_01012026_07_52_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/860f72a250ee1c5407c36f676fcaf9d8.jpg","text":"TemporaryFile(/tmp/multipartBody878388539837777995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256083557,"filename":"image_01012026_07_53_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a52e20993bb58b8e638d1a763f1164d8.jpg","text":"TemporaryFile(/tmp/multipartBody6400306372411294160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256083557,"filename":"image_01012026_07_52_44_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07c97e39b8fc0794ed82257ae71e6482.jpg","text":"TemporaryFile(/tmp/multipartBody515538970457434059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256083557,"filename":"image_01012026_07_53_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1df87a627a1375f946bd543181ae3f1.jpg","text":"TemporaryFile(/tmp/multipartBody5505083089130323753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256083557,"filename":"image_01012026_07_52_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f9b7ba8c397d31cd5e0e4424706066f.jpg","text":"TemporaryFile(/tmp/multipartBody6531637434150090803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256083557,"filename":"image_01012026_07_53_15_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006525","file1":"1402006524","file0":"1402006523","file4":"1402006527","file5":"1402006530","file3":"1402006526"},"map_files_photo_id_array":[{"photo_id":"1402006530","filename":"file5"},{"photo_id":"1402006525","filename":"file2"},{"photo_id":"1402006527","filename":"file4"},{"photo_id":"1402006524","filename":"file1"},{"photo_id":"1402006523","filename":"file0"},{"photo_id":"1402006526","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006523":["hashtag1","hashtag2"]},{"1402006526":["hashtag1","hashtag2"]},{"1402006525":["hashtag1","hashtag2"]},{"1402006530":["hashtag1","hashtag2"]},{"1402006524":["hashtag1","hashtag2"]},{"1402006527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006523, 1402006526, 1402006525, 1402006530, 1402006524, 1402006527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.486093044281006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:27:42.340863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_07_1504.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_09_1721.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_11_1676.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_12_1684.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_14_1721.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_16_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_07_1504.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_09_1721.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_11_1676.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_12_1684.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_14_1721.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_16_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":["1402006538","1402006540","1402006537","1402006539","1402006541","1402006535"],"photo_ids_order":["1402006535","1402006537","1402006538","1402006539","1402006540","1402006541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37945dc7ce969b1362d0f4fd24691443.jpg","text":"TemporaryFile(/tmp/multipartBody848743776398221961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256124291,"filename":"image_04112025_15_43_11_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd31659811e1f76c9686dc888115f355.jpg","text":"TemporaryFile(/tmp/multipartBody3167425995561726917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256124291,"filename":"image_04112025_15_43_14_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/916ed2cc285cc94036fdbeebef3769fb.jpg","text":"TemporaryFile(/tmp/multipartBody8426000561857639351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256124291,"filename":"image_04112025_15_43_09_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cd75cbe9c548817eeabb0c8f429c80c.jpg","text":"TemporaryFile(/tmp/multipartBody5545719600291547070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256124291,"filename":"image_04112025_15_43_12_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89cbe559128dae157aab48bb2e1ce548.jpg","text":"TemporaryFile(/tmp/multipartBody6741158224301553931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256124291,"filename":"image_04112025_15_43_16_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f5204afa9739bd0d61c88b9d9492b7f.jpg","text":"TemporaryFile(/tmp/multipartBody8707716187556602863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256124291,"filename":"image_04112025_15_43_07_1504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006538","file1":"1402006537","file0":"1402006535","file4":"1402006540","file5":"1402006541","file3":"1402006539"},"map_files_photo_id_array":[{"photo_id":"1402006541","filename":"file5"},{"photo_id":"1402006538","filename":"file2"},{"photo_id":"1402006540","filename":"file4"},{"photo_id":"1402006537","filename":"file1"},{"photo_id":"1402006535","filename":"file0"},{"photo_id":"1402006539","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006538":["hashtag1","hashtag2"]},{"1402006540":["hashtag1","hashtag2"]},{"1402006537":["hashtag1","hashtag2"]},{"1402006539":["hashtag1","hashtag2"]},{"1402006541":["hashtag1","hashtag2"]},{"1402006535":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006538, 1402006540, 1402006537, 1402006539, 1402006541, 1402006535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.760923862457275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:28:22.523233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_34_9709.jpg', '/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_45_10893.jpg', '/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_55_9781.jpg', '/home/pi/Desktop/images/01012026/07/53/image_01012026_07_54_04_9531.jpg', '/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_15_10640.jpg', '/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_34_9709.jpg
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_45_10893.jpg
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_55_9781.jpg
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_54_04_9531.jpg
/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_15_10640.jpg
/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_25_9707.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.5178980827331543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:28:32.585592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_17_1607.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_19_1749.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_21_1553.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_22_1533.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_25_2726.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_29_3696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_17_1607.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_19_1749.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_21_1553.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_22_1533.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_25_2726.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_29_3696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006558","1402006552","1402006555","1402006549","1402006557","1402006559"],"photo_ids_order":["1402006549","1402006552","1402006555","1402006557","1402006558","1402006559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15cf9b6db520c9e386ed0a4b4a0dda22.jpg","text":"TemporaryFile(/tmp/multipartBody6880359834254182128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256174515,"filename":"image_04112025_15_43_25_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d57c5299848831accbf797959c247a33.jpg","text":"TemporaryFile(/tmp/multipartBody131809317377029671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256174515,"filename":"image_04112025_15_43_19_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40929135f7b1797d7004bbe60acc96a4.jpg","text":"TemporaryFile(/tmp/multipartBody1775726303108285847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256174515,"filename":"image_04112025_15_43_21_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ab872a05bb6155599b9d7c85392e30d.jpg","text":"TemporaryFile(/tmp/multipartBody7106248336509960845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256174515,"filename":"image_04112025_15_43_17_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62744eceac65f790a32ff1e034dbc403.jpg","text":"TemporaryFile(/tmp/multipartBody7407691991213525439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256174515,"filename":"image_04112025_15_43_22_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0560cad9d33e34386a3860cfcc0ccacb.jpg","text":"TemporaryFile(/tmp/multipartBody2662165459194408103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256174515,"filename":"image_04112025_15_43_29_3696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006555","file1":"1402006552","file0":"1402006549","file4":"1402006558","file5":"1402006559","file3":"1402006557"},"map_files_photo_id_array":[{"photo_id":"1402006559","filename":"file5"},{"photo_id":"1402006555","filename":"file2"},{"photo_id":"1402006558","filename":"file4"},{"photo_id":"1402006552","filename":"file1"},{"photo_id":"1402006549","filename":"file0"},{"photo_id":"1402006557","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006558":["hashtag1","hashtag2"]},{"1402006552":["hashtag1","hashtag2"]},{"1402006555":["hashtag1","hashtag2"]},{"1402006549":["hashtag1","hashtag2"]},{"1402006557":["hashtag1","hashtag2"]},{"1402006559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006558, 1402006552, 1402006555, 1402006549, 1402006557, 1402006559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46151256561279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:29:12.651413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_32_3017.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_34_2601.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_37_2791.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_40_2824.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_43_3670.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_46_2803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_32_3017.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_34_2601.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_37_2791.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_40_2824.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_43_3670.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_46_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":["1402006561","1402006570","1402006563","1402006566","1402006568","1402006562"],"photo_ids_order":["1402006561","1402006562","1402006563","1402006566","1402006568","1402006570"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/354562083497fb9257c65786474c6e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1396092951692326624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256214491,"filename":"image_04112025_15_43_32_3017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57f465d32d08be7eee3fcec9f4c18af3.jpg","text":"TemporaryFile(/tmp/multipartBody204306474544703486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256214491,"filename":"image_04112025_15_43_46_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe60717b401d313895be0df0c5fb2735.jpg","text":"TemporaryFile(/tmp/multipartBody5154470155502813714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256214491,"filename":"image_04112025_15_43_37_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed9dc54174eac26aa7bc4798f520a81d.jpg","text":"TemporaryFile(/tmp/multipartBody1228228168528538383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256214491,"filename":"image_04112025_15_43_40_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eadda40abb55e5377c0a5a2b95be686c.jpg","text":"TemporaryFile(/tmp/multipartBody4217272700865744468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256214491,"filename":"image_04112025_15_43_43_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00f01bf75803b0c7e89a6a0bde01a9f9.jpg","text":"TemporaryFile(/tmp/multipartBody2416147174710738496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256214491,"filename":"image_04112025_15_43_34_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006563","file1":"1402006562","file0":"1402006561","file4":"1402006568","file5":"1402006570","file3":"1402006566"},"map_files_photo_id_array":[{"photo_id":"1402006570","filename":"file5"},{"photo_id":"1402006563","filename":"file2"},{"photo_id":"1402006568","filename":"file4"},{"photo_id":"1402006562","filename":"file1"},{"photo_id":"1402006561","filename":"file0"},{"photo_id":"1402006566","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006561":["hashtag1","hashtag2"]},{"1402006570":["hashtag1","hashtag2"]},{"1402006563":["hashtag1","hashtag2"]},{"1402006566":["hashtag1","hashtag2"]},{"1402006568":["hashtag1","hashtag2"]},{"1402006562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006561, 1402006570, 1402006563, 1402006566, 1402006568, 1402006562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.255521297454834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:30:02.319322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_34_9709.jpg', '/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_45_10893.jpg', '/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_55_9781.jpg', '/home/pi/Desktop/images/01012026/07/53/image_01012026_07_54_04_9531.jpg', '/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_15_10640.jpg', '/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_34_9709.jpg
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_45_10893.jpg
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_53_55_9781.jpg
/home/pi/Desktop/images/01012026/07/53/image_01012026_07_54_04_9531.jpg
/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_15_10640.jpg
/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_25_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006582","1402006576","1402006579","1402006578","1402006577","1402006580"],"photo_ids_order":["1402006576","1402006577","1402006578","1402006579","1402006580","1402006582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bffaaa0bbc184404c8e3384c0cf3d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4335569306677168885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256262990,"filename":"image_01012026_07_54_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da5e878056c58bf6b8ceff7d5ecdd1e1.jpg","text":"TemporaryFile(/tmp/multipartBody6133177123293408280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256262990,"filename":"image_01012026_07_53_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3201e5f7c18b46fa1ff5f670dccd7f17.jpg","text":"TemporaryFile(/tmp/multipartBody3112782734253591339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256262990,"filename":"image_01012026_07_54_04_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da1342f3770c053c63894f52d4e89520.jpg","text":"TemporaryFile(/tmp/multipartBody4763413091387195299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256262990,"filename":"image_01012026_07_53_55_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bc09d94b2752716ab2489f0394efad3.jpg","text":"TemporaryFile(/tmp/multipartBody6428336012981576305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256262990,"filename":"image_01012026_07_53_45_10893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da36b2a3c685b396cf4b19ada3ae05be.jpg","text":"TemporaryFile(/tmp/multipartBody6030779408663713379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256262990,"filename":"image_01012026_07_54_15_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006578","file1":"1402006577","file0":"1402006576","file4":"1402006580","file5":"1402006582","file3":"1402006579"},"map_files_photo_id_array":[{"photo_id":"1402006582","filename":"file5"},{"photo_id":"1402006578","filename":"file2"},{"photo_id":"1402006580","filename":"file4"},{"photo_id":"1402006577","filename":"file1"},{"photo_id":"1402006576","filename":"file0"},{"photo_id":"1402006579","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006582":["hashtag1","hashtag2"]},{"1402006576":["hashtag1","hashtag2"]},{"1402006579":["hashtag1","hashtag2"]},{"1402006578":["hashtag1","hashtag2"]},{"1402006577":["hashtag1","hashtag2"]},{"1402006580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006582, 1402006576, 1402006579, 1402006578, 1402006577, 1402006580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.900187969207764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:30:42.021640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_49_2666.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_52_3304.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_55_2618.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_58_2769.jpg', '/home/pi/Desktop/images/04112025/15/43/image_04112025_15_44_01_3718.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_04_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_49_2666.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_52_3304.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_55_2618.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_43_58_2769.jpg
/home/pi/Desktop/images/04112025/15/43/image_04112025_15_44_01_3718.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_04_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":["1402006594","1402006588","1402006591","1402006593","1402006595","1402006592"],"photo_ids_order":["1402006588","1402006591","1402006592","1402006593","1402006594","1402006595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25ef205ab22d5053f9e81b5f73d478aa.jpg","text":"TemporaryFile(/tmp/multipartBody4694948129055877244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256303964,"filename":"image_04112025_15_44_01_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/feec575b6e439877a0a7b7cf257ed2f6.jpg","text":"TemporaryFile(/tmp/multipartBody3306656688406214444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256303964,"filename":"image_04112025_15_43_49_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf9cc1ff7d0b016cd6432c7f689cf214.jpg","text":"TemporaryFile(/tmp/multipartBody3588983193777379198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256303964,"filename":"image_04112025_15_43_52_3304.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09daf51fe58d591cd68cce398523a8a0.jpg","text":"TemporaryFile(/tmp/multipartBody1096182615743918416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256303964,"filename":"image_04112025_15_43_58_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/454670bdb2c345492c672bdd713aaa79.jpg","text":"TemporaryFile(/tmp/multipartBody9082033873015491141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256303964,"filename":"image_04112025_15_44_04_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8546de5b5a916903ae6b68ae623e4270.jpg","text":"TemporaryFile(/tmp/multipartBody3769218311652634468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256303964,"filename":"image_04112025_15_43_55_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006592","file1":"1402006591","file0":"1402006588","file4":"1402006594","file5":"1402006595","file3":"1402006593"},"map_files_photo_id_array":[{"photo_id":"1402006595","filename":"file5"},{"photo_id":"1402006592","filename":"file2"},{"photo_id":"1402006594","filename":"file4"},{"photo_id":"1402006591","filename":"file1"},{"photo_id":"1402006588","filename":"file0"},{"photo_id":"1402006593","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006594":["hashtag1","hashtag2"]},{"1402006588":["hashtag1","hashtag2"]},{"1402006591":["hashtag1","hashtag2"]},{"1402006593":["hashtag1","hashtag2"]},{"1402006595":["hashtag1","hashtag2"]},{"1402006592":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006594, 1402006588, 1402006591, 1402006593, 1402006595, 1402006592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.870506048202515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:31:22.206166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_34_9614.jpg', '/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_45_10597.jpg', '/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_55_9689.jpg', '/home/pi/Desktop/images/01012026/07/54/image_01012026_07_55_04_9604.jpg', '/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_15_10680.jpg', '/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_25_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_34_9614.jpg
/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_45_10597.jpg
/home/pi/Desktop/images/01012026/07/54/image_01012026_07_54_55_9689.jpg
/home/pi/Desktop/images/01012026/07/54/image_01012026_07_55_04_9604.jpg
/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_15_10680.jpg
/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_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":["1402006601","1402006604","1402006607","1402006597","1402006599","1402006602"],"photo_ids_order":["1402006597","1402006599","1402006601","1402006602","1402006604","1402006607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68bf69d07f842dd486cba1aa7ec836a2.jpg","text":"TemporaryFile(/tmp/multipartBody7604682317809917425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256342812,"filename":"image_01012026_07_54_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1afaa43473b4379083282c2398cee5f9.jpg","text":"TemporaryFile(/tmp/multipartBody2207247697168533127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256342812,"filename":"image_01012026_07_55_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b966462b7d8c655cc455cd6cd976d667.jpg","text":"TemporaryFile(/tmp/multipartBody5291610784108318848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256342812,"filename":"image_01012026_07_55_25_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78e11ef93b67e57fe6e37595c4eaf9a7.jpg","text":"TemporaryFile(/tmp/multipartBody4593925839534628301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256342812,"filename":"image_01012026_07_54_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a5845593434cf4ce7e5846c45e80056.jpg","text":"TemporaryFile(/tmp/multipartBody6018069008707075128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256342812,"filename":"image_01012026_07_54_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c550a922f320747957f0cecd1432acc3.jpg","text":"TemporaryFile(/tmp/multipartBody197848357812839047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256342812,"filename":"image_01012026_07_55_04_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006601","file1":"1402006599","file0":"1402006597","file4":"1402006604","file5":"1402006607","file3":"1402006602"},"map_files_photo_id_array":[{"photo_id":"1402006607","filename":"file5"},{"photo_id":"1402006601","filename":"file2"},{"photo_id":"1402006604","filename":"file4"},{"photo_id":"1402006599","filename":"file1"},{"photo_id":"1402006597","filename":"file0"},{"photo_id":"1402006602","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006601":["hashtag1","hashtag2"]},{"1402006604":["hashtag1","hashtag2"]},{"1402006607":["hashtag1","hashtag2"]},{"1402006597":["hashtag1","hashtag2"]},{"1402006599":["hashtag1","hashtag2"]},{"1402006602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006601, 1402006604, 1402006607, 1402006597, 1402006599, 1402006602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07754874229431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:32:02.888182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_34_9650.jpg', '/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_45_10854.jpg', '/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_55_9575.jpg', '/home/pi/Desktop/images/01012026/07/55/image_01012026_07_56_04_9671.jpg', '/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_14_9866.jpg', '/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_25_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_34_9650.jpg
/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_45_10854.jpg
/home/pi/Desktop/images/01012026/07/55/image_01012026_07_55_55_9575.jpg
/home/pi/Desktop/images/01012026/07/55/image_01012026_07_56_04_9671.jpg
/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_14_9866.jpg
/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_25_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":["1402006610","1402006612","1402006615","1402006609","1402006611","1402006613"],"photo_ids_order":["1402006609","1402006610","1402006611","1402006612","1402006613","1402006615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7560a8558d3015ecda6cdf0123a8b421.jpg","text":"TemporaryFile(/tmp/multipartBody4156407327111141840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256383571,"filename":"image_01012026_07_55_45_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbc28f6e4bc7467f3946ae5b8d601dd5.jpg","text":"TemporaryFile(/tmp/multipartBody8689322023356363468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256383571,"filename":"image_01012026_07_56_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1f18df63122ee0668bdd1d6d8800cad.jpg","text":"TemporaryFile(/tmp/multipartBody4905921235652965697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256383571,"filename":"image_01012026_07_56_25_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2db2c833fe13b4f72c31cee59608597.jpg","text":"TemporaryFile(/tmp/multipartBody2144625041978680023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256383571,"filename":"image_01012026_07_55_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afd317b4d4d5f072f9892d75e12168f1.jpg","text":"TemporaryFile(/tmp/multipartBody3049753200925080313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256383571,"filename":"image_01012026_07_55_55_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/863b676acac11ec118c891ef9d1bb30f.jpg","text":"TemporaryFile(/tmp/multipartBody8973513943753740404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256383571,"filename":"image_01012026_07_56_14_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006611","file1":"1402006610","file0":"1402006609","file4":"1402006613","file5":"1402006615","file3":"1402006612"},"map_files_photo_id_array":[{"photo_id":"1402006615","filename":"file5"},{"photo_id":"1402006611","filename":"file2"},{"photo_id":"1402006613","filename":"file4"},{"photo_id":"1402006610","filename":"file1"},{"photo_id":"1402006609","filename":"file0"},{"photo_id":"1402006612","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006610":["hashtag1","hashtag2"]},{"1402006612":["hashtag1","hashtag2"]},{"1402006615":["hashtag1","hashtag2"]},{"1402006609":["hashtag1","hashtag2"]},{"1402006611":["hashtag1","hashtag2"]},{"1402006613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006610, 1402006612, 1402006615, 1402006609, 1402006611, 1402006613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95873498916626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:32:42.444603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_07_2774.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_11_3664.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_13_2583.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_16_2753.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_20_3634.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_22_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_07_2774.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_11_3664.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_13_2583.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_16_2753.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_20_3634.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_22_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006625","1402006627","1402006621","1402006626","1402006629","1402006628"],"photo_ids_order":["1402006621","1402006625","1402006626","1402006627","1402006628","1402006629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa3cde3b82aa4f7e77aae82d096bbe99.jpg","text":"TemporaryFile(/tmp/multipartBody6226076397939011299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256424393,"filename":"image_04112025_15_44_11_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ce960e2af1105576d17971dac9a171d.jpg","text":"TemporaryFile(/tmp/multipartBody2946808803590858418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256424393,"filename":"image_04112025_15_44_16_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee708fac2bd28784a5a0fbabba13099a.jpg","text":"TemporaryFile(/tmp/multipartBody4087159346838345894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256424393,"filename":"image_04112025_15_44_07_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b246b47cce4fb37d07472058fa2b8714.jpg","text":"TemporaryFile(/tmp/multipartBody7427808199899664406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256424393,"filename":"image_04112025_15_44_13_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/694bce553e8a06db2b20ebcab4246b2f.jpg","text":"TemporaryFile(/tmp/multipartBody4182595659165851618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256424393,"filename":"image_04112025_15_44_22_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1512390394a22c6973179926af41fce.jpg","text":"TemporaryFile(/tmp/multipartBody7092604711589985884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256424393,"filename":"image_04112025_15_44_20_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006626","file1":"1402006625","file0":"1402006621","file4":"1402006628","file5":"1402006629","file3":"1402006627"},"map_files_photo_id_array":[{"photo_id":"1402006629","filename":"file5"},{"photo_id":"1402006626","filename":"file2"},{"photo_id":"1402006628","filename":"file4"},{"photo_id":"1402006625","filename":"file1"},{"photo_id":"1402006621","filename":"file0"},{"photo_id":"1402006627","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006625":["hashtag1","hashtag2"]},{"1402006627":["hashtag1","hashtag2"]},{"1402006621":["hashtag1","hashtag2"]},{"1402006626":["hashtag1","hashtag2"]},{"1402006629":["hashtag1","hashtag2"]},{"1402006628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006625, 1402006627, 1402006621, 1402006626, 1402006629, 1402006628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47977113723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:33:22.567420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_35_9754.jpg', '/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_44_9788.jpg', '/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_55_10682.jpg', '/home/pi/Desktop/images/01012026/07/56/image_01012026_07_57_05_9700.jpg', '/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_14_9723.jpg', '/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_25_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_35_9754.jpg
/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_44_9788.jpg
/home/pi/Desktop/images/01012026/07/56/image_01012026_07_56_55_10682.jpg
/home/pi/Desktop/images/01012026/07/56/image_01012026_07_57_05_9700.jpg
/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_14_9723.jpg
/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_25_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006637","1402006642","1402006639","1402006633","1402006635","1402006631"],"photo_ids_order":["1402006631","1402006633","1402006635","1402006637","1402006639","1402006642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0ca79b434024b04097a705c31e74fa3.jpg","text":"TemporaryFile(/tmp/multipartBody6572224913351774783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256463162,"filename":"image_01012026_07_57_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c5e4ef07df4933632b097a90ed0e77d.jpg","text":"TemporaryFile(/tmp/multipartBody742294152234412029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256463162,"filename":"image_01012026_07_57_25_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9efc6b21df313fd437b61584288b6c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2552200095489205880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256463162,"filename":"image_01012026_07_57_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f7f42dfeac7e247dbcb550e76be7224.jpg","text":"TemporaryFile(/tmp/multipartBody2627464097364632182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256463162,"filename":"image_01012026_07_56_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba8cbd7181a701bdccb19f4b1fe9f2bc.jpg","text":"TemporaryFile(/tmp/multipartBody8973358293590151299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256463162,"filename":"image_01012026_07_56_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4542d3299ea0ea748652bd6e30998632.jpg","text":"TemporaryFile(/tmp/multipartBody4081776401393873536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256463162,"filename":"image_01012026_07_56_35_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006635","file1":"1402006633","file0":"1402006631","file4":"1402006639","file5":"1402006642","file3":"1402006637"},"map_files_photo_id_array":[{"photo_id":"1402006642","filename":"file5"},{"photo_id":"1402006635","filename":"file2"},{"photo_id":"1402006639","filename":"file4"},{"photo_id":"1402006633","filename":"file1"},{"photo_id":"1402006631","filename":"file0"},{"photo_id":"1402006637","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006637":["hashtag1","hashtag2"]},{"1402006642":["hashtag1","hashtag2"]},{"1402006639":["hashtag1","hashtag2"]},{"1402006633":["hashtag1","hashtag2"]},{"1402006635":["hashtag1","hashtag2"]},{"1402006631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006637, 1402006642, 1402006639, 1402006633, 1402006635, 1402006631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45010280609131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:34:02.679605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_35_9750.jpg', '/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_45_9829.jpg', '/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_54_9655.jpg', '/home/pi/Desktop/images/01012026/07/57/image_01012026_07_58_05_10626.jpg', '/home/pi/Desktop/images/01012026/07/58/image_01012026_07_58_14_9565.jpg', '/home/pi/Desktop/images/01012026/07/58/image_01012026_07_58_24_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_35_9750.jpg
/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_45_9829.jpg
/home/pi/Desktop/images/01012026/07/57/image_01012026_07_57_54_9655.jpg
/home/pi/Desktop/images/01012026/07/57/image_01012026_07_58_05_10626.jpg
/home/pi/Desktop/images/01012026/07/58/image_01012026_07_58_14_9565.jpg
/home/pi/Desktop/images/01012026/07/58/image_01012026_07_58_24_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":["1402006643","1402006645","1402006644","1402006647","1402006646","1402006649"],"photo_ids_order":["1402006643","1402006644","1402006645","1402006646","1402006647","1402006649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75ca83e657a3999d3b21cfedc685dfef.jpg","text":"TemporaryFile(/tmp/multipartBody6929280837543413280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256503403,"filename":"image_01012026_07_57_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46404930aaca747a55331de74785855b.jpg","text":"TemporaryFile(/tmp/multipartBody344544912864627666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256503403,"filename":"image_01012026_07_57_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63db5c4408d2f3ced96b2d52d6a50011.jpg","text":"TemporaryFile(/tmp/multipartBody1077925733579571937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256503403,"filename":"image_01012026_07_57_45_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/560df27015f0bfb3d5e1fff5b7b32cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6432043409341513178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256503403,"filename":"image_01012026_07_58_14_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fabf37e6c59d9834eda6e744896256fd.jpg","text":"TemporaryFile(/tmp/multipartBody3302053538616293048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256503403,"filename":"image_01012026_07_58_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c31aa35027b102339898b015ea428a55.jpg","text":"TemporaryFile(/tmp/multipartBody2030925359820724195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256503403,"filename":"image_01012026_07_58_24_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006645","file1":"1402006644","file0":"1402006643","file4":"1402006647","file5":"1402006649","file3":"1402006646"},"map_files_photo_id_array":[{"photo_id":"1402006649","filename":"file5"},{"photo_id":"1402006645","filename":"file2"},{"photo_id":"1402006647","filename":"file4"},{"photo_id":"1402006644","filename":"file1"},{"photo_id":"1402006643","filename":"file0"},{"photo_id":"1402006646","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006643":["hashtag1","hashtag2"]},{"1402006645":["hashtag1","hashtag2"]},{"1402006644":["hashtag1","hashtag2"]},{"1402006647":["hashtag1","hashtag2"]},{"1402006646":["hashtag1","hashtag2"]},{"1402006649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006643, 1402006645, 1402006644, 1402006647, 1402006646, 1402006649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82791543006897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:34:41.908088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_25_2731.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_28_2681.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_31_3741.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_34_2852.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_37_2800.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_40_2549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_25_2731.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_28_2681.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_31_3741.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_34_2852.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_37_2800.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_40_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":["1402006660","1402006663","1402006657","1402006659","1402006658","1402006655"],"photo_ids_order":["1402006655","1402006657","1402006658","1402006659","1402006660","1402006663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfda58b4bbcc1f2ec321b9d683ce0e32.jpg","text":"TemporaryFile(/tmp/multipartBody5313236683730089279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256543860,"filename":"image_04112025_15_44_37_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83f84a4a6155cb56e238aeea850695dc.jpg","text":"TemporaryFile(/tmp/multipartBody5513609074653857193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256543860,"filename":"image_04112025_15_44_40_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f63d52ca73b2c602c361cf20d38ec769.jpg","text":"TemporaryFile(/tmp/multipartBody7730655886943593719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256543860,"filename":"image_04112025_15_44_28_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a207a6945c3e877f3efe49281f46cea.jpg","text":"TemporaryFile(/tmp/multipartBody6484602576139886344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256543860,"filename":"image_04112025_15_44_34_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07372db3a76e08c85f2154796342ffd0.jpg","text":"TemporaryFile(/tmp/multipartBody6698756238513515928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256543860,"filename":"image_04112025_15_44_31_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b26403ec79120c6f77a1b77cf9e39fcc.jpg","text":"TemporaryFile(/tmp/multipartBody7901545952204819758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256543860,"filename":"image_04112025_15_44_25_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006658","file1":"1402006657","file0":"1402006655","file4":"1402006660","file5":"1402006663","file3":"1402006659"},"map_files_photo_id_array":[{"photo_id":"1402006663","filename":"file5"},{"photo_id":"1402006658","filename":"file2"},{"photo_id":"1402006660","filename":"file4"},{"photo_id":"1402006657","filename":"file1"},{"photo_id":"1402006655","filename":"file0"},{"photo_id":"1402006659","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006660":["hashtag1","hashtag2"]},{"1402006663":["hashtag1","hashtag2"]},{"1402006657":["hashtag1","hashtag2"]},{"1402006659":["hashtag1","hashtag2"]},{"1402006658":["hashtag1","hashtag2"]},{"1402006655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006660, 1402006663, 1402006657, 1402006659, 1402006658, 1402006655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.148733139038086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:35:22.052117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/58/image_01012026_07_58_35_10727.jpg', '/home/pi/Desktop/images/01012026/07/58/image_01012026_07_58_45_9735.jpg', '/home/pi/Desktop/images/01012026/07/58/image_01012026_07_59_05_10713.jpg', '/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_15_9623.jpg', '/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_24_9709.jpg', '/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_35_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/58/image_01012026_07_58_35_10727.jpg
/home/pi/Desktop/images/01012026/07/58/image_01012026_07_58_45_9735.jpg
/home/pi/Desktop/images/01012026/07/58/image_01012026_07_59_05_10713.jpg
/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_15_9623.jpg
/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_24_9709.jpg
/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_35_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006666","1402006674","1402006668","1402006670","1402006664","1402006673"],"photo_ids_order":["1402006664","1402006666","1402006668","1402006670","1402006673","1402006674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98a1d771ab5e94af44ab3823123adf07.jpg","text":"TemporaryFile(/tmp/multipartBody7967946476643281149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256582649,"filename":"image_01012026_07_58_45_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f420b6c284e8560efa0cba4bb46afee4.jpg","text":"TemporaryFile(/tmp/multipartBody6353195384603759860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256582649,"filename":"image_01012026_07_59_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49aa3c02c51244a7c548f3dd74bc73d9.jpg","text":"TemporaryFile(/tmp/multipartBody8301277834755740851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256582649,"filename":"image_01012026_07_59_05_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e8264e234039b49accc2d6caa0284d8.jpg","text":"TemporaryFile(/tmp/multipartBody2195231040527985948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256582649,"filename":"image_01012026_07_59_15_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6dd28915a381e82ad8b551fa2be91c1.jpg","text":"TemporaryFile(/tmp/multipartBody4057267808740825429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256582649,"filename":"image_01012026_07_58_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa25c6681d7cf521f63b1a5a2ed13213.jpg","text":"TemporaryFile(/tmp/multipartBody5168371672359652448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256582649,"filename":"image_01012026_07_59_24_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006668","file1":"1402006666","file0":"1402006664","file4":"1402006673","file5":"1402006674","file3":"1402006670"},"map_files_photo_id_array":[{"photo_id":"1402006674","filename":"file5"},{"photo_id":"1402006668","filename":"file2"},{"photo_id":"1402006673","filename":"file4"},{"photo_id":"1402006666","filename":"file1"},{"photo_id":"1402006664","filename":"file0"},{"photo_id":"1402006670","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006666":["hashtag1","hashtag2"]},{"1402006674":["hashtag1","hashtag2"]},{"1402006668":["hashtag1","hashtag2"]},{"1402006670":["hashtag1","hashtag2"]},{"1402006664":["hashtag1","hashtag2"]},{"1402006673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006666, 1402006674, 1402006668, 1402006670, 1402006664, 1402006673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05515503883362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:36:02.683837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_45_9710.jpg', '/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_54_9531.jpg', '/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_15_10054.jpg', '/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_25_10609.jpg', '/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_35_9696.jpg', '/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_46_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_45_9710.jpg
/home/pi/Desktop/images/01012026/07/59/image_01012026_07_59_54_9531.jpg
/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_15_10054.jpg
/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_25_10609.jpg
/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_35_9696.jpg
/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_46_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006681","1402006675","1402006678","1402006677","1402006676","1402006679"],"photo_ids_order":["1402006675","1402006676","1402006677","1402006678","1402006679","1402006681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3ab2baaaf64aa5cca92f92562c4f7fa.jpg","text":"TemporaryFile(/tmp/multipartBody3008847780213278461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256623323,"filename":"image_01012026_08_00_46_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5dab06cd0ac4480dc7b8516bdbbb976.jpg","text":"TemporaryFile(/tmp/multipartBody663483765654344786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256623323,"filename":"image_01012026_07_59_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e13ab5406c263d5f54208e75dfecbcf3.jpg","text":"TemporaryFile(/tmp/multipartBody5151385475286778790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256623323,"filename":"image_01012026_08_00_25_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0b82772eec2d1a873df74c8cfda4e70.jpg","text":"TemporaryFile(/tmp/multipartBody6100906416479458501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256623323,"filename":"image_01012026_08_00_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a477d010d1e272c605d13dde847bfa44.jpg","text":"TemporaryFile(/tmp/multipartBody4094594318858437955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256623323,"filename":"image_01012026_07_59_54_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17bc380f5d2f523d1d4f0f920ce4b3c3.jpg","text":"TemporaryFile(/tmp/multipartBody4535379380721363207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256623323,"filename":"image_01012026_08_00_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006677","file1":"1402006676","file0":"1402006675","file4":"1402006679","file5":"1402006681","file3":"1402006678"},"map_files_photo_id_array":[{"photo_id":"1402006681","filename":"file5"},{"photo_id":"1402006677","filename":"file2"},{"photo_id":"1402006679","filename":"file4"},{"photo_id":"1402006676","filename":"file1"},{"photo_id":"1402006675","filename":"file0"},{"photo_id":"1402006678","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006681":["hashtag1","hashtag2"]},{"1402006675":["hashtag1","hashtag2"]},{"1402006678":["hashtag1","hashtag2"]},{"1402006677":["hashtag1","hashtag2"]},{"1402006676":["hashtag1","hashtag2"]},{"1402006679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006681, 1402006675, 1402006678, 1402006677, 1402006676, 1402006679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.531970262527466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:36:42.291127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_43_3715.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_49_5349.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_57_8575.jpg', '/home/pi/Desktop/images/04112025/15/44/image_04112025_15_45_00_3165.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_02_1598.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_04_2283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_43_3715.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_49_5349.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_44_57_8575.jpg
/home/pi/Desktop/images/04112025/15/44/image_04112025_15_45_00_3165.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_02_1598.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_04_2283.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006687","1402006690","1402006692","1402006689","1402006694","1402006691"],"photo_ids_order":["1402006687","1402006689","1402006690","1402006691","1402006692","1402006694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f82aa7e8da1830f055cf76644b0a19c.jpg","text":"TemporaryFile(/tmp/multipartBody837797776584024715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256664233,"filename":"image_04112025_15_44_43_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db761a7a9effaa0512d76e3bbe125fa6.jpg","text":"TemporaryFile(/tmp/multipartBody9176950144033472182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256664233,"filename":"image_04112025_15_44_57_8575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b364fe31c6ca179bda323f444ab23bb2.jpg","text":"TemporaryFile(/tmp/multipartBody6122668598194274137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256664233,"filename":"image_04112025_15_45_02_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a0462f6ac6d2d6fe3d4cff87c23accf.jpg","text":"TemporaryFile(/tmp/multipartBody3155867150211981154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256664233,"filename":"image_04112025_15_44_49_5349.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/816185cb5abc3b9565215b85346624a8.jpg","text":"TemporaryFile(/tmp/multipartBody4846248695818437996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256664233,"filename":"image_04112025_15_45_04_2283.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce755b71b990b5dd0440c66f6d63ec90.jpg","text":"TemporaryFile(/tmp/multipartBody4216501024816108820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256664233,"filename":"image_04112025_15_45_00_3165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006690","file1":"1402006689","file0":"1402006687","file4":"1402006692","file5":"1402006694","file3":"1402006691"},"map_files_photo_id_array":[{"photo_id":"1402006694","filename":"file5"},{"photo_id":"1402006690","filename":"file2"},{"photo_id":"1402006692","filename":"file4"},{"photo_id":"1402006689","filename":"file1"},{"photo_id":"1402006687","filename":"file0"},{"photo_id":"1402006691","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006687":["hashtag1","hashtag2"]},{"1402006690":["hashtag1","hashtag2"]},{"1402006692":["hashtag1","hashtag2"]},{"1402006689":["hashtag1","hashtag2"]},{"1402006694":["hashtag1","hashtag2"]},{"1402006691":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006687, 1402006690, 1402006692, 1402006689, 1402006694, 1402006691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86603593826294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:37:22.525442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_55_9717.jpg', '/home/pi/Desktop/images/01012026/08/00/image_01012026_08_01_05_9507.jpg', '/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_16_10737.jpg', '/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_25_9672.jpg', '/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_35_9733.jpg', '/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_45_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/00/image_01012026_08_00_55_9717.jpg
/home/pi/Desktop/images/01012026/08/00/image_01012026_08_01_05_9507.jpg
/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_16_10737.jpg
/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_25_9672.jpg
/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_35_9733.jpg
/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_45_9778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006700","1402006698","1402006702","1402006695","1402006704","1402006707"],"photo_ids_order":["1402006695","1402006698","1402006700","1402006702","1402006704","1402006707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51345323a8bb208f1d16b0704f5060dc.jpg","text":"TemporaryFile(/tmp/multipartBody2669156438009759581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256703121,"filename":"image_01012026_08_01_16_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2a74f23eb6caf5d2fcce2fe0a01abcf.jpg","text":"TemporaryFile(/tmp/multipartBody810402649134303049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256703121,"filename":"image_01012026_08_01_05_9507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56b003af6c8685f898b541abb2c10b2e.jpg","text":"TemporaryFile(/tmp/multipartBody2228594101838154465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256703121,"filename":"image_01012026_08_01_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e12a2fa4b74983f8a5613476c5a8005c.jpg","text":"TemporaryFile(/tmp/multipartBody8837105934721332463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256703121,"filename":"image_01012026_08_00_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/001c8e8056906398367af1a38f5aba06.jpg","text":"TemporaryFile(/tmp/multipartBody4115422251572218586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256703121,"filename":"image_01012026_08_01_35_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6a000d2b4c62031e50d3e34ff958d43.jpg","text":"TemporaryFile(/tmp/multipartBody7093976695938768355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256703121,"filename":"image_01012026_08_01_45_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006700","file1":"1402006698","file0":"1402006695","file4":"1402006704","file5":"1402006707","file3":"1402006702"},"map_files_photo_id_array":[{"photo_id":"1402006707","filename":"file5"},{"photo_id":"1402006700","filename":"file2"},{"photo_id":"1402006704","filename":"file4"},{"photo_id":"1402006698","filename":"file1"},{"photo_id":"1402006695","filename":"file0"},{"photo_id":"1402006702","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006700":["hashtag1","hashtag2"]},{"1402006698":["hashtag1","hashtag2"]},{"1402006702":["hashtag1","hashtag2"]},{"1402006695":["hashtag1","hashtag2"]},{"1402006704":["hashtag1","hashtag2"]},{"1402006707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006700, 1402006698, 1402006702, 1402006695, 1402006704, 1402006707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00168800354004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:38:03.254774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_55_10544.jpg', '/home/pi/Desktop/images/01012026/08/01/image_01012026_08_02_05_9657.jpg', '/home/pi/Desktop/images/01012026/08/02/image_01012026_08_02_16_10614.jpg', '/home/pi/Desktop/images/01012026/08/02/image_01012026_08_02_25_9713.jpg', '/home/pi/Desktop/images/01012026/08/02/image_01012026_08_02_35_9669.jpg', '/home/pi/Desktop/images/01012026/08/02/image_01012026_08_02_55_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/01/image_01012026_08_01_55_10544.jpg
/home/pi/Desktop/images/01012026/08/01/image_01012026_08_02_05_9657.jpg
/home/pi/Desktop/images/01012026/08/02/image_01012026_08_02_16_10614.jpg
/home/pi/Desktop/images/01012026/08/02/image_01012026_08_02_25_9713.jpg
/home/pi/Desktop/images/01012026/08/02/image_01012026_08_02_35_9669.jpg
/home/pi/Desktop/images/01012026/08/02/image_01012026_08_02_55_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":["1402006709","1402006711","1402006714","1402006708","1402006710","1402006712"],"photo_ids_order":["1402006708","1402006709","1402006710","1402006711","1402006712","1402006714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c40b0eb71b3015f27ba0f4cf63b1c0fe.jpg","text":"TemporaryFile(/tmp/multipartBody3345578210210011609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256743877,"filename":"image_01012026_08_02_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5169938c40e82f666cd7f23ec903d987.jpg","text":"TemporaryFile(/tmp/multipartBody4061459230161060296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256743877,"filename":"image_01012026_08_02_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e80efc21ca2dd76cf658f54e6cf29d05.jpg","text":"TemporaryFile(/tmp/multipartBody3895758309331911760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256743877,"filename":"image_01012026_08_02_55_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00af0ea96306a2651068f7bc3f5d0c36.jpg","text":"TemporaryFile(/tmp/multipartBody259441300207694840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256743877,"filename":"image_01012026_08_01_55_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2e275a0bf2fdcb66c2cb47055a62999.jpg","text":"TemporaryFile(/tmp/multipartBody2326696698748372376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256743877,"filename":"image_01012026_08_02_16_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e217485414a194833ab6cfbf806be72.jpg","text":"TemporaryFile(/tmp/multipartBody5921633077594863857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256743877,"filename":"image_01012026_08_02_35_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006710","file1":"1402006709","file0":"1402006708","file4":"1402006712","file5":"1402006714","file3":"1402006711"},"map_files_photo_id_array":[{"photo_id":"1402006714","filename":"file5"},{"photo_id":"1402006710","filename":"file2"},{"photo_id":"1402006712","filename":"file4"},{"photo_id":"1402006709","filename":"file1"},{"photo_id":"1402006708","filename":"file0"},{"photo_id":"1402006711","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006709":["hashtag1","hashtag2"]},{"1402006711":["hashtag1","hashtag2"]},{"1402006714":["hashtag1","hashtag2"]},{"1402006708":["hashtag1","hashtag2"]},{"1402006710":["hashtag1","hashtag2"]},{"1402006712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006709, 1402006711, 1402006714, 1402006708, 1402006710, 1402006712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29813814163208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:38:42.748489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_07_2137.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_08_1724.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_10_1711.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_12_1597.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_13_1637.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_16_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_07_2137.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_08_1724.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_10_1711.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_12_1597.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_13_1637.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_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":["1402006724","1402006726","1402006728","1402006722","1402006725","1402006727"],"photo_ids_order":["1402006722","1402006724","1402006725","1402006726","1402006727","1402006728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c005b3c0f8225bae14e7364ed17814f2.jpg","text":"TemporaryFile(/tmp/multipartBody6061091274114354664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256784705,"filename":"image_04112025_15_45_08_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da785911bf640947bfd51dedefd5880e.jpg","text":"TemporaryFile(/tmp/multipartBody3496586638742189591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256784705,"filename":"image_04112025_15_45_12_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/767ec77e64bd4e82aa57464e0b69b8d6.jpg","text":"TemporaryFile(/tmp/multipartBody3954601419166730938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256784705,"filename":"image_04112025_15_45_16_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1991214976ce607843a8b0a40e8cad09.jpg","text":"TemporaryFile(/tmp/multipartBody7623862520996339770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256784705,"filename":"image_04112025_15_45_07_2137.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97d091c2dcd3b734d82f3e55a2b5e8ff.jpg","text":"TemporaryFile(/tmp/multipartBody2479317560840955955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256784705,"filename":"image_04112025_15_45_10_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5484d119705374959547ac567dd0788.jpg","text":"TemporaryFile(/tmp/multipartBody2676173397983986255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256784705,"filename":"image_04112025_15_45_13_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006725","file1":"1402006724","file0":"1402006722","file4":"1402006727","file5":"1402006728","file3":"1402006726"},"map_files_photo_id_array":[{"photo_id":"1402006728","filename":"file5"},{"photo_id":"1402006725","filename":"file2"},{"photo_id":"1402006727","filename":"file4"},{"photo_id":"1402006724","filename":"file1"},{"photo_id":"1402006722","filename":"file0"},{"photo_id":"1402006726","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006724":["hashtag1","hashtag2"]},{"1402006726":["hashtag1","hashtag2"]},{"1402006728":["hashtag1","hashtag2"]},{"1402006722":["hashtag1","hashtag2"]},{"1402006725":["hashtag1","hashtag2"]},{"1402006727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006724, 1402006726, 1402006728, 1402006722, 1402006725, 1402006727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0590660572052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:39:21.974722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/02/image_01012026_08_03_05_9642.jpg', '/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_15_9821.jpg', '/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_25_10655.jpg', '/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_35_9816.jpg', '/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_45_9665.jpg', '/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_56_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/02/image_01012026_08_03_05_9642.jpg
/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_15_9821.jpg
/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_25_10655.jpg
/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_35_9816.jpg
/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_45_9665.jpg
/home/pi/Desktop/images/01012026/08/03/image_01012026_08_03_56_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006736","1402006732","1402006729","1402006734","1402006739","1402006730"],"photo_ids_order":["1402006729","1402006730","1402006732","1402006734","1402006736","1402006739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5febbf31f76184608bc2c54ea7c98e60.jpg","text":"TemporaryFile(/tmp/multipartBody797807308874064724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256822598,"filename":"image_01012026_08_03_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15fab442427a251042792719d3b8615b.jpg","text":"TemporaryFile(/tmp/multipartBody5901942694587830094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256822598,"filename":"image_01012026_08_03_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef8b39ad7c4186b7fa10b6ff7aed1e39.jpg","text":"TemporaryFile(/tmp/multipartBody1080295125833735018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256822598,"filename":"image_01012026_08_03_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6fe283d0f4797b30d2c3c27f8532830.jpg","text":"TemporaryFile(/tmp/multipartBody158845053598033884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256822598,"filename":"image_01012026_08_03_35_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fd6000188637299eeb2d392ad19a156.jpg","text":"TemporaryFile(/tmp/multipartBody6469972277741102841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256822598,"filename":"image_01012026_08_03_56_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd1e1e51c5bf08f708700ad2e7595209.jpg","text":"TemporaryFile(/tmp/multipartBody808556793244919020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256822598,"filename":"image_01012026_08_03_15_9821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006732","file1":"1402006730","file0":"1402006729","file4":"1402006736","file5":"1402006739","file3":"1402006734"},"map_files_photo_id_array":[{"photo_id":"1402006739","filename":"file5"},{"photo_id":"1402006732","filename":"file2"},{"photo_id":"1402006736","filename":"file4"},{"photo_id":"1402006730","filename":"file1"},{"photo_id":"1402006729","filename":"file0"},{"photo_id":"1402006734","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006736":["hashtag1","hashtag2"]},{"1402006732":["hashtag1","hashtag2"]},{"1402006729":["hashtag1","hashtag2"]},{"1402006734":["hashtag1","hashtag2"]},{"1402006739":["hashtag1","hashtag2"]},{"1402006730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006736, 1402006732, 1402006729, 1402006734, 1402006739, 1402006730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.97272753715515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:40:02.477820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/03/image_01012026_08_04_05_9785.jpg', '/home/pi/Desktop/images/01012026/08/04/image_01012026_08_04_15_9636.jpg', '/home/pi/Desktop/images/01012026/08/04/image_01012026_08_04_25_9791.jpg', '/home/pi/Desktop/images/01012026/08/04/image_01012026_08_04_45_9568.jpg', '/home/pi/Desktop/images/01012026/08/04/image_01012026_08_04_55_9794.jpg', '/home/pi/Desktop/images/01012026/08/04/image_01012026_08_05_05_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/03/image_01012026_08_04_05_9785.jpg
/home/pi/Desktop/images/01012026/08/04/image_01012026_08_04_15_9636.jpg
/home/pi/Desktop/images/01012026/08/04/image_01012026_08_04_25_9791.jpg
/home/pi/Desktop/images/01012026/08/04/image_01012026_08_04_45_9568.jpg
/home/pi/Desktop/images/01012026/08/04/image_01012026_08_04_55_9794.jpg
/home/pi/Desktop/images/01012026/08/04/image_01012026_08_05_05_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":["1402006744","1402006747","1402006746","1402006749","1402006751","1402006745"],"photo_ids_order":["1402006744","1402006745","1402006746","1402006747","1402006749","1402006751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b701acb62ee094118b858251544f6d8.jpg","text":"TemporaryFile(/tmp/multipartBody1695395338896732652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256863139,"filename":"image_01012026_08_04_05_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/349ce9be46982442da306b9ec8e6ba23.jpg","text":"TemporaryFile(/tmp/multipartBody6687712090716738733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256863139,"filename":"image_01012026_08_04_45_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d7e22f7f4aa0ebfbe7a4f042f3be379.jpg","text":"TemporaryFile(/tmp/multipartBody6438092222678809069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256863139,"filename":"image_01012026_08_04_25_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e4dbeb0049cbec10dcccc5cf1f2707a.jpg","text":"TemporaryFile(/tmp/multipartBody536132733129580487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256863139,"filename":"image_01012026_08_04_55_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54d6401e1597294db88df5379a6f822f.jpg","text":"TemporaryFile(/tmp/multipartBody6175663004487167624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256863139,"filename":"image_01012026_08_05_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ff6acfc2a65fe494e912e51fd6357c5.jpg","text":"TemporaryFile(/tmp/multipartBody777753102859202270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256863139,"filename":"image_01012026_08_04_15_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006746","file1":"1402006745","file0":"1402006744","file4":"1402006749","file5":"1402006751","file3":"1402006747"},"map_files_photo_id_array":[{"photo_id":"1402006751","filename":"file5"},{"photo_id":"1402006746","filename":"file2"},{"photo_id":"1402006749","filename":"file4"},{"photo_id":"1402006745","filename":"file1"},{"photo_id":"1402006744","filename":"file0"},{"photo_id":"1402006747","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006744":["hashtag1","hashtag2"]},{"1402006747":["hashtag1","hashtag2"]},{"1402006746":["hashtag1","hashtag2"]},{"1402006749":["hashtag1","hashtag2"]},{"1402006751":["hashtag1","hashtag2"]},{"1402006745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006744, 1402006747, 1402006746, 1402006749, 1402006751, 1402006745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89211463928223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:40:42.151906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_18_2595.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_22_3611.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_25_2505.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_28_2955.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_31_3658.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_34_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_18_2595.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_22_3611.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_25_2505.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_28_2955.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_31_3658.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_34_2523.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.8459784984588623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:41:03.061724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_15_9740.jpg', '/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_25_9649.jpg', '/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_35_10645.jpg', '/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_45_9614.jpg', '/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_55_9782.jpg', '/home/pi/Desktop/images/01012026/08/05/image_01012026_08_06_05_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_15_9740.jpg
/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_25_9649.jpg
/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_35_10645.jpg
/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_45_9614.jpg
/home/pi/Desktop/images/01012026/08/05/image_01012026_08_05_55_9782.jpg
/home/pi/Desktop/images/01012026/08/05/image_01012026_08_06_05_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":["1402006762","1402006765","1402006764","1402006767","1402006766","1402006769"],"photo_ids_order":["1402006762","1402006764","1402006765","1402006766","1402006767","1402006769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3c6e2c0ccf74cd41c366c4dbc93d370.jpg","text":"TemporaryFile(/tmp/multipartBody4212059541031630315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256923713,"filename":"image_01012026_08_05_15_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/631515ed07078ea6b8ede7d85e9efd5d.jpg","text":"TemporaryFile(/tmp/multipartBody1081380488685299491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256923713,"filename":"image_01012026_08_05_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2814ec4f0b93cbfb8c413431e2e4a11.jpg","text":"TemporaryFile(/tmp/multipartBody1504613101256046780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256923713,"filename":"image_01012026_08_05_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9402929972ef3caf65ba82705c7d6e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7367427403760719856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256923713,"filename":"image_01012026_08_05_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e762afcd8c1107e934b8c0f45a0d46f5.jpg","text":"TemporaryFile(/tmp/multipartBody3478725904610044596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256923713,"filename":"image_01012026_08_05_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19a0817544e6c06d7df36904e2305644.jpg","text":"TemporaryFile(/tmp/multipartBody6758452928959318602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256923713,"filename":"image_01012026_08_06_05_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006765","file1":"1402006764","file0":"1402006762","file4":"1402006767","file5":"1402006769","file3":"1402006766"},"map_files_photo_id_array":[{"photo_id":"1402006769","filename":"file5"},{"photo_id":"1402006765","filename":"file2"},{"photo_id":"1402006767","filename":"file4"},{"photo_id":"1402006764","filename":"file1"},{"photo_id":"1402006762","filename":"file0"},{"photo_id":"1402006766","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006762":["hashtag1","hashtag2"]},{"1402006765":["hashtag1","hashtag2"]},{"1402006764":["hashtag1","hashtag2"]},{"1402006767":["hashtag1","hashtag2"]},{"1402006766":["hashtag1","hashtag2"]},{"1402006769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006762, 1402006765, 1402006764, 1402006767, 1402006766, 1402006769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51750206947327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:41:42.470223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_18_2595.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_22_3611.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_25_2505.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_28_2955.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_31_3658.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_34_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_18_2595.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_22_3611.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_25_2505.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_28_2955.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_31_3658.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_34_2523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006780","1402006777","1402006779","1402006781","1402006775","1402006778"],"photo_ids_order":["1402006775","1402006777","1402006778","1402006779","1402006780","1402006781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/892624fedad73b91c389276a93bbadd0.jpg","text":"TemporaryFile(/tmp/multipartBody3727543038339642479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256964297,"filename":"image_04112025_15_45_31_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a6f01dbca3575ab096f370cb1316a82.jpg","text":"TemporaryFile(/tmp/multipartBody7636391440362225596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256964297,"filename":"image_04112025_15_45_22_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8cadc0dfbfe9f96f86c018a0f43f1778.jpg","text":"TemporaryFile(/tmp/multipartBody1393122975132276768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256964297,"filename":"image_04112025_15_45_28_2955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82ddf7dcf0b78d0646cff8a0dff0c172.jpg","text":"TemporaryFile(/tmp/multipartBody6199000729106108010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256964297,"filename":"image_04112025_15_45_34_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/beeffc6fcb684f4d22fcc9141fec64e8.jpg","text":"TemporaryFile(/tmp/multipartBody7393133521993561779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256964297,"filename":"image_04112025_15_45_18_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1166bfb5fdcc4792b53a23f13d028948.jpg","text":"TemporaryFile(/tmp/multipartBody8636194334406830110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767256964297,"filename":"image_04112025_15_45_25_2505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006778","file1":"1402006777","file0":"1402006775","file4":"1402006780","file5":"1402006781","file3":"1402006779"},"map_files_photo_id_array":[{"photo_id":"1402006781","filename":"file5"},{"photo_id":"1402006778","filename":"file2"},{"photo_id":"1402006780","filename":"file4"},{"photo_id":"1402006777","filename":"file1"},{"photo_id":"1402006775","filename":"file0"},{"photo_id":"1402006779","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006780":["hashtag1","hashtag2"]},{"1402006777":["hashtag1","hashtag2"]},{"1402006779":["hashtag1","hashtag2"]},{"1402006781":["hashtag1","hashtag2"]},{"1402006775":["hashtag1","hashtag2"]},{"1402006778":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006780, 1402006777, 1402006779, 1402006781, 1402006775, 1402006778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.512999057769775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:42:22.688286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_15_10776.jpg', '/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_25_9642.jpg', '/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_35_9543.jpg', '/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_45_10620.jpg', '/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_55_9664.jpg', '/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_15_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_15_10776.jpg
/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_25_9642.jpg
/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_35_9543.jpg
/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_45_10620.jpg
/home/pi/Desktop/images/01012026/08/06/image_01012026_08_06_55_9664.jpg
/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_15_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":["1402006792","1402006786","1402006794","1402006788","1402006790","1402006784"],"photo_ids_order":["1402006784","1402006786","1402006788","1402006790","1402006792","1402006794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8147845acba7a803f95546ce38f5aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4693830418340661489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257003287,"filename":"image_01012026_08_06_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f895c085632f8a3cacd29057d7dbfeb0.jpg","text":"TemporaryFile(/tmp/multipartBody8833465743485132584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257003287,"filename":"image_01012026_08_06_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3b3ce62cb1ee372cf72fef8fa53d378.jpg","text":"TemporaryFile(/tmp/multipartBody1882945374135991134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257003287,"filename":"image_01012026_08_07_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7269ed6c5bd59e004fefbcef0dec1ac.jpg","text":"TemporaryFile(/tmp/multipartBody6300535249158999756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257003287,"filename":"image_01012026_08_06_35_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c3a61feff14972c48266f3ab32cf42f.jpg","text":"TemporaryFile(/tmp/multipartBody6564387577368018942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257003287,"filename":"image_01012026_08_06_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc406099ed4fdeba422010124f872980.jpg","text":"TemporaryFile(/tmp/multipartBody4306979790728158894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257003287,"filename":"image_01012026_08_06_15_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006788","file1":"1402006786","file0":"1402006784","file4":"1402006792","file5":"1402006794","file3":"1402006790"},"map_files_photo_id_array":[{"photo_id":"1402006794","filename":"file5"},{"photo_id":"1402006788","filename":"file2"},{"photo_id":"1402006792","filename":"file4"},{"photo_id":"1402006786","filename":"file1"},{"photo_id":"1402006784","filename":"file0"},{"photo_id":"1402006790","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006792":["hashtag1","hashtag2"]},{"1402006786":["hashtag1","hashtag2"]},{"1402006794":["hashtag1","hashtag2"]},{"1402006788":["hashtag1","hashtag2"]},{"1402006790":["hashtag1","hashtag2"]},{"1402006784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006792, 1402006786, 1402006794, 1402006788, 1402006790, 1402006784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74924635887146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:43:02.414790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_25_9731.jpg', '/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_36_10593.jpg', '/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_45_9625.jpg', '/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_55_9765.jpg', '/home/pi/Desktop/images/01012026/08/07/image_01012026_08_08_06_10671.jpg', '/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_16_9923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_25_9731.jpg
/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_36_10593.jpg
/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_45_9625.jpg
/home/pi/Desktop/images/01012026/08/07/image_01012026_08_07_55_9765.jpg
/home/pi/Desktop/images/01012026/08/07/image_01012026_08_08_06_10671.jpg
/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_16_9923.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006798","1402006802","1402006795","1402006797","1402006796","1402006800"],"photo_ids_order":["1402006795","1402006796","1402006797","1402006798","1402006800","1402006802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2cfdeb234fcdfbe8f4d0f46256e725e7.jpg","text":"TemporaryFile(/tmp/multipartBody1257569933235310765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257043061,"filename":"image_01012026_08_07_55_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2424a90ae5b561701151ebff9fef60a.jpg","text":"TemporaryFile(/tmp/multipartBody8315610335541803825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257043061,"filename":"image_01012026_08_08_16_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60fa7ac8899b5e4af98a9c6f1225794e.jpg","text":"TemporaryFile(/tmp/multipartBody4115663762347931108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257043061,"filename":"image_01012026_08_07_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecde21875e23b53eea65bc2aaa32a54b.jpg","text":"TemporaryFile(/tmp/multipartBody785881772581889273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257043061,"filename":"image_01012026_08_07_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b9977a5fe5bdda2024be21c9639a2be.jpg","text":"TemporaryFile(/tmp/multipartBody4145332664048916761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257043061,"filename":"image_01012026_08_07_36_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0ef47f1ad7bac5c5357ded8bace54aa.jpg","text":"TemporaryFile(/tmp/multipartBody7291890471435261880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257043061,"filename":"image_01012026_08_08_06_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006797","file1":"1402006796","file0":"1402006795","file4":"1402006800","file5":"1402006802","file3":"1402006798"},"map_files_photo_id_array":[{"photo_id":"1402006802","filename":"file5"},{"photo_id":"1402006797","filename":"file2"},{"photo_id":"1402006800","filename":"file4"},{"photo_id":"1402006796","filename":"file1"},{"photo_id":"1402006795","filename":"file0"},{"photo_id":"1402006798","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006798":["hashtag1","hashtag2"]},{"1402006802":["hashtag1","hashtag2"]},{"1402006795":["hashtag1","hashtag2"]},{"1402006797":["hashtag1","hashtag2"]},{"1402006796":["hashtag1","hashtag2"]},{"1402006800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006798, 1402006802, 1402006795, 1402006797, 1402006796, 1402006800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63315272331238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:43:41.827906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_37_3686.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_40_2730.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_43_2699.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_46_2677.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_49_3690.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_52_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_37_3686.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_40_2730.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_43_2699.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_46_2677.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_49_3690.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_52_2639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006810","1402006813","1402006807","1402006809","1402006812","1402006811"],"photo_ids_order":["1402006807","1402006809","1402006810","1402006811","1402006812","1402006813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f0cee138348dce0d000d78a6e8e853e.jpg","text":"TemporaryFile(/tmp/multipartBody7263126502324016387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257083768,"filename":"image_04112025_15_45_43_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff5f620b71ecfefb503ad3e7347d0349.jpg","text":"TemporaryFile(/tmp/multipartBody196118559952948624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257083768,"filename":"image_04112025_15_45_52_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fef3b755785c077e1890fb411d165ded.jpg","text":"TemporaryFile(/tmp/multipartBody5932562833120958684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257083768,"filename":"image_04112025_15_45_37_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51e6910a0031ca031ec5b1beaf65659d.jpg","text":"TemporaryFile(/tmp/multipartBody981289870257517866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257083768,"filename":"image_04112025_15_45_40_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28e2dc450a48b053f7e439b3bcb119f5.jpg","text":"TemporaryFile(/tmp/multipartBody6256735117510080839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257083768,"filename":"image_04112025_15_45_49_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b11d84316d3bcdab4d6dd0cf749b2927.jpg","text":"TemporaryFile(/tmp/multipartBody5703469385360439220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257083768,"filename":"image_04112025_15_45_46_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006810","file1":"1402006809","file0":"1402006807","file4":"1402006812","file5":"1402006813","file3":"1402006811"},"map_files_photo_id_array":[{"photo_id":"1402006813","filename":"file5"},{"photo_id":"1402006810","filename":"file2"},{"photo_id":"1402006812","filename":"file4"},{"photo_id":"1402006809","filename":"file1"},{"photo_id":"1402006807","filename":"file0"},{"photo_id":"1402006811","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006810":["hashtag1","hashtag2"]},{"1402006813":["hashtag1","hashtag2"]},{"1402006807":["hashtag1","hashtag2"]},{"1402006809":["hashtag1","hashtag2"]},{"1402006812":["hashtag1","hashtag2"]},{"1402006811":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006810, 1402006813, 1402006807, 1402006809, 1402006812, 1402006811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0727698802948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:44:22.013862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_25_9623.jpg', '/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_35_9564.jpg', '/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_45_10558.jpg', '/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_55_9628.jpg', '/home/pi/Desktop/images/01012026/08/08/image_01012026_08_09_06_10613.jpg', '/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_15_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_25_9623.jpg
/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_35_9564.jpg
/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_45_10558.jpg
/home/pi/Desktop/images/01012026/08/08/image_01012026_08_08_55_9628.jpg
/home/pi/Desktop/images/01012026/08/08/image_01012026_08_09_06_10613.jpg
/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_15_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006829","1402006817","1402006822","1402006819","1402006824","1402006826"],"photo_ids_order":["1402006817","1402006819","1402006822","1402006824","1402006826","1402006829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f4019d5acc4db5e7dce05dbe3e9b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody6584666029743247799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257122603,"filename":"image_01012026_08_09_15_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c61729a5de64adb653ecedad5892fe7a.jpg","text":"TemporaryFile(/tmp/multipartBody5173700561510833443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257122603,"filename":"image_01012026_08_08_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68ecbe97b3e0702c511c2dbdca98f406.jpg","text":"TemporaryFile(/tmp/multipartBody5438497279334078053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257122603,"filename":"image_01012026_08_08_45_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c851d6dc99b8848e4c20b55e8bccfe18.jpg","text":"TemporaryFile(/tmp/multipartBody8513826607062261313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257122603,"filename":"image_01012026_08_08_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32277110e02da29a19631c5905215141.jpg","text":"TemporaryFile(/tmp/multipartBody6778605221174767731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257122603,"filename":"image_01012026_08_08_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb12602a37afad8cf6ae1cce5c343803.jpg","text":"TemporaryFile(/tmp/multipartBody7930311683335303599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257122603,"filename":"image_01012026_08_09_06_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006822","file1":"1402006819","file0":"1402006817","file4":"1402006826","file5":"1402006829","file3":"1402006824"},"map_files_photo_id_array":[{"photo_id":"1402006829","filename":"file5"},{"photo_id":"1402006822","filename":"file2"},{"photo_id":"1402006826","filename":"file4"},{"photo_id":"1402006819","filename":"file1"},{"photo_id":"1402006817","filename":"file0"},{"photo_id":"1402006824","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006829":["hashtag1","hashtag2"]},{"1402006817":["hashtag1","hashtag2"]},{"1402006822":["hashtag1","hashtag2"]},{"1402006819":["hashtag1","hashtag2"]},{"1402006824":["hashtag1","hashtag2"]},{"1402006826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006829, 1402006817, 1402006822, 1402006819, 1402006824, 1402006826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1273877620697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:45:02.931537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_25_9773.jpg', '/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_35_9817.jpg', '/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_45_10552.jpg', '/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_55_9624.jpg', '/home/pi/Desktop/images/01012026/08/09/image_01012026_08_10_05_9617.jpg', '/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_15_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_25_9773.jpg
/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_35_9817.jpg
/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_45_10552.jpg
/home/pi/Desktop/images/01012026/08/09/image_01012026_08_09_55_9624.jpg
/home/pi/Desktop/images/01012026/08/09/image_01012026_08_10_05_9617.jpg
/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_15_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006835","1402006840","1402006837","1402006831","1402006834","1402006833"],"photo_ids_order":["1402006831","1402006833","1402006834","1402006835","1402006837","1402006840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7db2b8d3c5cb716b4eb338b389fe01b7.jpg","text":"TemporaryFile(/tmp/multipartBody3439966738942284791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257163628,"filename":"image_01012026_08_09_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61dd08d8ccf491a5db152845520d22df.jpg","text":"TemporaryFile(/tmp/multipartBody8371150457405171403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257163628,"filename":"image_01012026_08_10_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0db6f79c98904415e128c76c402028f7.jpg","text":"TemporaryFile(/tmp/multipartBody6907226835068904779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257163628,"filename":"image_01012026_08_10_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b2540592e2ba0819da958d18775e9a0.jpg","text":"TemporaryFile(/tmp/multipartBody261954177790975936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257163628,"filename":"image_01012026_08_09_25_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53a681649d408e8d80daab5b6d92504d.jpg","text":"TemporaryFile(/tmp/multipartBody3987205784890172635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257163628,"filename":"image_01012026_08_09_45_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8870c5105906a03feb81e56864af7a5a.jpg","text":"TemporaryFile(/tmp/multipartBody5242463635669616266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257163628,"filename":"image_01012026_08_09_35_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006834","file1":"1402006833","file0":"1402006831","file4":"1402006837","file5":"1402006840","file3":"1402006835"},"map_files_photo_id_array":[{"photo_id":"1402006840","filename":"file5"},{"photo_id":"1402006834","filename":"file2"},{"photo_id":"1402006837","filename":"file4"},{"photo_id":"1402006833","filename":"file1"},{"photo_id":"1402006831","filename":"file0"},{"photo_id":"1402006835","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006835":["hashtag1","hashtag2"]},{"1402006840":["hashtag1","hashtag2"]},{"1402006837":["hashtag1","hashtag2"]},{"1402006831":["hashtag1","hashtag2"]},{"1402006834":["hashtag1","hashtag2"]},{"1402006833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006835, 1402006840, 1402006837, 1402006831, 1402006834, 1402006833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.888216733932495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:45:42.323741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_54_2642.jpg', '/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_58_3665.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_01_2719.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_03_2612.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_07_3667.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_10_2940.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_54_2642.jpg
/home/pi/Desktop/images/04112025/15/45/image_04112025_15_45_58_3665.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_01_2719.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_03_2612.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_07_3667.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_10_2940.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006849","1402006852","1402006845","1402006848","1402006850","1402006847"],"photo_ids_order":["1402006845","1402006847","1402006848","1402006849","1402006850","1402006852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec653d47c4b4d9a0fd30364fcd8da9b1.jpg","text":"TemporaryFile(/tmp/multipartBody1122044254765726766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257204279,"filename":"image_04112025_15_46_03_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4721ba8752f21b3ac14963ea63d5412b.jpg","text":"TemporaryFile(/tmp/multipartBody870406381842277464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257204279,"filename":"image_04112025_15_46_10_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/071771d6171d9aa1afd5787ab241cb0b.jpg","text":"TemporaryFile(/tmp/multipartBody4506244772119671007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257204279,"filename":"image_04112025_15_45_54_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/472c0887281ae07ea2d9b156b251e120.jpg","text":"TemporaryFile(/tmp/multipartBody5402071879137113929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257204279,"filename":"image_04112025_15_46_01_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f52c435abd5af3973ccadeed8414c4f.jpg","text":"TemporaryFile(/tmp/multipartBody2302080136340518699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257204279,"filename":"image_04112025_15_46_07_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/864e66f92b1b22c9254d0e6db39217b9.jpg","text":"TemporaryFile(/tmp/multipartBody5989332575223036893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257204279,"filename":"image_04112025_15_45_58_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006848","file1":"1402006847","file0":"1402006845","file4":"1402006850","file5":"1402006852","file3":"1402006849"},"map_files_photo_id_array":[{"photo_id":"1402006852","filename":"file5"},{"photo_id":"1402006848","filename":"file2"},{"photo_id":"1402006850","filename":"file4"},{"photo_id":"1402006847","filename":"file1"},{"photo_id":"1402006845","filename":"file0"},{"photo_id":"1402006849","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006849":["hashtag1","hashtag2"]},{"1402006852":["hashtag1","hashtag2"]},{"1402006845":["hashtag1","hashtag2"]},{"1402006848":["hashtag1","hashtag2"]},{"1402006850":["hashtag1","hashtag2"]},{"1402006847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006849, 1402006852, 1402006845, 1402006848, 1402006850, 1402006847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87880539894104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:46:22.478128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_25_9725.jpg', '/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_35_9612.jpg', '/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_45_10647.jpg', '/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_55_9645.jpg', '/home/pi/Desktop/images/01012026/08/10/image_01012026_08_11_05_9714.jpg', '/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_25_9725.jpg
/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_35_9612.jpg
/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_45_10647.jpg
/home/pi/Desktop/images/01012026/08/10/image_01012026_08_10_55_9645.jpg
/home/pi/Desktop/images/01012026/08/10/image_01012026_08_11_05_9714.jpg
/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_15_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":["1402006858","1402006860","1402006854","1402006862","1402006856","1402006865"],"photo_ids_order":["1402006854","1402006856","1402006858","1402006860","1402006862","1402006865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d2e764b5e910d59d26028d7e0d0764a.jpg","text":"TemporaryFile(/tmp/multipartBody3685466715028736902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257243079,"filename":"image_01012026_08_10_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8059193abca6f6222f30663fd727d491.jpg","text":"TemporaryFile(/tmp/multipartBody5186649576690359295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257243079,"filename":"image_01012026_08_10_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec9350d85d448ac83b79e6c587f3a416.jpg","text":"TemporaryFile(/tmp/multipartBody6198584473407651814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257243079,"filename":"image_01012026_08_10_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82a8427cb139d123ee25e27548e2a8bf.jpg","text":"TemporaryFile(/tmp/multipartBody8990565301796515538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257243079,"filename":"image_01012026_08_11_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9bfa9fefffb9538364ac13b839a2c86.jpg","text":"TemporaryFile(/tmp/multipartBody6592289774035424645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257243079,"filename":"image_01012026_08_10_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/096f11368c2eab7a8d04140e49afde31.jpg","text":"TemporaryFile(/tmp/multipartBody1560353663533499789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257243079,"filename":"image_01012026_08_11_15_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006858","file1":"1402006856","file0":"1402006854","file4":"1402006862","file5":"1402006865","file3":"1402006860"},"map_files_photo_id_array":[{"photo_id":"1402006865","filename":"file5"},{"photo_id":"1402006858","filename":"file2"},{"photo_id":"1402006862","filename":"file4"},{"photo_id":"1402006856","filename":"file1"},{"photo_id":"1402006854","filename":"file0"},{"photo_id":"1402006860","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006858":["hashtag1","hashtag2"]},{"1402006860":["hashtag1","hashtag2"]},{"1402006854":["hashtag1","hashtag2"]},{"1402006862":["hashtag1","hashtag2"]},{"1402006856":["hashtag1","hashtag2"]},{"1402006865":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006858, 1402006860, 1402006854, 1402006862, 1402006856, 1402006865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15524911880493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:47:03.331440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_25_9669.jpg', '/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_35_9678.jpg', '/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_45_10727.jpg', '/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_55_9595.jpg', '/home/pi/Desktop/images/01012026/08/11/image_01012026_08_12_05_9615.jpg', '/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_15_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_25_9669.jpg
/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_35_9678.jpg
/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_45_10727.jpg
/home/pi/Desktop/images/01012026/08/11/image_01012026_08_11_55_9595.jpg
/home/pi/Desktop/images/01012026/08/11/image_01012026_08_12_05_9615.jpg
/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_15_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":["1402006870","1402006872","1402006875","1402006869","1402006874","1402006871"],"photo_ids_order":["1402006869","1402006870","1402006871","1402006872","1402006874","1402006875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11a9cf547821cc2c79ab7182eca43109.jpg","text":"TemporaryFile(/tmp/multipartBody7882761737560345877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257283977,"filename":"image_01012026_08_11_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb6343b1009a7063b9b457ec71b532f2.jpg","text":"TemporaryFile(/tmp/multipartBody5188539411403197626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257283977,"filename":"image_01012026_08_11_55_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b17575fdfbbbec8f49821b4a4463fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3081027679873087028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257283977,"filename":"image_01012026_08_12_15_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2ee36c227cf4963ff42d3ba4383e2f5.jpg","text":"TemporaryFile(/tmp/multipartBody4303516489509895561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257283977,"filename":"image_01012026_08_11_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ded646ea396482a1341770141ed2248.jpg","text":"TemporaryFile(/tmp/multipartBody5567996901254979566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257283977,"filename":"image_01012026_08_12_05_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e70297fc765e002404d33c73ac1c058.jpg","text":"TemporaryFile(/tmp/multipartBody3142993056067150815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257283977,"filename":"image_01012026_08_11_45_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006871","file1":"1402006870","file0":"1402006869","file4":"1402006874","file5":"1402006875","file3":"1402006872"},"map_files_photo_id_array":[{"photo_id":"1402006875","filename":"file5"},{"photo_id":"1402006871","filename":"file2"},{"photo_id":"1402006874","filename":"file4"},{"photo_id":"1402006870","filename":"file1"},{"photo_id":"1402006869","filename":"file0"},{"photo_id":"1402006872","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006870":["hashtag1","hashtag2"]},{"1402006872":["hashtag1","hashtag2"]},{"1402006875":["hashtag1","hashtag2"]},{"1402006869":["hashtag1","hashtag2"]},{"1402006874":["hashtag1","hashtag2"]},{"1402006871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006870, 1402006872, 1402006875, 1402006869, 1402006874, 1402006871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01068711280823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:47:42.700587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_13_2682.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_15_2662.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_19_3704.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_22_2609.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_25_3585.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_28_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_13_2682.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_15_2662.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_19_3704.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_22_2609.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_25_3585.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_28_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":["1402006891","1402006885","1402006882","1402006893","1402006887","1402006889"],"photo_ids_order":["1402006882","1402006885","1402006887","1402006889","1402006891","1402006893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89aa090f01e1b586715e0df29e71cdb3.jpg","text":"TemporaryFile(/tmp/multipartBody8521680559424035926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257324693,"filename":"image_04112025_15_46_25_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a2dc9ff727c3bd1c4a0c18d54042f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5986074647814453515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257324693,"filename":"image_04112025_15_46_15_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6612ae9fa74995ca1dfc7bfe65651f43.jpg","text":"TemporaryFile(/tmp/multipartBody3370114050866403915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257324693,"filename":"image_04112025_15_46_13_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c93815de55678285f609c74ddc563286.jpg","text":"TemporaryFile(/tmp/multipartBody5866051997721500340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257324693,"filename":"image_04112025_15_46_28_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76e102552e32cacf6f41e97abc37b5d7.jpg","text":"TemporaryFile(/tmp/multipartBody4522523257133984436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257324693,"filename":"image_04112025_15_46_19_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b552f8eb022acb47b40c18005d503dc.jpg","text":"TemporaryFile(/tmp/multipartBody8185833687537216232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257324693,"filename":"image_04112025_15_46_22_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006887","file1":"1402006885","file0":"1402006882","file4":"1402006891","file5":"1402006893","file3":"1402006889"},"map_files_photo_id_array":[{"photo_id":"1402006893","filename":"file5"},{"photo_id":"1402006887","filename":"file2"},{"photo_id":"1402006891","filename":"file4"},{"photo_id":"1402006885","filename":"file1"},{"photo_id":"1402006882","filename":"file0"},{"photo_id":"1402006889","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006891":["hashtag1","hashtag2"]},{"1402006885":["hashtag1","hashtag2"]},{"1402006882":["hashtag1","hashtag2"]},{"1402006893":["hashtag1","hashtag2"]},{"1402006887":["hashtag1","hashtag2"]},{"1402006889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006891, 1402006885, 1402006882, 1402006893, 1402006887, 1402006889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.114171743392944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:48:21.874451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_25_9891.jpg', '/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_35_9674.jpg', '/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_46_10587.jpg', '/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_55_9539.jpg', '/home/pi/Desktop/images/01012026/08/12/image_01012026_08_13_05_9691.jpg', '/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_15_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_25_9891.jpg
/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_35_9674.jpg
/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_46_10587.jpg
/home/pi/Desktop/images/01012026/08/12/image_01012026_08_12_55_9539.jpg
/home/pi/Desktop/images/01012026/08/12/image_01012026_08_13_05_9691.jpg
/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_15_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006894","1402006896","1402006900","1402006902","1402006905","1402006898"],"photo_ids_order":["1402006894","1402006896","1402006898","1402006900","1402006902","1402006905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3a6d7a306f6ead2e0d883308c96b2ef.jpg","text":"TemporaryFile(/tmp/multipartBody6800222074151787666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257362472,"filename":"image_01012026_08_12_25_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fffedaaf78a598486c54a38d0398043f.jpg","text":"TemporaryFile(/tmp/multipartBody526294968155425668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257362472,"filename":"image_01012026_08_12_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72c41da28041621c303217fabdf647c4.jpg","text":"TemporaryFile(/tmp/multipartBody4191221624841344232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257362472,"filename":"image_01012026_08_12_55_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8cfe8c135a3579e9f55eeff2d7f756a.jpg","text":"TemporaryFile(/tmp/multipartBody8924069943016854089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257362472,"filename":"image_01012026_08_13_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ee267c700e10826df250fe929790f35.jpg","text":"TemporaryFile(/tmp/multipartBody640178680548019644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257362472,"filename":"image_01012026_08_13_15_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8db00423fedea8dafecee12e4dfe5e5.jpg","text":"TemporaryFile(/tmp/multipartBody5646972572297980462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257362472,"filename":"image_01012026_08_12_46_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006898","file1":"1402006896","file0":"1402006894","file4":"1402006902","file5":"1402006905","file3":"1402006900"},"map_files_photo_id_array":[{"photo_id":"1402006905","filename":"file5"},{"photo_id":"1402006898","filename":"file2"},{"photo_id":"1402006902","filename":"file4"},{"photo_id":"1402006896","filename":"file1"},{"photo_id":"1402006894","filename":"file0"},{"photo_id":"1402006900","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006894":["hashtag1","hashtag2"]},{"1402006896":["hashtag1","hashtag2"]},{"1402006900":["hashtag1","hashtag2"]},{"1402006902":["hashtag1","hashtag2"]},{"1402006905":["hashtag1","hashtag2"]},{"1402006898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006894, 1402006896, 1402006900, 1402006902, 1402006905, 1402006898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99617671966553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:49:03.045832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_25_9698.jpg', '/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_35_9833.jpg', '/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_46_10695.jpg', '/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_55_9581.jpg', '/home/pi/Desktop/images/01012026/08/13/image_01012026_08_14_05_9761.jpg', '/home/pi/Desktop/images/01012026/08/14/image_01012026_08_14_15_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_25_9698.jpg
/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_35_9833.jpg
/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_46_10695.jpg
/home/pi/Desktop/images/01012026/08/13/image_01012026_08_13_55_9581.jpg
/home/pi/Desktop/images/01012026/08/13/image_01012026_08_14_05_9761.jpg
/home/pi/Desktop/images/01012026/08/14/image_01012026_08_14_15_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006913","1402006907","1402006909","1402006908","1402006911","1402006910"],"photo_ids_order":["1402006907","1402006908","1402006909","1402006910","1402006911","1402006913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6e83ff6368f17d879b9144b85d849c4.jpg","text":"TemporaryFile(/tmp/multipartBody8353569500336327479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257403811,"filename":"image_01012026_08_14_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e24ee91cfff6093371651653394b79ee.jpg","text":"TemporaryFile(/tmp/multipartBody78673794016568464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257403811,"filename":"image_01012026_08_13_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3798b350a5b422a1243ce90b64fe87a7.jpg","text":"TemporaryFile(/tmp/multipartBody8523300707954538709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257403811,"filename":"image_01012026_08_13_46_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25d2bdcb5b9d7947b11f14ddb3c47ec1.jpg","text":"TemporaryFile(/tmp/multipartBody4207008265405231733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257403811,"filename":"image_01012026_08_13_35_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d927bf1a780f7c7fa50cb421873b89f4.jpg","text":"TemporaryFile(/tmp/multipartBody4611297829100696234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257403811,"filename":"image_01012026_08_14_05_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a460229cee8b02643408f9882c15d923.jpg","text":"TemporaryFile(/tmp/multipartBody3407547684815562444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257403811,"filename":"image_01012026_08_13_55_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006909","file1":"1402006908","file0":"1402006907","file4":"1402006911","file5":"1402006913","file3":"1402006910"},"map_files_photo_id_array":[{"photo_id":"1402006913","filename":"file5"},{"photo_id":"1402006909","filename":"file2"},{"photo_id":"1402006911","filename":"file4"},{"photo_id":"1402006908","filename":"file1"},{"photo_id":"1402006907","filename":"file0"},{"photo_id":"1402006910","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006913":["hashtag1","hashtag2"]},{"1402006907":["hashtag1","hashtag2"]},{"1402006909":["hashtag1","hashtag2"]},{"1402006908":["hashtag1","hashtag2"]},{"1402006911":["hashtag1","hashtag2"]},{"1402006910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006913, 1402006907, 1402006909, 1402006908, 1402006911, 1402006910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.869606733322144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:49:42.141249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_31_2672.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_33_2752.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_37_3540.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_40_2648.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_46_6015.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_47_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_31_2672.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_33_2752.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_37_3540.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_40_2648.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_46_6015.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_47_1714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006922","1402006924","1402006927","1402006926","1402006929","1402006920"],"photo_ids_order":["1402006920","1402006922","1402006924","1402006926","1402006927","1402006929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1de72b6903d85aa4b9ee8b0c48e3d1ca.jpg","text":"TemporaryFile(/tmp/multipartBody1294894956479089698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257444078,"filename":"image_04112025_15_46_33_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71c8ae5bf31ec976f7fb10610f180aa3.jpg","text":"TemporaryFile(/tmp/multipartBody8622642338963035949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257444078,"filename":"image_04112025_15_46_37_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e6dd9e25ddefe028cd98955d4b1f94e.jpg","text":"TemporaryFile(/tmp/multipartBody6953158487223792984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257444078,"filename":"image_04112025_15_46_46_6015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09968430dcc22fd446b80f6d9bbe0b03.jpg","text":"TemporaryFile(/tmp/multipartBody7952719234889138703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257444078,"filename":"image_04112025_15_46_40_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57487044a1ba062bb9b4ed24f4e436c6.jpg","text":"TemporaryFile(/tmp/multipartBody5705707698936553381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257444078,"filename":"image_04112025_15_46_47_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f962c27f8b40b3873a59e5443adc5c18.jpg","text":"TemporaryFile(/tmp/multipartBody4816999144631891272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257444078,"filename":"image_04112025_15_46_31_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006924","file1":"1402006922","file0":"1402006920","file4":"1402006927","file5":"1402006929","file3":"1402006926"},"map_files_photo_id_array":[{"photo_id":"1402006929","filename":"file5"},{"photo_id":"1402006924","filename":"file2"},{"photo_id":"1402006927","filename":"file4"},{"photo_id":"1402006922","filename":"file1"},{"photo_id":"1402006920","filename":"file0"},{"photo_id":"1402006926","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006922":["hashtag1","hashtag2"]},{"1402006924":["hashtag1","hashtag2"]},{"1402006927":["hashtag1","hashtag2"]},{"1402006926":["hashtag1","hashtag2"]},{"1402006929":["hashtag1","hashtag2"]},{"1402006920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006922, 1402006924, 1402006927, 1402006926, 1402006929, 1402006920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.576395750045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:50:22.329044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/14/image_01012026_08_14_25_10641.jpg', '/home/pi/Desktop/images/01012026/08/14/image_01012026_08_14_35_9743.jpg', '/home/pi/Desktop/images/01012026/08/14/image_01012026_08_14_45_9663.jpg', '/home/pi/Desktop/images/01012026/08/14/image_01012026_08_15_05_9581.jpg', '/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_15_9774.jpg', '/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_25_10562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/14/image_01012026_08_14_25_10641.jpg
/home/pi/Desktop/images/01012026/08/14/image_01012026_08_14_35_9743.jpg
/home/pi/Desktop/images/01012026/08/14/image_01012026_08_14_45_9663.jpg
/home/pi/Desktop/images/01012026/08/14/image_01012026_08_15_05_9581.jpg
/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_15_9774.jpg
/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_25_10562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006940","1402006934","1402006936","1402006932","1402006938","1402006943"],"photo_ids_order":["1402006932","1402006934","1402006936","1402006938","1402006940","1402006943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31719ab994055dd310e261dc15be2e4e.jpg","text":"TemporaryFile(/tmp/multipartBody988226540765266130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257482990,"filename":"image_01012026_08_15_15_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bef3409d6ae8f1e6610c4475637828ed.jpg","text":"TemporaryFile(/tmp/multipartBody5703396153423325445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257482990,"filename":"image_01012026_08_14_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fc07f55b86b35e63a8e365f0e59f03f.jpg","text":"TemporaryFile(/tmp/multipartBody1156951805724697590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257482990,"filename":"image_01012026_08_14_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fb714c5acdb2fc418acbaf36baf575f.jpg","text":"TemporaryFile(/tmp/multipartBody1269739583531763875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257482990,"filename":"image_01012026_08_14_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b4dddb6ea1f180393fbeddcf58f8689.jpg","text":"TemporaryFile(/tmp/multipartBody7285842400236381135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257482990,"filename":"image_01012026_08_15_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68fbe8df1f206167b8f7db1b3b71527c.jpg","text":"TemporaryFile(/tmp/multipartBody2218634025499855913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257482990,"filename":"image_01012026_08_15_25_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006936","file1":"1402006934","file0":"1402006932","file4":"1402006940","file5":"1402006943","file3":"1402006938"},"map_files_photo_id_array":[{"photo_id":"1402006943","filename":"file5"},{"photo_id":"1402006936","filename":"file2"},{"photo_id":"1402006940","filename":"file4"},{"photo_id":"1402006934","filename":"file1"},{"photo_id":"1402006932","filename":"file0"},{"photo_id":"1402006938","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006940":["hashtag1","hashtag2"]},{"1402006934":["hashtag1","hashtag2"]},{"1402006936":["hashtag1","hashtag2"]},{"1402006932":["hashtag1","hashtag2"]},{"1402006938":["hashtag1","hashtag2"]},{"1402006943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006940, 1402006934, 1402006936, 1402006932, 1402006938, 1402006943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27550506591797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:51:03.159204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_35_9768.jpg', '/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_45_9715.jpg', '/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_55_10609.jpg', '/home/pi/Desktop/images/01012026/08/15/image_01012026_08_16_05_9657.jpg', '/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_15_9748.jpg', '/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_25_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_35_9768.jpg
/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_45_9715.jpg
/home/pi/Desktop/images/01012026/08/15/image_01012026_08_15_55_10609.jpg
/home/pi/Desktop/images/01012026/08/15/image_01012026_08_16_05_9657.jpg
/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_15_9748.jpg
/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_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":["1402006949","1402006951","1402006954","1402006948","1402006947","1402006946"],"photo_ids_order":["1402006946","1402006947","1402006948","1402006949","1402006951","1402006954"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e0b1082c93d9a6b36c18c4354941909.jpg","text":"TemporaryFile(/tmp/multipartBody7965317109242465614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257523837,"filename":"image_01012026_08_16_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be645f1dc24befc6a0c5f633f052cc14.jpg","text":"TemporaryFile(/tmp/multipartBody8293462093546680652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257523837,"filename":"image_01012026_08_16_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56ae1383d4053d90e70ed55429d00480.jpg","text":"TemporaryFile(/tmp/multipartBody8520903077036923661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257523837,"filename":"image_01012026_08_16_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33e821e7c86b64937794308f6dfdb4e1.jpg","text":"TemporaryFile(/tmp/multipartBody3131448908278811569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257523837,"filename":"image_01012026_08_15_55_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44f685eae003c6c6290feef05e990cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2940528863565236902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257523837,"filename":"image_01012026_08_15_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64ad47adc2cb1b7c02d97bb2b01d894d.jpg","text":"TemporaryFile(/tmp/multipartBody5716063025758973174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257523837,"filename":"image_01012026_08_15_35_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006948","file1":"1402006947","file0":"1402006946","file4":"1402006951","file5":"1402006954","file3":"1402006949"},"map_files_photo_id_array":[{"photo_id":"1402006954","filename":"file5"},{"photo_id":"1402006948","filename":"file2"},{"photo_id":"1402006951","filename":"file4"},{"photo_id":"1402006947","filename":"file1"},{"photo_id":"1402006946","filename":"file0"},{"photo_id":"1402006949","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006949":["hashtag1","hashtag2"]},{"1402006951":["hashtag1","hashtag2"]},{"1402006954":["hashtag1","hashtag2"]},{"1402006948":["hashtag1","hashtag2"]},{"1402006947":["hashtag1","hashtag2"]},{"1402006946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006949, 1402006951, 1402006954, 1402006948, 1402006947, 1402006946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6129949092865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:51:42.430307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_51_4112.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_53_1645.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_57_4263.jpg', '/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_59_1590.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_01_1705.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_04_3648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_51_4112.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_53_1645.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_57_4263.jpg
/home/pi/Desktop/images/04112025/15/46/image_04112025_15_46_59_1590.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_01_1705.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_04_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":["1402006966","1402006960","1402006963","1402006962","1402006965","1402006964"],"photo_ids_order":["1402006960","1402006962","1402006963","1402006964","1402006965","1402006966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d19e031b18fea230f9ef04a62d85c371.jpg","text":"TemporaryFile(/tmp/multipartBody5517774842307298750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257564408,"filename":"image_04112025_15_47_04_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58f5493f03173bb37bcb073fb8637f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4394318206468969940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257564408,"filename":"image_04112025_15_46_51_4112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82b93df7b61ac395f71ede286a817053.jpg","text":"TemporaryFile(/tmp/multipartBody4431971795951541517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257564408,"filename":"image_04112025_15_46_57_4263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcbe2523209458e2c7c01564368d9057.jpg","text":"TemporaryFile(/tmp/multipartBody2597467609457455187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257564408,"filename":"image_04112025_15_46_53_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/038e0ea4d90f917afc94a74a04bfd642.jpg","text":"TemporaryFile(/tmp/multipartBody4158289503769028485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257564408,"filename":"image_04112025_15_47_01_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/065f71000635705765c6a997b1cbdbc5.jpg","text":"TemporaryFile(/tmp/multipartBody1270100404731318640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257564408,"filename":"image_04112025_15_46_59_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006963","file1":"1402006962","file0":"1402006960","file4":"1402006965","file5":"1402006966","file3":"1402006964"},"map_files_photo_id_array":[{"photo_id":"1402006966","filename":"file5"},{"photo_id":"1402006963","filename":"file2"},{"photo_id":"1402006965","filename":"file4"},{"photo_id":"1402006962","filename":"file1"},{"photo_id":"1402006960","filename":"file0"},{"photo_id":"1402006964","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402006966":["hashtag1","hashtag2"]},{"1402006960":["hashtag1","hashtag2"]},{"1402006963":["hashtag1","hashtag2"]},{"1402006962":["hashtag1","hashtag2"]},{"1402006965":["hashtag1","hashtag2"]},{"1402006964":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402006966, 1402006960, 1402006963, 1402006962, 1402006965, 1402006964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50170421600342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:52:22.649499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_35_10738.jpg', '/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_45_9649.jpg', '/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_55_9675.jpg', '/home/pi/Desktop/images/01012026/08/16/image_01012026_08_17_05_10600.jpg', '/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_15_9561.jpg', '/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_26_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_35_10738.jpg
/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_45_9649.jpg
/home/pi/Desktop/images/01012026/08/16/image_01012026_08_16_55_9675.jpg
/home/pi/Desktop/images/01012026/08/16/image_01012026_08_17_05_10600.jpg
/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_15_9561.jpg
/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_26_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402006972","1402006974","1402006968","1402006976","1402006979","1402006970"],"photo_ids_order":["1402006968","1402006970","1402006972","1402006974","1402006976","1402006979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acecc87d18dc8e5b40d18a3a8f532ac2.jpg","text":"TemporaryFile(/tmp/multipartBody1987608264053499097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257603244,"filename":"image_01012026_08_16_55_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0030587e7a4ebf29eecfc0da53e6e762.jpg","text":"TemporaryFile(/tmp/multipartBody1484170505288544942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257603244,"filename":"image_01012026_08_17_05_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80cad626e09bd9fe51e2268517563bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7352334666912201076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257603244,"filename":"image_01012026_08_16_35_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b704470e2b1fa81b9adec19964a21da.jpg","text":"TemporaryFile(/tmp/multipartBody6997375726074228598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257603244,"filename":"image_01012026_08_17_15_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b5def28ff1a1782dd231f1462c9a770.jpg","text":"TemporaryFile(/tmp/multipartBody3096479685456507116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257603244,"filename":"image_01012026_08_17_26_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ecaea41f9f657cef3008c6448bd25a6.jpg","text":"TemporaryFile(/tmp/multipartBody3699271725641353320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257603244,"filename":"image_01012026_08_16_45_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006972","file1":"1402006970","file0":"1402006968","file4":"1402006976","file5":"1402006979","file3":"1402006974"},"map_files_photo_id_array":[{"photo_id":"1402006979","filename":"file5"},{"photo_id":"1402006972","filename":"file2"},{"photo_id":"1402006976","filename":"file4"},{"photo_id":"1402006970","filename":"file1"},{"photo_id":"1402006968","filename":"file0"},{"photo_id":"1402006974","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006972":["hashtag1","hashtag2"]},{"1402006974":["hashtag1","hashtag2"]},{"1402006968":["hashtag1","hashtag2"]},{"1402006976":["hashtag1","hashtag2"]},{"1402006979":["hashtag1","hashtag2"]},{"1402006970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006972, 1402006974, 1402006968, 1402006976, 1402006979, 1402006970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31668496131897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:53:03.467748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_35_9682.jpg', '/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_45_9663.jpg', '/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_56_10712.jpg', '/home/pi/Desktop/images/01012026/08/17/image_01012026_08_18_05_9638.jpg', '/home/pi/Desktop/images/01012026/08/18/image_01012026_08_18_26_10580.jpg', '/home/pi/Desktop/images/01012026/08/18/image_01012026_08_18_35_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_35_9682.jpg
/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_45_9663.jpg
/home/pi/Desktop/images/01012026/08/17/image_01012026_08_17_56_10712.jpg
/home/pi/Desktop/images/01012026/08/17/image_01012026_08_18_05_9638.jpg
/home/pi/Desktop/images/01012026/08/18/image_01012026_08_18_26_10580.jpg
/home/pi/Desktop/images/01012026/08/18/image_01012026_08_18_35_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":["1402006984","1402006987","1402006981","1402006983","1402006982","1402006985"],"photo_ids_order":["1402006981","1402006982","1402006983","1402006984","1402006985","1402006987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24c75ba15ae5df1824673d1df52e18fa.jpg","text":"TemporaryFile(/tmp/multipartBody4391086693681804127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257644165,"filename":"image_01012026_08_18_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5245a31f03871e692e7f05cef2324d62.jpg","text":"TemporaryFile(/tmp/multipartBody8842466611012094804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257644165,"filename":"image_01012026_08_18_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/028325ab9d50810424f1fc86cc739bf0.jpg","text":"TemporaryFile(/tmp/multipartBody432307652905304565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257644165,"filename":"image_01012026_08_17_35_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b4377730c610d2cf268f1dff3776b89.jpg","text":"TemporaryFile(/tmp/multipartBody5539604078192076695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257644165,"filename":"image_01012026_08_17_56_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f29061c19552936b8104b465d330a2fb.jpg","text":"TemporaryFile(/tmp/multipartBody5788572449759278051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257644165,"filename":"image_01012026_08_17_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85bfd64c0491facb48a17cfa6a8e4d89.jpg","text":"TemporaryFile(/tmp/multipartBody1779791167151223647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257644165,"filename":"image_01012026_08_18_26_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402006983","file1":"1402006982","file0":"1402006981","file4":"1402006985","file5":"1402006987","file3":"1402006984"},"map_files_photo_id_array":[{"photo_id":"1402006987","filename":"file5"},{"photo_id":"1402006983","filename":"file2"},{"photo_id":"1402006985","filename":"file4"},{"photo_id":"1402006982","filename":"file1"},{"photo_id":"1402006981","filename":"file0"},{"photo_id":"1402006984","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402006984":["hashtag1","hashtag2"]},{"1402006987":["hashtag1","hashtag2"]},{"1402006981":["hashtag1","hashtag2"]},{"1402006983":["hashtag1","hashtag2"]},{"1402006982":["hashtag1","hashtag2"]},{"1402006985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402006984, 1402006987, 1402006981, 1402006983, 1402006982, 1402006985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82509517669678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:53:42.807633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_07_2647.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_10_2635.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_12_2776.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_16_3601.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_19_2768.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_21_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_07_2647.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_10_2635.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_12_2776.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_16_3601.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_19_2768.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_21_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":["1402007003","1402007002","1402007005","1402007004","1402006997","1402007000"],"photo_ids_order":["1402006997","1402007000","1402007002","1402007003","1402007004","1402007005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d699f9abcc941782bf3468d4d6548642.jpg","text":"TemporaryFile(/tmp/multipartBody2610352307040635930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257684784,"filename":"image_04112025_15_47_16_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc78ad26dccf7b413dfee2ff8985f4f1.jpg","text":"TemporaryFile(/tmp/multipartBody7509563683091024484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257684784,"filename":"image_04112025_15_47_12_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e0368f12d0dcd865b58c839d290fd72.jpg","text":"TemporaryFile(/tmp/multipartBody7078541444777712066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257684784,"filename":"image_04112025_15_47_21_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/002edbbf3f4dbd581c23e367e7f65d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8366295891872074559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257684784,"filename":"image_04112025_15_47_19_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be98de0b8193e180a1ef3f1915cd52ce.jpg","text":"TemporaryFile(/tmp/multipartBody260374998425258999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257684784,"filename":"image_04112025_15_47_07_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f98f31dffde9f4c199fe2b9172afe633.jpg","text":"TemporaryFile(/tmp/multipartBody8872971744017031470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257684784,"filename":"image_04112025_15_47_10_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007002","file1":"1402007000","file0":"1402006997","file4":"1402007004","file5":"1402007005","file3":"1402007003"},"map_files_photo_id_array":[{"photo_id":"1402007005","filename":"file5"},{"photo_id":"1402007002","filename":"file2"},{"photo_id":"1402007004","filename":"file4"},{"photo_id":"1402007000","filename":"file1"},{"photo_id":"1402006997","filename":"file0"},{"photo_id":"1402007003","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402007003":["hashtag1","hashtag2"]},{"1402007002":["hashtag1","hashtag2"]},{"1402007005":["hashtag1","hashtag2"]},{"1402007004":["hashtag1","hashtag2"]},{"1402006997":["hashtag1","hashtag2"]},{"1402007000":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402007003, 1402007002, 1402007005, 1402007004, 1402006997, 1402007000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.09704661369324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:54:32.123812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_24_2992.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_28_3730.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_31_2695.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_33_2682.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_37_3658.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_41_4225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_24_2992.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_28_3730.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_31_2695.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_33_2682.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_37_3658.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_41_4225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402007020","1402007011","1402007013","1402007019","1402007021","1402007015"],"photo_ids_order":["1402007011","1402007013","1402007015","1402007019","1402007020","1402007021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae6dc5d8da48de63f1a0c1d518791552.jpg","text":"TemporaryFile(/tmp/multipartBody268744213885971623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257734061,"filename":"image_04112025_15_47_37_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e6ae54d8d0b9e0c2eb9d79222277270.jpg","text":"TemporaryFile(/tmp/multipartBody3305928694196115805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257734061,"filename":"image_04112025_15_47_24_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f95991422b357e55890aca02c24f76d6.jpg","text":"TemporaryFile(/tmp/multipartBody5170209759830459013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257734061,"filename":"image_04112025_15_47_28_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1db261bb891012ce63e052c5a5321da0.jpg","text":"TemporaryFile(/tmp/multipartBody3031390737451013385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257734061,"filename":"image_04112025_15_47_33_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f22af31c5be2627f185bb1074f05787.jpg","text":"TemporaryFile(/tmp/multipartBody7088635993550695680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257734061,"filename":"image_04112025_15_47_41_4225.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dda6a535df7ba0fab52cb29ee771feba.jpg","text":"TemporaryFile(/tmp/multipartBody519743359997349761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257734061,"filename":"image_04112025_15_47_31_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007015","file1":"1402007013","file0":"1402007011","file4":"1402007020","file5":"1402007021","file3":"1402007019"},"map_files_photo_id_array":[{"photo_id":"1402007021","filename":"file5"},{"photo_id":"1402007015","filename":"file2"},{"photo_id":"1402007020","filename":"file4"},{"photo_id":"1402007013","filename":"file1"},{"photo_id":"1402007011","filename":"file0"},{"photo_id":"1402007019","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402007020":["hashtag1","hashtag2"]},{"1402007011":["hashtag1","hashtag2"]},{"1402007013":["hashtag1","hashtag2"]},{"1402007019":["hashtag1","hashtag2"]},{"1402007021":["hashtag1","hashtag2"]},{"1402007015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402007020, 1402007011, 1402007013, 1402007019, 1402007021, 1402007015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59101843833923 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:55:12.169678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_44_2959.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_46_1529.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_48_2624.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_52_3657.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_55_2533.jpg', '/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_57_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_44_2959.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_46_1529.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_48_2624.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_52_3657.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_55_2533.jpg
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_47_57_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402007023","1402007032","1402007034","1402007030","1402007024","1402007027"],"photo_ids_order":["1402007023","1402007024","1402007027","1402007030","1402007032","1402007034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce4052f6fba004ec0732792d033b9e1c.jpg","text":"TemporaryFile(/tmp/multipartBody8449525666248845892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257773963,"filename":"image_04112025_15_47_44_2959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0845062c95077c68973ef9ead5ab00ba.jpg","text":"TemporaryFile(/tmp/multipartBody4256356216998821499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257773963,"filename":"image_04112025_15_47_55_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb1c0973d8fc660311f6524e7f1e8503.jpg","text":"TemporaryFile(/tmp/multipartBody807575938120469434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257773963,"filename":"image_04112025_15_47_57_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/055b7d5b952888baf04642afa56b9cc2.jpg","text":"TemporaryFile(/tmp/multipartBody3655051377328075327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257773963,"filename":"image_04112025_15_47_52_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c10df70746dab36709aa66098919c8a.jpg","text":"TemporaryFile(/tmp/multipartBody3402263497724435416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257773963,"filename":"image_04112025_15_47_46_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/152326353523275d2c5a1118e76e203e.jpg","text":"TemporaryFile(/tmp/multipartBody5351014434368383503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257773963,"filename":"image_04112025_15_47_48_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007027","file1":"1402007024","file0":"1402007023","file4":"1402007032","file5":"1402007034","file3":"1402007030"},"map_files_photo_id_array":[{"photo_id":"1402007034","filename":"file5"},{"photo_id":"1402007027","filename":"file2"},{"photo_id":"1402007032","filename":"file4"},{"photo_id":"1402007024","filename":"file1"},{"photo_id":"1402007023","filename":"file0"},{"photo_id":"1402007030","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402007023":["hashtag1","hashtag2"]},{"1402007032":["hashtag1","hashtag2"]},{"1402007034":["hashtag1","hashtag2"]},{"1402007030":["hashtag1","hashtag2"]},{"1402007024":["hashtag1","hashtag2"]},{"1402007027":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402007023, 1402007032, 1402007034, 1402007030, 1402007024, 1402007027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95847678184509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:56:02.969254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/18/image_01012026_08_18_45_9654.jpg', '/home/pi/Desktop/images/01012026/08/18/image_01012026_08_18_55_10589.jpg', '/home/pi/Desktop/images/01012026/08/18/image_01012026_08_19_05_9607.jpg', '/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_15_9754.jpg', '/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_25_10672.jpg', '/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_35_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/18/image_01012026_08_18_45_9654.jpg
/home/pi/Desktop/images/01012026/08/18/image_01012026_08_18_55_10589.jpg
/home/pi/Desktop/images/01012026/08/18/image_01012026_08_19_05_9607.jpg
/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_15_9754.jpg
/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_25_10672.jpg
/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_35_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":["1402007041","1402007044","1402007038","1402007040","1402007037","1402007039"],"photo_ids_order":["1402007037","1402007038","1402007039","1402007040","1402007041","1402007044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/863b28d9d264083a09036e75c7ce64b9.jpg","text":"TemporaryFile(/tmp/multipartBody930985019791115713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257823596,"filename":"image_01012026_08_19_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9bc9edb3fb6647a8ff62f8f6ba4f7e5d.jpg","text":"TemporaryFile(/tmp/multipartBody6269314579830550274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257823596,"filename":"image_01012026_08_19_35_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b339647131c35062f4f8eec7dbcdc31b.jpg","text":"TemporaryFile(/tmp/multipartBody262559951598115421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257823596,"filename":"image_01012026_08_18_55_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7500cc97bfdab8b9db1126af339b87c6.jpg","text":"TemporaryFile(/tmp/multipartBody3139733235089661639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257823596,"filename":"image_01012026_08_19_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d15d44b3db934b0f4e4a0b754655c0d.jpg","text":"TemporaryFile(/tmp/multipartBody3990905488085129156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257823596,"filename":"image_01012026_08_18_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56a7b8004fca12a16abdfb81a82c85ff.jpg","text":"TemporaryFile(/tmp/multipartBody1290259793332538330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257823596,"filename":"image_01012026_08_19_05_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007039","file1":"1402007038","file0":"1402007037","file4":"1402007041","file5":"1402007044","file3":"1402007040"},"map_files_photo_id_array":[{"photo_id":"1402007044","filename":"file5"},{"photo_id":"1402007039","filename":"file2"},{"photo_id":"1402007041","filename":"file4"},{"photo_id":"1402007038","filename":"file1"},{"photo_id":"1402007037","filename":"file0"},{"photo_id":"1402007040","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402007041":["hashtag1","hashtag2"]},{"1402007044":["hashtag1","hashtag2"]},{"1402007038":["hashtag1","hashtag2"]},{"1402007040":["hashtag1","hashtag2"]},{"1402007037":["hashtag1","hashtag2"]},{"1402007039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402007041, 1402007044, 1402007038, 1402007040, 1402007037, 1402007039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9115936756134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:56:42.663179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/47/image_04112025_15_48_01_3653.jpg', '/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_04_2691.jpg', '/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_06_2637.jpg', '/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_14_7567.jpg', '/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_17_3082.jpg', '/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_19_1713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/47/image_04112025_15_48_01_3653.jpg
/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_04_2691.jpg
/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_06_2637.jpg
/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_14_7567.jpg
/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_17_3082.jpg
/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_19_1713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402007059","1402007056","1402007058","1402007052","1402007055","1402007057"],"photo_ids_order":["1402007052","1402007055","1402007056","1402007057","1402007058","1402007059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4db2f97dacb744c37db9f353dad426c6.jpg","text":"TemporaryFile(/tmp/multipartBody8863144224767154757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257864640,"filename":"image_04112025_15_48_19_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f322e513633a2691ce68f03e4d4a662.jpg","text":"TemporaryFile(/tmp/multipartBody185444472776254644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257864640,"filename":"image_04112025_15_48_06_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c287a05fb941974749b71b99276220e3.jpg","text":"TemporaryFile(/tmp/multipartBody4508095497563301328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257864640,"filename":"image_04112025_15_48_17_3082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b89b17e18b274b84d6d8895aa43a42e.jpg","text":"TemporaryFile(/tmp/multipartBody2003850676919785039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257864640,"filename":"image_04112025_15_48_01_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3807fd9c14a3559c2dab3ba61504f65e.jpg","text":"TemporaryFile(/tmp/multipartBody7007540191863432690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257864640,"filename":"image_04112025_15_48_04_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2dfae4d1c905ef17731e9f0486521c3.jpg","text":"TemporaryFile(/tmp/multipartBody234710004878663848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257864640,"filename":"image_04112025_15_48_14_7567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007056","file1":"1402007055","file0":"1402007052","file4":"1402007058","file5":"1402007059","file3":"1402007057"},"map_files_photo_id_array":[{"photo_id":"1402007059","filename":"file5"},{"photo_id":"1402007056","filename":"file2"},{"photo_id":"1402007058","filename":"file4"},{"photo_id":"1402007055","filename":"file1"},{"photo_id":"1402007052","filename":"file0"},{"photo_id":"1402007057","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402007059":["hashtag1","hashtag2"]},{"1402007056":["hashtag1","hashtag2"]},{"1402007058":["hashtag1","hashtag2"]},{"1402007052":["hashtag1","hashtag2"]},{"1402007055":["hashtag1","hashtag2"]},{"1402007057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402007059, 1402007056, 1402007058, 1402007052, 1402007055, 1402007057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85038733482361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 09:57:22.891649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_45_9718.jpg', '/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_55_10614.jpg', '/home/pi/Desktop/images/01012026/08/19/image_01012026_08_20_05_9582.jpg', '/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_15_9892.jpg', '/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_26_10740.jpg', '/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_35_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_45_9718.jpg
/home/pi/Desktop/images/01012026/08/19/image_01012026_08_19_55_10614.jpg
/home/pi/Desktop/images/01012026/08/19/image_01012026_08_20_05_9582.jpg
/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_15_9892.jpg
/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_26_10740.jpg
/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_35_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":["1402007071","1402007068","1402007062","1402007064","1402007060","1402007066"],"photo_ids_order":["1402007060","1402007062","1402007064","1402007066","1402007068","1402007071"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d157b124600cc405bfba8f52edc49b8.jpg","text":"TemporaryFile(/tmp/multipartBody3915244617501480915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257903486,"filename":"image_01012026_08_20_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eea8d4941070ea2a91de0783297cffc5.jpg","text":"TemporaryFile(/tmp/multipartBody7366252353603711611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257903486,"filename":"image_01012026_08_20_26_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95998cf236ce35074e7bac5025977247.jpg","text":"TemporaryFile(/tmp/multipartBody9202570724328014517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257903486,"filename":"image_01012026_08_19_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5f66b247dfaa9548ebe629599aaf034.jpg","text":"TemporaryFile(/tmp/multipartBody4301263687934795384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257903486,"filename":"image_01012026_08_20_05_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b06ab966da992389b7de1672805afba8.jpg","text":"TemporaryFile(/tmp/multipartBody4491570741157216717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257903486,"filename":"image_01012026_08_19_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a242e60bbe19090e7f4f92e1b1bf46ae.jpg","text":"TemporaryFile(/tmp/multipartBody1369500451373359024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767257903486,"filename":"image_01012026_08_20_15_9892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007064","file1":"1402007062","file0":"1402007060","file4":"1402007068","file5":"1402007071","file3":"1402007066"},"map_files_photo_id_array":[{"photo_id":"1402007071","filename":"file5"},{"photo_id":"1402007064","filename":"file2"},{"photo_id":"1402007068","filename":"file4"},{"photo_id":"1402007062","filename":"file1"},{"photo_id":"1402007060","filename":"file0"},{"photo_id":"1402007066","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402007071":["hashtag1","hashtag2"]},{"1402007068":["hashtag1","hashtag2"]},{"1402007062":["hashtag1","hashtag2"]},{"1402007064":["hashtag1","hashtag2"]},{"1402007060":["hashtag1","hashtag2"]},{"1402007066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402007071, 1402007068, 1402007062, 1402007064, 1402007060, 1402007066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92399501800537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 09:59:03.196061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_45_9639.jpg', '/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_56_10715.jpg', '/home/pi/Desktop/images/01012026/08/20/image_01012026_08_21_05_9575.jpg', '/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_15_9641.jpg', '/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_26_10808.jpg', '/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_35_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_45_9639.jpg
/home/pi/Desktop/images/01012026/08/20/image_01012026_08_20_56_10715.jpg
/home/pi/Desktop/images/01012026/08/20/image_01012026_08_21_05_9575.jpg
/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_15_9641.jpg
/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_26_10808.jpg
/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_35_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":["1402007086","1402007089","1402007080","1402007122","1402007091","1402007083"],"photo_ids_order":["1402007080","1402007083","1402007086","1402007089","1402007091","1402007122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/320883c36b9793f3b95741ef75002ee0.jpg","text":"TemporaryFile(/tmp/multipartBody7988640171993068716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258003920,"filename":"image_01012026_08_21_05_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1885f1d50de43a3cd96c365e7acfe506.jpg","text":"TemporaryFile(/tmp/multipartBody9213872444288244564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258003920,"filename":"image_01012026_08_21_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5afff34b94480a8466fcf1f7583861e0.jpg","text":"TemporaryFile(/tmp/multipartBody1032782022030191337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258003920,"filename":"image_01012026_08_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/2026/1/1/ce687b29e453b11abe62ba560d8b5714.jpg","text":"TemporaryFile(/tmp/multipartBody5011007063011281786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258003920,"filename":"image_01012026_08_21_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82d04aaa7c93db72f0d7892bce6fa388.jpg","text":"TemporaryFile(/tmp/multipartBody4981341936107764244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258003920,"filename":"image_01012026_08_21_26_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/664cb5fcbd7fb79f63a5013e1f4b4b67.jpg","text":"TemporaryFile(/tmp/multipartBody3973430545023888892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258003920,"filename":"image_01012026_08_20_56_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007086","file1":"1402007083","file0":"1402007080","file4":"1402007091","file5":"1402007122","file3":"1402007089"},"map_files_photo_id_array":[{"photo_id":"1402007122","filename":"file5"},{"photo_id":"1402007086","filename":"file2"},{"photo_id":"1402007091","filename":"file4"},{"photo_id":"1402007083","filename":"file1"},{"photo_id":"1402007080","filename":"file0"},{"photo_id":"1402007089","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402007086":["hashtag1","hashtag2"]},{"1402007089":["hashtag1","hashtag2"]},{"1402007080":["hashtag1","hashtag2"]},{"1402007122":["hashtag1","hashtag2"]},{"1402007091":["hashtag1","hashtag2"]},{"1402007083":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402007086, 1402007089, 1402007080, 1402007122, 1402007091, 1402007083)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.766854763031006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 09:59:42.107709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_20_1669.jpg', '/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_45_24257.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_14_29226.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_15_1658.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_19_1741.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_22_1734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_20_1669.jpg
/home/pi/Desktop/images/04112025/15/48/image_04112025_15_48_45_24257.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_14_29226.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_15_1658.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_19_1741.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_22_1734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402007260","1402007418","1402007384","1402007301","1402007348","1402007456"],"photo_ids_order":["1402007260","1402007301","1402007348","1402007384","1402007418","1402007456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/460463c050dee803b2cc33cca5acf575.jpg","text":"TemporaryFile(/tmp/multipartBody3309635237104748273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258043989,"filename":"image_04112025_15_48_20_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff6555799847d7a035d29d4ca972bca1.jpg","text":"TemporaryFile(/tmp/multipartBody6013135214120050072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258043989,"filename":"image_04112025_15_49_19_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2df3905af90d34a41680b3ed4090b614.jpg","text":"TemporaryFile(/tmp/multipartBody4720783044837584364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258043989,"filename":"image_04112025_15_49_15_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/600c8caa68f65d65d3b2b76dec15aa3b.jpg","text":"TemporaryFile(/tmp/multipartBody3987309019723176361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258043989,"filename":"image_04112025_15_48_45_24257.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9070cde37ccef60da129dd4daf94321f.jpg","text":"TemporaryFile(/tmp/multipartBody7308724509414622274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258043989,"filename":"image_04112025_15_49_14_29226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7fde9dc10c36ec1d5c99b34f49b2773.jpg","text":"TemporaryFile(/tmp/multipartBody2927042406149560962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258043989,"filename":"image_04112025_15_49_22_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007348","file1":"1402007301","file0":"1402007260","file4":"1402007418","file5":"1402007456","file3":"1402007384"},"map_files_photo_id_array":[{"photo_id":"1402007456","filename":"file5"},{"photo_id":"1402007348","filename":"file2"},{"photo_id":"1402007418","filename":"file4"},{"photo_id":"1402007301","filename":"file1"},{"photo_id":"1402007260","filename":"file0"},{"photo_id":"1402007384","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402007260":["hashtag1","hashtag2"]},{"1402007418":["hashtag1","hashtag2"]},{"1402007384":["hashtag1","hashtag2"]},{"1402007301":["hashtag1","hashtag2"]},{"1402007348":["hashtag1","hashtag2"]},{"1402007456":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402007260, 1402007418, 1402007384, 1402007301, 1402007348, 1402007456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.650508403778076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:00:22.323661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_45_9614.jpg', '/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_56_10716.jpg', '/home/pi/Desktop/images/01012026/08/21/image_01012026_08_22_05_9657.jpg', '/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_15_9792.jpg', '/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_25_9698.jpg', '/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_36_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_45_9614.jpg
/home/pi/Desktop/images/01012026/08/21/image_01012026_08_21_56_10716.jpg
/home/pi/Desktop/images/01012026/08/21/image_01012026_08_22_05_9657.jpg
/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_15_9792.jpg
/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_25_9698.jpg
/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_36_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":["1402007725","1402007688","1402007576","1402007741","1402007651","1402007615"],"photo_ids_order":["1402007576","1402007615","1402007651","1402007688","1402007725","1402007741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3739767ae37682a94c76fe27c16bada2.jpg","text":"TemporaryFile(/tmp/multipartBody6487458198011546780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258082933,"filename":"image_01012026_08_22_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/677ce1977658a01cffc7ffbef42a1bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2691739072936326510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258082933,"filename":"image_01012026_08_22_15_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb0e4942a0bd8725a42a96c89f22c456.jpg","text":"TemporaryFile(/tmp/multipartBody3197527855785764242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258082933,"filename":"image_01012026_08_21_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea4d6409b9bf5b76955806ccc651c2da.jpg","text":"TemporaryFile(/tmp/multipartBody7395765677538073999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258082933,"filename":"image_01012026_08_22_36_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68745a4aa28a2c165f602c00d8ea6b15.jpg","text":"TemporaryFile(/tmp/multipartBody7273240973263083456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258082933,"filename":"image_01012026_08_22_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8574410ae356b72c468df4c3f88c73b.jpg","text":"TemporaryFile(/tmp/multipartBody4707168286494992306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258082933,"filename":"image_01012026_08_21_56_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007651","file1":"1402007615","file0":"1402007576","file4":"1402007725","file5":"1402007741","file3":"1402007688"},"map_files_photo_id_array":[{"photo_id":"1402007741","filename":"file5"},{"photo_id":"1402007651","filename":"file2"},{"photo_id":"1402007725","filename":"file4"},{"photo_id":"1402007615","filename":"file1"},{"photo_id":"1402007576","filename":"file0"},{"photo_id":"1402007688","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402007725":["hashtag1","hashtag2"]},{"1402007688":["hashtag1","hashtag2"]},{"1402007576":["hashtag1","hashtag2"]},{"1402007741":["hashtag1","hashtag2"]},{"1402007651":["hashtag1","hashtag2"]},{"1402007615":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402007725, 1402007688, 1402007576, 1402007741, 1402007651, 1402007615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71869158744812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:01:03.053976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_45_9650.jpg', '/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_55_9626.jpg', '/home/pi/Desktop/images/01012026/08/22/image_01012026_08_23_06_10696.jpg', '/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_15_9672.jpg', '/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_25_9630.jpg', '/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_35_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_45_9650.jpg
/home/pi/Desktop/images/01012026/08/22/image_01012026_08_22_55_9626.jpg
/home/pi/Desktop/images/01012026/08/22/image_01012026_08_23_06_10696.jpg
/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_15_9672.jpg
/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_25_9630.jpg
/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_35_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":["1402007923","1402008000","1402008056","1402007888","1402007852","1402007963"],"photo_ids_order":["1402007852","1402007888","1402007923","1402007963","1402008000","1402008056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c7ecb896ab7302cfa16eb37a0a3889c.jpg","text":"TemporaryFile(/tmp/multipartBody2231117787690354448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258123701,"filename":"image_01012026_08_23_06_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0b551b65a9c6a4356283c9fb855b20f.jpg","text":"TemporaryFile(/tmp/multipartBody1010571034668822176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258123701,"filename":"image_01012026_08_23_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1721bc5a40204a843cfe470946f1cf63.jpg","text":"TemporaryFile(/tmp/multipartBody2488698400446218571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258123701,"filename":"image_01012026_08_23_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c48db7ffec2384d7d1905d4a106f66e.jpg","text":"TemporaryFile(/tmp/multipartBody8098498966953184835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258123701,"filename":"image_01012026_08_22_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75fdadcf39d0fae4a88759277aba7297.jpg","text":"TemporaryFile(/tmp/multipartBody7193488595984672321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258123701,"filename":"image_01012026_08_22_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/470b5bdfeb236af277a3d8c1df00cfb7.jpg","text":"TemporaryFile(/tmp/multipartBody3164732951118120320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258123701,"filename":"image_01012026_08_23_15_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402007923","file1":"1402007888","file0":"1402007852","file4":"1402008000","file5":"1402008056","file3":"1402007963"},"map_files_photo_id_array":[{"photo_id":"1402008056","filename":"file5"},{"photo_id":"1402007923","filename":"file2"},{"photo_id":"1402008000","filename":"file4"},{"photo_id":"1402007888","filename":"file1"},{"photo_id":"1402007852","filename":"file0"},{"photo_id":"1402007963","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402007923":["hashtag1","hashtag2"]},{"1402008000":["hashtag1","hashtag2"]},{"1402008056":["hashtag1","hashtag2"]},{"1402007888":["hashtag1","hashtag2"]},{"1402007852":["hashtag1","hashtag2"]},{"1402007963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402007923, 1402008000, 1402008056, 1402007888, 1402007852, 1402007963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.407565116882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:01:42.610624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_24_1723.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_26_1684.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_27_1549.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_31_1732.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_34_1597.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_36_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_24_1723.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_26_1684.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_27_1549.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_31_1732.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_34_1597.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_36_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402008576","1402008471","1402008405","1402008335","1402008509","1402008541"],"photo_ids_order":["1402008335","1402008405","1402008471","1402008509","1402008541","1402008576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85979d4af9a664ff1e05bc6ac89951d2.jpg","text":"TemporaryFile(/tmp/multipartBody6428281312829901509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258164468,"filename":"image_04112025_15_49_36_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8caf50ed43cabd9ccf0c6384d2391a7d.jpg","text":"TemporaryFile(/tmp/multipartBody5476551295140684558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258164468,"filename":"image_04112025_15_49_27_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13e32875a0375905af18ad498da6c40a.jpg","text":"TemporaryFile(/tmp/multipartBody1945590332622747944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258164468,"filename":"image_04112025_15_49_26_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c581116fdb7dbd28642fa8b673d0cd53.jpg","text":"TemporaryFile(/tmp/multipartBody8604476125006711542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258164468,"filename":"image_04112025_15_49_24_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d06b04b7a41fe0f93379308f6b0288fb.jpg","text":"TemporaryFile(/tmp/multipartBody5104965235759460309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258164468,"filename":"image_04112025_15_49_31_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7930b8a858926489b944407376846fe4.jpg","text":"TemporaryFile(/tmp/multipartBody4364212855152009567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258164468,"filename":"image_04112025_15_49_34_1597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402008471","file1":"1402008405","file0":"1402008335","file4":"1402008541","file5":"1402008576","file3":"1402008509"},"map_files_photo_id_array":[{"photo_id":"1402008576","filename":"file5"},{"photo_id":"1402008471","filename":"file2"},{"photo_id":"1402008541","filename":"file4"},{"photo_id":"1402008405","filename":"file1"},{"photo_id":"1402008335","filename":"file0"},{"photo_id":"1402008509","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402008576":["hashtag1","hashtag2"]},{"1402008471":["hashtag1","hashtag2"]},{"1402008405":["hashtag1","hashtag2"]},{"1402008335":["hashtag1","hashtag2"]},{"1402008509":["hashtag1","hashtag2"]},{"1402008541":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402008576, 1402008471, 1402008405, 1402008335, 1402008509, 1402008541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70530843734741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:02:22.795062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_45_9674.jpg', '/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_55_9683.jpg', '/home/pi/Desktop/images/01012026/08/23/image_01012026_08_24_06_10773.jpg', '/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_15_9685.jpg', '/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_25_9572.jpg', '/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_36_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_45_9674.jpg
/home/pi/Desktop/images/01012026/08/23/image_01012026_08_23_55_9683.jpg
/home/pi/Desktop/images/01012026/08/23/image_01012026_08_24_06_10773.jpg
/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_15_9685.jpg
/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_25_9572.jpg
/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_36_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":["1402008840","1402008896","1402008965","1402008947","1402008803","1402008961"],"photo_ids_order":["1402008803","1402008840","1402008896","1402008947","1402008961","1402008965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b95618fe0d9611232961f6c695cc5dae.jpg","text":"TemporaryFile(/tmp/multipartBody4387063408948136803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258203429,"filename":"image_01012026_08_23_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72af323e4bc0375907fd3060bb879ee6.jpg","text":"TemporaryFile(/tmp/multipartBody4524189457152900201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258203429,"filename":"image_01012026_08_24_06_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b3ca944ef91699527acfbfb72786190.jpg","text":"TemporaryFile(/tmp/multipartBody1361505973717448196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258203429,"filename":"image_01012026_08_24_36_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d619bce1bcb5c2b29efb186dd6d83076.jpg","text":"TemporaryFile(/tmp/multipartBody3425086712781092203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258203429,"filename":"image_01012026_08_24_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14917cabf92fac4f6a5ae3ed244eaa7a.jpg","text":"TemporaryFile(/tmp/multipartBody5000999477070574067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258203429,"filename":"image_01012026_08_23_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ba59cd79690a6b3607e6fecb0a67163.jpg","text":"TemporaryFile(/tmp/multipartBody7628814968999683255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258203429,"filename":"image_01012026_08_24_25_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402008896","file1":"1402008840","file0":"1402008803","file4":"1402008961","file5":"1402008965","file3":"1402008947"},"map_files_photo_id_array":[{"photo_id":"1402008965","filename":"file5"},{"photo_id":"1402008896","filename":"file2"},{"photo_id":"1402008961","filename":"file4"},{"photo_id":"1402008840","filename":"file1"},{"photo_id":"1402008803","filename":"file0"},{"photo_id":"1402008947","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402008840":["hashtag1","hashtag2"]},{"1402008896":["hashtag1","hashtag2"]},{"1402008965":["hashtag1","hashtag2"]},{"1402008947":["hashtag1","hashtag2"]},{"1402008803":["hashtag1","hashtag2"]},{"1402008961":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402008840, 1402008896, 1402008965, 1402008947, 1402008803, 1402008961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.731353998184204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:03:02.665521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_45_9868.jpg', '/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_55_9714.jpg', '/home/pi/Desktop/images/01012026/08/24/image_01012026_08_25_05_9796.jpg', '/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_16_10668.jpg', '/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_25_9790.jpg', '/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_35_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_45_9868.jpg
/home/pi/Desktop/images/01012026/08/24/image_01012026_08_24_55_9714.jpg
/home/pi/Desktop/images/01012026/08/24/image_01012026_08_25_05_9796.jpg
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_16_10668.jpg
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_25_9790.jpg
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_35_9568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402008972","1402008975","1402008974","1402008986","1402008973","1402008970"],"photo_ids_order":["1402008970","1402008972","1402008973","1402008974","1402008975","1402008986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c31f5b1168671e68a7c1b43cb7ed2508.jpg","text":"TemporaryFile(/tmp/multipartBody2721520224624231452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258243381,"filename":"image_01012026_08_24_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd7c82a918185ca2e8e47f6158d4f706.jpg","text":"TemporaryFile(/tmp/multipartBody9171466762678908361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258243381,"filename":"image_01012026_08_25_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f026580cc618b3955631657c8aff534.jpg","text":"TemporaryFile(/tmp/multipartBody3026996983567805150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258243381,"filename":"image_01012026_08_25_16_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d1ecbdcbf356ae6d3c7de2a1a24bb58.jpg","text":"TemporaryFile(/tmp/multipartBody173554994946347579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258243381,"filename":"image_01012026_08_25_35_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0ff4b90b3fa60aec0e1bf88bee33f2a.jpg","text":"TemporaryFile(/tmp/multipartBody7601403559992980038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258243381,"filename":"image_01012026_08_25_05_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4542bedec139ca17cc62a5f146a6ef55.jpg","text":"TemporaryFile(/tmp/multipartBody5406165007084028900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258243381,"filename":"image_01012026_08_24_45_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402008973","file1":"1402008972","file0":"1402008970","file4":"1402008975","file5":"1402008986","file3":"1402008974"},"map_files_photo_id_array":[{"photo_id":"1402008986","filename":"file5"},{"photo_id":"1402008973","filename":"file2"},{"photo_id":"1402008975","filename":"file4"},{"photo_id":"1402008972","filename":"file1"},{"photo_id":"1402008970","filename":"file0"},{"photo_id":"1402008974","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402008972":["hashtag1","hashtag2"]},{"1402008975":["hashtag1","hashtag2"]},{"1402008974":["hashtag1","hashtag2"]},{"1402008986":["hashtag1","hashtag2"]},{"1402008973":["hashtag1","hashtag2"]},{"1402008970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402008972, 1402008975, 1402008974, 1402008986, 1402008973, 1402008970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4626567363739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:03:41.983995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_54_2992.jpg', '/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_56_1640.jpg', '/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_27_1600.jpg', '/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_46_1544.jpg', '/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_47_1547.jpg', '/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_51_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_54_2992.jpg
/home/pi/Desktop/images/04112025/15/49/image_04112025_15_49_56_1640.jpg
/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_27_1600.jpg
/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_46_1544.jpg
/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_47_1547.jpg
/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_51_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":["1402009245","1402009131","1402009229","1402009202","1402009168","1402009228"],"photo_ids_order":["1402009131","1402009168","1402009202","1402009228","1402009229","1402009245"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3803d1bfadd0eff41a5f591398cb4be.jpg","text":"TemporaryFile(/tmp/multipartBody5834316866484610034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258283851,"filename":"image_04112025_15_50_51_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79b3f403df1c0706ab27306ee09ada8b.jpg","text":"TemporaryFile(/tmp/multipartBody6942175444523538981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258283851,"filename":"image_04112025_15_49_54_2992.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89d2bd2b3b11254e0eb945b1bd3453ed.jpg","text":"TemporaryFile(/tmp/multipartBody1932402171477341382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258283851,"filename":"image_04112025_15_50_47_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c615ecf7fb26b5c471e3051880f3820e.jpg","text":"TemporaryFile(/tmp/multipartBody5522075066670080477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258283851,"filename":"image_04112025_15_50_27_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc74c51098ba5eb84caa376563c1bf92.jpg","text":"TemporaryFile(/tmp/multipartBody8870977400577284803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258283851,"filename":"image_04112025_15_49_56_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36112eeebed35b6372091a4f1511a48c.jpg","text":"TemporaryFile(/tmp/multipartBody8606853832266197378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258283851,"filename":"image_04112025_15_50_46_1544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009202","file1":"1402009168","file0":"1402009131","file4":"1402009229","file5":"1402009245","file3":"1402009228"},"map_files_photo_id_array":[{"photo_id":"1402009245","filename":"file5"},{"photo_id":"1402009202","filename":"file2"},{"photo_id":"1402009229","filename":"file4"},{"photo_id":"1402009168","filename":"file1"},{"photo_id":"1402009131","filename":"file0"},{"photo_id":"1402009228","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009245":["hashtag1","hashtag2"]},{"1402009131":["hashtag1","hashtag2"]},{"1402009229":["hashtag1","hashtag2"]},{"1402009202":["hashtag1","hashtag2"]},{"1402009168":["hashtag1","hashtag2"]},{"1402009228":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009245, 1402009131, 1402009229, 1402009202, 1402009168, 1402009228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43886137008667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:04:22.210647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_45_9698.jpg', '/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_55_10814.jpg', '/home/pi/Desktop/images/01012026/08/25/image_01012026_08_26_05_9686.jpg', '/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_15_9709.jpg', '/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_26_10643.jpg', '/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_35_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_45_9698.jpg
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_55_10814.jpg
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_26_05_9686.jpg
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_15_9709.jpg
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_26_10643.jpg
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_35_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.4872894287109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:04:32.148326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_54_1630.jpg', '/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_56_1756.jpg', '/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_57_1659.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_02_1671.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_05_1660.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_07_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_54_1630.jpg
/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_56_1756.jpg
/home/pi/Desktop/images/04112025/15/50/image_04112025_15_50_57_1659.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_02_1671.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_05_1660.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_07_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":["1402009344","1402009346","1402009345","1402009342","1402009336","1402009339"],"photo_ids_order":["1402009336","1402009339","1402009342","1402009344","1402009345","1402009346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbcd7577e1c75d2f5e14d5bc8cf854df.jpg","text":"TemporaryFile(/tmp/multipartBody1804804649219072440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258334049,"filename":"image_04112025_15_51_02_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b75557dc6f155706a8bf9ea808d1bda.jpg","text":"TemporaryFile(/tmp/multipartBody4760489099018299798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258334049,"filename":"image_04112025_15_51_07_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af74ef22271ae8c9c6bc2d5291ef7c6d.jpg","text":"TemporaryFile(/tmp/multipartBody48316291701887071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258334049,"filename":"image_04112025_15_51_05_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9001ddd0989070b18d97a03f2a81b6a.jpg","text":"TemporaryFile(/tmp/multipartBody6615945448275371415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258334049,"filename":"image_04112025_15_50_57_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a724e2e82b98dd3df5dd085dc51428a2.jpg","text":"TemporaryFile(/tmp/multipartBody351015592989790897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258334049,"filename":"image_04112025_15_50_54_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ed8234b03b71153b7dd8422e2307930.jpg","text":"TemporaryFile(/tmp/multipartBody2560660865012676782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258334049,"filename":"image_04112025_15_50_56_1756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009342","file1":"1402009339","file0":"1402009336","file4":"1402009345","file5":"1402009346","file3":"1402009344"},"map_files_photo_id_array":[{"photo_id":"1402009346","filename":"file5"},{"photo_id":"1402009342","filename":"file2"},{"photo_id":"1402009345","filename":"file4"},{"photo_id":"1402009339","filename":"file1"},{"photo_id":"1402009336","filename":"file0"},{"photo_id":"1402009344","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009344":["hashtag1","hashtag2"]},{"1402009346":["hashtag1","hashtag2"]},{"1402009345":["hashtag1","hashtag2"]},{"1402009342":["hashtag1","hashtag2"]},{"1402009336":["hashtag1","hashtag2"]},{"1402009339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009344, 1402009346, 1402009345, 1402009342, 1402009336, 1402009339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46771049499512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:05:12.476842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_09_1613.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_12_1893.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_14_1721.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_16_1636.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_24_1566.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_35_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_09_1613.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_12_1893.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_14_1721.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_16_1636.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_24_1566.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_35_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":["1402009356","1402009347","1402009352","1402009349","1402009354","1402009348"],"photo_ids_order":["1402009347","1402009348","1402009349","1402009352","1402009354","1402009356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/182da16db813d03ceecc6f2c7c15da94.jpg","text":"TemporaryFile(/tmp/multipartBody5894336434739546018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258374207,"filename":"image_04112025_15_51_35_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a867726bcb71e4fe489222a8f747bfbc.jpg","text":"TemporaryFile(/tmp/multipartBody4639436159264531787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258374207,"filename":"image_04112025_15_51_09_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cce79761857bf6b81ff1150f79df4494.jpg","text":"TemporaryFile(/tmp/multipartBody8233321187779902082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258374207,"filename":"image_04112025_15_51_16_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2b7e59091f2a3006234261ff6de9b22.jpg","text":"TemporaryFile(/tmp/multipartBody6979974971673019768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258374207,"filename":"image_04112025_15_51_14_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9348926dfdd676a090c89c3d04e687a.jpg","text":"TemporaryFile(/tmp/multipartBody4570652829948952076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258374207,"filename":"image_04112025_15_51_24_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a6eb29a2186ab6eb14d45498066cb0c.jpg","text":"TemporaryFile(/tmp/multipartBody5034264575471081030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258374207,"filename":"image_04112025_15_51_12_1893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009349","file1":"1402009348","file0":"1402009347","file4":"1402009354","file5":"1402009356","file3":"1402009352"},"map_files_photo_id_array":[{"photo_id":"1402009356","filename":"file5"},{"photo_id":"1402009349","filename":"file2"},{"photo_id":"1402009354","filename":"file4"},{"photo_id":"1402009348","filename":"file1"},{"photo_id":"1402009347","filename":"file0"},{"photo_id":"1402009352","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009356":["hashtag1","hashtag2"]},{"1402009347":["hashtag1","hashtag2"]},{"1402009352":["hashtag1","hashtag2"]},{"1402009349":["hashtag1","hashtag2"]},{"1402009354":["hashtag1","hashtag2"]},{"1402009348":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009356, 1402009347, 1402009352, 1402009349, 1402009354, 1402009348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.310959815979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:06:03.128199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_45_9698.jpg', '/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_55_10814.jpg', '/home/pi/Desktop/images/01012026/08/25/image_01012026_08_26_05_9686.jpg', '/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_15_9709.jpg', '/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_26_10643.jpg', '/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_35_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_45_9698.jpg
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_25_55_10814.jpg
/home/pi/Desktop/images/01012026/08/25/image_01012026_08_26_05_9686.jpg
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_15_9709.jpg
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_26_10643.jpg
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_35_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":["1402009365","1402009370","1402009367","1402009363","1402009366","1402009368"],"photo_ids_order":["1402009363","1402009365","1402009366","1402009367","1402009368","1402009370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/308ac1d089ba6955d9aaf67333495dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3992970514805089005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258423755,"filename":"image_01012026_08_25_55_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc19ec82e123df1ffa8a4175ed81cf89.jpg","text":"TemporaryFile(/tmp/multipartBody8911849855539060440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258423755,"filename":"image_01012026_08_26_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdb0f846f2a8c1e484363951937f9c6b.jpg","text":"TemporaryFile(/tmp/multipartBody6454941189529571979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258423755,"filename":"image_01012026_08_26_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be94514be8d49a88d08b188dc49d3d88.jpg","text":"TemporaryFile(/tmp/multipartBody8315057222642175332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258423755,"filename":"image_01012026_08_25_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eebbd59e7c3c10b9751c5fbc0bd3891e.jpg","text":"TemporaryFile(/tmp/multipartBody7120060776344006549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258423755,"filename":"image_01012026_08_26_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e556f36abab23df1b35d4a9d0a837db.jpg","text":"TemporaryFile(/tmp/multipartBody8041931456071752196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258423755,"filename":"image_01012026_08_26_26_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009366","file1":"1402009365","file0":"1402009363","file4":"1402009368","file5":"1402009370","file3":"1402009367"},"map_files_photo_id_array":[{"photo_id":"1402009370","filename":"file5"},{"photo_id":"1402009366","filename":"file2"},{"photo_id":"1402009368","filename":"file4"},{"photo_id":"1402009365","filename":"file1"},{"photo_id":"1402009363","filename":"file0"},{"photo_id":"1402009367","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009365":["hashtag1","hashtag2"]},{"1402009370":["hashtag1","hashtag2"]},{"1402009367":["hashtag1","hashtag2"]},{"1402009363":["hashtag1","hashtag2"]},{"1402009366":["hashtag1","hashtag2"]},{"1402009368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009365, 1402009370, 1402009367, 1402009363, 1402009366, 1402009368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.658127307891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:06:42.695747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_40_1752.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_44_1575.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_45_1530.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_49_1548.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_50_1608.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_53_1595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_40_1752.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_44_1575.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_45_1530.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_49_1548.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_50_1608.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_53_1595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009379","1402009382","1402009376","1402009381","1402009378","1402009380"],"photo_ids_order":["1402009376","1402009378","1402009379","1402009380","1402009381","1402009382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3da559b176bf791fcf9df9a1f7473b06.jpg","text":"TemporaryFile(/tmp/multipartBody3304246668924139435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258464579,"filename":"image_04112025_15_51_45_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85ee9d91c0cc2605d275437cc35ca4be.jpg","text":"TemporaryFile(/tmp/multipartBody5192612328719318365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258464579,"filename":"image_04112025_15_51_53_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/239aea605107115f71fb0b695758a152.jpg","text":"TemporaryFile(/tmp/multipartBody6841206045073220737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258464579,"filename":"image_04112025_15_51_40_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e949ee8df1adcc1339840d3e5a95118d.jpg","text":"TemporaryFile(/tmp/multipartBody8709705599856039813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258464579,"filename":"image_04112025_15_51_50_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7db5bfa1d9d360b57549623e104795a7.jpg","text":"TemporaryFile(/tmp/multipartBody7469471888436767982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258464579,"filename":"image_04112025_15_51_44_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57ecf27f138407b54bbab03a8cffb6fc.jpg","text":"TemporaryFile(/tmp/multipartBody4260703359197522151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258464579,"filename":"image_04112025_15_51_49_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009379","file1":"1402009378","file0":"1402009376","file4":"1402009381","file5":"1402009382","file3":"1402009380"},"map_files_photo_id_array":[{"photo_id":"1402009382","filename":"file5"},{"photo_id":"1402009379","filename":"file2"},{"photo_id":"1402009381","filename":"file4"},{"photo_id":"1402009378","filename":"file1"},{"photo_id":"1402009376","filename":"file0"},{"photo_id":"1402009380","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009379":["hashtag1","hashtag2"]},{"1402009382":["hashtag1","hashtag2"]},{"1402009376":["hashtag1","hashtag2"]},{"1402009381":["hashtag1","hashtag2"]},{"1402009378":["hashtag1","hashtag2"]},{"1402009380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009379, 1402009382, 1402009376, 1402009381, 1402009378, 1402009380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93493986129761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:07:21.897777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_45_9751.jpg', '/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_55_9728.jpg', '/home/pi/Desktop/images/01012026/08/26/image_01012026_08_27_05_10637.jpg', '/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_15_9826.jpg', '/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_25_9656.jpg', '/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_35_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_45_9751.jpg
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_26_55_9728.jpg
/home/pi/Desktop/images/01012026/08/26/image_01012026_08_27_05_10637.jpg
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_15_9826.jpg
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_25_9656.jpg
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_35_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":["1402009383","1402009391","1402009385","1402009387","1402009395","1402009389"],"photo_ids_order":["1402009383","1402009385","1402009387","1402009389","1402009391","1402009395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97c7dc2299f89f4fc6752b6342c41548.jpg","text":"TemporaryFile(/tmp/multipartBody9047362443246567410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258502524,"filename":"image_01012026_08_26_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98584cdc84a5f1290752fbb611e244e3.jpg","text":"TemporaryFile(/tmp/multipartBody2474150649306102048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258502524,"filename":"image_01012026_08_27_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/916d438e0ce4f5348b734645d8dbb876.jpg","text":"TemporaryFile(/tmp/multipartBody6610550469531189603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258502524,"filename":"image_01012026_08_26_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d1daa965499ea1906e80c396a75d585.jpg","text":"TemporaryFile(/tmp/multipartBody818851832320656848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258502524,"filename":"image_01012026_08_27_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73b99745edbb73a85b828a67a887ccb5.jpg","text":"TemporaryFile(/tmp/multipartBody8298300667561383710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258502524,"filename":"image_01012026_08_27_35_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f9f8c5a6e6fffc05ebd533cae8a796c.jpg","text":"TemporaryFile(/tmp/multipartBody3601490160588536584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258502524,"filename":"image_01012026_08_27_15_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009387","file1":"1402009385","file0":"1402009383","file4":"1402009391","file5":"1402009395","file3":"1402009389"},"map_files_photo_id_array":[{"photo_id":"1402009395","filename":"file5"},{"photo_id":"1402009387","filename":"file2"},{"photo_id":"1402009391","filename":"file4"},{"photo_id":"1402009385","filename":"file1"},{"photo_id":"1402009383","filename":"file0"},{"photo_id":"1402009389","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009383":["hashtag1","hashtag2"]},{"1402009391":["hashtag1","hashtag2"]},{"1402009385":["hashtag1","hashtag2"]},{"1402009387":["hashtag1","hashtag2"]},{"1402009395":["hashtag1","hashtag2"]},{"1402009389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009383, 1402009391, 1402009385, 1402009387, 1402009395, 1402009389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86662983894348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:08:02.563536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_45_9660.jpg', '/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_55_9659.jpg', '/home/pi/Desktop/images/01012026/08/27/image_01012026_08_28_05_10681.jpg', '/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_15_9775.jpg', '/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_25_9862.jpg', '/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_35_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_45_9660.jpg
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_55_9659.jpg
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_28_05_10681.jpg
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_15_9775.jpg
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_25_9862.jpg
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_35_9670.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.5147426128387451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:08:12.023939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_55_1577.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_57_1604.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_58_1540.jpg', '/home/pi/Desktop/images/04112025/15/51/image_04112025_15_52_00_1674.jpg', '/home/pi/Desktop/images/04112025/15/52/image_04112025_15_52_03_1502.jpg', '/home/pi/Desktop/images/04112025/15/52/image_04112025_15_52_31_25160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_55_1577.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_57_1604.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_51_58_1540.jpg
/home/pi/Desktop/images/04112025/15/51/image_04112025_15_52_00_1674.jpg
/home/pi/Desktop/images/04112025/15/52/image_04112025_15_52_03_1502.jpg
/home/pi/Desktop/images/04112025/15/52/image_04112025_15_52_31_25160.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009404","1402009407","1402009409","1402009400","1402009402","1402009411"],"photo_ids_order":["1402009400","1402009402","1402009404","1402009407","1402009409","1402009411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2c842fcb5e5da4984cb74d223f2658c.jpg","text":"TemporaryFile(/tmp/multipartBody5396151521881255413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258553771,"filename":"image_04112025_15_51_58_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/864d33e5ada7d414b7db154a8cdaa35c.jpg","text":"TemporaryFile(/tmp/multipartBody2786453323691915362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258553771,"filename":"image_04112025_15_52_00_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e49fb7f3322aac56be6a4959edae170.jpg","text":"TemporaryFile(/tmp/multipartBody386816152600659528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258553771,"filename":"image_04112025_15_52_03_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d25f7f9052e6a807b7f21d168573a59.jpg","text":"TemporaryFile(/tmp/multipartBody4597102206637439789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258553771,"filename":"image_04112025_15_51_55_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8f265425b5508a0ae45ef27174bd452.jpg","text":"TemporaryFile(/tmp/multipartBody8303810509231924888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258553771,"filename":"image_04112025_15_51_57_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/251f065a28f730d0fa8f486ea03ee417.jpg","text":"TemporaryFile(/tmp/multipartBody1883149964158812210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258553771,"filename":"image_04112025_15_52_31_25160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009404","file1":"1402009402","file0":"1402009400","file4":"1402009409","file5":"1402009411","file3":"1402009407"},"map_files_photo_id_array":[{"photo_id":"1402009411","filename":"file5"},{"photo_id":"1402009404","filename":"file2"},{"photo_id":"1402009409","filename":"file4"},{"photo_id":"1402009402","filename":"file1"},{"photo_id":"1402009400","filename":"file0"},{"photo_id":"1402009407","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009404":["hashtag1","hashtag2"]},{"1402009407":["hashtag1","hashtag2"]},{"1402009409":["hashtag1","hashtag2"]},{"1402009400":["hashtag1","hashtag2"]},{"1402009402":["hashtag1","hashtag2"]},{"1402009411":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009404, 1402009407, 1402009409, 1402009400, 1402009402, 1402009411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.821375370025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:09:03.353812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_45_9660.jpg', '/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_55_9659.jpg', '/home/pi/Desktop/images/01012026/08/27/image_01012026_08_28_05_10681.jpg', '/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_15_9775.jpg', '/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_25_9862.jpg', '/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_35_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_45_9660.jpg
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_27_55_9659.jpg
/home/pi/Desktop/images/01012026/08/27/image_01012026_08_28_05_10681.jpg
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_15_9775.jpg
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_25_9862.jpg
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_35_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":["1402009422","1402009419","1402009416","1402009418","1402009420","1402009417"],"photo_ids_order":["1402009416","1402009417","1402009418","1402009419","1402009420","1402009422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e0010c0bfca3877edd93a4766bb52f2.jpg","text":"TemporaryFile(/tmp/multipartBody8652607886559442914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258604066,"filename":"image_01012026_08_28_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2eb9e10a7bac233650d4f84928f289f6.jpg","text":"TemporaryFile(/tmp/multipartBody3641310878457822360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258604066,"filename":"image_01012026_08_28_15_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bce1b9d12d20da22dd3a658899e52e7d.jpg","text":"TemporaryFile(/tmp/multipartBody4555232900947975862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258604066,"filename":"image_01012026_08_27_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da206d45692b727c18ef836e1afa5d99.jpg","text":"TemporaryFile(/tmp/multipartBody1031422329674061997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258604066,"filename":"image_01012026_08_28_05_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/860f431a19c2aa39a397dd7b52c739a2.jpg","text":"TemporaryFile(/tmp/multipartBody2658945288836799349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258604066,"filename":"image_01012026_08_28_25_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/016a65d67f47acc83a340116db344b07.jpg","text":"TemporaryFile(/tmp/multipartBody3120260291536934123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258604066,"filename":"image_01012026_08_27_55_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009418","file1":"1402009417","file0":"1402009416","file4":"1402009420","file5":"1402009422","file3":"1402009419"},"map_files_photo_id_array":[{"photo_id":"1402009422","filename":"file5"},{"photo_id":"1402009418","filename":"file2"},{"photo_id":"1402009420","filename":"file4"},{"photo_id":"1402009417","filename":"file1"},{"photo_id":"1402009416","filename":"file0"},{"photo_id":"1402009419","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009422":["hashtag1","hashtag2"]},{"1402009419":["hashtag1","hashtag2"]},{"1402009416":["hashtag1","hashtag2"]},{"1402009418":["hashtag1","hashtag2"]},{"1402009420":["hashtag1","hashtag2"]},{"1402009417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009422, 1402009419, 1402009416, 1402009418, 1402009420, 1402009417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.452221632003784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:09:42.239005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/52/image_04112025_15_52_43_11940.jpg', '/home/pi/Desktop/images/04112025/15/52/image_04112025_15_52_45_1556.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_07_3019.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_15_7975.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_18_3201.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_19_1513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/52/image_04112025_15_52_43_11940.jpg
/home/pi/Desktop/images/04112025/15/52/image_04112025_15_52_45_1556.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_07_3019.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_15_7975.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_18_3201.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_19_1513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009431","1402009434","1402009428","1402009433","1402009432","1402009435"],"photo_ids_order":["1402009428","1402009431","1402009432","1402009433","1402009434","1402009435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27ff165c166346d0d4564735b4edba21.jpg","text":"TemporaryFile(/tmp/multipartBody1000671083364319163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258644118,"filename":"image_04112025_15_52_45_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d6106ceb783c3bb004baf06630a51ce.jpg","text":"TemporaryFile(/tmp/multipartBody3799781005271530762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258644118,"filename":"image_04112025_15_54_18_3201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ded1464bf4fab867a0e5989387d53c1d.jpg","text":"TemporaryFile(/tmp/multipartBody4124375630856988965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258644118,"filename":"image_04112025_15_52_43_11940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c55245d71ad3ab6679030d69fcef645.jpg","text":"TemporaryFile(/tmp/multipartBody1234742829645408567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258644118,"filename":"image_04112025_15_54_15_7975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99aeb0cfa3d3df7852b572d286e0b293.jpg","text":"TemporaryFile(/tmp/multipartBody5931021991467507493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258644118,"filename":"image_04112025_15_54_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c1280f727a1163c10e43a436372192b.jpg","text":"TemporaryFile(/tmp/multipartBody5103609619414467020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258644118,"filename":"image_04112025_15_54_19_1513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009432","file1":"1402009431","file0":"1402009428","file4":"1402009434","file5":"1402009435","file3":"1402009433"},"map_files_photo_id_array":[{"photo_id":"1402009435","filename":"file5"},{"photo_id":"1402009432","filename":"file2"},{"photo_id":"1402009434","filename":"file4"},{"photo_id":"1402009431","filename":"file1"},{"photo_id":"1402009428","filename":"file0"},{"photo_id":"1402009433","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009431":["hashtag1","hashtag2"]},{"1402009434":["hashtag1","hashtag2"]},{"1402009428":["hashtag1","hashtag2"]},{"1402009433":["hashtag1","hashtag2"]},{"1402009432":["hashtag1","hashtag2"]},{"1402009435":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009431, 1402009434, 1402009428, 1402009433, 1402009432, 1402009435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.851853132247925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:10:22.440907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_45_10585.jpg', '/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_55_9732.jpg', '/home/pi/Desktop/images/01012026/08/28/image_01012026_08_29_05_9669.jpg', '/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_15_10667.jpg', '/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_25_9685.jpg', '/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_35_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_45_10585.jpg
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_28_55_9732.jpg
/home/pi/Desktop/images/01012026/08/28/image_01012026_08_29_05_9669.jpg
/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_15_10667.jpg
/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_25_9685.jpg
/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_35_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":["1402009443","1402009437","1402009448","1402009439","1402009444","1402009441"],"photo_ids_order":["1402009437","1402009439","1402009441","1402009443","1402009444","1402009448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e292513b03c4a2c1c041e404ba66dce3.jpg","text":"TemporaryFile(/tmp/multipartBody572621485531134282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258683043,"filename":"image_01012026_08_29_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/794c98f0c6668d42e07a542512943769.jpg","text":"TemporaryFile(/tmp/multipartBody755100882285241678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258683043,"filename":"image_01012026_08_28_45_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60f0b400e4cfa9a571d54ec1fd32e68c.jpg","text":"TemporaryFile(/tmp/multipartBody26302223878781535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258683043,"filename":"image_01012026_08_29_35_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/140b37258c70b10f7feab928e7b9cc97.jpg","text":"TemporaryFile(/tmp/multipartBody4519610171993587472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258683043,"filename":"image_01012026_08_28_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/846b0782ae6f366b3b365d3c3ef7a2e4.jpg","text":"TemporaryFile(/tmp/multipartBody9079516029283020315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258683043,"filename":"image_01012026_08_29_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e64a138fe4d64d8eee81d19897f934b1.jpg","text":"TemporaryFile(/tmp/multipartBody7040772603459947454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258683043,"filename":"image_01012026_08_29_05_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009441","file1":"1402009439","file0":"1402009437","file4":"1402009444","file5":"1402009448","file3":"1402009443"},"map_files_photo_id_array":[{"photo_id":"1402009448","filename":"file5"},{"photo_id":"1402009441","filename":"file2"},{"photo_id":"1402009444","filename":"file4"},{"photo_id":"1402009439","filename":"file1"},{"photo_id":"1402009437","filename":"file0"},{"photo_id":"1402009443","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009443":["hashtag1","hashtag2"]},{"1402009437":["hashtag1","hashtag2"]},{"1402009448":["hashtag1","hashtag2"]},{"1402009439":["hashtag1","hashtag2"]},{"1402009444":["hashtag1","hashtag2"]},{"1402009441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009443, 1402009437, 1402009448, 1402009439, 1402009444, 1402009441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.949419021606445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:11:03.206824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_46_10739.jpg', '/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_55_9593.jpg', '/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_14_10051.jpg', '/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_25_10814.jpg', '/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_35_9692.jpg', '/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_46_10739.jpg
/home/pi/Desktop/images/01012026/08/29/image_01012026_08_29_55_9593.jpg
/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_14_10051.jpg
/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_25_10814.jpg
/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_35_9692.jpg
/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_44_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":["1402009455","1402009449","1402009452","1402009451","1402009450","1402009453"],"photo_ids_order":["1402009449","1402009450","1402009451","1402009452","1402009453","1402009455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9930a714a44278072dba87410f0189b2.jpg","text":"TemporaryFile(/tmp/multipartBody7807308247457218350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258723854,"filename":"image_01012026_08_30_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9466c31c846b19c1f1f6233b4309c48c.jpg","text":"TemporaryFile(/tmp/multipartBody2266722697440863236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258723854,"filename":"image_01012026_08_29_46_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b67389192344d132baf86ceaae84df91.jpg","text":"TemporaryFile(/tmp/multipartBody7087234851037477227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258723854,"filename":"image_01012026_08_30_25_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78de51eca2fc585bb42053570323ca90.jpg","text":"TemporaryFile(/tmp/multipartBody842132983084214895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258723854,"filename":"image_01012026_08_30_14_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b1091890aa0918194edc172ba4976a0.jpg","text":"TemporaryFile(/tmp/multipartBody5166760216464389129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258723854,"filename":"image_01012026_08_29_55_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3e32cf1ed24563e0cd8d5fa4f78ca07.jpg","text":"TemporaryFile(/tmp/multipartBody6433347287610115964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258723854,"filename":"image_01012026_08_30_35_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009451","file1":"1402009450","file0":"1402009449","file4":"1402009453","file5":"1402009455","file3":"1402009452"},"map_files_photo_id_array":[{"photo_id":"1402009455","filename":"file5"},{"photo_id":"1402009451","filename":"file2"},{"photo_id":"1402009453","filename":"file4"},{"photo_id":"1402009450","filename":"file1"},{"photo_id":"1402009449","filename":"file0"},{"photo_id":"1402009452","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009455":["hashtag1","hashtag2"]},{"1402009449":["hashtag1","hashtag2"]},{"1402009452":["hashtag1","hashtag2"]},{"1402009451":["hashtag1","hashtag2"]},{"1402009450":["hashtag1","hashtag2"]},{"1402009453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009455, 1402009449, 1402009452, 1402009451, 1402009450, 1402009453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35738801956177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:11:42.658161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_21_1629.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_23_1785.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_25_2615.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_28_2555.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_32_3645.jpg', '/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_37_5929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_21_1629.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_23_1785.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_25_2615.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_28_2555.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_32_3645.jpg
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_37_5929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009461","1402009470","1402009472","1402009469","1402009471","1402009468"],"photo_ids_order":["1402009461","1402009468","1402009469","1402009470","1402009471","1402009472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29b197a0af254eb72f60ee607de39ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1084487807838836154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258764557,"filename":"image_04112025_15_54_21_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/faa3e369b9505bd5857371c7e5535121.jpg","text":"TemporaryFile(/tmp/multipartBody941324941117190569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258764557,"filename":"image_04112025_15_54_28_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8725cb9f98eb99993edfd64c0f5eb8aa.jpg","text":"TemporaryFile(/tmp/multipartBody1747421478377566837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258764557,"filename":"image_04112025_15_54_37_5929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87384d284ced680d259582bd25a7edc1.jpg","text":"TemporaryFile(/tmp/multipartBody1588692124785547000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258764557,"filename":"image_04112025_15_54_25_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2eaf3756b4ed15c4607c1420f4361cd.jpg","text":"TemporaryFile(/tmp/multipartBody7681435259733040074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258764557,"filename":"image_04112025_15_54_32_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed249f89b240bce03eb5a5ba6ad14475.jpg","text":"TemporaryFile(/tmp/multipartBody7764816561237134428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258764557,"filename":"image_04112025_15_54_23_1785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009469","file1":"1402009468","file0":"1402009461","file4":"1402009471","file5":"1402009472","file3":"1402009470"},"map_files_photo_id_array":[{"photo_id":"1402009472","filename":"file5"},{"photo_id":"1402009469","filename":"file2"},{"photo_id":"1402009471","filename":"file4"},{"photo_id":"1402009468","filename":"file1"},{"photo_id":"1402009461","filename":"file0"},{"photo_id":"1402009470","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009461":["hashtag1","hashtag2"]},{"1402009470":["hashtag1","hashtag2"]},{"1402009472":["hashtag1","hashtag2"]},{"1402009469":["hashtag1","hashtag2"]},{"1402009471":["hashtag1","hashtag2"]},{"1402009468":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009461, 1402009470, 1402009472, 1402009469, 1402009471, 1402009468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99453854560852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:12:22.834816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_55_10594.jpg', '/home/pi/Desktop/images/01012026/08/30/image_01012026_08_31_05_9719.jpg', '/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_14_9726.jpg', '/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_25_10648.jpg', '/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_35_9554.jpg', '/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_44_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/30/image_01012026_08_30_55_10594.jpg
/home/pi/Desktop/images/01012026/08/30/image_01012026_08_31_05_9719.jpg
/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_14_9726.jpg
/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_25_10648.jpg
/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_35_9554.jpg
/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_44_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009482","1402009476","1402009484","1402009478","1402009480","1402009474"],"photo_ids_order":["1402009474","1402009476","1402009478","1402009480","1402009482","1402009484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/503386509dc6e86a19d8b72c6614a726.jpg","text":"TemporaryFile(/tmp/multipartBody6314678981779385712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258803428,"filename":"image_01012026_08_31_35_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a4db67113170f2fa45fe7de939ed3b1.jpg","text":"TemporaryFile(/tmp/multipartBody7118672475556127568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258803428,"filename":"image_01012026_08_31_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/520747e980f435181d480d31047ca47b.jpg","text":"TemporaryFile(/tmp/multipartBody1383668782459924619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258803428,"filename":"image_01012026_08_31_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0780aa41cf758c3347d43745bb094dcf.jpg","text":"TemporaryFile(/tmp/multipartBody4197690502371330505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258803428,"filename":"image_01012026_08_31_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db43524d17d9b26eb820c20ced71b2d7.jpg","text":"TemporaryFile(/tmp/multipartBody2920351414024020321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258803428,"filename":"image_01012026_08_31_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc947a1bbd56180a615f71ea4de15ef6.jpg","text":"TemporaryFile(/tmp/multipartBody1302999462514851133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258803428,"filename":"image_01012026_08_30_55_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009478","file1":"1402009476","file0":"1402009474","file4":"1402009482","file5":"1402009484","file3":"1402009480"},"map_files_photo_id_array":[{"photo_id":"1402009484","filename":"file5"},{"photo_id":"1402009478","filename":"file2"},{"photo_id":"1402009482","filename":"file4"},{"photo_id":"1402009476","filename":"file1"},{"photo_id":"1402009474","filename":"file0"},{"photo_id":"1402009480","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009482":["hashtag1","hashtag2"]},{"1402009476":["hashtag1","hashtag2"]},{"1402009484":["hashtag1","hashtag2"]},{"1402009478":["hashtag1","hashtag2"]},{"1402009480":["hashtag1","hashtag2"]},{"1402009474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009482, 1402009476, 1402009484, 1402009478, 1402009480, 1402009474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.07743716239929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:13:02.747193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_55_10614.jpg', '/home/pi/Desktop/images/01012026/08/31/image_01012026_08_32_05_9666.jpg', '/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_16_11784.jpg', '/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_24_7825.jpg', '/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_35_10730.jpg', '/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_45_9926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/31/image_01012026_08_31_55_10614.jpg
/home/pi/Desktop/images/01012026/08/31/image_01012026_08_32_05_9666.jpg
/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_16_11784.jpg
/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_24_7825.jpg
/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_35_10730.jpg
/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_45_9926.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009487","1402009489","1402009486","1402009491","1402009485","1402009488"],"photo_ids_order":["1402009485","1402009486","1402009487","1402009488","1402009489","1402009491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae10f3d60158a3e4a6ce3d8b0b7f7a65.jpg","text":"TemporaryFile(/tmp/multipartBody3533063665100015757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258843411,"filename":"image_01012026_08_32_16_11784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f3cd329b3856edcfa698f5053c773be.jpg","text":"TemporaryFile(/tmp/multipartBody6992202871220986235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258843411,"filename":"image_01012026_08_32_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf48d9560259d750e076ed1bb283416e.jpg","text":"TemporaryFile(/tmp/multipartBody3023090661539566539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258843411,"filename":"image_01012026_08_32_05_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c66991c23ae0b9b9ba599996cd50ff9.jpg","text":"TemporaryFile(/tmp/multipartBody3130963000818268165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258843411,"filename":"image_01012026_08_32_45_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70a88126281a90ea469749289f860571.jpg","text":"TemporaryFile(/tmp/multipartBody1481643168568977325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258843411,"filename":"image_01012026_08_31_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/514760c14fe7569c68b1a9666027d2b8.jpg","text":"TemporaryFile(/tmp/multipartBody2432202587695986444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258843411,"filename":"image_01012026_08_32_24_7825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009487","file1":"1402009486","file0":"1402009485","file4":"1402009489","file5":"1402009491","file3":"1402009488"},"map_files_photo_id_array":[{"photo_id":"1402009491","filename":"file5"},{"photo_id":"1402009487","filename":"file2"},{"photo_id":"1402009489","filename":"file4"},{"photo_id":"1402009486","filename":"file1"},{"photo_id":"1402009485","filename":"file0"},{"photo_id":"1402009488","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009487":["hashtag1","hashtag2"]},{"1402009489":["hashtag1","hashtag2"]},{"1402009486":["hashtag1","hashtag2"]},{"1402009491":["hashtag1","hashtag2"]},{"1402009485":["hashtag1","hashtag2"]},{"1402009488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009487, 1402009489, 1402009486, 1402009491, 1402009485, 1402009488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37014198303223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:13:41.967265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_43_5835.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_04_20542.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_10_6609.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_12_1613.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_16_4113.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_18_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/54/image_04112025_15_54_43_5835.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_04_20542.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_10_6609.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_12_1613.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_16_4113.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_18_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":["1402009497","1402009503","1402009500","1402009502","1402009505","1402009501"],"photo_ids_order":["1402009497","1402009500","1402009501","1402009502","1402009503","1402009505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/778e8963d1dca9d854c899e5296930aa.jpg","text":"TemporaryFile(/tmp/multipartBody7381866883135109550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258883870,"filename":"image_04112025_15_54_43_5835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/853a1b07583cb46ca8948150ab114a87.jpg","text":"TemporaryFile(/tmp/multipartBody1005251028282529432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258883870,"filename":"image_04112025_15_55_16_4113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27fe348e8dd494c57e194612c2ce2288.jpg","text":"TemporaryFile(/tmp/multipartBody1456119047000076406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258883870,"filename":"image_04112025_15_55_04_20542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61c791471950be8c39a07b79174b0438.jpg","text":"TemporaryFile(/tmp/multipartBody9114088563597482179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258883870,"filename":"image_04112025_15_55_12_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ff18627702caf2094dd714ac21b6c36.jpg","text":"TemporaryFile(/tmp/multipartBody7273046088545277604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258883870,"filename":"image_04112025_15_55_18_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4132ac695f9aa2a5bcd777ccc72639c.jpg","text":"TemporaryFile(/tmp/multipartBody4218421344285266075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258883870,"filename":"image_04112025_15_55_10_6609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009501","file1":"1402009500","file0":"1402009497","file4":"1402009503","file5":"1402009505","file3":"1402009502"},"map_files_photo_id_array":[{"photo_id":"1402009505","filename":"file5"},{"photo_id":"1402009501","filename":"file2"},{"photo_id":"1402009503","filename":"file4"},{"photo_id":"1402009500","filename":"file1"},{"photo_id":"1402009497","filename":"file0"},{"photo_id":"1402009502","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009497":["hashtag1","hashtag2"]},{"1402009503":["hashtag1","hashtag2"]},{"1402009500":["hashtag1","hashtag2"]},{"1402009502":["hashtag1","hashtag2"]},{"1402009505":["hashtag1","hashtag2"]},{"1402009501":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009497, 1402009503, 1402009500, 1402009502, 1402009505, 1402009501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04758429527283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:14:22.199457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_55_9790.jpg', '/home/pi/Desktop/images/01012026/08/32/image_01012026_08_33_04_9801.jpg', '/home/pi/Desktop/images/01012026/08/33/image_01012026_08_33_14_9828.jpg', '/home/pi/Desktop/images/01012026/08/33/image_01012026_08_33_25_10741.jpg', '/home/pi/Desktop/images/01012026/08/33/image_01012026_08_33_35_9690.jpg', '/home/pi/Desktop/images/01012026/08/33/image_01012026_08_33_55_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/32/image_01012026_08_32_55_9790.jpg
/home/pi/Desktop/images/01012026/08/32/image_01012026_08_33_04_9801.jpg
/home/pi/Desktop/images/01012026/08/33/image_01012026_08_33_14_9828.jpg
/home/pi/Desktop/images/01012026/08/33/image_01012026_08_33_25_10741.jpg
/home/pi/Desktop/images/01012026/08/33/image_01012026_08_33_35_9690.jpg
/home/pi/Desktop/images/01012026/08/33/image_01012026_08_33_55_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009527","1402009515","1402009517","1402009513","1402009507","1402009510"],"photo_ids_order":["1402009507","1402009510","1402009513","1402009515","1402009517","1402009527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/536dff92a6008ff5927d497cc2f9bbbc.jpg","text":"TemporaryFile(/tmp/multipartBody2531770058353718574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258922824,"filename":"image_01012026_08_33_55_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8714a32effed62862c7f328a1fd3bfd0.jpg","text":"TemporaryFile(/tmp/multipartBody1043122720401579286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258922824,"filename":"image_01012026_08_33_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95ea410ff3a439a3341b447232986d68.jpg","text":"TemporaryFile(/tmp/multipartBody121905795668226675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258922824,"filename":"image_01012026_08_33_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13b43b3aac435fdf4feccc2d63478440.jpg","text":"TemporaryFile(/tmp/multipartBody8241308899384244194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258922824,"filename":"image_01012026_08_33_14_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/189a94705d9be980ea0b8cedc7062b61.jpg","text":"TemporaryFile(/tmp/multipartBody5834602897802140957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258922824,"filename":"image_01012026_08_32_55_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4e10db81fead5f9a245a657df10ba29.jpg","text":"TemporaryFile(/tmp/multipartBody4317656850628744388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258922824,"filename":"image_01012026_08_33_04_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009513","file1":"1402009510","file0":"1402009507","file4":"1402009517","file5":"1402009527","file3":"1402009515"},"map_files_photo_id_array":[{"photo_id":"1402009527","filename":"file5"},{"photo_id":"1402009513","filename":"file2"},{"photo_id":"1402009517","filename":"file4"},{"photo_id":"1402009510","filename":"file1"},{"photo_id":"1402009507","filename":"file0"},{"photo_id":"1402009515","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009527":["hashtag1","hashtag2"]},{"1402009515":["hashtag1","hashtag2"]},{"1402009517":["hashtag1","hashtag2"]},{"1402009513":["hashtag1","hashtag2"]},{"1402009507":["hashtag1","hashtag2"]},{"1402009510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009527, 1402009515, 1402009517, 1402009513, 1402009507, 1402009510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06070399284363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:15:03.038585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/33/image_01012026_08_34_05_9561.jpg', '/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_15_10470.jpg', '/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_25_9738.jpg', '/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_35_9816.jpg', '/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_44_9747.jpg', '/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_55_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/33/image_01012026_08_34_05_9561.jpg
/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_15_10470.jpg
/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_25_9738.jpg
/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_35_9816.jpg
/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_44_9747.jpg
/home/pi/Desktop/images/01012026/08/34/image_01012026_08_34_55_10639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009530","1402009532","1402009529","1402009531","1402009534","1402009528"],"photo_ids_order":["1402009528","1402009529","1402009530","1402009531","1402009532","1402009534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af3c332177afe6f099442db6fd941150.jpg","text":"TemporaryFile(/tmp/multipartBody1083352729496474831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258963692,"filename":"image_01012026_08_34_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dea9984cfc62d993f04c174f40c0dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7882074934360910038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258963692,"filename":"image_01012026_08_34_44_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa9d6ee59c726144a2a0f5a021cd758a.jpg","text":"TemporaryFile(/tmp/multipartBody5996785602308541423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258963692,"filename":"image_01012026_08_34_15_10470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73ff3fe0c989b41b5bc4957bb4ead31c.jpg","text":"TemporaryFile(/tmp/multipartBody4358351152632274298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258963692,"filename":"image_01012026_08_34_35_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78eb1202835429a22fbd88270c93c5cc.jpg","text":"TemporaryFile(/tmp/multipartBody8561301120375953452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258963692,"filename":"image_01012026_08_34_55_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a12ad7acdce9caf0d3ed62b87720245.jpg","text":"TemporaryFile(/tmp/multipartBody3789291419059906414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767258963692,"filename":"image_01012026_08_34_05_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009530","file1":"1402009529","file0":"1402009528","file4":"1402009532","file5":"1402009534","file3":"1402009531"},"map_files_photo_id_array":[{"photo_id":"1402009534","filename":"file5"},{"photo_id":"1402009530","filename":"file2"},{"photo_id":"1402009532","filename":"file4"},{"photo_id":"1402009529","filename":"file1"},{"photo_id":"1402009528","filename":"file0"},{"photo_id":"1402009531","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009530":["hashtag1","hashtag2"]},{"1402009532":["hashtag1","hashtag2"]},{"1402009529":["hashtag1","hashtag2"]},{"1402009531":["hashtag1","hashtag2"]},{"1402009534":["hashtag1","hashtag2"]},{"1402009528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009530, 1402009532, 1402009529, 1402009531, 1402009534, 1402009528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30820846557617 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:15:42.421553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_19_1595.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_21_1716.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_23_1602.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_24_1551.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_26_1708.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_27_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_19_1595.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_21_1716.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_23_1602.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_24_1551.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_26_1708.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_27_1567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009545","1402009547","1402009544","1402009543","1402009546","1402009540"],"photo_ids_order":["1402009540","1402009543","1402009544","1402009545","1402009546","1402009547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea247261135673c9dd30ef6cfb79c407.jpg","text":"TemporaryFile(/tmp/multipartBody8465758264287726626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259004196,"filename":"image_04112025_15_55_24_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7cd16a588b25612b25f791c922dcc7e.jpg","text":"TemporaryFile(/tmp/multipartBody7272221816263957096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259004196,"filename":"image_04112025_15_55_27_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad822c813f48a9485a7cf0ca4b80ec01.jpg","text":"TemporaryFile(/tmp/multipartBody5722130393191219858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259004196,"filename":"image_04112025_15_55_23_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2c818502a719077200988f3cacf3c69.jpg","text":"TemporaryFile(/tmp/multipartBody1987584154613542884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259004196,"filename":"image_04112025_15_55_21_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2eae033c17ab3e930a6257e08ec9014c.jpg","text":"TemporaryFile(/tmp/multipartBody2373455025366801437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259004196,"filename":"image_04112025_15_55_26_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71ec3ea2f983a91b6691b23f8973cbd7.jpg","text":"TemporaryFile(/tmp/multipartBody8254500857060366215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259004196,"filename":"image_04112025_15_55_19_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009544","file1":"1402009543","file0":"1402009540","file4":"1402009546","file5":"1402009547","file3":"1402009545"},"map_files_photo_id_array":[{"photo_id":"1402009547","filename":"file5"},{"photo_id":"1402009544","filename":"file2"},{"photo_id":"1402009546","filename":"file4"},{"photo_id":"1402009543","filename":"file1"},{"photo_id":"1402009540","filename":"file0"},{"photo_id":"1402009545","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009545":["hashtag1","hashtag2"]},{"1402009547":["hashtag1","hashtag2"]},{"1402009544":["hashtag1","hashtag2"]},{"1402009543":["hashtag1","hashtag2"]},{"1402009546":["hashtag1","hashtag2"]},{"1402009540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009545, 1402009547, 1402009544, 1402009543, 1402009546, 1402009540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.529045820236206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:16:22.727048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_26_11861.jpg', '/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_35_8652.jpg', '/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_44_9627.jpg', '/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_55_10661.jpg', '/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_04_9378.jpg', '/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_14_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_26_11861.jpg
/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_35_8652.jpg
/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_44_9627.jpg
/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_55_10661.jpg
/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_04_9378.jpg
/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_14_9768.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.4941098690032959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:16:32.648566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_29_1607.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_31_1614.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_32_1620.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_34_1592.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_36_1630.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_37_1926.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_29_1607.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_31_1614.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_32_1620.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_34_1592.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_36_1630.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_37_1926.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009560","1402009554","1402009563","1402009557","1402009562","1402009564"],"photo_ids_order":["1402009554","1402009557","1402009560","1402009562","1402009563","1402009564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a32ac3170dbee45c4d527e2236447312.jpg","text":"TemporaryFile(/tmp/multipartBody773787616891636807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259054528,"filename":"image_04112025_15_55_32_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd84bc040731d7fb371fe311a03cad7e.jpg","text":"TemporaryFile(/tmp/multipartBody8694441087797186194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259054528,"filename":"image_04112025_15_55_29_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40049ab82d8252330795161d5cd4fba7.jpg","text":"TemporaryFile(/tmp/multipartBody7680068025963137836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259054528,"filename":"image_04112025_15_55_36_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15840ad19d09925a0fd34680618002b6.jpg","text":"TemporaryFile(/tmp/multipartBody5845585011797918341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259054528,"filename":"image_04112025_15_55_31_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7bc4ca9fab32741c8e3fa6782129e3e1.jpg","text":"TemporaryFile(/tmp/multipartBody5205473283038244604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259054528,"filename":"image_04112025_15_55_34_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35e98d511d8c614d080d840d073c8ee3.jpg","text":"TemporaryFile(/tmp/multipartBody6215323108523659497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259054528,"filename":"image_04112025_15_55_37_1926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009560","file1":"1402009557","file0":"1402009554","file4":"1402009563","file5":"1402009564","file3":"1402009562"},"map_files_photo_id_array":[{"photo_id":"1402009564","filename":"file5"},{"photo_id":"1402009560","filename":"file2"},{"photo_id":"1402009563","filename":"file4"},{"photo_id":"1402009557","filename":"file1"},{"photo_id":"1402009554","filename":"file0"},{"photo_id":"1402009562","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009560":["hashtag1","hashtag2"]},{"1402009554":["hashtag1","hashtag2"]},{"1402009563":["hashtag1","hashtag2"]},{"1402009557":["hashtag1","hashtag2"]},{"1402009562":["hashtag1","hashtag2"]},{"1402009564":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009560, 1402009554, 1402009563, 1402009557, 1402009562, 1402009564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.399340867996216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:17:12.748893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_39_1640.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_43_3437.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_44_1687.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_57_12635.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_58_1572.jpg', '/home/pi/Desktop/images/04112025/15/55/image_04112025_15_56_00_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_39_1640.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_43_3437.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_44_1687.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_57_12635.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_55_58_1572.jpg
/home/pi/Desktop/images/04112025/15/55/image_04112025_15_56_00_1565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009565","1402009574","1402009568","1402009570","1402009572","1402009566"],"photo_ids_order":["1402009565","1402009566","1402009568","1402009570","1402009572","1402009574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcd51618a8764c0aa8ce1ce5ed3d3bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2149123025474707408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259094530,"filename":"image_04112025_15_55_39_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7babee9e6fe694c83e4b2d37b84e298.jpg","text":"TemporaryFile(/tmp/multipartBody9152747365128191100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259094530,"filename":"image_04112025_15_56_00_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/796cf74d561f5c794c4cb98a9abebd86.jpg","text":"TemporaryFile(/tmp/multipartBody3270961385279160010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259094530,"filename":"image_04112025_15_55_44_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26223a7e9cc3472a994def953f82fe99.jpg","text":"TemporaryFile(/tmp/multipartBody658480907351710592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259094530,"filename":"image_04112025_15_55_57_12635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c382d37cbbacc1aedb2cede6b1e3b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5906372957086074580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259094530,"filename":"image_04112025_15_55_58_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2026d8fefee4276563fc469e011482df.jpg","text":"TemporaryFile(/tmp/multipartBody1463408923471787895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259094530,"filename":"image_04112025_15_55_43_3437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009568","file1":"1402009566","file0":"1402009565","file4":"1402009572","file5":"1402009574","file3":"1402009570"},"map_files_photo_id_array":[{"photo_id":"1402009574","filename":"file5"},{"photo_id":"1402009568","filename":"file2"},{"photo_id":"1402009572","filename":"file4"},{"photo_id":"1402009566","filename":"file1"},{"photo_id":"1402009565","filename":"file0"},{"photo_id":"1402009570","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009565":["hashtag1","hashtag2"]},{"1402009574":["hashtag1","hashtag2"]},{"1402009568":["hashtag1","hashtag2"]},{"1402009570":["hashtag1","hashtag2"]},{"1402009572":["hashtag1","hashtag2"]},{"1402009566":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009565, 1402009574, 1402009568, 1402009570, 1402009572, 1402009566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68688678741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:18:02.729671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_26_11861.jpg', '/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_35_8652.jpg', '/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_44_9627.jpg', '/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_55_10661.jpg', '/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_04_9378.jpg', '/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_14_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_26_11861.jpg
/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_35_8652.jpg
/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_44_9627.jpg
/home/pi/Desktop/images/01012026/08/35/image_01012026_08_35_55_10661.jpg
/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_04_9378.jpg
/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_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":["1402009589","1402009592","1402009591","1402009594","1402009588","1402009590"],"photo_ids_order":["1402009588","1402009589","1402009590","1402009591","1402009592","1402009594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/954481b8e880a32d1dae01399b314fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3469810019094433448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259143347,"filename":"image_01012026_08_35_35_8652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be623da21ea7d98f6f540702def697f9.jpg","text":"TemporaryFile(/tmp/multipartBody2341242026642499943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259143347,"filename":"image_01012026_08_36_04_9378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0f5360d885e62ef481df5a6c3835529.jpg","text":"TemporaryFile(/tmp/multipartBody1413310360124393724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259143347,"filename":"image_01012026_08_35_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b63d9af23197e51d5aeb7c45445c3930.jpg","text":"TemporaryFile(/tmp/multipartBody7797211076269794924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259143347,"filename":"image_01012026_08_36_14_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2b2fafc8573c258df15b0f91123f2a8.jpg","text":"TemporaryFile(/tmp/multipartBody830207263218523168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259143347,"filename":"image_01012026_08_35_26_11861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53c546815bc65d0f65264ade198af3c1.jpg","text":"TemporaryFile(/tmp/multipartBody5391435163958963367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259143347,"filename":"image_01012026_08_35_44_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009590","file1":"1402009589","file0":"1402009588","file4":"1402009592","file5":"1402009594","file3":"1402009591"},"map_files_photo_id_array":[{"photo_id":"1402009594","filename":"file5"},{"photo_id":"1402009590","filename":"file2"},{"photo_id":"1402009592","filename":"file4"},{"photo_id":"1402009589","filename":"file1"},{"photo_id":"1402009588","filename":"file0"},{"photo_id":"1402009591","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009589":["hashtag1","hashtag2"]},{"1402009592":["hashtag1","hashtag2"]},{"1402009591":["hashtag1","hashtag2"]},{"1402009594":["hashtag1","hashtag2"]},{"1402009588":["hashtag1","hashtag2"]},{"1402009590":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009589, 1402009592, 1402009591, 1402009594, 1402009588, 1402009590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.597901344299316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:18:42.406456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_02_1548.jpg', '/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_03_1649.jpg', '/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_05_1527.jpg', '/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_06_1626.jpg', '/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_08_1548.jpg', '/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_17_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_02_1548.jpg
/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_03_1649.jpg
/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_05_1527.jpg
/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_06_1626.jpg
/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_08_1548.jpg
/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_17_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":["1402009602","1402009605","1402009601","1402009604","1402009599","1402009603"],"photo_ids_order":["1402009599","1402009601","1402009602","1402009603","1402009604","1402009605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ed6ce35ec12d1c9440b6d912043f1e0.jpg","text":"TemporaryFile(/tmp/multipartBody4451200155599259327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259184274,"filename":"image_04112025_15_56_05_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c7a5267e7173db8456bfc2445a5ecb4.jpg","text":"TemporaryFile(/tmp/multipartBody8609429369218314177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259184274,"filename":"image_04112025_15_56_17_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90e5fd2f5ac52fc6c9a3b7ce0038df7b.jpg","text":"TemporaryFile(/tmp/multipartBody6627872835731066189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259184274,"filename":"image_04112025_15_56_03_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cabd014f7b70c487bab5eb8308138a25.jpg","text":"TemporaryFile(/tmp/multipartBody7030619626131581026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259184274,"filename":"image_04112025_15_56_08_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54b701777937eb5cf279af92359ee3f0.jpg","text":"TemporaryFile(/tmp/multipartBody5192474825493912077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259184274,"filename":"image_04112025_15_56_02_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da4df4e98bc4533bfc3b1c8e1c067553.jpg","text":"TemporaryFile(/tmp/multipartBody2428366509702826608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259184274,"filename":"image_04112025_15_56_06_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009602","file1":"1402009601","file0":"1402009599","file4":"1402009604","file5":"1402009605","file3":"1402009603"},"map_files_photo_id_array":[{"photo_id":"1402009605","filename":"file5"},{"photo_id":"1402009602","filename":"file2"},{"photo_id":"1402009604","filename":"file4"},{"photo_id":"1402009601","filename":"file1"},{"photo_id":"1402009599","filename":"file0"},{"photo_id":"1402009603","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009602":["hashtag1","hashtag2"]},{"1402009605":["hashtag1","hashtag2"]},{"1402009601":["hashtag1","hashtag2"]},{"1402009604":["hashtag1","hashtag2"]},{"1402009599":["hashtag1","hashtag2"]},{"1402009603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009602, 1402009605, 1402009601, 1402009604, 1402009599, 1402009603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03597855567932 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:19:22.544829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_25_10659.jpg', '/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_35_9747.jpg', '/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_44_9592.jpg', '/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_14_9663.jpg', '/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_24_9759.jpg', '/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_35_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_25_10659.jpg
/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_35_9747.jpg
/home/pi/Desktop/images/01012026/08/36/image_01012026_08_36_44_9592.jpg
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_14_9663.jpg
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_24_9759.jpg
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_35_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":["1402009611","1402009613","1402009607","1402009618","1402009615","1402009609"],"photo_ids_order":["1402009607","1402009609","1402009611","1402009613","1402009615","1402009618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f618479e04b6e640a2033d858b39776.jpg","text":"TemporaryFile(/tmp/multipartBody1574885288693158800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259223141,"filename":"image_01012026_08_36_44_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/752155e197c83eb0739137b60e2b3515.jpg","text":"TemporaryFile(/tmp/multipartBody8376758315108397142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259223141,"filename":"image_01012026_08_37_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c9cd8598f966d4537b9b9ce8eb13386.jpg","text":"TemporaryFile(/tmp/multipartBody2409106722626287191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259223141,"filename":"image_01012026_08_36_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/996473ae0db175d4c4e868fc1798c785.jpg","text":"TemporaryFile(/tmp/multipartBody8360769441922285518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259223141,"filename":"image_01012026_08_37_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6b49f49a19dcbee8a15422b826106a3.jpg","text":"TemporaryFile(/tmp/multipartBody2149779262763716738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259223141,"filename":"image_01012026_08_37_24_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8b79e3e8dd022e12218f5369533fc8e.jpg","text":"TemporaryFile(/tmp/multipartBody8517507995210477451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259223141,"filename":"image_01012026_08_36_35_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009611","file1":"1402009609","file0":"1402009607","file4":"1402009615","file5":"1402009618","file3":"1402009613"},"map_files_photo_id_array":[{"photo_id":"1402009618","filename":"file5"},{"photo_id":"1402009611","filename":"file2"},{"photo_id":"1402009615","filename":"file4"},{"photo_id":"1402009609","filename":"file1"},{"photo_id":"1402009607","filename":"file0"},{"photo_id":"1402009613","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009611":["hashtag1","hashtag2"]},{"1402009613":["hashtag1","hashtag2"]},{"1402009607":["hashtag1","hashtag2"]},{"1402009618":["hashtag1","hashtag2"]},{"1402009615":["hashtag1","hashtag2"]},{"1402009609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009611, 1402009613, 1402009607, 1402009618, 1402009615, 1402009609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4064884185791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:20:02.283495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_45_9736.jpg', '/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_54_9791.jpg', '/home/pi/Desktop/images/01012026/08/37/image_01012026_08_38_05_10639.jpg', '/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_15_9783.jpg', '/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_24_9677.jpg', '/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_35_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_45_9736.jpg
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_54_9791.jpg
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_38_05_10639.jpg
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_15_9783.jpg
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_24_9677.jpg
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_35_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.5020122528076172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:20:11.813256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_58_40206.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_04_6269.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_06_1744.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_07_1531.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_09_1627.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_10_1535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/56/image_04112025_15_56_58_40206.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_04_6269.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_06_1744.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_07_1531.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_09_1627.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_10_1535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009631","1402009622","1402009625","1402009630","1402009633","1402009627"],"photo_ids_order":["1402009622","1402009625","1402009627","1402009630","1402009631","1402009633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef3f835b9e7c7f31d2dc63f6664f7eed.jpg","text":"TemporaryFile(/tmp/multipartBody4897379492540005195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259273574,"filename":"image_04112025_15_57_09_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf69bc1fdc645277d43f4c27f5fdb206.jpg","text":"TemporaryFile(/tmp/multipartBody892804090114322181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259273574,"filename":"image_04112025_15_56_58_40206.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90217f289a3cd51a74eb7eceb8c626dd.jpg","text":"TemporaryFile(/tmp/multipartBody555280776558307687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259273574,"filename":"image_04112025_15_57_04_6269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33e3eaff6e2ac1412d3ae911152989b3.jpg","text":"TemporaryFile(/tmp/multipartBody38474978020401252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259273574,"filename":"image_04112025_15_57_07_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ca763571a92ecff774e2818058eb73b.jpg","text":"TemporaryFile(/tmp/multipartBody9221880591045480878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259273574,"filename":"image_04112025_15_57_10_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e450ae16a08e3ed07bd766349f341ae8.jpg","text":"TemporaryFile(/tmp/multipartBody5439188447720173166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259273574,"filename":"image_04112025_15_57_06_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009627","file1":"1402009625","file0":"1402009622","file4":"1402009631","file5":"1402009633","file3":"1402009630"},"map_files_photo_id_array":[{"photo_id":"1402009633","filename":"file5"},{"photo_id":"1402009627","filename":"file2"},{"photo_id":"1402009631","filename":"file4"},{"photo_id":"1402009625","filename":"file1"},{"photo_id":"1402009622","filename":"file0"},{"photo_id":"1402009630","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009631":["hashtag1","hashtag2"]},{"1402009622":["hashtag1","hashtag2"]},{"1402009625":["hashtag1","hashtag2"]},{"1402009630":["hashtag1","hashtag2"]},{"1402009633":["hashtag1","hashtag2"]},{"1402009627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009631, 1402009622, 1402009625, 1402009630, 1402009633, 1402009627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6108672618866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:21:02.965176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_45_9736.jpg', '/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_54_9791.jpg', '/home/pi/Desktop/images/01012026/08/37/image_01012026_08_38_05_10639.jpg', '/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_15_9783.jpg', '/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_24_9677.jpg', '/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_35_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_45_9736.jpg
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_37_54_9791.jpg
/home/pi/Desktop/images/01012026/08/37/image_01012026_08_38_05_10639.jpg
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_15_9783.jpg
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_24_9677.jpg
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_35_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":["1402009647","1402009650","1402009649","1402009654","1402009651","1402009648"],"photo_ids_order":["1402009647","1402009648","1402009649","1402009650","1402009651","1402009654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2034d32bc2970fb8612a616fe442f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1258059964829730931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259323620,"filename":"image_01012026_08_37_45_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2366ff3f5020b986c15e67fe6916fd1d.jpg","text":"TemporaryFile(/tmp/multipartBody6793383544893008750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259323620,"filename":"image_01012026_08_38_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c03182799efc66f9cb34a12d122659a1.jpg","text":"TemporaryFile(/tmp/multipartBody8018669680943158397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259323620,"filename":"image_01012026_08_38_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/165b8a72f0847dbe03450578444d5eea.jpg","text":"TemporaryFile(/tmp/multipartBody1375505639600086104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259323620,"filename":"image_01012026_08_38_35_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/180c85c2fe57944ce220f54c9c38e0fa.jpg","text":"TemporaryFile(/tmp/multipartBody4731794577142553181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259323620,"filename":"image_01012026_08_38_24_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7342a6a0dec8264a32ef38b8307f625.jpg","text":"TemporaryFile(/tmp/multipartBody4542027690966012079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259323620,"filename":"image_01012026_08_37_54_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009649","file1":"1402009648","file0":"1402009647","file4":"1402009651","file5":"1402009654","file3":"1402009650"},"map_files_photo_id_array":[{"photo_id":"1402009654","filename":"file5"},{"photo_id":"1402009649","filename":"file2"},{"photo_id":"1402009651","filename":"file4"},{"photo_id":"1402009648","filename":"file1"},{"photo_id":"1402009647","filename":"file0"},{"photo_id":"1402009650","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009647":["hashtag1","hashtag2"]},{"1402009650":["hashtag1","hashtag2"]},{"1402009649":["hashtag1","hashtag2"]},{"1402009654":["hashtag1","hashtag2"]},{"1402009651":["hashtag1","hashtag2"]},{"1402009648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009647, 1402009650, 1402009649, 1402009654, 1402009651, 1402009648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33030700683594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:21:42.158039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_12_1577.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_14_1668.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_15_1640.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_17_1574.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_18_1509.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_20_1728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_12_1577.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_14_1668.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_15_1640.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_17_1574.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_18_1509.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_20_1728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009668","1402009664","1402009667","1402009661","1402009666","1402009665"],"photo_ids_order":["1402009661","1402009664","1402009665","1402009666","1402009667","1402009668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f1c3270c51b602c41b66792bb3b8f1b.jpg","text":"TemporaryFile(/tmp/multipartBody6885761167971608137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259364035,"filename":"image_04112025_15_57_20_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a741cb5a35301cb8864b0b7bf94b9d41.jpg","text":"TemporaryFile(/tmp/multipartBody2446488528842363915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259364035,"filename":"image_04112025_15_57_14_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9e6a00afb2536f19bdd5b96bb55d82d.jpg","text":"TemporaryFile(/tmp/multipartBody3462480411837070754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259364035,"filename":"image_04112025_15_57_18_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d72471f97f23f7eadc58aa1c88ade5c.jpg","text":"TemporaryFile(/tmp/multipartBody3686935961955953346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259364035,"filename":"image_04112025_15_57_12_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/637dde3376985dfee1fe50a07ee52469.jpg","text":"TemporaryFile(/tmp/multipartBody3391589046526237256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259364035,"filename":"image_04112025_15_57_17_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f013946aa415c5c9b53ae568320f4ed1.jpg","text":"TemporaryFile(/tmp/multipartBody4735552194246632770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259364035,"filename":"image_04112025_15_57_15_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009665","file1":"1402009664","file0":"1402009661","file4":"1402009667","file5":"1402009668","file3":"1402009666"},"map_files_photo_id_array":[{"photo_id":"1402009668","filename":"file5"},{"photo_id":"1402009665","filename":"file2"},{"photo_id":"1402009667","filename":"file4"},{"photo_id":"1402009664","filename":"file1"},{"photo_id":"1402009661","filename":"file0"},{"photo_id":"1402009666","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009668":["hashtag1","hashtag2"]},{"1402009664":["hashtag1","hashtag2"]},{"1402009667":["hashtag1","hashtag2"]},{"1402009661":["hashtag1","hashtag2"]},{"1402009666":["hashtag1","hashtag2"]},{"1402009665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009668, 1402009664, 1402009667, 1402009661, 1402009666, 1402009665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.660972595214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:22:22.409872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_45_9789.jpg', '/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_54_9533.jpg', '/home/pi/Desktop/images/01012026/08/38/image_01012026_08_39_05_10629.jpg', '/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_15_9657.jpg', '/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_24_9748.jpg', '/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_34_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_45_9789.jpg
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_38_54_9533.jpg
/home/pi/Desktop/images/01012026/08/38/image_01012026_08_39_05_10629.jpg
/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_15_9657.jpg
/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_24_9748.jpg
/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_34_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":["1402009674","1402009676","1402009679","1402009672","1402009669","1402009678"],"photo_ids_order":["1402009669","1402009672","1402009674","1402009676","1402009678","1402009679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/837adc3e54d2419b028c1a2e3dde5fd8.jpg","text":"TemporaryFile(/tmp/multipartBody3473313221949134671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259403002,"filename":"image_01012026_08_39_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5be8e4759f69d464912f449a14310af7.jpg","text":"TemporaryFile(/tmp/multipartBody5635527753842668229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259403002,"filename":"image_01012026_08_39_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64056118f57fcd67b617a16663cbddae.jpg","text":"TemporaryFile(/tmp/multipartBody288616982753602935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259403002,"filename":"image_01012026_08_39_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7357f4ac6e0a056a62225a5440e9d3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6001503707756800324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259403002,"filename":"image_01012026_08_38_54_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b76510784e155cef36f2e6e573fa25fc.jpg","text":"TemporaryFile(/tmp/multipartBody1514419940597162633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259403002,"filename":"image_01012026_08_38_45_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3182173cd686b44fb91050e565a9e78b.jpg","text":"TemporaryFile(/tmp/multipartBody3505682811017985615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259403002,"filename":"image_01012026_08_39_24_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009674","file1":"1402009672","file0":"1402009669","file4":"1402009678","file5":"1402009679","file3":"1402009676"},"map_files_photo_id_array":[{"photo_id":"1402009679","filename":"file5"},{"photo_id":"1402009674","filename":"file2"},{"photo_id":"1402009678","filename":"file4"},{"photo_id":"1402009672","filename":"file1"},{"photo_id":"1402009669","filename":"file0"},{"photo_id":"1402009676","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009674":["hashtag1","hashtag2"]},{"1402009676":["hashtag1","hashtag2"]},{"1402009679":["hashtag1","hashtag2"]},{"1402009672":["hashtag1","hashtag2"]},{"1402009669":["hashtag1","hashtag2"]},{"1402009678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009674, 1402009676, 1402009679, 1402009672, 1402009669, 1402009678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79169487953186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:23:03.120097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_45_10674.jpg', '/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_54_9734.jpg', '/home/pi/Desktop/images/01012026/08/39/image_01012026_08_40_04_9680.jpg', '/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_15_10674.jpg', '/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_24_9579.jpg', '/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_34_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_45_10674.jpg
/home/pi/Desktop/images/01012026/08/39/image_01012026_08_39_54_9734.jpg
/home/pi/Desktop/images/01012026/08/39/image_01012026_08_40_04_9680.jpg
/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_15_10674.jpg
/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_24_9579.jpg
/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_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":["1402009680","1402009682","1402009685","1402009687","1402009681","1402009684"],"photo_ids_order":["1402009680","1402009681","1402009682","1402009684","1402009685","1402009687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ef4b414e3171a8e4152abcbdd3c7eb4.jpg","text":"TemporaryFile(/tmp/multipartBody3058547970265351022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259443794,"filename":"image_01012026_08_39_45_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f9ca198004e58981e1686a3dfd4c01b.jpg","text":"TemporaryFile(/tmp/multipartBody5990587343741509524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259443794,"filename":"image_01012026_08_40_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45a221d5d4fbfe0a7e0578e895f79c86.jpg","text":"TemporaryFile(/tmp/multipartBody6655738493245357017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259443794,"filename":"image_01012026_08_40_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/889f56570dc2252aebb8d34e77e7d94e.jpg","text":"TemporaryFile(/tmp/multipartBody7454885125813798584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259443794,"filename":"image_01012026_08_40_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51dd1504a5f21796fc4625d93429cb7e.jpg","text":"TemporaryFile(/tmp/multipartBody4519034822851639814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259443794,"filename":"image_01012026_08_39_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd8740b70ccc658cf59a41c34de0660f.jpg","text":"TemporaryFile(/tmp/multipartBody2926749703247744312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259443794,"filename":"image_01012026_08_40_15_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009682","file1":"1402009681","file0":"1402009680","file4":"1402009685","file5":"1402009687","file3":"1402009684"},"map_files_photo_id_array":[{"photo_id":"1402009687","filename":"file5"},{"photo_id":"1402009682","filename":"file2"},{"photo_id":"1402009685","filename":"file4"},{"photo_id":"1402009681","filename":"file1"},{"photo_id":"1402009680","filename":"file0"},{"photo_id":"1402009684","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009680":["hashtag1","hashtag2"]},{"1402009682":["hashtag1","hashtag2"]},{"1402009685":["hashtag1","hashtag2"]},{"1402009687":["hashtag1","hashtag2"]},{"1402009681":["hashtag1","hashtag2"]},{"1402009684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009680, 1402009682, 1402009685, 1402009687, 1402009681, 1402009684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.423237800598145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:23:42.504428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_22_1758.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_23_1540.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_25_1784.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_27_1539.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_28_1556.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_30_1751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_22_1758.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_23_1540.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_25_1784.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_27_1539.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_28_1556.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_30_1751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009710","1402009712","1402009706","1402009715","1402009693","1402009708"],"photo_ids_order":["1402009693","1402009706","1402009708","1402009710","1402009712","1402009715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc54fbff58ffc2aa98a4fc9b0f5e9df1.jpg","text":"TemporaryFile(/tmp/multipartBody3028682272342259066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259484379,"filename":"image_04112025_15_57_27_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ccd43a0265e05f44fe9139e1920b17db.jpg","text":"TemporaryFile(/tmp/multipartBody2384935589464660022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259484379,"filename":"image_04112025_15_57_28_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d10805e26283dcc571cb89a257969180.jpg","text":"TemporaryFile(/tmp/multipartBody9206755329504032094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259484379,"filename":"image_04112025_15_57_23_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c7725fcc9e370de0cccd7baf9b3c4fe.jpg","text":"TemporaryFile(/tmp/multipartBody1003538036361378397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259484379,"filename":"image_04112025_15_57_30_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c0523fcc8e65ad1a4f83cc6028565d6.jpg","text":"TemporaryFile(/tmp/multipartBody1484893491762252655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259484379,"filename":"image_04112025_15_57_22_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e75af8b8955afed68ae3cea4474f25ae.jpg","text":"TemporaryFile(/tmp/multipartBody4828364314625865667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259484379,"filename":"image_04112025_15_57_25_1784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009708","file1":"1402009706","file0":"1402009693","file4":"1402009712","file5":"1402009715","file3":"1402009710"},"map_files_photo_id_array":[{"photo_id":"1402009715","filename":"file5"},{"photo_id":"1402009708","filename":"file2"},{"photo_id":"1402009712","filename":"file4"},{"photo_id":"1402009706","filename":"file1"},{"photo_id":"1402009693","filename":"file0"},{"photo_id":"1402009710","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009710":["hashtag1","hashtag2"]},{"1402009712":["hashtag1","hashtag2"]},{"1402009706":["hashtag1","hashtag2"]},{"1402009715":["hashtag1","hashtag2"]},{"1402009693":["hashtag1","hashtag2"]},{"1402009708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009710, 1402009712, 1402009706, 1402009715, 1402009693, 1402009708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53945565223694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:24:22.835653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_45_10616.jpg', '/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_54_9382.jpg', '/home/pi/Desktop/images/01012026/08/40/image_01012026_08_41_05_10635.jpg', '/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_15_9905.jpg', '/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_24_9596.jpg', '/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_35_10532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_45_10616.jpg
/home/pi/Desktop/images/01012026/08/40/image_01012026_08_40_54_9382.jpg
/home/pi/Desktop/images/01012026/08/40/image_01012026_08_41_05_10635.jpg
/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_15_9905.jpg
/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_24_9596.jpg
/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_35_10532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009728","1402009722","1402009716","1402009724","1402009717","1402009720"],"photo_ids_order":["1402009716","1402009717","1402009720","1402009722","1402009724","1402009728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0008d01718fdfb0d488bc04ac360cfa3.jpg","text":"TemporaryFile(/tmp/multipartBody4138875051781070796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259523455,"filename":"image_01012026_08_41_35_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c10dafa51c44443b6d2732582f63621.jpg","text":"TemporaryFile(/tmp/multipartBody8600090235793792210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259523455,"filename":"image_01012026_08_41_15_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/348e16c159503a363091d89491cadf68.jpg","text":"TemporaryFile(/tmp/multipartBody402545152393607205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259523455,"filename":"image_01012026_08_40_45_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f8bec2f6799de878470a41f9f669efe.jpg","text":"TemporaryFile(/tmp/multipartBody8098234171368124530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259523455,"filename":"image_01012026_08_41_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51d9f689c43146567e93fc9fd3880974.jpg","text":"TemporaryFile(/tmp/multipartBody2916787452658334362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259523455,"filename":"image_01012026_08_40_54_9382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3df7e4a20635c069adee1dfecc1d5eeb.jpg","text":"TemporaryFile(/tmp/multipartBody630493729246644852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259523455,"filename":"image_01012026_08_41_05_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009720","file1":"1402009717","file0":"1402009716","file4":"1402009724","file5":"1402009728","file3":"1402009722"},"map_files_photo_id_array":[{"photo_id":"1402009728","filename":"file5"},{"photo_id":"1402009720","filename":"file2"},{"photo_id":"1402009724","filename":"file4"},{"photo_id":"1402009717","filename":"file1"},{"photo_id":"1402009716","filename":"file0"},{"photo_id":"1402009722","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009728":["hashtag1","hashtag2"]},{"1402009722":["hashtag1","hashtag2"]},{"1402009716":["hashtag1","hashtag2"]},{"1402009724":["hashtag1","hashtag2"]},{"1402009717":["hashtag1","hashtag2"]},{"1402009720":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009728, 1402009722, 1402009716, 1402009724, 1402009717, 1402009720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7155442237854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:25:02.534640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_44_9718.jpg', '/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_54_9633.jpg', '/home/pi/Desktop/images/01012026/08/41/image_01012026_08_42_05_10739.jpg', '/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_15_9840.jpg', '/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_24_9696.jpg', '/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_34_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_44_9718.jpg
/home/pi/Desktop/images/01012026/08/41/image_01012026_08_41_54_9633.jpg
/home/pi/Desktop/images/01012026/08/41/image_01012026_08_42_05_10739.jpg
/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_15_9840.jpg
/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_24_9696.jpg
/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_34_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":["1402009740","1402009734","1402009737","1402009733","1402009736","1402009735"],"photo_ids_order":["1402009733","1402009734","1402009735","1402009736","1402009737","1402009740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/308bf9179801effc0460794f9297138c.jpg","text":"TemporaryFile(/tmp/multipartBody7442996456812949403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259563174,"filename":"image_01012026_08_42_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78ae3c4fda5d361787e9bb72acd48a0c.jpg","text":"TemporaryFile(/tmp/multipartBody6380539551221082079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259563174,"filename":"image_01012026_08_41_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef8906ed4756b17ec3c031a9555a15d8.jpg","text":"TemporaryFile(/tmp/multipartBody2260937682246671844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259563174,"filename":"image_01012026_08_42_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f27981b3801bffe10007dd43c10ac6b9.jpg","text":"TemporaryFile(/tmp/multipartBody449591547552533874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259563174,"filename":"image_01012026_08_41_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7aaf060d9a7bc74bd17b8590a02788b3.jpg","text":"TemporaryFile(/tmp/multipartBody685258515724144306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259563174,"filename":"image_01012026_08_42_15_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70dc0060d96e553492fbf3695f359c0b.jpg","text":"TemporaryFile(/tmp/multipartBody2656789276969937496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259563174,"filename":"image_01012026_08_42_05_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009735","file1":"1402009734","file0":"1402009733","file4":"1402009737","file5":"1402009740","file3":"1402009736"},"map_files_photo_id_array":[{"photo_id":"1402009740","filename":"file5"},{"photo_id":"1402009735","filename":"file2"},{"photo_id":"1402009737","filename":"file4"},{"photo_id":"1402009734","filename":"file1"},{"photo_id":"1402009733","filename":"file0"},{"photo_id":"1402009736","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009740":["hashtag1","hashtag2"]},{"1402009734":["hashtag1","hashtag2"]},{"1402009737":["hashtag1","hashtag2"]},{"1402009733":["hashtag1","hashtag2"]},{"1402009736":["hashtag1","hashtag2"]},{"1402009735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009740, 1402009734, 1402009737, 1402009733, 1402009736, 1402009735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47200059890747 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:25:41.900746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_32_1626.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_33_1706.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_35_1487.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_36_1550.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_38_1541.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_40_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_32_1626.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_33_1706.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_35_1487.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_36_1550.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_38_1541.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_40_1618.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.7793922424316406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:26:02.575396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_45_10763.jpg', '/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_55_9672.jpg', '/home/pi/Desktop/images/01012026/08/42/image_01012026_08_43_04_9661.jpg', '/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_15_10614.jpg', '/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_25_9736.jpg', '/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_45_10763.jpg
/home/pi/Desktop/images/01012026/08/42/image_01012026_08_42_55_9672.jpg
/home/pi/Desktop/images/01012026/08/42/image_01012026_08_43_04_9661.jpg
/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_15_10614.jpg
/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_25_9736.jpg
/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_34_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":["1402009761","1402009755","1402009758","1402009757","1402009754","1402009756"],"photo_ids_order":["1402009754","1402009755","1402009756","1402009757","1402009758","1402009761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98020ae2e7e6de864b896f53a62a0f74.jpg","text":"TemporaryFile(/tmp/multipartBody1067426041493472363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259623186,"filename":"image_01012026_08_43_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cab98cc99d608b8a41c04745d5f1c4d8.jpg","text":"TemporaryFile(/tmp/multipartBody9111179762853728431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259623186,"filename":"image_01012026_08_42_55_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0b230833a03eab5f5bb67970a93e64c.jpg","text":"TemporaryFile(/tmp/multipartBody9016770368458821232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259623186,"filename":"image_01012026_08_43_25_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fcbb93bae9ff3f22e819ba46714efc5.jpg","text":"TemporaryFile(/tmp/multipartBody5021369259324964167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259623186,"filename":"image_01012026_08_43_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec86d10ba798c84e7c25cec93aaac623.jpg","text":"TemporaryFile(/tmp/multipartBody8274770904108031850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259623186,"filename":"image_01012026_08_42_45_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/992d1ac71f6fb90cd28461c0162c1fb4.jpg","text":"TemporaryFile(/tmp/multipartBody6381342222211979597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259623186,"filename":"image_01012026_08_43_04_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009756","file1":"1402009755","file0":"1402009754","file4":"1402009758","file5":"1402009761","file3":"1402009757"},"map_files_photo_id_array":[{"photo_id":"1402009761","filename":"file5"},{"photo_id":"1402009756","filename":"file2"},{"photo_id":"1402009758","filename":"file4"},{"photo_id":"1402009755","filename":"file1"},{"photo_id":"1402009754","filename":"file0"},{"photo_id":"1402009757","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009761":["hashtag1","hashtag2"]},{"1402009755":["hashtag1","hashtag2"]},{"1402009758":["hashtag1","hashtag2"]},{"1402009757":["hashtag1","hashtag2"]},{"1402009754":["hashtag1","hashtag2"]},{"1402009756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009761, 1402009755, 1402009758, 1402009757, 1402009754, 1402009756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.514517307281494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:26:42.156400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_32_1626.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_33_1706.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_35_1487.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_36_1550.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_38_1541.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_40_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_32_1626.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_33_1706.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_35_1487.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_36_1550.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_38_1541.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_40_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":["1402009781","1402009784","1402009780","1402009768","1402009783","1402009782"],"photo_ids_order":["1402009768","1402009780","1402009781","1402009782","1402009783","1402009784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/953c23b1e991813e8d0733052d2ee54f.jpg","text":"TemporaryFile(/tmp/multipartBody5871746341546709038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259663931,"filename":"image_04112025_15_57_35_1487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac9c33d291e99bb2329f671371a19193.jpg","text":"TemporaryFile(/tmp/multipartBody6823728208113936272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259663931,"filename":"image_04112025_15_57_40_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce54b7ffb7e87d030c7129e2a7903a30.jpg","text":"TemporaryFile(/tmp/multipartBody793276722056455299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259663931,"filename":"image_04112025_15_57_33_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7438ff41b5e20cdcf41f6bc4995248a.jpg","text":"TemporaryFile(/tmp/multipartBody8271229251809618839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259663931,"filename":"image_04112025_15_57_32_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed1fcc1a7f30d73d05759fa40e4ec04f.jpg","text":"TemporaryFile(/tmp/multipartBody4543051059806836911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259663931,"filename":"image_04112025_15_57_38_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bd16a78171bce473cbac2b77f7b0532.jpg","text":"TemporaryFile(/tmp/multipartBody179166525110370454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259663931,"filename":"image_04112025_15_57_36_1550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009781","file1":"1402009780","file0":"1402009768","file4":"1402009783","file5":"1402009784","file3":"1402009782"},"map_files_photo_id_array":[{"photo_id":"1402009784","filename":"file5"},{"photo_id":"1402009781","filename":"file2"},{"photo_id":"1402009783","filename":"file4"},{"photo_id":"1402009780","filename":"file1"},{"photo_id":"1402009768","filename":"file0"},{"photo_id":"1402009782","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009781":["hashtag1","hashtag2"]},{"1402009784":["hashtag1","hashtag2"]},{"1402009780":["hashtag1","hashtag2"]},{"1402009768":["hashtag1","hashtag2"]},{"1402009783":["hashtag1","hashtag2"]},{"1402009782":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009781, 1402009784, 1402009780, 1402009768, 1402009783, 1402009782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.762765884399414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:27:22.305315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_45_10571.jpg', '/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_55_9853.jpg', '/home/pi/Desktop/images/01012026/08/43/image_01012026_08_44_04_9622.jpg', '/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_15_10565.jpg', '/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_25_9694.jpg', '/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_34_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_45_10571.jpg
/home/pi/Desktop/images/01012026/08/43/image_01012026_08_43_55_9853.jpg
/home/pi/Desktop/images/01012026/08/43/image_01012026_08_44_04_9622.jpg
/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_15_10565.jpg
/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_25_9694.jpg
/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_34_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009794","1402009787","1402009796","1402009790","1402009798","1402009792"],"photo_ids_order":["1402009787","1402009790","1402009792","1402009794","1402009796","1402009798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c89df428a8cbfbdf7a3b516880e5a4d6.jpg","text":"TemporaryFile(/tmp/multipartBody1803103193771326695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259702898,"filename":"image_01012026_08_44_15_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f99fa7b407d2288e9b92db5d5f716d8.jpg","text":"TemporaryFile(/tmp/multipartBody7633018136492832780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259702898,"filename":"image_01012026_08_43_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e557daf0d8313283e4c9e6f7346b079.jpg","text":"TemporaryFile(/tmp/multipartBody783153736493823954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259702898,"filename":"image_01012026_08_44_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03280bac79dd64f72b3bcc6c35eb90a4.jpg","text":"TemporaryFile(/tmp/multipartBody8232418771252091860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259702898,"filename":"image_01012026_08_43_55_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/421cbd5b753fa98472b0070191b4d7cc.jpg","text":"TemporaryFile(/tmp/multipartBody1242191761173918539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259702898,"filename":"image_01012026_08_44_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0089c64a78301ca21d70786d10901291.jpg","text":"TemporaryFile(/tmp/multipartBody9116842910932607535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259702898,"filename":"image_01012026_08_44_04_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009792","file1":"1402009790","file0":"1402009787","file4":"1402009796","file5":"1402009798","file3":"1402009794"},"map_files_photo_id_array":[{"photo_id":"1402009798","filename":"file5"},{"photo_id":"1402009792","filename":"file2"},{"photo_id":"1402009796","filename":"file4"},{"photo_id":"1402009790","filename":"file1"},{"photo_id":"1402009787","filename":"file0"},{"photo_id":"1402009794","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009794":["hashtag1","hashtag2"]},{"1402009787":["hashtag1","hashtag2"]},{"1402009796":["hashtag1","hashtag2"]},{"1402009790":["hashtag1","hashtag2"]},{"1402009798":["hashtag1","hashtag2"]},{"1402009792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009794, 1402009787, 1402009796, 1402009790, 1402009798, 1402009792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.077632904052734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:28:02.866133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_55_9715.jpg', '/home/pi/Desktop/images/01012026/08/44/image_01012026_08_45_04_9735.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_14_9679.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_25_10658.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_34_9741.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_44_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_55_9715.jpg
/home/pi/Desktop/images/01012026/08/44/image_01012026_08_45_04_9735.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_14_9679.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_25_10658.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_34_9741.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_44_9841.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.48815369606018066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:28:12.461217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_41_1653.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_43_1661.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_45_1766.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_46_1647.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_48_1567.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_49_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_41_1653.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_43_1661.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_45_1766.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_46_1647.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_48_1567.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_49_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":["1402009803","1402009812","1402009805","1402009810","1402009813","1402009807"],"photo_ids_order":["1402009803","1402009805","1402009807","1402009810","1402009812","1402009813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53400da8fc7e71592163aa98cc095cdc.jpg","text":"TemporaryFile(/tmp/multipartBody1909971119393132591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259754215,"filename":"image_04112025_15_57_41_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4d85e467c42b96d07705212c48cabc5.jpg","text":"TemporaryFile(/tmp/multipartBody7291113159849948009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259754215,"filename":"image_04112025_15_57_48_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2f95861b39d6cb7ce5b41bb068b0ff1.jpg","text":"TemporaryFile(/tmp/multipartBody531234196146672883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259754215,"filename":"image_04112025_15_57_43_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d2378bfaee457876da4a71e3285bb75.jpg","text":"TemporaryFile(/tmp/multipartBody5683643219594526338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259754215,"filename":"image_04112025_15_57_46_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7c5e9d5d966edee4eef9a6595e09268.jpg","text":"TemporaryFile(/tmp/multipartBody5181950488389735659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259754215,"filename":"image_04112025_15_57_49_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4326904a698d3a7017fe5f14e06f270.jpg","text":"TemporaryFile(/tmp/multipartBody6413735600253089223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259754215,"filename":"image_04112025_15_57_45_1766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009807","file1":"1402009805","file0":"1402009803","file4":"1402009812","file5":"1402009813","file3":"1402009810"},"map_files_photo_id_array":[{"photo_id":"1402009813","filename":"file5"},{"photo_id":"1402009807","filename":"file2"},{"photo_id":"1402009812","filename":"file4"},{"photo_id":"1402009805","filename":"file1"},{"photo_id":"1402009803","filename":"file0"},{"photo_id":"1402009810","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009803":["hashtag1","hashtag2"]},{"1402009812":["hashtag1","hashtag2"]},{"1402009805":["hashtag1","hashtag2"]},{"1402009810":["hashtag1","hashtag2"]},{"1402009813":["hashtag1","hashtag2"]},{"1402009807":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009803, 1402009812, 1402009805, 1402009810, 1402009813, 1402009807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.552504777908325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:29:03.579004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_55_9715.jpg', '/home/pi/Desktop/images/01012026/08/44/image_01012026_08_45_04_9735.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_14_9679.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_25_10658.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_34_9741.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_44_9841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/44/image_01012026_08_44_55_9715.jpg
/home/pi/Desktop/images/01012026/08/44/image_01012026_08_45_04_9735.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_14_9679.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_25_10658.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_34_9741.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_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":["1402009818","1402009823","1402009829","1402009820","1402009822","1402009825"],"photo_ids_order":["1402009818","1402009820","1402009822","1402009823","1402009825","1402009829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3db461301d5e4ca0d0c206add937918c.jpg","text":"TemporaryFile(/tmp/multipartBody5885431588973430585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259804326,"filename":"image_01012026_08_44_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6c6e935a7e4ab4bf203af8a6e690907.jpg","text":"TemporaryFile(/tmp/multipartBody6688776713335285357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259804326,"filename":"image_01012026_08_45_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/595906ac53190303f1236ba0cad042c4.jpg","text":"TemporaryFile(/tmp/multipartBody6749982084210778927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259804326,"filename":"image_01012026_08_45_44_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42c3eefa28789fe36a2d548c5620886f.jpg","text":"TemporaryFile(/tmp/multipartBody8477217688699737496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259804326,"filename":"image_01012026_08_45_04_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a80c9e730ecdba64330775f44f621c07.jpg","text":"TemporaryFile(/tmp/multipartBody2909693563889193066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259804326,"filename":"image_01012026_08_45_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c5709186630d85652a98e62d54efdb5.jpg","text":"TemporaryFile(/tmp/multipartBody2607776321054724885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259804326,"filename":"image_01012026_08_45_34_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009822","file1":"1402009820","file0":"1402009818","file4":"1402009825","file5":"1402009829","file3":"1402009823"},"map_files_photo_id_array":[{"photo_id":"1402009829","filename":"file5"},{"photo_id":"1402009822","filename":"file2"},{"photo_id":"1402009825","filename":"file4"},{"photo_id":"1402009820","filename":"file1"},{"photo_id":"1402009818","filename":"file0"},{"photo_id":"1402009823","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009818":["hashtag1","hashtag2"]},{"1402009823":["hashtag1","hashtag2"]},{"1402009829":["hashtag1","hashtag2"]},{"1402009820":["hashtag1","hashtag2"]},{"1402009822":["hashtag1","hashtag2"]},{"1402009825":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009818, 1402009823, 1402009829, 1402009820, 1402009822, 1402009825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21545696258545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:29:42.755293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_51_1565.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_53_1638.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_54_1747.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_56_1534.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_58_1597.jpg', '/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_59_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_51_1565.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_53_1638.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_54_1747.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_56_1534.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_58_1597.jpg
/home/pi/Desktop/images/04112025/15/57/image_04112025_15_57_59_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":["1402009839","1402009842","1402009841","1402009838","1402009835","1402009840"],"photo_ids_order":["1402009835","1402009838","1402009839","1402009840","1402009841","1402009842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc24aafecc6a19bd10e04f20d953330c.jpg","text":"TemporaryFile(/tmp/multipartBody1019509035567328009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259844548,"filename":"image_04112025_15_57_54_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc61f68eabe9bbc7896a5ed71a982d77.jpg","text":"TemporaryFile(/tmp/multipartBody5570275715122063295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259844548,"filename":"image_04112025_15_57_59_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e094f103a2bf76822e3fd4eccd5eaa4.jpg","text":"TemporaryFile(/tmp/multipartBody6041296675045413244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259844548,"filename":"image_04112025_15_57_58_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f703fe68e546a34493ac27fd5ebde4c5.jpg","text":"TemporaryFile(/tmp/multipartBody3502368027280593797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259844548,"filename":"image_04112025_15_57_53_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79d719f407d241c96c14f43a739b1572.jpg","text":"TemporaryFile(/tmp/multipartBody5604009395112431220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259844548,"filename":"image_04112025_15_57_51_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2f3aba20f87ad3821f8150b9f8d580a.jpg","text":"TemporaryFile(/tmp/multipartBody1076286651886126751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259844548,"filename":"image_04112025_15_57_56_1534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009839","file1":"1402009838","file0":"1402009835","file4":"1402009841","file5":"1402009842","file3":"1402009840"},"map_files_photo_id_array":[{"photo_id":"1402009842","filename":"file5"},{"photo_id":"1402009839","filename":"file2"},{"photo_id":"1402009841","filename":"file4"},{"photo_id":"1402009838","filename":"file1"},{"photo_id":"1402009835","filename":"file0"},{"photo_id":"1402009840","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009839":["hashtag1","hashtag2"]},{"1402009842":["hashtag1","hashtag2"]},{"1402009841":["hashtag1","hashtag2"]},{"1402009838":["hashtag1","hashtag2"]},{"1402009835":["hashtag1","hashtag2"]},{"1402009840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009839, 1402009842, 1402009841, 1402009838, 1402009835, 1402009840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69341588020325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:30:31.920717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_01_1585.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_02_1702.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_04_1681.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_06_1840.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_08_1748.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_09_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_01_1585.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_02_1702.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_04_1681.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_06_1840.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_08_1748.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_09_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009848","1402009856","1402009850","1402009852","1402009855","1402009857"],"photo_ids_order":["1402009848","1402009850","1402009852","1402009855","1402009856","1402009857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7e4abe24edc0bc30555700937e7e623.jpg","text":"TemporaryFile(/tmp/multipartBody3932827686157217869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259893777,"filename":"image_04112025_15_58_01_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7d883a8cf5d1b8b51fcc761a0d8df1d.jpg","text":"TemporaryFile(/tmp/multipartBody1566753640406573532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259893777,"filename":"image_04112025_15_58_08_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b3b18666bc9c0621381517e250a855b.jpg","text":"TemporaryFile(/tmp/multipartBody4327923049866849451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259893777,"filename":"image_04112025_15_58_02_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82656a5e3850925b216c943dab9d65ac.jpg","text":"TemporaryFile(/tmp/multipartBody8038401397706569124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259893777,"filename":"image_04112025_15_58_04_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bd3a44c327a3acf861f732a9199aa33.jpg","text":"TemporaryFile(/tmp/multipartBody545448413268178167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259893777,"filename":"image_04112025_15_58_06_1840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4e209671ec6a42bdf2c41b4364bcc7c.jpg","text":"TemporaryFile(/tmp/multipartBody1263999128473533475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259893777,"filename":"image_04112025_15_58_09_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009852","file1":"1402009850","file0":"1402009848","file4":"1402009856","file5":"1402009857","file3":"1402009855"},"map_files_photo_id_array":[{"photo_id":"1402009857","filename":"file5"},{"photo_id":"1402009852","filename":"file2"},{"photo_id":"1402009856","filename":"file4"},{"photo_id":"1402009850","filename":"file1"},{"photo_id":"1402009848","filename":"file0"},{"photo_id":"1402009855","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009848":["hashtag1","hashtag2"]},{"1402009856":["hashtag1","hashtag2"]},{"1402009850":["hashtag1","hashtag2"]},{"1402009852":["hashtag1","hashtag2"]},{"1402009855":["hashtag1","hashtag2"]},{"1402009857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009848, 1402009856, 1402009850, 1402009852, 1402009855, 1402009857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.859726428985596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:31:12.027956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_13_3752.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_16_2616.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_18_2746.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_22_3642.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_25_2521.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_27_2816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_13_3752.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_16_2616.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_18_2746.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_22_3642.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_25_2521.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_27_2816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009866","1402009860","1402009862","1402009859","1402009864","1402009858"],"photo_ids_order":["1402009858","1402009859","1402009860","1402009862","1402009864","1402009866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe9be754ec52f3b25bded217e138fcbe.jpg","text":"TemporaryFile(/tmp/multipartBody4549576517247009349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259933870,"filename":"image_04112025_15_58_27_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/146949d47f9e45589e520ed4bc39fa2c.jpg","text":"TemporaryFile(/tmp/multipartBody8941386397681910948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259933870,"filename":"image_04112025_15_58_18_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83321300a38ff37623a2eeff25ce5b3b.jpg","text":"TemporaryFile(/tmp/multipartBody1305221047581288960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259933870,"filename":"image_04112025_15_58_22_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad2ad73820cfc18b6c0581ae065b91a4.jpg","text":"TemporaryFile(/tmp/multipartBody5399493378825279395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259933870,"filename":"image_04112025_15_58_16_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/022a96a12041e3633523f58a3753b767.jpg","text":"TemporaryFile(/tmp/multipartBody6276652672000745218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259933870,"filename":"image_04112025_15_58_25_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3997073cc29a0d6fac8cce11522ca2aa.jpg","text":"TemporaryFile(/tmp/multipartBody3710478122812083930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259933870,"filename":"image_04112025_15_58_13_3752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009860","file1":"1402009859","file0":"1402009858","file4":"1402009864","file5":"1402009866","file3":"1402009862"},"map_files_photo_id_array":[{"photo_id":"1402009866","filename":"file5"},{"photo_id":"1402009860","filename":"file2"},{"photo_id":"1402009864","filename":"file4"},{"photo_id":"1402009859","filename":"file1"},{"photo_id":"1402009858","filename":"file0"},{"photo_id":"1402009862","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009866":["hashtag1","hashtag2"]},{"1402009860":["hashtag1","hashtag2"]},{"1402009862":["hashtag1","hashtag2"]},{"1402009859":["hashtag1","hashtag2"]},{"1402009864":["hashtag1","hashtag2"]},{"1402009858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009866, 1402009860, 1402009862, 1402009859, 1402009864, 1402009858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.194987058639526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:32:02.590447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 10:32:12.313078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_30_2770.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_34_3604.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_47_12959.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_48_1671.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_50_1557.jpg', '/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_52_1515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_30_2770.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_34_3604.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_47_12959.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_48_1671.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_50_1557.jpg
/home/pi/Desktop/images/04112025/15/58/image_04112025_15_58_52_1515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009874","1402009883","1402009877","1402009879","1402009881","1402009875"],"photo_ids_order":["1402009874","1402009875","1402009877","1402009879","1402009881","1402009883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b1fa3cac942635bd8276491c52333ab.jpg","text":"TemporaryFile(/tmp/multipartBody3410915474262344312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259996155,"filename":"image_04112025_15_58_30_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fdfed39b9f6c261fd4e002aa8ea5c08.jpg","text":"TemporaryFile(/tmp/multipartBody3663728160784801700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259996155,"filename":"image_04112025_15_58_52_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/898bf361ce9c2838fe70dbb949a3920c.jpg","text":"TemporaryFile(/tmp/multipartBody6082237818878918813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259996155,"filename":"image_04112025_15_58_47_12959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/121e361063ac44154b6b34e395262ca4.jpg","text":"TemporaryFile(/tmp/multipartBody1568909795209754084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259996155,"filename":"image_04112025_15_58_48_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/460b373a2b60b5686e6c7d46a31eda29.jpg","text":"TemporaryFile(/tmp/multipartBody1338374129420636857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259996155,"filename":"image_04112025_15_58_50_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51952d4ad95aa7b3cd837ef00e0af406.jpg","text":"TemporaryFile(/tmp/multipartBody6727440750646241714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767259996155,"filename":"image_04112025_15_58_34_3604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009877","file1":"1402009875","file0":"1402009874","file4":"1402009881","file5":"1402009883","file3":"1402009879"},"map_files_photo_id_array":[{"photo_id":"1402009883","filename":"file5"},{"photo_id":"1402009877","filename":"file2"},{"photo_id":"1402009881","filename":"file4"},{"photo_id":"1402009875","filename":"file1"},{"photo_id":"1402009874","filename":"file0"},{"photo_id":"1402009879","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009874":["hashtag1","hashtag2"]},{"1402009883":["hashtag1","hashtag2"]},{"1402009877":["hashtag1","hashtag2"]},{"1402009879":["hashtag1","hashtag2"]},{"1402009881":["hashtag1","hashtag2"]},{"1402009875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009874, 1402009883, 1402009877, 1402009879, 1402009881, 1402009875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.66160845756531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:33:03.028582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_55_10539.jpg', '/home/pi/Desktop/images/01012026/08/45/image_01012026_08_46_05_9695.jpg', '/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_14_9708.jpg', '/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_24_9881.jpg', '/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_35_10679.jpg', '/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_44_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_45_55_10539.jpg
/home/pi/Desktop/images/01012026/08/45/image_01012026_08_46_05_9695.jpg
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_14_9708.jpg
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_24_9881.jpg
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_35_10679.jpg
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_44_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":["1402009895","1402009898","1402009897","1402009901","1402009896","1402009899"],"photo_ids_order":["1402009895","1402009896","1402009897","1402009898","1402009899","1402009901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd7a486f2b32cf0f3d237c19306cb585.jpg","text":"TemporaryFile(/tmp/multipartBody1731570172318524425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260043734,"filename":"image_01012026_08_45_55_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1c44e9b38f72fe5dacf97aec45d19e6.jpg","text":"TemporaryFile(/tmp/multipartBody8342682336440389065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260043734,"filename":"image_01012026_08_46_24_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee86d3e5a5eeffaf882429dc04afe4d9.jpg","text":"TemporaryFile(/tmp/multipartBody917758575297817376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260043734,"filename":"image_01012026_08_46_14_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da562e8a642a30ca1d49e9f7beb4cbc1.jpg","text":"TemporaryFile(/tmp/multipartBody1578657111222540907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260043734,"filename":"image_01012026_08_46_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0605b2f808c21ab090006446cf0ca9b4.jpg","text":"TemporaryFile(/tmp/multipartBody7056003865253522774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260043734,"filename":"image_01012026_08_46_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/115f98587b48da3d311a90fe91dff749.jpg","text":"TemporaryFile(/tmp/multipartBody3174400384872302173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260043734,"filename":"image_01012026_08_46_35_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009897","file1":"1402009896","file0":"1402009895","file4":"1402009899","file5":"1402009901","file3":"1402009898"},"map_files_photo_id_array":[{"photo_id":"1402009901","filename":"file5"},{"photo_id":"1402009897","filename":"file2"},{"photo_id":"1402009899","filename":"file4"},{"photo_id":"1402009896","filename":"file1"},{"photo_id":"1402009895","filename":"file0"},{"photo_id":"1402009898","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009895":["hashtag1","hashtag2"]},{"1402009898":["hashtag1","hashtag2"]},{"1402009897":["hashtag1","hashtag2"]},{"1402009901":["hashtag1","hashtag2"]},{"1402009896":["hashtag1","hashtag2"]},{"1402009899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009895, 1402009898, 1402009897, 1402009901, 1402009896, 1402009899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.748451709747314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:33:42.579464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_07_15726.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_09_1600.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_27_18643.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_29_1595.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_31_1612.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_32_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_07_15726.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_09_1600.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_27_18643.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_29_1595.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_31_1612.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_32_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009914","1402009911","1402009910","1402009913","1402009907","1402009912"],"photo_ids_order":["1402009907","1402009910","1402009911","1402009912","1402009913","1402009914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce575872ca950de57134c77da361b356.jpg","text":"TemporaryFile(/tmp/multipartBody3173905595334244460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260084402,"filename":"image_04112025_15_59_32_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab4eed2d514b801c05026c5f1f3dbdba.jpg","text":"TemporaryFile(/tmp/multipartBody3684714586635523349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260084402,"filename":"image_04112025_15_59_27_18643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e485b77261c3ecac2ce82cb9599f313.jpg","text":"TemporaryFile(/tmp/multipartBody6866958797132701641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260084402,"filename":"image_04112025_15_59_09_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97d23ee77e821641ddaf053afb66fb77.jpg","text":"TemporaryFile(/tmp/multipartBody6986781545348479238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260084402,"filename":"image_04112025_15_59_31_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89e360300247f4532793ed0f541560a9.jpg","text":"TemporaryFile(/tmp/multipartBody8482908857428419548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260084402,"filename":"image_04112025_15_59_07_15726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d0c9535e5bce3bc9ccb3e453cd2238e.jpg","text":"TemporaryFile(/tmp/multipartBody4826604883440414536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260084402,"filename":"image_04112025_15_59_29_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009911","file1":"1402009910","file0":"1402009907","file4":"1402009913","file5":"1402009914","file3":"1402009912"},"map_files_photo_id_array":[{"photo_id":"1402009914","filename":"file5"},{"photo_id":"1402009911","filename":"file2"},{"photo_id":"1402009913","filename":"file4"},{"photo_id":"1402009910","filename":"file1"},{"photo_id":"1402009907","filename":"file0"},{"photo_id":"1402009912","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009914":["hashtag1","hashtag2"]},{"1402009911":["hashtag1","hashtag2"]},{"1402009910":["hashtag1","hashtag2"]},{"1402009913":["hashtag1","hashtag2"]},{"1402009907":["hashtag1","hashtag2"]},{"1402009912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009914, 1402009911, 1402009910, 1402009913, 1402009907, 1402009912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73914980888367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:34:21.939992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_54_9548.jpg', '/home/pi/Desktop/images/01012026/08/46/image_01012026_08_47_05_10579.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_14_9657.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_25_10751.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_35_9577.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_44_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_54_9548.jpg
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_47_05_10579.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_14_9657.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_25_10751.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_35_9577.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_44_9577.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.47272181510925293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:34:31.849712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_34_1563.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_35_1559.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_37_1697.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_39_1656.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_40_1531.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_42_1738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_34_1563.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_35_1559.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_37_1697.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_39_1656.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_40_1531.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_42_1738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009932","1402009931","1402009928","1402009921","1402009930","1402009924"],"photo_ids_order":["1402009921","1402009924","1402009928","1402009930","1402009931","1402009932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/713a7b10a1f63a37bed9deb49e6853b6.jpg","text":"TemporaryFile(/tmp/multipartBody2730368030167706479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260133733,"filename":"image_04112025_15_59_42_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b38a97d3d5a733812d0162d226a329d9.jpg","text":"TemporaryFile(/tmp/multipartBody1374396536218317777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260133733,"filename":"image_04112025_15_59_40_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24737dc233e4089b9636d996dd9e9e9e.jpg","text":"TemporaryFile(/tmp/multipartBody3858164426619834712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260133733,"filename":"image_04112025_15_59_37_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ae89597f87b28463bb43ec21e8d4a8f.jpg","text":"TemporaryFile(/tmp/multipartBody5025214746552770651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260133733,"filename":"image_04112025_15_59_34_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78805eed2b4f2508c235bf3eddacd512.jpg","text":"TemporaryFile(/tmp/multipartBody3381494250825867688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260133733,"filename":"image_04112025_15_59_39_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ccb961aadfd7f6d31ceda0f872d0d808.jpg","text":"TemporaryFile(/tmp/multipartBody1917293769392545912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260133733,"filename":"image_04112025_15_59_35_1559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009928","file1":"1402009924","file0":"1402009921","file4":"1402009931","file5":"1402009932","file3":"1402009930"},"map_files_photo_id_array":[{"photo_id":"1402009932","filename":"file5"},{"photo_id":"1402009928","filename":"file2"},{"photo_id":"1402009931","filename":"file4"},{"photo_id":"1402009924","filename":"file1"},{"photo_id":"1402009921","filename":"file0"},{"photo_id":"1402009930","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009932":["hashtag1","hashtag2"]},{"1402009931":["hashtag1","hashtag2"]},{"1402009928":["hashtag1","hashtag2"]},{"1402009921":["hashtag1","hashtag2"]},{"1402009930":["hashtag1","hashtag2"]},{"1402009924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009932, 1402009931, 1402009928, 1402009921, 1402009930, 1402009924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31224346160889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:35:11.999229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_44_1692.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_48_3991.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_50_1817.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_51_1518.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_53_1575.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_54_1711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_44_1692.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_48_3991.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_50_1817.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_51_1518.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_53_1575.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_54_1711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009944","1402009938","1402009935","1402009940","1402009942","1402009936"],"photo_ids_order":["1402009935","1402009936","1402009938","1402009940","1402009942","1402009944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/054cf8a7cf82a4b7a9558ab2340f9c47.jpg","text":"TemporaryFile(/tmp/multipartBody3567677796385982307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260173780,"filename":"image_04112025_15_59_54_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87a66ded90940e2fa1a148f4473fc03b.jpg","text":"TemporaryFile(/tmp/multipartBody5023994547711796855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260173780,"filename":"image_04112025_15_59_50_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ceb892971f66afb57b17bb29ea4dd89.jpg","text":"TemporaryFile(/tmp/multipartBody523525789238409233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260173780,"filename":"image_04112025_15_59_44_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8ed372551a1c72c2580f6a99afb4fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4874664681156352550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260173780,"filename":"image_04112025_15_59_51_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/793bd8b58db952071167012953be8ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5202021918389746995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260173780,"filename":"image_04112025_15_59_53_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/524b894daffc09a3d5fc3b6472e9a8f7.jpg","text":"TemporaryFile(/tmp/multipartBody7636783601875364977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260173780,"filename":"image_04112025_15_59_48_3991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009938","file1":"1402009936","file0":"1402009935","file4":"1402009942","file5":"1402009944","file3":"1402009940"},"map_files_photo_id_array":[{"photo_id":"1402009944","filename":"file5"},{"photo_id":"1402009938","filename":"file2"},{"photo_id":"1402009942","filename":"file4"},{"photo_id":"1402009936","filename":"file1"},{"photo_id":"1402009935","filename":"file0"},{"photo_id":"1402009940","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009944":["hashtag1","hashtag2"]},{"1402009938":["hashtag1","hashtag2"]},{"1402009935":["hashtag1","hashtag2"]},{"1402009940":["hashtag1","hashtag2"]},{"1402009942":["hashtag1","hashtag2"]},{"1402009936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009944, 1402009938, 1402009935, 1402009940, 1402009942, 1402009936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98426556587219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:36:02.873925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_54_9548.jpg', '/home/pi/Desktop/images/01012026/08/46/image_01012026_08_47_05_10579.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_14_9657.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_25_10751.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_35_9577.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_44_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_54_9548.jpg
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_47_05_10579.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_14_9657.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_25_10751.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_35_9577.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_44_9577.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.48700785636901855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:36:12.371797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_56_1625.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_58_1640.jpg', '/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_59_1555.jpg', '/home/pi/Desktop/images/04112025/16/00/image_04112025_16_00_01_1600.jpg', '/home/pi/Desktop/images/04112025/16/00/image_04112025_16_00_07_3012.jpg', '/home/pi/Desktop/images/04112025/16/00/image_04112025_16_00_11_3641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_56_1625.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_58_1640.jpg
/home/pi/Desktop/images/04112025/15/59/image_04112025_15_59_59_1555.jpg
/home/pi/Desktop/images/04112025/16/00/image_04112025_16_00_01_1600.jpg
/home/pi/Desktop/images/04112025/16/00/image_04112025_16_00_07_3012.jpg
/home/pi/Desktop/images/04112025/16/00/image_04112025_16_00_11_3641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009961","1402009964","1402009958","1402009954","1402009963","1402009956"],"photo_ids_order":["1402009954","1402009956","1402009958","1402009961","1402009963","1402009964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffcf8b56d02f55741be940860549c999.jpg","text":"TemporaryFile(/tmp/multipartBody5594500130075358313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260234146,"filename":"image_04112025_16_00_01_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7dfa285d219cf88e5388da845dec4869.jpg","text":"TemporaryFile(/tmp/multipartBody3467504747520584957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260234146,"filename":"image_04112025_16_00_11_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f85e78c50e9987143506b63bbc48d6e.jpg","text":"TemporaryFile(/tmp/multipartBody7659355744130398875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260234146,"filename":"image_04112025_15_59_59_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8d72796c30a8c1d197ebf4981c8a05f.jpg","text":"TemporaryFile(/tmp/multipartBody7744675356217602225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260234146,"filename":"image_04112025_15_59_56_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e5b4f3d075f05aec43e4cdc75701206.jpg","text":"TemporaryFile(/tmp/multipartBody8037374076165305260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260234146,"filename":"image_04112025_16_00_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60e53d29408730bbafc1ad6c5ce608ea.jpg","text":"TemporaryFile(/tmp/multipartBody2693138187559096048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260234146,"filename":"image_04112025_15_59_58_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009958","file1":"1402009956","file0":"1402009954","file4":"1402009963","file5":"1402009964","file3":"1402009961"},"map_files_photo_id_array":[{"photo_id":"1402009964","filename":"file5"},{"photo_id":"1402009958","filename":"file2"},{"photo_id":"1402009963","filename":"file4"},{"photo_id":"1402009956","filename":"file1"},{"photo_id":"1402009954","filename":"file0"},{"photo_id":"1402009961","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009961":["hashtag1","hashtag2"]},{"1402009964":["hashtag1","hashtag2"]},{"1402009958":["hashtag1","hashtag2"]},{"1402009954":["hashtag1","hashtag2"]},{"1402009963":["hashtag1","hashtag2"]},{"1402009956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009961, 1402009964, 1402009958, 1402009954, 1402009963, 1402009956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91590857505798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:37:03.010493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_54_9548.jpg', '/home/pi/Desktop/images/01012026/08/46/image_01012026_08_47_05_10579.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_14_9657.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_25_10751.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_35_9577.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_44_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_46_54_9548.jpg
/home/pi/Desktop/images/01012026/08/46/image_01012026_08_47_05_10579.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_14_9657.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_25_10751.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_35_9577.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_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":["1402009971","1402009973","1402009970","1402009972","1402009975","1402009969"],"photo_ids_order":["1402009969","1402009970","1402009971","1402009972","1402009973","1402009975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b01ac1ab6e12c47be70924b18d19ba52.jpg","text":"TemporaryFile(/tmp/multipartBody7947251386482033534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260283696,"filename":"image_01012026_08_47_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28259a5320c30ccfb252117495ac5ea5.jpg","text":"TemporaryFile(/tmp/multipartBody2093354159773895932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260283696,"filename":"image_01012026_08_47_35_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2fa845787e658be99e9738c661695ac3.jpg","text":"TemporaryFile(/tmp/multipartBody9149095589034843687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260283696,"filename":"image_01012026_08_47_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c544797f70bfc6e08c82a26551be188d.jpg","text":"TemporaryFile(/tmp/multipartBody129198463116142330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260283696,"filename":"image_01012026_08_47_25_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/244b032f4dbe6dd0f5f2d7458a1d186a.jpg","text":"TemporaryFile(/tmp/multipartBody826320095508555284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260283696,"filename":"image_01012026_08_47_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aae5f169a78fb74cb4a94b71aaba0cda.jpg","text":"TemporaryFile(/tmp/multipartBody7786888114531831217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260283696,"filename":"image_01012026_08_46_54_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009971","file1":"1402009970","file0":"1402009969","file4":"1402009973","file5":"1402009975","file3":"1402009972"},"map_files_photo_id_array":[{"photo_id":"1402009975","filename":"file5"},{"photo_id":"1402009971","filename":"file2"},{"photo_id":"1402009973","filename":"file4"},{"photo_id":"1402009970","filename":"file1"},{"photo_id":"1402009969","filename":"file0"},{"photo_id":"1402009972","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009971":["hashtag1","hashtag2"]},{"1402009973":["hashtag1","hashtag2"]},{"1402009970":["hashtag1","hashtag2"]},{"1402009972":["hashtag1","hashtag2"]},{"1402009975":["hashtag1","hashtag2"]},{"1402009969":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009971, 1402009973, 1402009970, 1402009972, 1402009975, 1402009969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0863835811615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:37:42.486774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_13_8942.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_14_1637.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_26_11685.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_28_1677.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_29_1506.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_31_1586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_13_8942.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_14_1637.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_26_11685.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_28_1677.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_29_1506.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_31_1586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402009986","1402009985","1402009984","1402009987","1402009981","1402009983"],"photo_ids_order":["1402009981","1402009983","1402009984","1402009985","1402009986","1402009987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c249f54c4aaa8cdc3d72dc057462589a.jpg","text":"TemporaryFile(/tmp/multipartBody7265388884496217401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260324376,"filename":"image_04112025_16_02_29_1506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de99e1f745caf9af2f9d3a0f4b28a35f.jpg","text":"TemporaryFile(/tmp/multipartBody8802532671374503400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260324376,"filename":"image_04112025_16_02_28_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a6f7654ca1648fe8c8a9f14a3cd0d7f.jpg","text":"TemporaryFile(/tmp/multipartBody1554644372780085883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260324376,"filename":"image_04112025_16_02_26_11685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ec3765a1e7079bdc9a7f5fce87ce186.jpg","text":"TemporaryFile(/tmp/multipartBody5966588761624212235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260324376,"filename":"image_04112025_16_02_31_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21325d0a426cfe2b0eaf740814c6a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody3862257393881660555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260324376,"filename":"image_04112025_16_02_13_8942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22857a35520903971f778f8f4618daab.jpg","text":"TemporaryFile(/tmp/multipartBody8200529826678332834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260324376,"filename":"image_04112025_16_02_14_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009984","file1":"1402009983","file0":"1402009981","file4":"1402009986","file5":"1402009987","file3":"1402009985"},"map_files_photo_id_array":[{"photo_id":"1402009987","filename":"file5"},{"photo_id":"1402009984","filename":"file2"},{"photo_id":"1402009986","filename":"file4"},{"photo_id":"1402009983","filename":"file1"},{"photo_id":"1402009981","filename":"file0"},{"photo_id":"1402009985","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402009986":["hashtag1","hashtag2"]},{"1402009985":["hashtag1","hashtag2"]},{"1402009984":["hashtag1","hashtag2"]},{"1402009987":["hashtag1","hashtag2"]},{"1402009981":["hashtag1","hashtag2"]},{"1402009983":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402009986, 1402009985, 1402009984, 1402009987, 1402009981, 1402009983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.558401584625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:38:22.796663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_55_10716.jpg', '/home/pi/Desktop/images/01012026/08/47/image_01012026_08_48_05_9803.jpg', '/home/pi/Desktop/images/01012026/08/48/image_01012026_08_48_14_9605.jpg', '/home/pi/Desktop/images/01012026/08/48/image_01012026_08_48_25_10697.jpg', '/home/pi/Desktop/images/01012026/08/48/image_01012026_08_48_35_9585.jpg', '/home/pi/Desktop/images/01012026/08/48/image_01012026_08_48_44_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_47_55_10716.jpg
/home/pi/Desktop/images/01012026/08/47/image_01012026_08_48_05_9803.jpg
/home/pi/Desktop/images/01012026/08/48/image_01012026_08_48_14_9605.jpg
/home/pi/Desktop/images/01012026/08/48/image_01012026_08_48_25_10697.jpg
/home/pi/Desktop/images/01012026/08/48/image_01012026_08_48_35_9585.jpg
/home/pi/Desktop/images/01012026/08/48/image_01012026_08_48_44_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":["1402009994","1402009996","1402009990","1402010003","1402009992","1402009989"],"photo_ids_order":["1402009989","1402009990","1402009992","1402009994","1402009996","1402010003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/866d3e0872687f64450526b81a84946f.jpg","text":"TemporaryFile(/tmp/multipartBody1796951297589919657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260363378,"filename":"image_01012026_08_48_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/801a8b8360d7cce71c1e85e0f7e741db.jpg","text":"TemporaryFile(/tmp/multipartBody2035807158388581259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260363378,"filename":"image_01012026_08_48_35_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9cbe766b65486579930ce11b9aa9653.jpg","text":"TemporaryFile(/tmp/multipartBody8326821157919604339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260363378,"filename":"image_01012026_08_48_05_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b8a23a367b8d8e75176ab3a58c9dee4.jpg","text":"TemporaryFile(/tmp/multipartBody838819292852719055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260363378,"filename":"image_01012026_08_48_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3dcf9bfa490952f551726206877c293.jpg","text":"TemporaryFile(/tmp/multipartBody8700969058026053752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260363378,"filename":"image_01012026_08_48_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/759b780d38b4ce37ffd405b2c1cd907c.jpg","text":"TemporaryFile(/tmp/multipartBody2523753221989966901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260363378,"filename":"image_01012026_08_47_55_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402009992","file1":"1402009990","file0":"1402009989","file4":"1402009996","file5":"1402010003","file3":"1402009994"},"map_files_photo_id_array":[{"photo_id":"1402010003","filename":"file5"},{"photo_id":"1402009992","filename":"file2"},{"photo_id":"1402009996","filename":"file4"},{"photo_id":"1402009990","filename":"file1"},{"photo_id":"1402009989","filename":"file0"},{"photo_id":"1402009994","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402009994":["hashtag1","hashtag2"]},{"1402009996":["hashtag1","hashtag2"]},{"1402009990":["hashtag1","hashtag2"]},{"1402010003":["hashtag1","hashtag2"]},{"1402009992":["hashtag1","hashtag2"]},{"1402009989":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402009994, 1402009996, 1402009990, 1402010003, 1402009992, 1402009989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46515703201294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:39:03.654925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/48/image_01012026_08_49_05_9893.jpg', '/home/pi/Desktop/images/01012026/08/49/image_01012026_08_49_24_9667.jpg', '/home/pi/Desktop/images/01012026/08/49/image_01012026_08_49_35_10526.jpg', '/home/pi/Desktop/images/01012026/08/49/image_01012026_08_50_04_9682.jpg', '/home/pi/Desktop/images/01012026/08/50/image_01012026_08_50_14_9687.jpg', '/home/pi/Desktop/images/01012026/08/50/image_01012026_08_50_25_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/48/image_01012026_08_49_05_9893.jpg
/home/pi/Desktop/images/01012026/08/49/image_01012026_08_49_24_9667.jpg
/home/pi/Desktop/images/01012026/08/49/image_01012026_08_49_35_10526.jpg
/home/pi/Desktop/images/01012026/08/49/image_01012026_08_50_04_9682.jpg
/home/pi/Desktop/images/01012026/08/50/image_01012026_08_50_14_9687.jpg
/home/pi/Desktop/images/01012026/08/50/image_01012026_08_50_25_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010011","1402010005","1402010008","1402010013","1402010010","1402010009"],"photo_ids_order":["1402010005","1402010008","1402010009","1402010010","1402010011","1402010013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a11040e36a0e53a1368ff71fd280a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8383165759458078830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260404422,"filename":"image_01012026_08_50_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4843a87fc29a9e1ac71d8fc78f8e05a9.jpg","text":"TemporaryFile(/tmp/multipartBody3800126210466784686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260404422,"filename":"image_01012026_08_49_05_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38f688d957df59274e747fcee3a8e836.jpg","text":"TemporaryFile(/tmp/multipartBody2126874589260875118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260404422,"filename":"image_01012026_08_49_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/064aa4b7a2af4ee0b848d3cb96fc9dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3191876253169815633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260404422,"filename":"image_01012026_08_50_25_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e19dbd8d7580b703808641cfe94080c.jpg","text":"TemporaryFile(/tmp/multipartBody2274156362624722923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260404422,"filename":"image_01012026_08_50_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49fc056f9620260c342ba04afe49c805.jpg","text":"TemporaryFile(/tmp/multipartBody5400540552053962586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260404422,"filename":"image_01012026_08_49_35_10526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010009","file1":"1402010008","file0":"1402010005","file4":"1402010011","file5":"1402010013","file3":"1402010010"},"map_files_photo_id_array":[{"photo_id":"1402010013","filename":"file5"},{"photo_id":"1402010009","filename":"file2"},{"photo_id":"1402010011","filename":"file4"},{"photo_id":"1402010008","filename":"file1"},{"photo_id":"1402010005","filename":"file0"},{"photo_id":"1402010010","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010011":["hashtag1","hashtag2"]},{"1402010005":["hashtag1","hashtag2"]},{"1402010008":["hashtag1","hashtag2"]},{"1402010013":["hashtag1","hashtag2"]},{"1402010010":["hashtag1","hashtag2"]},{"1402010009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010011, 1402010005, 1402010008, 1402010013, 1402010010, 1402010009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.091922998428345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:39:42.751611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_32_1655.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_34_1565.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_36_1814.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_37_1603.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_39_1637.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_41_1843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_32_1655.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_34_1565.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_36_1814.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_37_1603.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_39_1637.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_41_1843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010023","1402010022","1402010019","1402010018","1402010021","1402010020"],"photo_ids_order":["1402010018","1402010019","1402010020","1402010021","1402010022","1402010023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db211d8ca3e471720f5fa8d52353d48e.jpg","text":"TemporaryFile(/tmp/multipartBody8363785477140383479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260444626,"filename":"image_04112025_16_02_41_1843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/559220b3e510698cd7eb987a9219f7e8.jpg","text":"TemporaryFile(/tmp/multipartBody4505176919013316842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260444626,"filename":"image_04112025_16_02_39_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/deaabbd1f105efa0e0565615ba5f2d01.jpg","text":"TemporaryFile(/tmp/multipartBody91251531448247734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260444626,"filename":"image_04112025_16_02_34_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/282eccb08372711ddf93d97285c651db.jpg","text":"TemporaryFile(/tmp/multipartBody1493293809062564729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260444626,"filename":"image_04112025_16_02_32_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17755d18c298e41da6ff6f97b6b4bc65.jpg","text":"TemporaryFile(/tmp/multipartBody615450961377183311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260444626,"filename":"image_04112025_16_02_37_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0671b126c1b204f5ccf946602beb20a7.jpg","text":"TemporaryFile(/tmp/multipartBody570743780330625162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260444626,"filename":"image_04112025_16_02_36_1814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010020","file1":"1402010019","file0":"1402010018","file4":"1402010022","file5":"1402010023","file3":"1402010021"},"map_files_photo_id_array":[{"photo_id":"1402010023","filename":"file5"},{"photo_id":"1402010020","filename":"file2"},{"photo_id":"1402010022","filename":"file4"},{"photo_id":"1402010019","filename":"file1"},{"photo_id":"1402010018","filename":"file0"},{"photo_id":"1402010021","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010023":["hashtag1","hashtag2"]},{"1402010022":["hashtag1","hashtag2"]},{"1402010019":["hashtag1","hashtag2"]},{"1402010018":["hashtag1","hashtag2"]},{"1402010021":["hashtag1","hashtag2"]},{"1402010020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010023, 1402010022, 1402010019, 1402010018, 1402010021, 1402010020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5271942615509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:40:21.953780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/50/image_01012026_08_50_35_10193.jpg', '/home/pi/Desktop/images/01012026/08/50/image_01012026_08_50_45_9707.jpg', '/home/pi/Desktop/images/01012026/08/50/image_01012026_08_51_05_10619.jpg', '/home/pi/Desktop/images/01012026/08/51/image_01012026_08_51_25_10176.jpg', '/home/pi/Desktop/images/01012026/08/51/image_01012026_08_51_35_9638.jpg', '/home/pi/Desktop/images/01012026/08/51/image_01012026_08_51_44_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/50/image_01012026_08_50_35_10193.jpg
/home/pi/Desktop/images/01012026/08/50/image_01012026_08_50_45_9707.jpg
/home/pi/Desktop/images/01012026/08/50/image_01012026_08_51_05_10619.jpg
/home/pi/Desktop/images/01012026/08/51/image_01012026_08_51_25_10176.jpg
/home/pi/Desktop/images/01012026/08/51/image_01012026_08_51_35_9638.jpg
/home/pi/Desktop/images/01012026/08/51/image_01012026_08_51_44_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":["1402010026","1402010031","1402010028","1402010030","1402010024","1402010029"],"photo_ids_order":["1402010024","1402010026","1402010028","1402010029","1402010030","1402010031"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f93c5eff3cdc27cdf686a1bfcd24453.jpg","text":"TemporaryFile(/tmp/multipartBody895368141971865398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260482519,"filename":"image_01012026_08_50_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/924c31620545e079e211e53a147d07ea.jpg","text":"TemporaryFile(/tmp/multipartBody112599554134876375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260482519,"filename":"image_01012026_08_51_44_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84273ca79c66b3a84150474cc231bfad.jpg","text":"TemporaryFile(/tmp/multipartBody6906009072037432282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260482519,"filename":"image_01012026_08_51_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/851d9bef942d39b0b2bf881874231b71.jpg","text":"TemporaryFile(/tmp/multipartBody4704259581097877519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260482519,"filename":"image_01012026_08_51_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/544bd5ff8125ce848b3a722168bacab0.jpg","text":"TemporaryFile(/tmp/multipartBody5721961180098463663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260482519,"filename":"image_01012026_08_50_35_10193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/369fde04bdad7af1b8f456fdd1de6101.jpg","text":"TemporaryFile(/tmp/multipartBody2353354976066701706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260482519,"filename":"image_01012026_08_51_25_10176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010028","file1":"1402010026","file0":"1402010024","file4":"1402010030","file5":"1402010031","file3":"1402010029"},"map_files_photo_id_array":[{"photo_id":"1402010031","filename":"file5"},{"photo_id":"1402010028","filename":"file2"},{"photo_id":"1402010030","filename":"file4"},{"photo_id":"1402010026","filename":"file1"},{"photo_id":"1402010024","filename":"file0"},{"photo_id":"1402010029","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010026":["hashtag1","hashtag2"]},{"1402010031":["hashtag1","hashtag2"]},{"1402010028":["hashtag1","hashtag2"]},{"1402010030":["hashtag1","hashtag2"]},{"1402010024":["hashtag1","hashtag2"]},{"1402010029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010026, 1402010031, 1402010028, 1402010030, 1402010024, 1402010029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73725390434265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:41:02.800500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/51/image_01012026_08_51_55_10534.jpg', '/home/pi/Desktop/images/01012026/08/51/image_01012026_08_52_04_9648.jpg', '/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_15_10615.jpg', '/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_24_9557.jpg', '/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_34_9665.jpg', '/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_45_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/51/image_01012026_08_51_55_10534.jpg
/home/pi/Desktop/images/01012026/08/51/image_01012026_08_52_04_9648.jpg
/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_15_10615.jpg
/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_24_9557.jpg
/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_34_9665.jpg
/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_45_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010038","1402010032","1402010040","1402010034","1402010037","1402010035"],"photo_ids_order":["1402010032","1402010034","1402010035","1402010037","1402010038","1402010040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db8e19d5b13c0a43ef5d30ba70b56797.jpg","text":"TemporaryFile(/tmp/multipartBody4832426613412444239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260523429,"filename":"image_01012026_08_52_34_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db33b3239d91abf7078e2e72b7ae44f5.jpg","text":"TemporaryFile(/tmp/multipartBody6391212401789816050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260523429,"filename":"image_01012026_08_51_55_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c03e6f3b9bf720144cd0336a7177c614.jpg","text":"TemporaryFile(/tmp/multipartBody7797863188680801243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260523429,"filename":"image_01012026_08_52_45_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/524a5ac53dee71a868dcdba48ec74574.jpg","text":"TemporaryFile(/tmp/multipartBody1736155645644019811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260523429,"filename":"image_01012026_08_52_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6122135f6ce0c20b2454b76b86f61c74.jpg","text":"TemporaryFile(/tmp/multipartBody5850148412700574306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260523429,"filename":"image_01012026_08_52_24_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76d4601d0055699e313ad5f0523eb13d.jpg","text":"TemporaryFile(/tmp/multipartBody2003743884571161462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260523429,"filename":"image_01012026_08_52_15_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010035","file1":"1402010034","file0":"1402010032","file4":"1402010038","file5":"1402010040","file3":"1402010037"},"map_files_photo_id_array":[{"photo_id":"1402010040","filename":"file5"},{"photo_id":"1402010035","filename":"file2"},{"photo_id":"1402010038","filename":"file4"},{"photo_id":"1402010034","filename":"file1"},{"photo_id":"1402010032","filename":"file0"},{"photo_id":"1402010037","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010038":["hashtag1","hashtag2"]},{"1402010032":["hashtag1","hashtag2"]},{"1402010040":["hashtag1","hashtag2"]},{"1402010034":["hashtag1","hashtag2"]},{"1402010037":["hashtag1","hashtag2"]},{"1402010035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010038, 1402010032, 1402010040, 1402010034, 1402010037, 1402010035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04126477241516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:41:42.233181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_44_3580.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_46_1692.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_49_2749.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_53_3694.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_55_2567.jpg', '/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_59_3971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_44_3580.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_46_1692.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_49_2749.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_53_3694.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_55_2567.jpg
/home/pi/Desktop/images/04112025/16/02/image_04112025_16_02_59_3971.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010050","1402010052","1402010049","1402010051","1402010048","1402010047"],"photo_ids_order":["1402010047","1402010048","1402010049","1402010050","1402010051","1402010052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a1f6809621bbe3e1d1130d86d25a5e2.jpg","text":"TemporaryFile(/tmp/multipartBody3060855290001821666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260564115,"filename":"image_04112025_16_02_53_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8e12066dec87674364504b800837091.jpg","text":"TemporaryFile(/tmp/multipartBody651005425457121487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260564115,"filename":"image_04112025_16_02_59_3971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10c4275c23edb42c433d09f958d323b5.jpg","text":"TemporaryFile(/tmp/multipartBody5312982841114374795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260564115,"filename":"image_04112025_16_02_49_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5271e4f4f9427ac5d847760e9eda2c0.jpg","text":"TemporaryFile(/tmp/multipartBody4505789026338822067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260564115,"filename":"image_04112025_16_02_55_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3615541f9957098c79477d7580fd64f4.jpg","text":"TemporaryFile(/tmp/multipartBody7576171774877988262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260564115,"filename":"image_04112025_16_02_46_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d29db948cebd94e3cc9ad5b5cb8aa42.jpg","text":"TemporaryFile(/tmp/multipartBody2564473521705309319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260564115,"filename":"image_04112025_16_02_44_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010049","file1":"1402010048","file0":"1402010047","file4":"1402010051","file5":"1402010052","file3":"1402010050"},"map_files_photo_id_array":[{"photo_id":"1402010052","filename":"file5"},{"photo_id":"1402010049","filename":"file2"},{"photo_id":"1402010051","filename":"file4"},{"photo_id":"1402010048","filename":"file1"},{"photo_id":"1402010047","filename":"file0"},{"photo_id":"1402010050","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010050":["hashtag1","hashtag2"]},{"1402010052":["hashtag1","hashtag2"]},{"1402010049":["hashtag1","hashtag2"]},{"1402010051":["hashtag1","hashtag2"]},{"1402010048":["hashtag1","hashtag2"]},{"1402010047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010050, 1402010052, 1402010049, 1402010051, 1402010048, 1402010047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74764013290405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:42:22.398110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_54_9583.jpg', '/home/pi/Desktop/images/01012026/08/52/image_01012026_08_53_04_9793.jpg', '/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_15_10727.jpg', '/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_25_9780.jpg', '/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_34_9636.jpg', '/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_45_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/52/image_01012026_08_52_54_9583.jpg
/home/pi/Desktop/images/01012026/08/52/image_01012026_08_53_04_9793.jpg
/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_15_10727.jpg
/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_25_9780.jpg
/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_34_9636.jpg
/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_45_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010064","1402010058","1402010060","1402010054","1402010053","1402010056"],"photo_ids_order":["1402010053","1402010054","1402010056","1402010058","1402010060","1402010064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/788cd5460789472d3c48bec5b9af4e8a.jpg","text":"TemporaryFile(/tmp/multipartBody429395452112324649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260602960,"filename":"image_01012026_08_53_45_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a53073441762f0a4a19c7cf79dddb701.jpg","text":"TemporaryFile(/tmp/multipartBody3147214363133355800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260602960,"filename":"image_01012026_08_53_25_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b0c9ee7ddb47bdd28a1d808f0c5dba0.jpg","text":"TemporaryFile(/tmp/multipartBody2011492457486950978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260602960,"filename":"image_01012026_08_53_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6c2a139b8b41d755c3742bc164c6594.jpg","text":"TemporaryFile(/tmp/multipartBody5255701381895339591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260602960,"filename":"image_01012026_08_53_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d62a98c8ae664f58373d575a66a0785.jpg","text":"TemporaryFile(/tmp/multipartBody1951135383543701723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260602960,"filename":"image_01012026_08_52_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc7829bb20ab0b1a385047624c651b25.jpg","text":"TemporaryFile(/tmp/multipartBody2099976630758918486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260602960,"filename":"image_01012026_08_53_15_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010056","file1":"1402010054","file0":"1402010053","file4":"1402010060","file5":"1402010064","file3":"1402010058"},"map_files_photo_id_array":[{"photo_id":"1402010064","filename":"file5"},{"photo_id":"1402010056","filename":"file2"},{"photo_id":"1402010060","filename":"file4"},{"photo_id":"1402010054","filename":"file1"},{"photo_id":"1402010053","filename":"file0"},{"photo_id":"1402010058","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010064":["hashtag1","hashtag2"]},{"1402010058":["hashtag1","hashtag2"]},{"1402010060":["hashtag1","hashtag2"]},{"1402010054":["hashtag1","hashtag2"]},{"1402010053":["hashtag1","hashtag2"]},{"1402010056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010064, 1402010058, 1402010060, 1402010054, 1402010053, 1402010056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.095425844192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:43:03.282923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_54_9512.jpg', '/home/pi/Desktop/images/01012026/08/53/image_01012026_08_54_05_10393.jpg', '/home/pi/Desktop/images/01012026/08/54/image_01012026_08_54_14_9684.jpg', '/home/pi/Desktop/images/01012026/08/54/image_01012026_08_54_24_9690.jpg', '/home/pi/Desktop/images/01012026/08/54/image_01012026_08_54_35_10701.jpg', '/home/pi/Desktop/images/01012026/08/54/image_01012026_08_54_44_9516.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/53/image_01012026_08_53_54_9512.jpg
/home/pi/Desktop/images/01012026/08/53/image_01012026_08_54_05_10393.jpg
/home/pi/Desktop/images/01012026/08/54/image_01012026_08_54_14_9684.jpg
/home/pi/Desktop/images/01012026/08/54/image_01012026_08_54_24_9690.jpg
/home/pi/Desktop/images/01012026/08/54/image_01012026_08_54_35_10701.jpg
/home/pi/Desktop/images/01012026/08/54/image_01012026_08_54_44_9516.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010070","1402010073","1402010072","1402010075","1402010077","1402010074"],"photo_ids_order":["1402010070","1402010072","1402010073","1402010074","1402010075","1402010077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8267dd84ca43ecd977e8272b4260fec6.jpg","text":"TemporaryFile(/tmp/multipartBody4343525585257060129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260643929,"filename":"image_01012026_08_53_54_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/903c9eaca77d7bba781854425804412e.jpg","text":"TemporaryFile(/tmp/multipartBody1074947247167945881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260643929,"filename":"image_01012026_08_54_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21b881417e1412a4858cfa2f341c72e5.jpg","text":"TemporaryFile(/tmp/multipartBody5270534096808368443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260643929,"filename":"image_01012026_08_54_05_10393.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2dad3c37a0c1ab8bc311b9b292c6cec.jpg","text":"TemporaryFile(/tmp/multipartBody7289775760613645439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260643929,"filename":"image_01012026_08_54_35_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06bf04b04f0ce175383f4b9e0b685db8.jpg","text":"TemporaryFile(/tmp/multipartBody4278993903529221422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260643929,"filename":"image_01012026_08_54_44_9516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca56e9252495860755d10b590c0d7423.jpg","text":"TemporaryFile(/tmp/multipartBody76697882375880620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260643929,"filename":"image_01012026_08_54_24_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010073","file1":"1402010072","file0":"1402010070","file4":"1402010075","file5":"1402010077","file3":"1402010074"},"map_files_photo_id_array":[{"photo_id":"1402010077","filename":"file5"},{"photo_id":"1402010073","filename":"file2"},{"photo_id":"1402010075","filename":"file4"},{"photo_id":"1402010072","filename":"file1"},{"photo_id":"1402010070","filename":"file0"},{"photo_id":"1402010074","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010070":["hashtag1","hashtag2"]},{"1402010073":["hashtag1","hashtag2"]},{"1402010072":["hashtag1","hashtag2"]},{"1402010075":["hashtag1","hashtag2"]},{"1402010077":["hashtag1","hashtag2"]},{"1402010074":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010070, 1402010073, 1402010072, 1402010075, 1402010077, 1402010074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61283087730408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:43:42.558652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_01_1644.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_04_3705.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_07_2663.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_12_4440.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_13_1713.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_16_2631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_01_1644.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_04_3705.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_07_2663.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_12_4440.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_13_1713.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_16_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":["1402010088","1402010091","1402010085","1402010090","1402010092","1402010089"],"photo_ids_order":["1402010085","1402010088","1402010089","1402010090","1402010091","1402010092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f79340bb9aef084926977bd21601203d.jpg","text":"TemporaryFile(/tmp/multipartBody8120632823017917550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260684449,"filename":"image_04112025_16_03_04_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c67f0b3cfadfea983b3ec0e014f40e4b.jpg","text":"TemporaryFile(/tmp/multipartBody421052155110368772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260684449,"filename":"image_04112025_16_03_13_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be743f690ec6677a4067de09b26d025d.jpg","text":"TemporaryFile(/tmp/multipartBody5185005792300757122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260684449,"filename":"image_04112025_16_03_01_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e00eaa48172d7440143a6868c85574c1.jpg","text":"TemporaryFile(/tmp/multipartBody1875454187956079269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260684449,"filename":"image_04112025_16_03_12_4440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86b6a4ada41c0490d49cc691e30258c6.jpg","text":"TemporaryFile(/tmp/multipartBody5971768483205284523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260684449,"filename":"image_04112025_16_03_16_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91e7e82822b600e0db72c7a4f2cbb142.jpg","text":"TemporaryFile(/tmp/multipartBody651645503872806726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260684449,"filename":"image_04112025_16_03_07_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010089","file1":"1402010088","file0":"1402010085","file4":"1402010091","file5":"1402010092","file3":"1402010090"},"map_files_photo_id_array":[{"photo_id":"1402010092","filename":"file5"},{"photo_id":"1402010089","filename":"file2"},{"photo_id":"1402010091","filename":"file4"},{"photo_id":"1402010088","filename":"file1"},{"photo_id":"1402010085","filename":"file0"},{"photo_id":"1402010090","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010088":["hashtag1","hashtag2"]},{"1402010091":["hashtag1","hashtag2"]},{"1402010085":["hashtag1","hashtag2"]},{"1402010090":["hashtag1","hashtag2"]},{"1402010092":["hashtag1","hashtag2"]},{"1402010089":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010088, 1402010091, 1402010085, 1402010090, 1402010092, 1402010089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57809495925903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:44:22.723977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/55/image_01012026_08_55_24_9458.jpg', '/home/pi/Desktop/images/01012026/08/55/image_01012026_08_55_34_9731.jpg', '/home/pi/Desktop/images/01012026/08/55/image_01012026_08_55_45_10731.jpg', '/home/pi/Desktop/images/01012026/08/55/image_01012026_08_55_54_9370.jpg', '/home/pi/Desktop/images/01012026/08/55/image_01012026_08_56_05_10727.jpg', '/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_15_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/55/image_01012026_08_55_24_9458.jpg
/home/pi/Desktop/images/01012026/08/55/image_01012026_08_55_34_9731.jpg
/home/pi/Desktop/images/01012026/08/55/image_01012026_08_55_45_10731.jpg
/home/pi/Desktop/images/01012026/08/55/image_01012026_08_55_54_9370.jpg
/home/pi/Desktop/images/01012026/08/55/image_01012026_08_56_05_10727.jpg
/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_15_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":["1402010101","1402010107","1402010099","1402010103","1402010096","1402010105"],"photo_ids_order":["1402010096","1402010099","1402010101","1402010103","1402010105","1402010107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7c78f3d317b965de5896149f0d2dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7080058001837076273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260723280,"filename":"image_01012026_08_55_45_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49f65e83ca628bcafd6b81b46b81d8d7.jpg","text":"TemporaryFile(/tmp/multipartBody6120540545657662367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260723280,"filename":"image_01012026_08_56_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/567e727a705d86ae8f734b182c0a24f0.jpg","text":"TemporaryFile(/tmp/multipartBody8748524558147317594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260723280,"filename":"image_01012026_08_55_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a30c644c6722a168c274695bfe5815b3.jpg","text":"TemporaryFile(/tmp/multipartBody391010127946108110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260723280,"filename":"image_01012026_08_55_54_9370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/586a884e59ff628fabf2dc1869e66f53.jpg","text":"TemporaryFile(/tmp/multipartBody8930299197487356928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260723280,"filename":"image_01012026_08_55_24_9458.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e805d6f93ea9d6e0e17ebdd9e2069fab.jpg","text":"TemporaryFile(/tmp/multipartBody8688607604826993228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260723280,"filename":"image_01012026_08_56_05_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010101","file1":"1402010099","file0":"1402010096","file4":"1402010105","file5":"1402010107","file3":"1402010103"},"map_files_photo_id_array":[{"photo_id":"1402010107","filename":"file5"},{"photo_id":"1402010101","filename":"file2"},{"photo_id":"1402010105","filename":"file4"},{"photo_id":"1402010099","filename":"file1"},{"photo_id":"1402010096","filename":"file0"},{"photo_id":"1402010103","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010101":["hashtag1","hashtag2"]},{"1402010107":["hashtag1","hashtag2"]},{"1402010099":["hashtag1","hashtag2"]},{"1402010103":["hashtag1","hashtag2"]},{"1402010096":["hashtag1","hashtag2"]},{"1402010105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010101, 1402010107, 1402010099, 1402010103, 1402010096, 1402010105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.60717725753784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:45:02.579932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_25_10251.jpg', '/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_35_9731.jpg', '/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_44_9427.jpg', '/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_55_10861.jpg', '/home/pi/Desktop/images/01012026/08/56/image_01012026_08_57_05_9777.jpg', '/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_14_9518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_25_10251.jpg
/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_35_9731.jpg
/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_44_9427.jpg
/home/pi/Desktop/images/01012026/08/56/image_01012026_08_56_55_10861.jpg
/home/pi/Desktop/images/01012026/08/56/image_01012026_08_57_05_9777.jpg
/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_14_9518.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010116","1402010110","1402010112","1402010109","1402010111","1402010114"],"photo_ids_order":["1402010109","1402010110","1402010111","1402010112","1402010114","1402010116"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38ddd7749eb193951979654b345d883e.jpg","text":"TemporaryFile(/tmp/multipartBody1018576229792439679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260763172,"filename":"image_01012026_08_57_14_9518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b32da878bbadc31a6407966f685fe49.jpg","text":"TemporaryFile(/tmp/multipartBody7513412027901020726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260763172,"filename":"image_01012026_08_56_35_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dd490246dc338aa9f8e8d8fdabbf5a5.jpg","text":"TemporaryFile(/tmp/multipartBody4699378116265206086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260763172,"filename":"image_01012026_08_56_55_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9db57b190eb534240ebd812beb7f28c.jpg","text":"TemporaryFile(/tmp/multipartBody8284343019110478166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260763172,"filename":"image_01012026_08_56_25_10251.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/222e7443852bb16c2c391251bf21248d.jpg","text":"TemporaryFile(/tmp/multipartBody1252591178380051712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260763172,"filename":"image_01012026_08_56_44_9427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afe5cd3fc2c42dac08e7e5921f1976e9.jpg","text":"TemporaryFile(/tmp/multipartBody7335721899189839093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260763172,"filename":"image_01012026_08_57_05_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010111","file1":"1402010110","file0":"1402010109","file4":"1402010114","file5":"1402010116","file3":"1402010112"},"map_files_photo_id_array":[{"photo_id":"1402010116","filename":"file5"},{"photo_id":"1402010111","filename":"file2"},{"photo_id":"1402010114","filename":"file4"},{"photo_id":"1402010110","filename":"file1"},{"photo_id":"1402010109","filename":"file0"},{"photo_id":"1402010112","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010116":["hashtag1","hashtag2"]},{"1402010110":["hashtag1","hashtag2"]},{"1402010112":["hashtag1","hashtag2"]},{"1402010109":["hashtag1","hashtag2"]},{"1402010111":["hashtag1","hashtag2"]},{"1402010114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010116, 1402010110, 1402010112, 1402010109, 1402010111, 1402010114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.629051208496094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:45:41.916845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_26_10260.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_28_1687.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_55_27109.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_57_1682.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_58_1687.jpg', '/home/pi/Desktop/images/04112025/16/03/image_04112025_16_04_00_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_26_10260.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_28_1687.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_55_27109.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_57_1682.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_03_58_1687.jpg
/home/pi/Desktop/images/04112025/16/03/image_04112025_16_04_00_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":["1402010122","1402010125","1402010124","1402010127","1402010126","1402010128"],"photo_ids_order":["1402010122","1402010124","1402010125","1402010126","1402010127","1402010128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9e8dd600b4d7adae27d6946707ee4ab.jpg","text":"TemporaryFile(/tmp/multipartBody6353951644205190356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260803877,"filename":"image_04112025_16_03_26_10260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af77c933567f7c019de8b77fefe71239.jpg","text":"TemporaryFile(/tmp/multipartBody1731988589362429208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260803877,"filename":"image_04112025_16_03_55_27109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f280ea4882f5bc7afcffa790e8c1a88.jpg","text":"TemporaryFile(/tmp/multipartBody7872636259899682367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260803877,"filename":"image_04112025_16_03_28_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e934aad0b9c153a1869d85732b10be56.jpg","text":"TemporaryFile(/tmp/multipartBody3897666262462384476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260803877,"filename":"image_04112025_16_03_58_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/177557504d0aa9a54b7438c63a6135d0.jpg","text":"TemporaryFile(/tmp/multipartBody7601505981638516119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260803877,"filename":"image_04112025_16_03_57_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/898489efb22d3693859ae4cea1bf1da9.jpg","text":"TemporaryFile(/tmp/multipartBody8354404089582089502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260803877,"filename":"image_04112025_16_04_00_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010125","file1":"1402010124","file0":"1402010122","file4":"1402010127","file5":"1402010128","file3":"1402010126"},"map_files_photo_id_array":[{"photo_id":"1402010128","filename":"file5"},{"photo_id":"1402010125","filename":"file2"},{"photo_id":"1402010127","filename":"file4"},{"photo_id":"1402010124","filename":"file1"},{"photo_id":"1402010122","filename":"file0"},{"photo_id":"1402010126","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010122":["hashtag1","hashtag2"]},{"1402010125":["hashtag1","hashtag2"]},{"1402010124":["hashtag1","hashtag2"]},{"1402010127":["hashtag1","hashtag2"]},{"1402010126":["hashtag1","hashtag2"]},{"1402010128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010122, 1402010125, 1402010124, 1402010127, 1402010126, 1402010128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64307618141174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:46:22.119770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_24_9813.jpg', '/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_35_10681.jpg', '/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_45_10150.jpg', '/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_55_9685.jpg', '/home/pi/Desktop/images/01012026/08/57/image_01012026_08_58_04_9609.jpg', '/home/pi/Desktop/images/01012026/08/58/image_01012026_08_58_24_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_24_9813.jpg
/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_35_10681.jpg
/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_45_10150.jpg
/home/pi/Desktop/images/01012026/08/57/image_01012026_08_57_55_9685.jpg
/home/pi/Desktop/images/01012026/08/57/image_01012026_08_58_04_9609.jpg
/home/pi/Desktop/images/01012026/08/58/image_01012026_08_58_24_9568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010137","1402010130","1402010133","1402010135","1402010138","1402010140"],"photo_ids_order":["1402010130","1402010133","1402010135","1402010137","1402010138","1402010140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9347a1b90a2c5066e5b6e37f7aae8d00.jpg","text":"TemporaryFile(/tmp/multipartBody7419936895559787328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260842677,"filename":"image_01012026_08_57_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/331d81ee040eb20105051fe1d7912728.jpg","text":"TemporaryFile(/tmp/multipartBody598469860692034987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260842677,"filename":"image_01012026_08_57_24_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81b6f51ba54ca6ab7bf0df5ca52181cd.jpg","text":"TemporaryFile(/tmp/multipartBody7887598451815931851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260842677,"filename":"image_01012026_08_57_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3179e1610ea7f8d524a0196da3c8f84d.jpg","text":"TemporaryFile(/tmp/multipartBody4487799314771019771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260842677,"filename":"image_01012026_08_57_45_10150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c8c496536ac8522362ddb14f0b62b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5258041720491864514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260842677,"filename":"image_01012026_08_58_04_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/675740ef650613b71777e1a4055fc3db.jpg","text":"TemporaryFile(/tmp/multipartBody4100906942134653022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260842677,"filename":"image_01012026_08_58_24_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010135","file1":"1402010133","file0":"1402010130","file4":"1402010138","file5":"1402010140","file3":"1402010137"},"map_files_photo_id_array":[{"photo_id":"1402010140","filename":"file5"},{"photo_id":"1402010135","filename":"file2"},{"photo_id":"1402010138","filename":"file4"},{"photo_id":"1402010133","filename":"file1"},{"photo_id":"1402010130","filename":"file0"},{"photo_id":"1402010137","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010137":["hashtag1","hashtag2"]},{"1402010130":["hashtag1","hashtag2"]},{"1402010133":["hashtag1","hashtag2"]},{"1402010135":["hashtag1","hashtag2"]},{"1402010138":["hashtag1","hashtag2"]},{"1402010140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010137, 1402010130, 1402010133, 1402010135, 1402010138, 1402010140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.16750359535217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:47:02.962019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/58/image_01012026_08_58_35_10618.jpg', '/home/pi/Desktop/images/01012026/08/58/image_01012026_08_58_45_9659.jpg', '/home/pi/Desktop/images/01012026/08/58/image_01012026_08_58_54_9682.jpg', '/home/pi/Desktop/images/01012026/08/59/image_01012026_08_59_15_10600.jpg', '/home/pi/Desktop/images/01012026/08/59/image_01012026_08_59_25_10156.jpg', '/home/pi/Desktop/images/01012026/08/59/image_01012026_08_59_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/58/image_01012026_08_58_35_10618.jpg
/home/pi/Desktop/images/01012026/08/58/image_01012026_08_58_45_9659.jpg
/home/pi/Desktop/images/01012026/08/58/image_01012026_08_58_54_9682.jpg
/home/pi/Desktop/images/01012026/08/59/image_01012026_08_59_15_10600.jpg
/home/pi/Desktop/images/01012026/08/59/image_01012026_08_59_25_10156.jpg
/home/pi/Desktop/images/01012026/08/59/image_01012026_08_59_34_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":["1402010143","1402010142","1402010141","1402010144","1402010146","1402010149"],"photo_ids_order":["1402010141","1402010142","1402010143","1402010144","1402010146","1402010149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72b864d15c74e43f3a38d9232efcee9c.jpg","text":"TemporaryFile(/tmp/multipartBody4479485807181890215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260883578,"filename":"image_01012026_08_58_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f15e862efaeb31b6b5c0b2562f9ab98.jpg","text":"TemporaryFile(/tmp/multipartBody5237895228647062612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260883578,"filename":"image_01012026_08_58_45_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef79a31fecfe76a264e0d7ef010c9cfd.jpg","text":"TemporaryFile(/tmp/multipartBody6311558849513816553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260883578,"filename":"image_01012026_08_58_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0922a27a39f0e86c46a28291915ee514.jpg","text":"TemporaryFile(/tmp/multipartBody874078214330799569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260883578,"filename":"image_01012026_08_59_15_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d957cd04fd25ea4c243d9b63dd0fac4.jpg","text":"TemporaryFile(/tmp/multipartBody43598301129432758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260883578,"filename":"image_01012026_08_59_25_10156.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd655359d02b0c8a3a7eb9d5d9c404d9.jpg","text":"TemporaryFile(/tmp/multipartBody1067980300579513988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260883578,"filename":"image_01012026_08_59_34_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010143","file1":"1402010142","file0":"1402010141","file4":"1402010146","file5":"1402010149","file3":"1402010144"},"map_files_photo_id_array":[{"photo_id":"1402010149","filename":"file5"},{"photo_id":"1402010143","filename":"file2"},{"photo_id":"1402010146","filename":"file4"},{"photo_id":"1402010142","filename":"file1"},{"photo_id":"1402010141","filename":"file0"},{"photo_id":"1402010144","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010143":["hashtag1","hashtag2"]},{"1402010142":["hashtag1","hashtag2"]},{"1402010141":["hashtag1","hashtag2"]},{"1402010144":["hashtag1","hashtag2"]},{"1402010146":["hashtag1","hashtag2"]},{"1402010149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010143, 1402010142, 1402010141, 1402010144, 1402010146, 1402010149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44628596305847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:47:42.250052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_02_1853.jpg', '/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_07_5062.jpg', '/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_09_1689.jpg', '/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_10_1720.jpg', '/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_16_5281.jpg', '/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_17_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_02_1853.jpg
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_07_5062.jpg
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_09_1689.jpg
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_10_1720.jpg
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_16_5281.jpg
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_17_1719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010160","1402010157","1402010154","1402010156","1402010158","1402010155"],"photo_ids_order":["1402010154","1402010155","1402010156","1402010157","1402010158","1402010160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1962276bb78ba10bd1d57345cc6d741f.jpg","text":"TemporaryFile(/tmp/multipartBody7199461126698456292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260924131,"filename":"image_04112025_16_04_17_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ccd7040fb21f65b92cab7ae806554b0.jpg","text":"TemporaryFile(/tmp/multipartBody6784870383466238907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260924131,"filename":"image_04112025_16_04_10_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d823c4f74098b2735a60049be4d28c95.jpg","text":"TemporaryFile(/tmp/multipartBody4593901906856502117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260924131,"filename":"image_04112025_16_04_02_1853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83c146a07eea33b5b8b8d6ffc635c45f.jpg","text":"TemporaryFile(/tmp/multipartBody4524197491677500096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260924131,"filename":"image_04112025_16_04_09_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ea485a87c4080f9e6bb5672f5a6f2eb.jpg","text":"TemporaryFile(/tmp/multipartBody75327515983643022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260924131,"filename":"image_04112025_16_04_16_5281.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b98ab975c2a57151a87735ba55021d35.jpg","text":"TemporaryFile(/tmp/multipartBody3507075887037037136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260924131,"filename":"image_04112025_16_04_07_5062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010156","file1":"1402010155","file0":"1402010154","file4":"1402010158","file5":"1402010160","file3":"1402010157"},"map_files_photo_id_array":[{"photo_id":"1402010160","filename":"file5"},{"photo_id":"1402010156","filename":"file2"},{"photo_id":"1402010158","filename":"file4"},{"photo_id":"1402010155","filename":"file1"},{"photo_id":"1402010154","filename":"file0"},{"photo_id":"1402010157","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010160":["hashtag1","hashtag2"]},{"1402010157":["hashtag1","hashtag2"]},{"1402010154":["hashtag1","hashtag2"]},{"1402010156":["hashtag1","hashtag2"]},{"1402010158":["hashtag1","hashtag2"]},{"1402010155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010160, 1402010157, 1402010154, 1402010156, 1402010158, 1402010155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51787281036377 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:48:22.430650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/08/59/image_01012026_08_59_44_9792.jpg', '/home/pi/Desktop/images/01012026/09/00/image_01012026_09_00_14_10052.jpg', '/home/pi/Desktop/images/01012026/09/00/image_01012026_09_00_45_10657.jpg', '/home/pi/Desktop/images/01012026/09/00/image_01012026_09_00_55_9756.jpg', '/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_15_10666.jpg', '/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_25_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/08/59/image_01012026_08_59_44_9792.jpg
/home/pi/Desktop/images/01012026/09/00/image_01012026_09_00_14_10052.jpg
/home/pi/Desktop/images/01012026/09/00/image_01012026_09_00_45_10657.jpg
/home/pi/Desktop/images/01012026/09/00/image_01012026_09_00_55_9756.jpg
/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_15_10666.jpg
/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_25_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010166","1402010168","1402010170","1402010164","1402010167","1402010161"],"photo_ids_order":["1402010161","1402010164","1402010166","1402010167","1402010168","1402010170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9d14e30bfd96e7c9029b1a02cb6e80b.jpg","text":"TemporaryFile(/tmp/multipartBody3919441553518483044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260962978,"filename":"image_01012026_09_00_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/469339edb2170d150f05509325a77e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3472950598178645121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260962978,"filename":"image_01012026_09_01_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb703c010f2d7ab7e67ece50b83af0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3530373735321821264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260962978,"filename":"image_01012026_09_01_25_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00fe3ec8c9ac9fb5d9d502186f9b90ad.jpg","text":"TemporaryFile(/tmp/multipartBody6907342015110962321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260962978,"filename":"image_01012026_09_00_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a8aec8a76d582818bebd021b4506c4c.jpg","text":"TemporaryFile(/tmp/multipartBody7422613047260786729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260962978,"filename":"image_01012026_09_00_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/490217071c4ac598fec19f8a65379e14.jpg","text":"TemporaryFile(/tmp/multipartBody2560429203024577052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767260962978,"filename":"image_01012026_08_59_44_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010166","file1":"1402010164","file0":"1402010161","file4":"1402010168","file5":"1402010170","file3":"1402010167"},"map_files_photo_id_array":[{"photo_id":"1402010170","filename":"file5"},{"photo_id":"1402010166","filename":"file2"},{"photo_id":"1402010168","filename":"file4"},{"photo_id":"1402010164","filename":"file1"},{"photo_id":"1402010161","filename":"file0"},{"photo_id":"1402010167","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010166":["hashtag1","hashtag2"]},{"1402010168":["hashtag1","hashtag2"]},{"1402010170":["hashtag1","hashtag2"]},{"1402010164":["hashtag1","hashtag2"]},{"1402010167":["hashtag1","hashtag2"]},{"1402010161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010166, 1402010168, 1402010170, 1402010164, 1402010167, 1402010161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25242495536804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:49:03.639322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_35_9590.jpg', '/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_44_9742.jpg', '/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_55_10762.jpg', '/home/pi/Desktop/images/01012026/09/01/image_01012026_09_02_05_9727.jpg', '/home/pi/Desktop/images/01012026/09/02/image_01012026_09_02_15_9745.jpg', '/home/pi/Desktop/images/01012026/09/02/image_01012026_09_02_35_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_35_9590.jpg
/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_44_9742.jpg
/home/pi/Desktop/images/01012026/09/01/image_01012026_09_01_55_10762.jpg
/home/pi/Desktop/images/01012026/09/01/image_01012026_09_02_05_9727.jpg
/home/pi/Desktop/images/01012026/09/02/image_01012026_09_02_15_9745.jpg
/home/pi/Desktop/images/01012026/09/02/image_01012026_09_02_35_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":["1402010178","1402010172","1402010171","1402010174","1402010176","1402010173"],"photo_ids_order":["1402010171","1402010172","1402010173","1402010174","1402010176","1402010178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2c44cd2ba8f2113f0f53e507e98e6e1.jpg","text":"TemporaryFile(/tmp/multipartBody7938266994501087506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261004369,"filename":"image_01012026_09_02_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6574017ae37580e3dd4a7954f6976e9b.jpg","text":"TemporaryFile(/tmp/multipartBody7091516406662990892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261004369,"filename":"image_01012026_09_01_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df6a3b39e62c63b298d871a3c9efee31.jpg","text":"TemporaryFile(/tmp/multipartBody630032968595928690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261004369,"filename":"image_01012026_09_01_35_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a26ce1e5ea694248e15a61ec9fce781f.jpg","text":"TemporaryFile(/tmp/multipartBody3673758136801254181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261004369,"filename":"image_01012026_09_02_05_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a60082b72ed7d8fa5d9876db9a63c7c3.jpg","text":"TemporaryFile(/tmp/multipartBody8577144977989648396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261004369,"filename":"image_01012026_09_02_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96e3d7f8018dd86cb57e323ea2f084c6.jpg","text":"TemporaryFile(/tmp/multipartBody3813957194569104151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261004369,"filename":"image_01012026_09_01_55_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010173","file1":"1402010172","file0":"1402010171","file4":"1402010176","file5":"1402010178","file3":"1402010174"},"map_files_photo_id_array":[{"photo_id":"1402010178","filename":"file5"},{"photo_id":"1402010173","filename":"file2"},{"photo_id":"1402010176","filename":"file4"},{"photo_id":"1402010172","filename":"file1"},{"photo_id":"1402010171","filename":"file0"},{"photo_id":"1402010174","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010178":["hashtag1","hashtag2"]},{"1402010172":["hashtag1","hashtag2"]},{"1402010171":["hashtag1","hashtag2"]},{"1402010174":["hashtag1","hashtag2"]},{"1402010176":["hashtag1","hashtag2"]},{"1402010173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010178, 1402010172, 1402010171, 1402010174, 1402010176, 1402010173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66018295288086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:49:42.632816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_19_1814.jpg', '/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_21_1668.jpg', '/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_23_1788.jpg', '/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_24_1697.jpg', '/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_10_3015.jpg', '/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_42_32245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_19_1814.jpg
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_21_1668.jpg
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_23_1788.jpg
/home/pi/Desktop/images/04112025/16/04/image_04112025_16_04_24_1697.jpg
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_10_3015.jpg
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_42_32245.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010187","1402010184","1402010192","1402010186","1402010185","1402010188"],"photo_ids_order":["1402010184","1402010185","1402010186","1402010187","1402010188","1402010192"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3da7a211837f631dc27a4e2db9aaae1.jpg","text":"TemporaryFile(/tmp/multipartBody6956791747068610734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261044555,"filename":"image_04112025_16_04_24_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/980fe41a5d414c3395c50d0c2b35899e.jpg","text":"TemporaryFile(/tmp/multipartBody6415495607239428478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261044555,"filename":"image_04112025_16_04_19_1814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3c6e4e65929c62a40e2cb841618ac1d.jpg","text":"TemporaryFile(/tmp/multipartBody3609135626497590334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261044555,"filename":"image_04112025_16_05_42_32245.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24407ef4bfc510397ca8dec7003a6cba.jpg","text":"TemporaryFile(/tmp/multipartBody1971418927561631794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261044555,"filename":"image_04112025_16_04_23_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3250fca209456802515230deb6eba8f0.jpg","text":"TemporaryFile(/tmp/multipartBody3597005947207937525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261044555,"filename":"image_04112025_16_04_21_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9ae22b114486ecfce2564e52be9788d.jpg","text":"TemporaryFile(/tmp/multipartBody4466379698878825431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261044555,"filename":"image_04112025_16_05_10_3015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010186","file1":"1402010185","file0":"1402010184","file4":"1402010188","file5":"1402010192","file3":"1402010187"},"map_files_photo_id_array":[{"photo_id":"1402010192","filename":"file5"},{"photo_id":"1402010186","filename":"file2"},{"photo_id":"1402010188","filename":"file4"},{"photo_id":"1402010185","filename":"file1"},{"photo_id":"1402010184","filename":"file0"},{"photo_id":"1402010187","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010187":["hashtag1","hashtag2"]},{"1402010184":["hashtag1","hashtag2"]},{"1402010192":["hashtag1","hashtag2"]},{"1402010186":["hashtag1","hashtag2"]},{"1402010185":["hashtag1","hashtag2"]},{"1402010188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010187, 1402010184, 1402010192, 1402010186, 1402010185, 1402010188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61946892738342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:50:22.827300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/03/image_01012026_09_03_44_9568.jpg', '/home/pi/Desktop/images/01012026/09/03/image_01012026_09_03_55_10668.jpg', '/home/pi/Desktop/images/01012026/09/04/image_01012026_09_05_05_9760.jpg', '/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_15_9771.jpg', '/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_24_9747.jpg', '/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_35_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/03/image_01012026_09_03_44_9568.jpg
/home/pi/Desktop/images/01012026/09/03/image_01012026_09_03_55_10668.jpg
/home/pi/Desktop/images/01012026/09/04/image_01012026_09_05_05_9760.jpg
/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_15_9771.jpg
/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_24_9747.jpg
/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_35_10680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010200","1402010203","1402010205","1402010198","1402010202","1402010195"],"photo_ids_order":["1402010195","1402010198","1402010200","1402010202","1402010203","1402010205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d68116db3db8812eaf09d73ec6684f05.jpg","text":"TemporaryFile(/tmp/multipartBody3573731542438970370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261083383,"filename":"image_01012026_09_05_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df75b54f3c13399d744a96f329db406f.jpg","text":"TemporaryFile(/tmp/multipartBody3577484579533601485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261083383,"filename":"image_01012026_09_05_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ba4f3ee91010eaac5274aff0e96bd47.jpg","text":"TemporaryFile(/tmp/multipartBody5168902046606872573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261083383,"filename":"image_01012026_09_05_35_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2cf2054291aa341486ee4edc3d5ebc9.jpg","text":"TemporaryFile(/tmp/multipartBody3565918768430168392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261083383,"filename":"image_01012026_09_03_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2a568ed7e8af5a746f24f17f7c51c72.jpg","text":"TemporaryFile(/tmp/multipartBody8550960830422573770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261083383,"filename":"image_01012026_09_05_15_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4827ae5ab6bedb17d5526bbc3f9c2e2.jpg","text":"TemporaryFile(/tmp/multipartBody334126214557686741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261083383,"filename":"image_01012026_09_03_44_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010200","file1":"1402010198","file0":"1402010195","file4":"1402010203","file5":"1402010205","file3":"1402010202"},"map_files_photo_id_array":[{"photo_id":"1402010205","filename":"file5"},{"photo_id":"1402010200","filename":"file2"},{"photo_id":"1402010203","filename":"file4"},{"photo_id":"1402010198","filename":"file1"},{"photo_id":"1402010195","filename":"file0"},{"photo_id":"1402010202","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010200":["hashtag1","hashtag2"]},{"1402010203":["hashtag1","hashtag2"]},{"1402010205":["hashtag1","hashtag2"]},{"1402010198":["hashtag1","hashtag2"]},{"1402010202":["hashtag1","hashtag2"]},{"1402010195":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010200, 1402010203, 1402010205, 1402010198, 1402010202, 1402010195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93428063392639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:51:02.754863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_45_9588.jpg', '/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_55_10528.jpg', '/home/pi/Desktop/images/01012026/09/05/image_01012026_09_06_05_9643.jpg', '/home/pi/Desktop/images/01012026/09/06/image_01012026_09_06_25_10766.jpg', '/home/pi/Desktop/images/01012026/09/06/image_01012026_09_06_35_9639.jpg', '/home/pi/Desktop/images/01012026/09/06/image_01012026_09_06_45_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_45_9588.jpg
/home/pi/Desktop/images/01012026/09/05/image_01012026_09_05_55_10528.jpg
/home/pi/Desktop/images/01012026/09/05/image_01012026_09_06_05_9643.jpg
/home/pi/Desktop/images/01012026/09/06/image_01012026_09_06_25_10766.jpg
/home/pi/Desktop/images/01012026/09/06/image_01012026_09_06_35_9639.jpg
/home/pi/Desktop/images/01012026/09/06/image_01012026_09_06_45_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":["1402010209","1402010206","1402010208","1402010210","1402010207","1402010212"],"photo_ids_order":["1402010206","1402010207","1402010208","1402010209","1402010210","1402010212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97fdc2771c4e52b47a0c6b50c31657c7.jpg","text":"TemporaryFile(/tmp/multipartBody731347304843976965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261123363,"filename":"image_01012026_09_06_25_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ffc21bec9d5a6af336ac678ec4d8e12.jpg","text":"TemporaryFile(/tmp/multipartBody178675502559123340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261123363,"filename":"image_01012026_09_05_45_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0524daafce0522d37fb95b87b241b4a2.jpg","text":"TemporaryFile(/tmp/multipartBody9165065575956592764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261123363,"filename":"image_01012026_09_06_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdcce4eeae8abfd3149bf1c0ec14c01a.jpg","text":"TemporaryFile(/tmp/multipartBody3535838227060146881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261123363,"filename":"image_01012026_09_06_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df93fd7e81f3cd82ea4b151477aa0464.jpg","text":"TemporaryFile(/tmp/multipartBody2315637502713392487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261123363,"filename":"image_01012026_09_05_55_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbdd4096086aaaa947872c3f1a72dae0.jpg","text":"TemporaryFile(/tmp/multipartBody8376057905174667372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261123363,"filename":"image_01012026_09_06_45_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010208","file1":"1402010207","file0":"1402010206","file4":"1402010210","file5":"1402010212","file3":"1402010209"},"map_files_photo_id_array":[{"photo_id":"1402010212","filename":"file5"},{"photo_id":"1402010208","filename":"file2"},{"photo_id":"1402010210","filename":"file4"},{"photo_id":"1402010207","filename":"file1"},{"photo_id":"1402010206","filename":"file0"},{"photo_id":"1402010209","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010209":["hashtag1","hashtag2"]},{"1402010206":["hashtag1","hashtag2"]},{"1402010208":["hashtag1","hashtag2"]},{"1402010210":["hashtag1","hashtag2"]},{"1402010207":["hashtag1","hashtag2"]},{"1402010212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010209, 1402010206, 1402010208, 1402010210, 1402010207, 1402010212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30111837387085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:51:42.000471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_49_6462.jpg', '/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_50_1704.jpg', '/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_52_1709.jpg', '/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_54_1851.jpg', '/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_56_1525.jpg', '/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_57_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_49_6462.jpg
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_50_1704.jpg
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_52_1709.jpg
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_54_1851.jpg
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_56_1525.jpg
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_57_1580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010221","1402010223","1402010220","1402010217","1402010222","1402010219"],"photo_ids_order":["1402010217","1402010219","1402010220","1402010221","1402010222","1402010223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4dace023c7ef2b8c0b787bea6c4578cb.jpg","text":"TemporaryFile(/tmp/multipartBody7413390626958204987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261163885,"filename":"image_04112025_16_05_54_1851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7df44f3e37e4c051ae3d560371887bc.jpg","text":"TemporaryFile(/tmp/multipartBody5977424734462745401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261163885,"filename":"image_04112025_16_05_57_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f58abea53558b14ce3e117b20787563f.jpg","text":"TemporaryFile(/tmp/multipartBody3331734234092095566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261163885,"filename":"image_04112025_16_05_52_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fffeef78605f9de46c9b05560c52ea39.jpg","text":"TemporaryFile(/tmp/multipartBody1454108560172843159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261163885,"filename":"image_04112025_16_05_49_6462.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79ccbf3e4a6e42d51a675263844a872a.jpg","text":"TemporaryFile(/tmp/multipartBody6506991821350004207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261163885,"filename":"image_04112025_16_05_56_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3676a13d0a34df1fd01f8e286639820f.jpg","text":"TemporaryFile(/tmp/multipartBody823747529242127662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261163885,"filename":"image_04112025_16_05_50_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010220","file1":"1402010219","file0":"1402010217","file4":"1402010222","file5":"1402010223","file3":"1402010221"},"map_files_photo_id_array":[{"photo_id":"1402010223","filename":"file5"},{"photo_id":"1402010220","filename":"file2"},{"photo_id":"1402010222","filename":"file4"},{"photo_id":"1402010219","filename":"file1"},{"photo_id":"1402010217","filename":"file0"},{"photo_id":"1402010221","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010221":["hashtag1","hashtag2"]},{"1402010223":["hashtag1","hashtag2"]},{"1402010220":["hashtag1","hashtag2"]},{"1402010217":["hashtag1","hashtag2"]},{"1402010222":["hashtag1","hashtag2"]},{"1402010219":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010221, 1402010223, 1402010220, 1402010217, 1402010222, 1402010219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.254719734191895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:52:22.221387
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/06/image_01012026_09_06_55_10570.jpg', '/home/pi/Desktop/images/01012026/09/06/image_01012026_09_07_05_9711.jpg', '/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_15_9807.jpg', '/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_25_10590.jpg', '/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_35_9676.jpg', '/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_44_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/06/image_01012026_09_06_55_10570.jpg
/home/pi/Desktop/images/01012026/09/06/image_01012026_09_07_05_9711.jpg
/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_15_9807.jpg
/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_25_10590.jpg
/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_35_9676.jpg
/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_44_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010229","1402010234","1402010231","1402010225","1402010233","1402010227"],"photo_ids_order":["1402010225","1402010227","1402010229","1402010231","1402010233","1402010234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dc7c6afc21419a0308cf861d61d6a64.jpg","text":"TemporaryFile(/tmp/multipartBody6131509013937191159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261202793,"filename":"image_01012026_09_07_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa5cc9b4346d06dd22cdee49f4ecd377.jpg","text":"TemporaryFile(/tmp/multipartBody1429717022993494998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261202793,"filename":"image_01012026_09_07_44_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29b93525961a550547b356fde9c7d0de.jpg","text":"TemporaryFile(/tmp/multipartBody676271644367422273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261202793,"filename":"image_01012026_09_07_25_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f619383c97fca2bd13bde1ea3dd3f284.jpg","text":"TemporaryFile(/tmp/multipartBody7968158911681647647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261202793,"filename":"image_01012026_09_06_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f99e71916269589f7dbc49972c45f578.jpg","text":"TemporaryFile(/tmp/multipartBody7884763089978009840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261202793,"filename":"image_01012026_09_07_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5016bd24221824eea93e5edd872ac30.jpg","text":"TemporaryFile(/tmp/multipartBody2859487291441998150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261202793,"filename":"image_01012026_09_07_05_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010229","file1":"1402010227","file0":"1402010225","file4":"1402010233","file5":"1402010234","file3":"1402010231"},"map_files_photo_id_array":[{"photo_id":"1402010234","filename":"file5"},{"photo_id":"1402010229","filename":"file2"},{"photo_id":"1402010233","filename":"file4"},{"photo_id":"1402010227","filename":"file1"},{"photo_id":"1402010225","filename":"file0"},{"photo_id":"1402010231","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010229":["hashtag1","hashtag2"]},{"1402010234":["hashtag1","hashtag2"]},{"1402010231":["hashtag1","hashtag2"]},{"1402010225":["hashtag1","hashtag2"]},{"1402010233":["hashtag1","hashtag2"]},{"1402010227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010229, 1402010234, 1402010231, 1402010225, 1402010233, 1402010227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.919098138809204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:53:03.131800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_55_10673.jpg', '/home/pi/Desktop/images/01012026/09/07/image_01012026_09_08_05_9539.jpg', '/home/pi/Desktop/images/01012026/09/08/image_01012026_09_08_25_10603.jpg', '/home/pi/Desktop/images/01012026/09/08/image_01012026_09_08_35_9525.jpg', '/home/pi/Desktop/images/01012026/09/08/image_01012026_09_08_44_9865.jpg', '/home/pi/Desktop/images/01012026/09/08/image_01012026_09_08_55_10519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/07/image_01012026_09_07_55_10673.jpg
/home/pi/Desktop/images/01012026/09/07/image_01012026_09_08_05_9539.jpg
/home/pi/Desktop/images/01012026/09/08/image_01012026_09_08_25_10603.jpg
/home/pi/Desktop/images/01012026/09/08/image_01012026_09_08_35_9525.jpg
/home/pi/Desktop/images/01012026/09/08/image_01012026_09_08_44_9865.jpg
/home/pi/Desktop/images/01012026/09/08/image_01012026_09_08_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":["1402010242","1402010236","1402010238","1402010235","1402010240","1402010237"],"photo_ids_order":["1402010235","1402010236","1402010237","1402010238","1402010240","1402010242"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/352737bcdf1e6b28dda7170cd7fd1174.jpg","text":"TemporaryFile(/tmp/multipartBody4126581838559946763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261243813,"filename":"image_01012026_09_08_55_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df327223ded96ae0ee828c513d82f8d5.jpg","text":"TemporaryFile(/tmp/multipartBody4281404228651885004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261243813,"filename":"image_01012026_09_08_05_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6b0a14885aff0f7d0a7665e9b9d7f21.jpg","text":"TemporaryFile(/tmp/multipartBody2223347906979618111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261243813,"filename":"image_01012026_09_08_35_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55e34686790bd6eaa733f6c3abb1b8ac.jpg","text":"TemporaryFile(/tmp/multipartBody1091362664992325217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261243813,"filename":"image_01012026_09_07_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31e0fbbe5fb0dde74f7cd4c8d34d7e9b.jpg","text":"TemporaryFile(/tmp/multipartBody8040022967877139734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261243813,"filename":"image_01012026_09_08_44_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3355ff9707a3401a9c451a48b0b259f.jpg","text":"TemporaryFile(/tmp/multipartBody7713138020180192169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261243813,"filename":"image_01012026_09_08_25_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010237","file1":"1402010236","file0":"1402010235","file4":"1402010240","file5":"1402010242","file3":"1402010238"},"map_files_photo_id_array":[{"photo_id":"1402010242","filename":"file5"},{"photo_id":"1402010237","filename":"file2"},{"photo_id":"1402010240","filename":"file4"},{"photo_id":"1402010236","filename":"file1"},{"photo_id":"1402010235","filename":"file0"},{"photo_id":"1402010238","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010242":["hashtag1","hashtag2"]},{"1402010236":["hashtag1","hashtag2"]},{"1402010238":["hashtag1","hashtag2"]},{"1402010235":["hashtag1","hashtag2"]},{"1402010240":["hashtag1","hashtag2"]},{"1402010237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010242, 1402010236, 1402010238, 1402010235, 1402010240, 1402010237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95744323730469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:53:42.410338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_59_1502.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_03_4506.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_05_1797.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_07_2113.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_09_1604.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_10_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/05/image_04112025_16_05_59_1502.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_03_4506.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_05_1797.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_07_2113.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_09_1604.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_10_1639.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010253","1402010252","1402010255","1402010249","1402010251","1402010254"],"photo_ids_order":["1402010249","1402010251","1402010252","1402010253","1402010254","1402010255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19e5b50662f046275a5691e90ce07358.jpg","text":"TemporaryFile(/tmp/multipartBody8331640455736990837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261284317,"filename":"image_04112025_16_06_07_2113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7191fe2598ef5912cb71193e8832d7b3.jpg","text":"TemporaryFile(/tmp/multipartBody943703709791726625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261284317,"filename":"image_04112025_16_06_05_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b98611e505e746560a46967204f926f.jpg","text":"TemporaryFile(/tmp/multipartBody7533761184124123186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261284317,"filename":"image_04112025_16_06_10_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85e767233a59dec7cb6440e782afb1c3.jpg","text":"TemporaryFile(/tmp/multipartBody8108653153439821244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261284317,"filename":"image_04112025_16_05_59_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/708c16b3d6937c33d33adcfa5fe16b4c.jpg","text":"TemporaryFile(/tmp/multipartBody5917094863387101988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261284317,"filename":"image_04112025_16_06_03_4506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3414bbfad130d297ba7a2e24fa357674.jpg","text":"TemporaryFile(/tmp/multipartBody912482080764728084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261284317,"filename":"image_04112025_16_06_09_1604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010252","file1":"1402010251","file0":"1402010249","file4":"1402010254","file5":"1402010255","file3":"1402010253"},"map_files_photo_id_array":[{"photo_id":"1402010255","filename":"file5"},{"photo_id":"1402010252","filename":"file2"},{"photo_id":"1402010254","filename":"file4"},{"photo_id":"1402010251","filename":"file1"},{"photo_id":"1402010249","filename":"file0"},{"photo_id":"1402010253","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010253":["hashtag1","hashtag2"]},{"1402010252":["hashtag1","hashtag2"]},{"1402010255":["hashtag1","hashtag2"]},{"1402010249":["hashtag1","hashtag2"]},{"1402010251":["hashtag1","hashtag2"]},{"1402010254":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010253, 1402010252, 1402010255, 1402010249, 1402010251, 1402010254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.535486936569214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:54:22.717736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/09/image_01012026_09_10_05_9947.jpg', '/home/pi/Desktop/images/01012026/09/10/image_01012026_09_10_15_10603.jpg', '/home/pi/Desktop/images/01012026/09/10/image_01012026_09_10_25_9655.jpg', '/home/pi/Desktop/images/01012026/09/10/image_01012026_09_10_35_9766.jpg', '/home/pi/Desktop/images/01012026/09/10/image_01012026_09_10_44_9673.jpg', '/home/pi/Desktop/images/01012026/09/10/image_01012026_09_11_05_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/09/image_01012026_09_10_05_9947.jpg
/home/pi/Desktop/images/01012026/09/10/image_01012026_09_10_15_10603.jpg
/home/pi/Desktop/images/01012026/09/10/image_01012026_09_10_25_9655.jpg
/home/pi/Desktop/images/01012026/09/10/image_01012026_09_10_35_9766.jpg
/home/pi/Desktop/images/01012026/09/10/image_01012026_09_10_44_9673.jpg
/home/pi/Desktop/images/01012026/09/10/image_01012026_09_11_05_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":["1402010265","1402010259","1402010267","1402010261","1402010263","1402010257"],"photo_ids_order":["1402010257","1402010259","1402010261","1402010263","1402010265","1402010267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71bf1c640a9660268ee84826d9ae78bb.jpg","text":"TemporaryFile(/tmp/multipartBody60916713016637148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261323311,"filename":"image_01012026_09_10_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a289b7b7894f7de36f4699290d8cfe9.jpg","text":"TemporaryFile(/tmp/multipartBody1005791635220053345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261323311,"filename":"image_01012026_09_10_15_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c74ab04f48b8a6682258e90de1af789.jpg","text":"TemporaryFile(/tmp/multipartBody2892050436525556106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261323311,"filename":"image_01012026_09_11_05_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05718771126377da2ce9950dfeb897b7.jpg","text":"TemporaryFile(/tmp/multipartBody7709269909765430054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261323311,"filename":"image_01012026_09_10_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/084d1e19e8dd04f627730fda4c4dc0c5.jpg","text":"TemporaryFile(/tmp/multipartBody5986640674134793282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261323311,"filename":"image_01012026_09_10_35_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1db4a1dd006e7369d14a44625c82f246.jpg","text":"TemporaryFile(/tmp/multipartBody3616657798954767333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261323311,"filename":"image_01012026_09_10_05_9947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010261","file1":"1402010259","file0":"1402010257","file4":"1402010265","file5":"1402010267","file3":"1402010263"},"map_files_photo_id_array":[{"photo_id":"1402010267","filename":"file5"},{"photo_id":"1402010261","filename":"file2"},{"photo_id":"1402010265","filename":"file4"},{"photo_id":"1402010259","filename":"file1"},{"photo_id":"1402010257","filename":"file0"},{"photo_id":"1402010263","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010265":["hashtag1","hashtag2"]},{"1402010259":["hashtag1","hashtag2"]},{"1402010267":["hashtag1","hashtag2"]},{"1402010261":["hashtag1","hashtag2"]},{"1402010263":["hashtag1","hashtag2"]},{"1402010257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010265, 1402010259, 1402010267, 1402010261, 1402010263, 1402010257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58956599235535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:55:02.661210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/11/image_01012026_09_11_25_9666.jpg', '/home/pi/Desktop/images/01012026/09/11/image_01012026_09_11_35_9675.jpg', '/home/pi/Desktop/images/01012026/09/11/image_01012026_09_11_45_10664.jpg', '/home/pi/Desktop/images/01012026/09/11/image_01012026_09_12_05_9581.jpg', '/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_15_10674.jpg', '/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_25_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/11/image_01012026_09_11_25_9666.jpg
/home/pi/Desktop/images/01012026/09/11/image_01012026_09_11_35_9675.jpg
/home/pi/Desktop/images/01012026/09/11/image_01012026_09_11_45_10664.jpg
/home/pi/Desktop/images/01012026/09/11/image_01012026_09_12_05_9581.jpg
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_15_10674.jpg
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_25_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":["1402010274","1402010268","1402010271","1402010270","1402010272","1402010269"],"photo_ids_order":["1402010268","1402010269","1402010270","1402010271","1402010272","1402010274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdd7dbb3ff9a194e3e633785b5babab7.jpg","text":"TemporaryFile(/tmp/multipartBody8601093910341492749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261363324,"filename":"image_01012026_09_12_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1db8d29b1f3174b9360a76635bd80274.jpg","text":"TemporaryFile(/tmp/multipartBody8004813557489160734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261363324,"filename":"image_01012026_09_11_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/771976b2a93173dcd7f06218e72929a7.jpg","text":"TemporaryFile(/tmp/multipartBody6565526485910807139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261363324,"filename":"image_01012026_09_12_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15c1d5fab846a4b35b8f590fe86ae286.jpg","text":"TemporaryFile(/tmp/multipartBody242345226498875826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261363324,"filename":"image_01012026_09_11_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fff5b239681d3099fb55b3bf95000b52.jpg","text":"TemporaryFile(/tmp/multipartBody8208860057750076462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261363324,"filename":"image_01012026_09_12_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93565ec2acfc786ccfd3f134f3a87157.jpg","text":"TemporaryFile(/tmp/multipartBody5993274863044195171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261363324,"filename":"image_01012026_09_11_35_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010270","file1":"1402010269","file0":"1402010268","file4":"1402010272","file5":"1402010274","file3":"1402010271"},"map_files_photo_id_array":[{"photo_id":"1402010274","filename":"file5"},{"photo_id":"1402010270","filename":"file2"},{"photo_id":"1402010272","filename":"file4"},{"photo_id":"1402010269","filename":"file1"},{"photo_id":"1402010268","filename":"file0"},{"photo_id":"1402010271","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402010274":["hashtag1","hashtag2"]},{"1402010268":["hashtag1","hashtag2"]},{"1402010271":["hashtag1","hashtag2"]},{"1402010270":["hashtag1","hashtag2"]},{"1402010272":["hashtag1","hashtag2"]},{"1402010269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402010274, 1402010268, 1402010271, 1402010270, 1402010272, 1402010269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74678349494934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:55:41.895990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_12_1618.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_15_3580.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_17_1615.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_19_1770.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_21_1748.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_22_1788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_12_1618.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_15_3580.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_17_1615.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_19_1770.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_21_1748.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_22_1788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010283","1402010282","1402010285","1402010279","1402010281","1402010284"],"photo_ids_order":["1402010279","1402010281","1402010282","1402010283","1402010284","1402010285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69bc48a715bf2c2b92aa38574029f814.jpg","text":"TemporaryFile(/tmp/multipartBody993805961245585818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261403746,"filename":"image_04112025_16_06_19_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b04f57364d83b11accce5d69ea57c932.jpg","text":"TemporaryFile(/tmp/multipartBody4106182137518166497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261403746,"filename":"image_04112025_16_06_17_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3c900ba9496d0cfd41f45b743a172f9.jpg","text":"TemporaryFile(/tmp/multipartBody3378881692927013387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261403746,"filename":"image_04112025_16_06_22_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86a2116597247540e67955f8274486a6.jpg","text":"TemporaryFile(/tmp/multipartBody1054419946218102850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261403746,"filename":"image_04112025_16_06_12_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cd6f188f55b00bee54e55ee3b90bc0e.jpg","text":"TemporaryFile(/tmp/multipartBody443933886285257988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261403746,"filename":"image_04112025_16_06_15_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f843166d48f90d5ab58856d44153189.jpg","text":"TemporaryFile(/tmp/multipartBody2370020288796389334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261403746,"filename":"image_04112025_16_06_21_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010282","file1":"1402010281","file0":"1402010279","file4":"1402010284","file5":"1402010285","file3":"1402010283"},"map_files_photo_id_array":[{"photo_id":"1402010285","filename":"file5"},{"photo_id":"1402010282","filename":"file2"},{"photo_id":"1402010284","filename":"file4"},{"photo_id":"1402010281","filename":"file1"},{"photo_id":"1402010279","filename":"file0"},{"photo_id":"1402010283","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010283":["hashtag1","hashtag2"]},{"1402010282":["hashtag1","hashtag2"]},{"1402010285":["hashtag1","hashtag2"]},{"1402010279":["hashtag1","hashtag2"]},{"1402010281":["hashtag1","hashtag2"]},{"1402010284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010283, 1402010282, 1402010285, 1402010279, 1402010281, 1402010284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57298922538757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 10:56:22.148538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_35_9706.jpg', '/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_44_9798.jpg', '/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_55_10715.jpg', '/home/pi/Desktop/images/01012026/09/12/image_01012026_09_13_05_9817.jpg', '/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_15_9764.jpg', '/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_24_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_35_9706.jpg
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_44_9798.jpg
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_55_10715.jpg
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_13_05_9817.jpg
/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_15_9764.jpg
/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_24_9624.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.4786548614501953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:56:32.097756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_24_1707.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_28_4199.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_30_1758.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_37_7103.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_39_1631.jpg', '/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_55_15857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_24_1707.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_28_4199.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_30_1758.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_37_7103.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_39_1631.jpg
/home/pi/Desktop/images/04112025/16/06/image_04112025_16_06_55_15857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010292","1402010295","1402010298","1402010310","1402010309","1402010311"],"photo_ids_order":["1402010292","1402010295","1402010298","1402010309","1402010310","1402010311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34a21859ace5fcd0c131f58b5f2accf7.jpg","text":"TemporaryFile(/tmp/multipartBody8441787922351328430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261453970,"filename":"image_04112025_16_06_24_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/447b68a9608c067c3476833c13e96a44.jpg","text":"TemporaryFile(/tmp/multipartBody3373823064228706971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261453970,"filename":"image_04112025_16_06_28_4199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78176645a18c96a559d40766cbdfe562.jpg","text":"TemporaryFile(/tmp/multipartBody6141118269488017707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261453970,"filename":"image_04112025_16_06_30_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7959772a78cc412bfd9ac553712d58b.jpg","text":"TemporaryFile(/tmp/multipartBody4953263109152098128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261453970,"filename":"image_04112025_16_06_39_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aec247fa591ab3ff5da06db8fc57acda.jpg","text":"TemporaryFile(/tmp/multipartBody6830805730658873890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261453970,"filename":"image_04112025_16_06_37_7103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cef34102fc18213327b7c071c2162382.jpg","text":"TemporaryFile(/tmp/multipartBody1123935591412388148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261453970,"filename":"image_04112025_16_06_55_15857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010298","file1":"1402010295","file0":"1402010292","file4":"1402010310","file5":"1402010311","file3":"1402010309"},"map_files_photo_id_array":[{"photo_id":"1402010311","filename":"file5"},{"photo_id":"1402010298","filename":"file2"},{"photo_id":"1402010310","filename":"file4"},{"photo_id":"1402010295","filename":"file1"},{"photo_id":"1402010292","filename":"file0"},{"photo_id":"1402010309","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010292":["hashtag1","hashtag2"]},{"1402010295":["hashtag1","hashtag2"]},{"1402010298":["hashtag1","hashtag2"]},{"1402010310":["hashtag1","hashtag2"]},{"1402010309":["hashtag1","hashtag2"]},{"1402010311":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010292, 1402010295, 1402010298, 1402010310, 1402010309, 1402010311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05381798744202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:57:12.305044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_03_8840.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_05_1551.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_07_1798.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_08_1581.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_10_1827.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_12_1531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_03_8840.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_05_1551.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_07_1798.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_08_1581.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_10_1827.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_12_1531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402010404","1402010331","1402010313","1402010315","1402010312","1402010368"],"photo_ids_order":["1402010312","1402010313","1402010315","1402010331","1402010368","1402010404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0c4da55b4649f419da78c6449fa1875.jpg","text":"TemporaryFile(/tmp/multipartBody1842888688058383589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261494065,"filename":"image_04112025_16_07_12_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa8a599120e97f9e20a0260b736e2119.jpg","text":"TemporaryFile(/tmp/multipartBody5206274390694368177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261494065,"filename":"image_04112025_16_07_08_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d5bb2653f9a2f6345a8090483d257f8.jpg","text":"TemporaryFile(/tmp/multipartBody4951522698480547799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261494065,"filename":"image_04112025_16_07_05_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb9d2dc73b1669a9a0afbae8aa6c85d3.jpg","text":"TemporaryFile(/tmp/multipartBody5188418350047745333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261494065,"filename":"image_04112025_16_07_07_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b458ac82a3ae83fa4f52cb3505fee171.jpg","text":"TemporaryFile(/tmp/multipartBody3229768325378828426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261494065,"filename":"image_04112025_16_07_03_8840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50a113d4c20be6a08b91fe865158ea21.jpg","text":"TemporaryFile(/tmp/multipartBody8543744586482560067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261494065,"filename":"image_04112025_16_07_10_1827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402010315","file1":"1402010313","file0":"1402010312","file4":"1402010368","file5":"1402010404","file3":"1402010331"},"map_files_photo_id_array":[{"photo_id":"1402010404","filename":"file5"},{"photo_id":"1402010315","filename":"file2"},{"photo_id":"1402010368","filename":"file4"},{"photo_id":"1402010313","filename":"file1"},{"photo_id":"1402010312","filename":"file0"},{"photo_id":"1402010331","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402010404":["hashtag1","hashtag2"]},{"1402010331":["hashtag1","hashtag2"]},{"1402010313":["hashtag1","hashtag2"]},{"1402010315":["hashtag1","hashtag2"]},{"1402010312":["hashtag1","hashtag2"]},{"1402010368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402010404, 1402010331, 1402010313, 1402010315, 1402010312, 1402010368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11315703392029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 10:59:03.696076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_35_9706.jpg', '/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_44_9798.jpg', '/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_55_10715.jpg', '/home/pi/Desktop/images/01012026/09/12/image_01012026_09_13_05_9817.jpg', '/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_15_9764.jpg', '/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_24_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_35_9706.jpg
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_44_9798.jpg
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_12_55_10715.jpg
/home/pi/Desktop/images/01012026/09/12/image_01012026_09_13_05_9817.jpg
/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_15_9764.jpg
/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_24_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":["1402011225","1402011299","1402011094","1402011262","1402011190","1402011148"],"photo_ids_order":["1402011094","1402011148","1402011190","1402011225","1402011262","1402011299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e80e6b53d47faceb00d0662c238ecb3.jpg","text":"TemporaryFile(/tmp/multipartBody5576120383783423909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261604414,"filename":"image_01012026_09_13_05_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e08b3e970696d3decae90f21d5687ab2.jpg","text":"TemporaryFile(/tmp/multipartBody5001975947018324871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261604414,"filename":"image_01012026_09_13_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f78e251433ea5f428050a99998c68788.jpg","text":"TemporaryFile(/tmp/multipartBody1900004236006598437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261604414,"filename":"image_01012026_09_12_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbc278e6005d6ae661d7b4af40f0a142.jpg","text":"TemporaryFile(/tmp/multipartBody1866926125187977104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261604414,"filename":"image_01012026_09_13_15_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/266991ef018c55be0ca8d86aacb12864.jpg","text":"TemporaryFile(/tmp/multipartBody8494337281928380886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261604414,"filename":"image_01012026_09_12_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61e52f3ca93e91bd73d67c1202ec1424.jpg","text":"TemporaryFile(/tmp/multipartBody4565683946092209241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261604414,"filename":"image_01012026_09_12_44_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402011190","file1":"1402011148","file0":"1402011094","file4":"1402011262","file5":"1402011299","file3":"1402011225"},"map_files_photo_id_array":[{"photo_id":"1402011299","filename":"file5"},{"photo_id":"1402011190","filename":"file2"},{"photo_id":"1402011262","filename":"file4"},{"photo_id":"1402011148","filename":"file1"},{"photo_id":"1402011094","filename":"file0"},{"photo_id":"1402011225","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402011225":["hashtag1","hashtag2"]},{"1402011299":["hashtag1","hashtag2"]},{"1402011094":["hashtag1","hashtag2"]},{"1402011262":["hashtag1","hashtag2"]},{"1402011190":["hashtag1","hashtag2"]},{"1402011148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402011225, 1402011299, 1402011094, 1402011262, 1402011190, 1402011148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82041931152344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 10:59:42.752871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_13_1700.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_15_1552.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_17_1569.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_18_1711.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_20_1549.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_22_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_13_1700.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_15_1552.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_17_1569.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_18_1711.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_20_1549.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_22_1635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402011600","1402011479","1402011551","1402011413","1402011637","1402011363"],"photo_ids_order":["1402011363","1402011413","1402011479","1402011551","1402011600","1402011637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18e96e08297a0555912ea8792cbd470e.jpg","text":"TemporaryFile(/tmp/multipartBody1140376674613098462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261644657,"filename":"image_04112025_16_07_20_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d318e309404759e851673dd6030354d7.jpg","text":"TemporaryFile(/tmp/multipartBody2745747395640449119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261644657,"filename":"image_04112025_16_07_17_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ffb4a835a66f9316e1f4a1bf1ed8517.jpg","text":"TemporaryFile(/tmp/multipartBody3483445831241021580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261644657,"filename":"image_04112025_16_07_18_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d97fcf2b1a4ce64aac0a9e9cf82d6c46.jpg","text":"TemporaryFile(/tmp/multipartBody3683526505548830596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261644657,"filename":"image_04112025_16_07_15_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/708ac3d4637c1289ab3ce0091f5eb5e7.jpg","text":"TemporaryFile(/tmp/multipartBody6043288397750420424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261644657,"filename":"image_04112025_16_07_22_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ae2645266c62165154863a1f7397c73.jpg","text":"TemporaryFile(/tmp/multipartBody6164702493905222762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261644657,"filename":"image_04112025_16_07_13_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402011479","file1":"1402011413","file0":"1402011363","file4":"1402011600","file5":"1402011637","file3":"1402011551"},"map_files_photo_id_array":[{"photo_id":"1402011637","filename":"file5"},{"photo_id":"1402011479","filename":"file2"},{"photo_id":"1402011600","filename":"file4"},{"photo_id":"1402011413","filename":"file1"},{"photo_id":"1402011363","filename":"file0"},{"photo_id":"1402011551","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402011600":["hashtag1","hashtag2"]},{"1402011479":["hashtag1","hashtag2"]},{"1402011551":["hashtag1","hashtag2"]},{"1402011413":["hashtag1","hashtag2"]},{"1402011637":["hashtag1","hashtag2"]},{"1402011363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402011600, 1402011479, 1402011551, 1402011413, 1402011637, 1402011363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4728569984436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:00:21.893520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_45_9714.jpg', '/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_55_10683.jpg', '/home/pi/Desktop/images/01012026/09/13/image_01012026_09_14_05_9651.jpg', '/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_15_9740.jpg', '/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_24_9648.jpg', '/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_35_10556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_45_9714.jpg
/home/pi/Desktop/images/01012026/09/13/image_01012026_09_13_55_10683.jpg
/home/pi/Desktop/images/01012026/09/13/image_01012026_09_14_05_9651.jpg
/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_15_9740.jpg
/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_24_9648.jpg
/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_35_10556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402011963","1402011816","1402011892","1402011967","1402011853","1402011928"],"photo_ids_order":["1402011816","1402011853","1402011892","1402011928","1402011963","1402011967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a19e6ae5da39fe6c7cf2fbe16527f159.jpg","text":"TemporaryFile(/tmp/multipartBody2090355698387559747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261682509,"filename":"image_01012026_09_14_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20ad1b2e6c30fbad7d84efb3a1e99b61.jpg","text":"TemporaryFile(/tmp/multipartBody5454547626371725474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261682509,"filename":"image_01012026_09_13_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bed1cf291a03170eacdf8169907ba0be.jpg","text":"TemporaryFile(/tmp/multipartBody1218479297475354450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261682509,"filename":"image_01012026_09_14_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac846e68bf00cab8337d11cd2f71b892.jpg","text":"TemporaryFile(/tmp/multipartBody5089973972594146199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261682509,"filename":"image_01012026_09_14_35_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f5f1391f2ef5a45bcd28f497db53d57.jpg","text":"TemporaryFile(/tmp/multipartBody1386103662621841852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261682509,"filename":"image_01012026_09_13_55_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63c7fd7fcbe104f210c2b3b5a4784114.jpg","text":"TemporaryFile(/tmp/multipartBody3806310974271013652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261682509,"filename":"image_01012026_09_14_15_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402011892","file1":"1402011853","file0":"1402011816","file4":"1402011963","file5":"1402011967","file3":"1402011928"},"map_files_photo_id_array":[{"photo_id":"1402011967","filename":"file5"},{"photo_id":"1402011892","filename":"file2"},{"photo_id":"1402011963","filename":"file4"},{"photo_id":"1402011853","filename":"file1"},{"photo_id":"1402011816","filename":"file0"},{"photo_id":"1402011928","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402011963":["hashtag1","hashtag2"]},{"1402011816":["hashtag1","hashtag2"]},{"1402011892":["hashtag1","hashtag2"]},{"1402011967":["hashtag1","hashtag2"]},{"1402011853":["hashtag1","hashtag2"]},{"1402011928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402011963, 1402011816, 1402011892, 1402011967, 1402011853, 1402011928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01656746864319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:01:02.712367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_45_9706.jpg', '/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_55_10616.jpg', '/home/pi/Desktop/images/01012026/09/14/image_01012026_09_15_05_9659.jpg', '/home/pi/Desktop/images/01012026/09/15/image_01012026_09_15_15_9726.jpg', '/home/pi/Desktop/images/01012026/09/15/image_01012026_09_15_25_10616.jpg', '/home/pi/Desktop/images/01012026/09/15/image_01012026_09_15_35_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_45_9706.jpg
/home/pi/Desktop/images/01012026/09/14/image_01012026_09_14_55_10616.jpg
/home/pi/Desktop/images/01012026/09/14/image_01012026_09_15_05_9659.jpg
/home/pi/Desktop/images/01012026/09/15/image_01012026_09_15_15_9726.jpg
/home/pi/Desktop/images/01012026/09/15/image_01012026_09_15_25_10616.jpg
/home/pi/Desktop/images/01012026/09/15/image_01012026_09_15_35_9560.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":["1402011969","1402011977","1402011968","1402012015","1402012050","1402012089"],"photo_ids_order":["1402011968","1402011969","1402011977","1402012015","1402012050","1402012089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/322b9045a1d57e7d1019739c13b58957.jpg","text":"TemporaryFile(/tmp/multipartBody892388926813072876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261724375,"filename":"image_01012026_09_14_55_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a6507c6070606e61bf94d3954b2a0fe.jpg","text":"TemporaryFile(/tmp/multipartBody8233892729351440733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261724375,"filename":"image_01012026_09_15_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27134d7808aae5919c448028d306e71c.jpg","text":"TemporaryFile(/tmp/multipartBody4071275528765762419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261724375,"filename":"image_01012026_09_14_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e51c289cbcfed21f003c762af10a64e.jpg","text":"TemporaryFile(/tmp/multipartBody3331919665110755093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261724375,"filename":"image_01012026_09_15_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0ed9f9a98607ea834112b66678bd495.jpg","text":"TemporaryFile(/tmp/multipartBody3728427261786314825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261724375,"filename":"image_01012026_09_15_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/621fde64d20f0a6160212572710646cc.jpg","text":"TemporaryFile(/tmp/multipartBody8775884991516839489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261724375,"filename":"image_01012026_09_15_35_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402011977","file1":"1402011969","file0":"1402011968","file4":"1402012050","file5":"1402012089","file3":"1402012015"},"map_files_photo_id_array":[{"photo_id":"1402012089","filename":"file5"},{"photo_id":"1402011977","filename":"file2"},{"photo_id":"1402012050","filename":"file4"},{"photo_id":"1402011969","filename":"file1"},{"photo_id":"1402011968","filename":"file0"},{"photo_id":"1402012015","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402011969":["hashtag1","hashtag2"]},{"1402011977":["hashtag1","hashtag2"]},{"1402011968":["hashtag1","hashtag2"]},{"1402012015":["hashtag1","hashtag2"]},{"1402012050":["hashtag1","hashtag2"]},{"1402012089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402011969, 1402011977, 1402011968, 1402012015, 1402012050, 1402012089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.36267828941345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:02:02.955892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/15/image_01012026_09_15_55_10801.jpg', '/home/pi/Desktop/images/01012026/09/15/image_01012026_09_16_05_9851.jpg', '/home/pi/Desktop/images/01012026/09/16/image_01012026_09_16_15_9637.jpg', '/home/pi/Desktop/images/01012026/09/16/image_01012026_09_16_24_9575.jpg', '/home/pi/Desktop/images/01012026/09/16/image_01012026_09_16_35_10504.jpg', '/home/pi/Desktop/images/01012026/09/16/image_01012026_09_17_05_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/15/image_01012026_09_15_55_10801.jpg
/home/pi/Desktop/images/01012026/09/15/image_01012026_09_16_05_9851.jpg
/home/pi/Desktop/images/01012026/09/16/image_01012026_09_16_15_9637.jpg
/home/pi/Desktop/images/01012026/09/16/image_01012026_09_16_24_9575.jpg
/home/pi/Desktop/images/01012026/09/16/image_01012026_09_16_35_10504.jpg
/home/pi/Desktop/images/01012026/09/16/image_01012026_09_17_05_10663.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":["1402012236","1402012271","1402012267","1402012252","1402012266","1402012269"],"photo_ids_order":["1402012236","1402012252","1402012266","1402012267","1402012269","1402012271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f74e7a9b2405f8c11bbf837cf9f28b7.jpg","text":"TemporaryFile(/tmp/multipartBody6076913637075987685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261787109,"filename":"image_01012026_09_15_55_10801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f16486a1a47c8f611b012ec5ba275ff.jpg","text":"TemporaryFile(/tmp/multipartBody6800471792925735146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261787109,"filename":"image_01012026_09_17_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d98e69d51e3cb374f7371b23eb9f7d58.jpg","text":"TemporaryFile(/tmp/multipartBody8188236444461487185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261787109,"filename":"image_01012026_09_16_24_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62d1c513ec11b06024a7b09eafc19e16.jpg","text":"TemporaryFile(/tmp/multipartBody8159500577462808804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261787109,"filename":"image_01012026_09_16_05_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d93d240720eb58c4420aa721ccc200a5.jpg","text":"TemporaryFile(/tmp/multipartBody4271733100470353607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261787109,"filename":"image_01012026_09_16_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99f23626f1e3c8a8214559c848196335.jpg","text":"TemporaryFile(/tmp/multipartBody3198875631245524798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261787109,"filename":"image_01012026_09_16_35_10504.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402012266","file1":"1402012252","file0":"1402012236","file4":"1402012269","file5":"1402012271","file3":"1402012267"},"map_files_photo_id_array":[{"photo_id":"1402012271","filename":"file5"},{"photo_id":"1402012266","filename":"file2"},{"photo_id":"1402012269","filename":"file4"},{"photo_id":"1402012252","filename":"file1"},{"photo_id":"1402012236","filename":"file0"},{"photo_id":"1402012267","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402012236":["hashtag1","hashtag2"]},{"1402012271":["hashtag1","hashtag2"]},{"1402012267":["hashtag1","hashtag2"]},{"1402012252":["hashtag1","hashtag2"]},{"1402012266":["hashtag1","hashtag2"]},{"1402012269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402012236, 1402012271, 1402012267, 1402012252, 1402012266, 1402012269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.41693615913391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:03:03.254914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/17/image_01012026_09_17_24_9676.jpg', '/home/pi/Desktop/images/01012026/09/17/image_01012026_09_17_35_10649.jpg', '/home/pi/Desktop/images/01012026/09/17/image_01012026_09_17_54_9583.jpg', '/home/pi/Desktop/images/01012026/09/17/image_01012026_09_18_05_10615.jpg', '/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_24_9615.jpg', '/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_35_10802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/17/image_01012026_09_17_24_9676.jpg
/home/pi/Desktop/images/01012026/09/17/image_01012026_09_17_35_10649.jpg
/home/pi/Desktop/images/01012026/09/17/image_01012026_09_17_54_9583.jpg
/home/pi/Desktop/images/01012026/09/17/image_01012026_09_18_05_10615.jpg
/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_24_9615.jpg
/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_35_10802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402012286","1402012285","1402012288","1402012290","1402012284","1402012287"],"photo_ids_order":["1402012284","1402012285","1402012286","1402012287","1402012288","1402012290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a699918dce06361c2f93543a920c9e8.jpg","text":"TemporaryFile(/tmp/multipartBody6144617356426827022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261844255,"filename":"image_01012026_09_17_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7045ae30410bceec66ebb7567555315d.jpg","text":"TemporaryFile(/tmp/multipartBody6601797225647677393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261844255,"filename":"image_01012026_09_17_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8392d7c02a756531ee3732f63bf034a2.jpg","text":"TemporaryFile(/tmp/multipartBody5181585502840242507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261844255,"filename":"image_01012026_09_18_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1de23c81620198a6e29bd9b4d9285947.jpg","text":"TemporaryFile(/tmp/multipartBody5806225294460711642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261844255,"filename":"image_01012026_09_18_35_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ead372443c17dfec572b336eaf501a9.jpg","text":"TemporaryFile(/tmp/multipartBody7414773114313645349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261844255,"filename":"image_01012026_09_17_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17c48fb6450942463ed99fc6068fa309.jpg","text":"TemporaryFile(/tmp/multipartBody85514924018515402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261844255,"filename":"image_01012026_09_18_05_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402012286","file1":"1402012285","file0":"1402012284","file4":"1402012288","file5":"1402012290","file3":"1402012287"},"map_files_photo_id_array":[{"photo_id":"1402012290","filename":"file5"},{"photo_id":"1402012286","filename":"file2"},{"photo_id":"1402012288","filename":"file4"},{"photo_id":"1402012285","filename":"file1"},{"photo_id":"1402012284","filename":"file0"},{"photo_id":"1402012287","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402012286":["hashtag1","hashtag2"]},{"1402012285":["hashtag1","hashtag2"]},{"1402012288":["hashtag1","hashtag2"]},{"1402012290":["hashtag1","hashtag2"]},{"1402012284":["hashtag1","hashtag2"]},{"1402012287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402012286, 1402012285, 1402012288, 1402012290, 1402012284, 1402012287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76772594451904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:03:42.564066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_23_1722.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_25_1539.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_26_1728.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_28_1729.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_30_1535.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_31_1544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_23_1722.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_25_1539.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_26_1728.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_28_1729.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_30_1535.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_31_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":["1402012302","1402012301","1402012300","1402012303","1402012296","1402012299"],"photo_ids_order":["1402012296","1402012299","1402012300","1402012301","1402012302","1402012303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/878bb61ca4396a13d109a0c0814f94d7.jpg","text":"TemporaryFile(/tmp/multipartBody5996024266070633918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261884434,"filename":"image_04112025_16_07_30_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d8346bceaa02e6eae359ba3305f9eb4.jpg","text":"TemporaryFile(/tmp/multipartBody779133501234000378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261884434,"filename":"image_04112025_16_07_28_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0682f33a183300ea5f16ef93a1efe41c.jpg","text":"TemporaryFile(/tmp/multipartBody1314449172337265269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261884434,"filename":"image_04112025_16_07_26_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b5c7644b4e7a3398ec5f9339e946028.jpg","text":"TemporaryFile(/tmp/multipartBody963191898451578631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261884434,"filename":"image_04112025_16_07_31_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/230b165060c23fae26ef864510357299.jpg","text":"TemporaryFile(/tmp/multipartBody638304214189419732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261884434,"filename":"image_04112025_16_07_23_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e65629feea47aa648d5f92e196ce09a.jpg","text":"TemporaryFile(/tmp/multipartBody4428177964941522091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261884434,"filename":"image_04112025_16_07_25_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402012300","file1":"1402012299","file0":"1402012296","file4":"1402012302","file5":"1402012303","file3":"1402012301"},"map_files_photo_id_array":[{"photo_id":"1402012303","filename":"file5"},{"photo_id":"1402012300","filename":"file2"},{"photo_id":"1402012302","filename":"file4"},{"photo_id":"1402012299","filename":"file1"},{"photo_id":"1402012296","filename":"file0"},{"photo_id":"1402012301","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402012302":["hashtag1","hashtag2"]},{"1402012301":["hashtag1","hashtag2"]},{"1402012300":["hashtag1","hashtag2"]},{"1402012303":["hashtag1","hashtag2"]},{"1402012296":["hashtag1","hashtag2"]},{"1402012299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402012302, 1402012301, 1402012300, 1402012303, 1402012296, 1402012299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59831929206848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:04:22.850529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_45_9707.jpg', '/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_55_9688.jpg', '/home/pi/Desktop/images/01012026/09/18/image_01012026_09_19_05_10719.jpg', '/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_15_9562.jpg', '/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_24_9664.jpg', '/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_35_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_45_9707.jpg
/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_55_9688.jpg
/home/pi/Desktop/images/01012026/09/18/image_01012026_09_19_05_10719.jpg
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_15_9562.jpg
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_24_9664.jpg
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_35_10572.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.4894447326660156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:04:32.718727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_33_1579.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_38_4720.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_39_1756.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_41_1554.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_43_1760.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_44_1511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_33_1579.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_38_4720.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_39_1756.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_41_1554.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_43_1760.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_44_1511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402012320","1402012316","1402012319","1402012310","1402012313","1402012369"],"photo_ids_order":["1402012310","1402012313","1402012316","1402012319","1402012320","1402012369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ab646f4318f6ced6d020d5d4ae7f357.jpg","text":"TemporaryFile(/tmp/multipartBody6312623234051953832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261934590,"filename":"image_04112025_16_07_43_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edf37977db55f71bda77b2f305f790c3.jpg","text":"TemporaryFile(/tmp/multipartBody6012059419599387322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261934590,"filename":"image_04112025_16_07_39_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/750177ff6b1f758b963052144382a1d3.jpg","text":"TemporaryFile(/tmp/multipartBody8229140497401425280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261934590,"filename":"image_04112025_16_07_41_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a67fc72484c58af592087c41f90a3242.jpg","text":"TemporaryFile(/tmp/multipartBody8743548759322911214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261934590,"filename":"image_04112025_16_07_33_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5347e67b34873d7411f689d58badbf4e.jpg","text":"TemporaryFile(/tmp/multipartBody74798038420200158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261934590,"filename":"image_04112025_16_07_38_4720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72d2a25d3ee526f4df7f4a49ae7f144f.jpg","text":"TemporaryFile(/tmp/multipartBody5693205389956259453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261934590,"filename":"image_04112025_16_07_44_1511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402012316","file1":"1402012313","file0":"1402012310","file4":"1402012320","file5":"1402012369","file3":"1402012319"},"map_files_photo_id_array":[{"photo_id":"1402012369","filename":"file5"},{"photo_id":"1402012316","filename":"file2"},{"photo_id":"1402012320","filename":"file4"},{"photo_id":"1402012313","filename":"file1"},{"photo_id":"1402012310","filename":"file0"},{"photo_id":"1402012319","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402012320":["hashtag1","hashtag2"]},{"1402012316":["hashtag1","hashtag2"]},{"1402012319":["hashtag1","hashtag2"]},{"1402012310":["hashtag1","hashtag2"]},{"1402012313":["hashtag1","hashtag2"]},{"1402012369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402012320, 1402012316, 1402012319, 1402012310, 1402012313, 1402012369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.838521242141724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:05:11.835367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_46_1633.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_48_1780.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_49_1515.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_51_1642.jpg', '/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_56_5609.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_20_23533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_46_1633.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_48_1780.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_49_1515.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_51_1642.jpg
/home/pi/Desktop/images/04112025/16/07/image_04112025_16_07_56_5609.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_20_23533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013078","1402012856","1402013077","1402012954","1402012752","1402013066"],"photo_ids_order":["1402012752","1402012856","1402012954","1402013066","1402013077","1402013078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7688c5e3cdd05ba17e69deb1501afae5.jpg","text":"TemporaryFile(/tmp/multipartBody3350884333943199748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261973579,"filename":"image_04112025_16_08_20_23533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20bf8d551795a7e6f79fac27d44951e2.jpg","text":"TemporaryFile(/tmp/multipartBody684410566241595281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261973579,"filename":"image_04112025_16_07_48_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1703c3bef3f2fe970e03fb60d4638975.jpg","text":"TemporaryFile(/tmp/multipartBody8609838813788195719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261973579,"filename":"image_04112025_16_07_56_5609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9f0be663225e1c586152c5470a65ce0.jpg","text":"TemporaryFile(/tmp/multipartBody2199910177247363725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261973579,"filename":"image_04112025_16_07_49_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49f81a2c8c08a03df55ab4c9db79ea22.jpg","text":"TemporaryFile(/tmp/multipartBody6192641829076218971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261973579,"filename":"image_04112025_16_07_46_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/714a106be203cd4d79ffb88f0303c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody8099212784366459272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767261973579,"filename":"image_04112025_16_07_51_1642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402012954","file1":"1402012856","file0":"1402012752","file4":"1402013077","file5":"1402013078","file3":"1402013066"},"map_files_photo_id_array":[{"photo_id":"1402013078","filename":"file5"},{"photo_id":"1402012954","filename":"file2"},{"photo_id":"1402013077","filename":"file4"},{"photo_id":"1402012856","filename":"file1"},{"photo_id":"1402012752","filename":"file0"},{"photo_id":"1402013066","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013078":["hashtag1","hashtag2"]},{"1402012856":["hashtag1","hashtag2"]},{"1402013077":["hashtag1","hashtag2"]},{"1402012954":["hashtag1","hashtag2"]},{"1402012752":["hashtag1","hashtag2"]},{"1402013066":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013078, 1402012856, 1402013077, 1402012954, 1402012752, 1402013066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43137335777283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:06:02.543573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_45_9707.jpg', '/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_55_9688.jpg', '/home/pi/Desktop/images/01012026/09/18/image_01012026_09_19_05_10719.jpg', '/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_15_9562.jpg', '/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_24_9664.jpg', '/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_35_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_45_9707.jpg
/home/pi/Desktop/images/01012026/09/18/image_01012026_09_18_55_9688.jpg
/home/pi/Desktop/images/01012026/09/18/image_01012026_09_19_05_10719.jpg
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_15_9562.jpg
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_24_9664.jpg
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_35_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":["1402013138","1402013293","1402013287","1402013230","1402013090","1402013291"],"photo_ids_order":["1402013090","1402013138","1402013230","1402013287","1402013291","1402013293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c4449a2bb44c271a6be2e3e8e2d592d.jpg","text":"TemporaryFile(/tmp/multipartBody1782815393864054949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262023200,"filename":"image_01012026_09_18_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d0d14e06e38d4706d31bf4a197ceaab.jpg","text":"TemporaryFile(/tmp/multipartBody2980718652540241638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262023200,"filename":"image_01012026_09_19_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d1e7b362614703f3757fca4c79e1ea2.jpg","text":"TemporaryFile(/tmp/multipartBody2258259946613502739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262023200,"filename":"image_01012026_09_19_15_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50307bc636b1fcef5445490b1f01fdb2.jpg","text":"TemporaryFile(/tmp/multipartBody5277427757008333732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262023200,"filename":"image_01012026_09_19_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05e360bcd7f9ff520b1557ccaa58c9ba.jpg","text":"TemporaryFile(/tmp/multipartBody5077550003428532813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262023200,"filename":"image_01012026_09_18_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b0d5e3505039ed8c91dbeb425f7b5f3.jpg","text":"TemporaryFile(/tmp/multipartBody530636401036392443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262023200,"filename":"image_01012026_09_19_24_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013230","file1":"1402013138","file0":"1402013090","file4":"1402013291","file5":"1402013293","file3":"1402013287"},"map_files_photo_id_array":[{"photo_id":"1402013293","filename":"file5"},{"photo_id":"1402013230","filename":"file2"},{"photo_id":"1402013291","filename":"file4"},{"photo_id":"1402013138","filename":"file1"},{"photo_id":"1402013090","filename":"file0"},{"photo_id":"1402013287","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013138":["hashtag1","hashtag2"]},{"1402013293":["hashtag1","hashtag2"]},{"1402013287":["hashtag1","hashtag2"]},{"1402013230":["hashtag1","hashtag2"]},{"1402013090":["hashtag1","hashtag2"]},{"1402013291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013138, 1402013293, 1402013287, 1402013230, 1402013090, 1402013291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29642915725708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:06:42.131466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_37_17387.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_39_1702.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_41_1654.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_42_1582.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_44_1756.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_46_1822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_37_17387.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_39_1702.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_41_1654.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_42_1582.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_44_1756.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_46_1822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013395","1402013398","1402013397","1402013394","1402013396","1402013399"],"photo_ids_order":["1402013394","1402013395","1402013396","1402013397","1402013398","1402013399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bb9443b1db52f8111e46bcdd15ab5bd.jpg","text":"TemporaryFile(/tmp/multipartBody2812426679699986056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262064013,"filename":"image_04112025_16_08_39_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76eef0524bf44d4290e6f4535d8d6a8b.jpg","text":"TemporaryFile(/tmp/multipartBody7838697987310460452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262064013,"filename":"image_04112025_16_08_44_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d2a03ab6130b48812e5da8155f5885e.jpg","text":"TemporaryFile(/tmp/multipartBody6092562648442371161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262064013,"filename":"image_04112025_16_08_42_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce296a9848cb349ebc7227aa6b6ed991.jpg","text":"TemporaryFile(/tmp/multipartBody7206363178525058181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262064013,"filename":"image_04112025_16_08_37_17387.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3b7a0c6438eaeaf0c79d5ac1490f6b0.jpg","text":"TemporaryFile(/tmp/multipartBody782773339067456349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262064013,"filename":"image_04112025_16_08_41_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13d88b15b7b8869bde1dc8b5c54219ea.jpg","text":"TemporaryFile(/tmp/multipartBody3514167351590193079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262064013,"filename":"image_04112025_16_08_46_1822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013396","file1":"1402013395","file0":"1402013394","file4":"1402013398","file5":"1402013399","file3":"1402013397"},"map_files_photo_id_array":[{"photo_id":"1402013399","filename":"file5"},{"photo_id":"1402013396","filename":"file2"},{"photo_id":"1402013398","filename":"file4"},{"photo_id":"1402013395","filename":"file1"},{"photo_id":"1402013394","filename":"file0"},{"photo_id":"1402013397","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013395":["hashtag1","hashtag2"]},{"1402013398":["hashtag1","hashtag2"]},{"1402013397":["hashtag1","hashtag2"]},{"1402013394":["hashtag1","hashtag2"]},{"1402013396":["hashtag1","hashtag2"]},{"1402013399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013395, 1402013398, 1402013397, 1402013394, 1402013396, 1402013399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.502652406692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:07:22.324098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_45_9530.jpg', '/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_55_10630.jpg', '/home/pi/Desktop/images/01012026/09/19/image_01012026_09_20_05_9712.jpg', '/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_24_9698.jpg', '/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_35_10646.jpg', '/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_45_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_45_9530.jpg
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_19_55_10630.jpg
/home/pi/Desktop/images/01012026/09/19/image_01012026_09_20_05_9712.jpg
/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_24_9698.jpg
/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_35_10646.jpg
/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_45_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":["1402013404","1402013407","1402013401","1402013403","1402013406","1402013409"],"photo_ids_order":["1402013401","1402013403","1402013404","1402013406","1402013407","1402013409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7219e1e5ed18b344bc326df1b0ab3908.jpg","text":"TemporaryFile(/tmp/multipartBody242074157317053648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262102915,"filename":"image_01012026_09_20_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a66f03a920d4b34a03b1d8432e5dafeb.jpg","text":"TemporaryFile(/tmp/multipartBody5157355950982476796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262102915,"filename":"image_01012026_09_20_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcda2cac2081b72083adefc7a31f3196.jpg","text":"TemporaryFile(/tmp/multipartBody7143958206239122707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262102915,"filename":"image_01012026_09_19_45_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/825bb0e96125a1566d91d9955b5285e7.jpg","text":"TemporaryFile(/tmp/multipartBody7514028718910134620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262102915,"filename":"image_01012026_09_19_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/372edcf8dbbac662e0010985493a8261.jpg","text":"TemporaryFile(/tmp/multipartBody6418334407832083952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262102915,"filename":"image_01012026_09_20_24_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/534e89b2f6b68b50c632c4391f568481.jpg","text":"TemporaryFile(/tmp/multipartBody1925495901488015388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262102915,"filename":"image_01012026_09_20_45_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013404","file1":"1402013403","file0":"1402013401","file4":"1402013407","file5":"1402013409","file3":"1402013406"},"map_files_photo_id_array":[{"photo_id":"1402013409","filename":"file5"},{"photo_id":"1402013404","filename":"file2"},{"photo_id":"1402013407","filename":"file4"},{"photo_id":"1402013403","filename":"file1"},{"photo_id":"1402013401","filename":"file0"},{"photo_id":"1402013406","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013404":["hashtag1","hashtag2"]},{"1402013407":["hashtag1","hashtag2"]},{"1402013401":["hashtag1","hashtag2"]},{"1402013403":["hashtag1","hashtag2"]},{"1402013406":["hashtag1","hashtag2"]},{"1402013409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013404, 1402013407, 1402013401, 1402013403, 1402013406, 1402013409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63787651062012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:08:03.002572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_55_9781.jpg', '/home/pi/Desktop/images/01012026/09/20/image_01012026_09_21_05_10625.jpg', '/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_15_9699.jpg', '/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_24_9544.jpg', '/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_45_10717.jpg', '/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_55_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_55_9781.jpg
/home/pi/Desktop/images/01012026/09/20/image_01012026_09_21_05_10625.jpg
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_15_9699.jpg
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_24_9544.jpg
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_45_10717.jpg
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_55_9868.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.5581619739532471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:08:12.667485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_48_1692.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_49_1724.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_51_1619.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_53_1703.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_54_1559.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_56_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_48_1692.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_49_1724.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_51_1619.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_53_1703.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_54_1559.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_56_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":["1402013414","1402013423","1402013425","1402013419","1402013416","1402013421"],"photo_ids_order":["1402013414","1402013416","1402013419","1402013421","1402013423","1402013425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9bbc23edf2f72fffe0ac406a831b99c.jpg","text":"TemporaryFile(/tmp/multipartBody3943663126138995550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262154399,"filename":"image_04112025_16_08_48_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf27bf18e5156741d441609e922e2dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4040972991158897571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262154399,"filename":"image_04112025_16_08_54_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a9026bba1d273ffd1ad8c1a828bc1e2.jpg","text":"TemporaryFile(/tmp/multipartBody5877342819933189937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262154399,"filename":"image_04112025_16_08_56_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee0bbb1b11e3d96baa1a87dafd1dc120.jpg","text":"TemporaryFile(/tmp/multipartBody6124504083401082569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262154399,"filename":"image_04112025_16_08_51_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7cffe88c39de5fc0d75113d232b6398.jpg","text":"TemporaryFile(/tmp/multipartBody5123673382346627196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262154399,"filename":"image_04112025_16_08_49_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df5d0ec59cfdfba9fdc540d022e46a14.jpg","text":"TemporaryFile(/tmp/multipartBody5494989449946053118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262154399,"filename":"image_04112025_16_08_53_1703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013419","file1":"1402013416","file0":"1402013414","file4":"1402013423","file5":"1402013425","file3":"1402013421"},"map_files_photo_id_array":[{"photo_id":"1402013425","filename":"file5"},{"photo_id":"1402013419","filename":"file2"},{"photo_id":"1402013423","filename":"file4"},{"photo_id":"1402013416","filename":"file1"},{"photo_id":"1402013414","filename":"file0"},{"photo_id":"1402013421","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013414":["hashtag1","hashtag2"]},{"1402013423":["hashtag1","hashtag2"]},{"1402013425":["hashtag1","hashtag2"]},{"1402013419":["hashtag1","hashtag2"]},{"1402013416":["hashtag1","hashtag2"]},{"1402013421":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013414, 1402013423, 1402013425, 1402013419, 1402013416, 1402013421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00411629676819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:09:03.566200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_55_9781.jpg', '/home/pi/Desktop/images/01012026/09/20/image_01012026_09_21_05_10625.jpg', '/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_15_9699.jpg', '/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_24_9544.jpg', '/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_45_10717.jpg', '/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_55_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/20/image_01012026_09_20_55_9781.jpg
/home/pi/Desktop/images/01012026/09/20/image_01012026_09_21_05_10625.jpg
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_15_9699.jpg
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_24_9544.jpg
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_45_10717.jpg
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_21_55_9868.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":["1402013444","1402013438","1402013441","1402013440","1402013446","1402013442"],"photo_ids_order":["1402013438","1402013440","1402013441","1402013442","1402013444","1402013446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/437e7c286282ddc8b94ddae655c7130a.jpg","text":"TemporaryFile(/tmp/multipartBody1635809905321115238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262204307,"filename":"image_01012026_09_21_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc434190131b896c2b66b1f944422880.jpg","text":"TemporaryFile(/tmp/multipartBody4996960008190769209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262204307,"filename":"image_01012026_09_20_55_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ccb1100823ef226870fa83477c9eb34.jpg","text":"TemporaryFile(/tmp/multipartBody3049482837915521114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262204307,"filename":"image_01012026_09_21_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c859a669b1a0786c8ec5288522b10b1e.jpg","text":"TemporaryFile(/tmp/multipartBody1496681097512159016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262204307,"filename":"image_01012026_09_21_05_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c051163ca9131150e49b956715fc222e.jpg","text":"TemporaryFile(/tmp/multipartBody1827117821433867106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262204307,"filename":"image_01012026_09_21_55_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83a8ef7edacc15e5d9491d3efef8d71c.jpg","text":"TemporaryFile(/tmp/multipartBody4515825294877096243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262204307,"filename":"image_01012026_09_21_24_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013441","file1":"1402013440","file0":"1402013438","file4":"1402013444","file5":"1402013446","file3":"1402013442"},"map_files_photo_id_array":[{"photo_id":"1402013446","filename":"file5"},{"photo_id":"1402013441","filename":"file2"},{"photo_id":"1402013444","filename":"file4"},{"photo_id":"1402013440","filename":"file1"},{"photo_id":"1402013438","filename":"file0"},{"photo_id":"1402013442","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013444":["hashtag1","hashtag2"]},{"1402013438":["hashtag1","hashtag2"]},{"1402013441":["hashtag1","hashtag2"]},{"1402013440":["hashtag1","hashtag2"]},{"1402013446":["hashtag1","hashtag2"]},{"1402013442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013444, 1402013438, 1402013441, 1402013440, 1402013446, 1402013442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06994938850403 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:10:02.364039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/21/image_01012026_09_22_05_9576.jpg', '/home/pi/Desktop/images/01012026/09/22/image_01012026_09_22_15_10549.jpg', '/home/pi/Desktop/images/01012026/09/22/image_01012026_09_22_45_10589.jpg', '/home/pi/Desktop/images/01012026/09/22/image_01012026_09_22_55_9608.jpg', '/home/pi/Desktop/images/01012026/09/22/image_01012026_09_23_05_9681.jpg', '/home/pi/Desktop/images/01012026/09/23/image_01012026_09_23_14_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/21/image_01012026_09_22_05_9576.jpg
/home/pi/Desktop/images/01012026/09/22/image_01012026_09_22_15_10549.jpg
/home/pi/Desktop/images/01012026/09/22/image_01012026_09_22_45_10589.jpg
/home/pi/Desktop/images/01012026/09/22/image_01012026_09_22_55_9608.jpg
/home/pi/Desktop/images/01012026/09/22/image_01012026_09_23_05_9681.jpg
/home/pi/Desktop/images/01012026/09/23/image_01012026_09_23_14_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013450","1402013453","1402013452","1402013451","1402013454","1402013456"],"photo_ids_order":["1402013450","1402013451","1402013452","1402013453","1402013454","1402013456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dd15c0bac5442c56f1aa0ab198652c5.jpg","text":"TemporaryFile(/tmp/multipartBody8598224819619293456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262262978,"filename":"image_01012026_09_22_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3aca70202972a0c968f20bb4c69ab3bb.jpg","text":"TemporaryFile(/tmp/multipartBody2767267105528923592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262262978,"filename":"image_01012026_09_22_55_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91c0cfaeb68430aaff1fd6f1ef574b46.jpg","text":"TemporaryFile(/tmp/multipartBody5947683848626478679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262262978,"filename":"image_01012026_09_22_45_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a337f2b640a116d2c1ddb872e849bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6984789625999592548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262262978,"filename":"image_01012026_09_22_15_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14d10f0259402c5a4838558c74e9fb5a.jpg","text":"TemporaryFile(/tmp/multipartBody9152740084383426415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262262978,"filename":"image_01012026_09_23_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f22cd22725bece077dbb0a1a894db729.jpg","text":"TemporaryFile(/tmp/multipartBody141047675036693850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262262978,"filename":"image_01012026_09_23_14_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013452","file1":"1402013451","file0":"1402013450","file4":"1402013454","file5":"1402013456","file3":"1402013453"},"map_files_photo_id_array":[{"photo_id":"1402013456","filename":"file5"},{"photo_id":"1402013452","filename":"file2"},{"photo_id":"1402013454","filename":"file4"},{"photo_id":"1402013451","filename":"file1"},{"photo_id":"1402013450","filename":"file0"},{"photo_id":"1402013453","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013450":["hashtag1","hashtag2"]},{"1402013453":["hashtag1","hashtag2"]},{"1402013452":["hashtag1","hashtag2"]},{"1402013451":["hashtag1","hashtag2"]},{"1402013454":["hashtag1","hashtag2"]},{"1402013456":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013450, 1402013453, 1402013452, 1402013451, 1402013454, 1402013456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16302561759949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:10:42.011814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_57_1601.jpg', '/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_59_1717.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_01_1670.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_02_1673.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_04_1503.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_06_1820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_57_1601.jpg
/home/pi/Desktop/images/04112025/16/08/image_04112025_16_08_59_1717.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_01_1670.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_02_1673.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_04_1503.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_06_1820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013465","1402013467","1402013464","1402013466","1402013463","1402013462"],"photo_ids_order":["1402013462","1402013463","1402013464","1402013465","1402013466","1402013467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7abfdd26f9e2a6bed6172a05aafaa31c.jpg","text":"TemporaryFile(/tmp/multipartBody4079774054003631803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262303889,"filename":"image_04112025_16_09_02_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3209d33b6bfbf4b66d6214f032a4eb35.jpg","text":"TemporaryFile(/tmp/multipartBody3255774614807498263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262303889,"filename":"image_04112025_16_09_06_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5438c2a96e9401a4850115f7175799b.jpg","text":"TemporaryFile(/tmp/multipartBody3468133269798259675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262303889,"filename":"image_04112025_16_09_01_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c31fb110e756ecca0a492638068155f1.jpg","text":"TemporaryFile(/tmp/multipartBody2998758708216646065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262303889,"filename":"image_04112025_16_09_04_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2db9a4a462f11fbe6b0d2fb786e20bb4.jpg","text":"TemporaryFile(/tmp/multipartBody2708978662160389878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262303889,"filename":"image_04112025_16_08_59_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1e41f4a735a3d19a376d026f4bbc416.jpg","text":"TemporaryFile(/tmp/multipartBody4593189681144594322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262303889,"filename":"image_04112025_16_08_57_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013464","file1":"1402013463","file0":"1402013462","file4":"1402013466","file5":"1402013467","file3":"1402013465"},"map_files_photo_id_array":[{"photo_id":"1402013467","filename":"file5"},{"photo_id":"1402013464","filename":"file2"},{"photo_id":"1402013466","filename":"file4"},{"photo_id":"1402013463","filename":"file1"},{"photo_id":"1402013462","filename":"file0"},{"photo_id":"1402013465","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013465":["hashtag1","hashtag2"]},{"1402013467":["hashtag1","hashtag2"]},{"1402013464":["hashtag1","hashtag2"]},{"1402013466":["hashtag1","hashtag2"]},{"1402013463":["hashtag1","hashtag2"]},{"1402013462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013465, 1402013467, 1402013464, 1402013466, 1402013463, 1402013462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90565252304077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:11:22.240199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/23/image_01012026_09_23_25_10578.jpg', '/home/pi/Desktop/images/01012026/09/23/image_01012026_09_23_44_9640.jpg', '/home/pi/Desktop/images/01012026/09/23/image_01012026_09_23_55_10600.jpg', '/home/pi/Desktop/images/01012026/09/23/image_01012026_09_24_05_9743.jpg', '/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_15_9846.jpg', '/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_24_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/23/image_01012026_09_23_25_10578.jpg
/home/pi/Desktop/images/01012026/09/23/image_01012026_09_23_44_9640.jpg
/home/pi/Desktop/images/01012026/09/23/image_01012026_09_23_55_10600.jpg
/home/pi/Desktop/images/01012026/09/23/image_01012026_09_24_05_9743.jpg
/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_15_9846.jpg
/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_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":["1402013468","1402013476","1402013479","1402013470","1402013472","1402013474"],"photo_ids_order":["1402013468","1402013470","1402013472","1402013474","1402013476","1402013479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce9ae559248a4746398552c93c60bd65.jpg","text":"TemporaryFile(/tmp/multipartBody6473062470585290871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262342833,"filename":"image_01012026_09_23_25_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c71ce8ec3c3b08b8a086f5d965117eff.jpg","text":"TemporaryFile(/tmp/multipartBody8068901914056627064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262342833,"filename":"image_01012026_09_24_15_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53ff3dec647d29eedfba1814f3517aa2.jpg","text":"TemporaryFile(/tmp/multipartBody818422544779399523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262342833,"filename":"image_01012026_09_24_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ea380fa0e7a8d0a4d096dc81eabf1f3.jpg","text":"TemporaryFile(/tmp/multipartBody196580140620459983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262342833,"filename":"image_01012026_09_23_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db8913ef069756a9009d503c812a364a.jpg","text":"TemporaryFile(/tmp/multipartBody4073645861430114446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262342833,"filename":"image_01012026_09_23_55_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15217385d790cba4b4d39bd8c9d30aa6.jpg","text":"TemporaryFile(/tmp/multipartBody415588647593924316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262342833,"filename":"image_01012026_09_24_05_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013472","file1":"1402013470","file0":"1402013468","file4":"1402013476","file5":"1402013479","file3":"1402013474"},"map_files_photo_id_array":[{"photo_id":"1402013479","filename":"file5"},{"photo_id":"1402013472","filename":"file2"},{"photo_id":"1402013476","filename":"file4"},{"photo_id":"1402013470","filename":"file1"},{"photo_id":"1402013468","filename":"file0"},{"photo_id":"1402013474","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013468":["hashtag1","hashtag2"]},{"1402013476":["hashtag1","hashtag2"]},{"1402013479":["hashtag1","hashtag2"]},{"1402013470":["hashtag1","hashtag2"]},{"1402013472":["hashtag1","hashtag2"]},{"1402013474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013468, 1402013476, 1402013479, 1402013470, 1402013472, 1402013474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65519046783447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:12:02.928820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_35_10592.jpg', '/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_45_9608.jpg', '/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_55_10576.jpg', '/home/pi/Desktop/images/01012026/09/24/image_01012026_09_25_05_9676.jpg', '/home/pi/Desktop/images/01012026/09/25/image_01012026_09_25_14_9652.jpg', '/home/pi/Desktop/images/01012026/09/25/image_01012026_09_25_25_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_35_10592.jpg
/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_45_9608.jpg
/home/pi/Desktop/images/01012026/09/24/image_01012026_09_24_55_10576.jpg
/home/pi/Desktop/images/01012026/09/24/image_01012026_09_25_05_9676.jpg
/home/pi/Desktop/images/01012026/09/25/image_01012026_09_25_14_9652.jpg
/home/pi/Desktop/images/01012026/09/25/image_01012026_09_25_25_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":["1402013491","1402013494","1402013497","1402013493","1402013492","1402013495"],"photo_ids_order":["1402013491","1402013492","1402013493","1402013494","1402013495","1402013497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0a9b7aa2c05c5f48bf64092d5a26fd4.jpg","text":"TemporaryFile(/tmp/multipartBody249650370677829068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262383550,"filename":"image_01012026_09_24_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3563619ddd803678b8526f2637c265b4.jpg","text":"TemporaryFile(/tmp/multipartBody477149117502505353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262383550,"filename":"image_01012026_09_25_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2e282718fd029c400597525f3b84925.jpg","text":"TemporaryFile(/tmp/multipartBody8978285804202805560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262383550,"filename":"image_01012026_09_25_25_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49e90fe3a2c777c9b6e600655b40eca3.jpg","text":"TemporaryFile(/tmp/multipartBody4630349515870222098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262383550,"filename":"image_01012026_09_24_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0300f661cc6161743b5216cce8778bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6612979012296965499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262383550,"filename":"image_01012026_09_24_45_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eeaa0de7b197a1453c41f39cc5043cf1.jpg","text":"TemporaryFile(/tmp/multipartBody2302849330736436432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262383550,"filename":"image_01012026_09_25_14_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013493","file1":"1402013492","file0":"1402013491","file4":"1402013495","file5":"1402013497","file3":"1402013494"},"map_files_photo_id_array":[{"photo_id":"1402013497","filename":"file5"},{"photo_id":"1402013493","filename":"file2"},{"photo_id":"1402013495","filename":"file4"},{"photo_id":"1402013492","filename":"file1"},{"photo_id":"1402013491","filename":"file0"},{"photo_id":"1402013494","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013491":["hashtag1","hashtag2"]},{"1402013494":["hashtag1","hashtag2"]},{"1402013497":["hashtag1","hashtag2"]},{"1402013493":["hashtag1","hashtag2"]},{"1402013492":["hashtag1","hashtag2"]},{"1402013495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013491, 1402013494, 1402013497, 1402013493, 1402013492, 1402013495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.014402866363525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:12:42.489297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_07_1644.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_11_3539.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_12_1588.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_14_1624.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_16_1568.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_53_37746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_07_1644.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_11_3539.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_12_1588.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_14_1624.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_16_1568.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_53_37746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013507","1402013504","1402013503","1402013506","1402013502","1402013505"],"photo_ids_order":["1402013502","1402013503","1402013504","1402013505","1402013506","1402013507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dec7ff6306f1750f573b2bcde61221fb.jpg","text":"TemporaryFile(/tmp/multipartBody3642055030547144794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262424390,"filename":"image_04112025_16_09_53_37746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da8df67710773a70c65c5ad427699f3e.jpg","text":"TemporaryFile(/tmp/multipartBody1597156940479760747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262424390,"filename":"image_04112025_16_09_12_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b0f4d05f0b65984e3ef8321453ed61b.jpg","text":"TemporaryFile(/tmp/multipartBody39421838890256584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262424390,"filename":"image_04112025_16_09_11_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b46172d37d49088a7879159b89fd3047.jpg","text":"TemporaryFile(/tmp/multipartBody7118996509302098015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262424390,"filename":"image_04112025_16_09_16_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b84fd23d33e43cba1b6a7b3508212b7.jpg","text":"TemporaryFile(/tmp/multipartBody3374031233686931951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262424390,"filename":"image_04112025_16_09_07_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4156a7aac1450f6f83db285df14d990d.jpg","text":"TemporaryFile(/tmp/multipartBody6110871890246520085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262424390,"filename":"image_04112025_16_09_14_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013504","file1":"1402013503","file0":"1402013502","file4":"1402013506","file5":"1402013507","file3":"1402013505"},"map_files_photo_id_array":[{"photo_id":"1402013507","filename":"file5"},{"photo_id":"1402013504","filename":"file2"},{"photo_id":"1402013506","filename":"file4"},{"photo_id":"1402013503","filename":"file1"},{"photo_id":"1402013502","filename":"file0"},{"photo_id":"1402013505","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013507":["hashtag1","hashtag2"]},{"1402013504":["hashtag1","hashtag2"]},{"1402013503":["hashtag1","hashtag2"]},{"1402013506":["hashtag1","hashtag2"]},{"1402013502":["hashtag1","hashtag2"]},{"1402013505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013507, 1402013504, 1402013503, 1402013506, 1402013502, 1402013505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13010573387146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:13:22.790139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/25/image_01012026_09_25_45_9669.jpg', '/home/pi/Desktop/images/01012026/09/25/image_01012026_09_25_55_10679.jpg', '/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_14_9607.jpg', '/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_25_10681.jpg', '/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_35_9587.jpg', '/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_44_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/25/image_01012026_09_25_45_9669.jpg
/home/pi/Desktop/images/01012026/09/25/image_01012026_09_25_55_10679.jpg
/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_14_9607.jpg
/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_25_10681.jpg
/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_35_9587.jpg
/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_44_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013513","1402013516","1402013510","1402013518","1402013509","1402013514"],"photo_ids_order":["1402013509","1402013510","1402013513","1402013514","1402013516","1402013518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e826dbd7c295d0ae9548e8ee86e3621.jpg","text":"TemporaryFile(/tmp/multipartBody2066533056443153558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262463383,"filename":"image_01012026_09_26_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00b2dc8c537fb6af208e21bcbe6e091d.jpg","text":"TemporaryFile(/tmp/multipartBody1368434338925961807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262463383,"filename":"image_01012026_09_26_35_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c154877e792a64ec74b4aebc82ef73a9.jpg","text":"TemporaryFile(/tmp/multipartBody1082711096506499435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262463383,"filename":"image_01012026_09_25_55_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f6a9f0ace193eacc6851b2688497504.jpg","text":"TemporaryFile(/tmp/multipartBody6660310506567597482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262463383,"filename":"image_01012026_09_26_44_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e8f5ef1b7c272a850a5d9008a5909f.jpg","text":"TemporaryFile(/tmp/multipartBody2005670691850828106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262463383,"filename":"image_01012026_09_25_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e12e48e1aa7e5d3f1c227410d7e4d7a6.jpg","text":"TemporaryFile(/tmp/multipartBody6502715746074249452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262463383,"filename":"image_01012026_09_26_25_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013513","file1":"1402013510","file0":"1402013509","file4":"1402013516","file5":"1402013518","file3":"1402013514"},"map_files_photo_id_array":[{"photo_id":"1402013518","filename":"file5"},{"photo_id":"1402013513","filename":"file2"},{"photo_id":"1402013516","filename":"file4"},{"photo_id":"1402013510","filename":"file1"},{"photo_id":"1402013509","filename":"file0"},{"photo_id":"1402013514","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013513":["hashtag1","hashtag2"]},{"1402013516":["hashtag1","hashtag2"]},{"1402013510":["hashtag1","hashtag2"]},{"1402013518":["hashtag1","hashtag2"]},{"1402013509":["hashtag1","hashtag2"]},{"1402013514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013513, 1402013516, 1402013510, 1402013518, 1402013509, 1402013514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86682915687561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:14:03.407375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_55_10694.jpg', '/home/pi/Desktop/images/01012026/09/26/image_01012026_09_27_05_9701.jpg', '/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_15_9746.jpg', '/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_25_10634.jpg', '/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_35_9601.jpg', '/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_45_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/26/image_01012026_09_26_55_10694.jpg
/home/pi/Desktop/images/01012026/09/26/image_01012026_09_27_05_9701.jpg
/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_15_9746.jpg
/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_25_10634.jpg
/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_35_9601.jpg
/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_45_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":["1402013525","1402013521","1402013524","1402013520","1402013523","1402013526"],"photo_ids_order":["1402013520","1402013521","1402013523","1402013524","1402013525","1402013526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dc79f2e80b778ce795114ca7ff3488e.jpg","text":"TemporaryFile(/tmp/multipartBody7783624702683310527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262504059,"filename":"image_01012026_09_27_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c3df22e83702758281c9392c5a349db.jpg","text":"TemporaryFile(/tmp/multipartBody6423029632090639477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262504059,"filename":"image_01012026_09_27_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/feda12b442c22e626c9607722ba0aa18.jpg","text":"TemporaryFile(/tmp/multipartBody4892979265037727352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262504059,"filename":"image_01012026_09_27_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c87f6e804b37190275dc5312d25014e3.jpg","text":"TemporaryFile(/tmp/multipartBody6308721138991865128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262504059,"filename":"image_01012026_09_26_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/522b6bb78ea958067183aa87d7a973cf.jpg","text":"TemporaryFile(/tmp/multipartBody4269988816617390615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262504059,"filename":"image_01012026_09_27_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eea34bc75ac655521b409349edc0c622.jpg","text":"TemporaryFile(/tmp/multipartBody9207823647229886926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262504059,"filename":"image_01012026_09_27_45_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013523","file1":"1402013521","file0":"1402013520","file4":"1402013525","file5":"1402013526","file3":"1402013524"},"map_files_photo_id_array":[{"photo_id":"1402013526","filename":"file5"},{"photo_id":"1402013523","filename":"file2"},{"photo_id":"1402013525","filename":"file4"},{"photo_id":"1402013521","filename":"file1"},{"photo_id":"1402013520","filename":"file0"},{"photo_id":"1402013524","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013525":["hashtag1","hashtag2"]},{"1402013521":["hashtag1","hashtag2"]},{"1402013524":["hashtag1","hashtag2"]},{"1402013520":["hashtag1","hashtag2"]},{"1402013523":["hashtag1","hashtag2"]},{"1402013526":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013525, 1402013521, 1402013524, 1402013520, 1402013523, 1402013526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21948981285095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:14:42.899803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_55_1503.jpg', '/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_57_1836.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_07_3011.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_10_3595.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_13_2625.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_16_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_55_1503.jpg
/home/pi/Desktop/images/04112025/16/09/image_04112025_16_09_57_1836.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_07_3011.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_10_3595.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_13_2625.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_16_3644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013552","1402013546","1402013534","1402013548","1402013550","1402013553"],"photo_ids_order":["1402013534","1402013546","1402013548","1402013550","1402013552","1402013553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8366f8bdbf4d6e8abba26723b8647acf.jpg","text":"TemporaryFile(/tmp/multipartBody3133222588656092832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262545943,"filename":"image_04112025_16_11_13_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e4cf31a680c6062ceb4ae061629ff93.jpg","text":"TemporaryFile(/tmp/multipartBody3432915979365376340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262545943,"filename":"image_04112025_16_09_57_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d875ce14f310d3473e11c4df498683a7.jpg","text":"TemporaryFile(/tmp/multipartBody9065692041049658992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262545943,"filename":"image_04112025_16_09_55_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89bfdb59f34e4f5b2702176d29326e50.jpg","text":"TemporaryFile(/tmp/multipartBody2607716286786318614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262545943,"filename":"image_04112025_16_11_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c06b4d9b605f42b2aa9587909014de32.jpg","text":"TemporaryFile(/tmp/multipartBody6450575742539320448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262545943,"filename":"image_04112025_16_11_10_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91ea83433252b3c0989ebf056e8847c2.jpg","text":"TemporaryFile(/tmp/multipartBody1596632971768135946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262545943,"filename":"image_04112025_16_11_16_3644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013548","file1":"1402013546","file0":"1402013534","file4":"1402013552","file5":"1402013553","file3":"1402013550"},"map_files_photo_id_array":[{"photo_id":"1402013553","filename":"file5"},{"photo_id":"1402013548","filename":"file2"},{"photo_id":"1402013552","filename":"file4"},{"photo_id":"1402013546","filename":"file1"},{"photo_id":"1402013534","filename":"file0"},{"photo_id":"1402013550","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013552":["hashtag1","hashtag2"]},{"1402013546":["hashtag1","hashtag2"]},{"1402013534":["hashtag1","hashtag2"]},{"1402013548":["hashtag1","hashtag2"]},{"1402013550":["hashtag1","hashtag2"]},{"1402013553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013552, 1402013546, 1402013534, 1402013548, 1402013550, 1402013553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.678343772888184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:15:32.077476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_21_4218.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_25_2634.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_28_3605.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_31_2688.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_34_2636.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_42_5069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_21_4218.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_25_2634.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_28_3605.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_31_2688.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_34_2636.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_42_5069.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013564","1402013563","1402013557","1402013565","1402013559","1402013561"],"photo_ids_order":["1402013557","1402013559","1402013561","1402013563","1402013564","1402013565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acc56df2dc014afa736e54e9f9ec1cba.jpg","text":"TemporaryFile(/tmp/multipartBody2985535167391445844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262593958,"filename":"image_04112025_16_11_34_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0c637628304b599653925d53cd42a5d.jpg","text":"TemporaryFile(/tmp/multipartBody8766553407026507928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262593958,"filename":"image_04112025_16_11_31_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/645c252fa87755c267914c603bad82cb.jpg","text":"TemporaryFile(/tmp/multipartBody4287146341488592908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262593958,"filename":"image_04112025_16_11_21_4218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b05b1d5d2a608a7195064344aee7233.jpg","text":"TemporaryFile(/tmp/multipartBody5175435054372532329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262593958,"filename":"image_04112025_16_11_42_5069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06b4f99f220f10a4a4b0b9bbc4d771a2.jpg","text":"TemporaryFile(/tmp/multipartBody8796370117567118404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262593958,"filename":"image_04112025_16_11_25_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9738ba19afc7f6b1ab7e4f8e461cb910.jpg","text":"TemporaryFile(/tmp/multipartBody291116410545882941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262593958,"filename":"image_04112025_16_11_28_3605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013561","file1":"1402013559","file0":"1402013557","file4":"1402013564","file5":"1402013565","file3":"1402013563"},"map_files_photo_id_array":[{"photo_id":"1402013565","filename":"file5"},{"photo_id":"1402013561","filename":"file2"},{"photo_id":"1402013564","filename":"file4"},{"photo_id":"1402013559","filename":"file1"},{"photo_id":"1402013557","filename":"file0"},{"photo_id":"1402013563","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013564":["hashtag1","hashtag2"]},{"1402013563":["hashtag1","hashtag2"]},{"1402013557":["hashtag1","hashtag2"]},{"1402013565":["hashtag1","hashtag2"]},{"1402013559":["hashtag1","hashtag2"]},{"1402013561":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013564, 1402013563, 1402013557, 1402013565, 1402013559, 1402013561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88822078704834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:16:12.310065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_44_1771.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_49_3584.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_54_4127.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_58_2577.jpg', '/home/pi/Desktop/images/04112025/16/11/image_04112025_16_12_01_3569.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_07_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_44_1771.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_49_3584.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_54_4127.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_11_58_2577.jpg
/home/pi/Desktop/images/04112025/16/11/image_04112025_16_12_01_3569.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_07_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013570","1402013567","1402013572","1402013574","1402013568","1402013576"],"photo_ids_order":["1402013567","1402013568","1402013570","1402013572","1402013574","1402013576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09761844614bd4187a90970133a36d29.jpg","text":"TemporaryFile(/tmp/multipartBody2486970797148638950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262634079,"filename":"image_04112025_16_11_54_4127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e960ad815d4fd83a3d4924e35ccb747a.jpg","text":"TemporaryFile(/tmp/multipartBody2590246753664715602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262634079,"filename":"image_04112025_16_11_44_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/589c56138eaf5b210d5bd7f80d2bcddb.jpg","text":"TemporaryFile(/tmp/multipartBody3752436896078368461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262634079,"filename":"image_04112025_16_11_58_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e445bd87449ea317dc23c4d7e8aecf6.jpg","text":"TemporaryFile(/tmp/multipartBody1666541115948151935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262634079,"filename":"image_04112025_16_12_01_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e397ca6ed631ea84c054284f2b15b5a2.jpg","text":"TemporaryFile(/tmp/multipartBody1112099614408191744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262634079,"filename":"image_04112025_16_11_49_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ea224ae98bd764b79cf633dc7e517ea.jpg","text":"TemporaryFile(/tmp/multipartBody8891314684067153712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262634079,"filename":"image_04112025_16_12_07_2679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013570","file1":"1402013568","file0":"1402013567","file4":"1402013574","file5":"1402013576","file3":"1402013572"},"map_files_photo_id_array":[{"photo_id":"1402013576","filename":"file5"},{"photo_id":"1402013570","filename":"file2"},{"photo_id":"1402013574","filename":"file4"},{"photo_id":"1402013568","filename":"file1"},{"photo_id":"1402013567","filename":"file0"},{"photo_id":"1402013572","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013570":["hashtag1","hashtag2"]},{"1402013567":["hashtag1","hashtag2"]},{"1402013572":["hashtag1","hashtag2"]},{"1402013574":["hashtag1","hashtag2"]},{"1402013568":["hashtag1","hashtag2"]},{"1402013576":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013570, 1402013567, 1402013572, 1402013574, 1402013568, 1402013576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.999807834625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:17:03.174042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_55_10493.jpg', '/home/pi/Desktop/images/01012026/09/27/image_01012026_09_28_05_9784.jpg', '/home/pi/Desktop/images/01012026/09/28/image_01012026_09_28_15_9716.jpg', '/home/pi/Desktop/images/01012026/09/28/image_01012026_09_28_35_9632.jpg', '/home/pi/Desktop/images/01012026/09/28/image_01012026_09_28_45_9621.jpg', '/home/pi/Desktop/images/01012026/09/28/image_01012026_09_28_55_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/27/image_01012026_09_27_55_10493.jpg
/home/pi/Desktop/images/01012026/09/27/image_01012026_09_28_05_9784.jpg
/home/pi/Desktop/images/01012026/09/28/image_01012026_09_28_15_9716.jpg
/home/pi/Desktop/images/01012026/09/28/image_01012026_09_28_35_9632.jpg
/home/pi/Desktop/images/01012026/09/28/image_01012026_09_28_45_9621.jpg
/home/pi/Desktop/images/01012026/09/28/image_01012026_09_28_55_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013584","1402013581","1402013583","1402013586","1402013580","1402013582"],"photo_ids_order":["1402013580","1402013581","1402013582","1402013583","1402013584","1402013586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e8e67f57d7ad4031d82a95c8c83a756.jpg","text":"TemporaryFile(/tmp/multipartBody826697960223580556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262683827,"filename":"image_01012026_09_28_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72715d06b743996d4164fb4b3424cd03.jpg","text":"TemporaryFile(/tmp/multipartBody4810282368071284705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262683827,"filename":"image_01012026_09_28_05_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c81bc30cce23aef05d79c2a79eea90f.jpg","text":"TemporaryFile(/tmp/multipartBody5818706365925159843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262683827,"filename":"image_01012026_09_28_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61e7aceb3e1d10502c25b17eb319cd87.jpg","text":"TemporaryFile(/tmp/multipartBody4324167510088599911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262683827,"filename":"image_01012026_09_28_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbefec8b738022ea272d8102fac8fa00.jpg","text":"TemporaryFile(/tmp/multipartBody6529053262900840940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262683827,"filename":"image_01012026_09_27_55_10493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b38f0613793acb3bd2d127bbac4202a2.jpg","text":"TemporaryFile(/tmp/multipartBody7793897484536704942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262683827,"filename":"image_01012026_09_28_15_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013582","file1":"1402013581","file0":"1402013580","file4":"1402013584","file5":"1402013586","file3":"1402013583"},"map_files_photo_id_array":[{"photo_id":"1402013586","filename":"file5"},{"photo_id":"1402013582","filename":"file2"},{"photo_id":"1402013584","filename":"file4"},{"photo_id":"1402013581","filename":"file1"},{"photo_id":"1402013580","filename":"file0"},{"photo_id":"1402013583","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013584":["hashtag1","hashtag2"]},{"1402013581":["hashtag1","hashtag2"]},{"1402013583":["hashtag1","hashtag2"]},{"1402013586":["hashtag1","hashtag2"]},{"1402013580":["hashtag1","hashtag2"]},{"1402013582":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013584, 1402013581, 1402013583, 1402013586, 1402013580, 1402013582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.740405797958374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:17:42.513556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_13_3630.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_16_2730.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_19_2669.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_22_3714.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_25_2668.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_28_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_13_3630.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_16_2730.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_19_2669.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_22_3714.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_25_2668.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_28_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":["1402013606","1402013605","1402013608","1402013592","1402013604","1402013607"],"photo_ids_order":["1402013592","1402013604","1402013605","1402013606","1402013607","1402013608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a6792b51931f7fbfa93de4312da5eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1845915229537684857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262724375,"filename":"image_04112025_16_12_22_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57af2a099d66d02c65312f5368f26834.jpg","text":"TemporaryFile(/tmp/multipartBody3458944956101398508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262724375,"filename":"image_04112025_16_12_19_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7fbb43b2eca910d1358772f0f90da83.jpg","text":"TemporaryFile(/tmp/multipartBody442753952520100544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262724375,"filename":"image_04112025_16_12_28_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32f07027413fe4c280d668439222e7ae.jpg","text":"TemporaryFile(/tmp/multipartBody6055120969559726397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262724375,"filename":"image_04112025_16_12_13_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c60a4768bef62ae16abcf89348ca563.jpg","text":"TemporaryFile(/tmp/multipartBody1680763359852771314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262724375,"filename":"image_04112025_16_12_16_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8f5a577e4469751ea4cc76739a8fdba.jpg","text":"TemporaryFile(/tmp/multipartBody4256381677857355010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262724375,"filename":"image_04112025_16_12_25_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013605","file1":"1402013604","file0":"1402013592","file4":"1402013607","file5":"1402013608","file3":"1402013606"},"map_files_photo_id_array":[{"photo_id":"1402013608","filename":"file5"},{"photo_id":"1402013605","filename":"file2"},{"photo_id":"1402013607","filename":"file4"},{"photo_id":"1402013604","filename":"file1"},{"photo_id":"1402013592","filename":"file0"},{"photo_id":"1402013606","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013606":["hashtag1","hashtag2"]},{"1402013605":["hashtag1","hashtag2"]},{"1402013608":["hashtag1","hashtag2"]},{"1402013592":["hashtag1","hashtag2"]},{"1402013604":["hashtag1","hashtag2"]},{"1402013607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013606, 1402013605, 1402013608, 1402013592, 1402013604, 1402013607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65252494812012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:18:22.601981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/28/image_01012026_09_29_05_9686.jpg', '/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_15_9600.jpg', '/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_25_10657.jpg', '/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_35_9764.jpg', '/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_45_9573.jpg', '/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/28/image_01012026_09_29_05_9686.jpg
/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_15_9600.jpg
/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_25_10657.jpg
/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_35_9764.jpg
/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_45_9573.jpg
/home/pi/Desktop/images/01012026/09/29/image_01012026_09_29_55_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":["1402013618","1402013615","1402013620","1402013617","1402013611","1402013613"],"photo_ids_order":["1402013611","1402013613","1402013615","1402013617","1402013618","1402013620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45bde6d366e5e01ce1a959c33b73fd13.jpg","text":"TemporaryFile(/tmp/multipartBody8203492887320823632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262763209,"filename":"image_01012026_09_29_45_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2bf365a9984a3f2f4dedd1e37c6da57.jpg","text":"TemporaryFile(/tmp/multipartBody4928453082325523344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262763209,"filename":"image_01012026_09_29_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa837529b715bcbc7b9ffc1e39a8ebd6.jpg","text":"TemporaryFile(/tmp/multipartBody4907040694237639048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262763209,"filename":"image_01012026_09_29_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0944a1bec9f1f03b932787165000620.jpg","text":"TemporaryFile(/tmp/multipartBody8608826512925056871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262763209,"filename":"image_01012026_09_29_35_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e44cfc06a834501da3d82525137087e.jpg","text":"TemporaryFile(/tmp/multipartBody6386189578612669716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262763209,"filename":"image_01012026_09_29_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44a11320b334c768f4b35805b3c7810b.jpg","text":"TemporaryFile(/tmp/multipartBody7088005492985753930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262763209,"filename":"image_01012026_09_29_15_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013615","file1":"1402013613","file0":"1402013611","file4":"1402013618","file5":"1402013620","file3":"1402013617"},"map_files_photo_id_array":[{"photo_id":"1402013620","filename":"file5"},{"photo_id":"1402013615","filename":"file2"},{"photo_id":"1402013618","filename":"file4"},{"photo_id":"1402013613","filename":"file1"},{"photo_id":"1402013611","filename":"file0"},{"photo_id":"1402013617","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013618":["hashtag1","hashtag2"]},{"1402013615":["hashtag1","hashtag2"]},{"1402013620":["hashtag1","hashtag2"]},{"1402013617":["hashtag1","hashtag2"]},{"1402013611":["hashtag1","hashtag2"]},{"1402013613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013618, 1402013615, 1402013620, 1402013617, 1402013611, 1402013613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.770347595214844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:19:02.899873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 11:19:11.878386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_31_3556.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_34_2654.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_37_2655.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_40_3541.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_43_2909.jpg', '/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_48_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_31_3556.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_34_2654.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_37_2655.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_40_3541.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_43_2909.jpg
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_48_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":["1402013621","1402013629","1402013623","1402013628","1402013622","1402013625"],"photo_ids_order":["1402013621","1402013622","1402013623","1402013625","1402013628","1402013629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17e0ef2c38aa8591caf3537501e47e13.jpg","text":"TemporaryFile(/tmp/multipartBody81807405403290612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262813744,"filename":"image_04112025_16_12_31_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7791f4418d5b42bcafeae7efb7ada83f.jpg","text":"TemporaryFile(/tmp/multipartBody63383036412895991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262813744,"filename":"image_04112025_16_12_48_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d397fa9ab524bbb0903b1d875037bffb.jpg","text":"TemporaryFile(/tmp/multipartBody5288043063156477729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262813744,"filename":"image_04112025_16_12_37_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7301d5b7e0d1218d30ee137901c9ea79.jpg","text":"TemporaryFile(/tmp/multipartBody4164192923294919640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262813744,"filename":"image_04112025_16_12_43_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcef4eb6ec5ec6efd2e66c5921dec427.jpg","text":"TemporaryFile(/tmp/multipartBody1300786939861559318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262813744,"filename":"image_04112025_16_12_34_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f83b2c293b5758571ee0523e9139133.jpg","text":"TemporaryFile(/tmp/multipartBody663675998518890926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262813744,"filename":"image_04112025_16_12_40_3541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013623","file1":"1402013622","file0":"1402013621","file4":"1402013628","file5":"1402013629","file3":"1402013625"},"map_files_photo_id_array":[{"photo_id":"1402013629","filename":"file5"},{"photo_id":"1402013623","filename":"file2"},{"photo_id":"1402013628","filename":"file4"},{"photo_id":"1402013622","filename":"file1"},{"photo_id":"1402013621","filename":"file0"},{"photo_id":"1402013625","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013621":["hashtag1","hashtag2"]},{"1402013629":["hashtag1","hashtag2"]},{"1402013623":["hashtag1","hashtag2"]},{"1402013628":["hashtag1","hashtag2"]},{"1402013622":["hashtag1","hashtag2"]},{"1402013625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013621, 1402013629, 1402013623, 1402013628, 1402013622, 1402013625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14360570907593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:20:03.874388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 11:20:13.338015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_52_3568.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_08_16447.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_10_1645.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_12_1756.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_17_1606.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_20_1522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/12/image_04112025_16_12_52_3568.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_08_16447.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_10_1645.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_12_1756.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_17_1606.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_20_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":["1402013639","1402013633","1402013641","1402013635","1402013632","1402013637"],"photo_ids_order":["1402013632","1402013633","1402013635","1402013637","1402013639","1402013641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/745c1fe36566cfc0db5a2aafcefe3be4.jpg","text":"TemporaryFile(/tmp/multipartBody1153741229985197364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262877032,"filename":"image_04112025_16_13_17_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c944aa461ca99ef90e3400769e80bb6.jpg","text":"TemporaryFile(/tmp/multipartBody4996486121909321963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262877032,"filename":"image_04112025_16_13_08_16447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb38bb5ad6adf8d3e630326bba465692.jpg","text":"TemporaryFile(/tmp/multipartBody3259963533694023332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262877032,"filename":"image_04112025_16_13_20_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc650fc3682050f628016e799dea4adb.jpg","text":"TemporaryFile(/tmp/multipartBody5051629769735082413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262877032,"filename":"image_04112025_16_13_10_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10fd625f30b31aa95b30fe988382acc7.jpg","text":"TemporaryFile(/tmp/multipartBody8628125023720867303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262877032,"filename":"image_04112025_16_12_52_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e50fbd8b06271db2e62bc97501160f3.jpg","text":"TemporaryFile(/tmp/multipartBody7505993684621192160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262877032,"filename":"image_04112025_16_13_12_1756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013635","file1":"1402013633","file0":"1402013632","file4":"1402013639","file5":"1402013641","file3":"1402013637"},"map_files_photo_id_array":[{"photo_id":"1402013641","filename":"file5"},{"photo_id":"1402013635","filename":"file2"},{"photo_id":"1402013639","filename":"file4"},{"photo_id":"1402013633","filename":"file1"},{"photo_id":"1402013632","filename":"file0"},{"photo_id":"1402013637","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013639":["hashtag1","hashtag2"]},{"1402013633":["hashtag1","hashtag2"]},{"1402013641":["hashtag1","hashtag2"]},{"1402013635":["hashtag1","hashtag2"]},{"1402013632":["hashtag1","hashtag2"]},{"1402013637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013639, 1402013633, 1402013641, 1402013635, 1402013632, 1402013637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.884928464889526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:21:03.352575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_15_10053.jpg', '/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_25_10746.jpg', '/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_35_9558.jpg', '/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_45_9794.jpg', '/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_55_10690.jpg', '/home/pi/Desktop/images/01012026/09/30/image_01012026_09_31_05_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_15_10053.jpg
/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_25_10746.jpg
/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_35_9558.jpg
/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_45_9794.jpg
/home/pi/Desktop/images/01012026/09/30/image_01012026_09_30_55_10690.jpg
/home/pi/Desktop/images/01012026/09/30/image_01012026_09_31_05_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":["1402013657","1402013653","1402013656","1402013658","1402013655","1402013660"],"photo_ids_order":["1402013653","1402013655","1402013656","1402013657","1402013658","1402013660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f55e8f322c75f59a893ddf2a79a3a24.jpg","text":"TemporaryFile(/tmp/multipartBody6895299445001501275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262924036,"filename":"image_01012026_09_30_45_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb5471747be4282ad261acc0c10a0280.jpg","text":"TemporaryFile(/tmp/multipartBody9043335700269942658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262924036,"filename":"image_01012026_09_30_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80415dc71e7f724c6e380ad9ffde6ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6231663023591691726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262924036,"filename":"image_01012026_09_30_35_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0357ddf37410aeec00f51ff2387598db.jpg","text":"TemporaryFile(/tmp/multipartBody8002865402471301003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262924036,"filename":"image_01012026_09_30_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15e185c716b78809765a762d5184980a.jpg","text":"TemporaryFile(/tmp/multipartBody7597010031981588009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262924036,"filename":"image_01012026_09_30_25_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f49f42d0909209def2b0a58c92df6d14.jpg","text":"TemporaryFile(/tmp/multipartBody4207149530290890185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262924036,"filename":"image_01012026_09_31_05_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013656","file1":"1402013655","file0":"1402013653","file4":"1402013658","file5":"1402013660","file3":"1402013657"},"map_files_photo_id_array":[{"photo_id":"1402013660","filename":"file5"},{"photo_id":"1402013656","filename":"file2"},{"photo_id":"1402013658","filename":"file4"},{"photo_id":"1402013655","filename":"file1"},{"photo_id":"1402013653","filename":"file0"},{"photo_id":"1402013657","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013657":["hashtag1","hashtag2"]},{"1402013653":["hashtag1","hashtag2"]},{"1402013656":["hashtag1","hashtag2"]},{"1402013658":["hashtag1","hashtag2"]},{"1402013655":["hashtag1","hashtag2"]},{"1402013660":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013657, 1402013653, 1402013656, 1402013658, 1402013655, 1402013660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89153432846069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:21:42.628800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_24_4405.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_26_1780.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_31_1618.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_34_2665.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_36_2664.jpg', '/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_51_7916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_24_4405.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_26_1780.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_31_1618.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_34_2665.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_36_2664.jpg
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_51_7916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013666","1402013674","1402013668","1402013676","1402013673","1402013669"],"photo_ids_order":["1402013666","1402013668","1402013669","1402013673","1402013674","1402013676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c86939162b803503719e674c01290762.jpg","text":"TemporaryFile(/tmp/multipartBody4869868051670742443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262964521,"filename":"image_04112025_16_13_24_4405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/247b43c6fdc667f983af4c65449f24f1.jpg","text":"TemporaryFile(/tmp/multipartBody7428913705120446803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262964521,"filename":"image_04112025_16_13_36_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43fbf74d39db69dea080739f9cadf2ba.jpg","text":"TemporaryFile(/tmp/multipartBody4068308963990420034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262964521,"filename":"image_04112025_16_13_26_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41fc162ecffcffec643281e9fc95b733.jpg","text":"TemporaryFile(/tmp/multipartBody2616136751454831394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262964521,"filename":"image_04112025_16_13_51_7916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84f013862b545c090642fd2660309486.jpg","text":"TemporaryFile(/tmp/multipartBody5247210045659061103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262964521,"filename":"image_04112025_16_13_34_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/614d5d1ad7c1206340f0d882f6c06878.jpg","text":"TemporaryFile(/tmp/multipartBody5085414642998718896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767262964521,"filename":"image_04112025_16_13_31_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013669","file1":"1402013668","file0":"1402013666","file4":"1402013674","file5":"1402013676","file3":"1402013673"},"map_files_photo_id_array":[{"photo_id":"1402013676","filename":"file5"},{"photo_id":"1402013669","filename":"file2"},{"photo_id":"1402013674","filename":"file4"},{"photo_id":"1402013668","filename":"file1"},{"photo_id":"1402013666","filename":"file0"},{"photo_id":"1402013673","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013666":["hashtag1","hashtag2"]},{"1402013674":["hashtag1","hashtag2"]},{"1402013668":["hashtag1","hashtag2"]},{"1402013676":["hashtag1","hashtag2"]},{"1402013673":["hashtag1","hashtag2"]},{"1402013669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013666, 1402013674, 1402013668, 1402013676, 1402013673, 1402013669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.732449769973755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:22:22.838585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/31/image_01012026_09_31_15_9728.jpg', '/home/pi/Desktop/images/01012026/09/31/image_01012026_09_31_25_10746.jpg', '/home/pi/Desktop/images/01012026/09/31/image_01012026_09_31_35_9644.jpg', '/home/pi/Desktop/images/01012026/09/31/image_01012026_09_31_55_9852.jpg', '/home/pi/Desktop/images/01012026/09/31/image_01012026_09_32_05_10684.jpg', '/home/pi/Desktop/images/01012026/09/32/image_01012026_09_32_15_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/31/image_01012026_09_31_15_9728.jpg
/home/pi/Desktop/images/01012026/09/31/image_01012026_09_31_25_10746.jpg
/home/pi/Desktop/images/01012026/09/31/image_01012026_09_31_35_9644.jpg
/home/pi/Desktop/images/01012026/09/31/image_01012026_09_31_55_9852.jpg
/home/pi/Desktop/images/01012026/09/31/image_01012026_09_32_05_10684.jpg
/home/pi/Desktop/images/01012026/09/32/image_01012026_09_32_15_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013692","1402013694","1402013688","1402013685","1402013700","1402013696"],"photo_ids_order":["1402013685","1402013688","1402013692","1402013694","1402013696","1402013700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df32cab6817205b55a9d1de52c26eb4c.jpg","text":"TemporaryFile(/tmp/multipartBody5577255799449418245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263003440,"filename":"image_01012026_09_31_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa45ecddc064fbbef4d32f6b6e2c9583.jpg","text":"TemporaryFile(/tmp/multipartBody5058787423163232257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263003440,"filename":"image_01012026_09_31_55_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d27bfc557cee7e4cf3c43b7861497b34.jpg","text":"TemporaryFile(/tmp/multipartBody825297861536004165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263003440,"filename":"image_01012026_09_31_25_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92d3816ac621d68b35b65e98b78c10d6.jpg","text":"TemporaryFile(/tmp/multipartBody5058673656317442788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263003440,"filename":"image_01012026_09_31_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02f67161a03720ea5d0fe614ad67d2d0.jpg","text":"TemporaryFile(/tmp/multipartBody3137076266355305817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263003440,"filename":"image_01012026_09_32_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4140a46d24fbe4fda81df88cecd3c26d.jpg","text":"TemporaryFile(/tmp/multipartBody7698821039301661441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263003440,"filename":"image_01012026_09_32_05_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013692","file1":"1402013688","file0":"1402013685","file4":"1402013696","file5":"1402013700","file3":"1402013694"},"map_files_photo_id_array":[{"photo_id":"1402013700","filename":"file5"},{"photo_id":"1402013692","filename":"file2"},{"photo_id":"1402013696","filename":"file4"},{"photo_id":"1402013688","filename":"file1"},{"photo_id":"1402013685","filename":"file0"},{"photo_id":"1402013694","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013692":["hashtag1","hashtag2"]},{"1402013694":["hashtag1","hashtag2"]},{"1402013688":["hashtag1","hashtag2"]},{"1402013685":["hashtag1","hashtag2"]},{"1402013700":["hashtag1","hashtag2"]},{"1402013696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013692, 1402013694, 1402013688, 1402013685, 1402013700, 1402013696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04990315437317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:23:02.669783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/32/image_01012026_09_32_25_9668.jpg', '/home/pi/Desktop/images/01012026/09/32/image_01012026_09_32_35_10637.jpg', '/home/pi/Desktop/images/01012026/09/32/image_01012026_09_32_55_9824.jpg', '/home/pi/Desktop/images/01012026/09/32/image_01012026_09_33_05_10531.jpg', '/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_15_9701.jpg', '/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_25_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/32/image_01012026_09_32_25_9668.jpg
/home/pi/Desktop/images/01012026/09/32/image_01012026_09_32_35_10637.jpg
/home/pi/Desktop/images/01012026/09/32/image_01012026_09_32_55_9824.jpg
/home/pi/Desktop/images/01012026/09/32/image_01012026_09_33_05_10531.jpg
/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_15_9701.jpg
/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_25_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":["1402013741","1402013744","1402013746","1402013737","1402013748","1402013733"],"photo_ids_order":["1402013733","1402013737","1402013741","1402013744","1402013746","1402013748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed048395cc97b6f8c0d1439ada834245.jpg","text":"TemporaryFile(/tmp/multipartBody1777529660888852901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263043360,"filename":"image_01012026_09_32_55_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b08f8f673239fc3c9a4f6bcb254094e.jpg","text":"TemporaryFile(/tmp/multipartBody156450327572476282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263043360,"filename":"image_01012026_09_33_05_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/570fda83f64d80939f900863ef9152eb.jpg","text":"TemporaryFile(/tmp/multipartBody1098636335054346059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263043360,"filename":"image_01012026_09_33_15_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/015647941b262ecb65a7bac09245092e.jpg","text":"TemporaryFile(/tmp/multipartBody655416784412717228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263043360,"filename":"image_01012026_09_32_35_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdbdc6df1eefe4404bec1c3b65ec985a.jpg","text":"TemporaryFile(/tmp/multipartBody5465478092277857374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263043360,"filename":"image_01012026_09_33_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14dcbbdcd29409245fda9ec052cd9e69.jpg","text":"TemporaryFile(/tmp/multipartBody1967971563746131444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263043360,"filename":"image_01012026_09_32_25_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013741","file1":"1402013737","file0":"1402013733","file4":"1402013746","file5":"1402013748","file3":"1402013744"},"map_files_photo_id_array":[{"photo_id":"1402013748","filename":"file5"},{"photo_id":"1402013741","filename":"file2"},{"photo_id":"1402013746","filename":"file4"},{"photo_id":"1402013737","filename":"file1"},{"photo_id":"1402013733","filename":"file0"},{"photo_id":"1402013744","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013741":["hashtag1","hashtag2"]},{"1402013744":["hashtag1","hashtag2"]},{"1402013746":["hashtag1","hashtag2"]},{"1402013737":["hashtag1","hashtag2"]},{"1402013748":["hashtag1","hashtag2"]},{"1402013733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013741, 1402013744, 1402013746, 1402013737, 1402013748, 1402013733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.254862785339355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:23:42.040412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_57_5826.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_26_14520.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_37_1871.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_38_1759.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_40_1649.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_44_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_57_5826.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_26_14520.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_37_1871.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_38_1759.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_40_1649.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_44_1694.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.758626937866211 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:24:04.117044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_35_10674.jpg', '/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_45_9710.jpg', '/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_55_9618.jpg', '/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_15_9874.jpg', '/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_25_9649.jpg', '/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_35_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_35_10674.jpg
/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_45_9710.jpg
/home/pi/Desktop/images/01012026/09/33/image_01012026_09_33_55_9618.jpg
/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_15_9874.jpg
/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_25_9649.jpg
/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_35_9722.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":["1402013777","1402013770","1402013773","1402013775","1402013772","1402013771"],"photo_ids_order":["1402013770","1402013771","1402013772","1402013773","1402013775","1402013777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99d84874af379a2f0d2dbb74ccb7757a.jpg","text":"TemporaryFile(/tmp/multipartBody6422528416335894775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263107234,"filename":"image_01012026_09_34_35_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6324432d0ab4b7de7bef6c7d2d548736.jpg","text":"TemporaryFile(/tmp/multipartBody8453071888291885242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263107234,"filename":"image_01012026_09_33_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3845d0dd42850cfe9ebda53d0c0424b5.jpg","text":"TemporaryFile(/tmp/multipartBody8540547854105118734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263107234,"filename":"image_01012026_09_34_15_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff55d48e048396612f9154bcbd41fe54.jpg","text":"TemporaryFile(/tmp/multipartBody4313362071493155918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263107234,"filename":"image_01012026_09_34_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd720e96107f0ccc86325894df5bf947.jpg","text":"TemporaryFile(/tmp/multipartBody5770667310790589296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263107234,"filename":"image_01012026_09_33_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1bd6f9c2137dce13cc8deda90a64e6b.jpg","text":"TemporaryFile(/tmp/multipartBody3030843615111726817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263107234,"filename":"image_01012026_09_33_45_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013772","file1":"1402013771","file0":"1402013770","file4":"1402013775","file5":"1402013777","file3":"1402013773"},"map_files_photo_id_array":[{"photo_id":"1402013777","filename":"file5"},{"photo_id":"1402013772","filename":"file2"},{"photo_id":"1402013775","filename":"file4"},{"photo_id":"1402013771","filename":"file1"},{"photo_id":"1402013770","filename":"file0"},{"photo_id":"1402013773","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013777":["hashtag1","hashtag2"]},{"1402013770":["hashtag1","hashtag2"]},{"1402013773":["hashtag1","hashtag2"]},{"1402013775":["hashtag1","hashtag2"]},{"1402013772":["hashtag1","hashtag2"]},{"1402013771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013777, 1402013770, 1402013773, 1402013775, 1402013772, 1402013771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57398819923401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:25:03.017406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_45_10656.jpg', '/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_55_9648.jpg', '/home/pi/Desktop/images/01012026/09/34/image_01012026_09_35_05_10641.jpg', '/home/pi/Desktop/images/01012026/09/35/image_01012026_09_35_25_9685.jpg', '/home/pi/Desktop/images/01012026/09/35/image_01012026_09_35_35_10653.jpg', '/home/pi/Desktop/images/01012026/09/35/image_01012026_09_35_45_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_45_10656.jpg
/home/pi/Desktop/images/01012026/09/34/image_01012026_09_34_55_9648.jpg
/home/pi/Desktop/images/01012026/09/34/image_01012026_09_35_05_10641.jpg
/home/pi/Desktop/images/01012026/09/35/image_01012026_09_35_25_9685.jpg
/home/pi/Desktop/images/01012026/09/35/image_01012026_09_35_35_10653.jpg
/home/pi/Desktop/images/01012026/09/35/image_01012026_09_35_45_9729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013783","1402013782","1402013785","1402013787","1402013781","1402013784"],"photo_ids_order":["1402013781","1402013782","1402013783","1402013784","1402013785","1402013787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/333eb49f69ebb6f2022bddaa69e33887.jpg","text":"TemporaryFile(/tmp/multipartBody3886614524426284531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263163679,"filename":"image_01012026_09_35_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a7a6a273642b681a1e6c7bcdb4890f6.jpg","text":"TemporaryFile(/tmp/multipartBody2841555202682276059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263163679,"filename":"image_01012026_09_34_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83a4ba03ad1823bf4784806476b443f0.jpg","text":"TemporaryFile(/tmp/multipartBody978193120347676088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263163679,"filename":"image_01012026_09_35_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8dc873238d90a1237cfbe3fab345c766.jpg","text":"TemporaryFile(/tmp/multipartBody8328950771667995877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263163679,"filename":"image_01012026_09_35_45_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ba007aa9ab28cde02f90fb7c6f5a0f7.jpg","text":"TemporaryFile(/tmp/multipartBody6653517714795723067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263163679,"filename":"image_01012026_09_34_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c352fd76aabc268a23010424ed54f50.jpg","text":"TemporaryFile(/tmp/multipartBody139150268532169717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263163679,"filename":"image_01012026_09_35_25_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013783","file1":"1402013782","file0":"1402013781","file4":"1402013785","file5":"1402013787","file3":"1402013784"},"map_files_photo_id_array":[{"photo_id":"1402013787","filename":"file5"},{"photo_id":"1402013783","filename":"file2"},{"photo_id":"1402013785","filename":"file4"},{"photo_id":"1402013782","filename":"file1"},{"photo_id":"1402013781","filename":"file0"},{"photo_id":"1402013784","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013783":["hashtag1","hashtag2"]},{"1402013782":["hashtag1","hashtag2"]},{"1402013785":["hashtag1","hashtag2"]},{"1402013787":["hashtag1","hashtag2"]},{"1402013781":["hashtag1","hashtag2"]},{"1402013784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013783, 1402013782, 1402013785, 1402013787, 1402013781, 1402013784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.773271560668945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:25:42.326750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_57_5826.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_26_14520.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_37_1871.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_38_1759.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_40_1649.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_44_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/13/image_04112025_16_13_57_5826.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_26_14520.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_37_1871.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_38_1759.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_40_1649.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_44_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":["1402013794","1402013797","1402013793","1402013796","1402013798","1402013795"],"photo_ids_order":["1402013793","1402013794","1402013795","1402013796","1402013797","1402013798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d7150417949da73d064b51e13da17e9.jpg","text":"TemporaryFile(/tmp/multipartBody2409271449611944437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263204097,"filename":"image_04112025_16_14_26_14520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8615d5631eceb50721b25b4992968f7e.jpg","text":"TemporaryFile(/tmp/multipartBody4075940280093335668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263204097,"filename":"image_04112025_16_14_40_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/805c87fde6eaca887f518af0a8f45d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7990655920338265159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263204097,"filename":"image_04112025_16_13_57_5826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3b93a476d70642bb264f6eea9453289.jpg","text":"TemporaryFile(/tmp/multipartBody8101515537615796217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263204097,"filename":"image_04112025_16_14_38_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb2a3749d1bf4ab73584338a11de85d1.jpg","text":"TemporaryFile(/tmp/multipartBody2045262529760820397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263204097,"filename":"image_04112025_16_14_44_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/309b9274bbddb79dc5ac4edd0ae123d0.jpg","text":"TemporaryFile(/tmp/multipartBody842167545041767053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263204097,"filename":"image_04112025_16_14_37_1871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013795","file1":"1402013794","file0":"1402013793","file4":"1402013797","file5":"1402013798","file3":"1402013796"},"map_files_photo_id_array":[{"photo_id":"1402013798","filename":"file5"},{"photo_id":"1402013795","filename":"file2"},{"photo_id":"1402013797","filename":"file4"},{"photo_id":"1402013794","filename":"file1"},{"photo_id":"1402013793","filename":"file0"},{"photo_id":"1402013796","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013794":["hashtag1","hashtag2"]},{"1402013797":["hashtag1","hashtag2"]},{"1402013793":["hashtag1","hashtag2"]},{"1402013796":["hashtag1","hashtag2"]},{"1402013798":["hashtag1","hashtag2"]},{"1402013795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013794, 1402013797, 1402013793, 1402013796, 1402013798, 1402013795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46828889846802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:26:22.449260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/35/image_01012026_09_35_55_9629.jpg', '/home/pi/Desktop/images/01012026/09/35/image_01012026_09_36_05_10708.jpg', '/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_15_9749.jpg', '/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_25_9781.jpg', '/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_35_9536.jpg', '/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_45_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/35/image_01012026_09_35_55_9629.jpg
/home/pi/Desktop/images/01012026/09/35/image_01012026_09_36_05_10708.jpg
/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_15_9749.jpg
/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_25_9781.jpg
/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_35_9536.jpg
/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_45_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":["1402013804","1402013807","1402013801","1402013809","1402013806","1402013802"],"photo_ids_order":["1402013801","1402013802","1402013804","1402013806","1402013807","1402013809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d6cd0bfea801704832a07a822fdfd0f.jpg","text":"TemporaryFile(/tmp/multipartBody613812491130561729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263243023,"filename":"image_01012026_09_36_15_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7630b311df22bd12188c072953b993fc.jpg","text":"TemporaryFile(/tmp/multipartBody642960248432509085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263243023,"filename":"image_01012026_09_36_35_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/232073977b1b3b1ff9e4bf2c2213c799.jpg","text":"TemporaryFile(/tmp/multipartBody9017053746963663222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263243023,"filename":"image_01012026_09_35_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a0c0f43c1d2819ceb99ff825e3ca572.jpg","text":"TemporaryFile(/tmp/multipartBody3052223424750170531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263243023,"filename":"image_01012026_09_36_45_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/621a2aaa28fd0ad6ff9087bd069f3e6d.jpg","text":"TemporaryFile(/tmp/multipartBody33611329539426296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263243023,"filename":"image_01012026_09_36_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2705bdf133132938ff563082cb1c3de9.jpg","text":"TemporaryFile(/tmp/multipartBody8211949088816154278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263243023,"filename":"image_01012026_09_36_05_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013804","file1":"1402013802","file0":"1402013801","file4":"1402013807","file5":"1402013809","file3":"1402013806"},"map_files_photo_id_array":[{"photo_id":"1402013809","filename":"file5"},{"photo_id":"1402013804","filename":"file2"},{"photo_id":"1402013807","filename":"file4"},{"photo_id":"1402013802","filename":"file1"},{"photo_id":"1402013801","filename":"file0"},{"photo_id":"1402013806","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013804":["hashtag1","hashtag2"]},{"1402013807":["hashtag1","hashtag2"]},{"1402013801":["hashtag1","hashtag2"]},{"1402013809":["hashtag1","hashtag2"]},{"1402013806":["hashtag1","hashtag2"]},{"1402013802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013804, 1402013807, 1402013801, 1402013809, 1402013806, 1402013802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49953818321228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:27:03.303147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_55_9831.jpg', '/home/pi/Desktop/images/01012026/09/37/image_01012026_09_37_25_10875.jpg', '/home/pi/Desktop/images/01012026/09/37/image_01012026_09_37_35_9728.jpg', '/home/pi/Desktop/images/01012026/09/37/image_01012026_09_37_45_9764.jpg', '/home/pi/Desktop/images/01012026/09/37/image_01012026_09_38_05_9729.jpg', '/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_15_10848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/36/image_01012026_09_36_55_9831.jpg
/home/pi/Desktop/images/01012026/09/37/image_01012026_09_37_25_10875.jpg
/home/pi/Desktop/images/01012026/09/37/image_01012026_09_37_35_9728.jpg
/home/pi/Desktop/images/01012026/09/37/image_01012026_09_37_45_9764.jpg
/home/pi/Desktop/images/01012026/09/37/image_01012026_09_38_05_9729.jpg
/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_15_10848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013822","1402013825","1402013828","1402013827","1402013830","1402013826"],"photo_ids_order":["1402013822","1402013825","1402013826","1402013827","1402013828","1402013830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d96b3d44457ce7821a7e5f8131ab7a0.jpg","text":"TemporaryFile(/tmp/multipartBody7665167212950519692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263283986,"filename":"image_01012026_09_36_55_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3787ad1d61cdafd1190bad6a99a06d88.jpg","text":"TemporaryFile(/tmp/multipartBody9158672820782051404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263283986,"filename":"image_01012026_09_37_25_10875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3044ad8a20b319b1f57496222e5e309e.jpg","text":"TemporaryFile(/tmp/multipartBody8328358141915572621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263283986,"filename":"image_01012026_09_38_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3965f0d9d6393f77f2111124bdfd58d.jpg","text":"TemporaryFile(/tmp/multipartBody557494639396648286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263283986,"filename":"image_01012026_09_37_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e025f53469d8748efb889f299285562f.jpg","text":"TemporaryFile(/tmp/multipartBody1553393108621330479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263283986,"filename":"image_01012026_09_38_15_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b80357556d7cf257588df797c37a6a5d.jpg","text":"TemporaryFile(/tmp/multipartBody9157166089614676048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263283986,"filename":"image_01012026_09_37_35_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013826","file1":"1402013825","file0":"1402013822","file4":"1402013828","file5":"1402013830","file3":"1402013827"},"map_files_photo_id_array":[{"photo_id":"1402013830","filename":"file5"},{"photo_id":"1402013826","filename":"file2"},{"photo_id":"1402013828","filename":"file4"},{"photo_id":"1402013825","filename":"file1"},{"photo_id":"1402013822","filename":"file0"},{"photo_id":"1402013827","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013822":["hashtag1","hashtag2"]},{"1402013825":["hashtag1","hashtag2"]},{"1402013828":["hashtag1","hashtag2"]},{"1402013827":["hashtag1","hashtag2"]},{"1402013830":["hashtag1","hashtag2"]},{"1402013826":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013822, 1402013825, 1402013828, 1402013827, 1402013830, 1402013826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.987361431121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:27:42.831602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_45_1692.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_47_1561.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_48_1598.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_50_1701.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_53_1611.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_55_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_45_1692.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_47_1561.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_48_1598.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_50_1701.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_53_1611.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_55_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":["1402013840","1402013834","1402013837","1402013839","1402013836","1402013838"],"photo_ids_order":["1402013834","1402013836","1402013837","1402013838","1402013839","1402013840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a851f7deebc1de004ef9f5f406e218cf.jpg","text":"TemporaryFile(/tmp/multipartBody1318750730671348565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263324737,"filename":"image_04112025_16_14_55_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83a0373559b1e7d66b57744f2c19b4ee.jpg","text":"TemporaryFile(/tmp/multipartBody5519260038367255235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263324737,"filename":"image_04112025_16_14_45_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2f3ea7ff2a6ffe27f5114c8de9b27f4.jpg","text":"TemporaryFile(/tmp/multipartBody2739641407938298732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263324737,"filename":"image_04112025_16_14_48_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ca7cf2dfb8e150e7e5af79cf7e67aee.jpg","text":"TemporaryFile(/tmp/multipartBody3292973612344437931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263324737,"filename":"image_04112025_16_14_53_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a8449b179e965ab0d22eebb7915739e.jpg","text":"TemporaryFile(/tmp/multipartBody4960489312924795955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263324737,"filename":"image_04112025_16_14_47_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b2efe29c64a77f2ff84f5aeb29e65bc.jpg","text":"TemporaryFile(/tmp/multipartBody6619391014668503890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263324737,"filename":"image_04112025_16_14_50_1701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013837","file1":"1402013836","file0":"1402013834","file4":"1402013839","file5":"1402013840","file3":"1402013838"},"map_files_photo_id_array":[{"photo_id":"1402013840","filename":"file5"},{"photo_id":"1402013837","filename":"file2"},{"photo_id":"1402013839","filename":"file4"},{"photo_id":"1402013836","filename":"file1"},{"photo_id":"1402013834","filename":"file0"},{"photo_id":"1402013838","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013840":["hashtag1","hashtag2"]},{"1402013834":["hashtag1","hashtag2"]},{"1402013837":["hashtag1","hashtag2"]},{"1402013839":["hashtag1","hashtag2"]},{"1402013836":["hashtag1","hashtag2"]},{"1402013838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013840, 1402013834, 1402013837, 1402013839, 1402013836, 1402013838)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.164194107055664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:28:32.091462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_57_1646.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_15_00_3009.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_28_23816.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_31_2995.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_32_1533.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_34_1600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_57_1646.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_15_00_3009.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_28_23816.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_31_2995.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_32_1533.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_34_1600.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.7025971412658691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:28:41.898099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_57_1646.jpg', '/home/pi/Desktop/images/04112025/16/14/image_04112025_16_15_00_3009.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_28_23816.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_31_2995.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_32_1533.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_34_1600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_14_57_1646.jpg
/home/pi/Desktop/images/04112025/16/14/image_04112025_16_15_00_3009.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_28_23816.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_31_2995.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_32_1533.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_34_1600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013857","1402013854","1402013856","1402013850","1402013847","1402013852"],"photo_ids_order":["1402013847","1402013850","1402013852","1402013854","1402013856","1402013857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/978a6e8696afcf0e906c6ac4eb43ac49.jpg","text":"TemporaryFile(/tmp/multipartBody1622893667517127576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263383594,"filename":"image_04112025_16_15_34_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6815d69eb5050c7e73c4c5d3bf4cc67.jpg","text":"TemporaryFile(/tmp/multipartBody2123348496937086777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263383594,"filename":"image_04112025_16_15_31_2995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fc96e752de1e105d60de7bd582ba889.jpg","text":"TemporaryFile(/tmp/multipartBody1417548983360882066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263383594,"filename":"image_04112025_16_15_32_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18b9677825887b217ee6ce117f58f4ca.jpg","text":"TemporaryFile(/tmp/multipartBody2412616518680757007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263383594,"filename":"image_04112025_16_15_00_3009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9202d1875c79163d2065600c5c5b3b1b.jpg","text":"TemporaryFile(/tmp/multipartBody4219507153836939652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263383594,"filename":"image_04112025_16_14_57_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/480d0cd6d8c8046ca588c4bb3d537428.jpg","text":"TemporaryFile(/tmp/multipartBody7396893530314239968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263383594,"filename":"image_04112025_16_15_28_23816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013852","file1":"1402013850","file0":"1402013847","file4":"1402013856","file5":"1402013857","file3":"1402013854"},"map_files_photo_id_array":[{"photo_id":"1402013857","filename":"file5"},{"photo_id":"1402013852","filename":"file2"},{"photo_id":"1402013856","filename":"file4"},{"photo_id":"1402013850","filename":"file1"},{"photo_id":"1402013847","filename":"file0"},{"photo_id":"1402013854","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013857":["hashtag1","hashtag2"]},{"1402013854":["hashtag1","hashtag2"]},{"1402013856":["hashtag1","hashtag2"]},{"1402013850":["hashtag1","hashtag2"]},{"1402013847":["hashtag1","hashtag2"]},{"1402013852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013857, 1402013854, 1402013856, 1402013850, 1402013847, 1402013852)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.02769160270691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:29:36.046488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_36_1768.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_39_2997.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_40_1656.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_44_1707.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_46_1646.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_47_1564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_36_1768.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_39_2997.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_40_1656.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_44_1707.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_46_1646.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_47_1564.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! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013893","1402013906","1402013914","1402013907","1402013916","1402013867"],"photo_ids_order":["1402013867","1402013893","1402013906","1402013907","1402013914","1402013916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64f9ee2b41299103b939ba17ccff65e4.jpg","text":"TemporaryFile(/tmp/multipartBody2095196899586695881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263440382,"filename":"image_04112025_16_15_39_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/704543f137e685b2d9ae8eabd4c608b7.jpg","text":"TemporaryFile(/tmp/multipartBody53264865736203009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263440382,"filename":"image_04112025_16_15_40_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c19a054ed07aa2fc28c085ee745f938.jpg","text":"TemporaryFile(/tmp/multipartBody7296014943489155553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263440382,"filename":"image_04112025_16_15_46_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d06669f3762d7136b0148ad4dd3ee6c.jpg","text":"TemporaryFile(/tmp/multipartBody8312298793299015071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263440382,"filename":"image_04112025_16_15_44_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f64894f1a03110941d900b91c85a07c.jpg","text":"TemporaryFile(/tmp/multipartBody4072727357668386700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263440382,"filename":"image_04112025_16_15_47_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8190bddae5a8421e231cf968f42df176.jpg","text":"TemporaryFile(/tmp/multipartBody3461197889137269196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263440382,"filename":"image_04112025_16_15_36_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013906","file1":"1402013893","file0":"1402013867","file4":"1402013914","file5":"1402013916","file3":"1402013907"},"map_files_photo_id_array":[{"photo_id":"1402013916","filename":"file5"},{"photo_id":"1402013906","filename":"file2"},{"photo_id":"1402013914","filename":"file4"},{"photo_id":"1402013893","filename":"file1"},{"photo_id":"1402013867","filename":"file0"},{"photo_id":"1402013907","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013893":["hashtag1","hashtag2"]},{"1402013906":["hashtag1","hashtag2"]},{"1402013914":["hashtag1","hashtag2"]},{"1402013907":["hashtag1","hashtag2"]},{"1402013916":["hashtag1","hashtag2"]},{"1402013867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013893, 1402013906, 1402013914, 1402013907, 1402013916, 1402013867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.02254748344421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:31:02.662815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 11:31:14.195767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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 15
2026-01-01 11:31:22.000912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_25_9664.jpg', '/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_35_9681.jpg', '/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_45_10628.jpg', '/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_55_9725.jpg', '/home/pi/Desktop/images/01012026/09/38/image_01012026_09_39_05_9731.jpg', '/home/pi/Desktop/images/01012026/09/39/image_01012026_09_39_25_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_25_9664.jpg
/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_35_9681.jpg
/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_45_10628.jpg
/home/pi/Desktop/images/01012026/09/38/image_01012026_09_38_55_9725.jpg
/home/pi/Desktop/images/01012026/09/38/image_01012026_09_39_05_9731.jpg
/home/pi/Desktop/images/01012026/09/39/image_01012026_09_39_25_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013921","1402013927","1402013926","1402013929","1402013923","1402013925"],"photo_ids_order":["1402013921","1402013923","1402013925","1402013926","1402013927","1402013929"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93db06ef6d0ab95580c0beb709228e3c.jpg","text":"TemporaryFile(/tmp/multipartBody976417316315830284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263542621,"filename":"image_01012026_09_38_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eabdb0dee84b8196f91769fa5aaa56af.jpg","text":"TemporaryFile(/tmp/multipartBody1307955912168470467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263542621,"filename":"image_01012026_09_39_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77caca9227d018e2ffb995df589f6221.jpg","text":"TemporaryFile(/tmp/multipartBody6870447783683491656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263542621,"filename":"image_01012026_09_38_55_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6bd6284a7838deb760eae8a9c51f5bd.jpg","text":"TemporaryFile(/tmp/multipartBody7595931305736866977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263542621,"filename":"image_01012026_09_39_25_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16096826085d1ba2af8c43b62977aeaf.jpg","text":"TemporaryFile(/tmp/multipartBody5607811768890676889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263542621,"filename":"image_01012026_09_38_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c44df2ccbc641839fd5ae7d63ea378ab.jpg","text":"TemporaryFile(/tmp/multipartBody7557325426096226192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263542621,"filename":"image_01012026_09_38_45_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013925","file1":"1402013923","file0":"1402013921","file4":"1402013927","file5":"1402013929","file3":"1402013926"},"map_files_photo_id_array":[{"photo_id":"1402013929","filename":"file5"},{"photo_id":"1402013925","filename":"file2"},{"photo_id":"1402013927","filename":"file4"},{"photo_id":"1402013923","filename":"file1"},{"photo_id":"1402013921","filename":"file0"},{"photo_id":"1402013926","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013921":["hashtag1","hashtag2"]},{"1402013927":["hashtag1","hashtag2"]},{"1402013926":["hashtag1","hashtag2"]},{"1402013929":["hashtag1","hashtag2"]},{"1402013923":["hashtag1","hashtag2"]},{"1402013925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013921, 1402013927, 1402013926, 1402013929, 1402013923, 1402013925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.41067361831665 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
2026-01-01 11:32:13.213298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_49_1525.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_50_1707.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_52_1642.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_54_1626.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_56_1901.jpg', '/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_57_1607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_49_1525.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_50_1707.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_52_1642.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_54_1626.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_56_1901.jpg
/home/pi/Desktop/images/04112025/16/15/image_04112025_16_15_57_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":["1402013936","1402013945","1402013939","1402013941","1402013943","1402013934"],"photo_ids_order":["1402013934","1402013936","1402013939","1402013941","1402013943","1402013945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55186a8f29362894e8ef13759b155bf8.jpg","text":"TemporaryFile(/tmp/multipartBody3439753721909493925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263594993,"filename":"image_04112025_16_15_50_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af535472fa85cf28018f930caa210a47.jpg","text":"TemporaryFile(/tmp/multipartBody7199698807531640178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263594993,"filename":"image_04112025_16_15_57_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/872259fa70af568adbf871833e8e08fc.jpg","text":"TemporaryFile(/tmp/multipartBody5438803417933232436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263594993,"filename":"image_04112025_16_15_52_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21f805fc473b4b296caee91d74cbe1d8.jpg","text":"TemporaryFile(/tmp/multipartBody8579966900121759741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263594993,"filename":"image_04112025_16_15_54_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45764bd0a4b0e6b3280cde758acbf7df.jpg","text":"TemporaryFile(/tmp/multipartBody9046128342212380935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263594993,"filename":"image_04112025_16_15_56_1901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6de5f05cb4e3fc8b0711f63a824e988d.jpg","text":"TemporaryFile(/tmp/multipartBody219953313395274664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263594993,"filename":"image_04112025_16_15_49_1525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013939","file1":"1402013936","file0":"1402013934","file4":"1402013943","file5":"1402013945","file3":"1402013941"},"map_files_photo_id_array":[{"photo_id":"1402013945","filename":"file5"},{"photo_id":"1402013939","filename":"file2"},{"photo_id":"1402013943","filename":"file4"},{"photo_id":"1402013936","filename":"file1"},{"photo_id":"1402013934","filename":"file0"},{"photo_id":"1402013941","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013936":["hashtag1","hashtag2"]},{"1402013945":["hashtag1","hashtag2"]},{"1402013939":["hashtag1","hashtag2"]},{"1402013941":["hashtag1","hashtag2"]},{"1402013943":["hashtag1","hashtag2"]},{"1402013934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013936, 1402013945, 1402013939, 1402013941, 1402013943, 1402013934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64150023460388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:33:03.072693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/39/image_01012026_09_39_35_9773.jpg', '/home/pi/Desktop/images/01012026/09/39/image_01012026_09_39_45_9847.jpg', '/home/pi/Desktop/images/01012026/09/39/image_01012026_09_39_55_9718.jpg', '/home/pi/Desktop/images/01012026/09/39/image_01012026_09_40_05_10848.jpg', '/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_15_9809.jpg', '/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_25_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/39/image_01012026_09_39_35_9773.jpg
/home/pi/Desktop/images/01012026/09/39/image_01012026_09_39_45_9847.jpg
/home/pi/Desktop/images/01012026/09/39/image_01012026_09_39_55_9718.jpg
/home/pi/Desktop/images/01012026/09/39/image_01012026_09_40_05_10848.jpg
/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_15_9809.jpg
/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_25_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":["1402013963","1402013965","1402013959","1402013968","1402013961","1402013964"],"photo_ids_order":["1402013959","1402013961","1402013963","1402013964","1402013965","1402013968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de8973db068c2156394bf644555c4031.jpg","text":"TemporaryFile(/tmp/multipartBody6405333193812324877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263643748,"filename":"image_01012026_09_39_55_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a69db81d3b4b5335059ea56ca66293fb.jpg","text":"TemporaryFile(/tmp/multipartBody6215331789725464968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263643748,"filename":"image_01012026_09_40_15_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ba0036cee06e00bb7a9b671f77adf16.jpg","text":"TemporaryFile(/tmp/multipartBody3383901869984648699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263643748,"filename":"image_01012026_09_39_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97677984641be3e53427eb85f64583f9.jpg","text":"TemporaryFile(/tmp/multipartBody921168616646074598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263643748,"filename":"image_01012026_09_40_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12c00c82d237849455b5d3697cb413d5.jpg","text":"TemporaryFile(/tmp/multipartBody9188344066154557336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263643748,"filename":"image_01012026_09_39_45_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f9b09f2d19d70b67e18a3487a44d8ab.jpg","text":"TemporaryFile(/tmp/multipartBody2884046463376789930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263643748,"filename":"image_01012026_09_40_05_10848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013963","file1":"1402013961","file0":"1402013959","file4":"1402013965","file5":"1402013968","file3":"1402013964"},"map_files_photo_id_array":[{"photo_id":"1402013968","filename":"file5"},{"photo_id":"1402013963","filename":"file2"},{"photo_id":"1402013965","filename":"file4"},{"photo_id":"1402013961","filename":"file1"},{"photo_id":"1402013959","filename":"file0"},{"photo_id":"1402013964","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013963":["hashtag1","hashtag2"]},{"1402013965":["hashtag1","hashtag2"]},{"1402013959":["hashtag1","hashtag2"]},{"1402013968":["hashtag1","hashtag2"]},{"1402013961":["hashtag1","hashtag2"]},{"1402013964":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013963, 1402013965, 1402013959, 1402013968, 1402013961, 1402013964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08823776245117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:33:42.229634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_01_2579.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_04_2656.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_14_9575.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_15_1649.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_17_1789.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_19_1571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_01_2579.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_04_2656.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_14_9575.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_15_1649.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_17_1789.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_19_1571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013975","1402013974","1402013977","1402013973","1402013976","1402013972"],"photo_ids_order":["1402013972","1402013973","1402013974","1402013975","1402013976","1402013977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54a8543b6c49af946bbc08690f2bd610.jpg","text":"TemporaryFile(/tmp/multipartBody7871785429647633842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263683982,"filename":"image_04112025_16_16_15_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/377678f98b9ad9f51983be9dce361e01.jpg","text":"TemporaryFile(/tmp/multipartBody4295092257728250309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263683982,"filename":"image_04112025_16_16_14_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da6cea26f1f018af83655c832f9cb5be.jpg","text":"TemporaryFile(/tmp/multipartBody7075256359368197854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263683982,"filename":"image_04112025_16_16_19_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e32bb46cd1ded86ba1f5dc55ce22376.jpg","text":"TemporaryFile(/tmp/multipartBody5865747479925413784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263683982,"filename":"image_04112025_16_16_04_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f74b66cdb61a3721f6675c6684551de2.jpg","text":"TemporaryFile(/tmp/multipartBody4416927365659704107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263683982,"filename":"image_04112025_16_16_17_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ea61753e38c38248fe646ada783c81d.jpg","text":"TemporaryFile(/tmp/multipartBody4602592068346762082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263683982,"filename":"image_04112025_16_16_01_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013974","file1":"1402013973","file0":"1402013972","file4":"1402013976","file5":"1402013977","file3":"1402013975"},"map_files_photo_id_array":[{"photo_id":"1402013977","filename":"file5"},{"photo_id":"1402013974","filename":"file2"},{"photo_id":"1402013976","filename":"file4"},{"photo_id":"1402013973","filename":"file1"},{"photo_id":"1402013972","filename":"file0"},{"photo_id":"1402013975","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402013975":["hashtag1","hashtag2"]},{"1402013974":["hashtag1","hashtag2"]},{"1402013977":["hashtag1","hashtag2"]},{"1402013973":["hashtag1","hashtag2"]},{"1402013976":["hashtag1","hashtag2"]},{"1402013972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402013975, 1402013974, 1402013977, 1402013973, 1402013976, 1402013972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11946940422058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:34:22.497448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_35_9768.jpg', '/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_45_10756.jpg', '/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_55_9767.jpg', '/home/pi/Desktop/images/01012026/09/40/image_01012026_09_41_05_9801.jpg', '/home/pi/Desktop/images/01012026/09/41/image_01012026_09_41_15_9704.jpg', '/home/pi/Desktop/images/01012026/09/41/image_01012026_09_41_25_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_35_9768.jpg
/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_45_10756.jpg
/home/pi/Desktop/images/01012026/09/40/image_01012026_09_40_55_9767.jpg
/home/pi/Desktop/images/01012026/09/40/image_01012026_09_41_05_9801.jpg
/home/pi/Desktop/images/01012026/09/41/image_01012026_09_41_15_9704.jpg
/home/pi/Desktop/images/01012026/09/41/image_01012026_09_41_25_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":["1402013980","1402013985","1402013988","1402013982","1402013990","1402013984"],"photo_ids_order":["1402013980","1402013982","1402013984","1402013985","1402013988","1402013990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a09df029579aa53ccde0ed40721f1a4.jpg","text":"TemporaryFile(/tmp/multipartBody2786576137279727110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263723094,"filename":"image_01012026_09_40_35_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e897200558bb71f51a148a37ab568ce.jpg","text":"TemporaryFile(/tmp/multipartBody9087969610818910345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263723094,"filename":"image_01012026_09_41_05_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cdc1689cbf315789872b3b61545943d.jpg","text":"TemporaryFile(/tmp/multipartBody6274419983051216426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263723094,"filename":"image_01012026_09_41_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3bc54869907d70813d21e76ce5ada64.jpg","text":"TemporaryFile(/tmp/multipartBody5713050084184739658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263723094,"filename":"image_01012026_09_40_45_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e74c5448f044ed14080203bb0e207b60.jpg","text":"TemporaryFile(/tmp/multipartBody2039687341843934208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263723094,"filename":"image_01012026_09_41_25_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/016361d1f093c7aa9b52d3707c9432a4.jpg","text":"TemporaryFile(/tmp/multipartBody741320543245350466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263723094,"filename":"image_01012026_09_40_55_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013984","file1":"1402013982","file0":"1402013980","file4":"1402013988","file5":"1402013990","file3":"1402013985"},"map_files_photo_id_array":[{"photo_id":"1402013990","filename":"file5"},{"photo_id":"1402013984","filename":"file2"},{"photo_id":"1402013988","filename":"file4"},{"photo_id":"1402013982","filename":"file1"},{"photo_id":"1402013980","filename":"file0"},{"photo_id":"1402013985","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013980":["hashtag1","hashtag2"]},{"1402013985":["hashtag1","hashtag2"]},{"1402013988":["hashtag1","hashtag2"]},{"1402013982":["hashtag1","hashtag2"]},{"1402013990":["hashtag1","hashtag2"]},{"1402013984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013980, 1402013985, 1402013988, 1402013982, 1402013990, 1402013984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49003553390503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:35:03.341782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/41/image_01012026_09_41_35_10752.jpg', '/home/pi/Desktop/images/01012026/09/41/image_01012026_09_41_55_9827.jpg', '/home/pi/Desktop/images/01012026/09/41/image_01012026_09_42_05_10746.jpg', '/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_15_9548.jpg', '/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_25_9636.jpg', '/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_35_10535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/41/image_01012026_09_41_35_10752.jpg
/home/pi/Desktop/images/01012026/09/41/image_01012026_09_41_55_9827.jpg
/home/pi/Desktop/images/01012026/09/41/image_01012026_09_42_05_10746.jpg
/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_15_9548.jpg
/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_25_9636.jpg
/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_35_10535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402013992","1402013995","1402013998","1402013991","1402013996","1402013993"],"photo_ids_order":["1402013991","1402013992","1402013993","1402013995","1402013996","1402013998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d38c8a07fdd465ed7d5a5cc62d7db5e.jpg","text":"TemporaryFile(/tmp/multipartBody3654911518569306469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263764009,"filename":"image_01012026_09_41_55_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2aaf5eccef345f2025f18df9dbad5b4e.jpg","text":"TemporaryFile(/tmp/multipartBody6591267791776589070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263764009,"filename":"image_01012026_09_42_15_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/050d6ff6579ac6323d91de7f78840ddc.jpg","text":"TemporaryFile(/tmp/multipartBody1938126348317824332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263764009,"filename":"image_01012026_09_42_35_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/505a712c417f14608a04890be19c908e.jpg","text":"TemporaryFile(/tmp/multipartBody1329231993154769591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263764009,"filename":"image_01012026_09_41_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/770cf914fb28330bf74d6c5a37a3214e.jpg","text":"TemporaryFile(/tmp/multipartBody6481799697165772651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263764009,"filename":"image_01012026_09_42_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/176b1e1699f5c97d6285bdd3d1906f7c.jpg","text":"TemporaryFile(/tmp/multipartBody8219912482195018262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263764009,"filename":"image_01012026_09_42_05_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402013993","file1":"1402013992","file0":"1402013991","file4":"1402013996","file5":"1402013998","file3":"1402013995"},"map_files_photo_id_array":[{"photo_id":"1402013998","filename":"file5"},{"photo_id":"1402013993","filename":"file2"},{"photo_id":"1402013996","filename":"file4"},{"photo_id":"1402013992","filename":"file1"},{"photo_id":"1402013991","filename":"file0"},{"photo_id":"1402013995","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402013992":["hashtag1","hashtag2"]},{"1402013995":["hashtag1","hashtag2"]},{"1402013998":["hashtag1","hashtag2"]},{"1402013991":["hashtag1","hashtag2"]},{"1402013996":["hashtag1","hashtag2"]},{"1402013993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402013992, 1402013995, 1402013998, 1402013991, 1402013996, 1402013993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.2822847366333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:35:42.764796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_28_9471.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_30_1904.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_32_1553.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_37_5519.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_49_11556.jpg', '/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_58_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_28_9471.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_30_1904.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_32_1553.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_37_5519.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_49_11556.jpg
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_16_58_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014017","1402014019","1402014016","1402014004","1402014018","1402014020"],"photo_ids_order":["1402014004","1402014016","1402014017","1402014018","1402014019","1402014020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d59bb23c1a7ea0dac04c4d79c9f7a784.jpg","text":"TemporaryFile(/tmp/multipartBody5473024032546632919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263804653,"filename":"image_04112025_16_16_32_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bca0e4f681467e08dbef433d7b359333.jpg","text":"TemporaryFile(/tmp/multipartBody2611456915850929895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263804653,"filename":"image_04112025_16_16_49_11556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0ec2e4b03d50c7e94091bfc44bc0676.jpg","text":"TemporaryFile(/tmp/multipartBody8274085381032386650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263804653,"filename":"image_04112025_16_16_30_1904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fb7ed1d9acd30e10c8bc3c660a48698.jpg","text":"TemporaryFile(/tmp/multipartBody9167485966744557998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263804653,"filename":"image_04112025_16_16_28_9471.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd4ae2d4c82e0aae567877f18bbbaa34.jpg","text":"TemporaryFile(/tmp/multipartBody6456173696481522769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263804653,"filename":"image_04112025_16_16_37_5519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66c4477225ee46e72b576a3d1c6d3a37.jpg","text":"TemporaryFile(/tmp/multipartBody1488549987758542112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263804653,"filename":"image_04112025_16_16_58_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014017","file1":"1402014016","file0":"1402014004","file4":"1402014019","file5":"1402014020","file3":"1402014018"},"map_files_photo_id_array":[{"photo_id":"1402014020","filename":"file5"},{"photo_id":"1402014017","filename":"file2"},{"photo_id":"1402014019","filename":"file4"},{"photo_id":"1402014016","filename":"file1"},{"photo_id":"1402014004","filename":"file0"},{"photo_id":"1402014018","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014017":["hashtag1","hashtag2"]},{"1402014019":["hashtag1","hashtag2"]},{"1402014016":["hashtag1","hashtag2"]},{"1402014004":["hashtag1","hashtag2"]},{"1402014018":["hashtag1","hashtag2"]},{"1402014020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014017, 1402014019, 1402014016, 1402014004, 1402014018, 1402014020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20177483558655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:36:21.913919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_45_9686.jpg', '/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_56_10649.jpg', '/home/pi/Desktop/images/01012026/09/42/image_01012026_09_43_05_9601.jpg', '/home/pi/Desktop/images/01012026/09/43/image_01012026_09_43_15_9818.jpg', '/home/pi/Desktop/images/01012026/09/43/image_01012026_09_43_25_9615.jpg', '/home/pi/Desktop/images/01012026/09/43/image_01012026_09_43_45_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_45_9686.jpg
/home/pi/Desktop/images/01012026/09/42/image_01012026_09_42_56_10649.jpg
/home/pi/Desktop/images/01012026/09/42/image_01012026_09_43_05_9601.jpg
/home/pi/Desktop/images/01012026/09/43/image_01012026_09_43_15_9818.jpg
/home/pi/Desktop/images/01012026/09/43/image_01012026_09_43_25_9615.jpg
/home/pi/Desktop/images/01012026/09/43/image_01012026_09_43_45_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014031","1402014025","1402014022","1402014033","1402014027","1402014029"],"photo_ids_order":["1402014022","1402014025","1402014027","1402014029","1402014031","1402014033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee21a02437415eb915fd148787b8eacf.jpg","text":"TemporaryFile(/tmp/multipartBody2139250758807352321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263842524,"filename":"image_01012026_09_43_25_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c8fc345c871f348dabad94426a26b03.jpg","text":"TemporaryFile(/tmp/multipartBody8229609560022389355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263842524,"filename":"image_01012026_09_42_56_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b408128bda0092dd68d835e0b38c8224.jpg","text":"TemporaryFile(/tmp/multipartBody4535414267015843936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263842524,"filename":"image_01012026_09_42_45_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1f80fa93bde685d6d6e6ba6815c05a7.jpg","text":"TemporaryFile(/tmp/multipartBody6340540463868386568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263842524,"filename":"image_01012026_09_43_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11b8356a4b6e85b4e099474f2b4b7a32.jpg","text":"TemporaryFile(/tmp/multipartBody2089234803204225662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263842524,"filename":"image_01012026_09_43_05_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ecc8609f254e042bf9883b8f54c7981.jpg","text":"TemporaryFile(/tmp/multipartBody1992193343132517805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263842524,"filename":"image_01012026_09_43_15_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014027","file1":"1402014025","file0":"1402014022","file4":"1402014031","file5":"1402014033","file3":"1402014029"},"map_files_photo_id_array":[{"photo_id":"1402014033","filename":"file5"},{"photo_id":"1402014027","filename":"file2"},{"photo_id":"1402014031","filename":"file4"},{"photo_id":"1402014025","filename":"file1"},{"photo_id":"1402014022","filename":"file0"},{"photo_id":"1402014029","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014031":["hashtag1","hashtag2"]},{"1402014025":["hashtag1","hashtag2"]},{"1402014022":["hashtag1","hashtag2"]},{"1402014033":["hashtag1","hashtag2"]},{"1402014027":["hashtag1","hashtag2"]},{"1402014029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014031, 1402014025, 1402014022, 1402014033, 1402014027, 1402014029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.506640672683716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:37:02.652179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/43/image_01012026_09_43_55_9821.jpg', '/home/pi/Desktop/images/01012026/09/43/image_01012026_09_44_05_10663.jpg', '/home/pi/Desktop/images/01012026/09/44/image_01012026_09_44_15_9619.jpg', '/home/pi/Desktop/images/01012026/09/44/image_01012026_09_44_35_10650.jpg', '/home/pi/Desktop/images/01012026/09/44/image_01012026_09_44_45_9525.jpg', '/home/pi/Desktop/images/01012026/09/44/image_01012026_09_44_55_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/43/image_01012026_09_43_55_9821.jpg
/home/pi/Desktop/images/01012026/09/43/image_01012026_09_44_05_10663.jpg
/home/pi/Desktop/images/01012026/09/44/image_01012026_09_44_15_9619.jpg
/home/pi/Desktop/images/01012026/09/44/image_01012026_09_44_35_10650.jpg
/home/pi/Desktop/images/01012026/09/44/image_01012026_09_44_45_9525.jpg
/home/pi/Desktop/images/01012026/09/44/image_01012026_09_44_55_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014038","1402014037","1402014040","1402014034","1402014036","1402014035"],"photo_ids_order":["1402014034","1402014035","1402014036","1402014037","1402014038","1402014040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ada96d490f4a3acce77ef1f382ac1835.jpg","text":"TemporaryFile(/tmp/multipartBody8125226985026502601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263883314,"filename":"image_01012026_09_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/2026/1/1/b3cd91e629c59af34144b82a2f1a2c19.jpg","text":"TemporaryFile(/tmp/multipartBody5539700040092226068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263883314,"filename":"image_01012026_09_44_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/909b7f1afff1edc8472d35b278101ef3.jpg","text":"TemporaryFile(/tmp/multipartBody8910985710390796575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263883314,"filename":"image_01012026_09_44_55_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93d90ff5f1e2963ff8abc353c3ae1697.jpg","text":"TemporaryFile(/tmp/multipartBody2696571624024709845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263883314,"filename":"image_01012026_09_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/2026/1/1/d7410f99577f886f197f563b2cb514da.jpg","text":"TemporaryFile(/tmp/multipartBody7132136376075396572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263883314,"filename":"image_01012026_09_44_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fac1dd98aa5690ef81de7f45cdb19f7.jpg","text":"TemporaryFile(/tmp/multipartBody4665555697690100790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263883314,"filename":"image_01012026_09_44_05_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014036","file1":"1402014035","file0":"1402014034","file4":"1402014038","file5":"1402014040","file3":"1402014037"},"map_files_photo_id_array":[{"photo_id":"1402014040","filename":"file5"},{"photo_id":"1402014036","filename":"file2"},{"photo_id":"1402014038","filename":"file4"},{"photo_id":"1402014035","filename":"file1"},{"photo_id":"1402014034","filename":"file0"},{"photo_id":"1402014037","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014038":["hashtag1","hashtag2"]},{"1402014037":["hashtag1","hashtag2"]},{"1402014040":["hashtag1","hashtag2"]},{"1402014034":["hashtag1","hashtag2"]},{"1402014036":["hashtag1","hashtag2"]},{"1402014035":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014038, 1402014037, 1402014040, 1402014034, 1402014036, 1402014035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.235827684402466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:37:42.170786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/16/image_04112025_16_17_00_1653.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_02_1767.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_03_1819.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_05_1518.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_07_1635.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_08_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/16/image_04112025_16_17_00_1653.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_02_1767.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_03_1819.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_05_1518.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_07_1635.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_08_1615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014044","1402014046","1402014049","1402014048","1402014050","1402014047"],"photo_ids_order":["1402014044","1402014046","1402014047","1402014048","1402014049","1402014050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ade6fcc5ae110da6a11a2560b3294053.jpg","text":"TemporaryFile(/tmp/multipartBody7666088891960110871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263924065,"filename":"image_04112025_16_17_00_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f88ef6d7b0c27e54e3a7aa9a01e7a1e.jpg","text":"TemporaryFile(/tmp/multipartBody411491066018537464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263924065,"filename":"image_04112025_16_17_02_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a63fe526d547693c4ba632fb01c779e0.jpg","text":"TemporaryFile(/tmp/multipartBody2154599128160190368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263924065,"filename":"image_04112025_16_17_07_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb0bd2c555b404fd346d43be99112ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2631501155531145734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263924065,"filename":"image_04112025_16_17_05_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ecbdc255970fe52693e5a5926696519.jpg","text":"TemporaryFile(/tmp/multipartBody7840425529018667391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263924065,"filename":"image_04112025_16_17_08_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa61ceb37d805b01887d39c95ab42ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2952922562236093353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263924065,"filename":"image_04112025_16_17_03_1819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014047","file1":"1402014046","file0":"1402014044","file4":"1402014049","file5":"1402014050","file3":"1402014048"},"map_files_photo_id_array":[{"photo_id":"1402014050","filename":"file5"},{"photo_id":"1402014047","filename":"file2"},{"photo_id":"1402014049","filename":"file4"},{"photo_id":"1402014046","filename":"file1"},{"photo_id":"1402014044","filename":"file0"},{"photo_id":"1402014048","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014044":["hashtag1","hashtag2"]},{"1402014046":["hashtag1","hashtag2"]},{"1402014049":["hashtag1","hashtag2"]},{"1402014048":["hashtag1","hashtag2"]},{"1402014050":["hashtag1","hashtag2"]},{"1402014047":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014044, 1402014046, 1402014049, 1402014048, 1402014050, 1402014047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29356932640076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:38:22.333075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/44/image_01012026_09_45_05_9597.jpg', '/home/pi/Desktop/images/01012026/09/45/image_01012026_09_45_25_10748.jpg', '/home/pi/Desktop/images/01012026/09/45/image_01012026_09_45_35_9610.jpg', '/home/pi/Desktop/images/01012026/09/45/image_01012026_09_45_45_9707.jpg', '/home/pi/Desktop/images/01012026/09/45/image_01012026_09_45_55_10661.jpg', '/home/pi/Desktop/images/01012026/09/45/image_01012026_09_46_05_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/44/image_01012026_09_45_05_9597.jpg
/home/pi/Desktop/images/01012026/09/45/image_01012026_09_45_25_10748.jpg
/home/pi/Desktop/images/01012026/09/45/image_01012026_09_45_35_9610.jpg
/home/pi/Desktop/images/01012026/09/45/image_01012026_09_45_45_9707.jpg
/home/pi/Desktop/images/01012026/09/45/image_01012026_09_45_55_10661.jpg
/home/pi/Desktop/images/01012026/09/45/image_01012026_09_46_05_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014055","1402014070","1402014058","1402014051","1402014053","1402014056"],"photo_ids_order":["1402014051","1402014053","1402014055","1402014056","1402014058","1402014070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26d64ed40841cc51a701b63a99ab8f16.jpg","text":"TemporaryFile(/tmp/multipartBody6169589922149028702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263962943,"filename":"image_01012026_09_45_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89c1e2521153a7d1eb63dff6bc7e0185.jpg","text":"TemporaryFile(/tmp/multipartBody1081274501597717602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263962943,"filename":"image_01012026_09_46_05_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/536ed5855b5a78f28f24b43d4698171a.jpg","text":"TemporaryFile(/tmp/multipartBody2961761677561627461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263962943,"filename":"image_01012026_09_45_55_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/483b980fd39b036345ae80701649ba6c.jpg","text":"TemporaryFile(/tmp/multipartBody5734826005514476234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263962943,"filename":"image_01012026_09_45_05_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5f1ba41e17059e91fdd08f2c6840242.jpg","text":"TemporaryFile(/tmp/multipartBody5359337845853789610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263962943,"filename":"image_01012026_09_45_25_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b56edd0357987de1acee363fc6991b9d.jpg","text":"TemporaryFile(/tmp/multipartBody496171333874900734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767263962943,"filename":"image_01012026_09_45_45_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014055","file1":"1402014053","file0":"1402014051","file4":"1402014058","file5":"1402014070","file3":"1402014056"},"map_files_photo_id_array":[{"photo_id":"1402014070","filename":"file5"},{"photo_id":"1402014055","filename":"file2"},{"photo_id":"1402014058","filename":"file4"},{"photo_id":"1402014053","filename":"file1"},{"photo_id":"1402014051","filename":"file0"},{"photo_id":"1402014056","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014055":["hashtag1","hashtag2"]},{"1402014070":["hashtag1","hashtag2"]},{"1402014058":["hashtag1","hashtag2"]},{"1402014051":["hashtag1","hashtag2"]},{"1402014053":["hashtag1","hashtag2"]},{"1402014056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014055, 1402014070, 1402014058, 1402014051, 1402014053, 1402014056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92632031440735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:39:03.258329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_15_9610.jpg', '/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_25_10721.jpg', '/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_35_9609.jpg', '/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_45_9667.jpg', '/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_55_10691.jpg', '/home/pi/Desktop/images/01012026/09/46/image_01012026_09_47_05_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_15_9610.jpg
/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_25_10721.jpg
/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_35_9609.jpg
/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_45_9667.jpg
/home/pi/Desktop/images/01012026/09/46/image_01012026_09_46_55_10691.jpg
/home/pi/Desktop/images/01012026/09/46/image_01012026_09_47_05_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014079","1402014081","1402014078","1402014083","1402014077","1402014080"],"photo_ids_order":["1402014077","1402014078","1402014079","1402014080","1402014081","1402014083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8eab9ca7ff6c510908f2a5295f491aa3.jpg","text":"TemporaryFile(/tmp/multipartBody3508093970734441925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264003958,"filename":"image_01012026_09_46_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/106f4f8f403ecfe9bbfd5133c7bb2819.jpg","text":"TemporaryFile(/tmp/multipartBody5819888998126529623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264003958,"filename":"image_01012026_09_46_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6afddaa244411e9b332eb56e015390fc.jpg","text":"TemporaryFile(/tmp/multipartBody4828411780879269961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264003958,"filename":"image_01012026_09_46_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22fa1fa518cb212541b21684a7e2006e.jpg","text":"TemporaryFile(/tmp/multipartBody5543774803051596856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264003958,"filename":"image_01012026_09_47_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/448ecf1f6c7139a556900e888fe4a276.jpg","text":"TemporaryFile(/tmp/multipartBody8609944539142205229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264003958,"filename":"image_01012026_09_46_15_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e358c0d5a0b7ea85ee678f5653180918.jpg","text":"TemporaryFile(/tmp/multipartBody8626600308106998568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264003958,"filename":"image_01012026_09_46_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014079","file1":"1402014078","file0":"1402014077","file4":"1402014081","file5":"1402014083","file3":"1402014080"},"map_files_photo_id_array":[{"photo_id":"1402014083","filename":"file5"},{"photo_id":"1402014079","filename":"file2"},{"photo_id":"1402014081","filename":"file4"},{"photo_id":"1402014078","filename":"file1"},{"photo_id":"1402014077","filename":"file0"},{"photo_id":"1402014080","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014079":["hashtag1","hashtag2"]},{"1402014081":["hashtag1","hashtag2"]},{"1402014078":["hashtag1","hashtag2"]},{"1402014083":["hashtag1","hashtag2"]},{"1402014077":["hashtag1","hashtag2"]},{"1402014080":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014079, 1402014081, 1402014078, 1402014083, 1402014077, 1402014080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88751935958862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:39:42.496832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_10_1671.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_11_1615.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_15_1655.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_19_2981.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_25_2610.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_28_2515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_10_1671.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_11_1615.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_15_1655.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_19_2981.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_25_2610.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_28_2515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014091","1402014088","1402014090","1402014093","1402014095","1402014092"],"photo_ids_order":["1402014088","1402014090","1402014091","1402014092","1402014093","1402014095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c56d6dde3cb8f91231e8568ef5783fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7881245476899707929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264044351,"filename":"image_04112025_16_17_15_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aeb907687ba586792f67a2f1a506d60b.jpg","text":"TemporaryFile(/tmp/multipartBody8397041209719794991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264044351,"filename":"image_04112025_16_17_10_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a968a8b140d8182c9e398a1189d6fdbe.jpg","text":"TemporaryFile(/tmp/multipartBody4906194312350484965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264044351,"filename":"image_04112025_16_17_11_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cabbf13300f8f871b35f5f810ad8ded.jpg","text":"TemporaryFile(/tmp/multipartBody3217396730411845849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264044351,"filename":"image_04112025_16_17_25_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4f35bc3f2dd4f670429b2beb1e005ef.jpg","text":"TemporaryFile(/tmp/multipartBody6675189341509355758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264044351,"filename":"image_04112025_16_17_28_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1066b4a38e7a042bfb53f9e1bf02afa2.jpg","text":"TemporaryFile(/tmp/multipartBody3280516669425292213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264044351,"filename":"image_04112025_16_17_19_2981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014091","file1":"1402014090","file0":"1402014088","file4":"1402014093","file5":"1402014095","file3":"1402014092"},"map_files_photo_id_array":[{"photo_id":"1402014095","filename":"file5"},{"photo_id":"1402014091","filename":"file2"},{"photo_id":"1402014093","filename":"file4"},{"photo_id":"1402014090","filename":"file1"},{"photo_id":"1402014088","filename":"file0"},{"photo_id":"1402014092","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014091":["hashtag1","hashtag2"]},{"1402014088":["hashtag1","hashtag2"]},{"1402014090":["hashtag1","hashtag2"]},{"1402014093":["hashtag1","hashtag2"]},{"1402014095":["hashtag1","hashtag2"]},{"1402014092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014091, 1402014088, 1402014090, 1402014093, 1402014095, 1402014092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69279432296753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:40:22.693912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/47/image_01012026_09_47_15_9628.jpg', '/home/pi/Desktop/images/01012026/09/47/image_01012026_09_47_25_10616.jpg', '/home/pi/Desktop/images/01012026/09/47/image_01012026_09_47_35_9789.jpg', '/home/pi/Desktop/images/01012026/09/47/image_01012026_09_48_05_9710.jpg', '/home/pi/Desktop/images/01012026/09/48/image_01012026_09_48_15_9641.jpg', '/home/pi/Desktop/images/01012026/09/48/image_01012026_09_48_35_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/47/image_01012026_09_47_15_9628.jpg
/home/pi/Desktop/images/01012026/09/47/image_01012026_09_47_25_10616.jpg
/home/pi/Desktop/images/01012026/09/47/image_01012026_09_47_35_9789.jpg
/home/pi/Desktop/images/01012026/09/47/image_01012026_09_48_05_9710.jpg
/home/pi/Desktop/images/01012026/09/48/image_01012026_09_48_15_9641.jpg
/home/pi/Desktop/images/01012026/09/48/image_01012026_09_48_35_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":["1402014104","1402014107","1402014106","1402014100","1402014102","1402014098"],"photo_ids_order":["1402014098","1402014100","1402014102","1402014104","1402014106","1402014107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98e4967d8a0658198077bfcd6118b5d0.jpg","text":"TemporaryFile(/tmp/multipartBody7407504043475984864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264083297,"filename":"image_01012026_09_48_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f9c66d4a822e9c3e36baf5c903030da.jpg","text":"TemporaryFile(/tmp/multipartBody1266513328114433979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264083297,"filename":"image_01012026_09_48_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2bf9a77845b739500fc1b7c5d2b2b8a.jpg","text":"TemporaryFile(/tmp/multipartBody2210420983729469160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264083297,"filename":"image_01012026_09_48_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2f858766b077b40fd57e6215b77c754.jpg","text":"TemporaryFile(/tmp/multipartBody3989275459352069117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264083297,"filename":"image_01012026_09_47_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe76011eebe12533a5bbb4cebc5b570b.jpg","text":"TemporaryFile(/tmp/multipartBody5507484865941007148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264083297,"filename":"image_01012026_09_47_35_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b11d6afcbb86d4164e29ce73e49f3162.jpg","text":"TemporaryFile(/tmp/multipartBody4761696692956100567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264083297,"filename":"image_01012026_09_47_15_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014102","file1":"1402014100","file0":"1402014098","file4":"1402014106","file5":"1402014107","file3":"1402014104"},"map_files_photo_id_array":[{"photo_id":"1402014107","filename":"file5"},{"photo_id":"1402014102","filename":"file2"},{"photo_id":"1402014106","filename":"file4"},{"photo_id":"1402014100","filename":"file1"},{"photo_id":"1402014098","filename":"file0"},{"photo_id":"1402014104","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014104":["hashtag1","hashtag2"]},{"1402014107":["hashtag1","hashtag2"]},{"1402014106":["hashtag1","hashtag2"]},{"1402014100":["hashtag1","hashtag2"]},{"1402014102":["hashtag1","hashtag2"]},{"1402014098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014104, 1402014107, 1402014106, 1402014100, 1402014102, 1402014098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6114559173584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:41:03.499601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/48/image_01012026_09_48_45_9622.jpg', '/home/pi/Desktop/images/01012026/09/48/image_01012026_09_48_55_10695.jpg', '/home/pi/Desktop/images/01012026/09/48/image_01012026_09_49_05_9714.jpg', '/home/pi/Desktop/images/01012026/09/49/image_01012026_09_49_15_9612.jpg', '/home/pi/Desktop/images/01012026/09/49/image_01012026_09_49_35_9618.jpg', '/home/pi/Desktop/images/01012026/09/49/image_01012026_09_49_45_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/48/image_01012026_09_48_45_9622.jpg
/home/pi/Desktop/images/01012026/09/48/image_01012026_09_48_55_10695.jpg
/home/pi/Desktop/images/01012026/09/48/image_01012026_09_49_05_9714.jpg
/home/pi/Desktop/images/01012026/09/49/image_01012026_09_49_15_9612.jpg
/home/pi/Desktop/images/01012026/09/49/image_01012026_09_49_35_9618.jpg
/home/pi/Desktop/images/01012026/09/49/image_01012026_09_49_45_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":["1402014110","1402014115","1402014109","1402014111","1402014108","1402014113"],"photo_ids_order":["1402014108","1402014109","1402014110","1402014111","1402014113","1402014115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6da47de05994fe85058eb72bc7b7c4b.jpg","text":"TemporaryFile(/tmp/multipartBody3357314025852755910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264124161,"filename":"image_01012026_09_49_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2000e5a13b3b7c4d846091d41fbfbdd0.jpg","text":"TemporaryFile(/tmp/multipartBody8409952953611050038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264124161,"filename":"image_01012026_09_49_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d15bb03ea5f14ff16178a1570991012b.jpg","text":"TemporaryFile(/tmp/multipartBody8039425176958804736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264124161,"filename":"image_01012026_09_48_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5ecf098ab7b694814acadadf4a1ecb7.jpg","text":"TemporaryFile(/tmp/multipartBody6329428449838846748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264124161,"filename":"image_01012026_09_49_15_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc5bc5f6896b975d46ffa7887907c942.jpg","text":"TemporaryFile(/tmp/multipartBody4116890121068188619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264124161,"filename":"image_01012026_09_48_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e066c560ea2b3b15ab14cf538006aff.jpg","text":"TemporaryFile(/tmp/multipartBody9092308166657227414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264124161,"filename":"image_01012026_09_49_35_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014110","file1":"1402014109","file0":"1402014108","file4":"1402014113","file5":"1402014115","file3":"1402014111"},"map_files_photo_id_array":[{"photo_id":"1402014115","filename":"file5"},{"photo_id":"1402014110","filename":"file2"},{"photo_id":"1402014113","filename":"file4"},{"photo_id":"1402014109","filename":"file1"},{"photo_id":"1402014108","filename":"file0"},{"photo_id":"1402014111","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014110":["hashtag1","hashtag2"]},{"1402014115":["hashtag1","hashtag2"]},{"1402014109":["hashtag1","hashtag2"]},{"1402014111":["hashtag1","hashtag2"]},{"1402014108":["hashtag1","hashtag2"]},{"1402014113":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014110, 1402014115, 1402014109, 1402014111, 1402014108, 1402014113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.549999475479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:41:42.865113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_32_3778.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_58_23956.jpg', '/home/pi/Desktop/images/04112025/16/17/image_04112025_16_18_00_1726.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_19_18772.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_25_5856.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_26_1624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_32_3778.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_17_58_23956.jpg
/home/pi/Desktop/images/04112025/16/17/image_04112025_16_18_00_1726.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_19_18772.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_25_5856.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_26_1624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014137","1402014136","1402014133","1402014135","1402014120","1402014134"],"photo_ids_order":["1402014120","1402014133","1402014134","1402014135","1402014136","1402014137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a32aa90f64731541bbc16a64dc9280a4.jpg","text":"TemporaryFile(/tmp/multipartBody1250673722293083984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264164746,"filename":"image_04112025_16_18_26_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfcd6e62eb4e7228ae3dec48a13c18f8.jpg","text":"TemporaryFile(/tmp/multipartBody2570982202862827663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264164746,"filename":"image_04112025_16_18_25_5856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/202f67cbeb155cb9e4d60ffd55647869.jpg","text":"TemporaryFile(/tmp/multipartBody3218328920138504048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264164746,"filename":"image_04112025_16_17_58_23956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f3428193567b0160d77e36c0793652f.jpg","text":"TemporaryFile(/tmp/multipartBody5313875187480193607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264164746,"filename":"image_04112025_16_18_19_18772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/852c359a1506bdd1d78b89c0e4c6eeb7.jpg","text":"TemporaryFile(/tmp/multipartBody1297110904176869706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264164746,"filename":"image_04112025_16_17_32_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73ba04f371c5137e46dc22f6754e070c.jpg","text":"TemporaryFile(/tmp/multipartBody4051127799538861834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264164746,"filename":"image_04112025_16_18_00_1726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014134","file1":"1402014133","file0":"1402014120","file4":"1402014136","file5":"1402014137","file3":"1402014135"},"map_files_photo_id_array":[{"photo_id":"1402014137","filename":"file5"},{"photo_id":"1402014134","filename":"file2"},{"photo_id":"1402014136","filename":"file4"},{"photo_id":"1402014133","filename":"file1"},{"photo_id":"1402014120","filename":"file0"},{"photo_id":"1402014135","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014137":["hashtag1","hashtag2"]},{"1402014136":["hashtag1","hashtag2"]},{"1402014133":["hashtag1","hashtag2"]},{"1402014135":["hashtag1","hashtag2"]},{"1402014120":["hashtag1","hashtag2"]},{"1402014134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014137, 1402014136, 1402014133, 1402014135, 1402014120, 1402014134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.518738746643066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:42:22.161405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/50/image_01012026_09_50_15_10585.jpg', '/home/pi/Desktop/images/01012026/09/50/image_01012026_09_50_35_9597.jpg', '/home/pi/Desktop/images/01012026/09/50/image_01012026_09_50_55_9590.jpg', '/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_15_10744.jpg', '/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_25_9606.jpg', '/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_35_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/50/image_01012026_09_50_15_10585.jpg
/home/pi/Desktop/images/01012026/09/50/image_01012026_09_50_35_9597.jpg
/home/pi/Desktop/images/01012026/09/50/image_01012026_09_50_55_9590.jpg
/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_15_10744.jpg
/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_25_9606.jpg
/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_35_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":["1402014142","1402014139","1402014148","1402014144","1402014146","1402014140"],"photo_ids_order":["1402014139","1402014140","1402014142","1402014144","1402014146","1402014148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6112fb69125fe9729a509f6d0b7451c9.jpg","text":"TemporaryFile(/tmp/multipartBody9077993607146789650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264202764,"filename":"image_01012026_09_50_55_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5acb527a200db18620a6a0fd37465ec.jpg","text":"TemporaryFile(/tmp/multipartBody1268729701080358750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264202764,"filename":"image_01012026_09_50_15_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b6dd2c2b4b79f956880fb138d4a040f.jpg","text":"TemporaryFile(/tmp/multipartBody2779297608391818674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264202764,"filename":"image_01012026_09_51_35_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3efbe1c270a90b035ceda6ce74dec248.jpg","text":"TemporaryFile(/tmp/multipartBody7369335207830422926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264202764,"filename":"image_01012026_09_51_15_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/112565ca67d9b931165c79e0da735e35.jpg","text":"TemporaryFile(/tmp/multipartBody5907637742504332828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264202764,"filename":"image_01012026_09_51_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b766ec5ba0c7c19765e586d336dad363.jpg","text":"TemporaryFile(/tmp/multipartBody2440221078591245348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264202764,"filename":"image_01012026_09_50_35_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014142","file1":"1402014140","file0":"1402014139","file4":"1402014146","file5":"1402014148","file3":"1402014144"},"map_files_photo_id_array":[{"photo_id":"1402014148","filename":"file5"},{"photo_id":"1402014142","filename":"file2"},{"photo_id":"1402014146","filename":"file4"},{"photo_id":"1402014140","filename":"file1"},{"photo_id":"1402014139","filename":"file0"},{"photo_id":"1402014144","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014142":["hashtag1","hashtag2"]},{"1402014139":["hashtag1","hashtag2"]},{"1402014148":["hashtag1","hashtag2"]},{"1402014144":["hashtag1","hashtag2"]},{"1402014146":["hashtag1","hashtag2"]},{"1402014140":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014142, 1402014139, 1402014148, 1402014144, 1402014146, 1402014140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.38356685638428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:43:02.985736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_45_10626.jpg', '/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_55_9753.jpg', '/home/pi/Desktop/images/01012026/09/51/image_01012026_09_52_05_9741.jpg', '/home/pi/Desktop/images/01012026/09/52/image_01012026_09_52_15_10586.jpg', '/home/pi/Desktop/images/01012026/09/52/image_01012026_09_52_25_9656.jpg', '/home/pi/Desktop/images/01012026/09/52/image_01012026_09_52_35_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_45_10626.jpg
/home/pi/Desktop/images/01012026/09/51/image_01012026_09_51_55_9753.jpg
/home/pi/Desktop/images/01012026/09/51/image_01012026_09_52_05_9741.jpg
/home/pi/Desktop/images/01012026/09/52/image_01012026_09_52_15_10586.jpg
/home/pi/Desktop/images/01012026/09/52/image_01012026_09_52_25_9656.jpg
/home/pi/Desktop/images/01012026/09/52/image_01012026_09_52_35_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014151","1402014153","1402014150","1402014152","1402014155","1402014149"],"photo_ids_order":["1402014149","1402014150","1402014151","1402014152","1402014153","1402014155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64de92b7722cd19c578132b5da463a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2834780196514080206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264243646,"filename":"image_01012026_09_52_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0cd5670e2fba257d227813cacf09e22.jpg","text":"TemporaryFile(/tmp/multipartBody3362049414616421319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264243646,"filename":"image_01012026_09_52_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cb7c15b03d402be56df272ab9bcf9e0.jpg","text":"TemporaryFile(/tmp/multipartBody3092878652091446836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264243646,"filename":"image_01012026_09_51_55_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff2c7fef221c8e8f9fe9f4afb017acdb.jpg","text":"TemporaryFile(/tmp/multipartBody7549818020841713346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264243646,"filename":"image_01012026_09_52_15_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7cda6076655d6f13189771ad7ee95eb.jpg","text":"TemporaryFile(/tmp/multipartBody4538511803694946888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264243646,"filename":"image_01012026_09_52_35_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39b2b87675e5ee0428da5e6404635568.jpg","text":"TemporaryFile(/tmp/multipartBody1043995564477278760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264243646,"filename":"image_01012026_09_51_45_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014151","file1":"1402014150","file0":"1402014149","file4":"1402014153","file5":"1402014155","file3":"1402014152"},"map_files_photo_id_array":[{"photo_id":"1402014155","filename":"file5"},{"photo_id":"1402014151","filename":"file2"},{"photo_id":"1402014153","filename":"file4"},{"photo_id":"1402014150","filename":"file1"},{"photo_id":"1402014149","filename":"file0"},{"photo_id":"1402014152","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014151":["hashtag1","hashtag2"]},{"1402014153":["hashtag1","hashtag2"]},{"1402014150":["hashtag1","hashtag2"]},{"1402014152":["hashtag1","hashtag2"]},{"1402014155":["hashtag1","hashtag2"]},{"1402014149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014151, 1402014153, 1402014150, 1402014152, 1402014155, 1402014149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.00577735900879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:43:42.261757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_28_1465.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_30_1786.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_33_1530.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_35_1886.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_40_4408.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_46_1566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_28_1465.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_30_1786.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_33_1530.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_35_1886.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_40_4408.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_46_1566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014163","1402014166","1402014165","1402014161","1402014164","1402014167"],"photo_ids_order":["1402014161","1402014163","1402014164","1402014165","1402014166","1402014167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8eda594484fde0caead9f6164450ccf6.jpg","text":"TemporaryFile(/tmp/multipartBody462500232798104078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264284177,"filename":"image_04112025_16_18_30_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/690fe952ccf2ca7183345e50da512555.jpg","text":"TemporaryFile(/tmp/multipartBody1116391888946470946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264284177,"filename":"image_04112025_16_18_40_4408.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/922dc0b34fa635b66d0edb6910eb419c.jpg","text":"TemporaryFile(/tmp/multipartBody7644163758526795783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264284177,"filename":"image_04112025_16_18_35_1886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/205ad9ee7955020aca8c6939ffaacc19.jpg","text":"TemporaryFile(/tmp/multipartBody5921283702371639866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264284177,"filename":"image_04112025_16_18_28_1465.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1e6ed0573e8778790f2c8f52b9f01d6.jpg","text":"TemporaryFile(/tmp/multipartBody8725111527265741754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264284177,"filename":"image_04112025_16_18_33_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a23fe03d1d6502ddf8d03b1315754ea.jpg","text":"TemporaryFile(/tmp/multipartBody8175918675434434668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264284177,"filename":"image_04112025_16_18_46_1566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014164","file1":"1402014163","file0":"1402014161","file4":"1402014166","file5":"1402014167","file3":"1402014165"},"map_files_photo_id_array":[{"photo_id":"1402014167","filename":"file5"},{"photo_id":"1402014164","filename":"file2"},{"photo_id":"1402014166","filename":"file4"},{"photo_id":"1402014163","filename":"file1"},{"photo_id":"1402014161","filename":"file0"},{"photo_id":"1402014165","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014163":["hashtag1","hashtag2"]},{"1402014166":["hashtag1","hashtag2"]},{"1402014165":["hashtag1","hashtag2"]},{"1402014161":["hashtag1","hashtag2"]},{"1402014164":["hashtag1","hashtag2"]},{"1402014167":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014163, 1402014166, 1402014165, 1402014161, 1402014164, 1402014167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35127329826355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:44:22.486590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/52/image_01012026_09_52_45_10597.jpg', '/home/pi/Desktop/images/01012026/09/52/image_01012026_09_53_05_9744.jpg', '/home/pi/Desktop/images/01012026/09/53/image_01012026_09_53_15_10664.jpg', '/home/pi/Desktop/images/01012026/09/53/image_01012026_09_53_25_9676.jpg', '/home/pi/Desktop/images/01012026/09/53/image_01012026_09_53_35_9602.jpg', '/home/pi/Desktop/images/01012026/09/53/image_01012026_09_54_05_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/52/image_01012026_09_52_45_10597.jpg
/home/pi/Desktop/images/01012026/09/52/image_01012026_09_53_05_9744.jpg
/home/pi/Desktop/images/01012026/09/53/image_01012026_09_53_15_10664.jpg
/home/pi/Desktop/images/01012026/09/53/image_01012026_09_53_25_9676.jpg
/home/pi/Desktop/images/01012026/09/53/image_01012026_09_53_35_9602.jpg
/home/pi/Desktop/images/01012026/09/53/image_01012026_09_54_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":["1402014181","1402014175","1402014177","1402014179","1402014170","1402014173"],"photo_ids_order":["1402014170","1402014173","1402014175","1402014177","1402014179","1402014181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f725300c700c121027808a72e8a702eb.jpg","text":"TemporaryFile(/tmp/multipartBody7953803170868303147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264323086,"filename":"image_01012026_09_54_05_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d07b61ab47ec0a6e5ea891e52398730b.jpg","text":"TemporaryFile(/tmp/multipartBody4097974589923516597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264323086,"filename":"image_01012026_09_53_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/007cb42c5615f5b209d5f59af43e73f1.jpg","text":"TemporaryFile(/tmp/multipartBody7170690962672546376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264323086,"filename":"image_01012026_09_53_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32f7aaf5e5a314bbdc6e69b5b1e18bf3.jpg","text":"TemporaryFile(/tmp/multipartBody3130361881198781239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264323086,"filename":"image_01012026_09_53_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d98c87b1c74fff120504b9cafd7b760e.jpg","text":"TemporaryFile(/tmp/multipartBody3853982050166546750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264323086,"filename":"image_01012026_09_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/2026/1/1/e5aa6c31e5f616b356de102fd3d8bb25.jpg","text":"TemporaryFile(/tmp/multipartBody273034997549480872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264323086,"filename":"image_01012026_09_53_05_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014175","file1":"1402014173","file0":"1402014170","file4":"1402014179","file5":"1402014181","file3":"1402014177"},"map_files_photo_id_array":[{"photo_id":"1402014181","filename":"file5"},{"photo_id":"1402014175","filename":"file2"},{"photo_id":"1402014179","filename":"file4"},{"photo_id":"1402014173","filename":"file1"},{"photo_id":"1402014170","filename":"file0"},{"photo_id":"1402014177","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014181":["hashtag1","hashtag2"]},{"1402014175":["hashtag1","hashtag2"]},{"1402014177":["hashtag1","hashtag2"]},{"1402014179":["hashtag1","hashtag2"]},{"1402014170":["hashtag1","hashtag2"]},{"1402014173":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014181, 1402014175, 1402014177, 1402014179, 1402014170, 1402014173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76318001747131 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:45:03.382566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_15_10566.jpg', '/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_25_9655.jpg', '/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_35_9768.jpg', '/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_45_10643.jpg', '/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_55_9714.jpg', '/home/pi/Desktop/images/01012026/09/54/image_01012026_09_55_05_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_15_10566.jpg
/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_25_9655.jpg
/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_35_9768.jpg
/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_45_10643.jpg
/home/pi/Desktop/images/01012026/09/54/image_01012026_09_54_55_9714.jpg
/home/pi/Desktop/images/01012026/09/54/image_01012026_09_55_05_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":["1402014199","1402014196","1402014192","1402014195","1402014194","1402014197"],"photo_ids_order":["1402014192","1402014194","1402014195","1402014196","1402014197","1402014199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51d840a4f8fd48985eff566e2d380911.jpg","text":"TemporaryFile(/tmp/multipartBody6869077602961099829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264364093,"filename":"image_01012026_09_55_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c0c6da0cfad4fa426a9298054fef205.jpg","text":"TemporaryFile(/tmp/multipartBody3108626988422881544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264364093,"filename":"image_01012026_09_54_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6f4e8c7fe1737aa3dfb18523eb592ee.jpg","text":"TemporaryFile(/tmp/multipartBody2940294702970874550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264364093,"filename":"image_01012026_09_54_15_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ea6fd3610b57846c57e32d5764d16c4.jpg","text":"TemporaryFile(/tmp/multipartBody661745065884173244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264364093,"filename":"image_01012026_09_54_35_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b28fe99acc565276fb418fd1d49c57c.jpg","text":"TemporaryFile(/tmp/multipartBody4262496098528231815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264364093,"filename":"image_01012026_09_54_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df130891e6af1c49dd3ff61465ece134.jpg","text":"TemporaryFile(/tmp/multipartBody6496631292288364172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264364093,"filename":"image_01012026_09_54_55_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014195","file1":"1402014194","file0":"1402014192","file4":"1402014197","file5":"1402014199","file3":"1402014196"},"map_files_photo_id_array":[{"photo_id":"1402014199","filename":"file5"},{"photo_id":"1402014195","filename":"file2"},{"photo_id":"1402014197","filename":"file4"},{"photo_id":"1402014194","filename":"file1"},{"photo_id":"1402014192","filename":"file0"},{"photo_id":"1402014196","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014199":["hashtag1","hashtag2"]},{"1402014196":["hashtag1","hashtag2"]},{"1402014192":["hashtag1","hashtag2"]},{"1402014195":["hashtag1","hashtag2"]},{"1402014194":["hashtag1","hashtag2"]},{"1402014197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014199, 1402014196, 1402014192, 1402014195, 1402014194, 1402014197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28574538230896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:45:42.683693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_48_1557.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_55_7181.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_57_1612.jpg', '/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_58_1597.jpg', '/home/pi/Desktop/images/04112025/16/19/image_04112025_16_19_14_15316.jpg', '/home/pi/Desktop/images/04112025/16/19/image_04112025_16_19_40_26112.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_48_1557.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_55_7181.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_57_1612.jpg
/home/pi/Desktop/images/04112025/16/18/image_04112025_16_18_58_1597.jpg
/home/pi/Desktop/images/04112025/16/19/image_04112025_16_19_14_15316.jpg
/home/pi/Desktop/images/04112025/16/19/image_04112025_16_19_40_26112.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014209","1402014211","1402014205","1402014208","1402014210","1402014207"],"photo_ids_order":["1402014205","1402014207","1402014208","1402014209","1402014210","1402014211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6731e9b3cddc8d9701758ba8b337a54a.jpg","text":"TemporaryFile(/tmp/multipartBody7193714498935767156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264404573,"filename":"image_04112025_16_18_58_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d5c3ef295edd70131382857728f18dd.jpg","text":"TemporaryFile(/tmp/multipartBody3474685615230060360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264404573,"filename":"image_04112025_16_19_40_26112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/465372e45f393c876d487ad340d75286.jpg","text":"TemporaryFile(/tmp/multipartBody1542443221083460799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264404573,"filename":"image_04112025_16_18_48_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/009eceaa80178ece1f1d5ee3dbfc32bf.jpg","text":"TemporaryFile(/tmp/multipartBody3599584073890390401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264404573,"filename":"image_04112025_16_18_57_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0257cfd41b5199718c98bbf0a268c94.jpg","text":"TemporaryFile(/tmp/multipartBody1076769982202815597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264404573,"filename":"image_04112025_16_19_14_15316.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6aa97b82ccace04a4369df09a61b65e.jpg","text":"TemporaryFile(/tmp/multipartBody368661146013793050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264404573,"filename":"image_04112025_16_18_55_7181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014208","file1":"1402014207","file0":"1402014205","file4":"1402014210","file5":"1402014211","file3":"1402014209"},"map_files_photo_id_array":[{"photo_id":"1402014211","filename":"file5"},{"photo_id":"1402014208","filename":"file2"},{"photo_id":"1402014210","filename":"file4"},{"photo_id":"1402014207","filename":"file1"},{"photo_id":"1402014205","filename":"file0"},{"photo_id":"1402014209","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014209":["hashtag1","hashtag2"]},{"1402014211":["hashtag1","hashtag2"]},{"1402014205":["hashtag1","hashtag2"]},{"1402014208":["hashtag1","hashtag2"]},{"1402014210":["hashtag1","hashtag2"]},{"1402014207":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014209, 1402014211, 1402014205, 1402014208, 1402014210, 1402014207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14951992034912 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:46:21.862171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/55/image_01012026_09_55_15_10752.jpg', '/home/pi/Desktop/images/01012026/09/55/image_01012026_09_55_25_9661.jpg', '/home/pi/Desktop/images/01012026/09/55/image_01012026_09_55_35_9719.jpg', '/home/pi/Desktop/images/01012026/09/55/image_01012026_09_55_45_10565.jpg', '/home/pi/Desktop/images/01012026/09/55/image_01012026_09_56_05_9648.jpg', '/home/pi/Desktop/images/01012026/09/56/image_01012026_09_56_15_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/55/image_01012026_09_55_15_10752.jpg
/home/pi/Desktop/images/01012026/09/55/image_01012026_09_55_25_9661.jpg
/home/pi/Desktop/images/01012026/09/55/image_01012026_09_55_35_9719.jpg
/home/pi/Desktop/images/01012026/09/55/image_01012026_09_55_45_10565.jpg
/home/pi/Desktop/images/01012026/09/55/image_01012026_09_56_05_9648.jpg
/home/pi/Desktop/images/01012026/09/56/image_01012026_09_56_15_10760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014215","1402014217","1402014222","1402014219","1402014213","1402014212"],"photo_ids_order":["1402014212","1402014213","1402014215","1402014217","1402014219","1402014222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a11afede217e3f787e7cb081a111631.jpg","text":"TemporaryFile(/tmp/multipartBody3407175977140567662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264442458,"filename":"image_01012026_09_55_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d21c1cf92d0ea5809fa1ae87ee886d3.jpg","text":"TemporaryFile(/tmp/multipartBody1458639803059414640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264442458,"filename":"image_01012026_09_55_45_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fa4400fddc993997a173398dc978c35.jpg","text":"TemporaryFile(/tmp/multipartBody4837300404358794284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264442458,"filename":"image_01012026_09_56_15_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8927072715eb8735e6a5b69dfb948746.jpg","text":"TemporaryFile(/tmp/multipartBody2841856640207637866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264442458,"filename":"image_01012026_09_56_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ccc016b1cd7a412c93069a90dfa74f9.jpg","text":"TemporaryFile(/tmp/multipartBody1310139320425440322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264442458,"filename":"image_01012026_09_55_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cadb56219a13b5c44e66192d926af7a8.jpg","text":"TemporaryFile(/tmp/multipartBody2355896851035291313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264442458,"filename":"image_01012026_09_55_15_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014215","file1":"1402014213","file0":"1402014212","file4":"1402014219","file5":"1402014222","file3":"1402014217"},"map_files_photo_id_array":[{"photo_id":"1402014222","filename":"file5"},{"photo_id":"1402014215","filename":"file2"},{"photo_id":"1402014219","filename":"file4"},{"photo_id":"1402014213","filename":"file1"},{"photo_id":"1402014212","filename":"file0"},{"photo_id":"1402014217","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014215":["hashtag1","hashtag2"]},{"1402014217":["hashtag1","hashtag2"]},{"1402014222":["hashtag1","hashtag2"]},{"1402014219":["hashtag1","hashtag2"]},{"1402014213":["hashtag1","hashtag2"]},{"1402014212":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014215, 1402014217, 1402014222, 1402014219, 1402014213, 1402014212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68096590042114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:47:02.702229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/56/image_01012026_09_56_55_9610.jpg', '/home/pi/Desktop/images/01012026/09/57/image_01012026_09_57_35_10588.jpg', '/home/pi/Desktop/images/01012026/09/57/image_01012026_09_57_45_9942.jpg', '/home/pi/Desktop/images/01012026/09/58/image_01012026_09_58_25_9642.jpg', '/home/pi/Desktop/images/01012026/09/58/image_01012026_09_58_35_10550.jpg', '/home/pi/Desktop/images/01012026/09/58/image_01012026_09_58_45_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/56/image_01012026_09_56_55_9610.jpg
/home/pi/Desktop/images/01012026/09/57/image_01012026_09_57_35_10588.jpg
/home/pi/Desktop/images/01012026/09/57/image_01012026_09_57_45_9942.jpg
/home/pi/Desktop/images/01012026/09/58/image_01012026_09_58_25_9642.jpg
/home/pi/Desktop/images/01012026/09/58/image_01012026_09_58_35_10550.jpg
/home/pi/Desktop/images/01012026/09/58/image_01012026_09_58_45_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":["1402014232","1402014226","1402014229","1402014228","1402014230","1402014227"],"photo_ids_order":["1402014226","1402014227","1402014228","1402014229","1402014230","1402014232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37d21d3e62c83efb5f457f7645d74a7f.jpg","text":"TemporaryFile(/tmp/multipartBody4702440396708075125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264483452,"filename":"image_01012026_09_58_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04cfca9629ff9a515084ab9723dcd6d3.jpg","text":"TemporaryFile(/tmp/multipartBody780378177527081401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264483452,"filename":"image_01012026_09_56_55_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ff6d603d8449c174014a29a0310fc9b.jpg","text":"TemporaryFile(/tmp/multipartBody1441998425818620090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264483452,"filename":"image_01012026_09_58_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0410a51744c12926a48636fdefc5b160.jpg","text":"TemporaryFile(/tmp/multipartBody8952963274009940102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264483452,"filename":"image_01012026_09_57_45_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebfce2e52bfeb4c7d716180483c3e6ef.jpg","text":"TemporaryFile(/tmp/multipartBody4406695245280193709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264483452,"filename":"image_01012026_09_58_35_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5894e9d555047b8e915703d9ea8f0dd.jpg","text":"TemporaryFile(/tmp/multipartBody7659450007306467994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264483452,"filename":"image_01012026_09_57_35_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014228","file1":"1402014227","file0":"1402014226","file4":"1402014230","file5":"1402014232","file3":"1402014229"},"map_files_photo_id_array":[{"photo_id":"1402014232","filename":"file5"},{"photo_id":"1402014228","filename":"file2"},{"photo_id":"1402014230","filename":"file4"},{"photo_id":"1402014227","filename":"file1"},{"photo_id":"1402014226","filename":"file0"},{"photo_id":"1402014229","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014232":["hashtag1","hashtag2"]},{"1402014226":["hashtag1","hashtag2"]},{"1402014229":["hashtag1","hashtag2"]},{"1402014228":["hashtag1","hashtag2"]},{"1402014230":["hashtag1","hashtag2"]},{"1402014227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014232, 1402014226, 1402014229, 1402014228, 1402014230, 1402014227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38929724693298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:47:42.075954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/19/image_04112025_16_19_41_1607.jpg', '/home/pi/Desktop/images/04112025/16/19/image_04112025_16_19_45_1726.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_07_3011.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_11_3781.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_13_2723.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_16_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/19/image_04112025_16_19_41_1607.jpg
/home/pi/Desktop/images/04112025/16/19/image_04112025_16_19_45_1726.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_07_3011.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_11_3781.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_13_2723.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_16_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":["1402014236","1402014250","1402014247","1402014252","1402014249","1402014248"],"photo_ids_order":["1402014236","1402014247","1402014248","1402014249","1402014250","1402014252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/066b58cde4987882025f4e05fa812b8c.jpg","text":"TemporaryFile(/tmp/multipartBody4382215623197362477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264523962,"filename":"image_04112025_16_19_41_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ae60a508507edb35afedbb24944cf15.jpg","text":"TemporaryFile(/tmp/multipartBody7626818423888790539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264523962,"filename":"image_04112025_16_21_13_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77b73ff0ca089c178694ebc35c17d50c.jpg","text":"TemporaryFile(/tmp/multipartBody8615642606540114079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264523962,"filename":"image_04112025_16_19_45_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5764a2115657f5da41ac79503414c894.jpg","text":"TemporaryFile(/tmp/multipartBody3463152851260217618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264523962,"filename":"image_04112025_16_21_16_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/260ca2e3949b9bd0a913bfad484d97ca.jpg","text":"TemporaryFile(/tmp/multipartBody465462835859352508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264523962,"filename":"image_04112025_16_21_11_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cab7b3360eb9b045645aa6425a8d948.jpg","text":"TemporaryFile(/tmp/multipartBody6283619761703660902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264523962,"filename":"image_04112025_16_21_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014248","file1":"1402014247","file0":"1402014236","file4":"1402014250","file5":"1402014252","file3":"1402014249"},"map_files_photo_id_array":[{"photo_id":"1402014252","filename":"file5"},{"photo_id":"1402014248","filename":"file2"},{"photo_id":"1402014250","filename":"file4"},{"photo_id":"1402014247","filename":"file1"},{"photo_id":"1402014236","filename":"file0"},{"photo_id":"1402014249","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014236":["hashtag1","hashtag2"]},{"1402014250":["hashtag1","hashtag2"]},{"1402014247":["hashtag1","hashtag2"]},{"1402014252":["hashtag1","hashtag2"]},{"1402014249":["hashtag1","hashtag2"]},{"1402014248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014236, 1402014250, 1402014247, 1402014252, 1402014249, 1402014248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.653199672698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:48:22.227690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/09/58/image_01012026_09_59_05_9685.jpg', '/home/pi/Desktop/images/01012026/09/59/image_01012026_09_59_15_10662.jpg', '/home/pi/Desktop/images/01012026/09/59/image_01012026_09_59_25_9704.jpg', '/home/pi/Desktop/images/01012026/09/59/image_01012026_09_59_45_10629.jpg', '/home/pi/Desktop/images/01012026/09/59/image_01012026_09_59_55_9721.jpg', '/home/pi/Desktop/images/01012026/10/00/image_01012026_10_00_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/09/58/image_01012026_09_59_05_9685.jpg
/home/pi/Desktop/images/01012026/09/59/image_01012026_09_59_15_10662.jpg
/home/pi/Desktop/images/01012026/09/59/image_01012026_09_59_25_9704.jpg
/home/pi/Desktop/images/01012026/09/59/image_01012026_09_59_45_10629.jpg
/home/pi/Desktop/images/01012026/09/59/image_01012026_09_59_55_9721.jpg
/home/pi/Desktop/images/01012026/10/00/image_01012026_10_00_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":["1402014253","1402014259","1402014264","1402014261","1402014255","1402014257"],"photo_ids_order":["1402014253","1402014255","1402014257","1402014259","1402014261","1402014264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3bbd47ccc1b128d18478d4addada47a.jpg","text":"TemporaryFile(/tmp/multipartBody7054399544625650940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264562827,"filename":"image_01012026_09_59_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0c2abea6f57d6ae59ba80c36347ddf6.jpg","text":"TemporaryFile(/tmp/multipartBody3799003782655073373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264562827,"filename":"image_01012026_09_59_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c417ed74b94a472f60270f871c0968e.jpg","text":"TemporaryFile(/tmp/multipartBody4860031637232708378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264562827,"filename":"image_01012026_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/2026/1/1/52e6a56a85451d8beefca860c509096a.jpg","text":"TemporaryFile(/tmp/multipartBody4136581807857779572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264562827,"filename":"image_01012026_09_59_55_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7daf39a467a4c7c1c2daaefbd1eaa68.jpg","text":"TemporaryFile(/tmp/multipartBody3654098862151079295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264562827,"filename":"image_01012026_09_59_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40d26a7ad0a3efd2b9186d2bb0a5b4f9.jpg","text":"TemporaryFile(/tmp/multipartBody6659005268745251239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264562827,"filename":"image_01012026_09_59_25_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014257","file1":"1402014255","file0":"1402014253","file4":"1402014261","file5":"1402014264","file3":"1402014259"},"map_files_photo_id_array":[{"photo_id":"1402014264","filename":"file5"},{"photo_id":"1402014257","filename":"file2"},{"photo_id":"1402014261","filename":"file4"},{"photo_id":"1402014255","filename":"file1"},{"photo_id":"1402014253","filename":"file0"},{"photo_id":"1402014259","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014253":["hashtag1","hashtag2"]},{"1402014259":["hashtag1","hashtag2"]},{"1402014264":["hashtag1","hashtag2"]},{"1402014261":["hashtag1","hashtag2"]},{"1402014255":["hashtag1","hashtag2"]},{"1402014257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014253, 1402014259, 1402014264, 1402014261, 1402014255, 1402014257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48233461380005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:49:03.692324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/00/image_01012026_10_00_35_9612.jpg', '/home/pi/Desktop/images/01012026/10/00/image_01012026_10_00_45_10658.jpg', '/home/pi/Desktop/images/01012026/10/00/image_01012026_10_00_55_9564.jpg', '/home/pi/Desktop/images/01012026/10/00/image_01012026_10_01_04_9586.jpg', '/home/pi/Desktop/images/01012026/10/01/image_01012026_10_01_15_10791.jpg', '/home/pi/Desktop/images/01012026/10/01/image_01012026_10_01_34_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/00/image_01012026_10_00_35_9612.jpg
/home/pi/Desktop/images/01012026/10/00/image_01012026_10_00_45_10658.jpg
/home/pi/Desktop/images/01012026/10/00/image_01012026_10_00_55_9564.jpg
/home/pi/Desktop/images/01012026/10/00/image_01012026_10_01_04_9586.jpg
/home/pi/Desktop/images/01012026/10/01/image_01012026_10_01_15_10791.jpg
/home/pi/Desktop/images/01012026/10/01/image_01012026_10_01_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":["1402014271","1402014268","1402014273","1402014267","1402014269","1402014266"],"photo_ids_order":["1402014266","1402014267","1402014268","1402014269","1402014271","1402014273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54538bab8859fad58a80d32cdf10cb9e.jpg","text":"TemporaryFile(/tmp/multipartBody8697626960284742049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264604518,"filename":"image_01012026_10_01_15_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee4cf1325e4a4cb0a0732b6139b02652.jpg","text":"TemporaryFile(/tmp/multipartBody3526476738333919032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264604518,"filename":"image_01012026_10_00_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6b620e01771c2d6d14f8b962d3bf5a5.jpg","text":"TemporaryFile(/tmp/multipartBody949349931995738561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264604518,"filename":"image_01012026_10_01_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54ae8878f8b212658b44434df3b14bae.jpg","text":"TemporaryFile(/tmp/multipartBody8994984732782333795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264604518,"filename":"image_01012026_10_00_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2067a006a794e4bf34ae1ee05fbc6695.jpg","text":"TemporaryFile(/tmp/multipartBody7169149882777858024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264604518,"filename":"image_01012026_10_01_04_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d94a061b94fc4e1bc3acdc5e9509504.jpg","text":"TemporaryFile(/tmp/multipartBody7021897629797619822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264604518,"filename":"image_01012026_10_00_35_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014268","file1":"1402014267","file0":"1402014266","file4":"1402014271","file5":"1402014273","file3":"1402014269"},"map_files_photo_id_array":[{"photo_id":"1402014273","filename":"file5"},{"photo_id":"1402014268","filename":"file2"},{"photo_id":"1402014271","filename":"file4"},{"photo_id":"1402014267","filename":"file1"},{"photo_id":"1402014266","filename":"file0"},{"photo_id":"1402014269","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014271":["hashtag1","hashtag2"]},{"1402014268":["hashtag1","hashtag2"]},{"1402014273":["hashtag1","hashtag2"]},{"1402014267":["hashtag1","hashtag2"]},{"1402014269":["hashtag1","hashtag2"]},{"1402014266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014271, 1402014268, 1402014273, 1402014267, 1402014269, 1402014266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50891447067261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:49:42.561394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_20_3541.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_22_2709.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_25_2640.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_29_3656.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_31_2668.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_34_2848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_20_3541.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_22_2709.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_25_2640.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_29_3656.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_31_2668.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_34_2848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014280","1402014282","1402014276","1402014279","1402014281","1402014278"],"photo_ids_order":["1402014276","1402014278","1402014279","1402014280","1402014281","1402014282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c38c9f606d2336a97c3af52abf8ef5e1.jpg","text":"TemporaryFile(/tmp/multipartBody7394128401061294211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264644448,"filename":"image_04112025_16_21_29_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eff463085e83b872fb6b737ff5b4a36c.jpg","text":"TemporaryFile(/tmp/multipartBody2032662417298462996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264644448,"filename":"image_04112025_16_21_34_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73e7ea02fef0d09422aa6861050de1b0.jpg","text":"TemporaryFile(/tmp/multipartBody8907983428404907570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264644448,"filename":"image_04112025_16_21_20_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8cf7b4118c44ff00147e98e88ca9aab3.jpg","text":"TemporaryFile(/tmp/multipartBody5649988145201110051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264644448,"filename":"image_04112025_16_21_25_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2ba2263a6c134abb387e30874e5914d.jpg","text":"TemporaryFile(/tmp/multipartBody4593728862302506469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264644448,"filename":"image_04112025_16_21_31_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c90fc2f7e17933336278929d494418cb.jpg","text":"TemporaryFile(/tmp/multipartBody4012917197619517404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264644448,"filename":"image_04112025_16_21_22_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014279","file1":"1402014278","file0":"1402014276","file4":"1402014281","file5":"1402014282","file3":"1402014280"},"map_files_photo_id_array":[{"photo_id":"1402014282","filename":"file5"},{"photo_id":"1402014279","filename":"file2"},{"photo_id":"1402014281","filename":"file4"},{"photo_id":"1402014278","filename":"file1"},{"photo_id":"1402014276","filename":"file0"},{"photo_id":"1402014280","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014280":["hashtag1","hashtag2"]},{"1402014282":["hashtag1","hashtag2"]},{"1402014276":["hashtag1","hashtag2"]},{"1402014279":["hashtag1","hashtag2"]},{"1402014281":["hashtag1","hashtag2"]},{"1402014278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014280, 1402014282, 1402014276, 1402014279, 1402014281, 1402014278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5267231464386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:50:22.731137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_15_9721.jpg', '/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_25_9580.jpg', '/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_34_9792.jpg', '/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_45_10604.jpg', '/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_55_9783.jpg', '/home/pi/Desktop/images/01012026/10/02/image_01012026_10_03_04_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_15_9721.jpg
/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_25_9580.jpg
/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_34_9792.jpg
/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_45_10604.jpg
/home/pi/Desktop/images/01012026/10/02/image_01012026_10_02_55_9783.jpg
/home/pi/Desktop/images/01012026/10/02/image_01012026_10_03_04_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":["1402014292","1402014289","1402014285","1402014288","1402014287","1402014290"],"photo_ids_order":["1402014285","1402014287","1402014288","1402014289","1402014290","1402014292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c97c12c1a612b4d0fbab0c6c3a51caa5.jpg","text":"TemporaryFile(/tmp/multipartBody3986650785208038195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264683307,"filename":"image_01012026_10_03_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c88ea9778f9844f2194f30ce92dccb3.jpg","text":"TemporaryFile(/tmp/multipartBody8746162252024494077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264683307,"filename":"image_01012026_10_02_45_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87a4cdce721ae528825624e68e721809.jpg","text":"TemporaryFile(/tmp/multipartBody9037676501815041215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264683307,"filename":"image_01012026_10_02_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84d0ad7c14ffe188d28c1c30272d05fd.jpg","text":"TemporaryFile(/tmp/multipartBody4509742688801304315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264683307,"filename":"image_01012026_10_02_34_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98b0cb9985b54725438565aaed70000f.jpg","text":"TemporaryFile(/tmp/multipartBody8697719684237964685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264683307,"filename":"image_01012026_10_02_25_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e91eb903dd81c8a15dae8e0d2f65df38.jpg","text":"TemporaryFile(/tmp/multipartBody8370933732066716700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264683307,"filename":"image_01012026_10_02_55_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014288","file1":"1402014287","file0":"1402014285","file4":"1402014290","file5":"1402014292","file3":"1402014289"},"map_files_photo_id_array":[{"photo_id":"1402014292","filename":"file5"},{"photo_id":"1402014288","filename":"file2"},{"photo_id":"1402014290","filename":"file4"},{"photo_id":"1402014287","filename":"file1"},{"photo_id":"1402014285","filename":"file0"},{"photo_id":"1402014289","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014292":["hashtag1","hashtag2"]},{"1402014289":["hashtag1","hashtag2"]},{"1402014285":["hashtag1","hashtag2"]},{"1402014288":["hashtag1","hashtag2"]},{"1402014287":["hashtag1","hashtag2"]},{"1402014290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014292, 1402014289, 1402014285, 1402014288, 1402014287, 1402014290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.724414110183716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:51:02.418222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_15_10764.jpg', '/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_25_9641.jpg', '/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_34_9628.jpg', '/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_45_10573.jpg', '/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_55_9774.jpg', '/home/pi/Desktop/images/01012026/10/03/image_01012026_10_04_04_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_15_10764.jpg
/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_25_9641.jpg
/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_34_9628.jpg
/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_45_10573.jpg
/home/pi/Desktop/images/01012026/10/03/image_01012026_10_03_55_9774.jpg
/home/pi/Desktop/images/01012026/10/03/image_01012026_10_04_04_9734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014304","1402014307","1402014309","1402014303","1402014306","1402014305"],"photo_ids_order":["1402014303","1402014304","1402014305","1402014306","1402014307","1402014309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23522113d8e06670926c77750bc3de09.jpg","text":"TemporaryFile(/tmp/multipartBody5517872566147416060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264723142,"filename":"image_01012026_10_03_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6603adfd083adb4cd79ee4c311dba68.jpg","text":"TemporaryFile(/tmp/multipartBody5261615562986459948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264723142,"filename":"image_01012026_10_03_55_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23f80d5b88da6169bf0ffbc2d5ba9c99.jpg","text":"TemporaryFile(/tmp/multipartBody7694059936465493667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264723142,"filename":"image_01012026_10_04_04_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbd086984fd09116468b45f8948f460b.jpg","text":"TemporaryFile(/tmp/multipartBody4006905959674480400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264723142,"filename":"image_01012026_10_03_15_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da5ac62bbf58b03f0fb1fd524b23c25d.jpg","text":"TemporaryFile(/tmp/multipartBody1314085476849789945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264723142,"filename":"image_01012026_10_03_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/505fee33f8b6de28b5d9072f6ab0d73f.jpg","text":"TemporaryFile(/tmp/multipartBody520158128432263538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264723142,"filename":"image_01012026_10_03_34_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014305","file1":"1402014304","file0":"1402014303","file4":"1402014307","file5":"1402014309","file3":"1402014306"},"map_files_photo_id_array":[{"photo_id":"1402014309","filename":"file5"},{"photo_id":"1402014305","filename":"file2"},{"photo_id":"1402014307","filename":"file4"},{"photo_id":"1402014304","filename":"file1"},{"photo_id":"1402014303","filename":"file0"},{"photo_id":"1402014306","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014304":["hashtag1","hashtag2"]},{"1402014307":["hashtag1","hashtag2"]},{"1402014309":["hashtag1","hashtag2"]},{"1402014303":["hashtag1","hashtag2"]},{"1402014306":["hashtag1","hashtag2"]},{"1402014305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014304, 1402014307, 1402014309, 1402014303, 1402014306, 1402014305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95434379577637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:51:41.982693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_37_2682.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_41_3653.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_43_2656.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_46_2878.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_50_3605.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_52_2597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_37_2682.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_41_3653.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_43_2656.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_46_2878.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_50_3605.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_52_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":["1402014320","1402014317","1402014319","1402014321","1402014315","1402014318"],"photo_ids_order":["1402014315","1402014317","1402014318","1402014319","1402014320","1402014321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d7658b56814b08e1b251b312c467702.jpg","text":"TemporaryFile(/tmp/multipartBody6335856615421599565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264763886,"filename":"image_04112025_16_21_50_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2d54cd7e0034f1df726069d604174d4.jpg","text":"TemporaryFile(/tmp/multipartBody9137296271857721433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264763886,"filename":"image_04112025_16_21_41_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e80e250e790b999e2b75b8a5b1b5144e.jpg","text":"TemporaryFile(/tmp/multipartBody2221918993087003206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264763886,"filename":"image_04112025_16_21_46_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d73860e7c17fb34623d524cf17d51c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8027586507994822372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264763886,"filename":"image_04112025_16_21_52_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f2c4db36e4f7d520ad90a0fddb62dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5282258445266348828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264763886,"filename":"image_04112025_16_21_37_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/536158a383b4e5c5e65df6621ae09b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5644048618763982611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264763886,"filename":"image_04112025_16_21_43_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014318","file1":"1402014317","file0":"1402014315","file4":"1402014320","file5":"1402014321","file3":"1402014319"},"map_files_photo_id_array":[{"photo_id":"1402014321","filename":"file5"},{"photo_id":"1402014318","filename":"file2"},{"photo_id":"1402014320","filename":"file4"},{"photo_id":"1402014317","filename":"file1"},{"photo_id":"1402014315","filename":"file0"},{"photo_id":"1402014319","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014320":["hashtag1","hashtag2"]},{"1402014317":["hashtag1","hashtag2"]},{"1402014319":["hashtag1","hashtag2"]},{"1402014321":["hashtag1","hashtag2"]},{"1402014315":["hashtag1","hashtag2"]},{"1402014318":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014320, 1402014317, 1402014319, 1402014321, 1402014315, 1402014318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60186719894409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:52:22.175994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/04/image_01012026_10_04_15_10691.jpg', '/home/pi/Desktop/images/01012026/10/04/image_01012026_10_04_25_9637.jpg', '/home/pi/Desktop/images/01012026/10/04/image_01012026_10_04_34_9634.jpg', '/home/pi/Desktop/images/01012026/10/04/image_01012026_10_04_55_9663.jpg', '/home/pi/Desktop/images/01012026/10/05/image_01012026_10_05_14_10054.jpg', '/home/pi/Desktop/images/01012026/10/05/image_01012026_10_05_34_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/04/image_01012026_10_04_15_10691.jpg
/home/pi/Desktop/images/01012026/10/04/image_01012026_10_04_25_9637.jpg
/home/pi/Desktop/images/01012026/10/04/image_01012026_10_04_34_9634.jpg
/home/pi/Desktop/images/01012026/10/04/image_01012026_10_04_55_9663.jpg
/home/pi/Desktop/images/01012026/10/05/image_01012026_10_05_14_10054.jpg
/home/pi/Desktop/images/01012026/10/05/image_01012026_10_05_34_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014329","1402014334","1402014331","1402014325","1402014327","1402014323"],"photo_ids_order":["1402014323","1402014325","1402014327","1402014329","1402014331","1402014334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18072146c88d6129def29caeb799aef3.jpg","text":"TemporaryFile(/tmp/multipartBody8489597736110997933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264802823,"filename":"image_01012026_10_04_55_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31a5df40bedeeb440c53b441aec05d15.jpg","text":"TemporaryFile(/tmp/multipartBody2332976081054341763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264802823,"filename":"image_01012026_10_05_34_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25459d3da700752ba2204dd3a6e1f48e.jpg","text":"TemporaryFile(/tmp/multipartBody1301384871226548654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264802823,"filename":"image_01012026_10_05_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06f005050b7da5b3036058ef99aac7c1.jpg","text":"TemporaryFile(/tmp/multipartBody6653925493751087373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264802823,"filename":"image_01012026_10_04_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5a8902ae4299a1ef704ba2883ebc407.jpg","text":"TemporaryFile(/tmp/multipartBody2917686817857629991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264802823,"filename":"image_01012026_10_04_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbc12b791800a8dcf5c91a86caf40113.jpg","text":"TemporaryFile(/tmp/multipartBody3722134647332551295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264802823,"filename":"image_01012026_10_04_15_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014327","file1":"1402014325","file0":"1402014323","file4":"1402014331","file5":"1402014334","file3":"1402014329"},"map_files_photo_id_array":[{"photo_id":"1402014334","filename":"file5"},{"photo_id":"1402014327","filename":"file2"},{"photo_id":"1402014331","filename":"file4"},{"photo_id":"1402014325","filename":"file1"},{"photo_id":"1402014323","filename":"file0"},{"photo_id":"1402014329","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014329":["hashtag1","hashtag2"]},{"1402014334":["hashtag1","hashtag2"]},{"1402014331":["hashtag1","hashtag2"]},{"1402014325":["hashtag1","hashtag2"]},{"1402014327":["hashtag1","hashtag2"]},{"1402014323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014329, 1402014334, 1402014331, 1402014325, 1402014327, 1402014323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40861463546753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:53:02.864326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/05/image_01012026_10_06_04_9554.jpg', '/home/pi/Desktop/images/01012026/10/06/image_01012026_10_06_14_10598.jpg', '/home/pi/Desktop/images/01012026/10/06/image_01012026_10_06_34_9708.jpg', '/home/pi/Desktop/images/01012026/10/06/image_01012026_10_07_04_9593.jpg', '/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_15_10811.jpg', '/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_24_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/05/image_01012026_10_06_04_9554.jpg
/home/pi/Desktop/images/01012026/10/06/image_01012026_10_06_14_10598.jpg
/home/pi/Desktop/images/01012026/10/06/image_01012026_10_06_34_9708.jpg
/home/pi/Desktop/images/01012026/10/06/image_01012026_10_07_04_9593.jpg
/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_15_10811.jpg
/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_24_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014343","1402014337","1402014339","1402014336","1402014341","1402014338"],"photo_ids_order":["1402014336","1402014337","1402014338","1402014339","1402014341","1402014343"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/477bf8b613218f58dd36de0d7bda6a84.jpg","text":"TemporaryFile(/tmp/multipartBody8292151185640822646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264843550,"filename":"image_01012026_10_07_24_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5acfde236e07dedb67cfe85d4ff59d7c.jpg","text":"TemporaryFile(/tmp/multipartBody7159138882974824000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264843550,"filename":"image_01012026_10_06_14_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30fe9603f2b8960e251987d65d852f88.jpg","text":"TemporaryFile(/tmp/multipartBody2970678253696957923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264843550,"filename":"image_01012026_10_07_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0783ebc7445482faeb5c381d5c9ab138.jpg","text":"TemporaryFile(/tmp/multipartBody3632708713159712042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264843550,"filename":"image_01012026_10_06_04_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ec23c91510f66e9de8e435a66039c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3266849317132605527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264843550,"filename":"image_01012026_10_07_15_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56a4158e1b69cdbf00b0c9fe71018027.jpg","text":"TemporaryFile(/tmp/multipartBody8486761502113538472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264843550,"filename":"image_01012026_10_06_34_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014338","file1":"1402014337","file0":"1402014336","file4":"1402014341","file5":"1402014343","file3":"1402014339"},"map_files_photo_id_array":[{"photo_id":"1402014343","filename":"file5"},{"photo_id":"1402014338","filename":"file2"},{"photo_id":"1402014341","filename":"file4"},{"photo_id":"1402014337","filename":"file1"},{"photo_id":"1402014336","filename":"file0"},{"photo_id":"1402014339","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014343":["hashtag1","hashtag2"]},{"1402014337":["hashtag1","hashtag2"]},{"1402014339":["hashtag1","hashtag2"]},{"1402014336":["hashtag1","hashtag2"]},{"1402014341":["hashtag1","hashtag2"]},{"1402014338":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014343, 1402014337, 1402014339, 1402014336, 1402014341, 1402014338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34769344329834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:53:42.341351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_55_2737.jpg', '/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_59_3820.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_01_2614.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_08_6247.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_22_14459.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_37_14715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_55_2737.jpg
/home/pi/Desktop/images/04112025/16/21/image_04112025_16_21_59_3820.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_01_2614.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_08_6247.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_22_14459.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_37_14715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014361","1402014364","1402014360","1402014348","1402014362","1402014359"],"photo_ids_order":["1402014348","1402014359","1402014360","1402014361","1402014362","1402014364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f26b76139b3e9a57aebb870f288289a5.jpg","text":"TemporaryFile(/tmp/multipartBody7153812757758743219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264884214,"filename":"image_04112025_16_22_08_6247.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adf0f09033e9724505e078abb6f73259.jpg","text":"TemporaryFile(/tmp/multipartBody848204238603496564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264884214,"filename":"image_04112025_16_22_37_14715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b7860549e1b2cf904a8e1bc0ea0e8d3.jpg","text":"TemporaryFile(/tmp/multipartBody1866761585064329221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264884214,"filename":"image_04112025_16_22_01_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eedf4ab9d9b342185e8ff91b32d0eac3.jpg","text":"TemporaryFile(/tmp/multipartBody8683649970760921994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264884214,"filename":"image_04112025_16_21_55_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b90fd019e773ad20a2c1fa13af4af838.jpg","text":"TemporaryFile(/tmp/multipartBody1466029513467374763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264884214,"filename":"image_04112025_16_22_22_14459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4867885ec9c9ff87ec105355c12692ae.jpg","text":"TemporaryFile(/tmp/multipartBody6915736190776920948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264884214,"filename":"image_04112025_16_21_59_3820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014360","file1":"1402014359","file0":"1402014348","file4":"1402014362","file5":"1402014364","file3":"1402014361"},"map_files_photo_id_array":[{"photo_id":"1402014364","filename":"file5"},{"photo_id":"1402014360","filename":"file2"},{"photo_id":"1402014362","filename":"file4"},{"photo_id":"1402014359","filename":"file1"},{"photo_id":"1402014348","filename":"file0"},{"photo_id":"1402014361","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014361":["hashtag1","hashtag2"]},{"1402014364":["hashtag1","hashtag2"]},{"1402014360":["hashtag1","hashtag2"]},{"1402014348":["hashtag1","hashtag2"]},{"1402014362":["hashtag1","hashtag2"]},{"1402014359":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014361, 1402014364, 1402014360, 1402014348, 1402014362, 1402014359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19642972946167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 11:54:22.466999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_34_9616.jpg', '/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_45_10663.jpg', '/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_54_9594.jpg', '/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_15_10675.jpg', '/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_24_9731.jpg', '/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_34_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_34_9616.jpg
/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_45_10663.jpg
/home/pi/Desktop/images/01012026/10/07/image_01012026_10_07_54_9594.jpg
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_15_10675.jpg
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_24_9731.jpg
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_34_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014367","1402014376","1402014378","1402014369","1402014374","1402014371"],"photo_ids_order":["1402014367","1402014369","1402014371","1402014374","1402014376","1402014378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10d86afeb56459c8fcd1a41ac9961954.jpg","text":"TemporaryFile(/tmp/multipartBody6263501382343894328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264923050,"filename":"image_01012026_10_07_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cbcd412fb6508a4b9773efc42a5abb9.jpg","text":"TemporaryFile(/tmp/multipartBody5500448376298107819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264923050,"filename":"image_01012026_10_08_24_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fd2a77b3b67e76ce73937d0f73b80e7.jpg","text":"TemporaryFile(/tmp/multipartBody4574128477068927196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264923050,"filename":"image_01012026_10_08_34_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef1c39faf30472d70ed03d0404ca12ce.jpg","text":"TemporaryFile(/tmp/multipartBody5382670288996597274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264923050,"filename":"image_01012026_10_07_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fabf8af9d12cbce3ddb66bc1931856af.jpg","text":"TemporaryFile(/tmp/multipartBody3595527119983061810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264923050,"filename":"image_01012026_10_08_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a2ede7e6d1fd9c4295a68c1bfb6351f.jpg","text":"TemporaryFile(/tmp/multipartBody5767526227969850090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264923050,"filename":"image_01012026_10_07_54_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014371","file1":"1402014369","file0":"1402014367","file4":"1402014376","file5":"1402014378","file3":"1402014374"},"map_files_photo_id_array":[{"photo_id":"1402014378","filename":"file5"},{"photo_id":"1402014371","filename":"file2"},{"photo_id":"1402014376","filename":"file4"},{"photo_id":"1402014369","filename":"file1"},{"photo_id":"1402014367","filename":"file0"},{"photo_id":"1402014374","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014367":["hashtag1","hashtag2"]},{"1402014376":["hashtag1","hashtag2"]},{"1402014378":["hashtag1","hashtag2"]},{"1402014369":["hashtag1","hashtag2"]},{"1402014374":["hashtag1","hashtag2"]},{"1402014371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014367, 1402014376, 1402014378, 1402014369, 1402014374, 1402014371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69937801361084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:55:03.349322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_44_9624.jpg', '/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_54_10720.jpg', '/home/pi/Desktop/images/01012026/10/08/image_01012026_10_09_04_9658.jpg', '/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_14_9639.jpg', '/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_25_10904.jpg', '/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_44_9624.jpg
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_54_10720.jpg
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_09_04_9658.jpg
/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_14_9639.jpg
/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_25_10904.jpg
/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_34_9650.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.9768683910369873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:55:12.697412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_39_1664.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_40_1631.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_42_1710.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_45_2804.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_46_1632.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_48_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_39_1664.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_40_1631.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_42_1710.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_45_2804.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_46_1632.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_48_1733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014385","1402014388","1402014381","1402014390","1402014392","1402014383"],"photo_ids_order":["1402014381","1402014383","1402014385","1402014388","1402014390","1402014392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dade9271b1e224505be8bf7322077b0.jpg","text":"TemporaryFile(/tmp/multipartBody8861076249408962817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264974446,"filename":"image_04112025_16_22_42_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c6ccc88335fdbdbc973b04b4d85d1fe.jpg","text":"TemporaryFile(/tmp/multipartBody2129209814621018542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264974446,"filename":"image_04112025_16_22_45_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9f9b39a484883b26174730c4dbe341c.jpg","text":"TemporaryFile(/tmp/multipartBody8579301953182853351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264974446,"filename":"image_04112025_16_22_39_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04defe2a4ee05f92fa62d87b32d029d6.jpg","text":"TemporaryFile(/tmp/multipartBody6597480977255708084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264974446,"filename":"image_04112025_16_22_46_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3634a3ef09606cf4a895fc1566cf2027.jpg","text":"TemporaryFile(/tmp/multipartBody6467037009419744169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264974446,"filename":"image_04112025_16_22_48_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89483b2f937a6c5400a6ec5640653a6f.jpg","text":"TemporaryFile(/tmp/multipartBody8880662665779100336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767264974446,"filename":"image_04112025_16_22_40_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014385","file1":"1402014383","file0":"1402014381","file4":"1402014390","file5":"1402014392","file3":"1402014388"},"map_files_photo_id_array":[{"photo_id":"1402014392","filename":"file5"},{"photo_id":"1402014385","filename":"file2"},{"photo_id":"1402014390","filename":"file4"},{"photo_id":"1402014383","filename":"file1"},{"photo_id":"1402014381","filename":"file0"},{"photo_id":"1402014388","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014385":["hashtag1","hashtag2"]},{"1402014388":["hashtag1","hashtag2"]},{"1402014381":["hashtag1","hashtag2"]},{"1402014390":["hashtag1","hashtag2"]},{"1402014392":["hashtag1","hashtag2"]},{"1402014383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014385, 1402014388, 1402014381, 1402014390, 1402014392, 1402014383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.699180364608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:56:03.756411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_44_9624.jpg', '/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_54_10720.jpg', '/home/pi/Desktop/images/01012026/10/08/image_01012026_10_09_04_9658.jpg', '/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_14_9639.jpg', '/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_25_10904.jpg', '/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_34_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_44_9624.jpg
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_08_54_10720.jpg
/home/pi/Desktop/images/01012026/10/08/image_01012026_10_09_04_9658.jpg
/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_14_9639.jpg
/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_25_10904.jpg
/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_34_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":["1402014401","1402014400","1402014399","1402014402","1402014398","1402014404"],"photo_ids_order":["1402014398","1402014399","1402014400","1402014401","1402014402","1402014404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d88fcab70648518373e9f3b90ca04976.jpg","text":"TemporaryFile(/tmp/multipartBody1475105334817949088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265024415,"filename":"image_01012026_10_09_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa6d63b62165b2e5555807758aa19309.jpg","text":"TemporaryFile(/tmp/multipartBody3326542241639582391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265024415,"filename":"image_01012026_10_09_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bfe77abde64ac9548e89e62412f9439.jpg","text":"TemporaryFile(/tmp/multipartBody1546872346583907775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265024415,"filename":"image_01012026_10_08_54_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2ff8739a94d55c02a0669d6d5de2f14.jpg","text":"TemporaryFile(/tmp/multipartBody2540600925004243457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265024415,"filename":"image_01012026_10_09_25_10904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8bd2f6bdd8298976efe9e55bf37403c0.jpg","text":"TemporaryFile(/tmp/multipartBody2613084519406803236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265024415,"filename":"image_01012026_10_08_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af882e3b76e9f4c1ba50533d872e4ba9.jpg","text":"TemporaryFile(/tmp/multipartBody2942172504809725443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265024415,"filename":"image_01012026_10_09_34_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014400","file1":"1402014399","file0":"1402014398","file4":"1402014402","file5":"1402014404","file3":"1402014401"},"map_files_photo_id_array":[{"photo_id":"1402014404","filename":"file5"},{"photo_id":"1402014400","filename":"file2"},{"photo_id":"1402014402","filename":"file4"},{"photo_id":"1402014399","filename":"file1"},{"photo_id":"1402014398","filename":"file0"},{"photo_id":"1402014401","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402014401":["hashtag1","hashtag2"]},{"1402014400":["hashtag1","hashtag2"]},{"1402014399":["hashtag1","hashtag2"]},{"1402014402":["hashtag1","hashtag2"]},{"1402014398":["hashtag1","hashtag2"]},{"1402014404":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402014401, 1402014400, 1402014399, 1402014402, 1402014398, 1402014404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88742804527283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:56:43.274894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_50_1635.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_51_1495.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_53_1763.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_55_1786.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_56_1687.jpg', '/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_58_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_50_1635.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_51_1495.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_53_1763.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_55_1786.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_56_1687.jpg
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_22_58_1589.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":["1402014424","1402014427","1402014423","1402014422","1402014425","1402014410"],"photo_ids_order":["1402014410","1402014422","1402014423","1402014424","1402014425","1402014427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/563266bd64e3d6849693a33acf709092.jpg","text":"TemporaryFile(/tmp/multipartBody160638514389302030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265065038,"filename":"image_04112025_16_22_55_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8194ce75b366d84644f3d49d074bcae6.jpg","text":"TemporaryFile(/tmp/multipartBody8654469632694536444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265065038,"filename":"image_04112025_16_22_58_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94a3229f68b9725bd5dad69520455852.jpg","text":"TemporaryFile(/tmp/multipartBody3646963379643882830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265065038,"filename":"image_04112025_16_22_53_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6fc01d1c808c2df3b0d175fe2cac8aff.jpg","text":"TemporaryFile(/tmp/multipartBody726792076602783846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265065038,"filename":"image_04112025_16_22_51_1495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4248cde588b494947823a3e003913633.jpg","text":"TemporaryFile(/tmp/multipartBody2044100629810147962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265065038,"filename":"image_04112025_16_22_56_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8545babd819a6e09fba1326ecd158447.jpg","text":"TemporaryFile(/tmp/multipartBody7203397684208044403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265065038,"filename":"image_04112025_16_22_50_1635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014423","file1":"1402014422","file0":"1402014410","file4":"1402014425","file5":"1402014427","file3":"1402014424"},"map_files_photo_id_array":[{"photo_id":"1402014427","filename":"file5"},{"photo_id":"1402014423","filename":"file2"},{"photo_id":"1402014425","filename":"file4"},{"photo_id":"1402014422","filename":"file1"},{"photo_id":"1402014410","filename":"file0"},{"photo_id":"1402014424","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014424":["hashtag1","hashtag2"]},{"1402014427":["hashtag1","hashtag2"]},{"1402014423":["hashtag1","hashtag2"]},{"1402014422":["hashtag1","hashtag2"]},{"1402014425":["hashtag1","hashtag2"]},{"1402014410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014424, 1402014427, 1402014423, 1402014422, 1402014425, 1402014410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.45723748207092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:57:32.510118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/22/image_04112025_16_23_00_1549.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_01_1707.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_03_1746.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_05_1625.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_07_2686.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_09_1510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_23_00_1549.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_01_1707.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_03_1746.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_05_1625.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_07_2686.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_09_1510.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.787165880203247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 11:57:42.530048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/22/image_04112025_16_23_00_1549.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_01_1707.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_03_1746.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_05_1625.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_07_2686.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_09_1510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/22/image_04112025_16_23_00_1549.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_01_1707.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_03_1746.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_05_1625.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_07_2686.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_09_1510.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402014664","1402014592","1402014766","1402014733","1402014628","1402014699"],"photo_ids_order":["1402014592","1402014628","1402014664","1402014699","1402014733","1402014766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfd8868c9d04293023826416946b5771.jpg","text":"TemporaryFile(/tmp/multipartBody9184882748780305411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265124305,"filename":"image_04112025_16_23_03_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54a9a36a48055454a06ff0398a86e3ef.jpg","text":"TemporaryFile(/tmp/multipartBody2303322251504716320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265124305,"filename":"image_04112025_16_23_00_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9728d85917b67f2ef5827de77686c16b.jpg","text":"TemporaryFile(/tmp/multipartBody8587107175233167299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265124305,"filename":"image_04112025_16_23_09_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/113753907cc8c7bc4c826bb1c484bb10.jpg","text":"TemporaryFile(/tmp/multipartBody970426781534817487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265124305,"filename":"image_04112025_16_23_07_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c45f9f9675db730cd1d4dfbdf57b7ba.jpg","text":"TemporaryFile(/tmp/multipartBody4246127191030128427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265124305,"filename":"image_04112025_16_23_01_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c92600209a8c3232e28555b9d3c89006.jpg","text":"TemporaryFile(/tmp/multipartBody1447251764500921088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265124305,"filename":"image_04112025_16_23_05_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402014664","file1":"1402014628","file0":"1402014592","file4":"1402014733","file5":"1402014766","file3":"1402014699"},"map_files_photo_id_array":[{"photo_id":"1402014766","filename":"file5"},{"photo_id":"1402014664","filename":"file2"},{"photo_id":"1402014733","filename":"file4"},{"photo_id":"1402014628","filename":"file1"},{"photo_id":"1402014592","filename":"file0"},{"photo_id":"1402014699","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402014664":["hashtag1","hashtag2"]},{"1402014592":["hashtag1","hashtag2"]},{"1402014766":["hashtag1","hashtag2"]},{"1402014733":["hashtag1","hashtag2"]},{"1402014628":["hashtag1","hashtag2"]},{"1402014699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402014664, 1402014592, 1402014766, 1402014733, 1402014628, 1402014699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25356602668762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 11:59:03.652489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_44_9791.jpg', '/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_54_9774.jpg', '/home/pi/Desktop/images/01012026/10/10/image_01012026_10_10_14_10054.jpg', '/home/pi/Desktop/images/01012026/10/10/image_01012026_10_10_35_9592.jpg', '/home/pi/Desktop/images/01012026/10/10/image_01012026_10_10_45_9719.jpg', '/home/pi/Desktop/images/01012026/10/10/image_01012026_10_10_55_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_44_9791.jpg
/home/pi/Desktop/images/01012026/10/09/image_01012026_10_09_54_9774.jpg
/home/pi/Desktop/images/01012026/10/10/image_01012026_10_10_14_10054.jpg
/home/pi/Desktop/images/01012026/10/10/image_01012026_10_10_35_9592.jpg
/home/pi/Desktop/images/01012026/10/10/image_01012026_10_10_45_9719.jpg
/home/pi/Desktop/images/01012026/10/10/image_01012026_10_10_55_10745.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":["1402015360","1402015365","1402015350","1402015358","1402015412","1402015363"],"photo_ids_order":["1402015350","1402015358","1402015360","1402015363","1402015365","1402015412"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/615e4380615f2f74c206d07bbf5e8b34.jpg","text":"TemporaryFile(/tmp/multipartBody2546827081893421008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265204476,"filename":"image_01012026_10_10_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/baf019b4b26da2bef1f1dca5cbcfe2ed.jpg","text":"TemporaryFile(/tmp/multipartBody4408324713552346493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265204476,"filename":"image_01012026_10_10_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2001ed71bf040adf80e46f3284ccd78.jpg","text":"TemporaryFile(/tmp/multipartBody2794936160678639985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265204476,"filename":"image_01012026_10_09_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3476e287c06cbe97acc63bc0524661ec.jpg","text":"TemporaryFile(/tmp/multipartBody6744312420033124362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265204476,"filename":"image_01012026_10_09_54_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8029b0aa4d789a52930708ad9c4fc5c5.jpg","text":"TemporaryFile(/tmp/multipartBody4486248192380236433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265204476,"filename":"image_01012026_10_10_55_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/035195711e6152c49cc10ddaf1b89fc2.jpg","text":"TemporaryFile(/tmp/multipartBody7464955309749781131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265204476,"filename":"image_01012026_10_10_35_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402015360","file1":"1402015358","file0":"1402015350","file4":"1402015365","file5":"1402015412","file3":"1402015363"},"map_files_photo_id_array":[{"photo_id":"1402015412","filename":"file5"},{"photo_id":"1402015360","filename":"file2"},{"photo_id":"1402015365","filename":"file4"},{"photo_id":"1402015358","filename":"file1"},{"photo_id":"1402015350","filename":"file0"},{"photo_id":"1402015363","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402015360":["hashtag1","hashtag2"]},{"1402015365":["hashtag1","hashtag2"]},{"1402015350":["hashtag1","hashtag2"]},{"1402015358":["hashtag1","hashtag2"]},{"1402015412":["hashtag1","hashtag2"]},{"1402015363":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402015360, 1402015365, 1402015350, 1402015358, 1402015412, 1402015363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70974564552307 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:00:02.549648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/10/image_01012026_10_11_05_9639.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_15_9643.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_25_10590.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_35_9612.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_45_9769.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_55_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/10/image_01012026_10_11_05_9639.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_15_9643.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_25_10590.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_35_9612.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_45_9769.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_55_10628.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.5473372936248779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:00:11.916119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_10_1637.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_13_2253.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_15_1779.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_16_1537.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_21_5414.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_27_5803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_10_1637.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_13_2253.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_15_1779.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_16_1537.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_21_5414.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_27_5803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016017","1402016055","1402016067","1402015943","1402016065","1402015981"],"photo_ids_order":["1402015943","1402015981","1402016017","1402016055","1402016065","1402016067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98bedcfeab07a03d5556d56fea6933a6.jpg","text":"TemporaryFile(/tmp/multipartBody1330932067997576367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265273694,"filename":"image_04112025_16_23_15_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e58202eff563996e0fb93e5951d40647.jpg","text":"TemporaryFile(/tmp/multipartBody3642905017109510282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265273694,"filename":"image_04112025_16_23_16_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af6ec3c6fac46cf9e1e62fb150a5abc0.jpg","text":"TemporaryFile(/tmp/multipartBody4349641789378018000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265273694,"filename":"image_04112025_16_23_27_5803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2fd6c212595465ebf133388a9cd28f1b.jpg","text":"TemporaryFile(/tmp/multipartBody7971190230132369195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265273694,"filename":"image_04112025_16_23_10_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55adb3e6d0242a3b407f8632719cda3b.jpg","text":"TemporaryFile(/tmp/multipartBody7144292566212632024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265273694,"filename":"image_04112025_16_23_21_5414.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8fec2bd2716a9b87d2f08d1aff6a59a.jpg","text":"TemporaryFile(/tmp/multipartBody2076675296702248177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265273694,"filename":"image_04112025_16_23_13_2253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016017","file1":"1402015981","file0":"1402015943","file4":"1402016065","file5":"1402016067","file3":"1402016055"},"map_files_photo_id_array":[{"photo_id":"1402016067","filename":"file5"},{"photo_id":"1402016017","filename":"file2"},{"photo_id":"1402016065","filename":"file4"},{"photo_id":"1402015981","filename":"file1"},{"photo_id":"1402015943","filename":"file0"},{"photo_id":"1402016055","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016017":["hashtag1","hashtag2"]},{"1402016055":["hashtag1","hashtag2"]},{"1402016067":["hashtag1","hashtag2"]},{"1402015943":["hashtag1","hashtag2"]},{"1402016065":["hashtag1","hashtag2"]},{"1402015981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016017, 1402016055, 1402016067, 1402015943, 1402016065, 1402015981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75412893295288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:01:02.899803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/10/image_01012026_10_11_05_9639.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_15_9643.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_25_10590.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_35_9612.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_45_9769.jpg', '/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_55_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/10/image_01012026_10_11_05_9639.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_15_9643.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_25_10590.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_35_9612.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_45_9769.jpg
/home/pi/Desktop/images/01012026/10/11/image_01012026_10_11_55_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":["1402016235","1402016217","1402016202","1402016174","1402016237","1402016191"],"photo_ids_order":["1402016174","1402016191","1402016202","1402016217","1402016235","1402016237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dbd0e4357aa016162ab4e7df951fd13.jpg","text":"TemporaryFile(/tmp/multipartBody349361539240595928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265323591,"filename":"image_01012026_10_11_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a618631572f0a076367b856c78f61a58.jpg","text":"TemporaryFile(/tmp/multipartBody9094091765838015087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265323591,"filename":"image_01012026_10_11_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32382fd7ba17c8b95c853ebd9ffa5570.jpg","text":"TemporaryFile(/tmp/multipartBody3907339853510897234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265323591,"filename":"image_01012026_10_11_25_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a892fc321e372726f8f0234640f96463.jpg","text":"TemporaryFile(/tmp/multipartBody5465890730769617662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265323591,"filename":"image_01012026_10_11_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/300d8e10b81b062d0ea39ebd6f9370d1.jpg","text":"TemporaryFile(/tmp/multipartBody772998630743416979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265323591,"filename":"image_01012026_10_11_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f3b0bd0c902c14aae1b7daf9a8946eb.jpg","text":"TemporaryFile(/tmp/multipartBody8002563563711682844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265323591,"filename":"image_01012026_10_11_15_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016202","file1":"1402016191","file0":"1402016174","file4":"1402016235","file5":"1402016237","file3":"1402016217"},"map_files_photo_id_array":[{"photo_id":"1402016237","filename":"file5"},{"photo_id":"1402016202","filename":"file2"},{"photo_id":"1402016235","filename":"file4"},{"photo_id":"1402016191","filename":"file1"},{"photo_id":"1402016174","filename":"file0"},{"photo_id":"1402016217","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016235":["hashtag1","hashtag2"]},{"1402016217":["hashtag1","hashtag2"]},{"1402016202":["hashtag1","hashtag2"]},{"1402016174":["hashtag1","hashtag2"]},{"1402016237":["hashtag1","hashtag2"]},{"1402016191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016235, 1402016217, 1402016202, 1402016174, 1402016237, 1402016191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97141695022583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:01:42.232876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_29_1696.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_48_19017.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_51_3279.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_53_1543.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_55_1719.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_56_1735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_29_1696.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_48_19017.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_51_3279.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_53_1543.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_55_1719.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_56_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":["1402016247","1402016244","1402016246","1402016243","1402016242","1402016245"],"photo_ids_order":["1402016242","1402016243","1402016244","1402016245","1402016246","1402016247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e2d0c973975f116cb06f437356b3a34.jpg","text":"TemporaryFile(/tmp/multipartBody3984355536561278964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265364099,"filename":"image_04112025_16_23_56_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1029ae0604ce1ec473dfb75696e60419.jpg","text":"TemporaryFile(/tmp/multipartBody2776094870668850910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265364099,"filename":"image_04112025_16_23_51_3279.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/302dd0c9634e8278d3c7775eacf042a5.jpg","text":"TemporaryFile(/tmp/multipartBody2812523981569936239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265364099,"filename":"image_04112025_16_23_55_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7679de56e92144dfa3963e8645f700a5.jpg","text":"TemporaryFile(/tmp/multipartBody7425552188345786922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265364099,"filename":"image_04112025_16_23_48_19017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0184063662f24cca17f385297746900e.jpg","text":"TemporaryFile(/tmp/multipartBody1073784458786243861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265364099,"filename":"image_04112025_16_23_29_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a953d19fb576dec4d0cf746e20d1693b.jpg","text":"TemporaryFile(/tmp/multipartBody4002304292722646627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265364099,"filename":"image_04112025_16_23_53_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016244","file1":"1402016243","file0":"1402016242","file4":"1402016246","file5":"1402016247","file3":"1402016245"},"map_files_photo_id_array":[{"photo_id":"1402016247","filename":"file5"},{"photo_id":"1402016244","filename":"file2"},{"photo_id":"1402016246","filename":"file4"},{"photo_id":"1402016243","filename":"file1"},{"photo_id":"1402016242","filename":"file0"},{"photo_id":"1402016245","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016247":["hashtag1","hashtag2"]},{"1402016244":["hashtag1","hashtag2"]},{"1402016246":["hashtag1","hashtag2"]},{"1402016243":["hashtag1","hashtag2"]},{"1402016242":["hashtag1","hashtag2"]},{"1402016245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016247, 1402016244, 1402016246, 1402016243, 1402016242, 1402016245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.078731060028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:02:22.444204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/12/image_01012026_10_12_25_9905.jpg', '/home/pi/Desktop/images/01012026/10/12/image_01012026_10_12_45_9639.jpg', '/home/pi/Desktop/images/01012026/10/12/image_01012026_10_12_55_10585.jpg', '/home/pi/Desktop/images/01012026/10/12/image_01012026_10_13_05_9709.jpg', '/home/pi/Desktop/images/01012026/10/13/image_01012026_10_13_15_9632.jpg', '/home/pi/Desktop/images/01012026/10/13/image_01012026_10_13_25_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/12/image_01012026_10_12_25_9905.jpg
/home/pi/Desktop/images/01012026/10/12/image_01012026_10_12_45_9639.jpg
/home/pi/Desktop/images/01012026/10/12/image_01012026_10_12_55_10585.jpg
/home/pi/Desktop/images/01012026/10/12/image_01012026_10_13_05_9709.jpg
/home/pi/Desktop/images/01012026/10/13/image_01012026_10_13_15_9632.jpg
/home/pi/Desktop/images/01012026/10/13/image_01012026_10_13_25_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":["1402016256","1402016259","1402016250","1402016252","1402016249","1402016254"],"photo_ids_order":["1402016249","1402016250","1402016252","1402016254","1402016256","1402016259"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fa2e7c0463e75b24a485cfa46b5c149.jpg","text":"TemporaryFile(/tmp/multipartBody3080097200004785912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265403094,"filename":"image_01012026_10_13_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b26eb1074024bb8499f8f23c041cbab.jpg","text":"TemporaryFile(/tmp/multipartBody4201341483448787494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265403094,"filename":"image_01012026_10_13_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02070527477f8cf748f2e6e588b72c33.jpg","text":"TemporaryFile(/tmp/multipartBody4237073605478052902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265403094,"filename":"image_01012026_10_12_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30fc1615188aea7e210a3bca7b13e24d.jpg","text":"TemporaryFile(/tmp/multipartBody5022174160402294103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265403094,"filename":"image_01012026_10_12_55_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49a15148908688c4d7264ce76b70d825.jpg","text":"TemporaryFile(/tmp/multipartBody6960876528636658606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265403094,"filename":"image_01012026_10_12_25_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d626bfa1af0750bff6005f8468b41a97.jpg","text":"TemporaryFile(/tmp/multipartBody7612205706965294917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265403094,"filename":"image_01012026_10_13_05_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016252","file1":"1402016250","file0":"1402016249","file4":"1402016256","file5":"1402016259","file3":"1402016254"},"map_files_photo_id_array":[{"photo_id":"1402016259","filename":"file5"},{"photo_id":"1402016252","filename":"file2"},{"photo_id":"1402016256","filename":"file4"},{"photo_id":"1402016250","filename":"file1"},{"photo_id":"1402016249","filename":"file0"},{"photo_id":"1402016254","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016256":["hashtag1","hashtag2"]},{"1402016259":["hashtag1","hashtag2"]},{"1402016250":["hashtag1","hashtag2"]},{"1402016252":["hashtag1","hashtag2"]},{"1402016249":["hashtag1","hashtag2"]},{"1402016254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016256, 1402016259, 1402016250, 1402016252, 1402016249, 1402016254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14228081703186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:03:03.312598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/13/image_01012026_10_13_45_9756.jpg', '/home/pi/Desktop/images/01012026/10/13/image_01012026_10_13_54_9673.jpg', '/home/pi/Desktop/images/01012026/10/13/image_01012026_10_14_05_10692.jpg', '/home/pi/Desktop/images/01012026/10/14/image_01012026_10_14_15_9807.jpg', '/home/pi/Desktop/images/01012026/10/14/image_01012026_10_14_25_9694.jpg', '/home/pi/Desktop/images/01012026/10/14/image_01012026_10_14_35_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/13/image_01012026_10_13_45_9756.jpg
/home/pi/Desktop/images/01012026/10/13/image_01012026_10_13_54_9673.jpg
/home/pi/Desktop/images/01012026/10/13/image_01012026_10_14_05_10692.jpg
/home/pi/Desktop/images/01012026/10/14/image_01012026_10_14_15_9807.jpg
/home/pi/Desktop/images/01012026/10/14/image_01012026_10_14_25_9694.jpg
/home/pi/Desktop/images/01012026/10/14/image_01012026_10_14_35_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016271","1402016274","1402016277","1402016270","1402016275","1402016272"],"photo_ids_order":["1402016270","1402016271","1402016272","1402016274","1402016275","1402016277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60df0c73abbd361c672bfa1fc91926f9.jpg","text":"TemporaryFile(/tmp/multipartBody2100870841930415471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265444012,"filename":"image_01012026_10_13_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0a886a2ce95aec46d73e5e8f5394be7.jpg","text":"TemporaryFile(/tmp/multipartBody7077373244110974973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265444012,"filename":"image_01012026_10_14_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f1d5dde8c975b19b0940d0bb4214b86.jpg","text":"TemporaryFile(/tmp/multipartBody94074657352781122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265444012,"filename":"image_01012026_10_14_35_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a7acb167fabf729e7262fb0e1f8757b.jpg","text":"TemporaryFile(/tmp/multipartBody8967640988017917162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265444012,"filename":"image_01012026_10_13_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec2922d288a7f885719bc7824b4afa2c.jpg","text":"TemporaryFile(/tmp/multipartBody8159996068792501242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265444012,"filename":"image_01012026_10_14_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7e36439cc32e944071d438d46727769.jpg","text":"TemporaryFile(/tmp/multipartBody4745215274251796586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265444012,"filename":"image_01012026_10_14_05_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016272","file1":"1402016271","file0":"1402016270","file4":"1402016275","file5":"1402016277","file3":"1402016274"},"map_files_photo_id_array":[{"photo_id":"1402016277","filename":"file5"},{"photo_id":"1402016272","filename":"file2"},{"photo_id":"1402016275","filename":"file4"},{"photo_id":"1402016271","filename":"file1"},{"photo_id":"1402016270","filename":"file0"},{"photo_id":"1402016274","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016271":["hashtag1","hashtag2"]},{"1402016274":["hashtag1","hashtag2"]},{"1402016277":["hashtag1","hashtag2"]},{"1402016270":["hashtag1","hashtag2"]},{"1402016275":["hashtag1","hashtag2"]},{"1402016272":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016271, 1402016274, 1402016277, 1402016270, 1402016275, 1402016272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92961287498474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:03:42.661083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_58_1773.jpg', '/home/pi/Desktop/images/04112025/16/23/image_04112025_16_24_00_1632.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_01_1566.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_03_1535.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_04_1642.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_06_1682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_23_58_1773.jpg
/home/pi/Desktop/images/04112025/16/23/image_04112025_16_24_00_1632.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_01_1566.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_03_1535.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_04_1642.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_06_1682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016283","1402016286","1402016282","1402016285","1402016281","1402016284"],"photo_ids_order":["1402016281","1402016282","1402016283","1402016284","1402016285","1402016286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96123cb846179e91353265a07c252f9c.jpg","text":"TemporaryFile(/tmp/multipartBody7505256430983628230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265484531,"filename":"image_04112025_16_24_01_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d66b32044fdac227ea9e310d9d680424.jpg","text":"TemporaryFile(/tmp/multipartBody4293944981264601672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265484531,"filename":"image_04112025_16_24_06_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/865dcf8451ea5a1c5b56c9ae622b957e.jpg","text":"TemporaryFile(/tmp/multipartBody4019419221344268975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265484531,"filename":"image_04112025_16_24_00_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/775a779191299ecad3f4f793328391dc.jpg","text":"TemporaryFile(/tmp/multipartBody4928407595754135766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265484531,"filename":"image_04112025_16_24_04_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/366e45df96b15d8f2ef7b01cd4eed53a.jpg","text":"TemporaryFile(/tmp/multipartBody1949981856152298813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265484531,"filename":"image_04112025_16_23_58_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1226591e6baac6aa09ebaf6faad1f02a.jpg","text":"TemporaryFile(/tmp/multipartBody35304150407666371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265484531,"filename":"image_04112025_16_24_03_1535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016283","file1":"1402016282","file0":"1402016281","file4":"1402016285","file5":"1402016286","file3":"1402016284"},"map_files_photo_id_array":[{"photo_id":"1402016286","filename":"file5"},{"photo_id":"1402016283","filename":"file2"},{"photo_id":"1402016285","filename":"file4"},{"photo_id":"1402016282","filename":"file1"},{"photo_id":"1402016281","filename":"file0"},{"photo_id":"1402016284","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016283":["hashtag1","hashtag2"]},{"1402016286":["hashtag1","hashtag2"]},{"1402016282":["hashtag1","hashtag2"]},{"1402016285":["hashtag1","hashtag2"]},{"1402016281":["hashtag1","hashtag2"]},{"1402016284":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016283, 1402016286, 1402016282, 1402016285, 1402016281, 1402016284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.750545024871826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:04:22.824080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/14/image_01012026_10_14_55_9653.jpg', '/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_14_10038.jpg', '/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_25_10883.jpg', '/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_35_9673.jpg', '/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_44_9732.jpg', '/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_54_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/14/image_01012026_10_14_55_9653.jpg
/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_14_10038.jpg
/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_25_10883.jpg
/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_35_9673.jpg
/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_44_9732.jpg
/home/pi/Desktop/images/01012026/10/16/image_01012026_10_16_54_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":["1402016292","1402016295","1402016294","1402016297","1402016288","1402016290"],"photo_ids_order":["1402016288","1402016290","1402016292","1402016294","1402016295","1402016297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbedf4402d82be3ba30065971a499157.jpg","text":"TemporaryFile(/tmp/multipartBody7070092585740557583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265523462,"filename":"image_01012026_10_16_25_10883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa9a3354d085afcec1baf04022c1ad78.jpg","text":"TemporaryFile(/tmp/multipartBody6055559619828862132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265523462,"filename":"image_01012026_10_16_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc07aa88b17bf62d166c2c77a731d730.jpg","text":"TemporaryFile(/tmp/multipartBody7493381442546636168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265523462,"filename":"image_01012026_10_16_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d38bcce6f8ba0653c89c2e7d82058ccc.jpg","text":"TemporaryFile(/tmp/multipartBody3926136082425798125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265523462,"filename":"image_01012026_10_16_54_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e57b606640c7ddd1a29745516487a2ad.jpg","text":"TemporaryFile(/tmp/multipartBody793588379694294209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265523462,"filename":"image_01012026_10_14_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7521a23432d86e4d7932d115b0d11850.jpg","text":"TemporaryFile(/tmp/multipartBody7199023756515218203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265523462,"filename":"image_01012026_10_16_14_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016292","file1":"1402016290","file0":"1402016288","file4":"1402016295","file5":"1402016297","file3":"1402016294"},"map_files_photo_id_array":[{"photo_id":"1402016297","filename":"file5"},{"photo_id":"1402016292","filename":"file2"},{"photo_id":"1402016295","filename":"file4"},{"photo_id":"1402016290","filename":"file1"},{"photo_id":"1402016288","filename":"file0"},{"photo_id":"1402016294","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016292":["hashtag1","hashtag2"]},{"1402016295":["hashtag1","hashtag2"]},{"1402016294":["hashtag1","hashtag2"]},{"1402016297":["hashtag1","hashtag2"]},{"1402016288":["hashtag1","hashtag2"]},{"1402016290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016292, 1402016295, 1402016294, 1402016297, 1402016288, 1402016290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73442196846008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:05:02.845755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/16/image_01012026_10_17_05_10581.jpg', '/home/pi/Desktop/images/01012026/10/17/image_01012026_10_17_14_9670.jpg', '/home/pi/Desktop/images/01012026/10/17/image_01012026_10_17_24_9738.jpg', '/home/pi/Desktop/images/01012026/10/17/image_01012026_10_17_35_10856.jpg', '/home/pi/Desktop/images/01012026/10/17/image_01012026_10_17_55_9938.jpg', '/home/pi/Desktop/images/01012026/10/17/image_01012026_10_18_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/16/image_01012026_10_17_05_10581.jpg
/home/pi/Desktop/images/01012026/10/17/image_01012026_10_17_14_9670.jpg
/home/pi/Desktop/images/01012026/10/17/image_01012026_10_17_24_9738.jpg
/home/pi/Desktop/images/01012026/10/17/image_01012026_10_17_35_10856.jpg
/home/pi/Desktop/images/01012026/10/17/image_01012026_10_17_55_9938.jpg
/home/pi/Desktop/images/01012026/10/17/image_01012026_10_18_04_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":["1402016302","1402016301","1402016300","1402016299","1402016303","1402016305"],"photo_ids_order":["1402016299","1402016300","1402016301","1402016302","1402016303","1402016305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb31cc823c8a400734b2e21f571a74f3.jpg","text":"TemporaryFile(/tmp/multipartBody6959786439758435683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265563599,"filename":"image_01012026_10_17_35_10856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f53fdea5853c3e4aa0b46835020a1c52.jpg","text":"TemporaryFile(/tmp/multipartBody3357601768716484488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265563599,"filename":"image_01012026_10_17_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/428bcf903d6235500a024e27c4960b43.jpg","text":"TemporaryFile(/tmp/multipartBody168165307390627052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265563599,"filename":"image_01012026_10_17_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5972fb6d16eb7bf31a988849c70f16bc.jpg","text":"TemporaryFile(/tmp/multipartBody7882188050229064533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265563599,"filename":"image_01012026_10_17_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91fafa72254766d8e767363b311f9615.jpg","text":"TemporaryFile(/tmp/multipartBody636841577755969319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265563599,"filename":"image_01012026_10_17_55_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c559d92948818bd4d38c18d4d56fa6f.jpg","text":"TemporaryFile(/tmp/multipartBody2593294477661373320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265563599,"filename":"image_01012026_10_18_04_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016301","file1":"1402016300","file0":"1402016299","file4":"1402016303","file5":"1402016305","file3":"1402016302"},"map_files_photo_id_array":[{"photo_id":"1402016305","filename":"file5"},{"photo_id":"1402016301","filename":"file2"},{"photo_id":"1402016303","filename":"file4"},{"photo_id":"1402016300","filename":"file1"},{"photo_id":"1402016299","filename":"file0"},{"photo_id":"1402016302","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016302":["hashtag1","hashtag2"]},{"1402016301":["hashtag1","hashtag2"]},{"1402016300":["hashtag1","hashtag2"]},{"1402016299":["hashtag1","hashtag2"]},{"1402016303":["hashtag1","hashtag2"]},{"1402016305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016302, 1402016301, 1402016300, 1402016299, 1402016303, 1402016305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58123230934143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:05:42.054372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_08_1559.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_09_1586.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_11_1462.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_12_1649.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_16_1689.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_19_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_08_1559.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_09_1586.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_11_1462.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_12_1649.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_16_1689.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_19_3691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016320","1402016322","1402016321","1402016309","1402016324","1402016323"],"photo_ids_order":["1402016309","1402016320","1402016321","1402016322","1402016323","1402016324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcaa86cf9f19faff20a6de230e661237.jpg","text":"TemporaryFile(/tmp/multipartBody5936498285485330451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265603923,"filename":"image_04112025_16_24_09_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c53a9629cd5033481f64482fc0334d5.jpg","text":"TemporaryFile(/tmp/multipartBody3011082414839609914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265603923,"filename":"image_04112025_16_24_12_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/573f1c65f19971282b75bb5fabdf42a1.jpg","text":"TemporaryFile(/tmp/multipartBody8529926749570655564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265603923,"filename":"image_04112025_16_24_11_1462.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74a9730b33e037c2bf056ec7c5bfb036.jpg","text":"TemporaryFile(/tmp/multipartBody4623408698493916690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265603923,"filename":"image_04112025_16_24_08_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/697455618198b3146fc7e59fc561fe48.jpg","text":"TemporaryFile(/tmp/multipartBody9012801626140801062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265603923,"filename":"image_04112025_16_24_19_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bf3a0c8d35ece3df261b6cb606e19b0.jpg","text":"TemporaryFile(/tmp/multipartBody3885934263861647945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265603923,"filename":"image_04112025_16_24_16_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016321","file1":"1402016320","file0":"1402016309","file4":"1402016323","file5":"1402016324","file3":"1402016322"},"map_files_photo_id_array":[{"photo_id":"1402016324","filename":"file5"},{"photo_id":"1402016321","filename":"file2"},{"photo_id":"1402016323","filename":"file4"},{"photo_id":"1402016320","filename":"file1"},{"photo_id":"1402016309","filename":"file0"},{"photo_id":"1402016322","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016320":["hashtag1","hashtag2"]},{"1402016322":["hashtag1","hashtag2"]},{"1402016321":["hashtag1","hashtag2"]},{"1402016309":["hashtag1","hashtag2"]},{"1402016324":["hashtag1","hashtag2"]},{"1402016323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016320, 1402016322, 1402016321, 1402016309, 1402016324, 1402016323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06775784492493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:06:22.254082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/18/image_01012026_10_18_15_10606.jpg', '/home/pi/Desktop/images/01012026/10/18/image_01012026_10_18_25_9664.jpg', '/home/pi/Desktop/images/01012026/10/18/image_01012026_10_18_45_10604.jpg', '/home/pi/Desktop/images/01012026/10/18/image_01012026_10_18_55_9808.jpg', '/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_14_9825.jpg', '/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_24_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/18/image_01012026_10_18_15_10606.jpg
/home/pi/Desktop/images/01012026/10/18/image_01012026_10_18_25_9664.jpg
/home/pi/Desktop/images/01012026/10/18/image_01012026_10_18_45_10604.jpg
/home/pi/Desktop/images/01012026/10/18/image_01012026_10_18_55_9808.jpg
/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_14_9825.jpg
/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_24_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":["1402016335","1402016328","1402016325","1402016330","1402016332","1402016326"],"photo_ids_order":["1402016325","1402016326","1402016328","1402016330","1402016332","1402016335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52b9ef2c8d2d38b73d7335e829cdb7c8.jpg","text":"TemporaryFile(/tmp/multipartBody3636483127834174675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265642931,"filename":"image_01012026_10_19_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/785ef12baa569186fd47b88e76f80b36.jpg","text":"TemporaryFile(/tmp/multipartBody4960050526316927404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265642931,"filename":"image_01012026_10_18_45_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73bb0945b24a4235991f278e73db7fe0.jpg","text":"TemporaryFile(/tmp/multipartBody1120710455744735015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265642931,"filename":"image_01012026_10_18_15_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a689c5bcb6b25583c4ad5a3e1dc31f3b.jpg","text":"TemporaryFile(/tmp/multipartBody1711842217282563845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265642931,"filename":"image_01012026_10_18_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7f40e79cc6e940febd6f29a8832e17b.jpg","text":"TemporaryFile(/tmp/multipartBody7746833351685257948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265642931,"filename":"image_01012026_10_19_14_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7880a53f71d4797bcf83b8ced7a3b146.jpg","text":"TemporaryFile(/tmp/multipartBody6039689905120685531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265642931,"filename":"image_01012026_10_18_25_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016328","file1":"1402016326","file0":"1402016325","file4":"1402016332","file5":"1402016335","file3":"1402016330"},"map_files_photo_id_array":[{"photo_id":"1402016335","filename":"file5"},{"photo_id":"1402016328","filename":"file2"},{"photo_id":"1402016332","filename":"file4"},{"photo_id":"1402016326","filename":"file1"},{"photo_id":"1402016325","filename":"file0"},{"photo_id":"1402016330","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016335":["hashtag1","hashtag2"]},{"1402016328":["hashtag1","hashtag2"]},{"1402016325":["hashtag1","hashtag2"]},{"1402016330":["hashtag1","hashtag2"]},{"1402016332":["hashtag1","hashtag2"]},{"1402016326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016335, 1402016328, 1402016325, 1402016330, 1402016332, 1402016326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27554512023926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:07:03.078312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_35_10742.jpg', '/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_45_9677.jpg', '/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_54_9676.jpg', '/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_15_10054.jpg', '/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_25_10728.jpg', '/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_35_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_35_10742.jpg
/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_45_9677.jpg
/home/pi/Desktop/images/01012026/10/19/image_01012026_10_19_54_9676.jpg
/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_15_10054.jpg
/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_25_10728.jpg
/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_35_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":["1402016340","1402016343","1402016345","1402016342","1402016344","1402016347"],"photo_ids_order":["1402016340","1402016342","1402016343","1402016344","1402016345","1402016347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54e1b20d7e9cf837aa1603dd5a734f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7747374947680623165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265683765,"filename":"image_01012026_10_19_35_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81497c39f1e6f1a879d5a5b89e800bcb.jpg","text":"TemporaryFile(/tmp/multipartBody480079408611495962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265683765,"filename":"image_01012026_10_19_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43d0e5e94732da6e156326bc3ca09b80.jpg","text":"TemporaryFile(/tmp/multipartBody6901108956653624074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265683765,"filename":"image_01012026_10_20_25_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b036f13c307bcf693a25221bbe24674.jpg","text":"TemporaryFile(/tmp/multipartBody8438533559073239117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265683765,"filename":"image_01012026_10_19_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc1b93e9bcd44045e4acac4333283eb3.jpg","text":"TemporaryFile(/tmp/multipartBody6499770520484597529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265683765,"filename":"image_01012026_10_20_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebc6b4de871948df3b7faeff4937aaac.jpg","text":"TemporaryFile(/tmp/multipartBody8515298923626438208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265683765,"filename":"image_01012026_10_20_35_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016343","file1":"1402016342","file0":"1402016340","file4":"1402016345","file5":"1402016347","file3":"1402016344"},"map_files_photo_id_array":[{"photo_id":"1402016347","filename":"file5"},{"photo_id":"1402016343","filename":"file2"},{"photo_id":"1402016345","filename":"file4"},{"photo_id":"1402016342","filename":"file1"},{"photo_id":"1402016340","filename":"file0"},{"photo_id":"1402016344","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016340":["hashtag1","hashtag2"]},{"1402016343":["hashtag1","hashtag2"]},{"1402016345":["hashtag1","hashtag2"]},{"1402016342":["hashtag1","hashtag2"]},{"1402016344":["hashtag1","hashtag2"]},{"1402016347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016340, 1402016343, 1402016345, 1402016342, 1402016344, 1402016347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16959524154663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:07:42.463408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_22_2559.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_25_3568.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_28_2569.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_31_2749.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_34_3571.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_37_2617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_22_2559.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_25_3568.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_28_2569.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_31_2749.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_34_3571.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_37_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":["1402016352","1402016349","1402016351","1402016354","1402016350","1402016353"],"photo_ids_order":["1402016349","1402016350","1402016351","1402016352","1402016353","1402016354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5535b565560b41f79cb082427d7d2a57.jpg","text":"TemporaryFile(/tmp/multipartBody4653102296191890359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265724332,"filename":"image_04112025_16_24_31_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1b177457ea79f85b9bfeced689dd1f9.jpg","text":"TemporaryFile(/tmp/multipartBody1006127457602195610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265724332,"filename":"image_04112025_16_24_22_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59980cf2cac42bbd4de08541dba53a58.jpg","text":"TemporaryFile(/tmp/multipartBody7140333329685591684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265724332,"filename":"image_04112025_16_24_28_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44a1d77127392492868d1dc759a474fb.jpg","text":"TemporaryFile(/tmp/multipartBody1351224821262230646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265724332,"filename":"image_04112025_16_24_37_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3b1ab50533d902091dd97b73b977fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6046479613865422560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265724332,"filename":"image_04112025_16_24_25_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39f5263e90e7f68ad43a2b1aecdc829d.jpg","text":"TemporaryFile(/tmp/multipartBody2584510319739975099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265724332,"filename":"image_04112025_16_24_34_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016351","file1":"1402016350","file0":"1402016349","file4":"1402016353","file5":"1402016354","file3":"1402016352"},"map_files_photo_id_array":[{"photo_id":"1402016354","filename":"file5"},{"photo_id":"1402016351","filename":"file2"},{"photo_id":"1402016353","filename":"file4"},{"photo_id":"1402016350","filename":"file1"},{"photo_id":"1402016349","filename":"file0"},{"photo_id":"1402016352","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016352":["hashtag1","hashtag2"]},{"1402016349":["hashtag1","hashtag2"]},{"1402016351":["hashtag1","hashtag2"]},{"1402016354":["hashtag1","hashtag2"]},{"1402016350":["hashtag1","hashtag2"]},{"1402016353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016352, 1402016349, 1402016351, 1402016354, 1402016350, 1402016353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44977903366089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:08:22.464845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_45_9610.jpg', '/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_55_10743.jpg', '/home/pi/Desktop/images/01012026/10/21/image_01012026_10_21_25_10594.jpg', '/home/pi/Desktop/images/01012026/10/21/image_01012026_10_21_35_9649.jpg', '/home/pi/Desktop/images/01012026/10/21/image_01012026_10_21_45_10604.jpg', '/home/pi/Desktop/images/01012026/10/21/image_01012026_10_21_55_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_45_9610.jpg
/home/pi/Desktop/images/01012026/10/20/image_01012026_10_20_55_10743.jpg
/home/pi/Desktop/images/01012026/10/21/image_01012026_10_21_25_10594.jpg
/home/pi/Desktop/images/01012026/10/21/image_01012026_10_21_35_9649.jpg
/home/pi/Desktop/images/01012026/10/21/image_01012026_10_21_45_10604.jpg
/home/pi/Desktop/images/01012026/10/21/image_01012026_10_21_55_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016361","1402016355","1402016363","1402016357","1402016365","1402016359"],"photo_ids_order":["1402016355","1402016357","1402016359","1402016361","1402016363","1402016365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f662ef77a052246d1e2e5378dbfe943.jpg","text":"TemporaryFile(/tmp/multipartBody6557975310887231407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265763104,"filename":"image_01012026_10_21_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d0196d4769b5056029c6c6562185554.jpg","text":"TemporaryFile(/tmp/multipartBody7473824403054547153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265763104,"filename":"image_01012026_10_20_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c0e6655d98b51ebafda6281e91e7b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5829771288999686531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265763104,"filename":"image_01012026_10_21_45_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cc0fac2f30343c64eb37922a95ef12e.jpg","text":"TemporaryFile(/tmp/multipartBody4257270332082755943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265763104,"filename":"image_01012026_10_20_55_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0f6f89f543016117e875c151e3fea12.jpg","text":"TemporaryFile(/tmp/multipartBody1928464736086455580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265763104,"filename":"image_01012026_10_21_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfb4d4468719593c98999b037410526a.jpg","text":"TemporaryFile(/tmp/multipartBody1556659025008167128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265763104,"filename":"image_01012026_10_21_25_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016359","file1":"1402016357","file0":"1402016355","file4":"1402016363","file5":"1402016365","file3":"1402016361"},"map_files_photo_id_array":[{"photo_id":"1402016365","filename":"file5"},{"photo_id":"1402016359","filename":"file2"},{"photo_id":"1402016363","filename":"file4"},{"photo_id":"1402016357","filename":"file1"},{"photo_id":"1402016355","filename":"file0"},{"photo_id":"1402016361","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016361":["hashtag1","hashtag2"]},{"1402016355":["hashtag1","hashtag2"]},{"1402016363":["hashtag1","hashtag2"]},{"1402016357":["hashtag1","hashtag2"]},{"1402016365":["hashtag1","hashtag2"]},{"1402016359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016361, 1402016355, 1402016363, 1402016357, 1402016365, 1402016359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.881444215774536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:09:03.331185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/21/image_01012026_10_22_05_9666.jpg', '/home/pi/Desktop/images/01012026/10/22/image_01012026_10_22_15_10650.jpg', '/home/pi/Desktop/images/01012026/10/22/image_01012026_10_22_25_9751.jpg', '/home/pi/Desktop/images/01012026/10/22/image_01012026_10_22_35_9679.jpg', '/home/pi/Desktop/images/01012026/10/22/image_01012026_10_22_55_10686.jpg', '/home/pi/Desktop/images/01012026/10/22/image_01012026_10_23_05_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/21/image_01012026_10_22_05_9666.jpg
/home/pi/Desktop/images/01012026/10/22/image_01012026_10_22_15_10650.jpg
/home/pi/Desktop/images/01012026/10/22/image_01012026_10_22_25_9751.jpg
/home/pi/Desktop/images/01012026/10/22/image_01012026_10_22_35_9679.jpg
/home/pi/Desktop/images/01012026/10/22/image_01012026_10_22_55_10686.jpg
/home/pi/Desktop/images/01012026/10/22/image_01012026_10_23_05_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016379","1402016381","1402016378","1402016380","1402016383","1402016377"],"photo_ids_order":["1402016377","1402016378","1402016379","1402016380","1402016381","1402016383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/997183675f153f0e63b38e9a5dde4283.jpg","text":"TemporaryFile(/tmp/multipartBody2321846352811329083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265804143,"filename":"image_01012026_10_22_25_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b6709af817170db257963fc96784a0e.jpg","text":"TemporaryFile(/tmp/multipartBody2995753243997470960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265804143,"filename":"image_01012026_10_22_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d96e02f43fdee180aa81e932d55ae459.jpg","text":"TemporaryFile(/tmp/multipartBody2600045337775762145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265804143,"filename":"image_01012026_10_22_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c65072dab8501c9e06fe4629f07c55a4.jpg","text":"TemporaryFile(/tmp/multipartBody6717778418838150859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265804143,"filename":"image_01012026_10_22_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a95dc4523592bb4c2d1a7a12f85a2fc.jpg","text":"TemporaryFile(/tmp/multipartBody8277467749038154330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265804143,"filename":"image_01012026_10_23_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32c7e24de4804b46e65855a123926fba.jpg","text":"TemporaryFile(/tmp/multipartBody7084502405966657236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265804143,"filename":"image_01012026_10_22_05_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016379","file1":"1402016378","file0":"1402016377","file4":"1402016381","file5":"1402016383","file3":"1402016380"},"map_files_photo_id_array":[{"photo_id":"1402016383","filename":"file5"},{"photo_id":"1402016379","filename":"file2"},{"photo_id":"1402016381","filename":"file4"},{"photo_id":"1402016378","filename":"file1"},{"photo_id":"1402016377","filename":"file0"},{"photo_id":"1402016380","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016379":["hashtag1","hashtag2"]},{"1402016381":["hashtag1","hashtag2"]},{"1402016378":["hashtag1","hashtag2"]},{"1402016380":["hashtag1","hashtag2"]},{"1402016383":["hashtag1","hashtag2"]},{"1402016377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016379, 1402016381, 1402016378, 1402016380, 1402016383, 1402016377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.209502935409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:09:42.628878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_43_2852.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_46_2473.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_49_2828.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_57_8609.jpg', '/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_59_1623.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_07_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_43_2852.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_46_2473.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_49_2828.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_57_8609.jpg
/home/pi/Desktop/images/04112025/16/24/image_04112025_16_24_59_1623.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_07_3015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016391","1402016394","1402016393","1402016390","1402016392","1402016389"],"photo_ids_order":["1402016389","1402016390","1402016391","1402016392","1402016393","1402016394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73fd229314cf2c25fc4a57e1032e1773.jpg","text":"TemporaryFile(/tmp/multipartBody8484065576068911319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265844494,"filename":"image_04112025_16_24_49_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/300bda537f3f06516d0336b78d8c25bf.jpg","text":"TemporaryFile(/tmp/multipartBody7861488374145807544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265844494,"filename":"image_04112025_16_26_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f949beb70cdae9e1e346a49bbcee572.jpg","text":"TemporaryFile(/tmp/multipartBody8875640683649735111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265844494,"filename":"image_04112025_16_24_59_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6298aa54d40f561ba8f3a806d9b06174.jpg","text":"TemporaryFile(/tmp/multipartBody4168350555071068527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265844494,"filename":"image_04112025_16_24_46_2473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3459005d1953650754a5317e8ad37a4.jpg","text":"TemporaryFile(/tmp/multipartBody256072108513935175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265844494,"filename":"image_04112025_16_24_57_8609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58b7ef5a418ba7805d62f4cfa44edba4.jpg","text":"TemporaryFile(/tmp/multipartBody4814216570412687132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265844494,"filename":"image_04112025_16_24_43_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016391","file1":"1402016390","file0":"1402016389","file4":"1402016393","file5":"1402016394","file3":"1402016392"},"map_files_photo_id_array":[{"photo_id":"1402016394","filename":"file5"},{"photo_id":"1402016391","filename":"file2"},{"photo_id":"1402016393","filename":"file4"},{"photo_id":"1402016390","filename":"file1"},{"photo_id":"1402016389","filename":"file0"},{"photo_id":"1402016392","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016391":["hashtag1","hashtag2"]},{"1402016394":["hashtag1","hashtag2"]},{"1402016393":["hashtag1","hashtag2"]},{"1402016390":["hashtag1","hashtag2"]},{"1402016392":["hashtag1","hashtag2"]},{"1402016389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016391, 1402016394, 1402016393, 1402016390, 1402016392, 1402016389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41417145729065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:10:22.812575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/23/image_01012026_10_23_35_10664.jpg', '/home/pi/Desktop/images/01012026/10/23/image_01012026_10_24_05_9796.jpg', '/home/pi/Desktop/images/01012026/10/24/image_01012026_10_24_15_10704.jpg', '/home/pi/Desktop/images/01012026/10/24/image_01012026_10_24_25_9943.jpg', '/home/pi/Desktop/images/01012026/10/24/image_01012026_10_24_55_9905.jpg', '/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_14_10058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/23/image_01012026_10_23_35_10664.jpg
/home/pi/Desktop/images/01012026/10/23/image_01012026_10_24_05_9796.jpg
/home/pi/Desktop/images/01012026/10/24/image_01012026_10_24_15_10704.jpg
/home/pi/Desktop/images/01012026/10/24/image_01012026_10_24_25_9943.jpg
/home/pi/Desktop/images/01012026/10/24/image_01012026_10_24_55_9905.jpg
/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_14_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016397","1402016401","1402016403","1402016406","1402016396","1402016399"],"photo_ids_order":["1402016396","1402016397","1402016399","1402016401","1402016403","1402016406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b30316f3c4b0c7155d297f2d5ff536db.jpg","text":"TemporaryFile(/tmp/multipartBody760021839479919812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265883442,"filename":"image_01012026_10_24_05_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/097c25a4858bb241d78c0ea3eba9c719.jpg","text":"TemporaryFile(/tmp/multipartBody7868964754324136270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265883442,"filename":"image_01012026_10_24_25_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/057477d259a6150b5a8801aaadeb7ef9.jpg","text":"TemporaryFile(/tmp/multipartBody6021560419306153350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265883442,"filename":"image_01012026_10_24_55_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a018d077800255ebc6697af3da942890.jpg","text":"TemporaryFile(/tmp/multipartBody9125532557950135883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265883442,"filename":"image_01012026_10_25_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73f31d226ca6577f39c654b33469e7ec.jpg","text":"TemporaryFile(/tmp/multipartBody610720796154722399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265883442,"filename":"image_01012026_10_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/2026/1/1/736593c58ac7befec07e60ace5ee76af.jpg","text":"TemporaryFile(/tmp/multipartBody5927458514843864508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265883442,"filename":"image_01012026_10_24_15_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016399","file1":"1402016397","file0":"1402016396","file4":"1402016403","file5":"1402016406","file3":"1402016401"},"map_files_photo_id_array":[{"photo_id":"1402016406","filename":"file5"},{"photo_id":"1402016399","filename":"file2"},{"photo_id":"1402016403","filename":"file4"},{"photo_id":"1402016397","filename":"file1"},{"photo_id":"1402016396","filename":"file0"},{"photo_id":"1402016401","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016397":["hashtag1","hashtag2"]},{"1402016401":["hashtag1","hashtag2"]},{"1402016403":["hashtag1","hashtag2"]},{"1402016406":["hashtag1","hashtag2"]},{"1402016396":["hashtag1","hashtag2"]},{"1402016399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016397, 1402016401, 1402016403, 1402016406, 1402016396, 1402016399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.642991065979004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:11:02.514117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_25_10812.jpg', '/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_35_9686.jpg', '/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_44_9762.jpg', '/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_55_10590.jpg', '/home/pi/Desktop/images/01012026/10/25/image_01012026_10_26_05_9725.jpg', '/home/pi/Desktop/images/01012026/10/26/image_01012026_10_26_24_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_25_10812.jpg
/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_35_9686.jpg
/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_44_9762.jpg
/home/pi/Desktop/images/01012026/10/25/image_01012026_10_25_55_10590.jpg
/home/pi/Desktop/images/01012026/10/25/image_01012026_10_26_05_9725.jpg
/home/pi/Desktop/images/01012026/10/26/image_01012026_10_26_24_9612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016409","1402016412","1402016411","1402016414","1402016408","1402016410"],"photo_ids_order":["1402016408","1402016409","1402016410","1402016411","1402016412","1402016414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcc609d5fe139d10d3b854891f3275de.jpg","text":"TemporaryFile(/tmp/multipartBody5146140145084136241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265923347,"filename":"image_01012026_10_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/2026/1/1/a1ecca4253c17b421015c65a95fb9cbc.jpg","text":"TemporaryFile(/tmp/multipartBody7365514877682023017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265923347,"filename":"image_01012026_10_26_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/155dbbdfa1080775e58fe6848495e38a.jpg","text":"TemporaryFile(/tmp/multipartBody4281156955218958377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265923347,"filename":"image_01012026_10_25_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8c6011ae47ef6b7874585e437959421.jpg","text":"TemporaryFile(/tmp/multipartBody7314914352219162566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265923347,"filename":"image_01012026_10_26_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e920d27ecdcc932fc9914162c2d9a516.jpg","text":"TemporaryFile(/tmp/multipartBody6885881249615646677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265923347,"filename":"image_01012026_10_25_25_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd4e7dc98f465d3ae797aea9911e1adf.jpg","text":"TemporaryFile(/tmp/multipartBody8152215993617638397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265923347,"filename":"image_01012026_10_25_44_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016410","file1":"1402016409","file0":"1402016408","file4":"1402016412","file5":"1402016414","file3":"1402016411"},"map_files_photo_id_array":[{"photo_id":"1402016414","filename":"file5"},{"photo_id":"1402016410","filename":"file2"},{"photo_id":"1402016412","filename":"file4"},{"photo_id":"1402016409","filename":"file1"},{"photo_id":"1402016408","filename":"file0"},{"photo_id":"1402016411","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016409":["hashtag1","hashtag2"]},{"1402016412":["hashtag1","hashtag2"]},{"1402016411":["hashtag1","hashtag2"]},{"1402016414":["hashtag1","hashtag2"]},{"1402016408":["hashtag1","hashtag2"]},{"1402016410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016409, 1402016412, 1402016411, 1402016414, 1402016408, 1402016410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98434352874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:11:42.090017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_15_7979.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_17_1690.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_18_1687.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_20_1569.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_22_2663.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_25_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_15_7979.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_17_1690.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_18_1687.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_20_1569.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_22_2663.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_25_2533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016433","1402016430","1402016432","1402016435","1402016431","1402016419"],"photo_ids_order":["1402016419","1402016430","1402016431","1402016432","1402016433","1402016435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b92eb2daccd59f9e9c734369a167ff9a.jpg","text":"TemporaryFile(/tmp/multipartBody7564841924312223035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265963967,"filename":"image_04112025_16_26_22_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62a1eece08edfde2939f0123116ce42e.jpg","text":"TemporaryFile(/tmp/multipartBody6009434481369744406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265963967,"filename":"image_04112025_16_26_17_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53dafe38eee80575baf86e2666862fe9.jpg","text":"TemporaryFile(/tmp/multipartBody2554750568354895833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265963967,"filename":"image_04112025_16_26_20_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8af6502c2162f5c1a9c73506ab8e5f96.jpg","text":"TemporaryFile(/tmp/multipartBody3449898426491403168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265963967,"filename":"image_04112025_16_26_25_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53a3f692b08dc0d20cec4d96495f5d90.jpg","text":"TemporaryFile(/tmp/multipartBody7580532864424261838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265963967,"filename":"image_04112025_16_26_18_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c442081db109ff23da554997bc9d77b2.jpg","text":"TemporaryFile(/tmp/multipartBody2070985259268303412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767265963967,"filename":"image_04112025_16_26_15_7979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016431","file1":"1402016430","file0":"1402016419","file4":"1402016433","file5":"1402016435","file3":"1402016432"},"map_files_photo_id_array":[{"photo_id":"1402016435","filename":"file5"},{"photo_id":"1402016431","filename":"file2"},{"photo_id":"1402016433","filename":"file4"},{"photo_id":"1402016430","filename":"file1"},{"photo_id":"1402016419","filename":"file0"},{"photo_id":"1402016432","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016433":["hashtag1","hashtag2"]},{"1402016430":["hashtag1","hashtag2"]},{"1402016432":["hashtag1","hashtag2"]},{"1402016435":["hashtag1","hashtag2"]},{"1402016431":["hashtag1","hashtag2"]},{"1402016419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016433, 1402016430, 1402016432, 1402016435, 1402016431, 1402016419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97535181045532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:12:22.231043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/26/image_01012026_10_26_35_10636.jpg', '/home/pi/Desktop/images/01012026/10/26/image_01012026_10_26_44_9637.jpg', '/home/pi/Desktop/images/01012026/10/26/image_01012026_10_26_55_10693.jpg', '/home/pi/Desktop/images/01012026/10/26/image_01012026_10_27_05_9846.jpg', '/home/pi/Desktop/images/01012026/10/27/image_01012026_10_27_15_9896.jpg', '/home/pi/Desktop/images/01012026/10/27/image_01012026_10_27_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/26/image_01012026_10_26_35_10636.jpg
/home/pi/Desktop/images/01012026/10/26/image_01012026_10_26_44_9637.jpg
/home/pi/Desktop/images/01012026/10/26/image_01012026_10_26_55_10693.jpg
/home/pi/Desktop/images/01012026/10/26/image_01012026_10_27_05_9846.jpg
/home/pi/Desktop/images/01012026/10/27/image_01012026_10_27_15_9896.jpg
/home/pi/Desktop/images/01012026/10/27/image_01012026_10_27_25_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016442","1402016436","1402016444","1402016438","1402016447","1402016440"],"photo_ids_order":["1402016436","1402016438","1402016440","1402016442","1402016444","1402016447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8267fafaa6d6ad193e67b2bc9864aa6.jpg","text":"TemporaryFile(/tmp/multipartBody744667120184205624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266002860,"filename":"image_01012026_10_27_05_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cab3f32a8db8610bf60079295f3594fa.jpg","text":"TemporaryFile(/tmp/multipartBody7033819701263668247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266002860,"filename":"image_01012026_10_26_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e837ffc67f8bf9e823f8ac7689f363e.jpg","text":"TemporaryFile(/tmp/multipartBody114741490377770122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266002860,"filename":"image_01012026_10_27_15_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96d26ba05cc8376cbaf7872856babc4f.jpg","text":"TemporaryFile(/tmp/multipartBody2616438298672922884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266002860,"filename":"image_01012026_10_26_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb5cba33b53885127a76e5304adb6b65.jpg","text":"TemporaryFile(/tmp/multipartBody410767753449989480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266002860,"filename":"image_01012026_10_27_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85d3446a9be2be664c6365e6b5228a90.jpg","text":"TemporaryFile(/tmp/multipartBody3481000892946859799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266002860,"filename":"image_01012026_10_26_55_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016440","file1":"1402016438","file0":"1402016436","file4":"1402016444","file5":"1402016447","file3":"1402016442"},"map_files_photo_id_array":[{"photo_id":"1402016447","filename":"file5"},{"photo_id":"1402016440","filename":"file2"},{"photo_id":"1402016444","filename":"file4"},{"photo_id":"1402016438","filename":"file1"},{"photo_id":"1402016436","filename":"file0"},{"photo_id":"1402016442","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016442":["hashtag1","hashtag2"]},{"1402016436":["hashtag1","hashtag2"]},{"1402016444":["hashtag1","hashtag2"]},{"1402016438":["hashtag1","hashtag2"]},{"1402016447":["hashtag1","hashtag2"]},{"1402016440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016442, 1402016436, 1402016444, 1402016438, 1402016447, 1402016440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79873776435852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:13:02.958115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/27/image_01012026_10_27_35_10554.jpg', '/home/pi/Desktop/images/01012026/10/27/image_01012026_10_27_45_9717.jpg', '/home/pi/Desktop/images/01012026/10/27/image_01012026_10_28_04_9593.jpg', '/home/pi/Desktop/images/01012026/10/28/image_01012026_10_28_15_10763.jpg', '/home/pi/Desktop/images/01012026/10/28/image_01012026_10_28_25_9666.jpg', '/home/pi/Desktop/images/01012026/10/28/image_01012026_10_28_34_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/27/image_01012026_10_27_35_10554.jpg
/home/pi/Desktop/images/01012026/10/27/image_01012026_10_27_45_9717.jpg
/home/pi/Desktop/images/01012026/10/27/image_01012026_10_28_04_9593.jpg
/home/pi/Desktop/images/01012026/10/28/image_01012026_10_28_15_10763.jpg
/home/pi/Desktop/images/01012026/10/28/image_01012026_10_28_25_9666.jpg
/home/pi/Desktop/images/01012026/10/28/image_01012026_10_28_34_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":["1402016454","1402016456","1402016453","1402016452","1402016455","1402016458"],"photo_ids_order":["1402016452","1402016453","1402016454","1402016455","1402016456","1402016458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bc911e013301c34cf65e82b15e45323.jpg","text":"TemporaryFile(/tmp/multipartBody9026629692876306562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266043637,"filename":"image_01012026_10_28_04_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b74b5d293dd98f1b86c6d17d6e6d199d.jpg","text":"TemporaryFile(/tmp/multipartBody6822291576089018920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266043637,"filename":"image_01012026_10_28_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b75376a08fa25d2cd0668d43e35e2560.jpg","text":"TemporaryFile(/tmp/multipartBody4755583083929070607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266043637,"filename":"image_01012026_10_27_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65f80e8588ba87da63b481a332639269.jpg","text":"TemporaryFile(/tmp/multipartBody3333266862260721172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266043637,"filename":"image_01012026_10_27_35_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80f35203814335da257721ee7fcfc2ac.jpg","text":"TemporaryFile(/tmp/multipartBody4491120604397696181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266043637,"filename":"image_01012026_10_28_15_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06ba9c19eaab83acd3f9bfcfb263ae91.jpg","text":"TemporaryFile(/tmp/multipartBody2202241287419035203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266043637,"filename":"image_01012026_10_28_34_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016454","file1":"1402016453","file0":"1402016452","file4":"1402016456","file5":"1402016458","file3":"1402016455"},"map_files_photo_id_array":[{"photo_id":"1402016458","filename":"file5"},{"photo_id":"1402016454","filename":"file2"},{"photo_id":"1402016456","filename":"file4"},{"photo_id":"1402016453","filename":"file1"},{"photo_id":"1402016452","filename":"file0"},{"photo_id":"1402016455","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016454":["hashtag1","hashtag2"]},{"1402016456":["hashtag1","hashtag2"]},{"1402016453":["hashtag1","hashtag2"]},{"1402016452":["hashtag1","hashtag2"]},{"1402016455":["hashtag1","hashtag2"]},{"1402016458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016454, 1402016456, 1402016453, 1402016452, 1402016455, 1402016458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92102861404419 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:13:42.426889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_28_2830.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_31_3176.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_35_3623.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_37_2657.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_44_3620.jpg', '/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_46_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_28_2830.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_31_3176.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_35_3623.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_37_2657.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_44_3620.jpg
/home/pi/Desktop/images/04112025/16/26/image_04112025_16_26_46_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":["1402016463","1402016466","1402016469","1402016465","1402016470","1402016467"],"photo_ids_order":["1402016463","1402016465","1402016466","1402016467","1402016469","1402016470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27062a4a6011d91ab9607d0f0def2712.jpg","text":"TemporaryFile(/tmp/multipartBody806540928320768968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266084283,"filename":"image_04112025_16_26_28_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/777ad84e076a67fd0a0ec130d76eb477.jpg","text":"TemporaryFile(/tmp/multipartBody4945966725335897824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266084283,"filename":"image_04112025_16_26_35_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6a8387ff3eb7b6cfdde6cbdfa1a5120.jpg","text":"TemporaryFile(/tmp/multipartBody1835057444304333122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266084283,"filename":"image_04112025_16_26_44_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10b3f1a2febe3511cae2268d8a99e3c6.jpg","text":"TemporaryFile(/tmp/multipartBody5766589937118063255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266084283,"filename":"image_04112025_16_26_31_3176.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/471536921e122a23eace754271129075.jpg","text":"TemporaryFile(/tmp/multipartBody4447240903567875857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266084283,"filename":"image_04112025_16_26_46_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/faade7c4479a380527afd778185d584b.jpg","text":"TemporaryFile(/tmp/multipartBody8059976550819811244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266084283,"filename":"image_04112025_16_26_37_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016466","file1":"1402016465","file0":"1402016463","file4":"1402016469","file5":"1402016470","file3":"1402016467"},"map_files_photo_id_array":[{"photo_id":"1402016470","filename":"file5"},{"photo_id":"1402016466","filename":"file2"},{"photo_id":"1402016469","filename":"file4"},{"photo_id":"1402016465","filename":"file1"},{"photo_id":"1402016463","filename":"file0"},{"photo_id":"1402016467","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016463":["hashtag1","hashtag2"]},{"1402016466":["hashtag1","hashtag2"]},{"1402016469":["hashtag1","hashtag2"]},{"1402016465":["hashtag1","hashtag2"]},{"1402016470":["hashtag1","hashtag2"]},{"1402016467":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016463, 1402016466, 1402016469, 1402016465, 1402016470, 1402016467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25854134559631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:14:22.691822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/28/image_01012026_10_28_55_9785.jpg', '/home/pi/Desktop/images/01012026/10/28/image_01012026_10_29_05_9727.jpg', '/home/pi/Desktop/images/01012026/10/29/image_01012026_10_29_25_10861.jpg', '/home/pi/Desktop/images/01012026/10/29/image_01012026_10_29_35_9867.jpg', '/home/pi/Desktop/images/01012026/10/29/image_01012026_10_29_55_9708.jpg', '/home/pi/Desktop/images/01012026/10/30/image_01012026_10_30_25_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/28/image_01012026_10_28_55_9785.jpg
/home/pi/Desktop/images/01012026/10/28/image_01012026_10_29_05_9727.jpg
/home/pi/Desktop/images/01012026/10/29/image_01012026_10_29_25_10861.jpg
/home/pi/Desktop/images/01012026/10/29/image_01012026_10_29_35_9867.jpg
/home/pi/Desktop/images/01012026/10/29/image_01012026_10_29_55_9708.jpg
/home/pi/Desktop/images/01012026/10/30/image_01012026_10_30_25_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":["1402016481","1402016475","1402016489","1402016477","1402016479","1402016473"],"photo_ids_order":["1402016473","1402016475","1402016477","1402016479","1402016481","1402016489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61a03d693bd761563e02c24216a66f79.jpg","text":"TemporaryFile(/tmp/multipartBody2976391089861139568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266123325,"filename":"image_01012026_10_29_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c85b5f891ad9d9eff33508e50604c41f.jpg","text":"TemporaryFile(/tmp/multipartBody2912101846838091639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266123325,"filename":"image_01012026_10_29_05_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/029513d28b9bf935bd3e4491245e88a1.jpg","text":"TemporaryFile(/tmp/multipartBody5783847419727504043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266123325,"filename":"image_01012026_10_30_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0233c59f86552d6be1dcbf36ae143ffc.jpg","text":"TemporaryFile(/tmp/multipartBody4268822760101412343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266123325,"filename":"image_01012026_10_29_25_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f5113f6b6728747e61206dfb84fc689.jpg","text":"TemporaryFile(/tmp/multipartBody888814697790597469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266123325,"filename":"image_01012026_10_29_35_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f27033807ec424c44d0c53c790b69801.jpg","text":"TemporaryFile(/tmp/multipartBody380004540977001207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266123325,"filename":"image_01012026_10_28_55_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016477","file1":"1402016475","file0":"1402016473","file4":"1402016481","file5":"1402016489","file3":"1402016479"},"map_files_photo_id_array":[{"photo_id":"1402016489","filename":"file5"},{"photo_id":"1402016477","filename":"file2"},{"photo_id":"1402016481","filename":"file4"},{"photo_id":"1402016475","filename":"file1"},{"photo_id":"1402016473","filename":"file0"},{"photo_id":"1402016479","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016481":["hashtag1","hashtag2"]},{"1402016475":["hashtag1","hashtag2"]},{"1402016489":["hashtag1","hashtag2"]},{"1402016477":["hashtag1","hashtag2"]},{"1402016479":["hashtag1","hashtag2"]},{"1402016473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016481, 1402016475, 1402016489, 1402016477, 1402016479, 1402016473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.715580224990845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:15:03.479451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/30/image_01012026_10_30_35_9658.jpg', '/home/pi/Desktop/images/01012026/10/30/image_01012026_10_30_46_10542.jpg', '/home/pi/Desktop/images/01012026/10/30/image_01012026_10_30_55_9666.jpg', '/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_16_10751.jpg', '/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_25_9606.jpg', '/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_35_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/30/image_01012026_10_30_35_9658.jpg
/home/pi/Desktop/images/01012026/10/30/image_01012026_10_30_46_10542.jpg
/home/pi/Desktop/images/01012026/10/30/image_01012026_10_30_55_9666.jpg
/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_16_10751.jpg
/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_25_9606.jpg
/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_35_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":["1402016496","1402016500","1402016499","1402016502","1402016498","1402016497"],"photo_ids_order":["1402016496","1402016497","1402016498","1402016499","1402016500","1402016502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2fb547e3339a2927a70ae9b39529aaf2.jpg","text":"TemporaryFile(/tmp/multipartBody2901086554179014913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266164177,"filename":"image_01012026_10_30_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88f8fb7b2908321a6464a11e7a503c36.jpg","text":"TemporaryFile(/tmp/multipartBody741176555805534885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266164177,"filename":"image_01012026_10_31_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9b0dbb421b1603c15df636d1f45de88.jpg","text":"TemporaryFile(/tmp/multipartBody6210711034807572412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266164177,"filename":"image_01012026_10_31_16_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a10f7cdfa7bd4be87c3109dfa9bc62d.jpg","text":"TemporaryFile(/tmp/multipartBody789616564859940069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266164177,"filename":"image_01012026_10_31_35_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ca328ced5dd02a208db0ed8adaa6c76.jpg","text":"TemporaryFile(/tmp/multipartBody737279224092969540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266164177,"filename":"image_01012026_10_30_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0af85fae44970abf7a0e3245d1a9d9be.jpg","text":"TemporaryFile(/tmp/multipartBody8782091638804845877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266164177,"filename":"image_01012026_10_30_46_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016498","file1":"1402016497","file0":"1402016496","file4":"1402016500","file5":"1402016502","file3":"1402016499"},"map_files_photo_id_array":[{"photo_id":"1402016502","filename":"file5"},{"photo_id":"1402016498","filename":"file2"},{"photo_id":"1402016500","filename":"file4"},{"photo_id":"1402016497","filename":"file1"},{"photo_id":"1402016496","filename":"file0"},{"photo_id":"1402016499","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016496":["hashtag1","hashtag2"]},{"1402016500":["hashtag1","hashtag2"]},{"1402016499":["hashtag1","hashtag2"]},{"1402016502":["hashtag1","hashtag2"]},{"1402016498":["hashtag1","hashtag2"]},{"1402016497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016496, 1402016500, 1402016499, 1402016502, 1402016498, 1402016497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.164214849472046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:15:42.874654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_01_14116.jpg', '/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_14_12049.jpg', '/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_16_1557.jpg', '/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_37_21460.jpg', '/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_39_1677.jpg', '/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_44_4573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_01_14116.jpg
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_14_12049.jpg
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_16_1557.jpg
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_37_21460.jpg
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_39_1677.jpg
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_44_4573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016512","1402016509","1402016511","1402016510","1402016513","1402016507"],"photo_ids_order":["1402016507","1402016509","1402016510","1402016511","1402016512","1402016513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45c1f54900fc4b7944e42a59ab1287d0.jpg","text":"TemporaryFile(/tmp/multipartBody2142878285014349314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266204743,"filename":"image_04112025_16_27_39_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b21be2c5533a062e0616e6dd1b4afe97.jpg","text":"TemporaryFile(/tmp/multipartBody5480579974895895474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266204743,"filename":"image_04112025_16_27_14_12049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79a9f30ca36708ff090cec1b6d9f8f88.jpg","text":"TemporaryFile(/tmp/multipartBody823081674553456624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266204743,"filename":"image_04112025_16_27_37_21460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/747cfbf0d90d738ba17e403168b25fa3.jpg","text":"TemporaryFile(/tmp/multipartBody8020482370975226580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266204743,"filename":"image_04112025_16_27_16_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8532d082147bf19929fe6fc978ecc59a.jpg","text":"TemporaryFile(/tmp/multipartBody8683435663989274276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266204743,"filename":"image_04112025_16_27_44_4573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89df9cfb6f6530e32ffe5f78ebb378b9.jpg","text":"TemporaryFile(/tmp/multipartBody331266925149460474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266204743,"filename":"image_04112025_16_27_01_14116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016510","file1":"1402016509","file0":"1402016507","file4":"1402016512","file5":"1402016513","file3":"1402016511"},"map_files_photo_id_array":[{"photo_id":"1402016513","filename":"file5"},{"photo_id":"1402016510","filename":"file2"},{"photo_id":"1402016512","filename":"file4"},{"photo_id":"1402016509","filename":"file1"},{"photo_id":"1402016507","filename":"file0"},{"photo_id":"1402016511","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016512":["hashtag1","hashtag2"]},{"1402016509":["hashtag1","hashtag2"]},{"1402016511":["hashtag1","hashtag2"]},{"1402016510":["hashtag1","hashtag2"]},{"1402016513":["hashtag1","hashtag2"]},{"1402016507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016512, 1402016509, 1402016511, 1402016510, 1402016513, 1402016507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23539996147156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:16:22.077618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_46_10645.jpg', '/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_55_9895.jpg', '/home/pi/Desktop/images/01012026/10/31/image_01012026_10_32_05_9654.jpg', '/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_16_10643.jpg', '/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_25_9768.jpg', '/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_35_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_46_10645.jpg
/home/pi/Desktop/images/01012026/10/31/image_01012026_10_31_55_9895.jpg
/home/pi/Desktop/images/01012026/10/31/image_01012026_10_32_05_9654.jpg
/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_16_10643.jpg
/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_25_9768.jpg
/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_35_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":["1402016520","1402016514","1402016525","1402016522","1402016516","1402016518"],"photo_ids_order":["1402016514","1402016516","1402016518","1402016520","1402016522","1402016525"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/965e56742501a46b31643f1b2047db17.jpg","text":"TemporaryFile(/tmp/multipartBody7217930482739720024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266242752,"filename":"image_01012026_10_32_16_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/388f2f016b9f02e281404b3790a4e20b.jpg","text":"TemporaryFile(/tmp/multipartBody4009359290195230211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266242752,"filename":"image_01012026_10_31_46_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00bd13ed7fa65d3534b1c9e160a776fd.jpg","text":"TemporaryFile(/tmp/multipartBody4110988070468010863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266242752,"filename":"image_01012026_10_32_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/098a098325af8e0f67d11bf6e9ac9514.jpg","text":"TemporaryFile(/tmp/multipartBody8399690028665567259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266242752,"filename":"image_01012026_10_32_25_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd9be214f40a75c04d965b8757b30244.jpg","text":"TemporaryFile(/tmp/multipartBody4222652175475465313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266242752,"filename":"image_01012026_10_31_55_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/582991a1da7bcc3ada15dfef9131766d.jpg","text":"TemporaryFile(/tmp/multipartBody6133501581235946781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266242752,"filename":"image_01012026_10_32_05_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016518","file1":"1402016516","file0":"1402016514","file4":"1402016522","file5":"1402016525","file3":"1402016520"},"map_files_photo_id_array":[{"photo_id":"1402016525","filename":"file5"},{"photo_id":"1402016518","filename":"file2"},{"photo_id":"1402016522","filename":"file4"},{"photo_id":"1402016516","filename":"file1"},{"photo_id":"1402016514","filename":"file0"},{"photo_id":"1402016520","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016520":["hashtag1","hashtag2"]},{"1402016514":["hashtag1","hashtag2"]},{"1402016525":["hashtag1","hashtag2"]},{"1402016522":["hashtag1","hashtag2"]},{"1402016516":["hashtag1","hashtag2"]},{"1402016518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016520, 1402016514, 1402016525, 1402016522, 1402016516, 1402016518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.119654417037964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:17:02.984124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_45_10008.jpg', '/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_55_9658.jpg', '/home/pi/Desktop/images/01012026/10/33/image_01012026_10_33_35_9710.jpg', '/home/pi/Desktop/images/01012026/10/33/image_01012026_10_33_45_9788.jpg', '/home/pi/Desktop/images/01012026/10/33/image_01012026_10_33_56_10699.jpg', '/home/pi/Desktop/images/01012026/10/33/image_01012026_10_34_05_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_45_10008.jpg
/home/pi/Desktop/images/01012026/10/32/image_01012026_10_32_55_9658.jpg
/home/pi/Desktop/images/01012026/10/33/image_01012026_10_33_35_9710.jpg
/home/pi/Desktop/images/01012026/10/33/image_01012026_10_33_45_9788.jpg
/home/pi/Desktop/images/01012026/10/33/image_01012026_10_33_56_10699.jpg
/home/pi/Desktop/images/01012026/10/33/image_01012026_10_34_05_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":["1402016527","1402016529","1402016531","1402016528","1402016533","1402016530"],"photo_ids_order":["1402016527","1402016528","1402016529","1402016530","1402016531","1402016533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47927bf115b38a1143303e8730581f46.jpg","text":"TemporaryFile(/tmp/multipartBody5659490999530195694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266283671,"filename":"image_01012026_10_32_45_10008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb4fbbc77c5f0f0f5d2e23bc4b8b5bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2442907901869080929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266283671,"filename":"image_01012026_10_33_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc6832f7f9b2c3ec0a7428b867041613.jpg","text":"TemporaryFile(/tmp/multipartBody4361453741770728377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266283671,"filename":"image_01012026_10_33_56_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49f523de791391ad5654863e6a54b5ee.jpg","text":"TemporaryFile(/tmp/multipartBody1189512340401127063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266283671,"filename":"image_01012026_10_32_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67bb24d9628743cf34c2b62ed36fbbea.jpg","text":"TemporaryFile(/tmp/multipartBody2971350112160651183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266283671,"filename":"image_01012026_10_34_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48dd1fa3ee4b8f68f6d5c11f01f08502.jpg","text":"TemporaryFile(/tmp/multipartBody7356693225816881894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266283671,"filename":"image_01012026_10_33_45_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016529","file1":"1402016528","file0":"1402016527","file4":"1402016531","file5":"1402016533","file3":"1402016530"},"map_files_photo_id_array":[{"photo_id":"1402016533","filename":"file5"},{"photo_id":"1402016529","filename":"file2"},{"photo_id":"1402016531","filename":"file4"},{"photo_id":"1402016528","filename":"file1"},{"photo_id":"1402016527","filename":"file0"},{"photo_id":"1402016530","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016527":["hashtag1","hashtag2"]},{"1402016529":["hashtag1","hashtag2"]},{"1402016531":["hashtag1","hashtag2"]},{"1402016528":["hashtag1","hashtag2"]},{"1402016533":["hashtag1","hashtag2"]},{"1402016530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016527, 1402016529, 1402016531, 1402016528, 1402016533, 1402016530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02220630645752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:17:42.252157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_45_1635.jpg', '/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_57_1710.jpg', '/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_58_1536.jpg', '/home/pi/Desktop/images/04112025/16/27/image_04112025_16_28_00_1565.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_03_1718.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_05_1649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_45_1635.jpg
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_57_1710.jpg
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_27_58_1536.jpg
/home/pi/Desktop/images/04112025/16/27/image_04112025_16_28_00_1565.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_03_1718.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_05_1649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016550","1402016553","1402016538","1402016555","1402016552","1402016551"],"photo_ids_order":["1402016538","1402016550","1402016551","1402016552","1402016553","1402016555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efa825e0f39de9462039b867025b651b.jpg","text":"TemporaryFile(/tmp/multipartBody2058294727374661473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266324153,"filename":"image_04112025_16_27_57_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a374ce929253a3ecb5bcf568ffeef7bc.jpg","text":"TemporaryFile(/tmp/multipartBody277238848135874269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266324153,"filename":"image_04112025_16_28_03_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7101a99d75b8b1ee55cd18bd0a1bc77c.jpg","text":"TemporaryFile(/tmp/multipartBody7596051838430883668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266324153,"filename":"image_04112025_16_27_45_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4e9e89fafde92d8a28d8714d201d7dc.jpg","text":"TemporaryFile(/tmp/multipartBody5867843390916777851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266324153,"filename":"image_04112025_16_28_05_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34728612a371395c4959cc694c8f2935.jpg","text":"TemporaryFile(/tmp/multipartBody3411228363442395372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266324153,"filename":"image_04112025_16_28_00_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c191e75637016e9008d551ec6e0c6c68.jpg","text":"TemporaryFile(/tmp/multipartBody5390194990059674896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266324153,"filename":"image_04112025_16_27_58_1536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016551","file1":"1402016550","file0":"1402016538","file4":"1402016553","file5":"1402016555","file3":"1402016552"},"map_files_photo_id_array":[{"photo_id":"1402016555","filename":"file5"},{"photo_id":"1402016551","filename":"file2"},{"photo_id":"1402016553","filename":"file4"},{"photo_id":"1402016550","filename":"file1"},{"photo_id":"1402016538","filename":"file0"},{"photo_id":"1402016552","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016550":["hashtag1","hashtag2"]},{"1402016553":["hashtag1","hashtag2"]},{"1402016538":["hashtag1","hashtag2"]},{"1402016555":["hashtag1","hashtag2"]},{"1402016552":["hashtag1","hashtag2"]},{"1402016551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016550, 1402016553, 1402016538, 1402016555, 1402016552, 1402016551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.101234436035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:18:22.376259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_15_9668.jpg', '/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_26_10570.jpg', '/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_35_9714.jpg', '/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_45_9680.jpg', '/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_56_10767.jpg', '/home/pi/Desktop/images/01012026/10/35/image_01012026_10_35_34_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_15_9668.jpg
/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_26_10570.jpg
/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_35_9714.jpg
/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_45_9680.jpg
/home/pi/Desktop/images/01012026/10/34/image_01012026_10_34_56_10767.jpg
/home/pi/Desktop/images/01012026/10/35/image_01012026_10_35_34_9624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016565","1402016561","1402016564","1402016566","1402016560","1402016557"],"photo_ids_order":["1402016557","1402016560","1402016561","1402016564","1402016565","1402016566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d55e9f71716e9bdbae5d2c066c63285.jpg","text":"TemporaryFile(/tmp/multipartBody7973683687838858399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266363005,"filename":"image_01012026_10_34_56_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1043d1a1d774af3fd89091bf9b7ba44.jpg","text":"TemporaryFile(/tmp/multipartBody5084585993321673127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266363005,"filename":"image_01012026_10_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/2026/1/1/d6dcd65654ed448ece430bef0a2fcb0e.jpg","text":"TemporaryFile(/tmp/multipartBody8179406716995303882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266363005,"filename":"image_01012026_10_34_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b426af42dbdae9179e43edba897aba95.jpg","text":"TemporaryFile(/tmp/multipartBody8776593079208773090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266363005,"filename":"image_01012026_10_35_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51cd6d524933c6e0db057924c9a3e51f.jpg","text":"TemporaryFile(/tmp/multipartBody5024806242976817665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266363005,"filename":"image_01012026_10_34_26_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed8a006692c1789b991680026c0592fb.jpg","text":"TemporaryFile(/tmp/multipartBody9150808547803532196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266363005,"filename":"image_01012026_10_34_15_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016561","file1":"1402016560","file0":"1402016557","file4":"1402016565","file5":"1402016566","file3":"1402016564"},"map_files_photo_id_array":[{"photo_id":"1402016566","filename":"file5"},{"photo_id":"1402016561","filename":"file2"},{"photo_id":"1402016565","filename":"file4"},{"photo_id":"1402016560","filename":"file1"},{"photo_id":"1402016557","filename":"file0"},{"photo_id":"1402016564","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016565":["hashtag1","hashtag2"]},{"1402016561":["hashtag1","hashtag2"]},{"1402016564":["hashtag1","hashtag2"]},{"1402016566":["hashtag1","hashtag2"]},{"1402016560":["hashtag1","hashtag2"]},{"1402016557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016565, 1402016561, 1402016564, 1402016566, 1402016560, 1402016557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4149112701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:19:03.680307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/35/image_01012026_10_35_43_9628.jpg', '/home/pi/Desktop/images/01012026/10/35/image_01012026_10_35_54_10703.jpg', '/home/pi/Desktop/images/01012026/10/35/image_01012026_10_36_04_9620.jpg', '/home/pi/Desktop/images/01012026/10/36/image_01012026_10_36_24_9695.jpg', '/home/pi/Desktop/images/01012026/10/36/image_01012026_10_36_44_9652.jpg', '/home/pi/Desktop/images/01012026/10/36/image_01012026_10_36_53_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/35/image_01012026_10_35_43_9628.jpg
/home/pi/Desktop/images/01012026/10/35/image_01012026_10_35_54_10703.jpg
/home/pi/Desktop/images/01012026/10/35/image_01012026_10_36_04_9620.jpg
/home/pi/Desktop/images/01012026/10/36/image_01012026_10_36_24_9695.jpg
/home/pi/Desktop/images/01012026/10/36/image_01012026_10_36_44_9652.jpg
/home/pi/Desktop/images/01012026/10/36/image_01012026_10_36_53_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":["1402016571","1402016568","1402016573","1402016567","1402016570","1402016569"],"photo_ids_order":["1402016567","1402016568","1402016569","1402016570","1402016571","1402016573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55b1f7d47e848bc13d1bf383f11268fb.jpg","text":"TemporaryFile(/tmp/multipartBody8186520778068792798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266404498,"filename":"image_01012026_10_36_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd2384aaf5fc9ae120d7a4e1a287a205.jpg","text":"TemporaryFile(/tmp/multipartBody3689388239283198014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266404498,"filename":"image_01012026_10_35_54_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebc6b0c08ee0cb7ae1fd12c4bb5336aa.jpg","text":"TemporaryFile(/tmp/multipartBody6250536422512849855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266404498,"filename":"image_01012026_10_36_53_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5c70dac5becac0cb159e015e28f1f04.jpg","text":"TemporaryFile(/tmp/multipartBody1930974063720132040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266404498,"filename":"image_01012026_10_35_43_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0c56bb8cccd8d67e687bcf45c177d08.jpg","text":"TemporaryFile(/tmp/multipartBody9102230041127181950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266404498,"filename":"image_01012026_10_36_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f2e76e2e9f1e554aef5044354768ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6491306449144408735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266404498,"filename":"image_01012026_10_36_04_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016569","file1":"1402016568","file0":"1402016567","file4":"1402016571","file5":"1402016573","file3":"1402016570"},"map_files_photo_id_array":[{"photo_id":"1402016573","filename":"file5"},{"photo_id":"1402016569","filename":"file2"},{"photo_id":"1402016571","filename":"file4"},{"photo_id":"1402016568","filename":"file1"},{"photo_id":"1402016567","filename":"file0"},{"photo_id":"1402016570","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016571":["hashtag1","hashtag2"]},{"1402016568":["hashtag1","hashtag2"]},{"1402016573":["hashtag1","hashtag2"]},{"1402016567":["hashtag1","hashtag2"]},{"1402016570":["hashtag1","hashtag2"]},{"1402016569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016571, 1402016568, 1402016573, 1402016567, 1402016570, 1402016569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36447358131409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:19:42.595865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_06_1543.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_08_1626.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_11_1498.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_12_1670.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_17_1555.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_21_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_06_1543.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_08_1626.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_11_1498.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_12_1670.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_17_1555.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_21_1625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016583","1402016585","1402016582","1402016579","1402016584","1402016581"],"photo_ids_order":["1402016579","1402016581","1402016582","1402016583","1402016584","1402016585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2d15c5c32b3faa2c50646fde0a6294b.jpg","text":"TemporaryFile(/tmp/multipartBody1788615993171187510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266444342,"filename":"image_04112025_16_28_12_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8a52f921bf077749464df2bba8c184c.jpg","text":"TemporaryFile(/tmp/multipartBody3496917505388025055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266444342,"filename":"image_04112025_16_28_21_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b72d36c5a23bd92fe877f6fb52e2b83.jpg","text":"TemporaryFile(/tmp/multipartBody8108590828898989352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266444342,"filename":"image_04112025_16_28_11_1498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a14c04d63298b5b108d9d5913058717a.jpg","text":"TemporaryFile(/tmp/multipartBody2555972168065238263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266444342,"filename":"image_04112025_16_28_06_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb34fbfee54c3e4f82e7ec315cbef54e.jpg","text":"TemporaryFile(/tmp/multipartBody2273427941412523424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266444342,"filename":"image_04112025_16_28_17_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12c0b05457f3df78d30ede43ae02fa0c.jpg","text":"TemporaryFile(/tmp/multipartBody2486026413171689382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266444342,"filename":"image_04112025_16_28_08_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016582","file1":"1402016581","file0":"1402016579","file4":"1402016584","file5":"1402016585","file3":"1402016583"},"map_files_photo_id_array":[{"photo_id":"1402016585","filename":"file5"},{"photo_id":"1402016582","filename":"file2"},{"photo_id":"1402016584","filename":"file4"},{"photo_id":"1402016581","filename":"file1"},{"photo_id":"1402016579","filename":"file0"},{"photo_id":"1402016583","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016583":["hashtag1","hashtag2"]},{"1402016585":["hashtag1","hashtag2"]},{"1402016582":["hashtag1","hashtag2"]},{"1402016579":["hashtag1","hashtag2"]},{"1402016584":["hashtag1","hashtag2"]},{"1402016581":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016583, 1402016585, 1402016582, 1402016579, 1402016584, 1402016581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25883173942566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:20:21.906635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/37/image_01012026_10_37_24_10659.jpg', '/home/pi/Desktop/images/01012026/10/37/image_01012026_10_37_34_9794.jpg', '/home/pi/Desktop/images/01012026/10/37/image_01012026_10_37_44_9718.jpg', '/home/pi/Desktop/images/01012026/10/37/image_01012026_10_38_04_10708.jpg', '/home/pi/Desktop/images/01012026/10/38/image_01012026_10_38_34_10624.jpg', '/home/pi/Desktop/images/01012026/10/38/image_01012026_10_38_44_9870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/37/image_01012026_10_37_24_10659.jpg
/home/pi/Desktop/images/01012026/10/37/image_01012026_10_37_34_9794.jpg
/home/pi/Desktop/images/01012026/10/37/image_01012026_10_37_44_9718.jpg
/home/pi/Desktop/images/01012026/10/37/image_01012026_10_38_04_10708.jpg
/home/pi/Desktop/images/01012026/10/38/image_01012026_10_38_34_10624.jpg
/home/pi/Desktop/images/01012026/10/38/image_01012026_10_38_44_9870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016591","1402016594","1402016588","1402016606","1402016596","1402016587"],"photo_ids_order":["1402016587","1402016588","1402016591","1402016594","1402016596","1402016606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c13d14bc7eb1ed881ad61c04539d32e0.jpg","text":"TemporaryFile(/tmp/multipartBody6492964309715704588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266482577,"filename":"image_01012026_10_37_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea67c316f30cbd3750fae3e7b3518be5.jpg","text":"TemporaryFile(/tmp/multipartBody6912996241884685340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266482577,"filename":"image_01012026_10_38_04_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65515c71fc93f258b1cb52f4630afd39.jpg","text":"TemporaryFile(/tmp/multipartBody1766512586483302619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266482577,"filename":"image_01012026_10_37_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ade19aa568f2f158916a61e41c4fb69e.jpg","text":"TemporaryFile(/tmp/multipartBody1407474637533313856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266482577,"filename":"image_01012026_10_38_44_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c3de010cf7015d6cbbc795ca3bf88a1.jpg","text":"TemporaryFile(/tmp/multipartBody4031193469198346331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266482577,"filename":"image_01012026_10_38_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76b827a0042fff4224cac3b1baa60891.jpg","text":"TemporaryFile(/tmp/multipartBody4211164226013393188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266482577,"filename":"image_01012026_10_37_24_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016591","file1":"1402016588","file0":"1402016587","file4":"1402016596","file5":"1402016606","file3":"1402016594"},"map_files_photo_id_array":[{"photo_id":"1402016606","filename":"file5"},{"photo_id":"1402016591","filename":"file2"},{"photo_id":"1402016596","filename":"file4"},{"photo_id":"1402016588","filename":"file1"},{"photo_id":"1402016587","filename":"file0"},{"photo_id":"1402016594","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016591":["hashtag1","hashtag2"]},{"1402016594":["hashtag1","hashtag2"]},{"1402016588":["hashtag1","hashtag2"]},{"1402016606":["hashtag1","hashtag2"]},{"1402016596":["hashtag1","hashtag2"]},{"1402016587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016591, 1402016594, 1402016588, 1402016606, 1402016596, 1402016587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87792706489563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:21:02.786729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/38/image_01012026_10_38_54_9708.jpg', '/home/pi/Desktop/images/01012026/10/38/image_01012026_10_39_03_9577.jpg', '/home/pi/Desktop/images/01012026/10/39/image_01012026_10_39_14_10657.jpg', '/home/pi/Desktop/images/01012026/10/39/image_01012026_10_39_24_9745.jpg', '/home/pi/Desktop/images/01012026/10/39/image_01012026_10_39_54_9718.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_15_10052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/38/image_01012026_10_38_54_9708.jpg
/home/pi/Desktop/images/01012026/10/38/image_01012026_10_39_03_9577.jpg
/home/pi/Desktop/images/01012026/10/39/image_01012026_10_39_14_10657.jpg
/home/pi/Desktop/images/01012026/10/39/image_01012026_10_39_24_9745.jpg
/home/pi/Desktop/images/01012026/10/39/image_01012026_10_39_54_9718.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_15_10052.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016613","1402016616","1402016618","1402016612","1402016614","1402016617"],"photo_ids_order":["1402016612","1402016613","1402016614","1402016616","1402016617","1402016618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6573b8c6328d5fa02c718fd57f290e2.jpg","text":"TemporaryFile(/tmp/multipartBody4698591748496383045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266523545,"filename":"image_01012026_10_39_03_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf0ee9f0bf1c811e9e788e1eb7ed76bb.jpg","text":"TemporaryFile(/tmp/multipartBody4903571371128688915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266523545,"filename":"image_01012026_10_39_24_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f56f9232bd95c2560c3ca1d7553d98b.jpg","text":"TemporaryFile(/tmp/multipartBody3704059960164626604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266523545,"filename":"image_01012026_10_40_15_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3493446cc8fdf1479fe02320d506441.jpg","text":"TemporaryFile(/tmp/multipartBody2575611660000737193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266523545,"filename":"image_01012026_10_38_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/393b156dee9b855d0d3b7c8592b4c738.jpg","text":"TemporaryFile(/tmp/multipartBody423755765490778954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266523545,"filename":"image_01012026_10_39_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10734c0f357ba638f1e13ba465243b66.jpg","text":"TemporaryFile(/tmp/multipartBody2447772308590667403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266523545,"filename":"image_01012026_10_39_54_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016614","file1":"1402016613","file0":"1402016612","file4":"1402016617","file5":"1402016618","file3":"1402016616"},"map_files_photo_id_array":[{"photo_id":"1402016618","filename":"file5"},{"photo_id":"1402016614","filename":"file2"},{"photo_id":"1402016617","filename":"file4"},{"photo_id":"1402016613","filename":"file1"},{"photo_id":"1402016612","filename":"file0"},{"photo_id":"1402016616","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016613":["hashtag1","hashtag2"]},{"1402016616":["hashtag1","hashtag2"]},{"1402016618":["hashtag1","hashtag2"]},{"1402016612":["hashtag1","hashtag2"]},{"1402016614":["hashtag1","hashtag2"]},{"1402016617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016613, 1402016616, 1402016618, 1402016612, 1402016614, 1402016617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33632707595825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:21:42.151089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_22_1544.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_42_4212.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_53_10088.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_55_1759.jpg', '/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_57_1638.jpg', '/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_19_21078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_22_1544.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_42_4212.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_53_10088.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_55_1759.jpg
/home/pi/Desktop/images/04112025/16/28/image_04112025_16_28_57_1638.jpg
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_19_21078.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016626","1402016628","1402016622","1402016624","1402016627","1402016629"],"photo_ids_order":["1402016622","1402016624","1402016626","1402016627","1402016628","1402016629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3429989a92875f43e536fa390f3baa1.jpg","text":"TemporaryFile(/tmp/multipartBody848552145591536885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266564082,"filename":"image_04112025_16_28_53_10088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a744fd9f94981d93e7fc71f4d5a8f29b.jpg","text":"TemporaryFile(/tmp/multipartBody4946662348929695089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266564082,"filename":"image_04112025_16_28_57_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95926546bf3549f89aaaff82cdc63e36.jpg","text":"TemporaryFile(/tmp/multipartBody4343340663279281938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266564082,"filename":"image_04112025_16_28_22_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c5507b8c64765e3f5560a73c866b956.jpg","text":"TemporaryFile(/tmp/multipartBody6534398863731227903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266564082,"filename":"image_04112025_16_28_42_4212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a2ac211bdf875e48a6c6bde7cfa6e68.jpg","text":"TemporaryFile(/tmp/multipartBody4393713034059911496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266564082,"filename":"image_04112025_16_28_55_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a435867950951686ca806597f1df8512.jpg","text":"TemporaryFile(/tmp/multipartBody8590222173504105666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266564082,"filename":"image_04112025_16_29_19_21078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016626","file1":"1402016624","file0":"1402016622","file4":"1402016628","file5":"1402016629","file3":"1402016627"},"map_files_photo_id_array":[{"photo_id":"1402016629","filename":"file5"},{"photo_id":"1402016626","filename":"file2"},{"photo_id":"1402016628","filename":"file4"},{"photo_id":"1402016624","filename":"file1"},{"photo_id":"1402016622","filename":"file0"},{"photo_id":"1402016627","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016626":["hashtag1","hashtag2"]},{"1402016628":["hashtag1","hashtag2"]},{"1402016622":["hashtag1","hashtag2"]},{"1402016624":["hashtag1","hashtag2"]},{"1402016627":["hashtag1","hashtag2"]},{"1402016629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016626, 1402016628, 1402016622, 1402016624, 1402016627, 1402016629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.718947887420654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:22:22.314436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_26_10628.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_35_9660.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_45_9674.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_56_10721.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_41_05_9756.jpg', '/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_15_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_26_10628.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_35_9660.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_45_9674.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_56_10721.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_41_05_9756.jpg
/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_15_9723.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.5296778678894043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:22:32.369397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_21_1490.jpg', '/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_37_16366.jpg', '/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_39_1648.jpg', '/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_40_1578.jpg', '/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_42_1750.jpg', '/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_44_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_21_1490.jpg
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_37_16366.jpg
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_39_1648.jpg
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_40_1578.jpg
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_42_1750.jpg
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_44_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016643","1402016646","1402016636","1402016645","1402016639","1402016647"],"photo_ids_order":["1402016636","1402016639","1402016643","1402016645","1402016646","1402016647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c5a6de64e178f81191be33ef5e6d4e3.jpg","text":"TemporaryFile(/tmp/multipartBody4248097886957376416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266614295,"filename":"image_04112025_16_29_39_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4370bbb1a366286bd725bf68c89c4b45.jpg","text":"TemporaryFile(/tmp/multipartBody8717609582973487445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266614295,"filename":"image_04112025_16_29_42_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/feb3dcf738fa88e146eb13773b6320fe.jpg","text":"TemporaryFile(/tmp/multipartBody7709088145523190046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266614295,"filename":"image_04112025_16_29_21_1490.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c682315b1d4912666bbbd49d803c745b.jpg","text":"TemporaryFile(/tmp/multipartBody3385254569823365792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266614295,"filename":"image_04112025_16_29_40_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c3796a56302d550b8063576e2efb21b.jpg","text":"TemporaryFile(/tmp/multipartBody4300438953270485722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266614295,"filename":"image_04112025_16_29_37_16366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/344b5ec58cdffd8751085c82c53a603a.jpg","text":"TemporaryFile(/tmp/multipartBody482338676735298967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266614295,"filename":"image_04112025_16_29_44_1670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016643","file1":"1402016639","file0":"1402016636","file4":"1402016646","file5":"1402016647","file3":"1402016645"},"map_files_photo_id_array":[{"photo_id":"1402016647","filename":"file5"},{"photo_id":"1402016643","filename":"file2"},{"photo_id":"1402016646","filename":"file4"},{"photo_id":"1402016639","filename":"file1"},{"photo_id":"1402016636","filename":"file0"},{"photo_id":"1402016645","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016643":["hashtag1","hashtag2"]},{"1402016646":["hashtag1","hashtag2"]},{"1402016636":["hashtag1","hashtag2"]},{"1402016645":["hashtag1","hashtag2"]},{"1402016639":["hashtag1","hashtag2"]},{"1402016647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016643, 1402016646, 1402016636, 1402016645, 1402016639, 1402016647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11647367477417 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:23:12.490653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_51_1641.jpg', '/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_52_1628.jpg', '/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_54_1551.jpg', '/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_20_11790.jpg', '/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_46_26082.jpg', '/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_52_5922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_51_1641.jpg
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_52_1628.jpg
/home/pi/Desktop/images/04112025/16/29/image_04112025_16_29_54_1551.jpg
/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_20_11790.jpg
/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_46_26082.jpg
/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_52_5922.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016649","1402016654","1402016648","1402016651","1402016653","1402016656"],"photo_ids_order":["1402016648","1402016649","1402016651","1402016653","1402016654","1402016656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a06d8c2e17556812c949c29c7a6a191.jpg","text":"TemporaryFile(/tmp/multipartBody788960691306167155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266654271,"filename":"image_04112025_16_29_52_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d04ac9100004aa16f222131b3efab53.jpg","text":"TemporaryFile(/tmp/multipartBody2198703811486963971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266654271,"filename":"image_04112025_16_30_46_26082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16615a21dce86bda14e9197a9c6d83ef.jpg","text":"TemporaryFile(/tmp/multipartBody6384695585851330298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266654271,"filename":"image_04112025_16_29_51_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4a3e180f2fae2d70786ee8ee37c547a.jpg","text":"TemporaryFile(/tmp/multipartBody1487493688367929815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266654271,"filename":"image_04112025_16_29_54_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c97813a3239b7caed6415e57ccf8bf86.jpg","text":"TemporaryFile(/tmp/multipartBody4150915950763754535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266654271,"filename":"image_04112025_16_30_20_11790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8de265eaf05689384b0a8807cb22765.jpg","text":"TemporaryFile(/tmp/multipartBody1170148057286620645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266654271,"filename":"image_04112025_16_30_52_5922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016651","file1":"1402016649","file0":"1402016648","file4":"1402016654","file5":"1402016656","file3":"1402016653"},"map_files_photo_id_array":[{"photo_id":"1402016656","filename":"file5"},{"photo_id":"1402016651","filename":"file2"},{"photo_id":"1402016654","filename":"file4"},{"photo_id":"1402016649","filename":"file1"},{"photo_id":"1402016648","filename":"file0"},{"photo_id":"1402016653","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016649":["hashtag1","hashtag2"]},{"1402016654":["hashtag1","hashtag2"]},{"1402016648":["hashtag1","hashtag2"]},{"1402016651":["hashtag1","hashtag2"]},{"1402016653":["hashtag1","hashtag2"]},{"1402016656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016649, 1402016654, 1402016648, 1402016651, 1402016653, 1402016656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66528558731079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:24:03.390891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_26_10628.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_35_9660.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_45_9674.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_56_10721.jpg', '/home/pi/Desktop/images/01012026/10/40/image_01012026_10_41_05_9756.jpg', '/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_15_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_26_10628.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_35_9660.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_45_9674.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_40_56_10721.jpg
/home/pi/Desktop/images/01012026/10/40/image_01012026_10_41_05_9756.jpg
/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_15_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":["1402016676","1402016673","1402016675","1402016669","1402016678","1402016671"],"photo_ids_order":["1402016669","1402016671","1402016673","1402016675","1402016676","1402016678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a901ebecdfe71a88e30ec036b74522e2.jpg","text":"TemporaryFile(/tmp/multipartBody8382823006538911051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266704106,"filename":"image_01012026_10_41_05_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a7d08c03c557caf50ba7ccf2883b60b.jpg","text":"TemporaryFile(/tmp/multipartBody7347162671244844828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266704106,"filename":"image_01012026_10_40_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b45dba75cdc8869e24045410c00f7cc3.jpg","text":"TemporaryFile(/tmp/multipartBody4111202308672586297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266704106,"filename":"image_01012026_10_40_56_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c444993b89dd92e0e85c016504838a4.jpg","text":"TemporaryFile(/tmp/multipartBody3590647637600510535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266704106,"filename":"image_01012026_10_40_26_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a951e8549a26edb4fc3f15e3c01f19f9.jpg","text":"TemporaryFile(/tmp/multipartBody4611699038767134076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266704106,"filename":"image_01012026_10_41_15_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/952554c090a0686f982881c73984293f.jpg","text":"TemporaryFile(/tmp/multipartBody6861152184258296307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266704106,"filename":"image_01012026_10_40_35_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016673","file1":"1402016671","file0":"1402016669","file4":"1402016676","file5":"1402016678","file3":"1402016675"},"map_files_photo_id_array":[{"photo_id":"1402016678","filename":"file5"},{"photo_id":"1402016673","filename":"file2"},{"photo_id":"1402016676","filename":"file4"},{"photo_id":"1402016671","filename":"file1"},{"photo_id":"1402016669","filename":"file0"},{"photo_id":"1402016675","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016676":["hashtag1","hashtag2"]},{"1402016673":["hashtag1","hashtag2"]},{"1402016675":["hashtag1","hashtag2"]},{"1402016669":["hashtag1","hashtag2"]},{"1402016678":["hashtag1","hashtag2"]},{"1402016671":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016676, 1402016673, 1402016675, 1402016669, 1402016678, 1402016671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20785713195801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:24:42.795913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_54_1614.jpg', '/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_56_1522.jpg', '/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_57_1766.jpg', '/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_59_1618.jpg', '/home/pi/Desktop/images/04112025/16/30/image_04112025_16_31_00_1589.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_02_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_54_1614.jpg
/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_56_1522.jpg
/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_57_1766.jpg
/home/pi/Desktop/images/04112025/16/30/image_04112025_16_30_59_1618.jpg
/home/pi/Desktop/images/04112025/16/30/image_04112025_16_31_00_1589.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_02_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":["1402016688","1402016685","1402016687","1402016683","1402016686","1402016689"],"photo_ids_order":["1402016683","1402016685","1402016686","1402016687","1402016688","1402016689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c91cae6d60b0877f14a5acbfbd01dff7.jpg","text":"TemporaryFile(/tmp/multipartBody9085185492225049168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266744709,"filename":"image_04112025_16_31_00_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a881294e63859472b9e5c49f7ccd99d9.jpg","text":"TemporaryFile(/tmp/multipartBody4339350431471040562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266744709,"filename":"image_04112025_16_30_56_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/714f4216bf556768fbcc4d1454042dde.jpg","text":"TemporaryFile(/tmp/multipartBody5379878252580115737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266744709,"filename":"image_04112025_16_30_59_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51f0e1324ffe71eae97964b42942c467.jpg","text":"TemporaryFile(/tmp/multipartBody6316440935587758881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266744709,"filename":"image_04112025_16_30_54_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44428d2b9454c12d5dc116d3e686647d.jpg","text":"TemporaryFile(/tmp/multipartBody6147256783748961415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266744709,"filename":"image_04112025_16_30_57_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5411c39cabd92444ac389f18d582878.jpg","text":"TemporaryFile(/tmp/multipartBody1049506661543327414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266744709,"filename":"image_04112025_16_31_02_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016686","file1":"1402016685","file0":"1402016683","file4":"1402016688","file5":"1402016689","file3":"1402016687"},"map_files_photo_id_array":[{"photo_id":"1402016689","filename":"file5"},{"photo_id":"1402016686","filename":"file2"},{"photo_id":"1402016688","filename":"file4"},{"photo_id":"1402016685","filename":"file1"},{"photo_id":"1402016683","filename":"file0"},{"photo_id":"1402016687","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016688":["hashtag1","hashtag2"]},{"1402016685":["hashtag1","hashtag2"]},{"1402016687":["hashtag1","hashtag2"]},{"1402016683":["hashtag1","hashtag2"]},{"1402016686":["hashtag1","hashtag2"]},{"1402016689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016688, 1402016685, 1402016687, 1402016683, 1402016686, 1402016689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91142559051514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:25:22.053630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_26_10758.jpg', '/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_36_9670.jpg', '/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_45_9667.jpg', '/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_56_10666.jpg', '/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_36_10549.jpg', '/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_45_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_26_10758.jpg
/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_36_9670.jpg
/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_45_9667.jpg
/home/pi/Desktop/images/01012026/10/41/image_01012026_10_41_56_10666.jpg
/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_36_10549.jpg
/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_45_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":["1402016694","1402016697","1402016699","1402016690","1402016693","1402016696"],"photo_ids_order":["1402016690","1402016693","1402016694","1402016696","1402016697","1402016699"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f3e8f5d5117288bcbd4a6dd0ebb7a63.jpg","text":"TemporaryFile(/tmp/multipartBody2287187623834785511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266782693,"filename":"image_01012026_10_41_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28f68cfdf9c3c2fda25e60e4d5d6ca02.jpg","text":"TemporaryFile(/tmp/multipartBody8594876468300757706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266782693,"filename":"image_01012026_10_42_36_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac2745c60480d91fcb1086677b94c7b4.jpg","text":"TemporaryFile(/tmp/multipartBody5279939042939599653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266782693,"filename":"image_01012026_10_42_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17fc1db818b033dc888989fb5c5731dd.jpg","text":"TemporaryFile(/tmp/multipartBody1689239175304959240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266782693,"filename":"image_01012026_10_41_26_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbf4d096f267bb585c34b45181fcb484.jpg","text":"TemporaryFile(/tmp/multipartBody4220552731906762531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266782693,"filename":"image_01012026_10_41_36_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2bd1eb8307b874af5b57767b188f08c.jpg","text":"TemporaryFile(/tmp/multipartBody4907314706020520364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266782693,"filename":"image_01012026_10_41_56_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016694","file1":"1402016693","file0":"1402016690","file4":"1402016697","file5":"1402016699","file3":"1402016696"},"map_files_photo_id_array":[{"photo_id":"1402016699","filename":"file5"},{"photo_id":"1402016694","filename":"file2"},{"photo_id":"1402016697","filename":"file4"},{"photo_id":"1402016693","filename":"file1"},{"photo_id":"1402016690","filename":"file0"},{"photo_id":"1402016696","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016694":["hashtag1","hashtag2"]},{"1402016697":["hashtag1","hashtag2"]},{"1402016699":["hashtag1","hashtag2"]},{"1402016690":["hashtag1","hashtag2"]},{"1402016693":["hashtag1","hashtag2"]},{"1402016696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016694, 1402016697, 1402016699, 1402016690, 1402016693, 1402016696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29992747306824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:26:02.606597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_55_9642.jpg', '/home/pi/Desktop/images/01012026/10/42/image_01012026_10_43_06_10727.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_15_9787.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_25_9751.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_36_10649.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_46_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_55_9642.jpg
/home/pi/Desktop/images/01012026/10/42/image_01012026_10_43_06_10727.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_15_9787.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_25_9751.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_36_10649.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_46_9718.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.5705821514129639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:26:12.114859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_04_1769.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_06_1785.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_08_2349.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_10_1593.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_11_1517.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_13_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_04_1769.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_06_1785.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_08_2349.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_10_1593.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_11_1517.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_13_1663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016710","1402016712","1402016706","1402016703","1402016714","1402016708"],"photo_ids_order":["1402016703","1402016706","1402016708","1402016710","1402016712","1402016714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb6b41b0ee27d6de04ed1c43ea0822cf.jpg","text":"TemporaryFile(/tmp/multipartBody2250087307558083098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266833849,"filename":"image_04112025_16_31_10_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e192e4e9b695ab1bcbe0f44b1e0470b8.jpg","text":"TemporaryFile(/tmp/multipartBody2933729681926131030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266833849,"filename":"image_04112025_16_31_11_1517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60a5e6c3fd702c9da5cca752423308a5.jpg","text":"TemporaryFile(/tmp/multipartBody5841821387877779278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266833849,"filename":"image_04112025_16_31_06_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79e0136bd2bac3f37052a0ef1c920253.jpg","text":"TemporaryFile(/tmp/multipartBody1385862130818874854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266833849,"filename":"image_04112025_16_31_04_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b324a7aed3171bdd1bab2f2e3fc279e3.jpg","text":"TemporaryFile(/tmp/multipartBody4655245757801535675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266833849,"filename":"image_04112025_16_31_13_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2889fff7f6a858a63d02dc1526bcda7.jpg","text":"TemporaryFile(/tmp/multipartBody7366271355251530213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266833849,"filename":"image_04112025_16_31_08_2349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016708","file1":"1402016706","file0":"1402016703","file4":"1402016712","file5":"1402016714","file3":"1402016710"},"map_files_photo_id_array":[{"photo_id":"1402016714","filename":"file5"},{"photo_id":"1402016708","filename":"file2"},{"photo_id":"1402016712","filename":"file4"},{"photo_id":"1402016706","filename":"file1"},{"photo_id":"1402016703","filename":"file0"},{"photo_id":"1402016710","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016710":["hashtag1","hashtag2"]},{"1402016712":["hashtag1","hashtag2"]},{"1402016706":["hashtag1","hashtag2"]},{"1402016703":["hashtag1","hashtag2"]},{"1402016714":["hashtag1","hashtag2"]},{"1402016708":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016710, 1402016712, 1402016706, 1402016703, 1402016714, 1402016708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38193225860596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:27:02.909439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_55_9642.jpg', '/home/pi/Desktop/images/01012026/10/42/image_01012026_10_43_06_10727.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_15_9787.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_25_9751.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_36_10649.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_46_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_55_9642.jpg
/home/pi/Desktop/images/01012026/10/42/image_01012026_10_43_06_10727.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_15_9787.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_25_9751.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_36_10649.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_46_9718.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.6272938251495361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:27:12.473585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_15_1730.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_16_1665.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_29_13033.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_31_1732.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_33_1624.jpg', '/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_34_1520.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_15_1730.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_16_1665.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_29_13033.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_31_1732.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_33_1624.jpg
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_34_1520.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016742","1402016733","1402016736","1402016738","1402016731","1402016740"],"photo_ids_order":["1402016731","1402016733","1402016736","1402016738","1402016740","1402016742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbdd4b1aab42a29b8c7d79fc6a5265a8.jpg","text":"TemporaryFile(/tmp/multipartBody496079644126036854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266894243,"filename":"image_04112025_16_31_34_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94d49b91f16ff095d82655456f51ac61.jpg","text":"TemporaryFile(/tmp/multipartBody1875514249495403998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266894243,"filename":"image_04112025_16_31_16_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c2483222cd2a120cbb2df35d37eb869.jpg","text":"TemporaryFile(/tmp/multipartBody5545411747714487501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266894243,"filename":"image_04112025_16_31_29_13033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e08df5c6d1b320fb01d4f62ebcbb1479.jpg","text":"TemporaryFile(/tmp/multipartBody3796733339935274530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266894243,"filename":"image_04112025_16_31_31_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2564b44276554fc35998b6715c0bd36f.jpg","text":"TemporaryFile(/tmp/multipartBody8060389002844728886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266894243,"filename":"image_04112025_16_31_15_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25463f4f34015e220fda9b1703a6eaf0.jpg","text":"TemporaryFile(/tmp/multipartBody22632141404893021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266894243,"filename":"image_04112025_16_31_33_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016736","file1":"1402016733","file0":"1402016731","file4":"1402016740","file5":"1402016742","file3":"1402016738"},"map_files_photo_id_array":[{"photo_id":"1402016742","filename":"file5"},{"photo_id":"1402016736","filename":"file2"},{"photo_id":"1402016740","filename":"file4"},{"photo_id":"1402016733","filename":"file1"},{"photo_id":"1402016731","filename":"file0"},{"photo_id":"1402016738","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016742":["hashtag1","hashtag2"]},{"1402016733":["hashtag1","hashtag2"]},{"1402016736":["hashtag1","hashtag2"]},{"1402016738":["hashtag1","hashtag2"]},{"1402016731":["hashtag1","hashtag2"]},{"1402016740":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016742, 1402016733, 1402016736, 1402016738, 1402016731, 1402016740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89936542510986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:28:02.838568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_55_9642.jpg', '/home/pi/Desktop/images/01012026/10/42/image_01012026_10_43_06_10727.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_15_9787.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_25_9751.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_36_10649.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_46_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/42/image_01012026_10_42_55_9642.jpg
/home/pi/Desktop/images/01012026/10/42/image_01012026_10_43_06_10727.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_15_9787.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_25_9751.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_36_10649.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_46_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016745","1402016748","1402016750","1402016752","1402016746","1402016749"],"photo_ids_order":["1402016745","1402016746","1402016748","1402016749","1402016750","1402016752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34b68900fd34b247f964908c15e5c627.jpg","text":"TemporaryFile(/tmp/multipartBody8961843574109459070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266943502,"filename":"image_01012026_10_42_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb38bff8139cf5abc84d395e8a6011d9.jpg","text":"TemporaryFile(/tmp/multipartBody6993665854606240434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266943502,"filename":"image_01012026_10_43_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/966c07a48d007747c35e3f977c4400f4.jpg","text":"TemporaryFile(/tmp/multipartBody6918036644083038155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266943502,"filename":"image_01012026_10_43_36_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32b1b568531cfec406d8d93a4d671295.jpg","text":"TemporaryFile(/tmp/multipartBody2500606093519448652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266943502,"filename":"image_01012026_10_43_46_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01533d42bc90511ca4c0b9b15838144d.jpg","text":"TemporaryFile(/tmp/multipartBody7426035626534793935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266943502,"filename":"image_01012026_10_43_06_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed32fbe121672ad5b8e23b4380801793.jpg","text":"TemporaryFile(/tmp/multipartBody7521869356919699679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266943502,"filename":"image_01012026_10_43_25_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016748","file1":"1402016746","file0":"1402016745","file4":"1402016750","file5":"1402016752","file3":"1402016749"},"map_files_photo_id_array":[{"photo_id":"1402016752","filename":"file5"},{"photo_id":"1402016748","filename":"file2"},{"photo_id":"1402016750","filename":"file4"},{"photo_id":"1402016746","filename":"file1"},{"photo_id":"1402016745","filename":"file0"},{"photo_id":"1402016749","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016745":["hashtag1","hashtag2"]},{"1402016748":["hashtag1","hashtag2"]},{"1402016750":["hashtag1","hashtag2"]},{"1402016752":["hashtag1","hashtag2"]},{"1402016746":["hashtag1","hashtag2"]},{"1402016749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016745, 1402016748, 1402016750, 1402016752, 1402016746, 1402016749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.680887937545776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:28:42.450529
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_53_18454.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_24_31944.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_26_1718.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_28_1680.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_31_3038.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_34_2819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/31/image_04112025_16_31_53_18454.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_24_31944.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_26_1718.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_28_1680.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_31_3038.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_34_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":["1402016763","1402016765","1402016762","1402016764","1402016758","1402016761"],"photo_ids_order":["1402016758","1402016761","1402016762","1402016763","1402016764","1402016765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ef821edb6183a1d984b85002db5e38e.jpg","text":"TemporaryFile(/tmp/multipartBody6918438894289194576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266984335,"filename":"image_04112025_16_32_28_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e777cb436efcbfc7af2156d0bb2c50d.jpg","text":"TemporaryFile(/tmp/multipartBody8836661912814050940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266984335,"filename":"image_04112025_16_32_34_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63a864c4bced8f28ab0025ff92d905fc.jpg","text":"TemporaryFile(/tmp/multipartBody3983180383821804133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266984335,"filename":"image_04112025_16_32_26_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bb93ec1cf6fce227de4aecf537dfae7.jpg","text":"TemporaryFile(/tmp/multipartBody3095075418094857273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266984335,"filename":"image_04112025_16_32_31_3038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/759a9ebc3258496ebf94193f1e57d4a5.jpg","text":"TemporaryFile(/tmp/multipartBody1026800584838432364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266984335,"filename":"image_04112025_16_31_53_18454.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a994598d11b327712242c38e32e4b39.jpg","text":"TemporaryFile(/tmp/multipartBody3347433364574316424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767266984335,"filename":"image_04112025_16_32_24_31944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016762","file1":"1402016761","file0":"1402016758","file4":"1402016764","file5":"1402016765","file3":"1402016763"},"map_files_photo_id_array":[{"photo_id":"1402016765","filename":"file5"},{"photo_id":"1402016762","filename":"file2"},{"photo_id":"1402016764","filename":"file4"},{"photo_id":"1402016761","filename":"file1"},{"photo_id":"1402016758","filename":"file0"},{"photo_id":"1402016763","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016763":["hashtag1","hashtag2"]},{"1402016765":["hashtag1","hashtag2"]},{"1402016762":["hashtag1","hashtag2"]},{"1402016764":["hashtag1","hashtag2"]},{"1402016758":["hashtag1","hashtag2"]},{"1402016761":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016763, 1402016765, 1402016762, 1402016764, 1402016758, 1402016761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3418025970459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:29:22.695735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_56_9980.jpg', '/home/pi/Desktop/images/01012026/10/43/image_01012026_10_44_06_9997.jpg', '/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_15_9660.jpg', '/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_25_9814.jpg', '/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_36_10722.jpg', '/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_46_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_43_56_9980.jpg
/home/pi/Desktop/images/01012026/10/43/image_01012026_10_44_06_9997.jpg
/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_15_9660.jpg
/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_25_9814.jpg
/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_36_10722.jpg
/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_46_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":["1402016775","1402016771","1402016768","1402016777","1402016788","1402016773"],"photo_ids_order":["1402016768","1402016771","1402016773","1402016775","1402016777","1402016788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e293ca038f488f7b03f2bdbd5b41946c.jpg","text":"TemporaryFile(/tmp/multipartBody6471882805852806900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267023346,"filename":"image_01012026_10_44_25_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/929f1c56681da7b071708f85f397a087.jpg","text":"TemporaryFile(/tmp/multipartBody3136133044634675291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267023346,"filename":"image_01012026_10_44_06_9997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd3aad21743f65ea9b92e898362acf69.jpg","text":"TemporaryFile(/tmp/multipartBody7504733976781414652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267023346,"filename":"image_01012026_10_43_56_9980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4cd0edb69595ef4dc2eeed92ebb657f5.jpg","text":"TemporaryFile(/tmp/multipartBody7764484555801732432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267023346,"filename":"image_01012026_10_44_36_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e82023252f4886c3194983b92379a51.jpg","text":"TemporaryFile(/tmp/multipartBody56143303289868353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267023346,"filename":"image_01012026_10_44_46_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc71b9dd7be42686bd7c8e2bdab6f3c3.jpg","text":"TemporaryFile(/tmp/multipartBody4150168429581041212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267023346,"filename":"image_01012026_10_44_15_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016773","file1":"1402016771","file0":"1402016768","file4":"1402016777","file5":"1402016788","file3":"1402016775"},"map_files_photo_id_array":[{"photo_id":"1402016788","filename":"file5"},{"photo_id":"1402016773","filename":"file2"},{"photo_id":"1402016777","filename":"file4"},{"photo_id":"1402016771","filename":"file1"},{"photo_id":"1402016768","filename":"file0"},{"photo_id":"1402016775","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016775":["hashtag1","hashtag2"]},{"1402016771":["hashtag1","hashtag2"]},{"1402016768":["hashtag1","hashtag2"]},{"1402016777":["hashtag1","hashtag2"]},{"1402016788":["hashtag1","hashtag2"]},{"1402016773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016775, 1402016771, 1402016768, 1402016777, 1402016788, 1402016773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7688410282135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:30:03.325200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_55_9850.jpg', '/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_14_10060.jpg', '/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_25_10723.jpg', '/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_35_9673.jpg', '/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_44_9690.jpg', '/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_55_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/44/image_01012026_10_44_55_9850.jpg
/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_14_10060.jpg
/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_25_10723.jpg
/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_35_9673.jpg
/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_44_9690.jpg
/home/pi/Desktop/images/01012026/10/45/image_01012026_10_45_55_10686.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":["1402016798","1402016802","1402016795","1402016791","1402016800","1402016799"],"photo_ids_order":["1402016791","1402016795","1402016798","1402016799","1402016800","1402016802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38a1768c451509be346ef4ef4db7180c.jpg","text":"TemporaryFile(/tmp/multipartBody612947192331697164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267064007,"filename":"image_01012026_10_45_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00e8c3049ecd5aa0ed0a4442fb8b713e.jpg","text":"TemporaryFile(/tmp/multipartBody1120433555052063678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267064007,"filename":"image_01012026_10_45_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10a88ecfdd1189fb6c4457da4554b815.jpg","text":"TemporaryFile(/tmp/multipartBody4794522629917578825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267064007,"filename":"image_01012026_10_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/2026/1/1/05acc1a63b81696b2d316c87878f215f.jpg","text":"TemporaryFile(/tmp/multipartBody8557952918139038342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267064007,"filename":"image_01012026_10_44_55_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84f8ab9988286cf730866497a943519b.jpg","text":"TemporaryFile(/tmp/multipartBody5431215781742260170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267064007,"filename":"image_01012026_10_45_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04d907ff23df6fb0d811cbd243df7343.jpg","text":"TemporaryFile(/tmp/multipartBody409003000531586943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267064007,"filename":"image_01012026_10_45_35_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016798","file1":"1402016795","file0":"1402016791","file4":"1402016800","file5":"1402016802","file3":"1402016799"},"map_files_photo_id_array":[{"photo_id":"1402016802","filename":"file5"},{"photo_id":"1402016798","filename":"file2"},{"photo_id":"1402016800","filename":"file4"},{"photo_id":"1402016795","filename":"file1"},{"photo_id":"1402016791","filename":"file0"},{"photo_id":"1402016799","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016798":["hashtag1","hashtag2"]},{"1402016802":["hashtag1","hashtag2"]},{"1402016795":["hashtag1","hashtag2"]},{"1402016791":["hashtag1","hashtag2"]},{"1402016800":["hashtag1","hashtag2"]},{"1402016799":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016798, 1402016802, 1402016795, 1402016791, 1402016800, 1402016799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.81455397605896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:31:02.605822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/46/image_01012026_10_46_25_10791.jpg', '/home/pi/Desktop/images/01012026/10/46/image_01012026_10_46_35_9640.jpg', '/home/pi/Desktop/images/01012026/10/46/image_01012026_10_46_44_9637.jpg', '/home/pi/Desktop/images/01012026/10/46/image_01012026_10_47_05_9651.jpg', '/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_15_9637.jpg', '/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_25_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/46/image_01012026_10_46_25_10791.jpg
/home/pi/Desktop/images/01012026/10/46/image_01012026_10_46_35_9640.jpg
/home/pi/Desktop/images/01012026/10/46/image_01012026_10_46_44_9637.jpg
/home/pi/Desktop/images/01012026/10/46/image_01012026_10_47_05_9651.jpg
/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_15_9637.jpg
/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_25_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016806","1402016811","1402016808","1402016804","1402016807","1402016809"],"photo_ids_order":["1402016804","1402016806","1402016807","1402016808","1402016809","1402016811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f61990abb2735822366fb8754bd55113.jpg","text":"TemporaryFile(/tmp/multipartBody6444433835533374999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267123337,"filename":"image_01012026_10_46_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5935d74bda9890430f51923ca4372d9.jpg","text":"TemporaryFile(/tmp/multipartBody2463013003369139656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267123337,"filename":"image_01012026_10_47_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd0b2486bf22b7572db794ff449e4d1c.jpg","text":"TemporaryFile(/tmp/multipartBody8609203908828099166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267123337,"filename":"image_01012026_10_47_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/860b055c1ad5d16c5bbce5ba19552d2a.jpg","text":"TemporaryFile(/tmp/multipartBody7971614744895458394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267123337,"filename":"image_01012026_10_46_25_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8fdc13e9273b08547df0751c6c7efae1.jpg","text":"TemporaryFile(/tmp/multipartBody6907841107123163385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267123337,"filename":"image_01012026_10_46_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f14f9c1f001815fa2ba328179499f1dc.jpg","text":"TemporaryFile(/tmp/multipartBody5883849706577529170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267123337,"filename":"image_01012026_10_47_15_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016807","file1":"1402016806","file0":"1402016804","file4":"1402016809","file5":"1402016811","file3":"1402016808"},"map_files_photo_id_array":[{"photo_id":"1402016811","filename":"file5"},{"photo_id":"1402016807","filename":"file2"},{"photo_id":"1402016809","filename":"file4"},{"photo_id":"1402016806","filename":"file1"},{"photo_id":"1402016804","filename":"file0"},{"photo_id":"1402016808","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016806":["hashtag1","hashtag2"]},{"1402016811":["hashtag1","hashtag2"]},{"1402016808":["hashtag1","hashtag2"]},{"1402016804":["hashtag1","hashtag2"]},{"1402016807":["hashtag1","hashtag2"]},{"1402016809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016806, 1402016811, 1402016808, 1402016804, 1402016807, 1402016809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.239044427871704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:31:42.126723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_35_1566.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_37_1598.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_38_1564.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_40_1656.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_42_1516.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_43_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_35_1566.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_37_1598.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_38_1564.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_40_1656.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_42_1516.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_43_1708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016818","1402016823","1402016820","1402016816","1402016819","1402016821"],"photo_ids_order":["1402016816","1402016818","1402016819","1402016820","1402016821","1402016823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/464391cb88045863d1819d99a3552054.jpg","text":"TemporaryFile(/tmp/multipartBody1913929338526719607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267164115,"filename":"image_04112025_16_32_37_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a128059ad6b7ce0ee2b9a628341444e1.jpg","text":"TemporaryFile(/tmp/multipartBody3071601703769472860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267164115,"filename":"image_04112025_16_32_43_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4fdd336c9fa9ea7fd13b8d832a3293f7.jpg","text":"TemporaryFile(/tmp/multipartBody4576426378602232976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267164115,"filename":"image_04112025_16_32_40_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/028629ef071fdc11aabeda618cc57020.jpg","text":"TemporaryFile(/tmp/multipartBody6606233166543647405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267164115,"filename":"image_04112025_16_32_35_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df67035b6ed99e4bb41da6788a6796e4.jpg","text":"TemporaryFile(/tmp/multipartBody6216952371894563325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267164115,"filename":"image_04112025_16_32_38_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbaf1f24fd00bf6ecede677101afdd39.jpg","text":"TemporaryFile(/tmp/multipartBody6687787359476492569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267164115,"filename":"image_04112025_16_32_42_1516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016819","file1":"1402016818","file0":"1402016816","file4":"1402016821","file5":"1402016823","file3":"1402016820"},"map_files_photo_id_array":[{"photo_id":"1402016823","filename":"file5"},{"photo_id":"1402016819","filename":"file2"},{"photo_id":"1402016821","filename":"file4"},{"photo_id":"1402016818","filename":"file1"},{"photo_id":"1402016816","filename":"file0"},{"photo_id":"1402016820","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016818":["hashtag1","hashtag2"]},{"1402016823":["hashtag1","hashtag2"]},{"1402016820":["hashtag1","hashtag2"]},{"1402016816":["hashtag1","hashtag2"]},{"1402016819":["hashtag1","hashtag2"]},{"1402016821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016818, 1402016823, 1402016820, 1402016816, 1402016819, 1402016821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69193696975708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:32:22.345484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_35_9767.jpg', '/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_45_9565.jpg', '/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_55_10704.jpg', '/home/pi/Desktop/images/01012026/10/47/image_01012026_10_48_05_9687.jpg', '/home/pi/Desktop/images/01012026/10/48/image_01012026_10_48_15_9894.jpg', '/home/pi/Desktop/images/01012026/10/48/image_01012026_10_48_25_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_35_9767.jpg
/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_45_9565.jpg
/home/pi/Desktop/images/01012026/10/47/image_01012026_10_47_55_10704.jpg
/home/pi/Desktop/images/01012026/10/47/image_01012026_10_48_05_9687.jpg
/home/pi/Desktop/images/01012026/10/48/image_01012026_10_48_15_9894.jpg
/home/pi/Desktop/images/01012026/10/48/image_01012026_10_48_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":["1402016835","1402016832","1402016828","1402016825","1402016830","1402016827"],"photo_ids_order":["1402016825","1402016827","1402016828","1402016830","1402016832","1402016835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e32107660503339b8cab5603b96ace73.jpg","text":"TemporaryFile(/tmp/multipartBody4672924248378241990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267203061,"filename":"image_01012026_10_48_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acad045b481c6bd135427984a82cbde0.jpg","text":"TemporaryFile(/tmp/multipartBody5963920472188217344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267203061,"filename":"image_01012026_10_48_15_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/805006e0eab74cec92bb34a632e2f964.jpg","text":"TemporaryFile(/tmp/multipartBody861724935875241225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267203061,"filename":"image_01012026_10_47_55_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c53be8021086335b2417168f02ab394.jpg","text":"TemporaryFile(/tmp/multipartBody6661054579450097684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267203061,"filename":"image_01012026_10_47_35_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e5e8c82f800ea29429d64e68f951cda.jpg","text":"TemporaryFile(/tmp/multipartBody2003281653458612631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267203061,"filename":"image_01012026_10_48_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb2c291a9cb7248b524df4220d06eab3.jpg","text":"TemporaryFile(/tmp/multipartBody2012760951882934230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267203061,"filename":"image_01012026_10_47_45_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016828","file1":"1402016827","file0":"1402016825","file4":"1402016832","file5":"1402016835","file3":"1402016830"},"map_files_photo_id_array":[{"photo_id":"1402016835","filename":"file5"},{"photo_id":"1402016828","filename":"file2"},{"photo_id":"1402016832","filename":"file4"},{"photo_id":"1402016827","filename":"file1"},{"photo_id":"1402016825","filename":"file0"},{"photo_id":"1402016830","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016835":["hashtag1","hashtag2"]},{"1402016832":["hashtag1","hashtag2"]},{"1402016828":["hashtag1","hashtag2"]},{"1402016825":["hashtag1","hashtag2"]},{"1402016830":["hashtag1","hashtag2"]},{"1402016827":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016835, 1402016832, 1402016828, 1402016825, 1402016830, 1402016827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38642144203186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:33:03.192946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/48/image_01012026_10_48_34_9686.jpg', '/home/pi/Desktop/images/01012026/10/48/image_01012026_10_48_45_10663.jpg', '/home/pi/Desktop/images/01012026/10/48/image_01012026_10_49_04_9686.jpg', '/home/pi/Desktop/images/01012026/10/49/image_01012026_10_49_15_10740.jpg', '/home/pi/Desktop/images/01012026/10/49/image_01012026_10_49_25_9715.jpg', '/home/pi/Desktop/images/01012026/10/49/image_01012026_10_49_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/48/image_01012026_10_48_34_9686.jpg
/home/pi/Desktop/images/01012026/10/48/image_01012026_10_48_45_10663.jpg
/home/pi/Desktop/images/01012026/10/48/image_01012026_10_49_04_9686.jpg
/home/pi/Desktop/images/01012026/10/49/image_01012026_10_49_15_10740.jpg
/home/pi/Desktop/images/01012026/10/49/image_01012026_10_49_25_9715.jpg
/home/pi/Desktop/images/01012026/10/49/image_01012026_10_49_34_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":["1402016850","1402016847","1402016852","1402016846","1402016849","1402016848"],"photo_ids_order":["1402016846","1402016847","1402016848","1402016849","1402016850","1402016852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc72ae0454a49c87d6598a38e4f53b0d.jpg","text":"TemporaryFile(/tmp/multipartBody4255837954703134894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267243925,"filename":"image_01012026_10_49_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8207fcaf96927dc6231f3617d6ad765.jpg","text":"TemporaryFile(/tmp/multipartBody8068562412808585462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267243925,"filename":"image_01012026_10_48_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3036bb272dabda52527e63bb2571270.jpg","text":"TemporaryFile(/tmp/multipartBody3562804735635555809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267243925,"filename":"image_01012026_10_49_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca35c678357680885992fc34aea09848.jpg","text":"TemporaryFile(/tmp/multipartBody2454942940204005343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267243925,"filename":"image_01012026_10_48_34_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9622d242d5cc81576b3c4b08f892fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4043646722985217708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267243925,"filename":"image_01012026_10_49_15_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c657b335daaaf3e14bdd9a0045d3447e.jpg","text":"TemporaryFile(/tmp/multipartBody6893130796324296626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267243925,"filename":"image_01012026_10_49_04_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016848","file1":"1402016847","file0":"1402016846","file4":"1402016850","file5":"1402016852","file3":"1402016849"},"map_files_photo_id_array":[{"photo_id":"1402016852","filename":"file5"},{"photo_id":"1402016848","filename":"file2"},{"photo_id":"1402016850","filename":"file4"},{"photo_id":"1402016847","filename":"file1"},{"photo_id":"1402016846","filename":"file0"},{"photo_id":"1402016849","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016850":["hashtag1","hashtag2"]},{"1402016847":["hashtag1","hashtag2"]},{"1402016852":["hashtag1","hashtag2"]},{"1402016846":["hashtag1","hashtag2"]},{"1402016849":["hashtag1","hashtag2"]},{"1402016848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016850, 1402016847, 1402016852, 1402016846, 1402016849, 1402016848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76298427581787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:33:42.531696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_46_2695.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_48_1736.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_50_1729.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_51_1539.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_53_1737.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_54_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_46_2695.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_48_1736.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_50_1729.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_51_1539.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_53_1737.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_54_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":["1402016862","1402016859","1402016861","1402016858","1402016857","1402016860"],"photo_ids_order":["1402016857","1402016858","1402016859","1402016860","1402016861","1402016862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4fc7d07bfec584a83fdf0b4d4bac44e0.jpg","text":"TemporaryFile(/tmp/multipartBody7008263026393082187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267284436,"filename":"image_04112025_16_32_54_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1579a3fd964b72bbf06c20224aac1511.jpg","text":"TemporaryFile(/tmp/multipartBody3650948126759235594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267284436,"filename":"image_04112025_16_32_50_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4fb437e14212bfd4947dfafcfb2437d3.jpg","text":"TemporaryFile(/tmp/multipartBody8194890072419297608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267284436,"filename":"image_04112025_16_32_53_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a7e92613434289ea35cfeef5f0393a3.jpg","text":"TemporaryFile(/tmp/multipartBody6079062575782912951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267284436,"filename":"image_04112025_16_32_48_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2413c618cdfc0c3e2fed9843d2f85bbb.jpg","text":"TemporaryFile(/tmp/multipartBody9213355108483298012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267284436,"filename":"image_04112025_16_32_46_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edda43ff4acd3c87906df021ed7604e4.jpg","text":"TemporaryFile(/tmp/multipartBody2849744104910618237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267284436,"filename":"image_04112025_16_32_51_1539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016859","file1":"1402016858","file0":"1402016857","file4":"1402016861","file5":"1402016862","file3":"1402016860"},"map_files_photo_id_array":[{"photo_id":"1402016862","filename":"file5"},{"photo_id":"1402016859","filename":"file2"},{"photo_id":"1402016861","filename":"file4"},{"photo_id":"1402016858","filename":"file1"},{"photo_id":"1402016857","filename":"file0"},{"photo_id":"1402016860","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016862":["hashtag1","hashtag2"]},{"1402016859":["hashtag1","hashtag2"]},{"1402016861":["hashtag1","hashtag2"]},{"1402016858":["hashtag1","hashtag2"]},{"1402016857":["hashtag1","hashtag2"]},{"1402016860":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016862, 1402016859, 1402016861, 1402016858, 1402016857, 1402016860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24089789390564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:34:22.737528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/49/image_01012026_10_49_44_9958.jpg', '/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_15_10058.jpg', '/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_25_10628.jpg', '/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_35_9632.jpg', '/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_46_10650.jpg', '/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_55_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/49/image_01012026_10_49_44_9958.jpg
/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_15_10058.jpg
/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_25_10628.jpg
/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_35_9632.jpg
/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_46_10650.jpg
/home/pi/Desktop/images/01012026/10/50/image_01012026_10_50_55_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":["1402016871","1402016868","1402016870","1402016864","1402016872","1402016866"],"photo_ids_order":["1402016864","1402016866","1402016868","1402016870","1402016871","1402016872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14fc19980a56751518efb09ceee0f51d.jpg","text":"TemporaryFile(/tmp/multipartBody8306635833147694486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267323399,"filename":"image_01012026_10_50_46_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4745de18b239ca41642aaf144c40a038.jpg","text":"TemporaryFile(/tmp/multipartBody7750541232752995136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267323399,"filename":"image_01012026_10_50_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6937a3fb5f80df661b1d0501015f34d.jpg","text":"TemporaryFile(/tmp/multipartBody2984306283374081974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267323399,"filename":"image_01012026_10_50_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3bed9736ad1f137e1a9f6e7bc11a98c.jpg","text":"TemporaryFile(/tmp/multipartBody631156400048939018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267323399,"filename":"image_01012026_10_49_44_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42103c73d9418c85ad3c917a1b43dc56.jpg","text":"TemporaryFile(/tmp/multipartBody363287967079978463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267323399,"filename":"image_01012026_10_50_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae8c1470185427391e2e6116bb71f770.jpg","text":"TemporaryFile(/tmp/multipartBody9092223537443522515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267323399,"filename":"image_01012026_10_50_15_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016868","file1":"1402016866","file0":"1402016864","file4":"1402016871","file5":"1402016872","file3":"1402016870"},"map_files_photo_id_array":[{"photo_id":"1402016872","filename":"file5"},{"photo_id":"1402016868","filename":"file2"},{"photo_id":"1402016871","filename":"file4"},{"photo_id":"1402016866","filename":"file1"},{"photo_id":"1402016864","filename":"file0"},{"photo_id":"1402016870","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016871":["hashtag1","hashtag2"]},{"1402016868":["hashtag1","hashtag2"]},{"1402016870":["hashtag1","hashtag2"]},{"1402016864":["hashtag1","hashtag2"]},{"1402016872":["hashtag1","hashtag2"]},{"1402016866":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016871, 1402016868, 1402016870, 1402016864, 1402016872, 1402016866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.20687818527222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:35:05.288012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
 val : 1 : upload photos already in processing! 
2026-01-01 12:35:14.734196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_56_1734.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_58_1511.jpg', '/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_59_1740.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_07_3011.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_11_3739.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_14_2811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_56_1734.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_58_1511.jpg
/home/pi/Desktop/images/04112025/16/32/image_04112025_16_32_59_1740.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_07_3011.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_11_3739.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_14_2811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016892","1402016877","1402016879","1402016893","1402016881","1402016875"],"photo_ids_order":["1402016875","1402016877","1402016879","1402016881","1402016892","1402016893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/004a2bed540d3037400d600338a4b412.jpg","text":"TemporaryFile(/tmp/multipartBody7267435659697419088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267392049,"filename":"image_04112025_16_36_11_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9951724ce1749f10cec9ecd5cdd7f595.jpg","text":"TemporaryFile(/tmp/multipartBody3993228666737727891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267392049,"filename":"image_04112025_16_32_58_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dedfd2f7765482159bfa3e367d594552.jpg","text":"TemporaryFile(/tmp/multipartBody6024359484267744892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267392049,"filename":"image_04112025_16_32_59_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d46ee1fec1109e2635f82fd50c13a446.jpg","text":"TemporaryFile(/tmp/multipartBody7359032948325695848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267392049,"filename":"image_04112025_16_36_14_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb947556bc5360ab2b91e78f1b4bf6bc.jpg","text":"TemporaryFile(/tmp/multipartBody6091599084617781506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267392049,"filename":"image_04112025_16_36_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7612a6197da844fb7c0039481ed6d21.jpg","text":"TemporaryFile(/tmp/multipartBody1322991829142018385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267392049,"filename":"image_04112025_16_32_56_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016879","file1":"1402016877","file0":"1402016875","file4":"1402016892","file5":"1402016893","file3":"1402016881"},"map_files_photo_id_array":[{"photo_id":"1402016893","filename":"file5"},{"photo_id":"1402016879","filename":"file2"},{"photo_id":"1402016892","filename":"file4"},{"photo_id":"1402016877","filename":"file1"},{"photo_id":"1402016875","filename":"file0"},{"photo_id":"1402016881","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016892":["hashtag1","hashtag2"]},{"1402016877":["hashtag1","hashtag2"]},{"1402016879":["hashtag1","hashtag2"]},{"1402016893":["hashtag1","hashtag2"]},{"1402016881":["hashtag1","hashtag2"]},{"1402016875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016892, 1402016877, 1402016879, 1402016893, 1402016881, 1402016875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.88858485221863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:36:12.472870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_16_2653.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_20_3444.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_22_2594.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_26_3552.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_29_3064.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_32_2786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_16_2653.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_20_3444.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_22_2594.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_26_3552.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_29_3064.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_32_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":["1402016902","1402016895","1402016897","1402016901","1402016894","1402016898"],"photo_ids_order":["1402016894","1402016895","1402016897","1402016898","1402016901","1402016902"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fee0eb3101a97fc9256768f000b51d36.jpg","text":"TemporaryFile(/tmp/multipartBody2445384059714113752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267434201,"filename":"image_04112025_16_36_32_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8d2fb46600d7375ee949acd281012ec.jpg","text":"TemporaryFile(/tmp/multipartBody4221340565826627597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267434201,"filename":"image_04112025_16_36_20_3444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dd9f65cebdcb7e32478c28733c19f5c.jpg","text":"TemporaryFile(/tmp/multipartBody4812488289275537814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267434201,"filename":"image_04112025_16_36_22_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bf79bc91d71ee930fe1c06e303ad4ce.jpg","text":"TemporaryFile(/tmp/multipartBody3773042341859429039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267434201,"filename":"image_04112025_16_36_29_3064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f39540ded9bea575e5310dbbab75b851.jpg","text":"TemporaryFile(/tmp/multipartBody7239500890532695228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267434201,"filename":"image_04112025_16_36_16_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/780c806b7f744d8f1375bf10255f1983.jpg","text":"TemporaryFile(/tmp/multipartBody2364384801545989009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267434201,"filename":"image_04112025_16_36_26_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016897","file1":"1402016895","file0":"1402016894","file4":"1402016901","file5":"1402016902","file3":"1402016898"},"map_files_photo_id_array":[{"photo_id":"1402016902","filename":"file5"},{"photo_id":"1402016897","filename":"file2"},{"photo_id":"1402016901","filename":"file4"},{"photo_id":"1402016895","filename":"file1"},{"photo_id":"1402016894","filename":"file0"},{"photo_id":"1402016898","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016902":["hashtag1","hashtag2"]},{"1402016895":["hashtag1","hashtag2"]},{"1402016897":["hashtag1","hashtag2"]},{"1402016901":["hashtag1","hashtag2"]},{"1402016894":["hashtag1","hashtag2"]},{"1402016898":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016902, 1402016895, 1402016897, 1402016901, 1402016894, 1402016898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20559239387512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
 val : 1 : upload photos already in processing! 
2026-01-01 12:37:08.626758
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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 15
2026-01-01 12:37:22.758598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/50/image_01012026_10_51_05_9610.jpg', '/home/pi/Desktop/images/01012026/10/51/image_01012026_10_51_25_9720.jpg', '/home/pi/Desktop/images/01012026/10/51/image_01012026_10_51_35_9885.jpg', '/home/pi/Desktop/images/01012026/10/51/image_01012026_10_51_45_9566.jpg', '/home/pi/Desktop/images/01012026/10/51/image_01012026_10_51_56_10688.jpg', '/home/pi/Desktop/images/01012026/10/51/image_01012026_10_52_05_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/50/image_01012026_10_51_05_9610.jpg
/home/pi/Desktop/images/01012026/10/51/image_01012026_10_51_25_9720.jpg
/home/pi/Desktop/images/01012026/10/51/image_01012026_10_51_35_9885.jpg
/home/pi/Desktop/images/01012026/10/51/image_01012026_10_51_45_9566.jpg
/home/pi/Desktop/images/01012026/10/51/image_01012026_10_51_56_10688.jpg
/home/pi/Desktop/images/01012026/10/51/image_01012026_10_52_05_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016916","1402016910","1402016912","1402016906","1402016914","1402016908"],"photo_ids_order":["1402016906","1402016908","1402016910","1402016912","1402016914","1402016916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78fdb47e3bf3e910d8cf5081ba2427b5.jpg","text":"TemporaryFile(/tmp/multipartBody2537691555217258044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267505073,"filename":"image_01012026_10_52_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e2a66e993b87eac6cd49639a5296513.jpg","text":"TemporaryFile(/tmp/multipartBody947484512078715147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267505073,"filename":"image_01012026_10_51_35_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b163af01b6246eb7166c15103e3502e8.jpg","text":"TemporaryFile(/tmp/multipartBody4832415102946275037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267505073,"filename":"image_01012026_10_51_45_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b70410827f8ea378c4d2a0d30be8c749.jpg","text":"TemporaryFile(/tmp/multipartBody1007000591506092288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267505073,"filename":"image_01012026_10_51_05_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a953889c133d143d8c0ee91b0476e6cb.jpg","text":"TemporaryFile(/tmp/multipartBody3641001316452623456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267505073,"filename":"image_01012026_10_51_56_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d53dc9365537d9d88337767d2506b379.jpg","text":"TemporaryFile(/tmp/multipartBody9171517177855510280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267505073,"filename":"image_01012026_10_51_25_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016910","file1":"1402016908","file0":"1402016906","file4":"1402016914","file5":"1402016916","file3":"1402016912"},"map_files_photo_id_array":[{"photo_id":"1402016916","filename":"file5"},{"photo_id":"1402016910","filename":"file2"},{"photo_id":"1402016914","filename":"file4"},{"photo_id":"1402016908","filename":"file1"},{"photo_id":"1402016906","filename":"file0"},{"photo_id":"1402016912","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016916":["hashtag1","hashtag2"]},{"1402016910":["hashtag1","hashtag2"]},{"1402016912":["hashtag1","hashtag2"]},{"1402016906":["hashtag1","hashtag2"]},{"1402016914":["hashtag1","hashtag2"]},{"1402016908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016916, 1402016910, 1402016912, 1402016906, 1402016914, 1402016908)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.67651128768921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:38:12.527263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_34_2573.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_37_2725.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_40_3583.jpg', '/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_43_2907.jpg', '/home/pi/Desktop/images/04112025/16/37/image_04112025_16_37_17_33111.jpg', '/home/pi/Desktop/images/04112025/16/37/image_04112025_16_37_18_1601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_34_2573.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_37_2725.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_40_3583.jpg
/home/pi/Desktop/images/04112025/16/36/image_04112025_16_36_43_2907.jpg
/home/pi/Desktop/images/04112025/16/37/image_04112025_16_37_17_33111.jpg
/home/pi/Desktop/images/04112025/16/37/image_04112025_16_37_18_1601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016917","1402016922","1402016919","1402016924","1402016918","1402016920"],"photo_ids_order":["1402016917","1402016918","1402016919","1402016920","1402016922","1402016924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abb8982e71cda6af1a26c5494f5ec0c6.jpg","text":"TemporaryFile(/tmp/multipartBody5248751887977011904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267554260,"filename":"image_04112025_16_36_34_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5706e79d6a0e36614bdb6ef006bf778.jpg","text":"TemporaryFile(/tmp/multipartBody3753913882784072947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267554260,"filename":"image_04112025_16_37_17_33111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66770097af6c38d9c96c21b030460931.jpg","text":"TemporaryFile(/tmp/multipartBody4426541664239009725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267554260,"filename":"image_04112025_16_36_40_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c41ed787dabff6cfbd9656440b85dc8.jpg","text":"TemporaryFile(/tmp/multipartBody8850791463072081629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267554260,"filename":"image_04112025_16_37_18_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f646faf708579c59e51c6ca9151de93a.jpg","text":"TemporaryFile(/tmp/multipartBody3070512976864820709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267554260,"filename":"image_04112025_16_36_37_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0441e9f6d17aa119d48368635798f92.jpg","text":"TemporaryFile(/tmp/multipartBody8473592733019601332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267554260,"filename":"image_04112025_16_36_43_2907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016919","file1":"1402016918","file0":"1402016917","file4":"1402016922","file5":"1402016924","file3":"1402016920"},"map_files_photo_id_array":[{"photo_id":"1402016924","filename":"file5"},{"photo_id":"1402016919","filename":"file2"},{"photo_id":"1402016922","filename":"file4"},{"photo_id":"1402016918","filename":"file1"},{"photo_id":"1402016917","filename":"file0"},{"photo_id":"1402016920","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016917":["hashtag1","hashtag2"]},{"1402016922":["hashtag1","hashtag2"]},{"1402016919":["hashtag1","hashtag2"]},{"1402016924":["hashtag1","hashtag2"]},{"1402016918":["hashtag1","hashtag2"]},{"1402016920":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016917, 1402016922, 1402016919, 1402016924, 1402016918, 1402016920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6573224067688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:39:03.724853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_15_9591.jpg', '/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_26_10771.jpg', '/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_35_9780.jpg', '/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_45_9718.jpg', '/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_55_9752.jpg', '/home/pi/Desktop/images/01012026/10/52/image_01012026_10_53_05_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_15_9591.jpg
/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_26_10771.jpg
/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_35_9780.jpg
/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_45_9718.jpg
/home/pi/Desktop/images/01012026/10/52/image_01012026_10_52_55_9752.jpg
/home/pi/Desktop/images/01012026/10/52/image_01012026_10_53_05_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":["1402016949","1402016943","1402016945","1402016942","1402016947","1402016941"],"photo_ids_order":["1402016941","1402016942","1402016943","1402016945","1402016947","1402016949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81bdd2997692dce248074dd66f9bff0e.jpg","text":"TemporaryFile(/tmp/multipartBody5340016074471350750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267604526,"filename":"image_01012026_10_53_05_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed4db570c91b4e0363900fd5f4fdcfa4.jpg","text":"TemporaryFile(/tmp/multipartBody1886775762273678170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267604526,"filename":"image_01012026_10_52_35_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5cd7529e9c94d581983351825d11c16.jpg","text":"TemporaryFile(/tmp/multipartBody7281699103951090024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267604526,"filename":"image_01012026_10_52_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70fb4d6ed27f8fa7c577f9cdfb63529f.jpg","text":"TemporaryFile(/tmp/multipartBody5046576746466710215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267604526,"filename":"image_01012026_10_52_26_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9d292ea7e71840231245b2f4e1a3854.jpg","text":"TemporaryFile(/tmp/multipartBody4838220266716821047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267604526,"filename":"image_01012026_10_52_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bfc5a4d2ee14c89cce1c9c16462195a.jpg","text":"TemporaryFile(/tmp/multipartBody5365367053898108758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267604526,"filename":"image_01012026_10_52_15_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016943","file1":"1402016942","file0":"1402016941","file4":"1402016947","file5":"1402016949","file3":"1402016945"},"map_files_photo_id_array":[{"photo_id":"1402016949","filename":"file5"},{"photo_id":"1402016943","filename":"file2"},{"photo_id":"1402016947","filename":"file4"},{"photo_id":"1402016942","filename":"file1"},{"photo_id":"1402016941","filename":"file0"},{"photo_id":"1402016945","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016949":["hashtag1","hashtag2"]},{"1402016943":["hashtag1","hashtag2"]},{"1402016945":["hashtag1","hashtag2"]},{"1402016942":["hashtag1","hashtag2"]},{"1402016947":["hashtag1","hashtag2"]},{"1402016941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016949, 1402016943, 1402016945, 1402016942, 1402016947, 1402016941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10444903373718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:39:42.744575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/37/image_04112025_16_37_20_1685.jpg', '/home/pi/Desktop/images/04112025/16/37/image_04112025_16_37_22_1701.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_11_49301.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_31_20378.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_33_1553.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_34_1535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/37/image_04112025_16_37_20_1685.jpg
/home/pi/Desktop/images/04112025/16/37/image_04112025_16_37_22_1701.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_11_49301.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_31_20378.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_33_1553.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_34_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":["1402016952","1402016955","1402016954","1402016957","1402016956","1402016953"],"photo_ids_order":["1402016952","1402016953","1402016954","1402016955","1402016956","1402016957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/798180d74e22d26e0cb9cc71177c547c.jpg","text":"TemporaryFile(/tmp/multipartBody2972906529356592594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267644634,"filename":"image_04112025_16_37_20_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53667548293331dec18b28859d4e6797.jpg","text":"TemporaryFile(/tmp/multipartBody3828669480357525638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267644634,"filename":"image_04112025_16_38_31_20378.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4001cd78bd1e236273029bbfc153bd7d.jpg","text":"TemporaryFile(/tmp/multipartBody169011194170024660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267644634,"filename":"image_04112025_16_38_11_49301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8467238c469873d1d542bf800476e224.jpg","text":"TemporaryFile(/tmp/multipartBody4644077893321336169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267644634,"filename":"image_04112025_16_38_34_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29325670c3e17385a8caca3aaf09a24d.jpg","text":"TemporaryFile(/tmp/multipartBody1681561771334363312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267644634,"filename":"image_04112025_16_38_33_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9457a7e4ea0fa3cb3c36914eb95be87e.jpg","text":"TemporaryFile(/tmp/multipartBody8416441334028254737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267644634,"filename":"image_04112025_16_37_22_1701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016954","file1":"1402016953","file0":"1402016952","file4":"1402016956","file5":"1402016957","file3":"1402016955"},"map_files_photo_id_array":[{"photo_id":"1402016957","filename":"file5"},{"photo_id":"1402016954","filename":"file2"},{"photo_id":"1402016956","filename":"file4"},{"photo_id":"1402016953","filename":"file1"},{"photo_id":"1402016952","filename":"file0"},{"photo_id":"1402016955","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016952":["hashtag1","hashtag2"]},{"1402016955":["hashtag1","hashtag2"]},{"1402016954":["hashtag1","hashtag2"]},{"1402016957":["hashtag1","hashtag2"]},{"1402016956":["hashtag1","hashtag2"]},{"1402016953":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016952, 1402016955, 1402016954, 1402016957, 1402016956, 1402016953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76761841773987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:40:21.890025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/53/image_01012026_10_53_15_9609.jpg', '/home/pi/Desktop/images/01012026/10/53/image_01012026_10_53_25_9737.jpg', '/home/pi/Desktop/images/01012026/10/53/image_01012026_10_53_36_10768.jpg', '/home/pi/Desktop/images/01012026/10/53/image_01012026_10_53_45_9701.jpg', '/home/pi/Desktop/images/01012026/10/53/image_01012026_10_54_05_9760.jpg', '/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_16_10745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/53/image_01012026_10_53_15_9609.jpg
/home/pi/Desktop/images/01012026/10/53/image_01012026_10_53_25_9737.jpg
/home/pi/Desktop/images/01012026/10/53/image_01012026_10_53_36_10768.jpg
/home/pi/Desktop/images/01012026/10/53/image_01012026_10_53_45_9701.jpg
/home/pi/Desktop/images/01012026/10/53/image_01012026_10_54_05_9760.jpg
/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_16_10745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016970","1402016963","1402016966","1402016960","1402016968","1402016965"],"photo_ids_order":["1402016960","1402016963","1402016965","1402016966","1402016968","1402016970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4335cbe1f30cc51712154a980baaef1a.jpg","text":"TemporaryFile(/tmp/multipartBody2626099825831568537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267682570,"filename":"image_01012026_10_54_16_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d49c536425e3f06571dcba72300a411b.jpg","text":"TemporaryFile(/tmp/multipartBody7359134673506182824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267682570,"filename":"image_01012026_10_53_25_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80200a5d72e1a8a1873d901224f5524b.jpg","text":"TemporaryFile(/tmp/multipartBody4564928608670206952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267682570,"filename":"image_01012026_10_53_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/741467b83496c1de66e17934d3393051.jpg","text":"TemporaryFile(/tmp/multipartBody8712947743177523232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267682570,"filename":"image_01012026_10_53_15_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2faf38360e3d395cf560d56d55fd90b7.jpg","text":"TemporaryFile(/tmp/multipartBody6162502217805637911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267682570,"filename":"image_01012026_10_54_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e9cdb187fe0c466037d614b89a3a2cc.jpg","text":"TemporaryFile(/tmp/multipartBody8819452129356392804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267682570,"filename":"image_01012026_10_53_36_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016965","file1":"1402016963","file0":"1402016960","file4":"1402016968","file5":"1402016970","file3":"1402016966"},"map_files_photo_id_array":[{"photo_id":"1402016970","filename":"file5"},{"photo_id":"1402016965","filename":"file2"},{"photo_id":"1402016968","filename":"file4"},{"photo_id":"1402016963","filename":"file1"},{"photo_id":"1402016960","filename":"file0"},{"photo_id":"1402016966","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016970":["hashtag1","hashtag2"]},{"1402016963":["hashtag1","hashtag2"]},{"1402016966":["hashtag1","hashtag2"]},{"1402016960":["hashtag1","hashtag2"]},{"1402016968":["hashtag1","hashtag2"]},{"1402016965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016970, 1402016963, 1402016966, 1402016960, 1402016968, 1402016965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.255720376968384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:41:02.826177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_25_9773.jpg', '/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_35_9910.jpg', '/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_45_9595.jpg', '/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_56_10678.jpg', '/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_14_10037.jpg', '/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_24_10553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_25_9773.jpg
/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_35_9910.jpg
/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_45_9595.jpg
/home/pi/Desktop/images/01012026/10/54/image_01012026_10_54_56_10678.jpg
/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_14_10037.jpg
/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_24_10553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016973","1402016972","1402016975","1402016974","1402016977","1402016971"],"photo_ids_order":["1402016971","1402016972","1402016973","1402016974","1402016975","1402016977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2894275af1832b8a05a60b500e16b8b.jpg","text":"TemporaryFile(/tmp/multipartBody280372411876476120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267723561,"filename":"image_01012026_10_54_45_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/612ebbbc39c4370c0768c7c4a9f2e840.jpg","text":"TemporaryFile(/tmp/multipartBody869449072139166707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267723561,"filename":"image_01012026_10_54_35_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46a24b348383d2c4720f1066901e835f.jpg","text":"TemporaryFile(/tmp/multipartBody389807907348037007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267723561,"filename":"image_01012026_10_56_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/139a8660d121ebd45d680b764b764f56.jpg","text":"TemporaryFile(/tmp/multipartBody879834887784761894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267723561,"filename":"image_01012026_10_54_56_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75fde0e8863b989e8ff769742fd9ff64.jpg","text":"TemporaryFile(/tmp/multipartBody717149994036820317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267723561,"filename":"image_01012026_10_56_24_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3500970fbc30ac658ffbfe0ffdff68ca.jpg","text":"TemporaryFile(/tmp/multipartBody5503284220607884760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267723561,"filename":"image_01012026_10_54_25_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016973","file1":"1402016972","file0":"1402016971","file4":"1402016975","file5":"1402016977","file3":"1402016974"},"map_files_photo_id_array":[{"photo_id":"1402016977","filename":"file5"},{"photo_id":"1402016973","filename":"file2"},{"photo_id":"1402016975","filename":"file4"},{"photo_id":"1402016972","filename":"file1"},{"photo_id":"1402016971","filename":"file0"},{"photo_id":"1402016974","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402016973":["hashtag1","hashtag2"]},{"1402016972":["hashtag1","hashtag2"]},{"1402016975":["hashtag1","hashtag2"]},{"1402016974":["hashtag1","hashtag2"]},{"1402016977":["hashtag1","hashtag2"]},{"1402016971":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402016973, 1402016972, 1402016975, 1402016974, 1402016977, 1402016971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48091173171997 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:41:42.127755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_36_1786.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_38_1687.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_39_1570.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_41_1601.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_43_1653.jpg', '/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_51_8832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_36_1786.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_38_1687.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_39_1570.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_41_1601.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_43_1653.jpg
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_51_8832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402016994","1402016996","1402016995","1402016998","1402016983","1402016997"],"photo_ids_order":["1402016983","1402016994","1402016995","1402016996","1402016997","1402016998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e282e67510186a8d656effb79950b85.jpg","text":"TemporaryFile(/tmp/multipartBody7677695406699745302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267763976,"filename":"image_04112025_16_38_38_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a805f643ae8963bf2e784bdefdb06040.jpg","text":"TemporaryFile(/tmp/multipartBody9029189049744926683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267763976,"filename":"image_04112025_16_38_41_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/256b0a08335de77a6f0453ba46b7865c.jpg","text":"TemporaryFile(/tmp/multipartBody5215382760292146843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267763976,"filename":"image_04112025_16_38_39_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2db8c7c54c1339dfdf9c1ece4e6fb14b.jpg","text":"TemporaryFile(/tmp/multipartBody2421383603324107018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267763976,"filename":"image_04112025_16_38_51_8832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a09438d9ea8dcb4aa3cec1d38b318e66.jpg","text":"TemporaryFile(/tmp/multipartBody2020958807937505343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267763976,"filename":"image_04112025_16_38_36_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/327ed672ea9b871f6577dcbd30d99af8.jpg","text":"TemporaryFile(/tmp/multipartBody7417871960766755324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267763976,"filename":"image_04112025_16_38_43_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402016995","file1":"1402016994","file0":"1402016983","file4":"1402016997","file5":"1402016998","file3":"1402016996"},"map_files_photo_id_array":[{"photo_id":"1402016998","filename":"file5"},{"photo_id":"1402016995","filename":"file2"},{"photo_id":"1402016997","filename":"file4"},{"photo_id":"1402016994","filename":"file1"},{"photo_id":"1402016983","filename":"file0"},{"photo_id":"1402016996","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402016994":["hashtag1","hashtag2"]},{"1402016996":["hashtag1","hashtag2"]},{"1402016995":["hashtag1","hashtag2"]},{"1402016998":["hashtag1","hashtag2"]},{"1402016983":["hashtag1","hashtag2"]},{"1402016997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402016994, 1402016996, 1402016995, 1402016998, 1402016983, 1402016997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11606001853943 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:42:22.297354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_34_9830.jpg', '/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_44_9695.jpg', '/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_54_10776.jpg', '/home/pi/Desktop/images/01012026/10/56/image_01012026_10_57_04_9687.jpg', '/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_14_9784.jpg', '/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_24_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_34_9830.jpg
/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_44_9695.jpg
/home/pi/Desktop/images/01012026/10/56/image_01012026_10_56_54_10776.jpg
/home/pi/Desktop/images/01012026/10/56/image_01012026_10_57_04_9687.jpg
/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_14_9784.jpg
/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_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":["1402017003","1402017000","1402017002","1402017005","1402017010","1402017007"],"photo_ids_order":["1402017000","1402017002","1402017003","1402017005","1402017007","1402017010"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88ce511a8d1488501a765781edbb99c1.jpg","text":"TemporaryFile(/tmp/multipartBody8313526538116349825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267802964,"filename":"image_01012026_10_56_54_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3881449d31500abeeed721794c603cf.jpg","text":"TemporaryFile(/tmp/multipartBody8259790999328180127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267802964,"filename":"image_01012026_10_56_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ee25fe5aef6dbb37d3b665827c4703b.jpg","text":"TemporaryFile(/tmp/multipartBody2661007224691889471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267802964,"filename":"image_01012026_10_56_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/129a53e5123b954afb937c425b79c2ba.jpg","text":"TemporaryFile(/tmp/multipartBody1011127419184488248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267802964,"filename":"image_01012026_10_57_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a5c9fba560f1952f9a0d869031573a0.jpg","text":"TemporaryFile(/tmp/multipartBody9130605922995458962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267802964,"filename":"image_01012026_10_57_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43d0ed82bdc14d6a88b218d0e400c2dc.jpg","text":"TemporaryFile(/tmp/multipartBody1682238368668260143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267802964,"filename":"image_01012026_10_57_14_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017003","file1":"1402017002","file0":"1402017000","file4":"1402017007","file5":"1402017010","file3":"1402017005"},"map_files_photo_id_array":[{"photo_id":"1402017010","filename":"file5"},{"photo_id":"1402017003","filename":"file2"},{"photo_id":"1402017007","filename":"file4"},{"photo_id":"1402017002","filename":"file1"},{"photo_id":"1402017000","filename":"file0"},{"photo_id":"1402017005","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017003":["hashtag1","hashtag2"]},{"1402017000":["hashtag1","hashtag2"]},{"1402017002":["hashtag1","hashtag2"]},{"1402017005":["hashtag1","hashtag2"]},{"1402017010":["hashtag1","hashtag2"]},{"1402017007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017003, 1402017000, 1402017002, 1402017005, 1402017010, 1402017007)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.20252871513367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:43:13.603785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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 15
2026-01-01 12:43:23.779028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 12:43:33.664878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_53_1632.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_07_3011.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_11_3719.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_13_2637.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_17_3537.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_20_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/38/image_04112025_16_38_53_1632.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_07_3011.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_11_3719.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_13_2637.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_17_3537.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_20_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017021","1402017018","1402017020","1402017023","1402017019","1402017022"],"photo_ids_order":["1402017018","1402017019","1402017020","1402017021","1402017022","1402017023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8984ea3bad1018aae4c3491b1ddef7e.jpg","text":"TemporaryFile(/tmp/multipartBody8014434814200019832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267883394,"filename":"image_04112025_16_49_13_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2578c31c04364e0cf1e3796cb497a3a4.jpg","text":"TemporaryFile(/tmp/multipartBody6753885755314229736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267883394,"filename":"image_04112025_16_38_53_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ead06fda31b743bb75cc401ee7e3f48d.jpg","text":"TemporaryFile(/tmp/multipartBody8828701183504871878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267883394,"filename":"image_04112025_16_49_11_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10fbfcbfa74f9a8691ca3f57e7e42ce3.jpg","text":"TemporaryFile(/tmp/multipartBody6130023030806108106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267883394,"filename":"image_04112025_16_49_20_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f89c9c76ad8f1de5b88896524dd32d0.jpg","text":"TemporaryFile(/tmp/multipartBody1225170730100610931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267883394,"filename":"image_04112025_16_49_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61094cd8300a526e5648fb08fc25676d.jpg","text":"TemporaryFile(/tmp/multipartBody7693752981986920665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267883394,"filename":"image_04112025_16_49_17_3537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017020","file1":"1402017019","file0":"1402017018","file4":"1402017022","file5":"1402017023","file3":"1402017021"},"map_files_photo_id_array":[{"photo_id":"1402017023","filename":"file5"},{"photo_id":"1402017020","filename":"file2"},{"photo_id":"1402017022","filename":"file4"},{"photo_id":"1402017019","filename":"file1"},{"photo_id":"1402017018","filename":"file0"},{"photo_id":"1402017021","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017021":["hashtag1","hashtag2"]},{"1402017018":["hashtag1","hashtag2"]},{"1402017020":["hashtag1","hashtag2"]},{"1402017023":["hashtag1","hashtag2"]},{"1402017019":["hashtag1","hashtag2"]},{"1402017022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017021, 1402017018, 1402017020, 1402017023, 1402017019, 1402017022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.75162959098816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:44:26.973835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_34_10753.jpg', '/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_44_9760.jpg', '/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_54_9711.jpg', '/home/pi/Desktop/images/01012026/10/58/image_01012026_10_58_54_9738.jpg', '/home/pi/Desktop/images/01012026/10/58/image_01012026_10_59_04_9824.jpg', '/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_13_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_34_10753.jpg
/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_44_9760.jpg
/home/pi/Desktop/images/01012026/10/57/image_01012026_10_57_54_9711.jpg
/home/pi/Desktop/images/01012026/10/58/image_01012026_10_58_54_9738.jpg
/home/pi/Desktop/images/01012026/10/58/image_01012026_10_59_04_9824.jpg
/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_13_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":["1402017048","1402017030","1402017032","1402017026","1402017038","1402017034"],"photo_ids_order":["1402017026","1402017030","1402017032","1402017034","1402017038","1402017048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f4721f0fb1c768ebb9772630f5a190d.jpg","text":"TemporaryFile(/tmp/multipartBody7090093655845918539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267927611,"filename":"image_01012026_10_59_13_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae344e9240e72ccb8a62633bf51377e9.jpg","text":"TemporaryFile(/tmp/multipartBody7917638686848408985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267927611,"filename":"image_01012026_10_57_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/584ce23551b88762d5e4c6bb9c361ec6.jpg","text":"TemporaryFile(/tmp/multipartBody1653504181560678631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267927611,"filename":"image_01012026_10_57_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a6d34f641944bf3532371347d0aa292.jpg","text":"TemporaryFile(/tmp/multipartBody5406066308734085842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267927611,"filename":"image_01012026_10_57_34_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f28b4196cbf59b92a014d1f2143c65cc.jpg","text":"TemporaryFile(/tmp/multipartBody2820439295025943721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267927611,"filename":"image_01012026_10_59_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5860a36614707f5e455ca5e9beb79a4.jpg","text":"TemporaryFile(/tmp/multipartBody5403028563454593615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767267927611,"filename":"image_01012026_10_58_54_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017032","file1":"1402017030","file0":"1402017026","file4":"1402017038","file5":"1402017048","file3":"1402017034"},"map_files_photo_id_array":[{"photo_id":"1402017048","filename":"file5"},{"photo_id":"1402017032","filename":"file2"},{"photo_id":"1402017038","filename":"file4"},{"photo_id":"1402017030","filename":"file1"},{"photo_id":"1402017026","filename":"file0"},{"photo_id":"1402017034","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017048":["hashtag1","hashtag2"]},{"1402017030":["hashtag1","hashtag2"]},{"1402017032":["hashtag1","hashtag2"]},{"1402017026":["hashtag1","hashtag2"]},{"1402017038":["hashtag1","hashtag2"]},{"1402017034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017048, 1402017030, 1402017032, 1402017026, 1402017038, 1402017034)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.863338470458984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:45:25.698503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
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
2026-01-01 12:45:42.741226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_31_2540.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_37_2602.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_40_2639.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_44_3789.jpg', '/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_54_4576.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_07_3010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_31_2540.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_37_2602.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_40_2639.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_44_3789.jpg
/home/pi/Desktop/images/04112025/16/49/image_04112025_16_49_54_4576.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_07_3010.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017060","1402017057","1402017059","1402017061","1402017055","1402017058"],"photo_ids_order":["1402017055","1402017057","1402017058","1402017059","1402017060","1402017061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01968b9fb27109f8e3cac799636f5342.jpg","text":"TemporaryFile(/tmp/multipartBody376722823864038594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268004460,"filename":"image_04112025_16_49_54_4576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c4988fe424c1d2f07154271bd19f56c.jpg","text":"TemporaryFile(/tmp/multipartBody1421407935588433892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268004460,"filename":"image_04112025_16_49_37_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8317a99e39f154489174d3d161a4e3d3.jpg","text":"TemporaryFile(/tmp/multipartBody1966660338340099461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268004460,"filename":"image_04112025_16_49_44_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ae2b73c4cdc8472878d1de945ac5543.jpg","text":"TemporaryFile(/tmp/multipartBody1220670068144702974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268004460,"filename":"image_04112025_16_51_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1652a31c79968670f01f39d3ae66a747.jpg","text":"TemporaryFile(/tmp/multipartBody6318880572393921563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268004460,"filename":"image_04112025_16_49_31_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d284084ea49f01cc2bc2e991833f16f3.jpg","text":"TemporaryFile(/tmp/multipartBody8300500266519848709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268004460,"filename":"image_04112025_16_49_40_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017058","file1":"1402017057","file0":"1402017055","file4":"1402017060","file5":"1402017061","file3":"1402017059"},"map_files_photo_id_array":[{"photo_id":"1402017061","filename":"file5"},{"photo_id":"1402017058","filename":"file2"},{"photo_id":"1402017060","filename":"file4"},{"photo_id":"1402017057","filename":"file1"},{"photo_id":"1402017055","filename":"file0"},{"photo_id":"1402017059","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017060":["hashtag1","hashtag2"]},{"1402017057":["hashtag1","hashtag2"]},{"1402017059":["hashtag1","hashtag2"]},{"1402017061":["hashtag1","hashtag2"]},{"1402017055":["hashtag1","hashtag2"]},{"1402017058":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017060, 1402017057, 1402017059, 1402017061, 1402017055, 1402017058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.475541830062866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:46:21.969163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_24_10675.jpg', '/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_34_9802.jpg', '/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_44_9719.jpg', '/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_54_10799.jpg', '/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_15_10054.jpg', '/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_26_10778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_24_10675.jpg
/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_34_9802.jpg
/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_44_9719.jpg
/home/pi/Desktop/images/01012026/10/59/image_01012026_10_59_54_10799.jpg
/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_15_10054.jpg
/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_26_10778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017069","1402017063","1402017062","1402017065","1402017073","1402017067"],"photo_ids_order":["1402017062","1402017063","1402017065","1402017067","1402017069","1402017073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b92ecd5b2a03c64bc1fbfb0def2a552b.jpg","text":"TemporaryFile(/tmp/multipartBody3130611094530375091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268042601,"filename":"image_01012026_11_00_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ba1b57d5452824a77043e0388c921f5.jpg","text":"TemporaryFile(/tmp/multipartBody2694194973347006284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268042601,"filename":"image_01012026_10_59_34_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c60865763951a2cb5d76270c5856e874.jpg","text":"TemporaryFile(/tmp/multipartBody5112566587144665562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268042601,"filename":"image_01012026_10_59_24_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c503a3d6f7c35e55aec1df195367c92.jpg","text":"TemporaryFile(/tmp/multipartBody7488297890398863810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268042601,"filename":"image_01012026_10_59_44_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1416c3076ffdfec4f5364c9fc4d5ea4f.jpg","text":"TemporaryFile(/tmp/multipartBody8395327122024007394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268042601,"filename":"image_01012026_11_00_26_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af450f07d2a35e2e005ace629737b391.jpg","text":"TemporaryFile(/tmp/multipartBody5874221476702906130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268042601,"filename":"image_01012026_10_59_54_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017065","file1":"1402017063","file0":"1402017062","file4":"1402017069","file5":"1402017073","file3":"1402017067"},"map_files_photo_id_array":[{"photo_id":"1402017073","filename":"file5"},{"photo_id":"1402017065","filename":"file2"},{"photo_id":"1402017069","filename":"file4"},{"photo_id":"1402017063","filename":"file1"},{"photo_id":"1402017062","filename":"file0"},{"photo_id":"1402017067","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017069":["hashtag1","hashtag2"]},{"1402017063":["hashtag1","hashtag2"]},{"1402017062":["hashtag1","hashtag2"]},{"1402017065":["hashtag1","hashtag2"]},{"1402017073":["hashtag1","hashtag2"]},{"1402017067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017069, 1402017063, 1402017062, 1402017065, 1402017073, 1402017067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47044897079468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:47:02.845819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_35_9760.jpg', '/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_45_9629.jpg', '/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_56_10755.jpg', '/home/pi/Desktop/images/01012026/11/00/image_01012026_11_01_05_9741.jpg', '/home/pi/Desktop/images/01012026/11/01/image_01012026_11_01_15_9679.jpg', '/home/pi/Desktop/images/01012026/11/01/image_01012026_11_01_25_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_35_9760.jpg
/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_45_9629.jpg
/home/pi/Desktop/images/01012026/11/00/image_01012026_11_00_56_10755.jpg
/home/pi/Desktop/images/01012026/11/00/image_01012026_11_01_05_9741.jpg
/home/pi/Desktop/images/01012026/11/01/image_01012026_11_01_15_9679.jpg
/home/pi/Desktop/images/01012026/11/01/image_01012026_11_01_25_9924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017081","1402017080","1402017083","1402017085","1402017082","1402017079"],"photo_ids_order":["1402017079","1402017080","1402017081","1402017082","1402017083","1402017085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7809caa8a44acb19018464eaca9774d8.jpg","text":"TemporaryFile(/tmp/multipartBody2087021385327362132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268083609,"filename":"image_01012026_11_00_56_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d9aa4974d27eaaa600d92affedef6a8.jpg","text":"TemporaryFile(/tmp/multipartBody290306898956855764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268083609,"filename":"image_01012026_11_00_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73578f310917651f41d1a638a8b1ec5b.jpg","text":"TemporaryFile(/tmp/multipartBody4838953662940026002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268083609,"filename":"image_01012026_11_01_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9356cddf5d61ef4bbb4b726ab4519c3.jpg","text":"TemporaryFile(/tmp/multipartBody3078508358989665024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268083609,"filename":"image_01012026_11_01_25_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c1e3b9333481eaf24e73cf4c6ee0d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5777073570671826210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268083609,"filename":"image_01012026_11_01_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12d24967e341a073710876172e431d7f.jpg","text":"TemporaryFile(/tmp/multipartBody6202347791633350892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268083609,"filename":"image_01012026_11_00_35_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017081","file1":"1402017080","file0":"1402017079","file4":"1402017083","file5":"1402017085","file3":"1402017082"},"map_files_photo_id_array":[{"photo_id":"1402017085","filename":"file5"},{"photo_id":"1402017081","filename":"file2"},{"photo_id":"1402017083","filename":"file4"},{"photo_id":"1402017080","filename":"file1"},{"photo_id":"1402017079","filename":"file0"},{"photo_id":"1402017082","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017081":["hashtag1","hashtag2"]},{"1402017080":["hashtag1","hashtag2"]},{"1402017083":["hashtag1","hashtag2"]},{"1402017085":["hashtag1","hashtag2"]},{"1402017082":["hashtag1","hashtag2"]},{"1402017079":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017081, 1402017080, 1402017083, 1402017085, 1402017082, 1402017079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38219499588013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:47:42.181561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_11_3768.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_20_9886.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_22_1629.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_24_1637.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_25_1643.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_27_1734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_11_3768.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_20_9886.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_22_1629.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_24_1637.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_25_1643.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_27_1734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017105","1402017107","1402017104","1402017100","1402017090","1402017103"],"photo_ids_order":["1402017090","1402017100","1402017103","1402017104","1402017105","1402017107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aed9f52b02a2eaa95c0b9436b291e873.jpg","text":"TemporaryFile(/tmp/multipartBody3930534275931148956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268123906,"filename":"image_04112025_16_51_25_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71fe7967032d18851ea19734dc1a9f1c.jpg","text":"TemporaryFile(/tmp/multipartBody3626257873159374253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268123906,"filename":"image_04112025_16_51_27_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f81daed6e2a6de501fa10f552258b925.jpg","text":"TemporaryFile(/tmp/multipartBody1359952639569582305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268123906,"filename":"image_04112025_16_51_24_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbb3c5b4a55e6be72cc615e334fdebee.jpg","text":"TemporaryFile(/tmp/multipartBody1475005355488382785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268123906,"filename":"image_04112025_16_51_20_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d71d3a42c34946ec819bcb613dcd61a0.jpg","text":"TemporaryFile(/tmp/multipartBody8106131322754344951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268123906,"filename":"image_04112025_16_51_11_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbed74e996ddbc58bc766d38deb3f873.jpg","text":"TemporaryFile(/tmp/multipartBody6717506723649492368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268123906,"filename":"image_04112025_16_51_22_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017103","file1":"1402017100","file0":"1402017090","file4":"1402017105","file5":"1402017107","file3":"1402017104"},"map_files_photo_id_array":[{"photo_id":"1402017107","filename":"file5"},{"photo_id":"1402017103","filename":"file2"},{"photo_id":"1402017105","filename":"file4"},{"photo_id":"1402017100","filename":"file1"},{"photo_id":"1402017090","filename":"file0"},{"photo_id":"1402017104","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017105":["hashtag1","hashtag2"]},{"1402017107":["hashtag1","hashtag2"]},{"1402017104":["hashtag1","hashtag2"]},{"1402017100":["hashtag1","hashtag2"]},{"1402017090":["hashtag1","hashtag2"]},{"1402017103":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017105, 1402017107, 1402017104, 1402017100, 1402017090, 1402017103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42050886154175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:48:22.439106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/01/image_01012026_11_01_35_9712.jpg', '/home/pi/Desktop/images/01012026/11/01/image_01012026_11_01_46_10852.jpg', '/home/pi/Desktop/images/01012026/11/01/image_01012026_11_02_05_9831.jpg', '/home/pi/Desktop/images/01012026/11/02/image_01012026_11_02_25_10020.jpg', '/home/pi/Desktop/images/01012026/11/02/image_01012026_11_02_35_9814.jpg', '/home/pi/Desktop/images/01012026/11/02/image_01012026_11_02_46_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/01/image_01012026_11_01_35_9712.jpg
/home/pi/Desktop/images/01012026/11/01/image_01012026_11_01_46_10852.jpg
/home/pi/Desktop/images/01012026/11/01/image_01012026_11_02_05_9831.jpg
/home/pi/Desktop/images/01012026/11/02/image_01012026_11_02_25_10020.jpg
/home/pi/Desktop/images/01012026/11/02/image_01012026_11_02_35_9814.jpg
/home/pi/Desktop/images/01012026/11/02/image_01012026_11_02_46_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017114","1402017117","1402017111","1402017113","1402017119","1402017109"],"photo_ids_order":["1402017109","1402017111","1402017113","1402017114","1402017117","1402017119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d360b88cdb00d022eaaf315f1964180.jpg","text":"TemporaryFile(/tmp/multipartBody245768452254617396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268163116,"filename":"image_01012026_11_02_25_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03bfec841e671346c7c32ae6c9fe4dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2418759937904033492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268163116,"filename":"image_01012026_11_02_35_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e5ec87543f173579552f3b21dce3503.jpg","text":"TemporaryFile(/tmp/multipartBody1013277997110858096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268163116,"filename":"image_01012026_11_01_46_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f5a5dfb9a1f128ccb68ac3975c1a7ff.jpg","text":"TemporaryFile(/tmp/multipartBody7779090677493508629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268163116,"filename":"image_01012026_11_02_05_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5150a1a18460f2615cc77d8387e3d6fc.jpg","text":"TemporaryFile(/tmp/multipartBody5377842181688611628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268163116,"filename":"image_01012026_11_02_46_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e120a6d87432b2756e03108921fa2b07.jpg","text":"TemporaryFile(/tmp/multipartBody5049002201510233253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268163116,"filename":"image_01012026_11_01_35_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017113","file1":"1402017111","file0":"1402017109","file4":"1402017117","file5":"1402017119","file3":"1402017114"},"map_files_photo_id_array":[{"photo_id":"1402017119","filename":"file5"},{"photo_id":"1402017113","filename":"file2"},{"photo_id":"1402017117","filename":"file4"},{"photo_id":"1402017111","filename":"file1"},{"photo_id":"1402017109","filename":"file0"},{"photo_id":"1402017114","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017114":["hashtag1","hashtag2"]},{"1402017117":["hashtag1","hashtag2"]},{"1402017111":["hashtag1","hashtag2"]},{"1402017113":["hashtag1","hashtag2"]},{"1402017119":["hashtag1","hashtag2"]},{"1402017109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017114, 1402017117, 1402017111, 1402017113, 1402017119, 1402017109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79521155357361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:49:03.561146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/02/image_01012026_11_02_55_9658.jpg', '/home/pi/Desktop/images/01012026/11/02/image_01012026_11_03_05_9833.jpg', '/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_15_9711.jpg', '/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_26_10832.jpg', '/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_36_9789.jpg', '/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_45_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/02/image_01012026_11_02_55_9658.jpg
/home/pi/Desktop/images/01012026/11/02/image_01012026_11_03_05_9833.jpg
/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_15_9711.jpg
/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_26_10832.jpg
/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_36_9789.jpg
/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_45_9628.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":["1402017123","1402017126","1402017128","1402017122","1402017124","1402017121"],"photo_ids_order":["1402017121","1402017122","1402017123","1402017124","1402017126","1402017128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26d465f9c3266a620d264c2e134bd4da.jpg","text":"TemporaryFile(/tmp/multipartBody7388478854940789436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268207371,"filename":"image_01012026_11_03_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d8f3d8b03221a03a48b08802502cfdb.jpg","text":"TemporaryFile(/tmp/multipartBody4719196155073270278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268207371,"filename":"image_01012026_11_03_36_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/204fd84a29c8aedefb2b0c9435f6e54d.jpg","text":"TemporaryFile(/tmp/multipartBody5289494155295513052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268207371,"filename":"image_01012026_11_03_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f9a130b7d185e8f1f7500071474d0ae.jpg","text":"TemporaryFile(/tmp/multipartBody8945809223432943404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268207371,"filename":"image_01012026_11_03_05_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18c2693c4117b1a09b060a164fe7b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody6972069693545858689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268207371,"filename":"image_01012026_11_03_26_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a507166c7bbe02fbca2e7440b51ab01.jpg","text":"TemporaryFile(/tmp/multipartBody3174253745666475259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268207371,"filename":"image_01012026_11_02_55_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017123","file1":"1402017122","file0":"1402017121","file4":"1402017126","file5":"1402017128","file3":"1402017124"},"map_files_photo_id_array":[{"photo_id":"1402017128","filename":"file5"},{"photo_id":"1402017123","filename":"file2"},{"photo_id":"1402017126","filename":"file4"},{"photo_id":"1402017122","filename":"file1"},{"photo_id":"1402017121","filename":"file0"},{"photo_id":"1402017124","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017123":["hashtag1","hashtag2"]},{"1402017126":["hashtag1","hashtag2"]},{"1402017128":["hashtag1","hashtag2"]},{"1402017122":["hashtag1","hashtag2"]},{"1402017124":["hashtag1","hashtag2"]},{"1402017121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017123, 1402017126, 1402017128, 1402017122, 1402017124, 1402017121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.291038274765015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:50:02.918087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_55_9704.jpg', '/home/pi/Desktop/images/01012026/11/03/image_01012026_11_04_06_10691.jpg', '/home/pi/Desktop/images/01012026/11/04/image_01012026_11_04_46_10738.jpg', '/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_14_10061.jpg', '/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_25_10701.jpg', '/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_35_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_55_9704.jpg
/home/pi/Desktop/images/01012026/11/03/image_01012026_11_04_06_10691.jpg
/home/pi/Desktop/images/01012026/11/04/image_01012026_11_04_46_10738.jpg
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_14_10061.jpg
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_25_10701.jpg
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_35_9794.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.6411726474761963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:50:12.450682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_29_1840.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_37_2567.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_46_2685.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_50_3591.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_52_2828.jpg', '/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_55_2504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_29_1840.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_37_2567.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_46_2685.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_50_3591.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_52_2828.jpg
/home/pi/Desktop/images/04112025/16/51/image_04112025_16_51_55_2504.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017144","1402017146","1402017148","1402017142","1402017136","1402017139"],"photo_ids_order":["1402017136","1402017139","1402017142","1402017144","1402017146","1402017148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f2e5fbed4b6582f364b82dfd426643d.jpg","text":"TemporaryFile(/tmp/multipartBody5072497952839594872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268274212,"filename":"image_04112025_16_51_50_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11897318c49940aa65847805c691006d.jpg","text":"TemporaryFile(/tmp/multipartBody6160528360495089246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268274212,"filename":"image_04112025_16_51_52_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0621b3acba5f230a93fefb96b6d213c.jpg","text":"TemporaryFile(/tmp/multipartBody2593241945287194434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268274212,"filename":"image_04112025_16_51_55_2504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/537dabea3da058ff6aff7c929a35ee61.jpg","text":"TemporaryFile(/tmp/multipartBody2141623871571209443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268274212,"filename":"image_04112025_16_51_46_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/855714627274cc8415ca98ee17bdf6e0.jpg","text":"TemporaryFile(/tmp/multipartBody7396967097948287280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268274212,"filename":"image_04112025_16_51_29_1840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55acd0216c3a168e775be6bff0f036fd.jpg","text":"TemporaryFile(/tmp/multipartBody551632791345390706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268274212,"filename":"image_04112025_16_51_37_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017142","file1":"1402017139","file0":"1402017136","file4":"1402017146","file5":"1402017148","file3":"1402017144"},"map_files_photo_id_array":[{"photo_id":"1402017148","filename":"file5"},{"photo_id":"1402017142","filename":"file2"},{"photo_id":"1402017146","filename":"file4"},{"photo_id":"1402017139","filename":"file1"},{"photo_id":"1402017136","filename":"file0"},{"photo_id":"1402017144","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017144":["hashtag1","hashtag2"]},{"1402017146":["hashtag1","hashtag2"]},{"1402017148":["hashtag1","hashtag2"]},{"1402017142":["hashtag1","hashtag2"]},{"1402017136":["hashtag1","hashtag2"]},{"1402017139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017144, 1402017146, 1402017148, 1402017142, 1402017136, 1402017139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92878484725952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:51:03.429548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_55_9704.jpg', '/home/pi/Desktop/images/01012026/11/03/image_01012026_11_04_06_10691.jpg', '/home/pi/Desktop/images/01012026/11/04/image_01012026_11_04_46_10738.jpg', '/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_14_10061.jpg', '/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_25_10701.jpg', '/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_35_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/03/image_01012026_11_03_55_9704.jpg
/home/pi/Desktop/images/01012026/11/03/image_01012026_11_04_06_10691.jpg
/home/pi/Desktop/images/01012026/11/04/image_01012026_11_04_46_10738.jpg
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_14_10061.jpg
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_25_10701.jpg
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_35_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":["1402017164","1402017167","1402017166","1402017169","1402017163","1402017165"],"photo_ids_order":["1402017163","1402017164","1402017165","1402017166","1402017167","1402017169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36a41114c698830803f2a31fa8a3852d.jpg","text":"TemporaryFile(/tmp/multipartBody461609419589928126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268324232,"filename":"image_01012026_11_04_06_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d529a59074c2e299c861649bfa691b2.jpg","text":"TemporaryFile(/tmp/multipartBody3963162137720591406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268324232,"filename":"image_01012026_11_05_25_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfaddb8c13692c2b2f6791138d04628a.jpg","text":"TemporaryFile(/tmp/multipartBody1894304088657708208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268324232,"filename":"image_01012026_11_05_14_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba208c1ca9f20c4701d91cb5aa3a19f3.jpg","text":"TemporaryFile(/tmp/multipartBody2361319019701267911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268324232,"filename":"image_01012026_11_05_35_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39a1148c3b802d5bec2956078fbf1da9.jpg","text":"TemporaryFile(/tmp/multipartBody4819966669335644805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268324232,"filename":"image_01012026_11_03_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d657eb2a4bb39bdd2971ddb61c15563c.jpg","text":"TemporaryFile(/tmp/multipartBody1355875908658829342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268324232,"filename":"image_01012026_11_04_46_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017165","file1":"1402017164","file0":"1402017163","file4":"1402017167","file5":"1402017169","file3":"1402017166"},"map_files_photo_id_array":[{"photo_id":"1402017169","filename":"file5"},{"photo_id":"1402017165","filename":"file2"},{"photo_id":"1402017167","filename":"file4"},{"photo_id":"1402017164","filename":"file1"},{"photo_id":"1402017163","filename":"file0"},{"photo_id":"1402017166","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017164":["hashtag1","hashtag2"]},{"1402017167":["hashtag1","hashtag2"]},{"1402017166":["hashtag1","hashtag2"]},{"1402017169":["hashtag1","hashtag2"]},{"1402017163":["hashtag1","hashtag2"]},{"1402017165":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017164, 1402017167, 1402017166, 1402017169, 1402017163, 1402017165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91276955604553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:51:42.701260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/52/image_04112025_16_52_05_5452.jpg', '/home/pi/Desktop/images/04112025/16/52/image_04112025_16_52_19_14493.jpg', '/home/pi/Desktop/images/04112025/16/52/image_04112025_16_52_50_1704.jpg', '/home/pi/Desktop/images/04112025/16/52/image_04112025_16_53_00_1574.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_02_1519.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_07_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/52/image_04112025_16_52_05_5452.jpg
/home/pi/Desktop/images/04112025/16/52/image_04112025_16_52_19_14493.jpg
/home/pi/Desktop/images/04112025/16/52/image_04112025_16_52_50_1704.jpg
/home/pi/Desktop/images/04112025/16/52/image_04112025_16_53_00_1574.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_02_1519.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_07_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":["1402017180","1402017176","1402017179","1402017175","1402017178","1402017177"],"photo_ids_order":["1402017175","1402017176","1402017177","1402017178","1402017179","1402017180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/812c845f9d8d6b59baab748faf7bd383.jpg","text":"TemporaryFile(/tmp/multipartBody2690764049362142646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268364527,"filename":"image_04112025_16_53_07_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07dfb7897ed2a199e4bdd2396b0ed1c7.jpg","text":"TemporaryFile(/tmp/multipartBody218810779095276511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268364527,"filename":"image_04112025_16_52_19_14493.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c87f6cfd8558b2a4f45b208d764b6ea0.jpg","text":"TemporaryFile(/tmp/multipartBody6176762168008102983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268364527,"filename":"image_04112025_16_53_02_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6665a95cd552945eff418b49d7bb36fa.jpg","text":"TemporaryFile(/tmp/multipartBody4852827838195378408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268364527,"filename":"image_04112025_16_52_05_5452.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90af68bbce2ca129be134b9b6714d202.jpg","text":"TemporaryFile(/tmp/multipartBody9088083506917976737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268364527,"filename":"image_04112025_16_53_00_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30d29cee15ac647295835d3835627a98.jpg","text":"TemporaryFile(/tmp/multipartBody1585080420789369732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268364527,"filename":"image_04112025_16_52_50_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017177","file1":"1402017176","file0":"1402017175","file4":"1402017179","file5":"1402017180","file3":"1402017178"},"map_files_photo_id_array":[{"photo_id":"1402017180","filename":"file5"},{"photo_id":"1402017177","filename":"file2"},{"photo_id":"1402017179","filename":"file4"},{"photo_id":"1402017176","filename":"file1"},{"photo_id":"1402017175","filename":"file0"},{"photo_id":"1402017178","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017180":["hashtag1","hashtag2"]},{"1402017176":["hashtag1","hashtag2"]},{"1402017179":["hashtag1","hashtag2"]},{"1402017175":["hashtag1","hashtag2"]},{"1402017178":["hashtag1","hashtag2"]},{"1402017177":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017180, 1402017176, 1402017179, 1402017175, 1402017178, 1402017177)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.12757587432861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:52:31.897238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_17_1659.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_19_1671.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_20_1765.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_27_6228.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_28_1660.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_30_1575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_17_1659.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_19_1671.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_20_1765.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_27_6228.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_28_1660.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_30_1575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017189","1402017194","1402017184","1402017193","1402017192","1402017186"],"photo_ids_order":["1402017184","1402017186","1402017189","1402017192","1402017193","1402017194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c4a0e2a6a7a138a81c7f34a65ee64c1.jpg","text":"TemporaryFile(/tmp/multipartBody5950065565710644951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268413746,"filename":"image_04112025_16_53_20_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcc844b7fab1e4fa8aca9bb01e7e175a.jpg","text":"TemporaryFile(/tmp/multipartBody7003903388206924870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268413746,"filename":"image_04112025_16_53_30_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9968a2cce7673b5bb8562132afe6ceb6.jpg","text":"TemporaryFile(/tmp/multipartBody6666100121074931652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268413746,"filename":"image_04112025_16_53_17_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8cafec697ceeec59228209d8ac25cd55.jpg","text":"TemporaryFile(/tmp/multipartBody5900436554304410356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268413746,"filename":"image_04112025_16_53_28_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7f7e0a4de66d3122328295ba258541b.jpg","text":"TemporaryFile(/tmp/multipartBody3555404095115389403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268413746,"filename":"image_04112025_16_53_27_6228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c7c568c1163a15f1d60b9d11d7af6d5.jpg","text":"TemporaryFile(/tmp/multipartBody3254964731321663779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268413746,"filename":"image_04112025_16_53_19_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017189","file1":"1402017186","file0":"1402017184","file4":"1402017193","file5":"1402017194","file3":"1402017192"},"map_files_photo_id_array":[{"photo_id":"1402017194","filename":"file5"},{"photo_id":"1402017189","filename":"file2"},{"photo_id":"1402017193","filename":"file4"},{"photo_id":"1402017186","filename":"file1"},{"photo_id":"1402017184","filename":"file0"},{"photo_id":"1402017192","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017189":["hashtag1","hashtag2"]},{"1402017194":["hashtag1","hashtag2"]},{"1402017184":["hashtag1","hashtag2"]},{"1402017193":["hashtag1","hashtag2"]},{"1402017192":["hashtag1","hashtag2"]},{"1402017186":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017189, 1402017194, 1402017184, 1402017193, 1402017192, 1402017186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6886830329895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:53:12.099900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_31_1606.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_35_1508.jpg', '/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_37_2649.jpg', '/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_07_3897.jpg', '/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_10_2754.jpg', '/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_13_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_31_1606.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_35_1508.jpg
/home/pi/Desktop/images/04112025/16/53/image_04112025_16_53_37_2649.jpg
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_07_3897.jpg
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_10_2754.jpg
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_13_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017201","1402017197","1402017199","1402017203","1402017196","1402017195"],"photo_ids_order":["1402017195","1402017196","1402017197","1402017199","1402017201","1402017203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e711a625b6445b201f4e5ea0a6cc53e3.jpg","text":"TemporaryFile(/tmp/multipartBody8875568958938723425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268453842,"filename":"image_04112025_16_55_10_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d33fcdfe83a1da513cf8cf921a487566.jpg","text":"TemporaryFile(/tmp/multipartBody4782759068329160232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268453842,"filename":"image_04112025_16_53_37_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dc8a27534231d1082e6e809e003f3df.jpg","text":"TemporaryFile(/tmp/multipartBody4846966008660009753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268453842,"filename":"image_04112025_16_55_07_3897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5711500ccba6f1c1b2538ec95740c9e.jpg","text":"TemporaryFile(/tmp/multipartBody710188173646814368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268453842,"filename":"image_04112025_16_55_13_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ad95abd0af24f3e8ca6d35282b496e6.jpg","text":"TemporaryFile(/tmp/multipartBody3067745680963730864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268453842,"filename":"image_04112025_16_53_35_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9db76fb6d29fbaf74d74495937b8175.jpg","text":"TemporaryFile(/tmp/multipartBody9004008642206801736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268453842,"filename":"image_04112025_16_53_31_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017197","file1":"1402017196","file0":"1402017195","file4":"1402017201","file5":"1402017203","file3":"1402017199"},"map_files_photo_id_array":[{"photo_id":"1402017203","filename":"file5"},{"photo_id":"1402017197","filename":"file2"},{"photo_id":"1402017201","filename":"file4"},{"photo_id":"1402017196","filename":"file1"},{"photo_id":"1402017195","filename":"file0"},{"photo_id":"1402017199","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017201":["hashtag1","hashtag2"]},{"1402017197":["hashtag1","hashtag2"]},{"1402017199":["hashtag1","hashtag2"]},{"1402017203":["hashtag1","hashtag2"]},{"1402017196":["hashtag1","hashtag2"]},{"1402017195":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017201, 1402017197, 1402017199, 1402017203, 1402017196, 1402017195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.337069511413574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:54:02.858693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_44_9733.jpg', '/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_55_10561.jpg', '/home/pi/Desktop/images/01012026/11/05/image_01012026_11_06_05_9599.jpg', '/home/pi/Desktop/images/01012026/11/06/image_01012026_11_06_14_9827.jpg', '/home/pi/Desktop/images/01012026/11/06/image_01012026_11_06_35_9671.jpg', '/home/pi/Desktop/images/01012026/11/06/image_01012026_11_06_45_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_44_9733.jpg
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_05_55_10561.jpg
/home/pi/Desktop/images/01012026/11/05/image_01012026_11_06_05_9599.jpg
/home/pi/Desktop/images/01012026/11/06/image_01012026_11_06_14_9827.jpg
/home/pi/Desktop/images/01012026/11/06/image_01012026_11_06_35_9671.jpg
/home/pi/Desktop/images/01012026/11/06/image_01012026_11_06_45_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":["1402017222","1402017219","1402017224","1402017221","1402017218","1402017220"],"photo_ids_order":["1402017218","1402017219","1402017220","1402017221","1402017222","1402017224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8aa652fbdc254cc5da7303682e4b8913.jpg","text":"TemporaryFile(/tmp/multipartBody2369821837092643847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268503601,"filename":"image_01012026_11_06_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88990311fc7b31171b5e6f8ae5f6bc19.jpg","text":"TemporaryFile(/tmp/multipartBody5046596269230942458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268503601,"filename":"image_01012026_11_05_55_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7869ebe9adce584a79dc02a9974a13b8.jpg","text":"TemporaryFile(/tmp/multipartBody7125970586759195442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268503601,"filename":"image_01012026_11_06_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad720be38add99bca11877e226899342.jpg","text":"TemporaryFile(/tmp/multipartBody5491272002773313143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268503601,"filename":"image_01012026_11_06_14_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d55b19330c666ef08af8d0e4ef903611.jpg","text":"TemporaryFile(/tmp/multipartBody547723009006698734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268503601,"filename":"image_01012026_11_05_44_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5073ecb4fd029bae4f9e57d5463b1d1d.jpg","text":"TemporaryFile(/tmp/multipartBody232347341094192740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268503601,"filename":"image_01012026_11_06_05_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017220","file1":"1402017219","file0":"1402017218","file4":"1402017222","file5":"1402017224","file3":"1402017221"},"map_files_photo_id_array":[{"photo_id":"1402017224","filename":"file5"},{"photo_id":"1402017220","filename":"file2"},{"photo_id":"1402017222","filename":"file4"},{"photo_id":"1402017219","filename":"file1"},{"photo_id":"1402017218","filename":"file0"},{"photo_id":"1402017221","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017222":["hashtag1","hashtag2"]},{"1402017219":["hashtag1","hashtag2"]},{"1402017224":["hashtag1","hashtag2"]},{"1402017221":["hashtag1","hashtag2"]},{"1402017218":["hashtag1","hashtag2"]},{"1402017220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017222, 1402017219, 1402017224, 1402017221, 1402017218, 1402017220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.113386392593384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:54:42.379507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_19_2776.jpg', '/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_22_2761.jpg', '/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_30_5782.jpg', '/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_32_1650.jpg', '/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_34_1657.jpg', '/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_37_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_19_2776.jpg
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_22_2761.jpg
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_30_5782.jpg
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_32_1650.jpg
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_34_1657.jpg
/home/pi/Desktop/images/04112025/16/55/image_04112025_16_55_37_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":["1402017231","1402017234","1402017233","1402017236","1402017229","1402017232"],"photo_ids_order":["1402017229","1402017231","1402017232","1402017233","1402017234","1402017236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ade1bf4cdb400d3528ea89f52182e998.jpg","text":"TemporaryFile(/tmp/multipartBody2475332050757676475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268544177,"filename":"image_04112025_16_55_22_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79c71fb7b147297646c057812d8b4018.jpg","text":"TemporaryFile(/tmp/multipartBody4963143861673870434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268544177,"filename":"image_04112025_16_55_34_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e161e0082e22ca8a7d8b92254cb0993.jpg","text":"TemporaryFile(/tmp/multipartBody2832409182533793745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268544177,"filename":"image_04112025_16_55_32_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/562404b015b7233ca6cfe8883897e5a1.jpg","text":"TemporaryFile(/tmp/multipartBody7489839233262988530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268544177,"filename":"image_04112025_16_55_37_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbfe83f84d898923edcfdbe9e9daae1f.jpg","text":"TemporaryFile(/tmp/multipartBody7008124695087160211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268544177,"filename":"image_04112025_16_55_19_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/390cdf8b8295f71e536a2004d149a3a3.jpg","text":"TemporaryFile(/tmp/multipartBody3170565127676906120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268544177,"filename":"image_04112025_16_55_30_5782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017232","file1":"1402017231","file0":"1402017229","file4":"1402017234","file5":"1402017236","file3":"1402017233"},"map_files_photo_id_array":[{"photo_id":"1402017236","filename":"file5"},{"photo_id":"1402017232","filename":"file2"},{"photo_id":"1402017234","filename":"file4"},{"photo_id":"1402017231","filename":"file1"},{"photo_id":"1402017229","filename":"file0"},{"photo_id":"1402017233","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017231":["hashtag1","hashtag2"]},{"1402017234":["hashtag1","hashtag2"]},{"1402017233":["hashtag1","hashtag2"]},{"1402017236":["hashtag1","hashtag2"]},{"1402017229":["hashtag1","hashtag2"]},{"1402017232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017231, 1402017234, 1402017233, 1402017236, 1402017229, 1402017232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.041468381881714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:55:22.539003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/06/image_01012026_11_06_55_10636.jpg', '/home/pi/Desktop/images/01012026/11/06/image_01012026_11_07_05_9706.jpg', '/home/pi/Desktop/images/01012026/11/07/image_01012026_11_07_15_9684.jpg', '/home/pi/Desktop/images/01012026/11/07/image_01012026_11_07_24_9745.jpg', '/home/pi/Desktop/images/01012026/11/07/image_01012026_11_07_34_9922.jpg', '/home/pi/Desktop/images/01012026/11/08/image_01012026_11_08_15_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/06/image_01012026_11_06_55_10636.jpg
/home/pi/Desktop/images/01012026/11/06/image_01012026_11_07_05_9706.jpg
/home/pi/Desktop/images/01012026/11/07/image_01012026_11_07_15_9684.jpg
/home/pi/Desktop/images/01012026/11/07/image_01012026_11_07_24_9745.jpg
/home/pi/Desktop/images/01012026/11/07/image_01012026_11_07_34_9922.jpg
/home/pi/Desktop/images/01012026/11/08/image_01012026_11_08_15_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017240","1402017242","1402017245","1402017247","1402017244","1402017238"],"photo_ids_order":["1402017238","1402017240","1402017242","1402017244","1402017245","1402017247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fb6a36cf0c89373867b0f10bda285de.jpg","text":"TemporaryFile(/tmp/multipartBody7570544647953591990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268583229,"filename":"image_01012026_11_07_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c32ecf0dc8d224e2ec92980bbda96d1.jpg","text":"TemporaryFile(/tmp/multipartBody4724020110068026968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268583229,"filename":"image_01012026_11_07_15_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c61c20aa1bcc7d9584c6603a8ca3149.jpg","text":"TemporaryFile(/tmp/multipartBody4310923921221118277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268583229,"filename":"image_01012026_11_07_34_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d9c2c475b162b4fb4f30b9768b7897e.jpg","text":"TemporaryFile(/tmp/multipartBody6122781145264886677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268583229,"filename":"image_01012026_11_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/2026/1/1/1abdf8c33115cf58ff4815c9683cd199.jpg","text":"TemporaryFile(/tmp/multipartBody471922757518714138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268583229,"filename":"image_01012026_11_07_24_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60977be87010cdf5d628fa3d29bead78.jpg","text":"TemporaryFile(/tmp/multipartBody6935432489727209874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268583229,"filename":"image_01012026_11_06_55_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017242","file1":"1402017240","file0":"1402017238","file4":"1402017245","file5":"1402017247","file3":"1402017244"},"map_files_photo_id_array":[{"photo_id":"1402017247","filename":"file5"},{"photo_id":"1402017242","filename":"file2"},{"photo_id":"1402017245","filename":"file4"},{"photo_id":"1402017240","filename":"file1"},{"photo_id":"1402017238","filename":"file0"},{"photo_id":"1402017244","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017240":["hashtag1","hashtag2"]},{"1402017242":["hashtag1","hashtag2"]},{"1402017245":["hashtag1","hashtag2"]},{"1402017247":["hashtag1","hashtag2"]},{"1402017244":["hashtag1","hashtag2"]},{"1402017238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017240, 1402017242, 1402017245, 1402017247, 1402017244, 1402017238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.009145736694336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:56:03.159187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/08/image_01012026_11_08_25_9795.jpg', '/home/pi/Desktop/images/01012026/11/08/image_01012026_11_08_44_9681.jpg', '/home/pi/Desktop/images/01012026/11/08/image_01012026_11_08_55_10672.jpg', '/home/pi/Desktop/images/01012026/11/08/image_01012026_11_09_05_9888.jpg', '/home/pi/Desktop/images/01012026/11/09/image_01012026_11_09_15_9699.jpg', '/home/pi/Desktop/images/01012026/11/09/image_01012026_11_09_24_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/08/image_01012026_11_08_25_9795.jpg
/home/pi/Desktop/images/01012026/11/08/image_01012026_11_08_44_9681.jpg
/home/pi/Desktop/images/01012026/11/08/image_01012026_11_08_55_10672.jpg
/home/pi/Desktop/images/01012026/11/08/image_01012026_11_09_05_9888.jpg
/home/pi/Desktop/images/01012026/11/09/image_01012026_11_09_15_9699.jpg
/home/pi/Desktop/images/01012026/11/09/image_01012026_11_09_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":["1402017252","1402017249","1402017251","1402017254","1402017248","1402017250"],"photo_ids_order":["1402017248","1402017249","1402017250","1402017251","1402017252","1402017254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b529b38728416e8fbf54a60a6f19db4.jpg","text":"TemporaryFile(/tmp/multipartBody9068732519492339752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268623890,"filename":"image_01012026_11_09_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc33330878e2d87af7fe2b3456838a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3624551058306658162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268623890,"filename":"image_01012026_11_08_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54d44a25e7dd5cf1c21a840fd92228ec.jpg","text":"TemporaryFile(/tmp/multipartBody7994948242824104889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268623890,"filename":"image_01012026_11_09_05_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0375986d6dd450dc8c077a446b734b29.jpg","text":"TemporaryFile(/tmp/multipartBody7649027614790845601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268623890,"filename":"image_01012026_11_09_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3616105d6adae19713ec0bb69e794723.jpg","text":"TemporaryFile(/tmp/multipartBody8013275029080501932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268623890,"filename":"image_01012026_11_08_25_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/367562563aeebbe9a8895527c492debe.jpg","text":"TemporaryFile(/tmp/multipartBody5721400541951925401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268623890,"filename":"image_01012026_11_08_55_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017250","file1":"1402017249","file0":"1402017248","file4":"1402017252","file5":"1402017254","file3":"1402017251"},"map_files_photo_id_array":[{"photo_id":"1402017254","filename":"file5"},{"photo_id":"1402017250","filename":"file2"},{"photo_id":"1402017252","filename":"file4"},{"photo_id":"1402017249","filename":"file1"},{"photo_id":"1402017248","filename":"file0"},{"photo_id":"1402017251","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017252":["hashtag1","hashtag2"]},{"1402017249":["hashtag1","hashtag2"]},{"1402017251":["hashtag1","hashtag2"]},{"1402017254":["hashtag1","hashtag2"]},{"1402017248":["hashtag1","hashtag2"]},{"1402017250":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017252, 1402017249, 1402017251, 1402017254, 1402017248, 1402017250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.04389929771423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 12:56:42.789588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_06_3018.jpg', '/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_10_3663.jpg', '/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_12_2744.jpg', '/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_15_2655.jpg', '/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_19_3611.jpg', '/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_21_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_06_3018.jpg
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_10_3663.jpg
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_12_2744.jpg
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_15_2655.jpg
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_19_3611.jpg
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_21_2675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017273","1402017272","1402017271","1402017274","1402017270","1402017258"],"photo_ids_order":["1402017258","1402017270","1402017271","1402017272","1402017273","1402017274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60fddeb1c363cced22b93e589783771a.jpg","text":"TemporaryFile(/tmp/multipartBody4470564558340424647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268664668,"filename":"image_04112025_16_57_19_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a50ca5af252c8c8ac41b1a7d7534cfbf.jpg","text":"TemporaryFile(/tmp/multipartBody1365920973941190479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268664668,"filename":"image_04112025_16_57_15_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0cf4893882814b1241ffdb00259c693.jpg","text":"TemporaryFile(/tmp/multipartBody4724799878111756092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268664668,"filename":"image_04112025_16_57_12_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f1fcf8b77b6dc52538e48d169ace065.jpg","text":"TemporaryFile(/tmp/multipartBody6051814552711152025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268664668,"filename":"image_04112025_16_57_21_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed36bbd89f60681b15a726a45a9c9433.jpg","text":"TemporaryFile(/tmp/multipartBody2434384705861375313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268664668,"filename":"image_04112025_16_57_10_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8dda9810677871135e4d31e679a1d8d9.jpg","text":"TemporaryFile(/tmp/multipartBody8455043877184595299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268664668,"filename":"image_04112025_16_57_06_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017271","file1":"1402017270","file0":"1402017258","file4":"1402017273","file5":"1402017274","file3":"1402017272"},"map_files_photo_id_array":[{"photo_id":"1402017274","filename":"file5"},{"photo_id":"1402017271","filename":"file2"},{"photo_id":"1402017273","filename":"file4"},{"photo_id":"1402017270","filename":"file1"},{"photo_id":"1402017258","filename":"file0"},{"photo_id":"1402017272","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402017273":["hashtag1","hashtag2"]},{"1402017272":["hashtag1","hashtag2"]},{"1402017271":["hashtag1","hashtag2"]},{"1402017274":["hashtag1","hashtag2"]},{"1402017270":["hashtag1","hashtag2"]},{"1402017258":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402017273, 1402017272, 1402017271, 1402017274, 1402017270, 1402017258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99489450454712 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 12:57:21.924903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/09/image_01012026_11_09_45_9745.jpg', '/home/pi/Desktop/images/01012026/11/09/image_01012026_11_09_55_9839.jpg', '/home/pi/Desktop/images/01012026/11/10/image_01012026_11_10_15_10056.jpg', '/home/pi/Desktop/images/01012026/11/10/image_01012026_11_10_55_9748.jpg', '/home/pi/Desktop/images/01012026/11/11/image_01012026_11_11_25_9739.jpg', '/home/pi/Desktop/images/01012026/11/11/image_01012026_11_11_36_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/09/image_01012026_11_09_45_9745.jpg
/home/pi/Desktop/images/01012026/11/09/image_01012026_11_09_55_9839.jpg
/home/pi/Desktop/images/01012026/11/10/image_01012026_11_10_15_10056.jpg
/home/pi/Desktop/images/01012026/11/10/image_01012026_11_10_55_9748.jpg
/home/pi/Desktop/images/01012026/11/11/image_01012026_11_11_25_9739.jpg
/home/pi/Desktop/images/01012026/11/11/image_01012026_11_11_36_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402017281","1402017275","1402017284","1402017283","1402017277","1402017279"],"photo_ids_order":["1402017275","1402017277","1402017279","1402017281","1402017283","1402017284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/479c1fc343f86d9c8b738f55b3178580.jpg","text":"TemporaryFile(/tmp/multipartBody1518132199080016191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268702617,"filename":"image_01012026_11_10_55_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f81cf02e88581b9827ea3c1bf94aa17.jpg","text":"TemporaryFile(/tmp/multipartBody88188888357318389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268702617,"filename":"image_01012026_11_09_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a866be1a83186b9982886a533481e86.jpg","text":"TemporaryFile(/tmp/multipartBody4422871338988584359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268702617,"filename":"image_01012026_11_11_36_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3d9ccee87d12ceee5e29381ba9c50e7.jpg","text":"TemporaryFile(/tmp/multipartBody8684288293913743831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268702617,"filename":"image_01012026_11_11_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34b1675b49a85953941319193d2de78b.jpg","text":"TemporaryFile(/tmp/multipartBody8012997319021737140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268702617,"filename":"image_01012026_11_09_55_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8ebedea613e638bc9ec000a5daf0af3.jpg","text":"TemporaryFile(/tmp/multipartBody9152773451503841845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268702617,"filename":"image_01012026_11_10_15_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017279","file1":"1402017277","file0":"1402017275","file4":"1402017283","file5":"1402017284","file3":"1402017281"},"map_files_photo_id_array":[{"photo_id":"1402017284","filename":"file5"},{"photo_id":"1402017279","filename":"file2"},{"photo_id":"1402017283","filename":"file4"},{"photo_id":"1402017277","filename":"file1"},{"photo_id":"1402017275","filename":"file0"},{"photo_id":"1402017281","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017281":["hashtag1","hashtag2"]},{"1402017275":["hashtag1","hashtag2"]},{"1402017284":["hashtag1","hashtag2"]},{"1402017283":["hashtag1","hashtag2"]},{"1402017277":["hashtag1","hashtag2"]},{"1402017279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017281, 1402017275, 1402017284, 1402017283, 1402017277, 1402017279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44160079956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 12:59:03.378780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/11/image_01012026_11_12_05_9678.jpg', '/home/pi/Desktop/images/01012026/11/12/image_01012026_11_12_16_10793.jpg', '/home/pi/Desktop/images/01012026/11/12/image_01012026_11_12_25_9700.jpg', '/home/pi/Desktop/images/01012026/11/12/image_01012026_11_12_46_10667.jpg', '/home/pi/Desktop/images/01012026/11/13/image_01012026_11_13_15_9867.jpg', '/home/pi/Desktop/images/01012026/11/13/image_01012026_11_13_26_10859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/11/image_01012026_11_12_05_9678.jpg
/home/pi/Desktop/images/01012026/11/12/image_01012026_11_12_16_10793.jpg
/home/pi/Desktop/images/01012026/11/12/image_01012026_11_12_25_9700.jpg
/home/pi/Desktop/images/01012026/11/12/image_01012026_11_12_46_10667.jpg
/home/pi/Desktop/images/01012026/11/13/image_01012026_11_13_15_9867.jpg
/home/pi/Desktop/images/01012026/11/13/image_01012026_11_13_26_10859.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":["1402017288","1402017312","1402017398","1402017479","1402017515","1402017439"],"photo_ids_order":["1402017288","1402017312","1402017398","1402017439","1402017479","1402017515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33b15bc0ee5d8f9788b3e2f131b8b678.jpg","text":"TemporaryFile(/tmp/multipartBody8599575669100065590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268804303,"filename":"image_01012026_11_12_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13b87e2aeb07ef5c40a53c30d75bb2c6.jpg","text":"TemporaryFile(/tmp/multipartBody8978238467033189785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268804303,"filename":"image_01012026_11_12_16_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9224d17afa0e757cfae2d893cbd9e7df.jpg","text":"TemporaryFile(/tmp/multipartBody7846036914896864348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268804303,"filename":"image_01012026_11_12_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0288b9249101d0ad7be0d0a5193c977.jpg","text":"TemporaryFile(/tmp/multipartBody1732441929582826438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268804303,"filename":"image_01012026_11_13_15_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abcc7b736541c06f4952de8175ebfaec.jpg","text":"TemporaryFile(/tmp/multipartBody5936774568594889141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268804303,"filename":"image_01012026_11_13_26_10859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8902435557eb71f215530da25dc0894a.jpg","text":"TemporaryFile(/tmp/multipartBody1494271577042672998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268804303,"filename":"image_01012026_11_12_46_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402017398","file1":"1402017312","file0":"1402017288","file4":"1402017479","file5":"1402017515","file3":"1402017439"},"map_files_photo_id_array":[{"photo_id":"1402017515","filename":"file5"},{"photo_id":"1402017398","filename":"file2"},{"photo_id":"1402017479","filename":"file4"},{"photo_id":"1402017312","filename":"file1"},{"photo_id":"1402017288","filename":"file0"},{"photo_id":"1402017439","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402017288":["hashtag1","hashtag2"]},{"1402017312":["hashtag1","hashtag2"]},{"1402017398":["hashtag1","hashtag2"]},{"1402017479":["hashtag1","hashtag2"]},{"1402017515":["hashtag1","hashtag2"]},{"1402017439":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402017288, 1402017312, 1402017398, 1402017479, 1402017515, 1402017439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.811367988586426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:00:03.247085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/13/image_01012026_11_13_35_9681.jpg', '/home/pi/Desktop/images/01012026/11/13/image_01012026_11_13_55_9858.jpg', '/home/pi/Desktop/images/01012026/11/14/image_01012026_11_14_15_9673.jpg', '/home/pi/Desktop/images/01012026/11/14/image_01012026_11_14_55_9795.jpg', '/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_14_10038.jpg', '/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_24_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/13/image_01012026_11_13_35_9681.jpg
/home/pi/Desktop/images/01012026/11/13/image_01012026_11_13_55_9858.jpg
/home/pi/Desktop/images/01012026/11/14/image_01012026_11_14_15_9673.jpg
/home/pi/Desktop/images/01012026/11/14/image_01012026_11_14_55_9795.jpg
/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_14_10038.jpg
/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_24_10704.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":["1402018136","1402018205","1402018273","1402018054","1402017871","1402017943"],"photo_ids_order":["1402017871","1402017943","1402018054","1402018136","1402018205","1402018273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eec56826a29480334a72abc248b0d843.jpg","text":"TemporaryFile(/tmp/multipartBody5267970874627463612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268863975,"filename":"image_01012026_11_14_55_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b662dc9a9eb4c20c6e894a4c9d6bc5ee.jpg","text":"TemporaryFile(/tmp/multipartBody26104097726228281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268863975,"filename":"image_01012026_11_16_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/847b749fd4a64dfdeab5bc7cba2616da.jpg","text":"TemporaryFile(/tmp/multipartBody4050806224230019211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268863975,"filename":"image_01012026_11_16_24_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a573b94ca145756f080452405860071.jpg","text":"TemporaryFile(/tmp/multipartBody2713477428362032079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268863975,"filename":"image_01012026_11_14_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b813ae5946baa7ccf8a5f1f7367ec84.jpg","text":"TemporaryFile(/tmp/multipartBody2498050868708127088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268863975,"filename":"image_01012026_11_13_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d5f482f320365c4dc25ed07ef4e3152.jpg","text":"TemporaryFile(/tmp/multipartBody3438739519308713586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268863975,"filename":"image_01012026_11_13_55_9858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402018054","file1":"1402017943","file0":"1402017871","file4":"1402018205","file5":"1402018273","file3":"1402018136"},"map_files_photo_id_array":[{"photo_id":"1402018273","filename":"file5"},{"photo_id":"1402018054","filename":"file2"},{"photo_id":"1402018205","filename":"file4"},{"photo_id":"1402017943","filename":"file1"},{"photo_id":"1402017871","filename":"file0"},{"photo_id":"1402018136","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402018136":["hashtag1","hashtag2"]},{"1402018205":["hashtag1","hashtag2"]},{"1402018273":["hashtag1","hashtag2"]},{"1402018054":["hashtag1","hashtag2"]},{"1402017871":["hashtag1","hashtag2"]},{"1402017943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402018136, 1402018205, 1402018273, 1402018054, 1402017871, 1402017943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.40882444381714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:01:02.545878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_34_9597.jpg', '/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_54_9840.jpg', '/home/pi/Desktop/images/01012026/11/16/image_01012026_11_17_04_10662.jpg', '/home/pi/Desktop/images/01012026/11/17/image_01012026_11_17_24_9962.jpg', '/home/pi/Desktop/images/01012026/11/18/image_01012026_11_18_44_9657.jpg', '/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_14_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_34_9597.jpg
/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_54_9840.jpg
/home/pi/Desktop/images/01012026/11/16/image_01012026_11_17_04_10662.jpg
/home/pi/Desktop/images/01012026/11/17/image_01012026_11_17_24_9962.jpg
/home/pi/Desktop/images/01012026/11/18/image_01012026_11_18_44_9657.jpg
/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_14_9810.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.7653603553771973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:01:11.860464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_24_2606.jpg', '/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_28_3589.jpg', '/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_30_2574.jpg', '/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_44_13744.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_10_26092.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_12_1786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_24_2606.jpg
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_28_3589.jpg
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_30_2574.jpg
/home/pi/Desktop/images/04112025/16/57/image_04112025_16_57_44_13744.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_10_26092.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_12_1786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402018637","1402018631","1402018696","1402018654","1402018633","1402018635"],"photo_ids_order":["1402018631","1402018633","1402018635","1402018637","1402018654","1402018696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1863014651c58bc0b8607a509253d3a7.jpg","text":"TemporaryFile(/tmp/multipartBody9047436083278115795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268933565,"filename":"image_04112025_16_57_44_13744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/196a32d19a6d49ca82ef5fd4e13def42.jpg","text":"TemporaryFile(/tmp/multipartBody2593033449612089986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268933565,"filename":"image_04112025_16_57_24_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15cca7f5eadb7e96d6f6b4141f8e4f3e.jpg","text":"TemporaryFile(/tmp/multipartBody3053727225287633431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268933565,"filename":"image_04112025_16_58_12_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8ac46b75aed5f910d25f832d001c023.jpg","text":"TemporaryFile(/tmp/multipartBody5923729189763469245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268933565,"filename":"image_04112025_16_58_10_26092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/861ae3aba9b68104ce5fac12ee43e7bb.jpg","text":"TemporaryFile(/tmp/multipartBody966882609720099265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268933565,"filename":"image_04112025_16_57_28_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/413cef7c30455e36adabae7913652e83.jpg","text":"TemporaryFile(/tmp/multipartBody4131776773628472095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268933565,"filename":"image_04112025_16_57_30_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402018635","file1":"1402018633","file0":"1402018631","file4":"1402018654","file5":"1402018696","file3":"1402018637"},"map_files_photo_id_array":[{"photo_id":"1402018696","filename":"file5"},{"photo_id":"1402018635","filename":"file2"},{"photo_id":"1402018654","filename":"file4"},{"photo_id":"1402018633","filename":"file1"},{"photo_id":"1402018631","filename":"file0"},{"photo_id":"1402018637","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402018637":["hashtag1","hashtag2"]},{"1402018631":["hashtag1","hashtag2"]},{"1402018696":["hashtag1","hashtag2"]},{"1402018654":["hashtag1","hashtag2"]},{"1402018633":["hashtag1","hashtag2"]},{"1402018635":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402018637, 1402018631, 1402018696, 1402018654, 1402018633, 1402018635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.75815773010254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:02:02.542350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_34_9597.jpg', '/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_54_9840.jpg', '/home/pi/Desktop/images/01012026/11/16/image_01012026_11_17_04_10662.jpg', '/home/pi/Desktop/images/01012026/11/17/image_01012026_11_17_24_9962.jpg', '/home/pi/Desktop/images/01012026/11/18/image_01012026_11_18_44_9657.jpg', '/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_14_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_34_9597.jpg
/home/pi/Desktop/images/01012026/11/16/image_01012026_11_16_54_9840.jpg
/home/pi/Desktop/images/01012026/11/16/image_01012026_11_17_04_10662.jpg
/home/pi/Desktop/images/01012026/11/17/image_01012026_11_17_24_9962.jpg
/home/pi/Desktop/images/01012026/11/18/image_01012026_11_18_44_9657.jpg
/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_14_9810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019081","1402019114","1402019191","1402019065","1402019113","1402019148"],"photo_ids_order":["1402019065","1402019081","1402019113","1402019114","1402019148","1402019191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e60047b243d6624d696b0e780ee52007.jpg","text":"TemporaryFile(/tmp/multipartBody7178328676301999480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268983297,"filename":"image_01012026_11_16_54_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea78f0b29a8ecb226966b1fd92ecdc35.jpg","text":"TemporaryFile(/tmp/multipartBody3222951215198084144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268983297,"filename":"image_01012026_11_17_24_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81bab2706bfd9a0c8e5030be70a41a22.jpg","text":"TemporaryFile(/tmp/multipartBody3489975744606234583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268983297,"filename":"image_01012026_11_19_14_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f6ad4d5a69f193e770505dad620c18d.jpg","text":"TemporaryFile(/tmp/multipartBody5214631786718781766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268983297,"filename":"image_01012026_11_16_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed81a4af9070315cda00a37f428c060f.jpg","text":"TemporaryFile(/tmp/multipartBody827358202544567612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268983297,"filename":"image_01012026_11_17_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4ccea19cca906933e97e1d2302ae184.jpg","text":"TemporaryFile(/tmp/multipartBody2183687456066152399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767268983297,"filename":"image_01012026_11_18_44_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019113","file1":"1402019081","file0":"1402019065","file4":"1402019148","file5":"1402019191","file3":"1402019114"},"map_files_photo_id_array":[{"photo_id":"1402019191","filename":"file5"},{"photo_id":"1402019113","filename":"file2"},{"photo_id":"1402019148","filename":"file4"},{"photo_id":"1402019081","filename":"file1"},{"photo_id":"1402019065","filename":"file0"},{"photo_id":"1402019114","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019081":["hashtag1","hashtag2"]},{"1402019114":["hashtag1","hashtag2"]},{"1402019191":["hashtag1","hashtag2"]},{"1402019065":["hashtag1","hashtag2"]},{"1402019113":["hashtag1","hashtag2"]},{"1402019148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019081, 1402019114, 1402019191, 1402019065, 1402019113, 1402019148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.757285356521606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:02:42.085762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_13_1623.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_15_1626.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_23_8085.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_25_1695.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_27_1662.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_28_1719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_13_1623.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_15_1626.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_23_8085.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_25_1695.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_27_1662.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_28_1719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019284","1402019283","1402019286","1402019268","1402019282","1402019285"],"photo_ids_order":["1402019268","1402019282","1402019283","1402019284","1402019285","1402019286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ac6583f56015140b5e135ab4fc390a4.jpg","text":"TemporaryFile(/tmp/multipartBody735847933843225493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269023846,"filename":"image_04112025_16_58_25_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/661070377a32decb1f9a06c8f289b281.jpg","text":"TemporaryFile(/tmp/multipartBody5784505914161606135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269023846,"filename":"image_04112025_16_58_23_8085.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/005b754bbbc84d184c39ba995439bbf2.jpg","text":"TemporaryFile(/tmp/multipartBody6687037014746554113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269023846,"filename":"image_04112025_16_58_28_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1457a9cac3dabccb630588e77e165d9.jpg","text":"TemporaryFile(/tmp/multipartBody4125131407548818315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269023846,"filename":"image_04112025_16_58_13_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c4f6f6773ba964d963c839f5001135f.jpg","text":"TemporaryFile(/tmp/multipartBody8438632630128134927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269023846,"filename":"image_04112025_16_58_15_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54c44fb00961ecb4ff98bd2d65aa536f.jpg","text":"TemporaryFile(/tmp/multipartBody4420524695393087971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269023846,"filename":"image_04112025_16_58_27_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019283","file1":"1402019282","file0":"1402019268","file4":"1402019285","file5":"1402019286","file3":"1402019284"},"map_files_photo_id_array":[{"photo_id":"1402019286","filename":"file5"},{"photo_id":"1402019283","filename":"file2"},{"photo_id":"1402019285","filename":"file4"},{"photo_id":"1402019282","filename":"file1"},{"photo_id":"1402019268","filename":"file0"},{"photo_id":"1402019284","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019284":["hashtag1","hashtag2"]},{"1402019283":["hashtag1","hashtag2"]},{"1402019286":["hashtag1","hashtag2"]},{"1402019268":["hashtag1","hashtag2"]},{"1402019282":["hashtag1","hashtag2"]},{"1402019285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019284, 1402019283, 1402019286, 1402019268, 1402019282, 1402019285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.457483768463135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:03:22.333486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_24_10291.jpg', '/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_34_9898.jpg', '/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_44_9921.jpg', '/home/pi/Desktop/images/01012026/11/20/image_01012026_11_20_14_10050.jpg', '/home/pi/Desktop/images/01012026/11/20/image_01012026_11_20_44_10120.jpg', '/home/pi/Desktop/images/01012026/11/20/image_01012026_11_20_55_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_24_10291.jpg
/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_34_9898.jpg
/home/pi/Desktop/images/01012026/11/19/image_01012026_11_19_44_9921.jpg
/home/pi/Desktop/images/01012026/11/20/image_01012026_11_20_14_10050.jpg
/home/pi/Desktop/images/01012026/11/20/image_01012026_11_20_44_10120.jpg
/home/pi/Desktop/images/01012026/11/20/image_01012026_11_20_55_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019299","1402019290","1402019287","1402019296","1402019292","1402019294"],"photo_ids_order":["1402019287","1402019290","1402019292","1402019294","1402019296","1402019299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5196b282b1f127fbf95e19d82c3087d4.jpg","text":"TemporaryFile(/tmp/multipartBody6047399355443725632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269063096,"filename":"image_01012026_11_20_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efa21ee8af3b6c933b29fce6e22582be.jpg","text":"TemporaryFile(/tmp/multipartBody2537772199084208117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269063096,"filename":"image_01012026_11_19_34_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e71acb0222e41c2531d0785eaa2dba3a.jpg","text":"TemporaryFile(/tmp/multipartBody2887835888755374205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269063096,"filename":"image_01012026_11_19_24_10291.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0959b3d645d363ac1365b1e807dae762.jpg","text":"TemporaryFile(/tmp/multipartBody4924636439602304865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269063096,"filename":"image_01012026_11_20_44_10120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d796148e550c727669a1349cad1a8f38.jpg","text":"TemporaryFile(/tmp/multipartBody5339233802373593293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269063096,"filename":"image_01012026_11_19_44_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3935db0635ec59bc1de3cdfe7c75c76b.jpg","text":"TemporaryFile(/tmp/multipartBody8043453822989576206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269063096,"filename":"image_01012026_11_20_14_10050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019292","file1":"1402019290","file0":"1402019287","file4":"1402019296","file5":"1402019299","file3":"1402019294"},"map_files_photo_id_array":[{"photo_id":"1402019299","filename":"file5"},{"photo_id":"1402019292","filename":"file2"},{"photo_id":"1402019296","filename":"file4"},{"photo_id":"1402019290","filename":"file1"},{"photo_id":"1402019287","filename":"file0"},{"photo_id":"1402019294","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019299":["hashtag1","hashtag2"]},{"1402019290":["hashtag1","hashtag2"]},{"1402019287":["hashtag1","hashtag2"]},{"1402019296":["hashtag1","hashtag2"]},{"1402019292":["hashtag1","hashtag2"]},{"1402019294":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019299, 1402019290, 1402019287, 1402019296, 1402019292, 1402019294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19615435600281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:04:03.227700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/20/image_01012026_11_21_05_9904.jpg', '/home/pi/Desktop/images/01012026/11/21/image_01012026_11_21_15_10070.jpg', '/home/pi/Desktop/images/01012026/11/21/image_01012026_11_21_34_9809.jpg', '/home/pi/Desktop/images/01012026/11/21/image_01012026_11_21_44_9752.jpg', '/home/pi/Desktop/images/01012026/11/21/image_01012026_11_21_55_10708.jpg', '/home/pi/Desktop/images/01012026/11/22/image_01012026_11_22_15_10908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/20/image_01012026_11_21_05_9904.jpg
/home/pi/Desktop/images/01012026/11/21/image_01012026_11_21_15_10070.jpg
/home/pi/Desktop/images/01012026/11/21/image_01012026_11_21_34_9809.jpg
/home/pi/Desktop/images/01012026/11/21/image_01012026_11_21_44_9752.jpg
/home/pi/Desktop/images/01012026/11/21/image_01012026_11_21_55_10708.jpg
/home/pi/Desktop/images/01012026/11/22/image_01012026_11_22_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":["1402019306","1402019300","1402019303","1402019302","1402019301","1402019304"],"photo_ids_order":["1402019300","1402019301","1402019302","1402019303","1402019304","1402019306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93cbdfa750096473e8d663b48e24d647.jpg","text":"TemporaryFile(/tmp/multipartBody4616482872928715934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269104047,"filename":"image_01012026_11_22_15_10908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8fca51d81be04ae66e7dfd347be819a.jpg","text":"TemporaryFile(/tmp/multipartBody1910063140854346066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269104047,"filename":"image_01012026_11_21_05_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/370b50dc33b270de3cd4603c1d3279cf.jpg","text":"TemporaryFile(/tmp/multipartBody7329419159135304172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269104047,"filename":"image_01012026_11_21_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3b8a33906256c6586e1090e0aa8ba70.jpg","text":"TemporaryFile(/tmp/multipartBody7784027643345106861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269104047,"filename":"image_01012026_11_21_34_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd21716810d74189a4b1d487ca5fbe15.jpg","text":"TemporaryFile(/tmp/multipartBody8081957586282514218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269104047,"filename":"image_01012026_11_21_15_10070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63f0d595d688b0d8e37b6a84ff0c8831.jpg","text":"TemporaryFile(/tmp/multipartBody1312511174462101554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269104047,"filename":"image_01012026_11_21_55_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019302","file1":"1402019301","file0":"1402019300","file4":"1402019304","file5":"1402019306","file3":"1402019303"},"map_files_photo_id_array":[{"photo_id":"1402019306","filename":"file5"},{"photo_id":"1402019302","filename":"file2"},{"photo_id":"1402019304","filename":"file4"},{"photo_id":"1402019301","filename":"file1"},{"photo_id":"1402019300","filename":"file0"},{"photo_id":"1402019303","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019306":["hashtag1","hashtag2"]},{"1402019300":["hashtag1","hashtag2"]},{"1402019303":["hashtag1","hashtag2"]},{"1402019302":["hashtag1","hashtag2"]},{"1402019301":["hashtag1","hashtag2"]},{"1402019304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019306, 1402019300, 1402019303, 1402019302, 1402019301, 1402019304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22884273529053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:04:42.550155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_30_1675.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_32_1723.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_36_4312.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_37_1506.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_39_1560.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_41_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_30_1675.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_32_1723.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_36_4312.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_37_1506.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_39_1560.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_41_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":["1402019312","1402019315","1402019318","1402019317","1402019314","1402019316"],"photo_ids_order":["1402019312","1402019314","1402019315","1402019316","1402019317","1402019318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/846f9ba6ea900891b11ea7efd159f871.jpg","text":"TemporaryFile(/tmp/multipartBody6555251610205455117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269144436,"filename":"image_04112025_16_58_30_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5536c88b0f381bd01ddb2391189afcf9.jpg","text":"TemporaryFile(/tmp/multipartBody5811755230925195047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269144436,"filename":"image_04112025_16_58_36_4312.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56f007fd070b71805f1b67f24f5c6b7a.jpg","text":"TemporaryFile(/tmp/multipartBody4834689734955999956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269144436,"filename":"image_04112025_16_58_41_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72ee37e154b7260a1a4c223c6e3a79a2.jpg","text":"TemporaryFile(/tmp/multipartBody3091553053209281782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269144436,"filename":"image_04112025_16_58_39_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b07a7a5bdb325a03a0357db45b62399f.jpg","text":"TemporaryFile(/tmp/multipartBody1921335774970494086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269144436,"filename":"image_04112025_16_58_32_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d730976f6f082397a30a3169898482f3.jpg","text":"TemporaryFile(/tmp/multipartBody4535401208876322159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269144436,"filename":"image_04112025_16_58_37_1506.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019315","file1":"1402019314","file0":"1402019312","file4":"1402019317","file5":"1402019318","file3":"1402019316"},"map_files_photo_id_array":[{"photo_id":"1402019318","filename":"file5"},{"photo_id":"1402019315","filename":"file2"},{"photo_id":"1402019317","filename":"file4"},{"photo_id":"1402019314","filename":"file1"},{"photo_id":"1402019312","filename":"file0"},{"photo_id":"1402019316","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019312":["hashtag1","hashtag2"]},{"1402019315":["hashtag1","hashtag2"]},{"1402019318":["hashtag1","hashtag2"]},{"1402019317":["hashtag1","hashtag2"]},{"1402019314":["hashtag1","hashtag2"]},{"1402019316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019312, 1402019315, 1402019318, 1402019317, 1402019314, 1402019316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.122602701187134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:05:22.715315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/22/image_01012026_11_22_25_9868.jpg', '/home/pi/Desktop/images/01012026/11/22/image_01012026_11_22_34_9705.jpg', '/home/pi/Desktop/images/01012026/11/22/image_01012026_11_22_54_9783.jpg', '/home/pi/Desktop/images/01012026/11/22/image_01012026_11_23_04_9949.jpg', '/home/pi/Desktop/images/01012026/11/23/image_01012026_11_23_14_10699.jpg', '/home/pi/Desktop/images/01012026/11/23/image_01012026_11_23_34_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/22/image_01012026_11_22_25_9868.jpg
/home/pi/Desktop/images/01012026/11/22/image_01012026_11_22_34_9705.jpg
/home/pi/Desktop/images/01012026/11/22/image_01012026_11_22_54_9783.jpg
/home/pi/Desktop/images/01012026/11/22/image_01012026_11_23_04_9949.jpg
/home/pi/Desktop/images/01012026/11/23/image_01012026_11_23_14_10699.jpg
/home/pi/Desktop/images/01012026/11/23/image_01012026_11_23_34_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":["1402019324","1402019335","1402019323","1402019320","1402019322","1402019325"],"photo_ids_order":["1402019320","1402019322","1402019323","1402019324","1402019325","1402019335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fe5d9473c44533b7e5900498d9da8db.jpg","text":"TemporaryFile(/tmp/multipartBody7930472760006021371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269183487,"filename":"image_01012026_11_23_04_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3daafcced3d9cbf946482433c2479b0.jpg","text":"TemporaryFile(/tmp/multipartBody6872301606094252807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269183487,"filename":"image_01012026_11_23_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28aa9e08c84ff4bb0feb83bd904d5e5d.jpg","text":"TemporaryFile(/tmp/multipartBody1430198157779720567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269183487,"filename":"image_01012026_11_22_54_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0526d24da0630fd351ebf2285d266e21.jpg","text":"TemporaryFile(/tmp/multipartBody3368206573405489637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269183487,"filename":"image_01012026_11_22_25_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f14ed8cf924242c0a9cbee54e40245a.jpg","text":"TemporaryFile(/tmp/multipartBody242385236618703938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269183487,"filename":"image_01012026_11_22_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef4c0b8d6f3137687aacc9069a04f898.jpg","text":"TemporaryFile(/tmp/multipartBody6987951128874667692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269183487,"filename":"image_01012026_11_23_14_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019323","file1":"1402019322","file0":"1402019320","file4":"1402019325","file5":"1402019335","file3":"1402019324"},"map_files_photo_id_array":[{"photo_id":"1402019335","filename":"file5"},{"photo_id":"1402019323","filename":"file2"},{"photo_id":"1402019325","filename":"file4"},{"photo_id":"1402019322","filename":"file1"},{"photo_id":"1402019320","filename":"file0"},{"photo_id":"1402019324","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019324":["hashtag1","hashtag2"]},{"1402019335":["hashtag1","hashtag2"]},{"1402019323":["hashtag1","hashtag2"]},{"1402019320":["hashtag1","hashtag2"]},{"1402019322":["hashtag1","hashtag2"]},{"1402019325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019324, 1402019335, 1402019323, 1402019320, 1402019322, 1402019325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67727446556091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:06:02.234027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/23/image_01012026_11_23_45_10687.jpg', '/home/pi/Desktop/images/01012026/11/23/image_01012026_11_24_04_9800.jpg', '/home/pi/Desktop/images/01012026/11/24/image_01012026_11_24_25_10643.jpg', '/home/pi/Desktop/images/01012026/11/24/image_01012026_11_24_34_9857.jpg', '/home/pi/Desktop/images/01012026/11/24/image_01012026_11_24_44_9737.jpg', '/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/23/image_01012026_11_23_45_10687.jpg
/home/pi/Desktop/images/01012026/11/23/image_01012026_11_24_04_9800.jpg
/home/pi/Desktop/images/01012026/11/24/image_01012026_11_24_25_10643.jpg
/home/pi/Desktop/images/01012026/11/24/image_01012026_11_24_34_9857.jpg
/home/pi/Desktop/images/01012026/11/24/image_01012026_11_24_44_9737.jpg
/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_14_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019339","1402019341","1402019344","1402019338","1402019340","1402019342"],"photo_ids_order":["1402019338","1402019339","1402019340","1402019341","1402019342","1402019344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb57752c1c1863cb408ee73bc42f4a1a.jpg","text":"TemporaryFile(/tmp/multipartBody6230738577077577599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269222965,"filename":"image_01012026_11_24_04_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce5d197faff672875cffb9d6caa10d79.jpg","text":"TemporaryFile(/tmp/multipartBody2384701088208195624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269222965,"filename":"image_01012026_11_24_34_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/175263702eb1aea636607a23cc9486c6.jpg","text":"TemporaryFile(/tmp/multipartBody1253633208164893860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269222965,"filename":"image_01012026_11_26_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f31cfe1d4512832f19def7f0f9a7466.jpg","text":"TemporaryFile(/tmp/multipartBody232448962718859941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269222965,"filename":"image_01012026_11_23_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b06f256c11b14355c12be9f62c8504ad.jpg","text":"TemporaryFile(/tmp/multipartBody3950460226143736132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269222965,"filename":"image_01012026_11_24_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7abd4ba1eb245e2c0622f11d9a5779db.jpg","text":"TemporaryFile(/tmp/multipartBody6451071692469026398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269222965,"filename":"image_01012026_11_24_44_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019340","file1":"1402019339","file0":"1402019338","file4":"1402019342","file5":"1402019344","file3":"1402019341"},"map_files_photo_id_array":[{"photo_id":"1402019344","filename":"file5"},{"photo_id":"1402019340","filename":"file2"},{"photo_id":"1402019342","filename":"file4"},{"photo_id":"1402019339","filename":"file1"},{"photo_id":"1402019338","filename":"file0"},{"photo_id":"1402019341","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019339":["hashtag1","hashtag2"]},{"1402019341":["hashtag1","hashtag2"]},{"1402019344":["hashtag1","hashtag2"]},{"1402019338":["hashtag1","hashtag2"]},{"1402019340":["hashtag1","hashtag2"]},{"1402019342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019339, 1402019341, 1402019344, 1402019338, 1402019340, 1402019342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63649392127991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:06:41.878975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_42_1588.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_44_1635.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_46_1799.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_52_6531.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_54_1650.jpg', '/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_56_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_42_1588.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_44_1635.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_46_1799.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_52_6531.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_54_1650.jpg
/home/pi/Desktop/images/04112025/16/58/image_04112025_16_58_56_1625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019351","1402019354","1402019353","1402019356","1402019355","1402019357"],"photo_ids_order":["1402019351","1402019353","1402019354","1402019355","1402019356","1402019357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c978f6d9ebf3e6bce8ca89f0ca551ed.jpg","text":"TemporaryFile(/tmp/multipartBody1194014071966434224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269268758,"filename":"image_04112025_16_58_42_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba5cffb69511fa9d2f262e56aee1264a.jpg","text":"TemporaryFile(/tmp/multipartBody3798380051037840495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269268758,"filename":"image_04112025_16_58_46_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d050c1d9f49eb089ef3d4336714aab67.jpg","text":"TemporaryFile(/tmp/multipartBody8530484934647086133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269268758,"filename":"image_04112025_16_58_44_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de9b447a4cb8239a78d933978553525a.jpg","text":"TemporaryFile(/tmp/multipartBody4865183935458423788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269268758,"filename":"image_04112025_16_58_54_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fa071b67a2ce3e73fcff39ef23fccfd.jpg","text":"TemporaryFile(/tmp/multipartBody2374859600803682065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269268758,"filename":"image_04112025_16_58_52_6531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6d5a8afe210735159d4d8ae62757d83.jpg","text":"TemporaryFile(/tmp/multipartBody7261593706845287608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269268758,"filename":"image_04112025_16_58_56_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019354","file1":"1402019353","file0":"1402019351","file4":"1402019356","file5":"1402019357","file3":"1402019355"},"map_files_photo_id_array":[{"photo_id":"1402019357","filename":"file5"},{"photo_id":"1402019354","filename":"file2"},{"photo_id":"1402019356","filename":"file4"},{"photo_id":"1402019353","filename":"file1"},{"photo_id":"1402019351","filename":"file0"},{"photo_id":"1402019355","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019351":["hashtag1","hashtag2"]},{"1402019354":["hashtag1","hashtag2"]},{"1402019353":["hashtag1","hashtag2"]},{"1402019356":["hashtag1","hashtag2"]},{"1402019355":["hashtag1","hashtag2"]},{"1402019357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019351, 1402019354, 1402019353, 1402019356, 1402019355, 1402019357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.90739107131958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:07:32.057087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_01_5601.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_03_1653.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_04_1638.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_06_1525.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_22_15609.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_30_8028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_01_5601.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_03_1653.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_04_1638.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_06_1525.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_22_15609.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_30_8028.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019366","1402019368","1402019365","1402019367","1402019361","1402019363"],"photo_ids_order":["1402019361","1402019363","1402019365","1402019366","1402019367","1402019368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7dd301762d6eb7e87f3a49d9c4daf0e8.jpg","text":"TemporaryFile(/tmp/multipartBody5645066130289043480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269313901,"filename":"image_04112025_16_59_06_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a4e569de1c9e1d6cbaeb3e8ea2bb2a2.jpg","text":"TemporaryFile(/tmp/multipartBody2371569144443006375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269313901,"filename":"image_04112025_16_59_30_8028.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8699e01020b772b56f254910f8577eec.jpg","text":"TemporaryFile(/tmp/multipartBody5377823300856259392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269313901,"filename":"image_04112025_16_59_04_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d91e7003cbac91ddc63585b812d0a60.jpg","text":"TemporaryFile(/tmp/multipartBody2366111325259523225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269313901,"filename":"image_04112025_16_59_22_15609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/001bef19aa08d6fd3e9d93891900fe0d.jpg","text":"TemporaryFile(/tmp/multipartBody2899118978042677128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269313901,"filename":"image_04112025_16_59_01_5601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5af7784b41b9ad25f780d34b50bc9ce.jpg","text":"TemporaryFile(/tmp/multipartBody1490494248115541807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269313901,"filename":"image_04112025_16_59_03_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019365","file1":"1402019363","file0":"1402019361","file4":"1402019367","file5":"1402019368","file3":"1402019366"},"map_files_photo_id_array":[{"photo_id":"1402019368","filename":"file5"},{"photo_id":"1402019365","filename":"file2"},{"photo_id":"1402019367","filename":"file4"},{"photo_id":"1402019363","filename":"file1"},{"photo_id":"1402019361","filename":"file0"},{"photo_id":"1402019366","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019366":["hashtag1","hashtag2"]},{"1402019368":["hashtag1","hashtag2"]},{"1402019365":["hashtag1","hashtag2"]},{"1402019367":["hashtag1","hashtag2"]},{"1402019361":["hashtag1","hashtag2"]},{"1402019363":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019366, 1402019368, 1402019365, 1402019367, 1402019361, 1402019363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0619854927063 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:08:12.166965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_31_1715.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_33_1628.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_35_1743.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_37_1765.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_38_1528.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_40_1780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_31_1715.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_33_1628.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_35_1743.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_37_1765.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_38_1528.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_40_1780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019371","1402019377","1402019379","1402019370","1402019373","1402019375"],"photo_ids_order":["1402019370","1402019371","1402019373","1402019375","1402019377","1402019379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9351da4d7dc0b0564a9f607d16478d53.jpg","text":"TemporaryFile(/tmp/multipartBody2715441712342405657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269353935,"filename":"image_04112025_16_59_33_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a776c9943b9042a32220481aa57944b0.jpg","text":"TemporaryFile(/tmp/multipartBody769982202326964378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269353935,"filename":"image_04112025_16_59_38_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/201bdae437f2276bb995020c707e18a3.jpg","text":"TemporaryFile(/tmp/multipartBody1962261296220484383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269353935,"filename":"image_04112025_16_59_40_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8eed76fb0fd088165a39bfb540563feb.jpg","text":"TemporaryFile(/tmp/multipartBody1184117385636836873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269353935,"filename":"image_04112025_16_59_31_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/022c113ccb177dc1a6c026d4f286e8ca.jpg","text":"TemporaryFile(/tmp/multipartBody8399042317439511222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269353935,"filename":"image_04112025_16_59_35_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55f5e5c0c44118a3d0156fb51b51949f.jpg","text":"TemporaryFile(/tmp/multipartBody7679081988508724076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269353935,"filename":"image_04112025_16_59_37_1765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019373","file1":"1402019371","file0":"1402019370","file4":"1402019377","file5":"1402019379","file3":"1402019375"},"map_files_photo_id_array":[{"photo_id":"1402019379","filename":"file5"},{"photo_id":"1402019373","filename":"file2"},{"photo_id":"1402019377","filename":"file4"},{"photo_id":"1402019371","filename":"file1"},{"photo_id":"1402019370","filename":"file0"},{"photo_id":"1402019375","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019371":["hashtag1","hashtag2"]},{"1402019377":["hashtag1","hashtag2"]},{"1402019379":["hashtag1","hashtag2"]},{"1402019370":["hashtag1","hashtag2"]},{"1402019373":["hashtag1","hashtag2"]},{"1402019375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019371, 1402019377, 1402019379, 1402019370, 1402019373, 1402019375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84950256347656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:09:03.116629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_25_10431.jpg', '/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_34_9659.jpg', '/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_44_9871.jpg', '/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_55_10656.jpg', '/home/pi/Desktop/images/01012026/11/26/image_01012026_11_27_05_9846.jpg', '/home/pi/Desktop/images/01012026/11/27/image_01012026_11_27_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_25_10431.jpg
/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_34_9659.jpg
/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_44_9871.jpg
/home/pi/Desktop/images/01012026/11/26/image_01012026_11_26_55_10656.jpg
/home/pi/Desktop/images/01012026/11/26/image_01012026_11_27_05_9846.jpg
/home/pi/Desktop/images/01012026/11/27/image_01012026_11_27_14_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":["1402019395","1402019394","1402019397","1402019400","1402019393","1402019396"],"photo_ids_order":["1402019393","1402019394","1402019395","1402019396","1402019397","1402019400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4d67657a342942830e06cded7db9ed2.jpg","text":"TemporaryFile(/tmp/multipartBody1431034596283197058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269404040,"filename":"image_01012026_11_26_44_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b55595011fd1b613155b9e4759c1b463.jpg","text":"TemporaryFile(/tmp/multipartBody5110783873152151428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269404040,"filename":"image_01012026_11_26_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41f07fd0c8e20dfe9c1b5b0d2830d3a8.jpg","text":"TemporaryFile(/tmp/multipartBody7946460687646439654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269404040,"filename":"image_01012026_11_27_05_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8dbc47a293c02939bd2db5856dad1dac.jpg","text":"TemporaryFile(/tmp/multipartBody7539275058962934452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269404040,"filename":"image_01012026_11_27_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/923439518ee9ea5f33c6cbefa61a4438.jpg","text":"TemporaryFile(/tmp/multipartBody5424345794744167091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269404040,"filename":"image_01012026_11_26_25_10431.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d46ad2e3319f62c78ca813a6235545f.jpg","text":"TemporaryFile(/tmp/multipartBody9097908279168194474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269404040,"filename":"image_01012026_11_26_55_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019395","file1":"1402019394","file0":"1402019393","file4":"1402019397","file5":"1402019400","file3":"1402019396"},"map_files_photo_id_array":[{"photo_id":"1402019400","filename":"file5"},{"photo_id":"1402019395","filename":"file2"},{"photo_id":"1402019397","filename":"file4"},{"photo_id":"1402019394","filename":"file1"},{"photo_id":"1402019393","filename":"file0"},{"photo_id":"1402019396","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019395":["hashtag1","hashtag2"]},{"1402019394":["hashtag1","hashtag2"]},{"1402019397":["hashtag1","hashtag2"]},{"1402019400":["hashtag1","hashtag2"]},{"1402019393":["hashtag1","hashtag2"]},{"1402019396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019395, 1402019394, 1402019397, 1402019400, 1402019393, 1402019396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80885052680969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:09:42.272339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_41_1668.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_43_1549.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_45_1712.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_55_10160.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_57_1766.jpg', '/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_58_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_41_1668.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_43_1549.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_45_1712.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_55_10160.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_57_1766.jpg
/home/pi/Desktop/images/04112025/16/59/image_04112025_16_59_58_1654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019411","1402019405","1402019408","1402019410","1402019407","1402019409"],"photo_ids_order":["1402019405","1402019407","1402019408","1402019409","1402019410","1402019411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6859d5df3c520fcbc565a02cb990f768.jpg","text":"TemporaryFile(/tmp/multipartBody3891976854552270953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269444120,"filename":"image_04112025_16_59_58_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2bf00f7192fbbf14cdf71b745817197.jpg","text":"TemporaryFile(/tmp/multipartBody132538348088949624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269444120,"filename":"image_04112025_16_59_41_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e513b606ae6519ac33d7fa84ea39c0da.jpg","text":"TemporaryFile(/tmp/multipartBody5317309036181179344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269444120,"filename":"image_04112025_16_59_45_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69add95781e4bf84d7c675892b49a0ea.jpg","text":"TemporaryFile(/tmp/multipartBody7921367263244347972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269444120,"filename":"image_04112025_16_59_57_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71252513df9ebdd9115132f7feb93bca.jpg","text":"TemporaryFile(/tmp/multipartBody6128596192288867331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269444120,"filename":"image_04112025_16_59_43_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4692ed388d10b24833e8813a79a7e759.jpg","text":"TemporaryFile(/tmp/multipartBody5567568155929184844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269444120,"filename":"image_04112025_16_59_55_10160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019408","file1":"1402019407","file0":"1402019405","file4":"1402019410","file5":"1402019411","file3":"1402019409"},"map_files_photo_id_array":[{"photo_id":"1402019411","filename":"file5"},{"photo_id":"1402019408","filename":"file2"},{"photo_id":"1402019410","filename":"file4"},{"photo_id":"1402019407","filename":"file1"},{"photo_id":"1402019405","filename":"file0"},{"photo_id":"1402019409","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019411":["hashtag1","hashtag2"]},{"1402019405":["hashtag1","hashtag2"]},{"1402019408":["hashtag1","hashtag2"]},{"1402019410":["hashtag1","hashtag2"]},{"1402019407":["hashtag1","hashtag2"]},{"1402019409":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019411, 1402019405, 1402019408, 1402019410, 1402019407, 1402019409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.911173820495605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:10:22.457285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/27/image_01012026_11_27_25_10797.jpg', '/home/pi/Desktop/images/01012026/11/27/image_01012026_11_27_45_9821.jpg', '/home/pi/Desktop/images/01012026/11/27/image_01012026_11_27_54_9732.jpg', '/home/pi/Desktop/images/01012026/11/27/image_01012026_11_28_04_9690.jpg', '/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_15_10927.jpg', '/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_25_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/27/image_01012026_11_27_25_10797.jpg
/home/pi/Desktop/images/01012026/11/27/image_01012026_11_27_45_9821.jpg
/home/pi/Desktop/images/01012026/11/27/image_01012026_11_27_54_9732.jpg
/home/pi/Desktop/images/01012026/11/27/image_01012026_11_28_04_9690.jpg
/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_15_10927.jpg
/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_25_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":["1402019414","1402019417","1402019419","1402019421","1402019415","1402019424"],"photo_ids_order":["1402019414","1402019415","1402019417","1402019419","1402019421","1402019424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b11e4d178396b94be2f3e28313c8c006.jpg","text":"TemporaryFile(/tmp/multipartBody5860486901777185739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269483168,"filename":"image_01012026_11_27_25_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e572c6b2be5e60774bb19daa2bef362.jpg","text":"TemporaryFile(/tmp/multipartBody7953878172091818543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269483168,"filename":"image_01012026_11_27_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90564def2c52216f08f45828018d6868.jpg","text":"TemporaryFile(/tmp/multipartBody1521625689225441633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269483168,"filename":"image_01012026_11_28_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b2c7d9090d450f007fbf1676ebf6b17.jpg","text":"TemporaryFile(/tmp/multipartBody2151811889552107610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269483168,"filename":"image_01012026_11_28_15_10927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f993e2c10bbece66cc8575f17a0aa98f.jpg","text":"TemporaryFile(/tmp/multipartBody6593492812968419040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269483168,"filename":"image_01012026_11_27_45_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75ea657f481c00e20d7ae5ee215a0ba1.jpg","text":"TemporaryFile(/tmp/multipartBody5866919328159792448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269483168,"filename":"image_01012026_11_28_25_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019417","file1":"1402019415","file0":"1402019414","file4":"1402019421","file5":"1402019424","file3":"1402019419"},"map_files_photo_id_array":[{"photo_id":"1402019424","filename":"file5"},{"photo_id":"1402019417","filename":"file2"},{"photo_id":"1402019421","filename":"file4"},{"photo_id":"1402019415","filename":"file1"},{"photo_id":"1402019414","filename":"file0"},{"photo_id":"1402019419","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019414":["hashtag1","hashtag2"]},{"1402019417":["hashtag1","hashtag2"]},{"1402019419":["hashtag1","hashtag2"]},{"1402019421":["hashtag1","hashtag2"]},{"1402019415":["hashtag1","hashtag2"]},{"1402019424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019414, 1402019417, 1402019419, 1402019421, 1402019415, 1402019424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.984752893447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:11:03.178887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_34_9666.jpg', '/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_44_9791.jpg', '/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_55_10760.jpg', '/home/pi/Desktop/images/01012026/11/28/image_01012026_11_29_05_9656.jpg', '/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_14_9895.jpg', '/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_24_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_34_9666.jpg
/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_44_9791.jpg
/home/pi/Desktop/images/01012026/11/28/image_01012026_11_28_55_10760.jpg
/home/pi/Desktop/images/01012026/11/28/image_01012026_11_29_05_9656.jpg
/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_14_9895.jpg
/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_24_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":["1402019429","1402019431","1402019428","1402019433","1402019427","1402019430"],"photo_ids_order":["1402019427","1402019428","1402019429","1402019430","1402019431","1402019433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c802571a366e7c249b9e195f73fc47c8.jpg","text":"TemporaryFile(/tmp/multipartBody2593757755494508490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269524073,"filename":"image_01012026_11_28_55_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a86e454f9da440ead9357f5f4762e129.jpg","text":"TemporaryFile(/tmp/multipartBody4458066613869679002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269524073,"filename":"image_01012026_11_29_14_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/652c7e19d1be10bb58284498f76dcd52.jpg","text":"TemporaryFile(/tmp/multipartBody655889956257695380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269524073,"filename":"image_01012026_11_28_44_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c7e65c527abf0b43188fb78a6df0abf.jpg","text":"TemporaryFile(/tmp/multipartBody8441645075568508007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269524073,"filename":"image_01012026_11_29_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b32679ce3088d88d13555f0aaeed4564.jpg","text":"TemporaryFile(/tmp/multipartBody3516791332466934929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269524073,"filename":"image_01012026_11_28_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76aefe7bb152306a4ebf3450f1352aba.jpg","text":"TemporaryFile(/tmp/multipartBody1146795319800173679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269524073,"filename":"image_01012026_11_29_05_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019429","file1":"1402019428","file0":"1402019427","file4":"1402019431","file5":"1402019433","file3":"1402019430"},"map_files_photo_id_array":[{"photo_id":"1402019433","filename":"file5"},{"photo_id":"1402019429","filename":"file2"},{"photo_id":"1402019431","filename":"file4"},{"photo_id":"1402019428","filename":"file1"},{"photo_id":"1402019427","filename":"file0"},{"photo_id":"1402019430","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019429":["hashtag1","hashtag2"]},{"1402019431":["hashtag1","hashtag2"]},{"1402019428":["hashtag1","hashtag2"]},{"1402019433":["hashtag1","hashtag2"]},{"1402019427":["hashtag1","hashtag2"]},{"1402019430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019429, 1402019431, 1402019428, 1402019433, 1402019427, 1402019430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.949668884277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:11:42.809263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/16/59/image_04112025_17_00_00_1662.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_07_3311.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_10_2718.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_14_3469.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_27_13740.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_36_8699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/16/59/image_04112025_17_00_00_1662.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_07_3311.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_10_2718.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_14_3469.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_27_13740.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_36_8699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019453","1402019452","1402019455","1402019451","1402019439","1402019454"],"photo_ids_order":["1402019439","1402019451","1402019452","1402019453","1402019454","1402019455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ac8c38b825367c666eb17c0e8d857db.jpg","text":"TemporaryFile(/tmp/multipartBody303679912392983370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269564706,"filename":"image_04112025_17_00_14_3469.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcf97d0c314bfb491aecf4e4f4c784c7.jpg","text":"TemporaryFile(/tmp/multipartBody6704031823087407339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269564706,"filename":"image_04112025_17_00_10_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6ed8742f9e1dee08268e4cfeaa34cec.jpg","text":"TemporaryFile(/tmp/multipartBody6434167859710223202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269564706,"filename":"image_04112025_17_00_36_8699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/795b25715f814ff48fc7dd0c6328044c.jpg","text":"TemporaryFile(/tmp/multipartBody7283545418889347799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269564706,"filename":"image_04112025_17_00_07_3311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f0dc37839a41867ac7c33ca1ea1616b.jpg","text":"TemporaryFile(/tmp/multipartBody6063447134351883141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269564706,"filename":"image_04112025_17_00_00_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c7a4b8ffd5b24f3dd82f901ba9cfb31.jpg","text":"TemporaryFile(/tmp/multipartBody2385700143304434482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269564706,"filename":"image_04112025_17_00_27_13740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019452","file1":"1402019451","file0":"1402019439","file4":"1402019454","file5":"1402019455","file3":"1402019453"},"map_files_photo_id_array":[{"photo_id":"1402019455","filename":"file5"},{"photo_id":"1402019452","filename":"file2"},{"photo_id":"1402019454","filename":"file4"},{"photo_id":"1402019451","filename":"file1"},{"photo_id":"1402019439","filename":"file0"},{"photo_id":"1402019453","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019453":["hashtag1","hashtag2"]},{"1402019452":["hashtag1","hashtag2"]},{"1402019455":["hashtag1","hashtag2"]},{"1402019451":["hashtag1","hashtag2"]},{"1402019439":["hashtag1","hashtag2"]},{"1402019454":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019453, 1402019452, 1402019455, 1402019451, 1402019439, 1402019454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95398211479187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:12:21.986385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_35_10324.jpg', '/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_44_9658.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_14_10047.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_25_10666.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_35_9437.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_45_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_35_10324.jpg
/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_44_9658.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_14_10047.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_25_10666.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_35_9437.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_45_10679.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.6075012683868408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:12:32.071582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_38_1505.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_39_1646.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_42_1672.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_44_1866.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_46_1754.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_48_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_38_1505.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_39_1646.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_42_1672.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_44_1866.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_46_1754.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_48_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":["1402019471","1402019465","1402019473","1402019472","1402019469","1402019462"],"photo_ids_order":["1402019462","1402019465","1402019469","1402019471","1402019472","1402019473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fd854e2aafcd51a82136a7a784476cd.jpg","text":"TemporaryFile(/tmp/multipartBody303008071225601950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269613908,"filename":"image_04112025_17_00_44_1866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f25df7e96eceea71a1ef1f4043ec7e1.jpg","text":"TemporaryFile(/tmp/multipartBody5574894930205726913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269613908,"filename":"image_04112025_17_00_39_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a41ba80c75ef2ad2d702c10a7a77f89f.jpg","text":"TemporaryFile(/tmp/multipartBody550223698532399959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269613908,"filename":"image_04112025_17_00_48_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c6fb3f7a372584b796c672c51aa7983.jpg","text":"TemporaryFile(/tmp/multipartBody8285965980644619284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269613908,"filename":"image_04112025_17_00_46_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/feba163d877a2797f9420908c748cff0.jpg","text":"TemporaryFile(/tmp/multipartBody5517685313426833950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269613908,"filename":"image_04112025_17_00_42_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90f6c18f7208f6d4941391fb20e69dc7.jpg","text":"TemporaryFile(/tmp/multipartBody2813083948538697251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269613908,"filename":"image_04112025_17_00_38_1505.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019469","file1":"1402019465","file0":"1402019462","file4":"1402019472","file5":"1402019473","file3":"1402019471"},"map_files_photo_id_array":[{"photo_id":"1402019473","filename":"file5"},{"photo_id":"1402019469","filename":"file2"},{"photo_id":"1402019472","filename":"file4"},{"photo_id":"1402019465","filename":"file1"},{"photo_id":"1402019462","filename":"file0"},{"photo_id":"1402019471","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019471":["hashtag1","hashtag2"]},{"1402019465":["hashtag1","hashtag2"]},{"1402019473":["hashtag1","hashtag2"]},{"1402019472":["hashtag1","hashtag2"]},{"1402019469":["hashtag1","hashtag2"]},{"1402019462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019471, 1402019465, 1402019473, 1402019472, 1402019469, 1402019462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77574682235718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:13:12.353079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_50_1718.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_52_2488.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_54_1516.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_55_1623.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_57_1746.jpg', '/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_59_1643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_50_1718.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_52_2488.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_54_1516.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_55_1623.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_57_1746.jpg
/home/pi/Desktop/images/04112025/17/00/image_04112025_17_00_59_1643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019479","1402019482","1402019481","1402019475","1402019474","1402019477"],"photo_ids_order":["1402019474","1402019475","1402019477","1402019479","1402019481","1402019482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f78e0e4f283c1227eb88c89156f2d148.jpg","text":"TemporaryFile(/tmp/multipartBody196645745741519132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269654139,"filename":"image_04112025_17_00_55_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8e65e86bf8cdd0d0a95415547934189.jpg","text":"TemporaryFile(/tmp/multipartBody3845501209294719578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269654139,"filename":"image_04112025_17_00_59_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb2d4499fc20d365e135b10c38a35217.jpg","text":"TemporaryFile(/tmp/multipartBody850529634954411847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269654139,"filename":"image_04112025_17_00_57_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/489f47d82304777e6e2578cb02c7a43a.jpg","text":"TemporaryFile(/tmp/multipartBody7667963382076072274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269654139,"filename":"image_04112025_17_00_52_2488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1814fbaf85b597b11fc93c7b7354d244.jpg","text":"TemporaryFile(/tmp/multipartBody7693476540864970789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269654139,"filename":"image_04112025_17_00_50_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19b31fcd721c0d5ec5e56eda183f5ec4.jpg","text":"TemporaryFile(/tmp/multipartBody5504825713886753613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269654139,"filename":"image_04112025_17_00_54_1516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019477","file1":"1402019475","file0":"1402019474","file4":"1402019481","file5":"1402019482","file3":"1402019479"},"map_files_photo_id_array":[{"photo_id":"1402019482","filename":"file5"},{"photo_id":"1402019477","filename":"file2"},{"photo_id":"1402019481","filename":"file4"},{"photo_id":"1402019475","filename":"file1"},{"photo_id":"1402019474","filename":"file0"},{"photo_id":"1402019479","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019479":["hashtag1","hashtag2"]},{"1402019482":["hashtag1","hashtag2"]},{"1402019481":["hashtag1","hashtag2"]},{"1402019475":["hashtag1","hashtag2"]},{"1402019474":["hashtag1","hashtag2"]},{"1402019477":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019479, 1402019482, 1402019481, 1402019475, 1402019474, 1402019477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72059416770935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:14:03.095538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_35_10324.jpg', '/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_44_9658.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_14_10047.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_25_10666.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_35_9437.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_45_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_35_10324.jpg
/home/pi/Desktop/images/01012026/11/29/image_01012026_11_29_44_9658.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_14_10047.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_25_10666.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_35_9437.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_45_10679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019485","1402019488","1402019490","1402019492","1402019486","1402019489"],"photo_ids_order":["1402019485","1402019486","1402019488","1402019489","1402019490","1402019492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/019c6f090f1c689edee09c4d358d86c8.jpg","text":"TemporaryFile(/tmp/multipartBody6332286926468486146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269703916,"filename":"image_01012026_11_29_35_10324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f6bbb26d0c9636e0f8cb6b23e74c6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6880898255933451185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269703916,"filename":"image_01012026_11_30_14_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25a2d6acfcd6fb8d86df62bee1164cf3.jpg","text":"TemporaryFile(/tmp/multipartBody4603696271721194994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269703916,"filename":"image_01012026_11_30_35_9437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3902c59cf5c4ef9dfc2cb345ddfbb927.jpg","text":"TemporaryFile(/tmp/multipartBody9162206213028735590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269703916,"filename":"image_01012026_11_30_45_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72139f0143b09a840b9a3015c76761e8.jpg","text":"TemporaryFile(/tmp/multipartBody6823805986426991695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269703916,"filename":"image_01012026_11_29_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/006715f6f3696b6f2d8ba07882a243c2.jpg","text":"TemporaryFile(/tmp/multipartBody5461125044126701091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269703916,"filename":"image_01012026_11_30_25_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019488","file1":"1402019486","file0":"1402019485","file4":"1402019490","file5":"1402019492","file3":"1402019489"},"map_files_photo_id_array":[{"photo_id":"1402019492","filename":"file5"},{"photo_id":"1402019488","filename":"file2"},{"photo_id":"1402019490","filename":"file4"},{"photo_id":"1402019486","filename":"file1"},{"photo_id":"1402019485","filename":"file0"},{"photo_id":"1402019489","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019485":["hashtag1","hashtag2"]},{"1402019488":["hashtag1","hashtag2"]},{"1402019490":["hashtag1","hashtag2"]},{"1402019492":["hashtag1","hashtag2"]},{"1402019486":["hashtag1","hashtag2"]},{"1402019489":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019485, 1402019488, 1402019490, 1402019492, 1402019486, 1402019489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.328036069869995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:14:42.645030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_08_9249.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_09_1567.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_34_24959.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_36_1574.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_38_1968.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_40_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_08_9249.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_09_1567.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_34_24959.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_36_1574.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_38_1968.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_40_1718.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.7122859954833984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:15:03.497224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_55_9788.jpg', '/home/pi/Desktop/images/01012026/11/30/image_01012026_11_31_05_9646.jpg', '/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_15_10721.jpg', '/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_25_9790.jpg', '/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_35_9384.jpg', '/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_44_9875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_30_55_9788.jpg
/home/pi/Desktop/images/01012026/11/30/image_01012026_11_31_05_9646.jpg
/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_15_10721.jpg
/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_25_9790.jpg
/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_35_9384.jpg
/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_44_9875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019522","1402019519","1402019515","1402019518","1402019520","1402019517"],"photo_ids_order":["1402019515","1402019517","1402019518","1402019519","1402019520","1402019522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cf4ef017137d89a34bafe28ce31fe86.jpg","text":"TemporaryFile(/tmp/multipartBody6176426180133512617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269764283,"filename":"image_01012026_11_31_44_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c906c6d2bb1b7a89dc2e5160e75a9229.jpg","text":"TemporaryFile(/tmp/multipartBody998233426696233847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269764283,"filename":"image_01012026_11_31_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f142fb6d55b0de4ede1a0b41f4bea7ae.jpg","text":"TemporaryFile(/tmp/multipartBody5149246360977103593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269764283,"filename":"image_01012026_11_30_55_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5401cb5472d8d5de0176f197743b08c6.jpg","text":"TemporaryFile(/tmp/multipartBody2367244083403893177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269764283,"filename":"image_01012026_11_31_15_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ab3edba5d404e6b58ff589a2ad7b475.jpg","text":"TemporaryFile(/tmp/multipartBody4619517196973217598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269764283,"filename":"image_01012026_11_31_35_9384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3748bb3b7b29a4751b382aae2533f77.jpg","text":"TemporaryFile(/tmp/multipartBody1249220585045042125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269764283,"filename":"image_01012026_11_31_05_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019518","file1":"1402019517","file0":"1402019515","file4":"1402019520","file5":"1402019522","file3":"1402019519"},"map_files_photo_id_array":[{"photo_id":"1402019522","filename":"file5"},{"photo_id":"1402019518","filename":"file2"},{"photo_id":"1402019520","filename":"file4"},{"photo_id":"1402019517","filename":"file1"},{"photo_id":"1402019515","filename":"file0"},{"photo_id":"1402019519","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019522":["hashtag1","hashtag2"]},{"1402019519":["hashtag1","hashtag2"]},{"1402019515":["hashtag1","hashtag2"]},{"1402019518":["hashtag1","hashtag2"]},{"1402019520":["hashtag1","hashtag2"]},{"1402019517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019522, 1402019519, 1402019515, 1402019518, 1402019520, 1402019517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.534387826919556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:15:42.749597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_08_9249.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_09_1567.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_34_24959.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_36_1574.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_38_1968.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_40_1718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_08_9249.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_09_1567.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_34_24959.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_36_1574.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_38_1968.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_40_1718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019531","1402019528","1402019527","1402019530","1402019532","1402019529"],"photo_ids_order":["1402019527","1402019528","1402019529","1402019530","1402019531","1402019532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e3d61c31e91954320d1ced17a2248ed.jpg","text":"TemporaryFile(/tmp/multipartBody8655314796109606180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269804461,"filename":"image_04112025_17_01_38_1968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6bc48b6be7e72d6f34dd7fdcc405da58.jpg","text":"TemporaryFile(/tmp/multipartBody8392804295619718570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269804461,"filename":"image_04112025_17_01_09_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d167472ca95d052af0b5fea5cf99e4c7.jpg","text":"TemporaryFile(/tmp/multipartBody1810519040766900498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269804461,"filename":"image_04112025_17_01_08_9249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39e6f568a09b9453da2ecde701af8b60.jpg","text":"TemporaryFile(/tmp/multipartBody6982874813507821963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269804461,"filename":"image_04112025_17_01_36_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1c6db1756e65a04467b2e975a37c143.jpg","text":"TemporaryFile(/tmp/multipartBody9131335011927026429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269804461,"filename":"image_04112025_17_01_40_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efb8b0c53333948dbb431cf291d6dc03.jpg","text":"TemporaryFile(/tmp/multipartBody3409372040457256642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269804461,"filename":"image_04112025_17_01_34_24959.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019529","file1":"1402019528","file0":"1402019527","file4":"1402019531","file5":"1402019532","file3":"1402019530"},"map_files_photo_id_array":[{"photo_id":"1402019532","filename":"file5"},{"photo_id":"1402019529","filename":"file2"},{"photo_id":"1402019531","filename":"file4"},{"photo_id":"1402019528","filename":"file1"},{"photo_id":"1402019527","filename":"file0"},{"photo_id":"1402019530","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019531":["hashtag1","hashtag2"]},{"1402019528":["hashtag1","hashtag2"]},{"1402019527":["hashtag1","hashtag2"]},{"1402019530":["hashtag1","hashtag2"]},{"1402019532":["hashtag1","hashtag2"]},{"1402019529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019531, 1402019528, 1402019527, 1402019530, 1402019532, 1402019529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82245230674744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:16:26.774336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_55_10786.jpg', '/home/pi/Desktop/images/01012026/11/31/image_01012026_11_32_05_9805.jpg', '/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_15_10123.jpg', '/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_25_9869.jpg', '/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_35_9896.jpg', '/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_45_10218.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/31/image_01012026_11_31_55_10786.jpg
/home/pi/Desktop/images/01012026/11/31/image_01012026_11_32_05_9805.jpg
/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_15_10123.jpg
/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_25_9869.jpg
/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_35_9896.jpg
/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_45_10218.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019543","1402019537","1402019546","1402019539","1402019535","1402019540"],"photo_ids_order":["1402019535","1402019537","1402019539","1402019540","1402019543","1402019546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb66cdb5a363f600e181068046ae2d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2676815893388382923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269847485,"filename":"image_01012026_11_32_35_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2465b1b143dc6549fdbc953f1c97e307.jpg","text":"TemporaryFile(/tmp/multipartBody660819700061986390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269847485,"filename":"image_01012026_11_32_05_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6aae11410b2bb7adc053bae37d7c3a57.jpg","text":"TemporaryFile(/tmp/multipartBody2300807801875732174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269847485,"filename":"image_01012026_11_32_45_10218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d547e6e17f6f0e729bf0567af529b02.jpg","text":"TemporaryFile(/tmp/multipartBody5948281662701028023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269847485,"filename":"image_01012026_11_32_15_10123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9ee3058348df2b4267efa9a0ea310e6.jpg","text":"TemporaryFile(/tmp/multipartBody9011852308587814319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269847485,"filename":"image_01012026_11_31_55_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a367c6e591d922960c2cae7517441f22.jpg","text":"TemporaryFile(/tmp/multipartBody1029848714152687422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269847485,"filename":"image_01012026_11_32_25_9869.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019539","file1":"1402019537","file0":"1402019535","file4":"1402019543","file5":"1402019546","file3":"1402019540"},"map_files_photo_id_array":[{"photo_id":"1402019546","filename":"file5"},{"photo_id":"1402019539","filename":"file2"},{"photo_id":"1402019543","filename":"file4"},{"photo_id":"1402019537","filename":"file1"},{"photo_id":"1402019535","filename":"file0"},{"photo_id":"1402019540","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019543":["hashtag1","hashtag2"]},{"1402019537":["hashtag1","hashtag2"]},{"1402019546":["hashtag1","hashtag2"]},{"1402019539":["hashtag1","hashtag2"]},{"1402019535":["hashtag1","hashtag2"]},{"1402019540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019543, 1402019537, 1402019546, 1402019539, 1402019535, 1402019540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05110502243042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:17:11.894740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_41_1777.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_43_1758.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_45_1542.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_46_1809.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_48_1872.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_50_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_41_1777.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_43_1758.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_45_1542.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_46_1809.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_48_1872.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_50_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":["1402019551","1402019548","1402019550","1402019553","1402019547","1402019555"],"photo_ids_order":["1402019547","1402019548","1402019550","1402019551","1402019553","1402019555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9038462c28a6f1f8860fd5d72e1d4490.jpg","text":"TemporaryFile(/tmp/multipartBody1431921250825093097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269893648,"filename":"image_04112025_17_01_46_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1679b9a008a8bd6073b9be1adb7897f.jpg","text":"TemporaryFile(/tmp/multipartBody2215788328327791393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269893648,"filename":"image_04112025_17_01_43_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa26380e9b3fdf8c863344d9811aa2fa.jpg","text":"TemporaryFile(/tmp/multipartBody8324868189458359633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269893648,"filename":"image_04112025_17_01_45_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99a92ee09055ffa36b1c0d5c0758cf97.jpg","text":"TemporaryFile(/tmp/multipartBody1296259303405440997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269893648,"filename":"image_04112025_17_01_48_1872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7ff3d8248f44f0effc258388a1a7ea4.jpg","text":"TemporaryFile(/tmp/multipartBody4885269085493172624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269893648,"filename":"image_04112025_17_01_41_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21e6466d7251b2a1b98af7e13b396835.jpg","text":"TemporaryFile(/tmp/multipartBody6055444501962378649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269893648,"filename":"image_04112025_17_01_50_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019550","file1":"1402019548","file0":"1402019547","file4":"1402019553","file5":"1402019555","file3":"1402019551"},"map_files_photo_id_array":[{"photo_id":"1402019555","filename":"file5"},{"photo_id":"1402019550","filename":"file2"},{"photo_id":"1402019553","filename":"file4"},{"photo_id":"1402019548","filename":"file1"},{"photo_id":"1402019547","filename":"file0"},{"photo_id":"1402019551","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019551":["hashtag1","hashtag2"]},{"1402019548":["hashtag1","hashtag2"]},{"1402019550":["hashtag1","hashtag2"]},{"1402019553":["hashtag1","hashtag2"]},{"1402019547":["hashtag1","hashtag2"]},{"1402019555":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019551, 1402019548, 1402019550, 1402019553, 1402019547, 1402019555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.677608489990234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:18:02.594820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_55_9730.jpg', '/home/pi/Desktop/images/01012026/11/32/image_01012026_11_33_05_9893.jpg', '/home/pi/Desktop/images/01012026/11/33/image_01012026_11_33_25_10865.jpg', '/home/pi/Desktop/images/01012026/11/33/image_01012026_11_33_35_9691.jpg', '/home/pi/Desktop/images/01012026/11/33/image_01012026_11_33_45_9737.jpg', '/home/pi/Desktop/images/01012026/11/33/image_01012026_11_33_55_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/32/image_01012026_11_32_55_9730.jpg
/home/pi/Desktop/images/01012026/11/32/image_01012026_11_33_05_9893.jpg
/home/pi/Desktop/images/01012026/11/33/image_01012026_11_33_25_10865.jpg
/home/pi/Desktop/images/01012026/11/33/image_01012026_11_33_35_9691.jpg
/home/pi/Desktop/images/01012026/11/33/image_01012026_11_33_45_9737.jpg
/home/pi/Desktop/images/01012026/11/33/image_01012026_11_33_55_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":["1402019570","1402019569","1402019571","1402019568","1402019573","1402019567"],"photo_ids_order":["1402019567","1402019568","1402019569","1402019570","1402019571","1402019573"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3978825aea778b62e92acae42cd6888a.jpg","text":"TemporaryFile(/tmp/multipartBody3768752028339501477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269943326,"filename":"image_01012026_11_33_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1becf0433fb320b3ca2bccdfee665dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4410750345396066172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269943326,"filename":"image_01012026_11_33_25_10865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d745cdbc7e755b4eba6a5e5a0342591f.jpg","text":"TemporaryFile(/tmp/multipartBody6051081301952172922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269943326,"filename":"image_01012026_11_33_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/200dcd8d5c8b25ff99e48df310b80746.jpg","text":"TemporaryFile(/tmp/multipartBody958321590240707871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269943326,"filename":"image_01012026_11_33_05_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9c9f475656c3db5ce14c8565acc2c1c.jpg","text":"TemporaryFile(/tmp/multipartBody4329467726045350558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269943326,"filename":"image_01012026_11_33_55_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de07587a41453aa29591954a70e7817f.jpg","text":"TemporaryFile(/tmp/multipartBody7630511634375102094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269943326,"filename":"image_01012026_11_32_55_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019569","file1":"1402019568","file0":"1402019567","file4":"1402019571","file5":"1402019573","file3":"1402019570"},"map_files_photo_id_array":[{"photo_id":"1402019573","filename":"file5"},{"photo_id":"1402019569","filename":"file2"},{"photo_id":"1402019571","filename":"file4"},{"photo_id":"1402019568","filename":"file1"},{"photo_id":"1402019567","filename":"file0"},{"photo_id":"1402019570","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019570":["hashtag1","hashtag2"]},{"1402019569":["hashtag1","hashtag2"]},{"1402019571":["hashtag1","hashtag2"]},{"1402019568":["hashtag1","hashtag2"]},{"1402019573":["hashtag1","hashtag2"]},{"1402019567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019570, 1402019569, 1402019571, 1402019568, 1402019573, 1402019567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1491219997406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:18:42.058907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_52_1628.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_53_1732.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_55_1785.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_57_1551.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_58_1656.jpg', '/home/pi/Desktop/images/04112025/17/01/image_04112025_17_02_00_1736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_52_1628.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_53_1732.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_55_1785.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_57_1551.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_01_58_1656.jpg
/home/pi/Desktop/images/04112025/17/01/image_04112025_17_02_00_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":["1402019579","1402019581","1402019584","1402019583","1402019585","1402019582"],"photo_ids_order":["1402019579","1402019581","1402019582","1402019583","1402019584","1402019585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/611439cd572a1e57e1859edd6686968a.jpg","text":"TemporaryFile(/tmp/multipartBody6585860266417929188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269983910,"filename":"image_04112025_17_01_52_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25e24943943f33f3109acd5805530bca.jpg","text":"TemporaryFile(/tmp/multipartBody113244190946194018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269983910,"filename":"image_04112025_17_01_53_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a6f6c9ce0c1645e1aeb491bcdeabad7.jpg","text":"TemporaryFile(/tmp/multipartBody3798291797646303651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269983910,"filename":"image_04112025_17_01_58_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7b5fbdd205e5ee573404328fd4c8e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4866378913767966470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269983910,"filename":"image_04112025_17_01_57_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db4e4a51ac5100ba3c9a2f216667a396.jpg","text":"TemporaryFile(/tmp/multipartBody5101606163783720001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269983910,"filename":"image_04112025_17_02_00_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51761eb32944b4fd9a124fa04525e3a8.jpg","text":"TemporaryFile(/tmp/multipartBody4308833890741047793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767269983910,"filename":"image_04112025_17_01_55_1785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019582","file1":"1402019581","file0":"1402019579","file4":"1402019584","file5":"1402019585","file3":"1402019583"},"map_files_photo_id_array":[{"photo_id":"1402019585","filename":"file5"},{"photo_id":"1402019582","filename":"file2"},{"photo_id":"1402019584","filename":"file4"},{"photo_id":"1402019581","filename":"file1"},{"photo_id":"1402019579","filename":"file0"},{"photo_id":"1402019583","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019579":["hashtag1","hashtag2"]},{"1402019581":["hashtag1","hashtag2"]},{"1402019584":["hashtag1","hashtag2"]},{"1402019583":["hashtag1","hashtag2"]},{"1402019585":["hashtag1","hashtag2"]},{"1402019582":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019579, 1402019581, 1402019584, 1402019583, 1402019585, 1402019582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22597050666809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:19:22.284125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/33/image_01012026_11_34_05_10764.jpg', '/home/pi/Desktop/images/01012026/11/34/image_01012026_11_34_25_10026.jpg', '/home/pi/Desktop/images/01012026/11/34/image_01012026_11_34_35_9874.jpg', '/home/pi/Desktop/images/01012026/11/34/image_01012026_11_34_45_9753.jpg', '/home/pi/Desktop/images/01012026/11/34/image_01012026_11_34_55_9761.jpg', '/home/pi/Desktop/images/01012026/11/35/image_01012026_11_35_14_10051.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/33/image_01012026_11_34_05_10764.jpg
/home/pi/Desktop/images/01012026/11/34/image_01012026_11_34_25_10026.jpg
/home/pi/Desktop/images/01012026/11/34/image_01012026_11_34_35_9874.jpg
/home/pi/Desktop/images/01012026/11/34/image_01012026_11_34_45_9753.jpg
/home/pi/Desktop/images/01012026/11/34/image_01012026_11_34_55_9761.jpg
/home/pi/Desktop/images/01012026/11/35/image_01012026_11_35_14_10051.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019590","1402019587","1402019592","1402019594","1402019588","1402019597"],"photo_ids_order":["1402019587","1402019588","1402019590","1402019592","1402019594","1402019597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b70203258f18696234265fea9dfffa9f.jpg","text":"TemporaryFile(/tmp/multipartBody4710094860759373780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270022993,"filename":"image_01012026_11_34_35_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7fa157d6243a3bbdfb286e86bbe7e8a.jpg","text":"TemporaryFile(/tmp/multipartBody5468466171661759773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270022993,"filename":"image_01012026_11_34_05_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe39743acd00263c38aedb4a89960c17.jpg","text":"TemporaryFile(/tmp/multipartBody99858874888213490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270022993,"filename":"image_01012026_11_34_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e05f81357368f4e7f76b62399399b4b9.jpg","text":"TemporaryFile(/tmp/multipartBody1633586474477192523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270022993,"filename":"image_01012026_11_34_55_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c1d8de28dda1aa5e0260c9e744b3ee0.jpg","text":"TemporaryFile(/tmp/multipartBody6187156404803052205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270022993,"filename":"image_01012026_11_34_25_10026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbe6ba311cbfd40b3b488cc42605b126.jpg","text":"TemporaryFile(/tmp/multipartBody3614162412287068443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270022993,"filename":"image_01012026_11_35_14_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019590","file1":"1402019588","file0":"1402019587","file4":"1402019594","file5":"1402019597","file3":"1402019592"},"map_files_photo_id_array":[{"photo_id":"1402019597","filename":"file5"},{"photo_id":"1402019590","filename":"file2"},{"photo_id":"1402019594","filename":"file4"},{"photo_id":"1402019588","filename":"file1"},{"photo_id":"1402019587","filename":"file0"},{"photo_id":"1402019592","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019590":["hashtag1","hashtag2"]},{"1402019587":["hashtag1","hashtag2"]},{"1402019592":["hashtag1","hashtag2"]},{"1402019594":["hashtag1","hashtag2"]},{"1402019588":["hashtag1","hashtag2"]},{"1402019597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019590, 1402019587, 1402019592, 1402019594, 1402019588, 1402019597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.660664081573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:20:02.878394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/35/image_01012026_11_35_25_10696.jpg', '/home/pi/Desktop/images/01012026/11/35/image_01012026_11_35_35_9813.jpg', '/home/pi/Desktop/images/01012026/11/36/image_01012026_11_36_24_9676.jpg', '/home/pi/Desktop/images/01012026/11/36/image_01012026_11_36_45_10843.jpg', '/home/pi/Desktop/images/01012026/11/36/image_01012026_11_37_04_9698.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_14_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/35/image_01012026_11_35_25_10696.jpg
/home/pi/Desktop/images/01012026/11/35/image_01012026_11_35_35_9813.jpg
/home/pi/Desktop/images/01012026/11/36/image_01012026_11_36_24_9676.jpg
/home/pi/Desktop/images/01012026/11/36/image_01012026_11_36_45_10843.jpg
/home/pi/Desktop/images/01012026/11/36/image_01012026_11_37_04_9698.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_14_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019603","1402019600","1402019599","1402019605","1402019601","1402019604"],"photo_ids_order":["1402019599","1402019600","1402019601","1402019603","1402019604","1402019605"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b79e9e6e17840e3099f000fc2abe74e1.jpg","text":"TemporaryFile(/tmp/multipartBody7870035967457726735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270063615,"filename":"image_01012026_11_36_45_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b637e6308bb46d16b31126e9b02d3d38.jpg","text":"TemporaryFile(/tmp/multipartBody560698398338317860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270063615,"filename":"image_01012026_11_35_35_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f940c9ef3bad21167986c9e15039793b.jpg","text":"TemporaryFile(/tmp/multipartBody737081861551215166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270063615,"filename":"image_01012026_11_35_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8eb980aa4ba72e41a4c6c6bb9cb472c.jpg","text":"TemporaryFile(/tmp/multipartBody4812598192641473785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270063615,"filename":"image_01012026_11_37_14_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bba85b580f5aaba6ebb7e646d66e88c7.jpg","text":"TemporaryFile(/tmp/multipartBody2984913036157912303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270063615,"filename":"image_01012026_11_36_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52111627d8e5d94e020729353d626bcb.jpg","text":"TemporaryFile(/tmp/multipartBody9109815808412565636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270063615,"filename":"image_01012026_11_37_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019601","file1":"1402019600","file0":"1402019599","file4":"1402019604","file5":"1402019605","file3":"1402019603"},"map_files_photo_id_array":[{"photo_id":"1402019605","filename":"file5"},{"photo_id":"1402019601","filename":"file2"},{"photo_id":"1402019604","filename":"file4"},{"photo_id":"1402019600","filename":"file1"},{"photo_id":"1402019599","filename":"file0"},{"photo_id":"1402019603","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019603":["hashtag1","hashtag2"]},{"1402019600":["hashtag1","hashtag2"]},{"1402019599":["hashtag1","hashtag2"]},{"1402019605":["hashtag1","hashtag2"]},{"1402019601":["hashtag1","hashtag2"]},{"1402019604":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019603, 1402019600, 1402019599, 1402019605, 1402019601, 1402019604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57391858100891 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:20:42.498079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_02_1590.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_03_1657.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_05_1739.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_07_1542.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_08_1562.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_11_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_02_1590.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_03_1657.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_05_1739.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_07_1542.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_08_1562.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_11_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019630","1402019612","1402019632","1402019626","1402019635","1402019628"],"photo_ids_order":["1402019612","1402019626","1402019628","1402019630","1402019632","1402019635"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9bfd92a70bc22839284f8e9d5d745f9b.jpg","text":"TemporaryFile(/tmp/multipartBody6451900162635316292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270104365,"filename":"image_04112025_17_02_07_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/379b2a6b9d1232564e7d46ade8f2fa9f.jpg","text":"TemporaryFile(/tmp/multipartBody2391215273948283875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270104365,"filename":"image_04112025_17_02_02_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59e710a301ee7ab02e22dd4f808cd349.jpg","text":"TemporaryFile(/tmp/multipartBody1231050278070812781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270104365,"filename":"image_04112025_17_02_08_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b5cd3945db57bf279486bae55b81def.jpg","text":"TemporaryFile(/tmp/multipartBody8282340738893188026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270104365,"filename":"image_04112025_17_02_03_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4ec25a2656ca4667dbad534269c722a.jpg","text":"TemporaryFile(/tmp/multipartBody4344566655665650154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270104365,"filename":"image_04112025_17_02_11_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/970e8a68fc408ffd11357264ed09421a.jpg","text":"TemporaryFile(/tmp/multipartBody2069063019874950998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270104365,"filename":"image_04112025_17_02_05_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019628","file1":"1402019626","file0":"1402019612","file4":"1402019632","file5":"1402019635","file3":"1402019630"},"map_files_photo_id_array":[{"photo_id":"1402019635","filename":"file5"},{"photo_id":"1402019628","filename":"file2"},{"photo_id":"1402019632","filename":"file4"},{"photo_id":"1402019626","filename":"file1"},{"photo_id":"1402019612","filename":"file0"},{"photo_id":"1402019630","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019630":["hashtag1","hashtag2"]},{"1402019612":["hashtag1","hashtag2"]},{"1402019632":["hashtag1","hashtag2"]},{"1402019626":["hashtag1","hashtag2"]},{"1402019635":["hashtag1","hashtag2"]},{"1402019628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019630, 1402019612, 1402019632, 1402019626, 1402019635, 1402019628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68103837966919 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:21:25.364696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_25_10748.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_35_9870.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_45_9878.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_54_9613.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_38_05_10680.jpg', '/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_15_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_25_10748.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_35_9870.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_45_9878.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_54_9613.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_38_05_10680.jpg
/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_15_9713.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.5852572917938232 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:21:35.459867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_14_2774.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_16_2670.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_20_3586.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_23_2672.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_25_2860.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_28_2787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_14_2774.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_16_2670.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_20_3586.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_23_2672.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_25_2860.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_28_2787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019651","1402019650","1402019643","1402019652","1402019646","1402019649"],"photo_ids_order":["1402019643","1402019646","1402019649","1402019650","1402019651","1402019652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db9f9dee81d3620957ece6b7a1cbd30c.jpg","text":"TemporaryFile(/tmp/multipartBody3366735279161445663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270157303,"filename":"image_04112025_17_02_25_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28db5af817ec1c4208c77b7eafa44cac.jpg","text":"TemporaryFile(/tmp/multipartBody5785897038996842673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270157303,"filename":"image_04112025_17_02_23_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d30b6228b31b85b89b9cc31aec80feb.jpg","text":"TemporaryFile(/tmp/multipartBody5972988363253666702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270157303,"filename":"image_04112025_17_02_14_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d52fbbcaa4e9b4b106cdb2636c955006.jpg","text":"TemporaryFile(/tmp/multipartBody7156323778647787444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270157303,"filename":"image_04112025_17_02_28_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0c0f7c8643d211d793f2a2ba1a3f818.jpg","text":"TemporaryFile(/tmp/multipartBody993464036148869881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270157303,"filename":"image_04112025_17_02_16_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/448d50ce638fe2af8afeaa7c5552a39d.jpg","text":"TemporaryFile(/tmp/multipartBody2847458506988813111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270157303,"filename":"image_04112025_17_02_20_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019649","file1":"1402019646","file0":"1402019643","file4":"1402019651","file5":"1402019652","file3":"1402019650"},"map_files_photo_id_array":[{"photo_id":"1402019652","filename":"file5"},{"photo_id":"1402019649","filename":"file2"},{"photo_id":"1402019651","filename":"file4"},{"photo_id":"1402019646","filename":"file1"},{"photo_id":"1402019643","filename":"file0"},{"photo_id":"1402019650","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019651":["hashtag1","hashtag2"]},{"1402019650":["hashtag1","hashtag2"]},{"1402019643":["hashtag1","hashtag2"]},{"1402019652":["hashtag1","hashtag2"]},{"1402019646":["hashtag1","hashtag2"]},{"1402019649":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019651, 1402019650, 1402019643, 1402019652, 1402019646, 1402019649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69761919975281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:22:22.566673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_25_10748.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_35_9870.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_45_9878.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_54_9613.jpg', '/home/pi/Desktop/images/01012026/11/37/image_01012026_11_38_05_10680.jpg', '/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_15_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_25_10748.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_35_9870.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_45_9878.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_37_54_9613.jpg
/home/pi/Desktop/images/01012026/11/37/image_01012026_11_38_05_10680.jpg
/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_15_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":["1402019663","1402019662","1402019659","1402019653","1402019656","1402019658"],"photo_ids_order":["1402019653","1402019656","1402019658","1402019659","1402019662","1402019663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cbadf15affbed318d6e98a479f0f199.jpg","text":"TemporaryFile(/tmp/multipartBody5506855476378336776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270203251,"filename":"image_01012026_11_38_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bba81d16856c911a00479871921a149f.jpg","text":"TemporaryFile(/tmp/multipartBody6808261337161219516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270203251,"filename":"image_01012026_11_38_05_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3863ee02dabebb11c011504174513f25.jpg","text":"TemporaryFile(/tmp/multipartBody524908486735121185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270203251,"filename":"image_01012026_11_37_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09d33da219911be2f2cfebe74a2459b8.jpg","text":"TemporaryFile(/tmp/multipartBody4144089116920927690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270203251,"filename":"image_01012026_11_37_25_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d96fcb19a49c3650fce8de2259d0c14.jpg","text":"TemporaryFile(/tmp/multipartBody142394235719582664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270203251,"filename":"image_01012026_11_37_35_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6129527c7777d4ec265549b7f27f1f93.jpg","text":"TemporaryFile(/tmp/multipartBody1275847442061950873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270203251,"filename":"image_01012026_11_37_45_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019658","file1":"1402019656","file0":"1402019653","file4":"1402019662","file5":"1402019663","file3":"1402019659"},"map_files_photo_id_array":[{"photo_id":"1402019663","filename":"file5"},{"photo_id":"1402019658","filename":"file2"},{"photo_id":"1402019662","filename":"file4"},{"photo_id":"1402019656","filename":"file1"},{"photo_id":"1402019653","filename":"file0"},{"photo_id":"1402019659","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019663":["hashtag1","hashtag2"]},{"1402019662":["hashtag1","hashtag2"]},{"1402019659":["hashtag1","hashtag2"]},{"1402019653":["hashtag1","hashtag2"]},{"1402019656":["hashtag1","hashtag2"]},{"1402019658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019663, 1402019662, 1402019659, 1402019653, 1402019656, 1402019658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46717381477356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:23:03.410559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_24_9632.jpg', '/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_34_9740.jpg', '/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_45_10747.jpg', '/home/pi/Desktop/images/01012026/11/38/image_01012026_11_39_04_9751.jpg', '/home/pi/Desktop/images/01012026/11/39/image_01012026_11_39_14_9793.jpg', '/home/pi/Desktop/images/01012026/11/39/image_01012026_11_39_25_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_24_9632.jpg
/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_34_9740.jpg
/home/pi/Desktop/images/01012026/11/38/image_01012026_11_38_45_10747.jpg
/home/pi/Desktop/images/01012026/11/38/image_01012026_11_39_04_9751.jpg
/home/pi/Desktop/images/01012026/11/39/image_01012026_11_39_14_9793.jpg
/home/pi/Desktop/images/01012026/11/39/image_01012026_11_39_25_10724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019671","1402019674","1402019670","1402019672","1402019666","1402019669"],"photo_ids_order":["1402019666","1402019669","1402019670","1402019671","1402019672","1402019674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51886f683232af53ec7fc7cca0e993ff.jpg","text":"TemporaryFile(/tmp/multipartBody7844097075130597869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270244191,"filename":"image_01012026_11_39_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1c0e19cf82d83779865b32833f2924a.jpg","text":"TemporaryFile(/tmp/multipartBody8334921589033474887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270244191,"filename":"image_01012026_11_39_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbc097b2d1686855093878c676a212b5.jpg","text":"TemporaryFile(/tmp/multipartBody4542996310242067703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270244191,"filename":"image_01012026_11_38_45_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b089e44b45e6c4dae8a35b5bc67cd149.jpg","text":"TemporaryFile(/tmp/multipartBody2406561242180116206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270244191,"filename":"image_01012026_11_39_14_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1fe18b107d893317fd2edd1649713b0.jpg","text":"TemporaryFile(/tmp/multipartBody5254319463646242034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270244191,"filename":"image_01012026_11_38_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f10d15de51eed9a47e84c5b03e4dd46f.jpg","text":"TemporaryFile(/tmp/multipartBody5954034007955256909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270244191,"filename":"image_01012026_11_38_34_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019670","file1":"1402019669","file0":"1402019666","file4":"1402019672","file5":"1402019674","file3":"1402019671"},"map_files_photo_id_array":[{"photo_id":"1402019674","filename":"file5"},{"photo_id":"1402019670","filename":"file2"},{"photo_id":"1402019672","filename":"file4"},{"photo_id":"1402019669","filename":"file1"},{"photo_id":"1402019666","filename":"file0"},{"photo_id":"1402019671","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019671":["hashtag1","hashtag2"]},{"1402019674":["hashtag1","hashtag2"]},{"1402019670":["hashtag1","hashtag2"]},{"1402019672":["hashtag1","hashtag2"]},{"1402019666":["hashtag1","hashtag2"]},{"1402019669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019671, 1402019674, 1402019670, 1402019672, 1402019666, 1402019669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70535588264465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:23:42.814715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_31_2724.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_36_5137.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_38_1642.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_40_2640.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_43_2712.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_47_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_31_2724.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_36_5137.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_38_1642.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_40_2640.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_43_2712.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_47_3775.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.7024812698364258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:24:02.629968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/39/image_01012026_11_39_44_9744.jpg', '/home/pi/Desktop/images/01012026/11/39/image_01012026_11_39_54_9713.jpg', '/home/pi/Desktop/images/01012026/11/41/image_01012026_11_41_14_10038.jpg', '/home/pi/Desktop/images/01012026/11/41/image_01012026_11_42_05_10673.jpg', '/home/pi/Desktop/images/01012026/11/42/image_01012026_11_42_14_9741.jpg', '/home/pi/Desktop/images/01012026/11/42/image_01012026_11_42_35_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/39/image_01012026_11_39_44_9744.jpg
/home/pi/Desktop/images/01012026/11/39/image_01012026_11_39_54_9713.jpg
/home/pi/Desktop/images/01012026/11/41/image_01012026_11_41_14_10038.jpg
/home/pi/Desktop/images/01012026/11/41/image_01012026_11_42_05_10673.jpg
/home/pi/Desktop/images/01012026/11/42/image_01012026_11_42_14_9741.jpg
/home/pi/Desktop/images/01012026/11/42/image_01012026_11_42_35_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":["1402019695","1402019698","1402019694","1402019697","1402019696","1402019700"],"photo_ids_order":["1402019694","1402019695","1402019696","1402019697","1402019698","1402019700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87c3a94c50a6b2da538a48756debd846.jpg","text":"TemporaryFile(/tmp/multipartBody4731819796937321104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270303423,"filename":"image_01012026_11_39_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20744e1a3df81355e60a43a25897be52.jpg","text":"TemporaryFile(/tmp/multipartBody1981825003149590596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270303423,"filename":"image_01012026_11_42_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b42895b3d11ded9e9e219408042e757.jpg","text":"TemporaryFile(/tmp/multipartBody5454910062797329391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270303423,"filename":"image_01012026_11_39_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73c81da92f4651f726377eff6694a916.jpg","text":"TemporaryFile(/tmp/multipartBody5613761625973653690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270303423,"filename":"image_01012026_11_42_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/592864001fcf2d547545b9a4e31c395b.jpg","text":"TemporaryFile(/tmp/multipartBody1460474544341173902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270303423,"filename":"image_01012026_11_41_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/533579e0847a06b948eed6195ac36da1.jpg","text":"TemporaryFile(/tmp/multipartBody8352340113785833319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270303423,"filename":"image_01012026_11_42_35_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019696","file1":"1402019695","file0":"1402019694","file4":"1402019698","file5":"1402019700","file3":"1402019697"},"map_files_photo_id_array":[{"photo_id":"1402019700","filename":"file5"},{"photo_id":"1402019696","filename":"file2"},{"photo_id":"1402019698","filename":"file4"},{"photo_id":"1402019695","filename":"file1"},{"photo_id":"1402019694","filename":"file0"},{"photo_id":"1402019697","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019695":["hashtag1","hashtag2"]},{"1402019698":["hashtag1","hashtag2"]},{"1402019694":["hashtag1","hashtag2"]},{"1402019697":["hashtag1","hashtag2"]},{"1402019696":["hashtag1","hashtag2"]},{"1402019700":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019695, 1402019698, 1402019694, 1402019697, 1402019696, 1402019700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52818322181702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:24:41.986857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_31_2724.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_36_5137.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_38_1642.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_40_2640.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_43_2712.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_47_3775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_31_2724.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_36_5137.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_38_1642.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_40_2640.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_43_2712.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_47_3775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019711","1402019713","1402019710","1402019712","1402019706","1402019709"],"photo_ids_order":["1402019706","1402019709","1402019710","1402019711","1402019712","1402019713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c9fb26d0c755679278bf9ddd3f8eeba.jpg","text":"TemporaryFile(/tmp/multipartBody685374170594336990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270343719,"filename":"image_04112025_17_02_40_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15d95aa65212bf72f48a5965c170ead8.jpg","text":"TemporaryFile(/tmp/multipartBody6881068409818620848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270343719,"filename":"image_04112025_17_02_47_3775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd8631caf4aba09da699ce999c29469e.jpg","text":"TemporaryFile(/tmp/multipartBody5701996076806044460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270343719,"filename":"image_04112025_17_02_38_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf2cfeaa9f98098bbf44b5e1eeb06ab3.jpg","text":"TemporaryFile(/tmp/multipartBody6981513023155371255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270343719,"filename":"image_04112025_17_02_43_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04fa066703fc5c0f4dd4aa2c6f7c2b73.jpg","text":"TemporaryFile(/tmp/multipartBody5311344625777226953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270343719,"filename":"image_04112025_17_02_31_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6876e281db1f25d84c415f0b797b7e3c.jpg","text":"TemporaryFile(/tmp/multipartBody5744397731606492347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270343719,"filename":"image_04112025_17_02_36_5137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019710","file1":"1402019709","file0":"1402019706","file4":"1402019712","file5":"1402019713","file3":"1402019711"},"map_files_photo_id_array":[{"photo_id":"1402019713","filename":"file5"},{"photo_id":"1402019710","filename":"file2"},{"photo_id":"1402019712","filename":"file4"},{"photo_id":"1402019709","filename":"file1"},{"photo_id":"1402019706","filename":"file0"},{"photo_id":"1402019711","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019711":["hashtag1","hashtag2"]},{"1402019713":["hashtag1","hashtag2"]},{"1402019710":["hashtag1","hashtag2"]},{"1402019712":["hashtag1","hashtag2"]},{"1402019706":["hashtag1","hashtag2"]},{"1402019709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019711, 1402019713, 1402019710, 1402019712, 1402019706, 1402019709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5163459777832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:25:22.357591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/42/image_01012026_11_42_54_9774.jpg', '/home/pi/Desktop/images/01012026/11/43/image_01012026_11_43_15_9782.jpg', '/home/pi/Desktop/images/01012026/11/43/image_01012026_11_43_34_10111.jpg', '/home/pi/Desktop/images/01012026/11/43/image_01012026_11_43_44_9927.jpg', '/home/pi/Desktop/images/01012026/11/43/image_01012026_11_43_54_9929.jpg', '/home/pi/Desktop/images/01012026/11/43/image_01012026_11_44_04_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/42/image_01012026_11_42_54_9774.jpg
/home/pi/Desktop/images/01012026/11/43/image_01012026_11_43_15_9782.jpg
/home/pi/Desktop/images/01012026/11/43/image_01012026_11_43_34_10111.jpg
/home/pi/Desktop/images/01012026/11/43/image_01012026_11_43_44_9927.jpg
/home/pi/Desktop/images/01012026/11/43/image_01012026_11_43_54_9929.jpg
/home/pi/Desktop/images/01012026/11/43/image_01012026_11_44_04_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":["1402019720","1402019723","1402019717","1402019719","1402019721","1402019715"],"photo_ids_order":["1402019715","1402019717","1402019719","1402019720","1402019721","1402019723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6896d19db9f439ffcce1ec61ec88b14.jpg","text":"TemporaryFile(/tmp/multipartBody6541043785320321796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270383066,"filename":"image_01012026_11_43_44_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/284ff095ed28e99a1e7dce3ef5db1c29.jpg","text":"TemporaryFile(/tmp/multipartBody769416718489995601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270383066,"filename":"image_01012026_11_44_04_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ed9368a84946fd1cf117905a6942669.jpg","text":"TemporaryFile(/tmp/multipartBody564718858106422346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270383066,"filename":"image_01012026_11_43_15_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c4af1669983ed78de05cdbbd798b8c0.jpg","text":"TemporaryFile(/tmp/multipartBody3660604067742675139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270383066,"filename":"image_01012026_11_43_34_10111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ba73991c4439f8ad02d21620f8bf356.jpg","text":"TemporaryFile(/tmp/multipartBody5781057600692785089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270383066,"filename":"image_01012026_11_43_54_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3dc924e2b84020fcb67151fa538ac366.jpg","text":"TemporaryFile(/tmp/multipartBody4369811820918032289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270383066,"filename":"image_01012026_11_42_54_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019719","file1":"1402019717","file0":"1402019715","file4":"1402019721","file5":"1402019723","file3":"1402019720"},"map_files_photo_id_array":[{"photo_id":"1402019723","filename":"file5"},{"photo_id":"1402019719","filename":"file2"},{"photo_id":"1402019721","filename":"file4"},{"photo_id":"1402019717","filename":"file1"},{"photo_id":"1402019715","filename":"file0"},{"photo_id":"1402019720","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019720":["hashtag1","hashtag2"]},{"1402019723":["hashtag1","hashtag2"]},{"1402019717":["hashtag1","hashtag2"]},{"1402019719":["hashtag1","hashtag2"]},{"1402019721":["hashtag1","hashtag2"]},{"1402019715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019720, 1402019723, 1402019717, 1402019719, 1402019721, 1402019715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09887075424194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:26:02.832573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_14_9745.jpg', '/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_25_10793.jpg', '/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_34_9652.jpg', '/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_44_9781.jpg', '/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_54_9768.jpg', '/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_14_10060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_14_9745.jpg
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_25_10793.jpg
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_34_9652.jpg
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_44_9781.jpg
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_54_9768.jpg
/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_14_10060.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.6342802047729492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:26:12.286244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_49_2558.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_52_2634.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_56_3532.jpg', '/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_58_2789.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_01_2712.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_05_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_49_2558.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_52_2634.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_56_3532.jpg
/home/pi/Desktop/images/04112025/17/02/image_04112025_17_02_58_2789.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_01_2712.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_05_3676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019729","1402019738","1402019732","1402019734","1402019736","1402019727"],"photo_ids_order":["1402019727","1402019729","1402019732","1402019734","1402019736","1402019738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/598b4798feed69fe466f561997a99d83.jpg","text":"TemporaryFile(/tmp/multipartBody4218588344834757578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270434131,"filename":"image_04112025_17_02_52_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b0a8e9b534e91fb45dd8570b8967d10.jpg","text":"TemporaryFile(/tmp/multipartBody2653000774021781707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270434131,"filename":"image_04112025_17_03_05_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89b5180e70ac11c1585a0c64e9b8c2a9.jpg","text":"TemporaryFile(/tmp/multipartBody4012825856768303812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270434131,"filename":"image_04112025_17_02_56_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bf0d56036b6444b645c438320de9b63.jpg","text":"TemporaryFile(/tmp/multipartBody8458252706634951216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270434131,"filename":"image_04112025_17_02_58_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee2e0da433b94411de688a837ba67533.jpg","text":"TemporaryFile(/tmp/multipartBody6909225516667107535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270434131,"filename":"image_04112025_17_03_01_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cc98c69e0cd9e3a85802ecf5c4ac426.jpg","text":"TemporaryFile(/tmp/multipartBody7086353718751452364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270434131,"filename":"image_04112025_17_02_49_2558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019732","file1":"1402019729","file0":"1402019727","file4":"1402019736","file5":"1402019738","file3":"1402019734"},"map_files_photo_id_array":[{"photo_id":"1402019738","filename":"file5"},{"photo_id":"1402019732","filename":"file2"},{"photo_id":"1402019736","filename":"file4"},{"photo_id":"1402019729","filename":"file1"},{"photo_id":"1402019727","filename":"file0"},{"photo_id":"1402019734","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019729":["hashtag1","hashtag2"]},{"1402019738":["hashtag1","hashtag2"]},{"1402019732":["hashtag1","hashtag2"]},{"1402019734":["hashtag1","hashtag2"]},{"1402019736":["hashtag1","hashtag2"]},{"1402019727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019729, 1402019738, 1402019732, 1402019734, 1402019736, 1402019727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.57653021812439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:27:03.343643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_14_9745.jpg', '/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_25_10793.jpg', '/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_34_9652.jpg', '/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_44_9781.jpg', '/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_54_9768.jpg', '/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_14_10060.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_14_9745.jpg
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_25_10793.jpg
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_34_9652.jpg
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_44_9781.jpg
/home/pi/Desktop/images/01012026/11/44/image_01012026_11_44_54_9768.jpg
/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_14_10060.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019756","1402019750","1402019752","1402019754","1402019751","1402019753"],"photo_ids_order":["1402019750","1402019751","1402019752","1402019753","1402019754","1402019756"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/347cc458320cd1fe3d5d55d6830412f7.jpg","text":"TemporaryFile(/tmp/multipartBody7698445424545999053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270484108,"filename":"image_01012026_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/2026/1/1/cb36e8e03532d3ac02402368746800ff.jpg","text":"TemporaryFile(/tmp/multipartBody7577242337484980541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270484108,"filename":"image_01012026_11_44_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8868b09ba305e7842b2fe12f98572168.jpg","text":"TemporaryFile(/tmp/multipartBody2690613637820651021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270484108,"filename":"image_01012026_11_44_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59ec8583084a1d006fc6e9d5fc17e5d5.jpg","text":"TemporaryFile(/tmp/multipartBody564728047147044690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270484108,"filename":"image_01012026_11_44_54_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35dd5ad49223ab4bdfd9f44f895704cf.jpg","text":"TemporaryFile(/tmp/multipartBody2275971275310619189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270484108,"filename":"image_01012026_11_44_25_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12d1075a8211de8c00e1634e55b3bd21.jpg","text":"TemporaryFile(/tmp/multipartBody1877023845188883571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270484108,"filename":"image_01012026_11_44_44_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019752","file1":"1402019751","file0":"1402019750","file4":"1402019754","file5":"1402019756","file3":"1402019753"},"map_files_photo_id_array":[{"photo_id":"1402019756","filename":"file5"},{"photo_id":"1402019752","filename":"file2"},{"photo_id":"1402019754","filename":"file4"},{"photo_id":"1402019751","filename":"file1"},{"photo_id":"1402019750","filename":"file0"},{"photo_id":"1402019753","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019756":["hashtag1","hashtag2"]},{"1402019750":["hashtag1","hashtag2"]},{"1402019752":["hashtag1","hashtag2"]},{"1402019754":["hashtag1","hashtag2"]},{"1402019751":["hashtag1","hashtag2"]},{"1402019753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019756, 1402019750, 1402019752, 1402019754, 1402019751, 1402019753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.515026330947876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:27:42.647447
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_07_2596.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_10_2898.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_14_3582.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_16_2620.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_19_2662.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_23_3631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_07_2596.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_10_2898.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_14_3582.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_16_2620.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_19_2662.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_23_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":["1402019762","1402019764","1402019767","1402019766","1402019765","1402019768"],"photo_ids_order":["1402019762","1402019764","1402019765","1402019766","1402019767","1402019768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d312e701ebcc486513a9a84abccac5dc.jpg","text":"TemporaryFile(/tmp/multipartBody1555295600319131019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270524456,"filename":"image_04112025_17_03_07_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a05976b336069e11402261f31a5fa307.jpg","text":"TemporaryFile(/tmp/multipartBody4721893498636143093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270524456,"filename":"image_04112025_17_03_10_2898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6bdccd00ec48d69446f0e783dc166ccc.jpg","text":"TemporaryFile(/tmp/multipartBody2687030408601495037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270524456,"filename":"image_04112025_17_03_19_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1493c4b8ff08480ad81c9fd3c6aeb3ae.jpg","text":"TemporaryFile(/tmp/multipartBody4052739368660775915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270524456,"filename":"image_04112025_17_03_16_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbaa225e3b10af0239d5470e739e1827.jpg","text":"TemporaryFile(/tmp/multipartBody84708069659527877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270524456,"filename":"image_04112025_17_03_14_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b99c43de56bfc3da64846caafebca75.jpg","text":"TemporaryFile(/tmp/multipartBody4803868165951027347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270524456,"filename":"image_04112025_17_03_23_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019765","file1":"1402019764","file0":"1402019762","file4":"1402019767","file5":"1402019768","file3":"1402019766"},"map_files_photo_id_array":[{"photo_id":"1402019768","filename":"file5"},{"photo_id":"1402019765","filename":"file2"},{"photo_id":"1402019767","filename":"file4"},{"photo_id":"1402019764","filename":"file1"},{"photo_id":"1402019762","filename":"file0"},{"photo_id":"1402019766","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019762":["hashtag1","hashtag2"]},{"1402019764":["hashtag1","hashtag2"]},{"1402019767":["hashtag1","hashtag2"]},{"1402019766":["hashtag1","hashtag2"]},{"1402019765":["hashtag1","hashtag2"]},{"1402019768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019762, 1402019764, 1402019767, 1402019766, 1402019765, 1402019768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41339826583862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:28:22.848037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_25_10702.jpg', '/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_34_9582.jpg', '/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_55_10859.jpg', '/home/pi/Desktop/images/01012026/11/45/image_01012026_11_46_05_9689.jpg', '/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_14_9851.jpg', '/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_24_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_25_10702.jpg
/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_34_9582.jpg
/home/pi/Desktop/images/01012026/11/45/image_01012026_11_45_55_10859.jpg
/home/pi/Desktop/images/01012026/11/45/image_01012026_11_46_05_9689.jpg
/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_14_9851.jpg
/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_24_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019776","1402019770","1402019772","1402019778","1402019780","1402019774"],"photo_ids_order":["1402019770","1402019772","1402019774","1402019776","1402019778","1402019780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fea29f5d4f8ad765951817315c6ae990.jpg","text":"TemporaryFile(/tmp/multipartBody2791737581138387779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270563601,"filename":"image_01012026_11_46_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91c21ca28a32bf084c00cf844bb4e79c.jpg","text":"TemporaryFile(/tmp/multipartBody531717484944242143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270563601,"filename":"image_01012026_11_45_25_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73d8c860bbc046982e4f8248d4565415.jpg","text":"TemporaryFile(/tmp/multipartBody8385928072521588578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270563601,"filename":"image_01012026_11_45_34_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0456f10a7dd3c47818b70a00c999ddbb.jpg","text":"TemporaryFile(/tmp/multipartBody6247354257325608582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270563601,"filename":"image_01012026_11_46_14_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab032d9ea9c70574fabade50326fa3b0.jpg","text":"TemporaryFile(/tmp/multipartBody8545727020454328783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270563601,"filename":"image_01012026_11_46_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ff87cec4fea07335e745b7c4d42e9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7994158329035051441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270563601,"filename":"image_01012026_11_45_55_10859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019774","file1":"1402019772","file0":"1402019770","file4":"1402019778","file5":"1402019780","file3":"1402019776"},"map_files_photo_id_array":[{"photo_id":"1402019780","filename":"file5"},{"photo_id":"1402019774","filename":"file2"},{"photo_id":"1402019778","filename":"file4"},{"photo_id":"1402019772","filename":"file1"},{"photo_id":"1402019770","filename":"file0"},{"photo_id":"1402019776","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019776":["hashtag1","hashtag2"]},{"1402019770":["hashtag1","hashtag2"]},{"1402019772":["hashtag1","hashtag2"]},{"1402019778":["hashtag1","hashtag2"]},{"1402019780":["hashtag1","hashtag2"]},{"1402019774":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019776, 1402019770, 1402019772, 1402019778, 1402019780, 1402019774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65284872055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:29:03.098100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_35_10727.jpg', '/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_45_9785.jpg', '/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_54_9775.jpg', '/home/pi/Desktop/images/01012026/11/46/image_01012026_11_47_04_9745.jpg', '/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_15_10645.jpg', '/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_25_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_35_10727.jpg
/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_45_9785.jpg
/home/pi/Desktop/images/01012026/11/46/image_01012026_11_46_54_9775.jpg
/home/pi/Desktop/images/01012026/11/46/image_01012026_11_47_04_9745.jpg
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_15_10645.jpg
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_25_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":["1402019785","1402019781","1402019784","1402019783","1402019786","1402019789"],"photo_ids_order":["1402019781","1402019783","1402019784","1402019785","1402019786","1402019789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d78be617fd218a61ec938cd11025d8b8.jpg","text":"TemporaryFile(/tmp/multipartBody5283943962734185379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270603931,"filename":"image_01012026_11_47_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49d044356e97694979ac2cbbd9566aec.jpg","text":"TemporaryFile(/tmp/multipartBody7205248342015621920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270603931,"filename":"image_01012026_11_46_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/371ee2f4b918c75920dd02d533fae2c8.jpg","text":"TemporaryFile(/tmp/multipartBody2582255621814923921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270603931,"filename":"image_01012026_11_46_54_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d03b49beffff3cae47894a3ab88116b.jpg","text":"TemporaryFile(/tmp/multipartBody6249626220031519016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270603931,"filename":"image_01012026_11_46_45_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55e0eba985fa1724f22a5bc0b2f585d4.jpg","text":"TemporaryFile(/tmp/multipartBody1026904081841554497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270603931,"filename":"image_01012026_11_47_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe34db1cf167aa36916fb92db380948d.jpg","text":"TemporaryFile(/tmp/multipartBody972089957573266770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270603931,"filename":"image_01012026_11_47_25_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019784","file1":"1402019783","file0":"1402019781","file4":"1402019786","file5":"1402019789","file3":"1402019785"},"map_files_photo_id_array":[{"photo_id":"1402019789","filename":"file5"},{"photo_id":"1402019784","filename":"file2"},{"photo_id":"1402019786","filename":"file4"},{"photo_id":"1402019783","filename":"file1"},{"photo_id":"1402019781","filename":"file0"},{"photo_id":"1402019785","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019785":["hashtag1","hashtag2"]},{"1402019781":["hashtag1","hashtag2"]},{"1402019784":["hashtag1","hashtag2"]},{"1402019783":["hashtag1","hashtag2"]},{"1402019786":["hashtag1","hashtag2"]},{"1402019789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019785, 1402019781, 1402019784, 1402019783, 1402019786, 1402019789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28923153877258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:29:41.982339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_25_2689.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_28_2671.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_32_3606.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_34_2508.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_37_2620.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_47_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_25_2689.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_28_2671.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_32_3606.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_34_2508.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_37_2620.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_47_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019810","1402019807","1402019809","1402019811","1402019795","1402019808"],"photo_ids_order":["1402019795","1402019807","1402019808","1402019809","1402019810","1402019811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/393f379a52578a6a46aab7cd48ea9a3e.jpg","text":"TemporaryFile(/tmp/multipartBody4359624587130741245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270643817,"filename":"image_04112025_17_03_37_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d24b3ba7675435f369cd87d3774181e0.jpg","text":"TemporaryFile(/tmp/multipartBody2766594884788019160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270643817,"filename":"image_04112025_17_03_28_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c3d28efbd308662b01215570db9aae8.jpg","text":"TemporaryFile(/tmp/multipartBody3354596833566962088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270643817,"filename":"image_04112025_17_03_34_2508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b19bbfb37985fb3d3fcb38115920d4a9.jpg","text":"TemporaryFile(/tmp/multipartBody2962611665325408820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270643817,"filename":"image_04112025_17_03_47_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e064a5016731626a798141b0b6232803.jpg","text":"TemporaryFile(/tmp/multipartBody4184633442391423542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270643817,"filename":"image_04112025_17_03_25_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d91e984d43573bca41c4e5914878c5c4.jpg","text":"TemporaryFile(/tmp/multipartBody252035099850829347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270643817,"filename":"image_04112025_17_03_32_3606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019808","file1":"1402019807","file0":"1402019795","file4":"1402019810","file5":"1402019811","file3":"1402019809"},"map_files_photo_id_array":[{"photo_id":"1402019811","filename":"file5"},{"photo_id":"1402019808","filename":"file2"},{"photo_id":"1402019810","filename":"file4"},{"photo_id":"1402019807","filename":"file1"},{"photo_id":"1402019795","filename":"file0"},{"photo_id":"1402019809","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019810":["hashtag1","hashtag2"]},{"1402019807":["hashtag1","hashtag2"]},{"1402019809":["hashtag1","hashtag2"]},{"1402019811":["hashtag1","hashtag2"]},{"1402019795":["hashtag1","hashtag2"]},{"1402019808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019810, 1402019807, 1402019809, 1402019811, 1402019795, 1402019808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.779165267944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:30:22.189792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_34_9856.jpg', '/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_44_9690.jpg', '/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_55_10682.jpg', '/home/pi/Desktop/images/01012026/11/47/image_01012026_11_48_05_9714.jpg', '/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_15_9949.jpg', '/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_24_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_34_9856.jpg
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_44_9690.jpg
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_55_10682.jpg
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_48_05_9714.jpg
/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_15_9949.jpg
/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_24_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.6033225059509277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:30:32.254902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_48_1585.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_50_1545.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_51_1646.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_53_1659.jpg', '/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_56_2659.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_01_5700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_48_1585.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_50_1545.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_51_1646.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_53_1659.jpg
/home/pi/Desktop/images/04112025/17/03/image_04112025_17_03_56_2659.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_01_5700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019822","1402019825","1402019819","1402019830","1402019827","1402019829"],"photo_ids_order":["1402019819","1402019822","1402019825","1402019827","1402019829","1402019830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e684f980c4de77929bbb8c61614102a.jpg","text":"TemporaryFile(/tmp/multipartBody2552118745455787033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270694085,"filename":"image_04112025_17_03_50_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a7a3efdf0a4f5d8bcb00c29da53f1f3.jpg","text":"TemporaryFile(/tmp/multipartBody7011463095357932562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270694085,"filename":"image_04112025_17_03_51_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5faf4e290e9e74d727f12bb2a49723f2.jpg","text":"TemporaryFile(/tmp/multipartBody6581908598166584946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270694085,"filename":"image_04112025_17_03_48_1585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9cfd65d3f168fe1f049745a50acccd2.jpg","text":"TemporaryFile(/tmp/multipartBody6360120517752183919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270694085,"filename":"image_04112025_17_04_01_5700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8952a3a8594dce9a6bfc75d5d104cbc9.jpg","text":"TemporaryFile(/tmp/multipartBody9104325496890836917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270694085,"filename":"image_04112025_17_03_53_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aee0a8fd2d771cf9fc5ad78f7c4cc489.jpg","text":"TemporaryFile(/tmp/multipartBody2294201570716621636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270694085,"filename":"image_04112025_17_03_56_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019825","file1":"1402019822","file0":"1402019819","file4":"1402019829","file5":"1402019830","file3":"1402019827"},"map_files_photo_id_array":[{"photo_id":"1402019830","filename":"file5"},{"photo_id":"1402019825","filename":"file2"},{"photo_id":"1402019829","filename":"file4"},{"photo_id":"1402019822","filename":"file1"},{"photo_id":"1402019819","filename":"file0"},{"photo_id":"1402019827","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019822":["hashtag1","hashtag2"]},{"1402019825":["hashtag1","hashtag2"]},{"1402019819":["hashtag1","hashtag2"]},{"1402019830":["hashtag1","hashtag2"]},{"1402019827":["hashtag1","hashtag2"]},{"1402019829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019822, 1402019825, 1402019819, 1402019830, 1402019827, 1402019829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18267750740051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:31:12.475295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_09_7716.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_11_1581.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_21_10167.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_22_1562.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_24_1664.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_26_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_09_7716.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_11_1581.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_21_10167.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_22_1562.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_24_1664.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_26_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":["1402019840","1402019834","1402019833","1402019836","1402019838","1402019832"],"photo_ids_order":["1402019832","1402019833","1402019834","1402019836","1402019838","1402019840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4855cbf55f050be721ff03ce4dedfe9.jpg","text":"TemporaryFile(/tmp/multipartBody5190524701891657384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270734228,"filename":"image_04112025_17_04_26_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7fa66901f9db62614db0eb55db4610d.jpg","text":"TemporaryFile(/tmp/multipartBody959165801625320159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270734228,"filename":"image_04112025_17_04_21_10167.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0da993a0e7fd4322ecac11407a96125a.jpg","text":"TemporaryFile(/tmp/multipartBody5232202764952880843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270734228,"filename":"image_04112025_17_04_11_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33bd8d1afac2d1304674ead3f77bb9bf.jpg","text":"TemporaryFile(/tmp/multipartBody2683286576365281179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270734228,"filename":"image_04112025_17_04_22_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/faaf00a3203f943d11348ec53a75a0c7.jpg","text":"TemporaryFile(/tmp/multipartBody5049060422226012889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270734228,"filename":"image_04112025_17_04_24_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2f8582770e442cb4e3c88282e8c4592.jpg","text":"TemporaryFile(/tmp/multipartBody8970724995723402963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270734228,"filename":"image_04112025_17_04_09_7716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019834","file1":"1402019833","file0":"1402019832","file4":"1402019838","file5":"1402019840","file3":"1402019836"},"map_files_photo_id_array":[{"photo_id":"1402019840","filename":"file5"},{"photo_id":"1402019834","filename":"file2"},{"photo_id":"1402019838","filename":"file4"},{"photo_id":"1402019833","filename":"file1"},{"photo_id":"1402019832","filename":"file0"},{"photo_id":"1402019836","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019840":["hashtag1","hashtag2"]},{"1402019834":["hashtag1","hashtag2"]},{"1402019833":["hashtag1","hashtag2"]},{"1402019836":["hashtag1","hashtag2"]},{"1402019838":["hashtag1","hashtag2"]},{"1402019832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019840, 1402019834, 1402019833, 1402019836, 1402019838, 1402019832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.980287313461304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:32:02.922326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_34_9856.jpg', '/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_44_9690.jpg', '/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_55_10682.jpg', '/home/pi/Desktop/images/01012026/11/47/image_01012026_11_48_05_9714.jpg', '/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_15_9949.jpg', '/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_24_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_34_9856.jpg
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_44_9690.jpg
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_47_55_10682.jpg
/home/pi/Desktop/images/01012026/11/47/image_01012026_11_48_05_9714.jpg
/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_15_9949.jpg
/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_24_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":["1402019845","1402019848","1402019850","1402019844","1402019847","1402019846"],"photo_ids_order":["1402019844","1402019845","1402019846","1402019847","1402019848","1402019850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39203d0c2e83bb26dcff1b5ae4afaae5.jpg","text":"TemporaryFile(/tmp/multipartBody2395902192568316245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270783722,"filename":"image_01012026_11_47_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f4a12a456a578f98ea63f7ec41c5069.jpg","text":"TemporaryFile(/tmp/multipartBody441257090539164460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270783722,"filename":"image_01012026_11_48_15_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5d174daa251d96fafd221e883bccf75.jpg","text":"TemporaryFile(/tmp/multipartBody2547610952287875248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270783722,"filename":"image_01012026_11_48_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3ed9f826a969e55e3f8c0b12252499a.jpg","text":"TemporaryFile(/tmp/multipartBody5643100271987330220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270783722,"filename":"image_01012026_11_47_34_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da1af3bf666729bb3b42d6a7d585ed75.jpg","text":"TemporaryFile(/tmp/multipartBody7257396120729643365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270783722,"filename":"image_01012026_11_48_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7855a96532bbd6899b943165517d79a.jpg","text":"TemporaryFile(/tmp/multipartBody4813513650718811624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270783722,"filename":"image_01012026_11_47_55_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019846","file1":"1402019845","file0":"1402019844","file4":"1402019848","file5":"1402019850","file3":"1402019847"},"map_files_photo_id_array":[{"photo_id":"1402019850","filename":"file5"},{"photo_id":"1402019846","filename":"file2"},{"photo_id":"1402019848","filename":"file4"},{"photo_id":"1402019845","filename":"file1"},{"photo_id":"1402019844","filename":"file0"},{"photo_id":"1402019847","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019845":["hashtag1","hashtag2"]},{"1402019848":["hashtag1","hashtag2"]},{"1402019850":["hashtag1","hashtag2"]},{"1402019844":["hashtag1","hashtag2"]},{"1402019847":["hashtag1","hashtag2"]},{"1402019846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019845, 1402019848, 1402019850, 1402019844, 1402019847, 1402019846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73282861709595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:32:42.538909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_27_1537.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_29_1586.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_31_1645.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_32_1657.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_34_1693.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_36_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_27_1537.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_29_1586.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_31_1645.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_32_1657.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_34_1693.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_36_1631.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.7067744731903076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:33:03.427304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_34_9743.jpg', '/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_45_10780.jpg', '/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_54_9607.jpg', '/home/pi/Desktop/images/01012026/11/48/image_01012026_11_49_04_9812.jpg', '/home/pi/Desktop/images/01012026/11/49/image_01012026_11_49_15_10570.jpg', '/home/pi/Desktop/images/01012026/11/49/image_01012026_11_49_34_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_34_9743.jpg
/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_45_10780.jpg
/home/pi/Desktop/images/01012026/11/48/image_01012026_11_48_54_9607.jpg
/home/pi/Desktop/images/01012026/11/48/image_01012026_11_49_04_9812.jpg
/home/pi/Desktop/images/01012026/11/49/image_01012026_11_49_15_10570.jpg
/home/pi/Desktop/images/01012026/11/49/image_01012026_11_49_34_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":["1402019872","1402019871","1402019874","1402019876","1402019870","1402019873"],"photo_ids_order":["1402019870","1402019871","1402019872","1402019873","1402019874","1402019876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cab1df63824282173a0ab97d99c2e7b.jpg","text":"TemporaryFile(/tmp/multipartBody5230274230313697232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270844274,"filename":"image_01012026_11_48_54_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/008d9b61f67eb18af472b216a07bed0e.jpg","text":"TemporaryFile(/tmp/multipartBody3550139899670020500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270844274,"filename":"image_01012026_11_48_45_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34ffbb8821e5ff4cde14196f2c926699.jpg","text":"TemporaryFile(/tmp/multipartBody5773120599363788857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270844274,"filename":"image_01012026_11_49_15_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d6b5ca131bb58fe5b388442941cae78.jpg","text":"TemporaryFile(/tmp/multipartBody8694903455170971333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270844274,"filename":"image_01012026_11_49_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8fb8166fe623f7ef7fbea26706c351e.jpg","text":"TemporaryFile(/tmp/multipartBody9120572520922127801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270844274,"filename":"image_01012026_11_48_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be04b8cf52e694763aee9841ec953bda.jpg","text":"TemporaryFile(/tmp/multipartBody4195295616238785590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270844274,"filename":"image_01012026_11_49_04_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019872","file1":"1402019871","file0":"1402019870","file4":"1402019874","file5":"1402019876","file3":"1402019873"},"map_files_photo_id_array":[{"photo_id":"1402019876","filename":"file5"},{"photo_id":"1402019872","filename":"file2"},{"photo_id":"1402019874","filename":"file4"},{"photo_id":"1402019871","filename":"file1"},{"photo_id":"1402019870","filename":"file0"},{"photo_id":"1402019873","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019872":["hashtag1","hashtag2"]},{"1402019871":["hashtag1","hashtag2"]},{"1402019874":["hashtag1","hashtag2"]},{"1402019876":["hashtag1","hashtag2"]},{"1402019870":["hashtag1","hashtag2"]},{"1402019873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019872, 1402019871, 1402019874, 1402019876, 1402019870, 1402019873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.768150091171265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:33:42.692677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_27_1537.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_29_1586.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_31_1645.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_32_1657.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_34_1693.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_36_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_27_1537.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_29_1586.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_31_1645.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_32_1657.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_34_1693.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_36_1631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019887","1402019884","1402019886","1402019883","1402019882","1402019885"],"photo_ids_order":["1402019882","1402019883","1402019884","1402019885","1402019886","1402019887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10cf4ddbd0cad9dcbf6279215214c1f9.jpg","text":"TemporaryFile(/tmp/multipartBody4086734359815963728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270884411,"filename":"image_04112025_17_04_36_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab15255c169a4d2513758cdd85e82901.jpg","text":"TemporaryFile(/tmp/multipartBody6052655182165840540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270884411,"filename":"image_04112025_17_04_31_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae153a96ab0cf84f2255ca7e2df59cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4466449807186979100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270884411,"filename":"image_04112025_17_04_34_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e32a45e478dea3400f89b27bfc5887a.jpg","text":"TemporaryFile(/tmp/multipartBody2463271464236794560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270884411,"filename":"image_04112025_17_04_29_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec99c9340176ee14f40687035da757fd.jpg","text":"TemporaryFile(/tmp/multipartBody4241162537337900756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270884411,"filename":"image_04112025_17_04_27_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb501aaf70b0b703afcd9e18ef3a6cc3.jpg","text":"TemporaryFile(/tmp/multipartBody7124162620534525879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270884411,"filename":"image_04112025_17_04_32_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019884","file1":"1402019883","file0":"1402019882","file4":"1402019886","file5":"1402019887","file3":"1402019885"},"map_files_photo_id_array":[{"photo_id":"1402019887","filename":"file5"},{"photo_id":"1402019884","filename":"file2"},{"photo_id":"1402019886","filename":"file4"},{"photo_id":"1402019883","filename":"file1"},{"photo_id":"1402019882","filename":"file0"},{"photo_id":"1402019885","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019887":["hashtag1","hashtag2"]},{"1402019884":["hashtag1","hashtag2"]},{"1402019886":["hashtag1","hashtag2"]},{"1402019883":["hashtag1","hashtag2"]},{"1402019882":["hashtag1","hashtag2"]},{"1402019885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019887, 1402019884, 1402019886, 1402019883, 1402019882, 1402019885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.467928647994995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:34:21.897743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/49/image_01012026_11_49_55_9755.jpg', '/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_15_10053.jpg', '/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_25_10687.jpg', '/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_35_9763.jpg', '/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_45_9764.jpg', '/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_56_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/49/image_01012026_11_49_55_9755.jpg
/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_15_10053.jpg
/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_25_10687.jpg
/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_35_9763.jpg
/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_45_9764.jpg
/home/pi/Desktop/images/01012026/11/50/image_01012026_11_50_56_10689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019893","1402019896","1402019899","1402019890","1402019897","1402019891"],"photo_ids_order":["1402019890","1402019891","1402019893","1402019896","1402019897","1402019899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/317fa522c95b0643ef679028f353b898.jpg","text":"TemporaryFile(/tmp/multipartBody67308631814981623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270922607,"filename":"image_01012026_11_50_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ca6eb598455d58839169ee5bdb3b452.jpg","text":"TemporaryFile(/tmp/multipartBody7571275264607260687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270922607,"filename":"image_01012026_11_50_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/873bfe74bc8744665792ed6244aa1054.jpg","text":"TemporaryFile(/tmp/multipartBody765657778387923050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270922607,"filename":"image_01012026_11_50_56_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd25beceed9c665d124a3bf22d8ff38c.jpg","text":"TemporaryFile(/tmp/multipartBody952692955186423582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270922607,"filename":"image_01012026_11_49_55_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1882c189c96728c1083dfeee96edb0a.jpg","text":"TemporaryFile(/tmp/multipartBody5199231417931490671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270922607,"filename":"image_01012026_11_50_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3746b38024a8832db902899399000383.jpg","text":"TemporaryFile(/tmp/multipartBody1472092746874207340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270922607,"filename":"image_01012026_11_50_15_10053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019893","file1":"1402019891","file0":"1402019890","file4":"1402019897","file5":"1402019899","file3":"1402019896"},"map_files_photo_id_array":[{"photo_id":"1402019899","filename":"file5"},{"photo_id":"1402019893","filename":"file2"},{"photo_id":"1402019897","filename":"file4"},{"photo_id":"1402019891","filename":"file1"},{"photo_id":"1402019890","filename":"file0"},{"photo_id":"1402019896","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019893":["hashtag1","hashtag2"]},{"1402019896":["hashtag1","hashtag2"]},{"1402019899":["hashtag1","hashtag2"]},{"1402019890":["hashtag1","hashtag2"]},{"1402019897":["hashtag1","hashtag2"]},{"1402019891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019893, 1402019896, 1402019899, 1402019890, 1402019897, 1402019891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15675926208496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:35:02.773744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/50/image_01012026_11_51_05_9789.jpg', '/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_15_9648.jpg', '/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_25_9689.jpg', '/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_35_10109.jpg', '/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_45_9815.jpg', '/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_55_10811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/50/image_01012026_11_51_05_9789.jpg
/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_15_9648.jpg
/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_25_9689.jpg
/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_35_10109.jpg
/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_45_9815.jpg
/home/pi/Desktop/images/01012026/11/51/image_01012026_11_51_55_10811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019903","1402019905","1402019902","1402019904","1402019907","1402019901"],"photo_ids_order":["1402019901","1402019902","1402019903","1402019904","1402019905","1402019907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e52c08386be3d96312fb18353790c0d9.jpg","text":"TemporaryFile(/tmp/multipartBody5109553716777711688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270963542,"filename":"image_01012026_11_51_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84ab31393bc8d64c7565165b966a2f45.jpg","text":"TemporaryFile(/tmp/multipartBody891425426335726704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270963542,"filename":"image_01012026_11_51_45_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78ba7c52d22bf59af71762f4a58186ad.jpg","text":"TemporaryFile(/tmp/multipartBody4041293566455056832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270963542,"filename":"image_01012026_11_51_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b02e3876e519b32ef21255fcb761361.jpg","text":"TemporaryFile(/tmp/multipartBody1013339556444362374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270963542,"filename":"image_01012026_11_51_35_10109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9f77e495cac9f881b27bbdf7c570f78.jpg","text":"TemporaryFile(/tmp/multipartBody1154262747129746292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270963542,"filename":"image_01012026_11_51_55_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d25986e9b97c904e56dd8d853dc0863.jpg","text":"TemporaryFile(/tmp/multipartBody6978094696942817811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767270963542,"filename":"image_01012026_11_51_05_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019903","file1":"1402019902","file0":"1402019901","file4":"1402019905","file5":"1402019907","file3":"1402019904"},"map_files_photo_id_array":[{"photo_id":"1402019907","filename":"file5"},{"photo_id":"1402019903","filename":"file2"},{"photo_id":"1402019905","filename":"file4"},{"photo_id":"1402019902","filename":"file1"},{"photo_id":"1402019901","filename":"file0"},{"photo_id":"1402019904","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019903":["hashtag1","hashtag2"]},{"1402019905":["hashtag1","hashtag2"]},{"1402019902":["hashtag1","hashtag2"]},{"1402019904":["hashtag1","hashtag2"]},{"1402019907":["hashtag1","hashtag2"]},{"1402019901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019903, 1402019905, 1402019902, 1402019904, 1402019907, 1402019901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6519455909729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:35:42.036234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_37_1614.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_40_2630.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_43_3626.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_48_4609.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_50_1664.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_52_2607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_37_1614.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_40_2630.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_43_3626.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_48_4609.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_50_1664.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_52_2607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019924","1402019923","1402019926","1402019911","1402019914","1402019925"],"photo_ids_order":["1402019911","1402019914","1402019923","1402019924","1402019925","1402019926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/901e5223834713959879622f13daa6be.jpg","text":"TemporaryFile(/tmp/multipartBody1787513138715720438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271003861,"filename":"image_04112025_17_04_48_4609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79eb5a1cf04a2019db18997b01944c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8043225830283323639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271003861,"filename":"image_04112025_17_04_43_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f531f2b2faebc3f85ce87409aa00b55.jpg","text":"TemporaryFile(/tmp/multipartBody1509824188375982238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271003861,"filename":"image_04112025_17_04_52_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a235413c3f630d104e00f07cf82ec00.jpg","text":"TemporaryFile(/tmp/multipartBody7194485392087724011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271003861,"filename":"image_04112025_17_04_37_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81a0ab532febb54002c76e0c4123c317.jpg","text":"TemporaryFile(/tmp/multipartBody8635248758376666970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271003861,"filename":"image_04112025_17_04_40_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6564db5ddecefb30db9da56666486c7.jpg","text":"TemporaryFile(/tmp/multipartBody7257469235296845368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271003861,"filename":"image_04112025_17_04_50_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019923","file1":"1402019914","file0":"1402019911","file4":"1402019925","file5":"1402019926","file3":"1402019924"},"map_files_photo_id_array":[{"photo_id":"1402019926","filename":"file5"},{"photo_id":"1402019923","filename":"file2"},{"photo_id":"1402019925","filename":"file4"},{"photo_id":"1402019914","filename":"file1"},{"photo_id":"1402019911","filename":"file0"},{"photo_id":"1402019924","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019924":["hashtag1","hashtag2"]},{"1402019923":["hashtag1","hashtag2"]},{"1402019926":["hashtag1","hashtag2"]},{"1402019911":["hashtag1","hashtag2"]},{"1402019914":["hashtag1","hashtag2"]},{"1402019925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019924, 1402019923, 1402019926, 1402019911, 1402019914, 1402019925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62613248825073 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:36:22.210754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/51/image_01012026_11_52_05_9709.jpg', '/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_15_9873.jpg', '/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_25_9756.jpg', '/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_36_10770.jpg', '/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_45_9705.jpg', '/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_55_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/51/image_01012026_11_52_05_9709.jpg
/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_15_9873.jpg
/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_25_9756.jpg
/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_36_10770.jpg
/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_45_9705.jpg
/home/pi/Desktop/images/01012026/11/52/image_01012026_11_52_55_9813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019933","1402019938","1402019935","1402019929","1402019928","1402019931"],"photo_ids_order":["1402019928","1402019929","1402019931","1402019933","1402019935","1402019938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/025c972076115a97c40b32a9cef15f3f.jpg","text":"TemporaryFile(/tmp/multipartBody5094143367258638144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271042913,"filename":"image_01012026_11_52_36_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed95a16a571174b7e17d097d3e5a2fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3098380965543442498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271042913,"filename":"image_01012026_11_52_55_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5de6a835f98fbfdaf724f7733fdd9a2.jpg","text":"TemporaryFile(/tmp/multipartBody264751614880490607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271042913,"filename":"image_01012026_11_52_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3c1d041bac7a442b36b40bd3d4a334e.jpg","text":"TemporaryFile(/tmp/multipartBody1280168245814844378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271042913,"filename":"image_01012026_11_52_15_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8cdf802e1d62cbb818e7de96738d2091.jpg","text":"TemporaryFile(/tmp/multipartBody8592696732760352219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271042913,"filename":"image_01012026_11_52_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ccf57a786baccb5847c63cfea42e0ff.jpg","text":"TemporaryFile(/tmp/multipartBody5942850097447290311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271042913,"filename":"image_01012026_11_52_25_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019931","file1":"1402019929","file0":"1402019928","file4":"1402019935","file5":"1402019938","file3":"1402019933"},"map_files_photo_id_array":[{"photo_id":"1402019938","filename":"file5"},{"photo_id":"1402019931","filename":"file2"},{"photo_id":"1402019935","filename":"file4"},{"photo_id":"1402019929","filename":"file1"},{"photo_id":"1402019928","filename":"file0"},{"photo_id":"1402019933","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019933":["hashtag1","hashtag2"]},{"1402019938":["hashtag1","hashtag2"]},{"1402019935":["hashtag1","hashtag2"]},{"1402019929":["hashtag1","hashtag2"]},{"1402019928":["hashtag1","hashtag2"]},{"1402019931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019933, 1402019938, 1402019935, 1402019929, 1402019928, 1402019931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75998306274414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:37:03.097514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/52/image_01012026_11_53_05_9806.jpg', '/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_16_10727.jpg', '/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_25_9861.jpg', '/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_35_9913.jpg', '/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_45_9885.jpg', '/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_55_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/52/image_01012026_11_53_05_9806.jpg
/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_16_10727.jpg
/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_25_9861.jpg
/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_35_9913.jpg
/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_45_9885.jpg
/home/pi/Desktop/images/01012026/11/53/image_01012026_11_53_55_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019942","1402019941","1402019940","1402019943","1402019945","1402019939"],"photo_ids_order":["1402019939","1402019940","1402019941","1402019942","1402019943","1402019945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d912d3c8aea7bae5e278d4516b4c3462.jpg","text":"TemporaryFile(/tmp/multipartBody8333620223676269245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271083930,"filename":"image_01012026_11_53_35_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c426954247743796d59857178409a11a.jpg","text":"TemporaryFile(/tmp/multipartBody776842706182814464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271083930,"filename":"image_01012026_11_53_25_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7782a22d1751d68fd2ffd51b7e9fef5b.jpg","text":"TemporaryFile(/tmp/multipartBody3444552874714218360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271083930,"filename":"image_01012026_11_53_16_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3ee865ebb2ee3b9f877a947ffb83752.jpg","text":"TemporaryFile(/tmp/multipartBody2149630220483705338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271083930,"filename":"image_01012026_11_53_45_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31bb0296cb411e1ea9b27b4fa0870adb.jpg","text":"TemporaryFile(/tmp/multipartBody5629464166491514004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271083930,"filename":"image_01012026_11_53_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f59c914db95e7fd16f8b6879654d11f.jpg","text":"TemporaryFile(/tmp/multipartBody8308546995062376575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271083930,"filename":"image_01012026_11_53_05_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019941","file1":"1402019940","file0":"1402019939","file4":"1402019943","file5":"1402019945","file3":"1402019942"},"map_files_photo_id_array":[{"photo_id":"1402019945","filename":"file5"},{"photo_id":"1402019941","filename":"file2"},{"photo_id":"1402019943","filename":"file4"},{"photo_id":"1402019940","filename":"file1"},{"photo_id":"1402019939","filename":"file0"},{"photo_id":"1402019942","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019942":["hashtag1","hashtag2"]},{"1402019941":["hashtag1","hashtag2"]},{"1402019940":["hashtag1","hashtag2"]},{"1402019943":["hashtag1","hashtag2"]},{"1402019945":["hashtag1","hashtag2"]},{"1402019939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019942, 1402019941, 1402019940, 1402019943, 1402019945, 1402019939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.958017349243164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:37:42.497757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_55_2612.jpg', '/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_58_2826.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_07_3011.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_16_9389.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_18_1624.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_20_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_55_2612.jpg
/home/pi/Desktop/images/04112025/17/04/image_04112025_17_04_58_2826.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_07_3011.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_16_9389.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_18_1624.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_20_1652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019954","1402019956","1402019953","1402019952","1402019955","1402019951"],"photo_ids_order":["1402019951","1402019952","1402019953","1402019954","1402019955","1402019956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c2a31e4ca841b198db2fd7271982d04.jpg","text":"TemporaryFile(/tmp/multipartBody2239889536039325484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271124359,"filename":"image_04112025_17_05_16_9389.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a3214275eda753825976c25e484d8b6.jpg","text":"TemporaryFile(/tmp/multipartBody520137626864665516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271124359,"filename":"image_04112025_17_05_20_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25427cb3b217ff1e7dad2c07dd1bfc09.jpg","text":"TemporaryFile(/tmp/multipartBody7329576965342275212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271124359,"filename":"image_04112025_17_05_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc2953791f04819f3ad2b9d485563365.jpg","text":"TemporaryFile(/tmp/multipartBody4265850153512448761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271124359,"filename":"image_04112025_17_04_58_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/210a9d500eec7e05049530a9861c86b9.jpg","text":"TemporaryFile(/tmp/multipartBody7239918981545044009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271124359,"filename":"image_04112025_17_05_18_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06290c176e0d7509111a8f0ca5a15eb0.jpg","text":"TemporaryFile(/tmp/multipartBody4585171215076866397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271124359,"filename":"image_04112025_17_04_55_2612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019953","file1":"1402019952","file0":"1402019951","file4":"1402019955","file5":"1402019956","file3":"1402019954"},"map_files_photo_id_array":[{"photo_id":"1402019956","filename":"file5"},{"photo_id":"1402019953","filename":"file2"},{"photo_id":"1402019955","filename":"file4"},{"photo_id":"1402019952","filename":"file1"},{"photo_id":"1402019951","filename":"file0"},{"photo_id":"1402019954","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402019954":["hashtag1","hashtag2"]},{"1402019956":["hashtag1","hashtag2"]},{"1402019953":["hashtag1","hashtag2"]},{"1402019952":["hashtag1","hashtag2"]},{"1402019955":["hashtag1","hashtag2"]},{"1402019951":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402019954, 1402019956, 1402019953, 1402019952, 1402019955, 1402019951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.990047454833984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:38:22.695625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/53/image_01012026_11_54_06_10609.jpg', '/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_15_9720.jpg', '/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_25_9718.jpg', '/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_35_9764.jpg', '/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_46_10755.jpg', '/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_55_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/53/image_01012026_11_54_06_10609.jpg
/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_15_9720.jpg
/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_25_9718.jpg
/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_35_9764.jpg
/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_46_10755.jpg
/home/pi/Desktop/images/01012026/11/54/image_01012026_11_54_55_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402019969","1402019965","1402019959","1402019967","1402019961","1402019963"],"photo_ids_order":["1402019959","1402019961","1402019963","1402019965","1402019967","1402019969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f544fadf5b4133e1d2048d0a62a5583c.jpg","text":"TemporaryFile(/tmp/multipartBody1497901027697579502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271163401,"filename":"image_01012026_11_54_55_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f35294ef20c60e7ad79f5a5747a98f9.jpg","text":"TemporaryFile(/tmp/multipartBody5470954786065349264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271163401,"filename":"image_01012026_11_54_35_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5377484a1faedf43cf1d0ab098982511.jpg","text":"TemporaryFile(/tmp/multipartBody6902203462045092882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271163401,"filename":"image_01012026_11_54_06_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe5d350637880753ad83c2fea1eef7bf.jpg","text":"TemporaryFile(/tmp/multipartBody1372359279690536878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271163401,"filename":"image_01012026_11_54_46_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96a0239213fede0cb13af7feb55b4cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5340757785631429706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271163401,"filename":"image_01012026_11_54_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb300f9132a3694b12a7ac7633a66b39.jpg","text":"TemporaryFile(/tmp/multipartBody6712910943775520576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271163401,"filename":"image_01012026_11_54_25_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019963","file1":"1402019961","file0":"1402019959","file4":"1402019967","file5":"1402019969","file3":"1402019965"},"map_files_photo_id_array":[{"photo_id":"1402019969","filename":"file5"},{"photo_id":"1402019963","filename":"file2"},{"photo_id":"1402019967","filename":"file4"},{"photo_id":"1402019961","filename":"file1"},{"photo_id":"1402019959","filename":"file0"},{"photo_id":"1402019965","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019969":["hashtag1","hashtag2"]},{"1402019965":["hashtag1","hashtag2"]},{"1402019959":["hashtag1","hashtag2"]},{"1402019967":["hashtag1","hashtag2"]},{"1402019961":["hashtag1","hashtag2"]},{"1402019963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019969, 1402019965, 1402019959, 1402019967, 1402019961, 1402019963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00053572654724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:39:02.880105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_14_10057.jpg', '/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_25_10687.jpg', '/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_34_9636.jpg', '/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_44_9686.jpg', '/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_55_10719.jpg', '/home/pi/Desktop/images/01012026/11/55/image_01012026_11_56_05_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_14_10057.jpg
/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_25_10687.jpg
/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_34_9636.jpg
/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_44_9686.jpg
/home/pi/Desktop/images/01012026/11/55/image_01012026_11_55_55_10719.jpg
/home/pi/Desktop/images/01012026/11/55/image_01012026_11_56_05_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":["1402019986","1402019983","1402019982","1402019985","1402019988","1402019981"],"photo_ids_order":["1402019981","1402019982","1402019983","1402019985","1402019986","1402019988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc1f5d3d7f88d789f580f15f1a8c3b70.jpg","text":"TemporaryFile(/tmp/multipartBody2616881220869357326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271203761,"filename":"image_01012026_11_55_55_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36eb53b58888f6f6a16045522ed7d724.jpg","text":"TemporaryFile(/tmp/multipartBody8701780690768286949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271203761,"filename":"image_01012026_11_55_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5809c426d10e9635d8eee9de70e52bf3.jpg","text":"TemporaryFile(/tmp/multipartBody4326247738679769747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271203761,"filename":"image_01012026_11_55_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac0d34b9bf1bca78f47fb216bcebdac0.jpg","text":"TemporaryFile(/tmp/multipartBody3521199719069549294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271203761,"filename":"image_01012026_11_55_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c49028e41985ae5c9cd152c390d3a075.jpg","text":"TemporaryFile(/tmp/multipartBody5179491354575030987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271203761,"filename":"image_01012026_11_56_05_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c761444b10d58b52409680cd87a8c6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7717625969346935762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271203761,"filename":"image_01012026_11_55_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402019983","file1":"1402019982","file0":"1402019981","file4":"1402019986","file5":"1402019988","file3":"1402019985"},"map_files_photo_id_array":[{"photo_id":"1402019988","filename":"file5"},{"photo_id":"1402019983","filename":"file2"},{"photo_id":"1402019986","filename":"file4"},{"photo_id":"1402019982","filename":"file1"},{"photo_id":"1402019981","filename":"file0"},{"photo_id":"1402019985","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402019986":["hashtag1","hashtag2"]},{"1402019983":["hashtag1","hashtag2"]},{"1402019982":["hashtag1","hashtag2"]},{"1402019985":["hashtag1","hashtag2"]},{"1402019988":["hashtag1","hashtag2"]},{"1402019981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402019986, 1402019983, 1402019982, 1402019985, 1402019988, 1402019981)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.976452350616455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:40:02.995452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_14_9609.jpg', '/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_35_9737.jpg', '/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_44_9674.jpg', '/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_55_10703.jpg', '/home/pi/Desktop/images/01012026/11/56/image_01012026_11_57_05_9725.jpg', '/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_15_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_14_9609.jpg
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_35_9737.jpg
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_44_9674.jpg
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_55_10703.jpg
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_57_05_9725.jpg
/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_15_9830.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: 3.528219223022461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:40:13.118086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_21_1571.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_23_1623.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_25_2594.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_28_2506.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_31_3554.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_34_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_21_1571.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_23_1623.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_25_2594.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_28_2506.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_31_3554.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_34_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020006","1402019998","1402020008","1402020001","1402020004","1402019996"],"photo_ids_order":["1402019996","1402019998","1402020001","1402020004","1402020006","1402020008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd89b7add379ab3a21ceef6dc2082fe1.jpg","text":"TemporaryFile(/tmp/multipartBody5433277176651701450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271274927,"filename":"image_04112025_17_05_31_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ceb5e170e77f0b9aaa3f3e8d4a9d71b4.jpg","text":"TemporaryFile(/tmp/multipartBody5210780460434056120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271274927,"filename":"image_04112025_17_05_23_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acf09fbadae34da45f1ad2c9e66e0ac0.jpg","text":"TemporaryFile(/tmp/multipartBody5283682859513121661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271274927,"filename":"image_04112025_17_05_34_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85b11e719c2982650d7add5285764482.jpg","text":"TemporaryFile(/tmp/multipartBody6254729450579396132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271274927,"filename":"image_04112025_17_05_25_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/857d1b8cc3c2331315db8d242f5d302e.jpg","text":"TemporaryFile(/tmp/multipartBody5792485127533389083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271274927,"filename":"image_04112025_17_05_28_2506.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da963ed404c3bace399c797cd45c562f.jpg","text":"TemporaryFile(/tmp/multipartBody4843284137218603628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271274927,"filename":"image_04112025_17_05_21_1571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020001","file1":"1402019998","file0":"1402019996","file4":"1402020006","file5":"1402020008","file3":"1402020004"},"map_files_photo_id_array":[{"photo_id":"1402020008","filename":"file5"},{"photo_id":"1402020001","filename":"file2"},{"photo_id":"1402020006","filename":"file4"},{"photo_id":"1402019998","filename":"file1"},{"photo_id":"1402019996","filename":"file0"},{"photo_id":"1402020004","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020006":["hashtag1","hashtag2"]},{"1402019998":["hashtag1","hashtag2"]},{"1402020008":["hashtag1","hashtag2"]},{"1402020001":["hashtag1","hashtag2"]},{"1402020004":["hashtag1","hashtag2"]},{"1402019996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020006, 1402019998, 1402020008, 1402020001, 1402020004, 1402019996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.39478278160095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:41:02.542756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
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 15
2026-01-01 13:41:23.757656
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_14_9609.jpg', '/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_35_9737.jpg', '/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_44_9674.jpg', '/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_55_10703.jpg', '/home/pi/Desktop/images/01012026/11/56/image_01012026_11_57_05_9725.jpg', '/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_15_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_14_9609.jpg
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_35_9737.jpg
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_44_9674.jpg
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_56_55_10703.jpg
/home/pi/Desktop/images/01012026/11/56/image_01012026_11_57_05_9725.jpg
/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_15_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":["1402020020","1402020034","1402020022","1402020016","1402020024","1402020018"],"photo_ids_order":["1402020016","1402020018","1402020020","1402020022","1402020024","1402020034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98aa84008ed287af47cc218c01abe914.jpg","text":"TemporaryFile(/tmp/multipartBody8255618468971546245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271344507,"filename":"image_01012026_11_56_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b957c846da6537cc956c8fd8a776cae.jpg","text":"TemporaryFile(/tmp/multipartBody8348163582567235363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271344507,"filename":"image_01012026_11_57_15_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8776686e578faefb4f6b0697c169adaa.jpg","text":"TemporaryFile(/tmp/multipartBody3988293310224296148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271344507,"filename":"image_01012026_11_56_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/540a25d214baffca62fd91ffcbee4f1a.jpg","text":"TemporaryFile(/tmp/multipartBody1009578677982376776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271344507,"filename":"image_01012026_11_56_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a7935b7fe2774c9539d94c8b5768aec.jpg","text":"TemporaryFile(/tmp/multipartBody7292423459077377360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271344507,"filename":"image_01012026_11_57_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62e3836f3b81cb042da120291fe85895.jpg","text":"TemporaryFile(/tmp/multipartBody4508083494234744789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271344507,"filename":"image_01012026_11_56_35_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020020","file1":"1402020018","file0":"1402020016","file4":"1402020024","file5":"1402020034","file3":"1402020022"},"map_files_photo_id_array":[{"photo_id":"1402020034","filename":"file5"},{"photo_id":"1402020020","filename":"file2"},{"photo_id":"1402020024","filename":"file4"},{"photo_id":"1402020018","filename":"file1"},{"photo_id":"1402020016","filename":"file0"},{"photo_id":"1402020022","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020020":["hashtag1","hashtag2"]},{"1402020034":["hashtag1","hashtag2"]},{"1402020022":["hashtag1","hashtag2"]},{"1402020016":["hashtag1","hashtag2"]},{"1402020024":["hashtag1","hashtag2"]},{"1402020018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020020, 1402020034, 1402020022, 1402020016, 1402020024, 1402020018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22644591331482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:42:03.229010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_24_9834.jpg', '/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_34_9947.jpg', '/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_45_10747.jpg', '/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_55_9700.jpg', '/home/pi/Desktop/images/01012026/11/57/image_01012026_11_58_05_9767.jpg', '/home/pi/Desktop/images/01012026/11/58/image_01012026_11_58_14_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_24_9834.jpg
/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_34_9947.jpg
/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_45_10747.jpg
/home/pi/Desktop/images/01012026/11/57/image_01012026_11_57_55_9700.jpg
/home/pi/Desktop/images/01012026/11/57/image_01012026_11_58_05_9767.jpg
/home/pi/Desktop/images/01012026/11/58/image_01012026_11_58_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":["1402020038","1402020037","1402020040","1402020042","1402020036","1402020039"],"photo_ids_order":["1402020036","1402020037","1402020038","1402020039","1402020040","1402020042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b346cc15af07e8b8e8e30988fad2f67.jpg","text":"TemporaryFile(/tmp/multipartBody626249484408343594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271387415,"filename":"image_01012026_11_57_45_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e34e000da78fa2877e18eae0da7446b4.jpg","text":"TemporaryFile(/tmp/multipartBody8050547078652587852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271387415,"filename":"image_01012026_11_57_34_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fa4b93f0881e543f264b6ad5e469c7a.jpg","text":"TemporaryFile(/tmp/multipartBody1714569459594864201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271387415,"filename":"image_01012026_11_58_05_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/499b8a0638f9025afab35a1dfce72440.jpg","text":"TemporaryFile(/tmp/multipartBody6133007681773104206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271387415,"filename":"image_01012026_11_58_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/231ca293f933b3dba86f79a378ab5a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7070047200254042433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271387415,"filename":"image_01012026_11_57_24_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4a96d5ad05c16b5c5cc3be1c692f5a7.jpg","text":"TemporaryFile(/tmp/multipartBody1476104558105311511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271387415,"filename":"image_01012026_11_57_55_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020038","file1":"1402020037","file0":"1402020036","file4":"1402020040","file5":"1402020042","file3":"1402020039"},"map_files_photo_id_array":[{"photo_id":"1402020042","filename":"file5"},{"photo_id":"1402020038","filename":"file2"},{"photo_id":"1402020040","filename":"file4"},{"photo_id":"1402020037","filename":"file1"},{"photo_id":"1402020036","filename":"file0"},{"photo_id":"1402020039","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020038":["hashtag1","hashtag2"]},{"1402020037":["hashtag1","hashtag2"]},{"1402020040":["hashtag1","hashtag2"]},{"1402020042":["hashtag1","hashtag2"]},{"1402020036":["hashtag1","hashtag2"]},{"1402020039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020038, 1402020037, 1402020040, 1402020042, 1402020036, 1402020039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.97828674316406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:43:02.511242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 13:43:11.998643
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_37_2668.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_41_3668.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_43_2664.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_47_3537.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_49_2618.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_52_2548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_37_2668.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_41_3668.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_43_2664.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_47_3537.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_49_2618.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_52_2548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020059","1402020061","1402020055","1402020054","1402020063","1402020057"],"photo_ids_order":["1402020054","1402020055","1402020057","1402020059","1402020061","1402020063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d020d4217dca2fca1b77c6a2b11ac71.jpg","text":"TemporaryFile(/tmp/multipartBody8803492980902041614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271453907,"filename":"image_04112025_17_05_47_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0070f1add155ff3346c7e145c7ba2aad.jpg","text":"TemporaryFile(/tmp/multipartBody2940253889952073230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271453907,"filename":"image_04112025_17_05_49_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23365be2a761e3b55e005b0390fea3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5434438966828713021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271453907,"filename":"image_04112025_17_05_41_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/384e693cf5b3a4dc5fc7c53942943143.jpg","text":"TemporaryFile(/tmp/multipartBody3420978831173888302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271453907,"filename":"image_04112025_17_05_37_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/881cd71a0b8e38d5fa11ef99b53c8f2c.jpg","text":"TemporaryFile(/tmp/multipartBody5833643834276450122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271453907,"filename":"image_04112025_17_05_52_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa1045c80cb4255f15729983498efca2.jpg","text":"TemporaryFile(/tmp/multipartBody8381024464339420956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271453907,"filename":"image_04112025_17_05_43_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020057","file1":"1402020055","file0":"1402020054","file4":"1402020061","file5":"1402020063","file3":"1402020059"},"map_files_photo_id_array":[{"photo_id":"1402020063","filename":"file5"},{"photo_id":"1402020057","filename":"file2"},{"photo_id":"1402020061","filename":"file4"},{"photo_id":"1402020055","filename":"file1"},{"photo_id":"1402020054","filename":"file0"},{"photo_id":"1402020059","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020059":["hashtag1","hashtag2"]},{"1402020061":["hashtag1","hashtag2"]},{"1402020055":["hashtag1","hashtag2"]},{"1402020054":["hashtag1","hashtag2"]},{"1402020063":["hashtag1","hashtag2"]},{"1402020057":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020059, 1402020061, 1402020055, 1402020054, 1402020063, 1402020057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.49200177192688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:44:02.565810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 13:44:12.059868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_56_3669.jpg', '/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_58_2613.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_02_3579.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_05_2797.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_07_2779.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_10_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_56_3669.jpg
/home/pi/Desktop/images/04112025/17/05/image_04112025_17_05_58_2613.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_02_3579.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_05_2797.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_07_2779.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_10_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020080","1402020077","1402020071","1402020076","1402020070","1402020072"],"photo_ids_order":["1402020070","1402020071","1402020072","1402020076","1402020077","1402020080"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f3adbc2e82e9c06eba8ff73d4972257.jpg","text":"TemporaryFile(/tmp/multipartBody5939534757098508075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271513974,"filename":"image_04112025_17_06_10_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45802a4fffe3782df061c517febf69aa.jpg","text":"TemporaryFile(/tmp/multipartBody9107194745695663462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271513974,"filename":"image_04112025_17_06_07_2779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09f87b2c1a5d7a72875ccc780e16844e.jpg","text":"TemporaryFile(/tmp/multipartBody1192116682070871169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271513974,"filename":"image_04112025_17_05_58_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc81fac561e9f3231e0299ef2bda1197.jpg","text":"TemporaryFile(/tmp/multipartBody5812577206230085805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271513974,"filename":"image_04112025_17_06_05_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40425332c31f07fe0ce3955073c5b142.jpg","text":"TemporaryFile(/tmp/multipartBody7464941353329343138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271513974,"filename":"image_04112025_17_05_56_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4f89a8a3b9803422f67d07304c060f5.jpg","text":"TemporaryFile(/tmp/multipartBody8906227391381046272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271513974,"filename":"image_04112025_17_06_02_3579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020072","file1":"1402020071","file0":"1402020070","file4":"1402020077","file5":"1402020080","file3":"1402020076"},"map_files_photo_id_array":[{"photo_id":"1402020080","filename":"file5"},{"photo_id":"1402020072","filename":"file2"},{"photo_id":"1402020077","filename":"file4"},{"photo_id":"1402020071","filename":"file1"},{"photo_id":"1402020070","filename":"file0"},{"photo_id":"1402020076","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020080":["hashtag1","hashtag2"]},{"1402020077":["hashtag1","hashtag2"]},{"1402020071":["hashtag1","hashtag2"]},{"1402020076":["hashtag1","hashtag2"]},{"1402020070":["hashtag1","hashtag2"]},{"1402020072":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020080, 1402020077, 1402020071, 1402020076, 1402020070, 1402020072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5177948474884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:45:02.687616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/58/image_01012026_11_58_25_10799.jpg', '/home/pi/Desktop/images/01012026/11/58/image_01012026_11_58_45_9843.jpg', '/home/pi/Desktop/images/01012026/11/58/image_01012026_11_58_55_9711.jpg', '/home/pi/Desktop/images/01012026/11/58/image_01012026_11_59_04_9696.jpg', '/home/pi/Desktop/images/01012026/11/59/image_01012026_11_59_15_10285.jpg', '/home/pi/Desktop/images/01012026/11/59/image_01012026_11_59_24_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/58/image_01012026_11_58_25_10799.jpg
/home/pi/Desktop/images/01012026/11/58/image_01012026_11_58_45_9843.jpg
/home/pi/Desktop/images/01012026/11/58/image_01012026_11_58_55_9711.jpg
/home/pi/Desktop/images/01012026/11/58/image_01012026_11_59_04_9696.jpg
/home/pi/Desktop/images/01012026/11/59/image_01012026_11_59_15_10285.jpg
/home/pi/Desktop/images/01012026/11/59/image_01012026_11_59_24_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":["1402020095","1402020098","1402020097","1402020096","1402020100","1402020093"],"photo_ids_order":["1402020093","1402020095","1402020096","1402020097","1402020098","1402020100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c481a3a19b9f89cb9c28b81545f9cbe1.jpg","text":"TemporaryFile(/tmp/multipartBody7678702644266929751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271563587,"filename":"image_01012026_11_58_45_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d59359f68ca04235864e5756a58dcd56.jpg","text":"TemporaryFile(/tmp/multipartBody7937101800945123996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271563587,"filename":"image_01012026_11_59_15_10285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/deba660fe2181eeda207b22717f894b1.jpg","text":"TemporaryFile(/tmp/multipartBody4613691783188718241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271563587,"filename":"image_01012026_11_59_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78b62a270175c8abba84e2c905014785.jpg","text":"TemporaryFile(/tmp/multipartBody9083018918214213919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271563587,"filename":"image_01012026_11_58_55_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7816dca60cf9bcc52ed1a74ea4588be.jpg","text":"TemporaryFile(/tmp/multipartBody1397841612834759745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271563587,"filename":"image_01012026_11_59_24_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30822743534fe26887fcaad23460f69f.jpg","text":"TemporaryFile(/tmp/multipartBody3561874806324659397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271563587,"filename":"image_01012026_11_58_25_10799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020096","file1":"1402020095","file0":"1402020093","file4":"1402020098","file5":"1402020100","file3":"1402020097"},"map_files_photo_id_array":[{"photo_id":"1402020100","filename":"file5"},{"photo_id":"1402020096","filename":"file2"},{"photo_id":"1402020098","filename":"file4"},{"photo_id":"1402020095","filename":"file1"},{"photo_id":"1402020093","filename":"file0"},{"photo_id":"1402020097","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020095":["hashtag1","hashtag2"]},{"1402020098":["hashtag1","hashtag2"]},{"1402020097":["hashtag1","hashtag2"]},{"1402020096":["hashtag1","hashtag2"]},{"1402020100":["hashtag1","hashtag2"]},{"1402020093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020095, 1402020098, 1402020097, 1402020096, 1402020100, 1402020093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15377616882324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:45:42.051170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_14_3647.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_16_2761.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_19_2661.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_23_3653.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_25_2764.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_28_2700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_14_3647.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_16_2761.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_19_2661.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_23_3653.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_25_2764.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_28_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":["1402020111","1402020108","1402020107","1402020110","1402020106","1402020109"],"photo_ids_order":["1402020106","1402020107","1402020108","1402020109","1402020110","1402020111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47e66e3ef55c23f46095f15a2ab6fe2c.jpg","text":"TemporaryFile(/tmp/multipartBody7988017218931792615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271603838,"filename":"image_04112025_17_06_28_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a9007d0a2b374a8970b3078790baba9.jpg","text":"TemporaryFile(/tmp/multipartBody4033877133957620708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271603838,"filename":"image_04112025_17_06_19_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/673fce4f74d6cc42bb1e95840974824b.jpg","text":"TemporaryFile(/tmp/multipartBody6171341911470272700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271603838,"filename":"image_04112025_17_06_16_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e1b9d630a37ecd735f9672c9799f89a.jpg","text":"TemporaryFile(/tmp/multipartBody2294675222432502456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271603838,"filename":"image_04112025_17_06_25_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbe295ace3eb1b4906cbc7fb3d5d1c49.jpg","text":"TemporaryFile(/tmp/multipartBody1728199901769171175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271603838,"filename":"image_04112025_17_06_14_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4924ead2a89c5d080391f83db8a5850.jpg","text":"TemporaryFile(/tmp/multipartBody22497088198086916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271603838,"filename":"image_04112025_17_06_23_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020108","file1":"1402020107","file0":"1402020106","file4":"1402020110","file5":"1402020111","file3":"1402020109"},"map_files_photo_id_array":[{"photo_id":"1402020111","filename":"file5"},{"photo_id":"1402020108","filename":"file2"},{"photo_id":"1402020110","filename":"file4"},{"photo_id":"1402020107","filename":"file1"},{"photo_id":"1402020106","filename":"file0"},{"photo_id":"1402020109","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020111":["hashtag1","hashtag2"]},{"1402020108":["hashtag1","hashtag2"]},{"1402020107":["hashtag1","hashtag2"]},{"1402020110":["hashtag1","hashtag2"]},{"1402020106":["hashtag1","hashtag2"]},{"1402020109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020111, 1402020108, 1402020107, 1402020110, 1402020106, 1402020109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.239431381225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:46:22.254095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/11/59/image_01012026_11_59_35_10704.jpg', '/home/pi/Desktop/images/01012026/12/00/image_01012026_12_00_15_10051.jpg', '/home/pi/Desktop/images/01012026/12/00/image_01012026_12_00_26_10776.jpg', '/home/pi/Desktop/images/01012026/12/00/image_01012026_12_00_36_9803.jpg', '/home/pi/Desktop/images/01012026/12/00/image_01012026_12_00_45_9734.jpg', '/home/pi/Desktop/images/01012026/12/00/image_01012026_12_01_06_10735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/11/59/image_01012026_11_59_35_10704.jpg
/home/pi/Desktop/images/01012026/12/00/image_01012026_12_00_15_10051.jpg
/home/pi/Desktop/images/01012026/12/00/image_01012026_12_00_26_10776.jpg
/home/pi/Desktop/images/01012026/12/00/image_01012026_12_00_36_9803.jpg
/home/pi/Desktop/images/01012026/12/00/image_01012026_12_00_45_9734.jpg
/home/pi/Desktop/images/01012026/12/00/image_01012026_12_01_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":["1402020116","1402020119","1402020124","1402020112","1402020121","1402020115"],"photo_ids_order":["1402020112","1402020115","1402020116","1402020119","1402020121","1402020124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2339fd29411c92445be225052744998d.jpg","text":"TemporaryFile(/tmp/multipartBody3986579705691018249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271642929,"filename":"image_01012026_12_00_26_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0553980218968b58afd076c9b95aadf5.jpg","text":"TemporaryFile(/tmp/multipartBody5585520762992418924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271642929,"filename":"image_01012026_12_00_36_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7556efa7e4d0446f819b47b9865c83d.jpg","text":"TemporaryFile(/tmp/multipartBody7600322514744511795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271642929,"filename":"image_01012026_12_01_06_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2981a5ece70133a1aacbd5a139518f1.jpg","text":"TemporaryFile(/tmp/multipartBody1088735659955442455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271642929,"filename":"image_01012026_11_59_35_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbc421b90095668d2be3ccbd3b1c549d.jpg","text":"TemporaryFile(/tmp/multipartBody3958588310897870305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271642929,"filename":"image_01012026_12_00_45_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/922a59674e60580660c4d20ea8d30df1.jpg","text":"TemporaryFile(/tmp/multipartBody9087536850708478096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271642929,"filename":"image_01012026_12_00_15_10051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020116","file1":"1402020115","file0":"1402020112","file4":"1402020121","file5":"1402020124","file3":"1402020119"},"map_files_photo_id_array":[{"photo_id":"1402020124","filename":"file5"},{"photo_id":"1402020116","filename":"file2"},{"photo_id":"1402020121","filename":"file4"},{"photo_id":"1402020115","filename":"file1"},{"photo_id":"1402020112","filename":"file0"},{"photo_id":"1402020119","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020116":["hashtag1","hashtag2"]},{"1402020119":["hashtag1","hashtag2"]},{"1402020124":["hashtag1","hashtag2"]},{"1402020112":["hashtag1","hashtag2"]},{"1402020121":["hashtag1","hashtag2"]},{"1402020115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020116, 1402020119, 1402020124, 1402020112, 1402020121, 1402020115)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.07131791114807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:47:12.904466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_32_3557.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_34_2767.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_37_2713.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_40_2808.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_44_3669.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_46_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_32_3557.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_34_2767.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_37_2713.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_40_2808.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_44_3669.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_46_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020126","1402020131","1402020133","1402020127","1402020135","1402020129"],"photo_ids_order":["1402020126","1402020127","1402020129","1402020131","1402020133","1402020135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f59c8e9611384025cc87cf7161b5836.jpg","text":"TemporaryFile(/tmp/multipartBody7834074735025084444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271694665,"filename":"image_04112025_17_06_32_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6463a99b319c90951d89513c209cd4bb.jpg","text":"TemporaryFile(/tmp/multipartBody5299722914546564793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271694665,"filename":"image_04112025_17_06_40_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c302b4ea65d45e1248338f556f6defc.jpg","text":"TemporaryFile(/tmp/multipartBody1892723202439424625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271694665,"filename":"image_04112025_17_06_44_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6dc064c54d5ee31dc02dca576255eda.jpg","text":"TemporaryFile(/tmp/multipartBody2444320677670382048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271694665,"filename":"image_04112025_17_06_34_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c88fa7051c9f691581dde7beff2893b2.jpg","text":"TemporaryFile(/tmp/multipartBody2467795703583008074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271694665,"filename":"image_04112025_17_06_46_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/083bdfe5663b7d876bd46497c6520db4.jpg","text":"TemporaryFile(/tmp/multipartBody4555811888722197754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271694665,"filename":"image_04112025_17_06_37_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020129","file1":"1402020127","file0":"1402020126","file4":"1402020133","file5":"1402020135","file3":"1402020131"},"map_files_photo_id_array":[{"photo_id":"1402020135","filename":"file5"},{"photo_id":"1402020129","filename":"file2"},{"photo_id":"1402020133","filename":"file4"},{"photo_id":"1402020127","filename":"file1"},{"photo_id":"1402020126","filename":"file0"},{"photo_id":"1402020131","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020126":["hashtag1","hashtag2"]},{"1402020131":["hashtag1","hashtag2"]},{"1402020133":["hashtag1","hashtag2"]},{"1402020127":["hashtag1","hashtag2"]},{"1402020135":["hashtag1","hashtag2"]},{"1402020129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020126, 1402020131, 1402020133, 1402020127, 1402020135, 1402020129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.769641160964966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:48:02.483097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/01/image_01012026_12_01_25_9825.jpg', '/home/pi/Desktop/images/01012026/12/01/image_01012026_12_01_36_10782.jpg', '/home/pi/Desktop/images/01012026/12/01/image_01012026_12_01_46_9790.jpg', '/home/pi/Desktop/images/01012026/12/01/image_01012026_12_01_55_9732.jpg', '/home/pi/Desktop/images/01012026/12/01/image_01012026_12_02_05_9594.jpg', '/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_15_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/01/image_01012026_12_01_25_9825.jpg
/home/pi/Desktop/images/01012026/12/01/image_01012026_12_01_36_10782.jpg
/home/pi/Desktop/images/01012026/12/01/image_01012026_12_01_46_9790.jpg
/home/pi/Desktop/images/01012026/12/01/image_01012026_12_01_55_9732.jpg
/home/pi/Desktop/images/01012026/12/01/image_01012026_12_02_05_9594.jpg
/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_15_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020152","1402020149","1402020154","1402020151","1402020150","1402020153"],"photo_ids_order":["1402020149","1402020150","1402020151","1402020152","1402020153","1402020154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a193fe0d056f0da2d1ef4140db2469a.jpg","text":"TemporaryFile(/tmp/multipartBody6838724015090172262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271743236,"filename":"image_01012026_12_01_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75e4714c02a200cf7920deb345eb8531.jpg","text":"TemporaryFile(/tmp/multipartBody5914127700344170062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271743236,"filename":"image_01012026_12_01_25_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/159a1a8ec510a0072c53df38d54fbd90.jpg","text":"TemporaryFile(/tmp/multipartBody8838022701736261774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271743236,"filename":"image_01012026_12_02_15_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a93aeb9ac5c4c078b2a9c571a5ab691a.jpg","text":"TemporaryFile(/tmp/multipartBody6440960485546026135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271743236,"filename":"image_01012026_12_01_46_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbbff32d3e2d6c96631649f8de0eb38e.jpg","text":"TemporaryFile(/tmp/multipartBody7713473196613607207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271743236,"filename":"image_01012026_12_01_36_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4b2818d9758c68652f8f5c16812e062.jpg","text":"TemporaryFile(/tmp/multipartBody3526408108487158618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271743236,"filename":"image_01012026_12_02_05_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020151","file1":"1402020150","file0":"1402020149","file4":"1402020153","file5":"1402020154","file3":"1402020152"},"map_files_photo_id_array":[{"photo_id":"1402020154","filename":"file5"},{"photo_id":"1402020151","filename":"file2"},{"photo_id":"1402020153","filename":"file4"},{"photo_id":"1402020150","filename":"file1"},{"photo_id":"1402020149","filename":"file0"},{"photo_id":"1402020152","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020152":["hashtag1","hashtag2"]},{"1402020149":["hashtag1","hashtag2"]},{"1402020154":["hashtag1","hashtag2"]},{"1402020151":["hashtag1","hashtag2"]},{"1402020150":["hashtag1","hashtag2"]},{"1402020153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020152, 1402020149, 1402020154, 1402020151, 1402020150, 1402020153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02070379257202 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:48:42.152137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_49_2689.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_53_3710.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_55_2578.jpg', '/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_58_2625.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_02_3828.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_04_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_49_2689.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_53_3710.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_55_2578.jpg
/home/pi/Desktop/images/04112025/17/06/image_04112025_17_06_58_2625.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_02_3828.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_04_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":["1402020161","1402020173","1402020167","1402020169","1402020171","1402020165"],"photo_ids_order":["1402020161","1402020165","1402020167","1402020169","1402020171","1402020173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d78603ecfa9f45e382b87d9a9d7d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody8862380643365713478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271784010,"filename":"image_04112025_17_06_49_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f74f620a2d66b0b6edc7024253f1706.jpg","text":"TemporaryFile(/tmp/multipartBody2195672715565358376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271784010,"filename":"image_04112025_17_07_04_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b31ea321c013ffc9f6278c3364cd26a6.jpg","text":"TemporaryFile(/tmp/multipartBody7160920315969159805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271784010,"filename":"image_04112025_17_06_55_2578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94352929b6fbcb86e3d6994fa8e7b3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8179681723223214818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271784010,"filename":"image_04112025_17_06_58_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62340da05262ec886dd12c889fb5d990.jpg","text":"TemporaryFile(/tmp/multipartBody9134088491697814179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271784010,"filename":"image_04112025_17_07_02_3828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d655624d03c532f679f027ffc8509b28.jpg","text":"TemporaryFile(/tmp/multipartBody8680220593080946386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271784010,"filename":"image_04112025_17_06_53_3710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020167","file1":"1402020165","file0":"1402020161","file4":"1402020171","file5":"1402020173","file3":"1402020169"},"map_files_photo_id_array":[{"photo_id":"1402020173","filename":"file5"},{"photo_id":"1402020167","filename":"file2"},{"photo_id":"1402020171","filename":"file4"},{"photo_id":"1402020165","filename":"file1"},{"photo_id":"1402020161","filename":"file0"},{"photo_id":"1402020169","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020161":["hashtag1","hashtag2"]},{"1402020173":["hashtag1","hashtag2"]},{"1402020167":["hashtag1","hashtag2"]},{"1402020169":["hashtag1","hashtag2"]},{"1402020171":["hashtag1","hashtag2"]},{"1402020165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020161, 1402020173, 1402020167, 1402020169, 1402020171, 1402020165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78574800491333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:49:22.316491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_26_10689.jpg', '/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_36_9948.jpg', '/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_46_9853.jpg', '/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_55_9728.jpg', '/home/pi/Desktop/images/01012026/12/02/image_01012026_12_03_05_9775.jpg', '/home/pi/Desktop/images/01012026/12/03/image_01012026_12_03_16_10810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_26_10689.jpg
/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_36_9948.jpg
/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_46_9853.jpg
/home/pi/Desktop/images/01012026/12/02/image_01012026_12_02_55_9728.jpg
/home/pi/Desktop/images/01012026/12/02/image_01012026_12_03_05_9775.jpg
/home/pi/Desktop/images/01012026/12/03/image_01012026_12_03_16_10810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020176","1402020185","1402020179","1402020181","1402020183","1402020174"],"photo_ids_order":["1402020174","1402020176","1402020179","1402020181","1402020183","1402020185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d38d37f4c97fb48c3fa05a5b3aae9a77.jpg","text":"TemporaryFile(/tmp/multipartBody3867247928759322735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271822996,"filename":"image_01012026_12_02_36_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a07f4cfd4defbff60bd26926c1549da.jpg","text":"TemporaryFile(/tmp/multipartBody1837755519810166875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271822996,"filename":"image_01012026_12_03_16_10810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9f4b5c9abafbcf7a04a54c3ac68c0d6.jpg","text":"TemporaryFile(/tmp/multipartBody1919883396830475995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271822996,"filename":"image_01012026_12_02_46_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98577eeaa85f2e22667611e4ad36fa4b.jpg","text":"TemporaryFile(/tmp/multipartBody6725078944480089860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271822996,"filename":"image_01012026_12_02_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c955a00690c3ed1fadb460837dcf3645.jpg","text":"TemporaryFile(/tmp/multipartBody5592343706922309572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271822996,"filename":"image_01012026_12_03_05_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6025c9bd1b745701e4255de9c26a39b7.jpg","text":"TemporaryFile(/tmp/multipartBody1474171472991462462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271822996,"filename":"image_01012026_12_02_26_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020179","file1":"1402020176","file0":"1402020174","file4":"1402020183","file5":"1402020185","file3":"1402020181"},"map_files_photo_id_array":[{"photo_id":"1402020185","filename":"file5"},{"photo_id":"1402020179","filename":"file2"},{"photo_id":"1402020183","filename":"file4"},{"photo_id":"1402020176","filename":"file1"},{"photo_id":"1402020174","filename":"file0"},{"photo_id":"1402020181","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020176":["hashtag1","hashtag2"]},{"1402020185":["hashtag1","hashtag2"]},{"1402020179":["hashtag1","hashtag2"]},{"1402020181":["hashtag1","hashtag2"]},{"1402020183":["hashtag1","hashtag2"]},{"1402020174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020176, 1402020185, 1402020179, 1402020181, 1402020183, 1402020174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.707688331604004 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
2026-01-01 13:50:12.744626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_07_2636.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_11_3591.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_13_2571.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_16_2770.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_19_3594.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_22_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_07_2636.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_11_3591.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_13_2571.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_16_2770.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_19_3594.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_22_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":["1402020194","1402020191","1402020193","1402020187","1402020196","1402020189"],"photo_ids_order":["1402020187","1402020189","1402020191","1402020193","1402020194","1402020196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ba7ec3f91026e741eecdf59a30348ab.jpg","text":"TemporaryFile(/tmp/multipartBody5905246124815864220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271879142,"filename":"image_04112025_17_07_19_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0a24b77b941aeffab9be69a4ec5e884.jpg","text":"TemporaryFile(/tmp/multipartBody8810428748100749238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271879142,"filename":"image_04112025_17_07_13_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f36779f75b0cb11f91ebf613552766d.jpg","text":"TemporaryFile(/tmp/multipartBody2230924330507061010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271879142,"filename":"image_04112025_17_07_16_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da7febd87d57143e8ad55c9c43f6c35c.jpg","text":"TemporaryFile(/tmp/multipartBody609474238817928611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271879142,"filename":"image_04112025_17_07_07_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/119f47fba705d63626e40979f192d182.jpg","text":"TemporaryFile(/tmp/multipartBody8548054184429981274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271879142,"filename":"image_04112025_17_07_22_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9251af3f45b13069e1b6b12a6e349f93.jpg","text":"TemporaryFile(/tmp/multipartBody4582062731240143050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271879142,"filename":"image_04112025_17_07_11_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020191","file1":"1402020189","file0":"1402020187","file4":"1402020194","file5":"1402020196","file3":"1402020193"},"map_files_photo_id_array":[{"photo_id":"1402020196","filename":"file5"},{"photo_id":"1402020191","filename":"file2"},{"photo_id":"1402020194","filename":"file4"},{"photo_id":"1402020189","filename":"file1"},{"photo_id":"1402020187","filename":"file0"},{"photo_id":"1402020193","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020194":["hashtag1","hashtag2"]},{"1402020191":["hashtag1","hashtag2"]},{"1402020193":["hashtag1","hashtag2"]},{"1402020187":["hashtag1","hashtag2"]},{"1402020196":["hashtag1","hashtag2"]},{"1402020189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020194, 1402020191, 1402020193, 1402020187, 1402020196, 1402020189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.36702346801758 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
2026-01-01 13:51:12.844351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_25_2639.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_28_3629.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_31_2610.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_34_3482.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_37_2628.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_40_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_25_2639.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_28_3629.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_31_2610.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_34_3482.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_37_2628.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_40_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020215","1402020209","1402020217","1402020211","1402020208","1402020213"],"photo_ids_order":["1402020208","1402020209","1402020211","1402020213","1402020215","1402020217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee9f0181c0be1666e65b8b11dc60ce00.jpg","text":"TemporaryFile(/tmp/multipartBody4323503520125038105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271934544,"filename":"image_04112025_17_07_37_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c33969ad1bab17b6f9a8f0c779dd96da.jpg","text":"TemporaryFile(/tmp/multipartBody8843799308527514997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271934544,"filename":"image_04112025_17_07_28_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84ee67d787ee49559b957b3e15d1f2f9.jpg","text":"TemporaryFile(/tmp/multipartBody7150214326738152721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271934544,"filename":"image_04112025_17_07_40_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a079b2d0be69bc1009a7467d2183c55.jpg","text":"TemporaryFile(/tmp/multipartBody7257728608236149705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271934544,"filename":"image_04112025_17_07_31_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/578cee16db4395f955eaa32f398d80a3.jpg","text":"TemporaryFile(/tmp/multipartBody559515388941850713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271934544,"filename":"image_04112025_17_07_25_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c93760bbc066c2d7f4407720ef8223b8.jpg","text":"TemporaryFile(/tmp/multipartBody266662367149787552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271934544,"filename":"image_04112025_17_07_34_3482.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020211","file1":"1402020209","file0":"1402020208","file4":"1402020215","file5":"1402020217","file3":"1402020213"},"map_files_photo_id_array":[{"photo_id":"1402020217","filename":"file5"},{"photo_id":"1402020211","filename":"file2"},{"photo_id":"1402020215","filename":"file4"},{"photo_id":"1402020209","filename":"file1"},{"photo_id":"1402020208","filename":"file0"},{"photo_id":"1402020213","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020215":["hashtag1","hashtag2"]},{"1402020209":["hashtag1","hashtag2"]},{"1402020217":["hashtag1","hashtag2"]},{"1402020211":["hashtag1","hashtag2"]},{"1402020208":["hashtag1","hashtag2"]},{"1402020213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020215, 1402020209, 1402020217, 1402020211, 1402020208, 1402020213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.67612385749817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:52:02.486228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/03/image_01012026_12_03_45_9776.jpg', '/home/pi/Desktop/images/01012026/12/03/image_01012026_12_03_56_10684.jpg', '/home/pi/Desktop/images/01012026/12/03/image_01012026_12_04_06_9744.jpg', '/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_15_9881.jpg', '/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_25_9732.jpg', '/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_36_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/03/image_01012026_12_03_45_9776.jpg
/home/pi/Desktop/images/01012026/12/03/image_01012026_12_03_56_10684.jpg
/home/pi/Desktop/images/01012026/12/03/image_01012026_12_04_06_9744.jpg
/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_15_9881.jpg
/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_25_9732.jpg
/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_36_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020225","1402020227","1402020221","1402020229","1402020223","1402020222"],"photo_ids_order":["1402020221","1402020222","1402020223","1402020225","1402020227","1402020229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69f289aa252b1f812bcec6fcd4a7f086.jpg","text":"TemporaryFile(/tmp/multipartBody143295503471776363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271985742,"filename":"image_01012026_12_04_15_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8804946e458f020bfdd44a0460bad01d.jpg","text":"TemporaryFile(/tmp/multipartBody4124867840408722229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271985742,"filename":"image_01012026_12_04_25_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f40a5b2e51fc97a76dfd7929aacf199.jpg","text":"TemporaryFile(/tmp/multipartBody3723413720740693427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271985742,"filename":"image_01012026_12_03_45_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06a0c6136813bc15efa8b25cfb212de3.jpg","text":"TemporaryFile(/tmp/multipartBody4537241812761072387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271985742,"filename":"image_01012026_12_04_36_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db88682cae51a6d4ee684a0294e80c84.jpg","text":"TemporaryFile(/tmp/multipartBody6397590661960388054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271985742,"filename":"image_01012026_12_04_06_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/535bae872defd8b9df90f52e5ccfb23b.jpg","text":"TemporaryFile(/tmp/multipartBody3344311854886123691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767271985742,"filename":"image_01012026_12_03_56_10684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020223","file1":"1402020222","file0":"1402020221","file4":"1402020227","file5":"1402020229","file3":"1402020225"},"map_files_photo_id_array":[{"photo_id":"1402020229","filename":"file5"},{"photo_id":"1402020223","filename":"file2"},{"photo_id":"1402020227","filename":"file4"},{"photo_id":"1402020222","filename":"file1"},{"photo_id":"1402020221","filename":"file0"},{"photo_id":"1402020225","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020225":["hashtag1","hashtag2"]},{"1402020227":["hashtag1","hashtag2"]},{"1402020221":["hashtag1","hashtag2"]},{"1402020229":["hashtag1","hashtag2"]},{"1402020223":["hashtag1","hashtag2"]},{"1402020222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020225, 1402020227, 1402020221, 1402020229, 1402020223, 1402020222)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.880791425704956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:53:02.855125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_45_9647.jpg', '/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_55_9673.jpg', '/home/pi/Desktop/images/01012026/12/05/image_01012026_12_05_15_9747.jpg', '/home/pi/Desktop/images/01012026/12/05/image_01012026_12_05_25_9815.jpg', '/home/pi/Desktop/images/01012026/12/05/image_01012026_12_05_35_9731.jpg', '/home/pi/Desktop/images/01012026/12/05/image_01012026_12_05_46_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_45_9647.jpg
/home/pi/Desktop/images/01012026/12/04/image_01012026_12_04_55_9673.jpg
/home/pi/Desktop/images/01012026/12/05/image_01012026_12_05_15_9747.jpg
/home/pi/Desktop/images/01012026/12/05/image_01012026_12_05_25_9815.jpg
/home/pi/Desktop/images/01012026/12/05/image_01012026_12_05_35_9731.jpg
/home/pi/Desktop/images/01012026/12/05/image_01012026_12_05_46_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":["1402020239","1402020241","1402020238","1402020240","1402020243","1402020237"],"photo_ids_order":["1402020237","1402020238","1402020239","1402020240","1402020241","1402020243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5f5ebb034758e921b666d38b33ac84e.jpg","text":"TemporaryFile(/tmp/multipartBody1830296559447635500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272043682,"filename":"image_01012026_12_05_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3d64a7a5666f53ca253932ebb676d67.jpg","text":"TemporaryFile(/tmp/multipartBody1191215162514021795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272043682,"filename":"image_01012026_12_05_35_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15f933b85e5b1657e9fe9a72e62400ff.jpg","text":"TemporaryFile(/tmp/multipartBody2687716427612307883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272043682,"filename":"image_01012026_12_04_55_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38b1338df9364c725de21c78137a26c4.jpg","text":"TemporaryFile(/tmp/multipartBody2020740362101486278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272043682,"filename":"image_01012026_12_05_25_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36e9f7e7138539c2e8fce0bf9065b152.jpg","text":"TemporaryFile(/tmp/multipartBody2168453515127815173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272043682,"filename":"image_01012026_12_05_46_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fab5d2f63b8bd927fc9b91bc7d40cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3376458414843480209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272043682,"filename":"image_01012026_12_04_45_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020239","file1":"1402020238","file0":"1402020237","file4":"1402020241","file5":"1402020243","file3":"1402020240"},"map_files_photo_id_array":[{"photo_id":"1402020243","filename":"file5"},{"photo_id":"1402020239","filename":"file2"},{"photo_id":"1402020241","filename":"file4"},{"photo_id":"1402020238","filename":"file1"},{"photo_id":"1402020237","filename":"file0"},{"photo_id":"1402020240","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020239":["hashtag1","hashtag2"]},{"1402020241":["hashtag1","hashtag2"]},{"1402020238":["hashtag1","hashtag2"]},{"1402020240":["hashtag1","hashtag2"]},{"1402020243":["hashtag1","hashtag2"]},{"1402020237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020239, 1402020241, 1402020238, 1402020240, 1402020243, 1402020237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95362687110901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:53:42.118743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_43_3601.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_46_2788.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_49_2564.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_52_3508.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_55_2679.jpg', '/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_58_2814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_43_3601.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_46_2788.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_49_2564.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_52_3508.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_55_2679.jpg
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_07_58_2814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020263","1402020265","1402020253","1402020262","1402020264","1402020249"],"photo_ids_order":["1402020249","1402020253","1402020262","1402020263","1402020264","1402020265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0aecae9146ada2879c7a9f92180e3db.jpg","text":"TemporaryFile(/tmp/multipartBody5066310277894390770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272083959,"filename":"image_04112025_17_07_52_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bbde72de1cfd8e5c3a3110a228e2e84.jpg","text":"TemporaryFile(/tmp/multipartBody3964316047616433617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272083959,"filename":"image_04112025_17_07_58_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b672401a00194ccfa3329260f2f6fbdc.jpg","text":"TemporaryFile(/tmp/multipartBody5009970893757152816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272083959,"filename":"image_04112025_17_07_46_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8945d74773a4c8ef41ba830966a81775.jpg","text":"TemporaryFile(/tmp/multipartBody3090689133183609609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272083959,"filename":"image_04112025_17_07_49_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12ce0ef8f94b1752073aa1f7e593c446.jpg","text":"TemporaryFile(/tmp/multipartBody3787995422202739102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272083959,"filename":"image_04112025_17_07_55_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8818956dc1efd65820c12e4a0b05cf96.jpg","text":"TemporaryFile(/tmp/multipartBody3374346584481929685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272083959,"filename":"image_04112025_17_07_43_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020262","file1":"1402020253","file0":"1402020249","file4":"1402020264","file5":"1402020265","file3":"1402020263"},"map_files_photo_id_array":[{"photo_id":"1402020265","filename":"file5"},{"photo_id":"1402020262","filename":"file2"},{"photo_id":"1402020264","filename":"file4"},{"photo_id":"1402020253","filename":"file1"},{"photo_id":"1402020249","filename":"file0"},{"photo_id":"1402020263","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020263":["hashtag1","hashtag2"]},{"1402020265":["hashtag1","hashtag2"]},{"1402020253":["hashtag1","hashtag2"]},{"1402020262":["hashtag1","hashtag2"]},{"1402020264":["hashtag1","hashtag2"]},{"1402020249":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020263, 1402020265, 1402020253, 1402020262, 1402020264, 1402020249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31338620185852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:54:22.290683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/05/image_01012026_12_06_05_9688.jpg', '/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_15_9919.jpg', '/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_25_10024.jpg', '/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_35_9889.jpg', '/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_46_10642.jpg', '/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_55_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/05/image_01012026_12_06_05_9688.jpg
/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_15_9919.jpg
/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_25_10024.jpg
/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_35_9889.jpg
/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_46_10642.jpg
/home/pi/Desktop/images/01012026/12/06/image_01012026_12_06_55_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":["1402020272","1402020274","1402020268","1402020276","1402020279","1402020270"],"photo_ids_order":["1402020268","1402020270","1402020272","1402020274","1402020276","1402020279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/300df21285f5e9442cce4e45b7856bec.jpg","text":"TemporaryFile(/tmp/multipartBody6632972901711789225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272123054,"filename":"image_01012026_12_06_25_10024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/293d02db3084dc5a3e56b6126c076b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2278089882028090219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272123054,"filename":"image_01012026_12_06_35_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c90d947ff7a4d44a0435df7eeefe481.jpg","text":"TemporaryFile(/tmp/multipartBody8505493832552163874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272123054,"filename":"image_01012026_12_06_05_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c57dae3a0bcddf403178bab07723f4dd.jpg","text":"TemporaryFile(/tmp/multipartBody4987646141205399642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272123054,"filename":"image_01012026_12_06_46_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10f9ca5afeba6ba03b708d712c05775b.jpg","text":"TemporaryFile(/tmp/multipartBody737092736037160493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272123054,"filename":"image_01012026_12_06_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/135b1f512fba179e21d3b1ea13c7a6ba.jpg","text":"TemporaryFile(/tmp/multipartBody7801203576416786068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272123054,"filename":"image_01012026_12_06_15_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020272","file1":"1402020270","file0":"1402020268","file4":"1402020276","file5":"1402020279","file3":"1402020274"},"map_files_photo_id_array":[{"photo_id":"1402020279","filename":"file5"},{"photo_id":"1402020272","filename":"file2"},{"photo_id":"1402020276","filename":"file4"},{"photo_id":"1402020270","filename":"file1"},{"photo_id":"1402020268","filename":"file0"},{"photo_id":"1402020274","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020272":["hashtag1","hashtag2"]},{"1402020274":["hashtag1","hashtag2"]},{"1402020268":["hashtag1","hashtag2"]},{"1402020276":["hashtag1","hashtag2"]},{"1402020279":["hashtag1","hashtag2"]},{"1402020270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020272, 1402020274, 1402020268, 1402020276, 1402020279, 1402020270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.649229288101196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:55:03.229955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/06/image_01012026_12_07_05_9699.jpg', '/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_15_9836.jpg', '/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_26_10769.jpg', '/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_36_9886.jpg', '/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_46_9826.jpg', '/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_55_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/06/image_01012026_12_07_05_9699.jpg
/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_15_9836.jpg
/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_26_10769.jpg
/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_36_9886.jpg
/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_46_9826.jpg
/home/pi/Desktop/images/01012026/12/07/image_01012026_12_07_55_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020287","1402020281","1402020284","1402020283","1402020282","1402020285"],"photo_ids_order":["1402020281","1402020282","1402020283","1402020284","1402020285","1402020287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99a433616eee3c6bf830eac28af9785b.jpg","text":"TemporaryFile(/tmp/multipartBody4505062020257981355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272164011,"filename":"image_01012026_12_07_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a05b79ebbe0708f94804811f24b71070.jpg","text":"TemporaryFile(/tmp/multipartBody3605530081755864211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272164011,"filename":"image_01012026_12_07_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5afa122e70fc4393384c12c67c1d07c5.jpg","text":"TemporaryFile(/tmp/multipartBody838283186614051977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272164011,"filename":"image_01012026_12_07_36_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dc4bdd82216ea2d5258e8b82635893c.jpg","text":"TemporaryFile(/tmp/multipartBody7334257032546136367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272164011,"filename":"image_01012026_12_07_26_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d90c4ec989adf09246e46e9eb19fb19.jpg","text":"TemporaryFile(/tmp/multipartBody1562845173455682679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272164011,"filename":"image_01012026_12_07_15_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/834322f8c0d7e948f244965af192c912.jpg","text":"TemporaryFile(/tmp/multipartBody410696013303537127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272164011,"filename":"image_01012026_12_07_46_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020283","file1":"1402020282","file0":"1402020281","file4":"1402020285","file5":"1402020287","file3":"1402020284"},"map_files_photo_id_array":[{"photo_id":"1402020287","filename":"file5"},{"photo_id":"1402020283","filename":"file2"},{"photo_id":"1402020285","filename":"file4"},{"photo_id":"1402020282","filename":"file1"},{"photo_id":"1402020281","filename":"file0"},{"photo_id":"1402020284","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020287":["hashtag1","hashtag2"]},{"1402020281":["hashtag1","hashtag2"]},{"1402020284":["hashtag1","hashtag2"]},{"1402020283":["hashtag1","hashtag2"]},{"1402020282":["hashtag1","hashtag2"]},{"1402020285":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020287, 1402020281, 1402020284, 1402020283, 1402020282, 1402020285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54917645454407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:55:42.611957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/07/image_04112025_17_08_01_3578.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_04_2608.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_07_3039.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_10_3586.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_13_2710.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_16_2538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/07/image_04112025_17_08_01_3578.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_04_2608.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_07_3039.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_10_3586.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_13_2710.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_16_2538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020293","1402020296","1402020298","1402020295","1402020297","1402020299"],"photo_ids_order":["1402020293","1402020295","1402020296","1402020297","1402020298","1402020299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59c996d8687cd78738a9a491a8a8832f.jpg","text":"TemporaryFile(/tmp/multipartBody7626280421164847990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272204533,"filename":"image_04112025_17_08_01_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83a1d8fa1c3f9d17278379d59691870d.jpg","text":"TemporaryFile(/tmp/multipartBody657704369250117009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272204533,"filename":"image_04112025_17_08_07_3039.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a0fda6a712e5738114563b0b82afd48.jpg","text":"TemporaryFile(/tmp/multipartBody8061835745556227070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272204533,"filename":"image_04112025_17_08_13_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18e4b57f361ca911fc4d4b9dacd43036.jpg","text":"TemporaryFile(/tmp/multipartBody8287598708550005130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272204533,"filename":"image_04112025_17_08_04_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bb19b00f3647e819986542c7ea70cd1.jpg","text":"TemporaryFile(/tmp/multipartBody2583785068416869428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272204533,"filename":"image_04112025_17_08_10_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00c6043c8f648889156d03f3bf9627e8.jpg","text":"TemporaryFile(/tmp/multipartBody8114880515031192643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272204533,"filename":"image_04112025_17_08_16_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020296","file1":"1402020295","file0":"1402020293","file4":"1402020298","file5":"1402020299","file3":"1402020297"},"map_files_photo_id_array":[{"photo_id":"1402020299","filename":"file5"},{"photo_id":"1402020296","filename":"file2"},{"photo_id":"1402020298","filename":"file4"},{"photo_id":"1402020295","filename":"file1"},{"photo_id":"1402020293","filename":"file0"},{"photo_id":"1402020297","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020293":["hashtag1","hashtag2"]},{"1402020296":["hashtag1","hashtag2"]},{"1402020298":["hashtag1","hashtag2"]},{"1402020295":["hashtag1","hashtag2"]},{"1402020297":["hashtag1","hashtag2"]},{"1402020299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020293, 1402020296, 1402020298, 1402020295, 1402020297, 1402020299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.168053150177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 13:56:22.852640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/07/image_01012026_12_08_05_9786.jpg', '/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_16_10623.jpg', '/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_25_9767.jpg', '/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_35_9744.jpg', '/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_46_10678.jpg', '/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_56_9870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/07/image_01012026_12_08_05_9786.jpg
/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_16_10623.jpg
/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_25_9767.jpg
/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_35_9744.jpg
/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_46_10678.jpg
/home/pi/Desktop/images/01012026/12/08/image_01012026_12_08_56_9870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020303","1402020306","1402020311","1402020301","1402020304","1402020307"],"photo_ids_order":["1402020301","1402020303","1402020304","1402020306","1402020307","1402020311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6408c45790bf0616d0714dd2a2b8ce98.jpg","text":"TemporaryFile(/tmp/multipartBody1658138150311099339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272243566,"filename":"image_01012026_12_08_16_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aecc85856fdab25070049d886e2a7060.jpg","text":"TemporaryFile(/tmp/multipartBody6044704815367245777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272243566,"filename":"image_01012026_12_08_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eee659095f6de628d906d21eceda8c93.jpg","text":"TemporaryFile(/tmp/multipartBody567102250680415981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272243566,"filename":"image_01012026_12_08_56_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/687879234e7b2d8df8ee1d737507505d.jpg","text":"TemporaryFile(/tmp/multipartBody6510650395729302668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272243566,"filename":"image_01012026_12_08_05_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/902dae8c53821039da6d0668da6ec25b.jpg","text":"TemporaryFile(/tmp/multipartBody1358465819749834997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272243566,"filename":"image_01012026_12_08_25_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3c8977d447b3fa874bf60ab18cb717a.jpg","text":"TemporaryFile(/tmp/multipartBody477122539121408451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272243566,"filename":"image_01012026_12_08_46_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020304","file1":"1402020303","file0":"1402020301","file4":"1402020307","file5":"1402020311","file3":"1402020306"},"map_files_photo_id_array":[{"photo_id":"1402020311","filename":"file5"},{"photo_id":"1402020304","filename":"file2"},{"photo_id":"1402020307","filename":"file4"},{"photo_id":"1402020303","filename":"file1"},{"photo_id":"1402020301","filename":"file0"},{"photo_id":"1402020306","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020303":["hashtag1","hashtag2"]},{"1402020306":["hashtag1","hashtag2"]},{"1402020311":["hashtag1","hashtag2"]},{"1402020301":["hashtag1","hashtag2"]},{"1402020304":["hashtag1","hashtag2"]},{"1402020307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020303, 1402020306, 1402020311, 1402020301, 1402020304, 1402020307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.020902156829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:57:02.698224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/08/image_01012026_12_09_06_9842.jpg', '/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_16_9876.jpg', '/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_25_9945.jpg', '/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_35_9827.jpg', '/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_46_10627.jpg', '/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_56_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/08/image_01012026_12_09_06_9842.jpg
/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_16_9876.jpg
/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_25_9945.jpg
/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_35_9827.jpg
/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_46_10627.jpg
/home/pi/Desktop/images/01012026/12/09/image_01012026_12_09_56_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":["1402020324","1402020323","1402020326","1402020328","1402020325","1402020321"],"photo_ids_order":["1402020321","1402020323","1402020324","1402020325","1402020326","1402020328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63cc07bd7d277b875318c26e5ad7d564.jpg","text":"TemporaryFile(/tmp/multipartBody2231968352752932453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272283467,"filename":"image_01012026_12_09_25_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5d8752ecae270ef7c290cbe87bdc40b.jpg","text":"TemporaryFile(/tmp/multipartBody1714770351156111824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272283467,"filename":"image_01012026_12_09_16_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46641ee3663837db70ba1d18d13cc845.jpg","text":"TemporaryFile(/tmp/multipartBody7187779526740264049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272283467,"filename":"image_01012026_12_09_46_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81670f536dd0f6faafe4b9ad31a80a16.jpg","text":"TemporaryFile(/tmp/multipartBody1933474421075235233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272283467,"filename":"image_01012026_12_09_56_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4a19956bfaf41e5b94e9e54fd981376.jpg","text":"TemporaryFile(/tmp/multipartBody7602582732439832030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272283467,"filename":"image_01012026_12_09_35_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3633cff6c49ed76bc3edc7fb7784a68.jpg","text":"TemporaryFile(/tmp/multipartBody8707176885506830473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272283467,"filename":"image_01012026_12_09_06_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020324","file1":"1402020323","file0":"1402020321","file4":"1402020326","file5":"1402020328","file3":"1402020325"},"map_files_photo_id_array":[{"photo_id":"1402020328","filename":"file5"},{"photo_id":"1402020324","filename":"file2"},{"photo_id":"1402020326","filename":"file4"},{"photo_id":"1402020323","filename":"file1"},{"photo_id":"1402020321","filename":"file0"},{"photo_id":"1402020325","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020324":["hashtag1","hashtag2"]},{"1402020323":["hashtag1","hashtag2"]},{"1402020326":["hashtag1","hashtag2"]},{"1402020328":["hashtag1","hashtag2"]},{"1402020325":["hashtag1","hashtag2"]},{"1402020321":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020324, 1402020323, 1402020326, 1402020328, 1402020325, 1402020321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10899519920349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 13:57:42.024919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_19_3644.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_22_2688.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_25_2606.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_28_3588.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_31_2585.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_35_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_19_3644.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_22_2688.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_25_2606.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_28_3588.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_31_2585.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_35_3669.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402020338","1402020335","1402020334","1402020337","1402020333","1402020336"],"photo_ids_order":["1402020333","1402020334","1402020335","1402020336","1402020337","1402020338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11600ecdea8bd9c351c1478053308bb6.jpg","text":"TemporaryFile(/tmp/multipartBody8634408092811075464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272323886,"filename":"image_04112025_17_08_35_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a94c3ae5de389cd129a47c228d064b5.jpg","text":"TemporaryFile(/tmp/multipartBody7394583827331910302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272323886,"filename":"image_04112025_17_08_25_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7308752655247a6027ca1341b8ae6f9e.jpg","text":"TemporaryFile(/tmp/multipartBody9146033625157349506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272323886,"filename":"image_04112025_17_08_22_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1b9a5bdaa2b3065f10bce17784ef8e3.jpg","text":"TemporaryFile(/tmp/multipartBody4728146015369442027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272323886,"filename":"image_04112025_17_08_31_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e32405dfc1ea31c27bad1e8af099a40.jpg","text":"TemporaryFile(/tmp/multipartBody6207440302381370614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272323886,"filename":"image_04112025_17_08_19_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53e86b5af50580bc464d309e535f094b.jpg","text":"TemporaryFile(/tmp/multipartBody1337703509770558586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272323886,"filename":"image_04112025_17_08_28_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020335","file1":"1402020334","file0":"1402020333","file4":"1402020337","file5":"1402020338","file3":"1402020336"},"map_files_photo_id_array":[{"photo_id":"1402020338","filename":"file5"},{"photo_id":"1402020335","filename":"file2"},{"photo_id":"1402020337","filename":"file4"},{"photo_id":"1402020334","filename":"file1"},{"photo_id":"1402020333","filename":"file0"},{"photo_id":"1402020336","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402020338":["hashtag1","hashtag2"]},{"1402020335":["hashtag1","hashtag2"]},{"1402020334":["hashtag1","hashtag2"]},{"1402020337":["hashtag1","hashtag2"]},{"1402020333":["hashtag1","hashtag2"]},{"1402020336":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402020338, 1402020335, 1402020334, 1402020337, 1402020333, 1402020336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91437602043152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 13:59:03.346968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/09/image_01012026_12_10_05_9744.jpg', '/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_15_9788.jpg', '/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_25_9914.jpg', '/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_36_10668.jpg', '/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_46_9805.jpg', '/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_55_9898.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/09/image_01012026_12_10_05_9744.jpg
/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_15_9788.jpg
/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_25_9914.jpg
/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_36_10668.jpg
/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_46_9805.jpg
/home/pi/Desktop/images/01012026/12/10/image_01012026_12_10_55_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":["1402020417","1402020380","1402020455","1402020496","1402020340","1402020535"],"photo_ids_order":["1402020340","1402020380","1402020417","1402020455","1402020496","1402020535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02393511390e4a9277e4c6f74008b1ad.jpg","text":"TemporaryFile(/tmp/multipartBody5851876961818359528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272404329,"filename":"image_01012026_12_10_25_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/503eb62f9a9ea100f6b088d626fa04d0.jpg","text":"TemporaryFile(/tmp/multipartBody4621030270668042518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272404329,"filename":"image_01012026_12_10_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44659f24da8d0d9d13a5dfdf6ca8e631.jpg","text":"TemporaryFile(/tmp/multipartBody746816278319222086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272404329,"filename":"image_01012026_12_10_36_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/702c5cc0e546660b80f8ff7b6d8f3ef3.jpg","text":"TemporaryFile(/tmp/multipartBody919130413488792463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272404329,"filename":"image_01012026_12_10_46_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/173d4af48dd0a013f706b641782ba232.jpg","text":"TemporaryFile(/tmp/multipartBody6447500616549555411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272404329,"filename":"image_01012026_12_10_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d35e618a0fe408a88ff87051cc1e779.jpg","text":"TemporaryFile(/tmp/multipartBody8051619263214574403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272404329,"filename":"image_01012026_12_10_55_9898.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402020417","file1":"1402020380","file0":"1402020340","file4":"1402020496","file5":"1402020535","file3":"1402020455"},"map_files_photo_id_array":[{"photo_id":"1402020535","filename":"file5"},{"photo_id":"1402020417","filename":"file2"},{"photo_id":"1402020496","filename":"file4"},{"photo_id":"1402020380","filename":"file1"},{"photo_id":"1402020340","filename":"file0"},{"photo_id":"1402020455","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402020417":["hashtag1","hashtag2"]},{"1402020380":["hashtag1","hashtag2"]},{"1402020455":["hashtag1","hashtag2"]},{"1402020496":["hashtag1","hashtag2"]},{"1402020340":["hashtag1","hashtag2"]},{"1402020535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402020417, 1402020380, 1402020455, 1402020496, 1402020340, 1402020535)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.32770872116089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:00:02.900631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/10/image_01012026_12_11_05_9730.jpg', '/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_15_9982.jpg', '/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_26_10709.jpg', '/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_36_9862.jpg', '/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_45_9667.jpg', '/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_55_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/10/image_01012026_12_11_05_9730.jpg
/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_15_9982.jpg
/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_26_10709.jpg
/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_36_9862.jpg
/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_45_9667.jpg
/home/pi/Desktop/images/01012026/12/11/image_01012026_12_11_55_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":["1402021034","1402021180","1402021327","1402021105","1402021254","1402021401"],"photo_ids_order":["1402021034","1402021105","1402021180","1402021254","1402021327","1402021401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b3452d34992ce0fa4ff418a4db685f7.jpg","text":"TemporaryFile(/tmp/multipartBody3386355028849527776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272463634,"filename":"image_01012026_12_11_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f80d0558f93c53e8598ac647c3f62db.jpg","text":"TemporaryFile(/tmp/multipartBody4012551189236065010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272463634,"filename":"image_01012026_12_11_26_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85d4758d1e91bde3529ce1e90d772d82.jpg","text":"TemporaryFile(/tmp/multipartBody7340867189559185880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272463634,"filename":"image_01012026_12_11_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a788392c19ec3ed97caee31296a5795.jpg","text":"TemporaryFile(/tmp/multipartBody2200223050521391847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272463634,"filename":"image_01012026_12_11_15_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7c33890475455639fd422ee8bf36f8e.jpg","text":"TemporaryFile(/tmp/multipartBody4237324347187106990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272463634,"filename":"image_01012026_12_11_36_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcfe46356a0b3e5002bf3a4112f7f497.jpg","text":"TemporaryFile(/tmp/multipartBody7693666567845995733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272463634,"filename":"image_01012026_12_11_55_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402021180","file1":"1402021105","file0":"1402021034","file4":"1402021327","file5":"1402021401","file3":"1402021254"},"map_files_photo_id_array":[{"photo_id":"1402021401","filename":"file5"},{"photo_id":"1402021180","filename":"file2"},{"photo_id":"1402021327","filename":"file4"},{"photo_id":"1402021105","filename":"file1"},{"photo_id":"1402021034","filename":"file0"},{"photo_id":"1402021254","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402021034":["hashtag1","hashtag2"]},{"1402021180":["hashtag1","hashtag2"]},{"1402021327":["hashtag1","hashtag2"]},{"1402021105":["hashtag1","hashtag2"]},{"1402021254":["hashtag1","hashtag2"]},{"1402021401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402021034, 1402021180, 1402021327, 1402021105, 1402021254, 1402021401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40484547615051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:00:42.518750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_37_2629.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_40_2696.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_43_3565.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_46_2839.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_49_2705.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_53_3561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_37_2629.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_40_2696.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_43_3565.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_46_2839.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_49_2705.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_53_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":["1402021859","1402021748","1402021783","1402021714","1402021818","1402021673"],"photo_ids_order":["1402021673","1402021714","1402021748","1402021783","1402021818","1402021859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fad89c04b6a88c0b238de318bce00fa8.jpg","text":"TemporaryFile(/tmp/multipartBody1264085324082703276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272504402,"filename":"image_04112025_17_08_53_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea49aeb6d55d21440b3093948a64fd79.jpg","text":"TemporaryFile(/tmp/multipartBody1017639563781356454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272504402,"filename":"image_04112025_17_08_43_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c5f3b34d05852aae2fd5253c35ff41e.jpg","text":"TemporaryFile(/tmp/multipartBody2713097351551779937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272504402,"filename":"image_04112025_17_08_46_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06aef2a0e3e9b0544fd03c3cacbf7880.jpg","text":"TemporaryFile(/tmp/multipartBody4396637999460026994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272504402,"filename":"image_04112025_17_08_40_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfb53ec605ffa6badca3c5c9ab737473.jpg","text":"TemporaryFile(/tmp/multipartBody6518863661474013953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272504402,"filename":"image_04112025_17_08_49_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46804c6479ae0ea65b6420562f822858.jpg","text":"TemporaryFile(/tmp/multipartBody8336766151769638424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272504402,"filename":"image_04112025_17_08_37_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402021748","file1":"1402021714","file0":"1402021673","file4":"1402021818","file5":"1402021859","file3":"1402021783"},"map_files_photo_id_array":[{"photo_id":"1402021859","filename":"file5"},{"photo_id":"1402021748","filename":"file2"},{"photo_id":"1402021818","filename":"file4"},{"photo_id":"1402021714","filename":"file1"},{"photo_id":"1402021673","filename":"file0"},{"photo_id":"1402021783","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402021859":["hashtag1","hashtag2"]},{"1402021748":["hashtag1","hashtag2"]},{"1402021783":["hashtag1","hashtag2"]},{"1402021714":["hashtag1","hashtag2"]},{"1402021818":["hashtag1","hashtag2"]},{"1402021673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402021859, 1402021748, 1402021783, 1402021714, 1402021818, 1402021673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10677790641785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:01:22.646111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/11/image_01012026_12_12_05_10216.jpg', '/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_16_10759.jpg', '/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_26_9615.jpg', '/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_35_9768.jpg', '/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_45_9756.jpg', '/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_56_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/11/image_01012026_12_12_05_10216.jpg
/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_16_10759.jpg
/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_26_9615.jpg
/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_35_9768.jpg
/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_45_9756.jpg
/home/pi/Desktop/images/01012026/12/12/image_01012026_12_12_56_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402021958","1402021922","1402021999","1402022107","1402022034","1402022069"],"photo_ids_order":["1402021922","1402021958","1402021999","1402022034","1402022069","1402022107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c859a1ac5811dced315db60acd93307.jpg","text":"TemporaryFile(/tmp/multipartBody13679927266383405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272543388,"filename":"image_01012026_12_12_16_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3722a79ca41ae3854145b3dd509b4fa8.jpg","text":"TemporaryFile(/tmp/multipartBody790817560258007184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272543388,"filename":"image_01012026_12_12_05_10216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f315e9e1051c92a75f443939273b0ba.jpg","text":"TemporaryFile(/tmp/multipartBody5626404008473111509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272543388,"filename":"image_01012026_12_12_26_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3b66fd5938a0eef0e9b3e8a2960d24e.jpg","text":"TemporaryFile(/tmp/multipartBody2892397763101742506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272543388,"filename":"image_01012026_12_12_56_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/601f389dcedbba4ec38cbb188f6d15e1.jpg","text":"TemporaryFile(/tmp/multipartBody2489613717628246729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272543388,"filename":"image_01012026_12_12_35_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/183b83561e4ffc4c7d42980ba9c4c54d.jpg","text":"TemporaryFile(/tmp/multipartBody1300441681057509842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272543388,"filename":"image_01012026_12_12_45_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402021999","file1":"1402021958","file0":"1402021922","file4":"1402022069","file5":"1402022107","file3":"1402022034"},"map_files_photo_id_array":[{"photo_id":"1402022107","filename":"file5"},{"photo_id":"1402021999","filename":"file2"},{"photo_id":"1402022069","filename":"file4"},{"photo_id":"1402021958","filename":"file1"},{"photo_id":"1402021922","filename":"file0"},{"photo_id":"1402022034","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402021958":["hashtag1","hashtag2"]},{"1402021922":["hashtag1","hashtag2"]},{"1402021999":["hashtag1","hashtag2"]},{"1402022107":["hashtag1","hashtag2"]},{"1402022034":["hashtag1","hashtag2"]},{"1402022069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402021958, 1402021922, 1402021999, 1402022107, 1402022034, 1402022069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04582738876343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:02:02.417037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/12/image_01012026_12_13_05_9340.jpg', '/home/pi/Desktop/images/01012026/12/13/image_01012026_12_13_26_9778.jpg', '/home/pi/Desktop/images/01012026/12/13/image_01012026_12_13_35_9387.jpg', '/home/pi/Desktop/images/01012026/12/13/image_01012026_12_13_46_10734.jpg', '/home/pi/Desktop/images/01012026/12/13/image_01012026_12_13_56_9824.jpg', '/home/pi/Desktop/images/01012026/12/13/image_01012026_12_14_06_10020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/12/image_01012026_12_13_05_9340.jpg
/home/pi/Desktop/images/01012026/12/13/image_01012026_12_13_26_9778.jpg
/home/pi/Desktop/images/01012026/12/13/image_01012026_12_13_35_9387.jpg
/home/pi/Desktop/images/01012026/12/13/image_01012026_12_13_46_10734.jpg
/home/pi/Desktop/images/01012026/12/13/image_01012026_12_13_56_9824.jpg
/home/pi/Desktop/images/01012026/12/13/image_01012026_12_14_06_10020.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022374","1402022410","1402022433","1402022252","1402022354","1402022315"],"photo_ids_order":["1402022252","1402022315","1402022354","1402022374","1402022410","1402022433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5eb0c07fb2ad58e8a7576bdec41397b5.jpg","text":"TemporaryFile(/tmp/multipartBody171515779821125755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272583148,"filename":"image_01012026_12_13_46_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3dcf311a6de1bf8824634f8eef302c00.jpg","text":"TemporaryFile(/tmp/multipartBody5522905830250348124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272583148,"filename":"image_01012026_12_13_56_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/542f0e33ade9b2d9d284f7ac2b55593e.jpg","text":"TemporaryFile(/tmp/multipartBody6061867697065463504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272583148,"filename":"image_01012026_12_14_06_10020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/178b3e17ca28d764c7bd0f1b477e6b88.jpg","text":"TemporaryFile(/tmp/multipartBody4580914581206421644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272583148,"filename":"image_01012026_12_13_05_9340.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71da2f2981ce135404fb3e4f07154669.jpg","text":"TemporaryFile(/tmp/multipartBody8090074168677957755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272583148,"filename":"image_01012026_12_13_35_9387.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24eeb39dd46beed71bf992503bbef794.jpg","text":"TemporaryFile(/tmp/multipartBody1937011189264945051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272583148,"filename":"image_01012026_12_13_26_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022354","file1":"1402022315","file0":"1402022252","file4":"1402022410","file5":"1402022433","file3":"1402022374"},"map_files_photo_id_array":[{"photo_id":"1402022433","filename":"file5"},{"photo_id":"1402022354","filename":"file2"},{"photo_id":"1402022410","filename":"file4"},{"photo_id":"1402022315","filename":"file1"},{"photo_id":"1402022252","filename":"file0"},{"photo_id":"1402022374","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022374":["hashtag1","hashtag2"]},{"1402022410":["hashtag1","hashtag2"]},{"1402022433":["hashtag1","hashtag2"]},{"1402022252":["hashtag1","hashtag2"]},{"1402022354":["hashtag1","hashtag2"]},{"1402022315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022374, 1402022410, 1402022433, 1402022252, 1402022354, 1402022315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.662822246551514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:02:42.042871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_55_2510.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_58_2656.jpg', '/home/pi/Desktop/images/04112025/17/08/image_04112025_17_09_01_3717.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_04_2614.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_08_3509.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_10_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_55_2510.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_08_58_2656.jpg
/home/pi/Desktop/images/04112025/17/08/image_04112025_17_09_01_3717.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_04_2614.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_08_3509.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_10_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":["1402022494","1402022493","1402022496","1402022481","1402022495","1402022489"],"photo_ids_order":["1402022481","1402022489","1402022493","1402022494","1402022495","1402022496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1251d075c894eb6d9416b39dea6ce01.jpg","text":"TemporaryFile(/tmp/multipartBody4024920212026612886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272623942,"filename":"image_04112025_17_09_04_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/131cb0f66e2b0cfcb6fe4304d143b687.jpg","text":"TemporaryFile(/tmp/multipartBody8648661781744145791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272623942,"filename":"image_04112025_17_09_01_3717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4ec77f166e217af2a7a176448638df8.jpg","text":"TemporaryFile(/tmp/multipartBody8794372761222607835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272623942,"filename":"image_04112025_17_09_10_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4a2fab98c3b5cda5dbd048091fa47c3.jpg","text":"TemporaryFile(/tmp/multipartBody4793852336107938346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272623942,"filename":"image_04112025_17_08_55_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e9da38bbe6b6104b790bb93fcef61ea.jpg","text":"TemporaryFile(/tmp/multipartBody7320233011130305153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272623942,"filename":"image_04112025_17_09_08_3509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fe117dcdf4e6484ebce75229844276a.jpg","text":"TemporaryFile(/tmp/multipartBody2274857230851486859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272623942,"filename":"image_04112025_17_08_58_2656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022493","file1":"1402022489","file0":"1402022481","file4":"1402022495","file5":"1402022496","file3":"1402022494"},"map_files_photo_id_array":[{"photo_id":"1402022496","filename":"file5"},{"photo_id":"1402022493","filename":"file2"},{"photo_id":"1402022495","filename":"file4"},{"photo_id":"1402022489","filename":"file1"},{"photo_id":"1402022481","filename":"file0"},{"photo_id":"1402022494","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022494":["hashtag1","hashtag2"]},{"1402022493":["hashtag1","hashtag2"]},{"1402022496":["hashtag1","hashtag2"]},{"1402022481":["hashtag1","hashtag2"]},{"1402022495":["hashtag1","hashtag2"]},{"1402022489":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022494, 1402022493, 1402022496, 1402022481, 1402022495, 1402022489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.245179653167725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:03:22.226601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_15_9741.jpg', '/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_25_9756.jpg', '/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_35_10297.jpg', '/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_45_9588.jpg', '/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_56_10710.jpg', '/home/pi/Desktop/images/01012026/12/14/image_01012026_12_15_05_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_15_9741.jpg
/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_25_9756.jpg
/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_35_10297.jpg
/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_45_9588.jpg
/home/pi/Desktop/images/01012026/12/14/image_01012026_12_14_56_10710.jpg
/home/pi/Desktop/images/01012026/12/14/image_01012026_12_15_05_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":["1402022506","1402022500","1402022508","1402022502","1402022498","1402022504"],"photo_ids_order":["1402022498","1402022500","1402022502","1402022504","1402022506","1402022508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5ff78803e10733a4d8a46f5742d5a14.jpg","text":"TemporaryFile(/tmp/multipartBody9127820548015430117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272662928,"filename":"image_01012026_12_14_56_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c144d8cee3882363317d02eb6bcd707.jpg","text":"TemporaryFile(/tmp/multipartBody8288272964370503480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272662928,"filename":"image_01012026_12_14_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ee99c9d8956c4c2601e7d92ccdc241b.jpg","text":"TemporaryFile(/tmp/multipartBody6443355366793542540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272662928,"filename":"image_01012026_12_15_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9e36f43abbae94537b4421e24c9eb4f.jpg","text":"TemporaryFile(/tmp/multipartBody9000139015582880646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272662928,"filename":"image_01012026_12_14_35_10297.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9eaac1ea81f20117fb3ad8904dd2a50e.jpg","text":"TemporaryFile(/tmp/multipartBody1154199621978272221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272662928,"filename":"image_01012026_12_14_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5084b975d2a7878b5054ad0b91fef775.jpg","text":"TemporaryFile(/tmp/multipartBody7921476239683981014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272662928,"filename":"image_01012026_12_14_45_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022502","file1":"1402022500","file0":"1402022498","file4":"1402022506","file5":"1402022508","file3":"1402022504"},"map_files_photo_id_array":[{"photo_id":"1402022508","filename":"file5"},{"photo_id":"1402022502","filename":"file2"},{"photo_id":"1402022506","filename":"file4"},{"photo_id":"1402022500","filename":"file1"},{"photo_id":"1402022498","filename":"file0"},{"photo_id":"1402022504","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022506":["hashtag1","hashtag2"]},{"1402022500":["hashtag1","hashtag2"]},{"1402022508":["hashtag1","hashtag2"]},{"1402022502":["hashtag1","hashtag2"]},{"1402022498":["hashtag1","hashtag2"]},{"1402022504":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022506, 1402022500, 1402022508, 1402022502, 1402022498, 1402022504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86363744735718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:04:03.139262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_15_9797.jpg', '/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_26_10575.jpg', '/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_35_9755.jpg', '/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_45_9731.jpg', '/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_55_9756.jpg', '/home/pi/Desktop/images/01012026/12/15/image_01012026_12_16_06_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_15_9797.jpg
/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_26_10575.jpg
/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_35_9755.jpg
/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_45_9731.jpg
/home/pi/Desktop/images/01012026/12/15/image_01012026_12_15_55_9756.jpg
/home/pi/Desktop/images/01012026/12/15/image_01012026_12_16_06_10722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022515","1402022512","1402022509","1402022511","1402022510","1402022513"],"photo_ids_order":["1402022509","1402022510","1402022511","1402022512","1402022513","1402022515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06c383dfa977653851fd87e554234362.jpg","text":"TemporaryFile(/tmp/multipartBody1245151854470393664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272703943,"filename":"image_01012026_12_16_06_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56b294eafb90eacd45fcf65e19fec4cc.jpg","text":"TemporaryFile(/tmp/multipartBody4678634896828117545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272703943,"filename":"image_01012026_12_15_45_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af00e970075361befc6d458752cdc2b4.jpg","text":"TemporaryFile(/tmp/multipartBody4281621228171306255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272703943,"filename":"image_01012026_12_15_15_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16eee5b0341e862c54ccf9f683f98ab1.jpg","text":"TemporaryFile(/tmp/multipartBody3193794117330656503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272703943,"filename":"image_01012026_12_15_35_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbf1e6fb5689dbddc9342398de8f9241.jpg","text":"TemporaryFile(/tmp/multipartBody2077557552978957262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272703943,"filename":"image_01012026_12_15_26_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22bec860f786946161e84c48e640ed53.jpg","text":"TemporaryFile(/tmp/multipartBody9028000772169880441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272703943,"filename":"image_01012026_12_15_55_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022511","file1":"1402022510","file0":"1402022509","file4":"1402022513","file5":"1402022515","file3":"1402022512"},"map_files_photo_id_array":[{"photo_id":"1402022515","filename":"file5"},{"photo_id":"1402022511","filename":"file2"},{"photo_id":"1402022513","filename":"file4"},{"photo_id":"1402022510","filename":"file1"},{"photo_id":"1402022509","filename":"file0"},{"photo_id":"1402022512","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022515":["hashtag1","hashtag2"]},{"1402022512":["hashtag1","hashtag2"]},{"1402022509":["hashtag1","hashtag2"]},{"1402022511":["hashtag1","hashtag2"]},{"1402022510":["hashtag1","hashtag2"]},{"1402022513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022515, 1402022512, 1402022509, 1402022511, 1402022510, 1402022513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52700662612915 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
2026-01-01 14:05:03.218794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_16_9975.jpg', '/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_25_9682.jpg', '/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_35_9705.jpg', '/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_46_10601.jpg', '/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_56_9946.jpg', '/home/pi/Desktop/images/01012026/12/16/image_01012026_12_17_05_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_16_9975.jpg
/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_25_9682.jpg
/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_35_9705.jpg
/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_46_10601.jpg
/home/pi/Desktop/images/01012026/12/16/image_01012026_12_16_56_9946.jpg
/home/pi/Desktop/images/01012026/12/16/image_01012026_12_17_05_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":["1402022527","1402022526","1402022529","1402022531","1402022525","1402022528"],"photo_ids_order":["1402022525","1402022526","1402022527","1402022528","1402022529","1402022531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2961691f578870a6e2f3cda877599bcc.jpg","text":"TemporaryFile(/tmp/multipartBody7180462902202663455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272764002,"filename":"image_01012026_12_16_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e13c27636d2e3d6d77495d48de09c285.jpg","text":"TemporaryFile(/tmp/multipartBody8844931093363916712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272764002,"filename":"image_01012026_12_16_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4426cc08b7f7d7669035b5782c376d4c.jpg","text":"TemporaryFile(/tmp/multipartBody1068364206824981560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272764002,"filename":"image_01012026_12_16_56_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c951f34fed177f5f62412503fe51e92f.jpg","text":"TemporaryFile(/tmp/multipartBody4931604758677267430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272764002,"filename":"image_01012026_12_17_05_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c019678bbe7eafaf5c598c8fc7f6d60a.jpg","text":"TemporaryFile(/tmp/multipartBody6040833288759934386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272764002,"filename":"image_01012026_12_16_16_9975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cc92ef8f35f13588a6432e99e2e2fbe.jpg","text":"TemporaryFile(/tmp/multipartBody2129989121699039487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272764002,"filename":"image_01012026_12_16_46_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022527","file1":"1402022526","file0":"1402022525","file4":"1402022529","file5":"1402022531","file3":"1402022528"},"map_files_photo_id_array":[{"photo_id":"1402022531","filename":"file5"},{"photo_id":"1402022527","filename":"file2"},{"photo_id":"1402022529","filename":"file4"},{"photo_id":"1402022526","filename":"file1"},{"photo_id":"1402022525","filename":"file0"},{"photo_id":"1402022528","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022527":["hashtag1","hashtag2"]},{"1402022526":["hashtag1","hashtag2"]},{"1402022529":["hashtag1","hashtag2"]},{"1402022531":["hashtag1","hashtag2"]},{"1402022525":["hashtag1","hashtag2"]},{"1402022528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022527, 1402022526, 1402022529, 1402022531, 1402022525, 1402022528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.789411544799805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:05:42.598795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_13_2638.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_16_3633.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_19_2754.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_22_2899.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_25_2734.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_28_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_13_2638.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_16_3633.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_19_2754.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_22_2899.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_25_2734.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_28_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022551","1402022548","1402022536","1402022550","1402022553","1402022549"],"photo_ids_order":["1402022536","1402022548","1402022549","1402022550","1402022551","1402022553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2328cda4c8f0cb20295a0b24d6c62d09.jpg","text":"TemporaryFile(/tmp/multipartBody926374432419135064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272804510,"filename":"image_04112025_17_09_25_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9a953d6eadb294196a871c5cd2ed6e5.jpg","text":"TemporaryFile(/tmp/multipartBody687068384453091700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272804510,"filename":"image_04112025_17_09_16_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34c49f040d1a001aca9024744a2e2787.jpg","text":"TemporaryFile(/tmp/multipartBody4778301928431012263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272804510,"filename":"image_04112025_17_09_13_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c097c2d7ab265948ed3c8d6b9430d20.jpg","text":"TemporaryFile(/tmp/multipartBody2516058668986997641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272804510,"filename":"image_04112025_17_09_22_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/194dc1d8a69c587a500293b52582ae44.jpg","text":"TemporaryFile(/tmp/multipartBody8580496953644290820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272804510,"filename":"image_04112025_17_09_28_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12682daa02a2b8bb5ab7f47b0f467ebb.jpg","text":"TemporaryFile(/tmp/multipartBody2234873791241263013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272804510,"filename":"image_04112025_17_09_19_2754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022549","file1":"1402022548","file0":"1402022536","file4":"1402022551","file5":"1402022553","file3":"1402022550"},"map_files_photo_id_array":[{"photo_id":"1402022553","filename":"file5"},{"photo_id":"1402022549","filename":"file2"},{"photo_id":"1402022551","filename":"file4"},{"photo_id":"1402022548","filename":"file1"},{"photo_id":"1402022536","filename":"file0"},{"photo_id":"1402022550","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022551":["hashtag1","hashtag2"]},{"1402022548":["hashtag1","hashtag2"]},{"1402022536":["hashtag1","hashtag2"]},{"1402022550":["hashtag1","hashtag2"]},{"1402022553":["hashtag1","hashtag2"]},{"1402022549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022551, 1402022548, 1402022536, 1402022550, 1402022553, 1402022549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33063721656799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:06:22.789370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_15_10122.jpg', '/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_25_9829.jpg', '/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_35_9766.jpg', '/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_46_10782.jpg', '/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_56_9851.jpg', '/home/pi/Desktop/images/01012026/12/18/image_01012026_12_18_15_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_15_10122.jpg
/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_25_9829.jpg
/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_35_9766.jpg
/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_46_10782.jpg
/home/pi/Desktop/images/01012026/12/17/image_01012026_12_17_56_9851.jpg
/home/pi/Desktop/images/01012026/12/18/image_01012026_12_18_15_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":["1402022560","1402022563","1402022562","1402022556","1402022567","1402022558"],"photo_ids_order":["1402022556","1402022558","1402022560","1402022562","1402022563","1402022567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc0765e947f48da2c20774ad55613628.jpg","text":"TemporaryFile(/tmp/multipartBody1482207499027449820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272843501,"filename":"image_01012026_12_17_35_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/551b871c9ad100c467a3805e5f0b296b.jpg","text":"TemporaryFile(/tmp/multipartBody8183941378207183847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272843501,"filename":"image_01012026_12_17_56_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/908f81222ff0113e1d31b08c9b0ad09a.jpg","text":"TemporaryFile(/tmp/multipartBody3482958754625081006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272843501,"filename":"image_01012026_12_17_46_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3cce1d66a59b139d270b85c8366f8da.jpg","text":"TemporaryFile(/tmp/multipartBody2664606844823280998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272843501,"filename":"image_01012026_12_17_15_10122.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce18ddc88c70527c3ee8f307a6eff6f5.jpg","text":"TemporaryFile(/tmp/multipartBody6472830325043999675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272843501,"filename":"image_01012026_12_18_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f48de1672dd899a453b5a4a13942209.jpg","text":"TemporaryFile(/tmp/multipartBody4555827346211999998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272843501,"filename":"image_01012026_12_17_25_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022560","file1":"1402022558","file0":"1402022556","file4":"1402022563","file5":"1402022567","file3":"1402022562"},"map_files_photo_id_array":[{"photo_id":"1402022567","filename":"file5"},{"photo_id":"1402022560","filename":"file2"},{"photo_id":"1402022563","filename":"file4"},{"photo_id":"1402022558","filename":"file1"},{"photo_id":"1402022556","filename":"file0"},{"photo_id":"1402022562","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022560":["hashtag1","hashtag2"]},{"1402022563":["hashtag1","hashtag2"]},{"1402022562":["hashtag1","hashtag2"]},{"1402022556":["hashtag1","hashtag2"]},{"1402022567":["hashtag1","hashtag2"]},{"1402022558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022560, 1402022563, 1402022562, 1402022556, 1402022567, 1402022558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.493693828582764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:07:02.607511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/18/image_01012026_12_18_35_9697.jpg', '/home/pi/Desktop/images/01012026/12/18/image_01012026_12_18_45_9687.jpg', '/home/pi/Desktop/images/01012026/12/18/image_01012026_12_18_56_10608.jpg', '/home/pi/Desktop/images/01012026/12/18/image_01012026_12_19_06_9796.jpg', '/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_15_9788.jpg', '/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_25_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/18/image_01012026_12_18_35_9697.jpg
/home/pi/Desktop/images/01012026/12/18/image_01012026_12_18_45_9687.jpg
/home/pi/Desktop/images/01012026/12/18/image_01012026_12_18_56_10608.jpg
/home/pi/Desktop/images/01012026/12/18/image_01012026_12_19_06_9796.jpg
/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_15_9788.jpg
/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_25_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022572","1402022569","1402022574","1402022571","1402022568","1402022570"],"photo_ids_order":["1402022568","1402022569","1402022570","1402022571","1402022572","1402022574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4085c72bfa28df39e28f918ffacc3524.jpg","text":"TemporaryFile(/tmp/multipartBody5973818594462444812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272883373,"filename":"image_01012026_12_19_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b745b75cf512e8e6de185087b96265e.jpg","text":"TemporaryFile(/tmp/multipartBody7985084352175311641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272883373,"filename":"image_01012026_12_18_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c422674705d71d8a6cf5df0aba13df26.jpg","text":"TemporaryFile(/tmp/multipartBody2975164805241410212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272883373,"filename":"image_01012026_12_19_25_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd7f3451dc267a730c54bf370adf783b.jpg","text":"TemporaryFile(/tmp/multipartBody4488235396865562380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272883373,"filename":"image_01012026_12_19_06_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f31c139132d19969d79c5f0c8a96e4c.jpg","text":"TemporaryFile(/tmp/multipartBody4861650650233428913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272883373,"filename":"image_01012026_12_18_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a71c52febfd73e85527c18253aa33616.jpg","text":"TemporaryFile(/tmp/multipartBody6703941179434989870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272883373,"filename":"image_01012026_12_18_56_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022570","file1":"1402022569","file0":"1402022568","file4":"1402022572","file5":"1402022574","file3":"1402022571"},"map_files_photo_id_array":[{"photo_id":"1402022574","filename":"file5"},{"photo_id":"1402022570","filename":"file2"},{"photo_id":"1402022572","filename":"file4"},{"photo_id":"1402022569","filename":"file1"},{"photo_id":"1402022568","filename":"file0"},{"photo_id":"1402022571","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022572":["hashtag1","hashtag2"]},{"1402022569":["hashtag1","hashtag2"]},{"1402022574":["hashtag1","hashtag2"]},{"1402022571":["hashtag1","hashtag2"]},{"1402022568":["hashtag1","hashtag2"]},{"1402022570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022572, 1402022569, 1402022574, 1402022571, 1402022568, 1402022570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13413667678833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:07:42.072607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_31_2695.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_34_2608.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_37_3645.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_40_2807.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_43_2669.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_46_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_31_2695.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_34_2608.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_37_3645.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_40_2807.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_43_2669.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_46_2667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022584","1402022587","1402022580","1402022583","1402022586","1402022585"],"photo_ids_order":["1402022580","1402022583","1402022584","1402022585","1402022586","1402022587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d0735fbe65feb990714a8b26d99d30f.jpg","text":"TemporaryFile(/tmp/multipartBody7525197913713661007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272923953,"filename":"image_04112025_17_09_37_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20a5fb8c7fa14d715985c4f00e90fd7d.jpg","text":"TemporaryFile(/tmp/multipartBody5846869805686593483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272923953,"filename":"image_04112025_17_09_46_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfd330e1089951e1e8c30cb3ba99a6e6.jpg","text":"TemporaryFile(/tmp/multipartBody4819314938383655386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272923953,"filename":"image_04112025_17_09_31_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d70f3e183c290d75df281dc14afad3d.jpg","text":"TemporaryFile(/tmp/multipartBody2756466624241603961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272923953,"filename":"image_04112025_17_09_34_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/377222c57fce75180284231ff07633e1.jpg","text":"TemporaryFile(/tmp/multipartBody235013613876691918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272923953,"filename":"image_04112025_17_09_43_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a6d00483014e43b7ef3f11cd8ade5f3.jpg","text":"TemporaryFile(/tmp/multipartBody4244111692548246233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272923953,"filename":"image_04112025_17_09_40_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022584","file1":"1402022583","file0":"1402022580","file4":"1402022586","file5":"1402022587","file3":"1402022585"},"map_files_photo_id_array":[{"photo_id":"1402022587","filename":"file5"},{"photo_id":"1402022584","filename":"file2"},{"photo_id":"1402022586","filename":"file4"},{"photo_id":"1402022583","filename":"file1"},{"photo_id":"1402022580","filename":"file0"},{"photo_id":"1402022585","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022584":["hashtag1","hashtag2"]},{"1402022587":["hashtag1","hashtag2"]},{"1402022580":["hashtag1","hashtag2"]},{"1402022583":["hashtag1","hashtag2"]},{"1402022586":["hashtag1","hashtag2"]},{"1402022585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022584, 1402022587, 1402022580, 1402022583, 1402022586, 1402022585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37745976448059 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:08:22.227901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_35_9696.jpg', '/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_46_10814.jpg', '/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_56_9913.jpg', '/home/pi/Desktop/images/01012026/12/19/image_01012026_12_20_05_9538.jpg', '/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_16_10683.jpg', '/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_25_9315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_35_9696.jpg
/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_46_10814.jpg
/home/pi/Desktop/images/01012026/12/19/image_01012026_12_19_56_9913.jpg
/home/pi/Desktop/images/01012026/12/19/image_01012026_12_20_05_9538.jpg
/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_16_10683.jpg
/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_25_9315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022600","1402022593","1402022595","1402022589","1402022591","1402022597"],"photo_ids_order":["1402022589","1402022591","1402022593","1402022595","1402022597","1402022600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a947c1e2a2ade9e0c68fe26d4519f038.jpg","text":"TemporaryFile(/tmp/multipartBody298469331940580542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272962988,"filename":"image_01012026_12_20_25_9315.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c636fb791035fd9b353d24e7d92f1195.jpg","text":"TemporaryFile(/tmp/multipartBody5037550062840204371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272962988,"filename":"image_01012026_12_19_56_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4d9eedf79d5d584e9271a65a0e09e2d.jpg","text":"TemporaryFile(/tmp/multipartBody6156188447705369446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272962988,"filename":"image_01012026_12_20_05_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9b288d54c8f2c2ef5e749bf0445f695.jpg","text":"TemporaryFile(/tmp/multipartBody3216309452671672119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272962988,"filename":"image_01012026_12_19_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a3655cff5748ed74b79c9414a20e359.jpg","text":"TemporaryFile(/tmp/multipartBody268999987639562067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272962988,"filename":"image_01012026_12_19_46_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41d62bd09e71836f4e09e16b0aa4d291.jpg","text":"TemporaryFile(/tmp/multipartBody8653589994049726978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767272962988,"filename":"image_01012026_12_20_16_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022593","file1":"1402022591","file0":"1402022589","file4":"1402022597","file5":"1402022600","file3":"1402022595"},"map_files_photo_id_array":[{"photo_id":"1402022600","filename":"file5"},{"photo_id":"1402022593","filename":"file2"},{"photo_id":"1402022597","filename":"file4"},{"photo_id":"1402022591","filename":"file1"},{"photo_id":"1402022589","filename":"file0"},{"photo_id":"1402022595","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022600":["hashtag1","hashtag2"]},{"1402022593":["hashtag1","hashtag2"]},{"1402022595":["hashtag1","hashtag2"]},{"1402022589":["hashtag1","hashtag2"]},{"1402022591":["hashtag1","hashtag2"]},{"1402022597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022600, 1402022593, 1402022595, 1402022589, 1402022591, 1402022597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.434136152267456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:09:03.349435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_36_10673.jpg', '/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_46_9901.jpg', '/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_55_9381.jpg', '/home/pi/Desktop/images/01012026/12/20/image_01012026_12_21_06_10593.jpg', '/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_15_9678.jpg', '/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_25_10000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_36_10673.jpg
/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_46_9901.jpg
/home/pi/Desktop/images/01012026/12/20/image_01012026_12_20_55_9381.jpg
/home/pi/Desktop/images/01012026/12/20/image_01012026_12_21_06_10593.jpg
/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_15_9678.jpg
/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_25_10000.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022615","1402022614","1402022613","1402022616","1402022618","1402022612"],"photo_ids_order":["1402022612","1402022613","1402022614","1402022615","1402022616","1402022618"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56823ed6858f3373a205e771dc52f425.jpg","text":"TemporaryFile(/tmp/multipartBody127223737051992324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273004345,"filename":"image_01012026_12_21_06_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/997e56cd380cd1aea3a2233b2ede32f4.jpg","text":"TemporaryFile(/tmp/multipartBody1180127143978738496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273004345,"filename":"image_01012026_12_20_55_9381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/947a1b1bb143c0c020def09db158ca09.jpg","text":"TemporaryFile(/tmp/multipartBody6067974044161404393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273004345,"filename":"image_01012026_12_20_46_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abeac8570d730fcc21af1a8e7c479a6b.jpg","text":"TemporaryFile(/tmp/multipartBody5241655882880025900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273004345,"filename":"image_01012026_12_21_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d5d0d9044afddc62d252e5eca7ed243.jpg","text":"TemporaryFile(/tmp/multipartBody2844605053931358264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273004345,"filename":"image_01012026_12_21_25_10000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b4dbb2c1d129d40b7f6db92f2a43ff0.jpg","text":"TemporaryFile(/tmp/multipartBody2650353524794270589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273004345,"filename":"image_01012026_12_20_36_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022614","file1":"1402022613","file0":"1402022612","file4":"1402022616","file5":"1402022618","file3":"1402022615"},"map_files_photo_id_array":[{"photo_id":"1402022618","filename":"file5"},{"photo_id":"1402022614","filename":"file2"},{"photo_id":"1402022616","filename":"file4"},{"photo_id":"1402022613","filename":"file1"},{"photo_id":"1402022612","filename":"file0"},{"photo_id":"1402022615","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022615":["hashtag1","hashtag2"]},{"1402022614":["hashtag1","hashtag2"]},{"1402022613":["hashtag1","hashtag2"]},{"1402022616":["hashtag1","hashtag2"]},{"1402022618":["hashtag1","hashtag2"]},{"1402022612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022615, 1402022614, 1402022613, 1402022616, 1402022618, 1402022612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63787841796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:09:42.502543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_49_3660.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_52_2814.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_55_2625.jpg', '/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_58_3659.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_08_3011.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_11_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_49_3660.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_52_2814.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_55_2625.jpg
/home/pi/Desktop/images/04112025/17/09/image_04112025_17_09_58_3659.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_08_3011.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_11_3686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022632","1402022626","1402022629","1402022628","1402022624","1402022627"],"photo_ids_order":["1402022624","1402022626","1402022627","1402022628","1402022629","1402022632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa543cf40eb680e2e372b619561464dd.jpg","text":"TemporaryFile(/tmp/multipartBody7059631649747125990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273044383,"filename":"image_04112025_17_10_11_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cb63da0eaee549928926bebdea51305.jpg","text":"TemporaryFile(/tmp/multipartBody5066126958013597693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273044383,"filename":"image_04112025_17_09_52_2814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de45e163d8854517efa924354b2a70a7.jpg","text":"TemporaryFile(/tmp/multipartBody5780642075235558567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273044383,"filename":"image_04112025_17_10_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/751e198589ae0dfc094b982ed483d7f1.jpg","text":"TemporaryFile(/tmp/multipartBody780440943182257131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273044383,"filename":"image_04112025_17_09_58_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88fe7912298539de11f1af6b777f9dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2452504129631156533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273044383,"filename":"image_04112025_17_09_49_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97160ad83c782a57b2bd518f665ad1f1.jpg","text":"TemporaryFile(/tmp/multipartBody8092707511931141447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273044383,"filename":"image_04112025_17_09_55_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022627","file1":"1402022626","file0":"1402022624","file4":"1402022629","file5":"1402022632","file3":"1402022628"},"map_files_photo_id_array":[{"photo_id":"1402022632","filename":"file5"},{"photo_id":"1402022627","filename":"file2"},{"photo_id":"1402022629","filename":"file4"},{"photo_id":"1402022626","filename":"file1"},{"photo_id":"1402022624","filename":"file0"},{"photo_id":"1402022628","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022632":["hashtag1","hashtag2"]},{"1402022626":["hashtag1","hashtag2"]},{"1402022629":["hashtag1","hashtag2"]},{"1402022628":["hashtag1","hashtag2"]},{"1402022624":["hashtag1","hashtag2"]},{"1402022627":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022632, 1402022626, 1402022629, 1402022628, 1402022624, 1402022627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16954207420349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:10:22.643342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_35_9777.jpg', '/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_45_9753.jpg', '/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_56_10830.jpg', '/home/pi/Desktop/images/01012026/12/21/image_01012026_12_22_06_9815.jpg', '/home/pi/Desktop/images/01012026/12/22/image_01012026_12_22_15_9770.jpg', '/home/pi/Desktop/images/01012026/12/22/image_01012026_12_22_25_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_35_9777.jpg
/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_45_9753.jpg
/home/pi/Desktop/images/01012026/12/21/image_01012026_12_21_56_10830.jpg
/home/pi/Desktop/images/01012026/12/21/image_01012026_12_22_06_9815.jpg
/home/pi/Desktop/images/01012026/12/22/image_01012026_12_22_15_9770.jpg
/home/pi/Desktop/images/01012026/12/22/image_01012026_12_22_25_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022635","1402022638","1402022640","1402022642","1402022636","1402022639"],"photo_ids_order":["1402022635","1402022636","1402022638","1402022639","1402022640","1402022642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41f4fdab3eec446bb71d758acc3f2812.jpg","text":"TemporaryFile(/tmp/multipartBody5564564232265316596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273083388,"filename":"image_01012026_12_21_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5669ab7f2acd92708df1c4bcf1aaea7.jpg","text":"TemporaryFile(/tmp/multipartBody7773272427932923502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273083388,"filename":"image_01012026_12_21_56_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e58bfa22da455abfc96c32c667b0b99.jpg","text":"TemporaryFile(/tmp/multipartBody4228342548465552250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273083388,"filename":"image_01012026_12_22_15_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6c92dcfb62215b76b08e77d8bec1379.jpg","text":"TemporaryFile(/tmp/multipartBody7844139318576522421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273083388,"filename":"image_01012026_12_22_25_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6118ab7daa2673ba63f6df5c3dcad2f.jpg","text":"TemporaryFile(/tmp/multipartBody1267084157251914368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273083388,"filename":"image_01012026_12_21_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/875c2925c5ed057906202e31a020c5c4.jpg","text":"TemporaryFile(/tmp/multipartBody8756084893102848904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273083388,"filename":"image_01012026_12_22_06_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022638","file1":"1402022636","file0":"1402022635","file4":"1402022640","file5":"1402022642","file3":"1402022639"},"map_files_photo_id_array":[{"photo_id":"1402022642","filename":"file5"},{"photo_id":"1402022638","filename":"file2"},{"photo_id":"1402022640","filename":"file4"},{"photo_id":"1402022636","filename":"file1"},{"photo_id":"1402022635","filename":"file0"},{"photo_id":"1402022639","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022635":["hashtag1","hashtag2"]},{"1402022638":["hashtag1","hashtag2"]},{"1402022640":["hashtag1","hashtag2"]},{"1402022642":["hashtag1","hashtag2"]},{"1402022636":["hashtag1","hashtag2"]},{"1402022639":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022635, 1402022638, 1402022640, 1402022642, 1402022636, 1402022639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.457910776138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:11:03.592843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/22/image_01012026_12_22_46_9749.jpg', '/home/pi/Desktop/images/01012026/12/22/image_01012026_12_22_56_9878.jpg', '/home/pi/Desktop/images/01012026/12/22/image_01012026_12_23_05_9720.jpg', '/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_15_9758.jpg', '/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_26_10838.jpg', '/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_35_9404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/22/image_01012026_12_22_46_9749.jpg
/home/pi/Desktop/images/01012026/12/22/image_01012026_12_22_56_9878.jpg
/home/pi/Desktop/images/01012026/12/22/image_01012026_12_23_05_9720.jpg
/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_15_9758.jpg
/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_26_10838.jpg
/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_35_9404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022644","1402022647","1402022646","1402022649","1402022651","1402022645"],"photo_ids_order":["1402022644","1402022645","1402022646","1402022647","1402022649","1402022651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/932c0fa4844aec668ed30ed6317229a0.jpg","text":"TemporaryFile(/tmp/multipartBody1645526041207397139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273124386,"filename":"image_01012026_12_22_46_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/196cb1bf963732a24e7d60e7ccf78e38.jpg","text":"TemporaryFile(/tmp/multipartBody1493412206709301168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273124386,"filename":"image_01012026_12_23_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f6f86a8a561dced463fb936df6e1cf2.jpg","text":"TemporaryFile(/tmp/multipartBody8395125812777631389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273124386,"filename":"image_01012026_12_23_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5a81c42fe482b594423380870469bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1106173481354959539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273124386,"filename":"image_01012026_12_23_26_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e84c9514dba0a2f8a5bb24f7339b70b.jpg","text":"TemporaryFile(/tmp/multipartBody1090469359357434070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273124386,"filename":"image_01012026_12_23_35_9404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49ea6516a8a9d6f4bdc6707242d6c04c.jpg","text":"TemporaryFile(/tmp/multipartBody1988773455941877311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273124386,"filename":"image_01012026_12_22_56_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022646","file1":"1402022645","file0":"1402022644","file4":"1402022649","file5":"1402022651","file3":"1402022647"},"map_files_photo_id_array":[{"photo_id":"1402022651","filename":"file5"},{"photo_id":"1402022646","filename":"file2"},{"photo_id":"1402022649","filename":"file4"},{"photo_id":"1402022645","filename":"file1"},{"photo_id":"1402022644","filename":"file0"},{"photo_id":"1402022647","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022644":["hashtag1","hashtag2"]},{"1402022647":["hashtag1","hashtag2"]},{"1402022646":["hashtag1","hashtag2"]},{"1402022649":["hashtag1","hashtag2"]},{"1402022651":["hashtag1","hashtag2"]},{"1402022645":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022644, 1402022647, 1402022646, 1402022649, 1402022651, 1402022645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.314419984817505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:11:42.833324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_14_2623.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_17_2690.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_20_3763.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_23_2688.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_26_2792.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_29_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_14_2623.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_17_2690.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_20_3763.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_23_2688.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_26_2792.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_29_3635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022671","1402022673","1402022670","1402022672","1402022669","1402022657"],"photo_ids_order":["1402022657","1402022669","1402022670","1402022671","1402022672","1402022673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/952f24e682c1998da81ce95100740b98.jpg","text":"TemporaryFile(/tmp/multipartBody2411931812642844179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273167693,"filename":"image_04112025_17_10_23_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17bdb58db76e82a58affeac22908eeda.jpg","text":"TemporaryFile(/tmp/multipartBody59887188516177007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273167693,"filename":"image_04112025_17_10_29_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df89ba607a35b41dd328aee19dcae10e.jpg","text":"TemporaryFile(/tmp/multipartBody743004695840272124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273167693,"filename":"image_04112025_17_10_20_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df2f5249412a0ada14fc758696ae2bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1506445777435580844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273167693,"filename":"image_04112025_17_10_26_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/701d45b3336d683c63cac05c9a0aada9.jpg","text":"TemporaryFile(/tmp/multipartBody5432483417262710296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273167693,"filename":"image_04112025_17_10_17_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/460e49587bb237dff50ed6d6655ea779.jpg","text":"TemporaryFile(/tmp/multipartBody6419303759086026978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273167693,"filename":"image_04112025_17_10_14_2623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022670","file1":"1402022669","file0":"1402022657","file4":"1402022672","file5":"1402022673","file3":"1402022671"},"map_files_photo_id_array":[{"photo_id":"1402022673","filename":"file5"},{"photo_id":"1402022670","filename":"file2"},{"photo_id":"1402022672","filename":"file4"},{"photo_id":"1402022669","filename":"file1"},{"photo_id":"1402022657","filename":"file0"},{"photo_id":"1402022671","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022671":["hashtag1","hashtag2"]},{"1402022673":["hashtag1","hashtag2"]},{"1402022670":["hashtag1","hashtag2"]},{"1402022672":["hashtag1","hashtag2"]},{"1402022669":["hashtag1","hashtag2"]},{"1402022657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022671, 1402022673, 1402022670, 1402022672, 1402022669, 1402022657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24211263656616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:12:31.902245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_32_2693.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_35_2525.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_38_3721.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_41_2743.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_44_2561.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_47_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_32_2693.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_35_2525.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_38_3721.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_41_2743.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_44_2561.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_47_3721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022683","1402022677","1402022685","1402022679","1402022684","1402022681"],"photo_ids_order":["1402022677","1402022679","1402022681","1402022683","1402022684","1402022685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13b7bf5d04309bfaf5c7a149eaf587ca.jpg","text":"TemporaryFile(/tmp/multipartBody5520669200606093797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273213699,"filename":"image_04112025_17_10_41_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41a91b3588a3168cbd594ef61db77d8a.jpg","text":"TemporaryFile(/tmp/multipartBody2755803066182583283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273213699,"filename":"image_04112025_17_10_32_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7dcc4ac3456e6cd612d29284c1d03552.jpg","text":"TemporaryFile(/tmp/multipartBody2009981787011267513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273213699,"filename":"image_04112025_17_10_47_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c71d20ad0ab2bfa68e693c8201450c87.jpg","text":"TemporaryFile(/tmp/multipartBody3497440597134669935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273213699,"filename":"image_04112025_17_10_35_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9f089d57ff8d2b57b786ab7d230bd36.jpg","text":"TemporaryFile(/tmp/multipartBody6911476553737540645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273213699,"filename":"image_04112025_17_10_44_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e5a9685feea97425dcbd939765f4907.jpg","text":"TemporaryFile(/tmp/multipartBody8756282846918295151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273213699,"filename":"image_04112025_17_10_38_3721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022681","file1":"1402022679","file0":"1402022677","file4":"1402022684","file5":"1402022685","file3":"1402022683"},"map_files_photo_id_array":[{"photo_id":"1402022685","filename":"file5"},{"photo_id":"1402022681","filename":"file2"},{"photo_id":"1402022684","filename":"file4"},{"photo_id":"1402022679","filename":"file1"},{"photo_id":"1402022677","filename":"file0"},{"photo_id":"1402022683","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022683":["hashtag1","hashtag2"]},{"1402022677":["hashtag1","hashtag2"]},{"1402022685":["hashtag1","hashtag2"]},{"1402022679":["hashtag1","hashtag2"]},{"1402022684":["hashtag1","hashtag2"]},{"1402022681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022683, 1402022677, 1402022685, 1402022679, 1402022684, 1402022681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.904133796691895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:13:12.156833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_50_2614.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_53_2775.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_56_3564.jpg', '/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_59_2514.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_05_3774.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_08_2637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_50_2614.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_53_2775.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_56_3564.jpg
/home/pi/Desktop/images/04112025/17/10/image_04112025_17_10_59_2514.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_05_3774.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_08_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":["1402022692","1402022686","1402022688","1402022690","1402022687","1402022695"],"photo_ids_order":["1402022686","1402022687","1402022688","1402022690","1402022692","1402022695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24a0ea2bc3cea12f8c2a28be379f8fee.jpg","text":"TemporaryFile(/tmp/multipartBody2997075515151336374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273253942,"filename":"image_04112025_17_11_05_3774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22d42855b1a2a6ffe61f224067f41110.jpg","text":"TemporaryFile(/tmp/multipartBody4068585154155430029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273253942,"filename":"image_04112025_17_10_50_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1503e3b82ab00f7ecd9572955d64c163.jpg","text":"TemporaryFile(/tmp/multipartBody1836251920008792004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273253942,"filename":"image_04112025_17_10_56_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e4867e0e260fc0c334ea6ed13dd2692.jpg","text":"TemporaryFile(/tmp/multipartBody879515008182533623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273253942,"filename":"image_04112025_17_10_59_2514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f469edb1eec4e1a8f99731b611d5a35.jpg","text":"TemporaryFile(/tmp/multipartBody6323760985853785472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273253942,"filename":"image_04112025_17_10_53_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8783babe3370716542b90a0af1255bf6.jpg","text":"TemporaryFile(/tmp/multipartBody1277140427898538474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273253942,"filename":"image_04112025_17_11_08_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022688","file1":"1402022687","file0":"1402022686","file4":"1402022692","file5":"1402022695","file3":"1402022690"},"map_files_photo_id_array":[{"photo_id":"1402022695","filename":"file5"},{"photo_id":"1402022688","filename":"file2"},{"photo_id":"1402022692","filename":"file4"},{"photo_id":"1402022687","filename":"file1"},{"photo_id":"1402022686","filename":"file0"},{"photo_id":"1402022690","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022692":["hashtag1","hashtag2"]},{"1402022686":["hashtag1","hashtag2"]},{"1402022688":["hashtag1","hashtag2"]},{"1402022690":["hashtag1","hashtag2"]},{"1402022687":["hashtag1","hashtag2"]},{"1402022695":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022692, 1402022686, 1402022688, 1402022690, 1402022687, 1402022695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98810815811157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:14:02.949475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_45_9866.jpg', '/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_56_10788.jpg', '/home/pi/Desktop/images/01012026/12/23/image_01012026_12_24_05_9096.jpg', '/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_16_10699.jpg', '/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_25_9618.jpg', '/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_36_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_45_9866.jpg
/home/pi/Desktop/images/01012026/12/23/image_01012026_12_23_56_10788.jpg
/home/pi/Desktop/images/01012026/12/23/image_01012026_12_24_05_9096.jpg
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_16_10699.jpg
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_25_9618.jpg
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_36_10587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022701","1402022704","1402022700","1402022699","1402022703","1402022705"],"photo_ids_order":["1402022699","1402022700","1402022701","1402022703","1402022704","1402022705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f786cdc7ccaa036d7edf5385a6bf0650.jpg","text":"TemporaryFile(/tmp/multipartBody3417005157812290158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273303864,"filename":"image_01012026_12_24_05_9096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ca3e1893cbb26de2604931f898b626e.jpg","text":"TemporaryFile(/tmp/multipartBody2002058204457954288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273303864,"filename":"image_01012026_12_24_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebdf1f106bbfc8d35f722d3d7d09d20f.jpg","text":"TemporaryFile(/tmp/multipartBody8698302347194292099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273303864,"filename":"image_01012026_12_23_56_10788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0efcbf762f1ff2e27f8b45089950ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7967618410713507042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273303864,"filename":"image_01012026_12_23_45_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac51eda9c287d4bf268121b40a85e759.jpg","text":"TemporaryFile(/tmp/multipartBody8596421540926363004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273303864,"filename":"image_01012026_12_24_16_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb3eeb155e41658877a61b8fbc7db598.jpg","text":"TemporaryFile(/tmp/multipartBody6641894753644386600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273303864,"filename":"image_01012026_12_24_36_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022701","file1":"1402022700","file0":"1402022699","file4":"1402022704","file5":"1402022705","file3":"1402022703"},"map_files_photo_id_array":[{"photo_id":"1402022705","filename":"file5"},{"photo_id":"1402022701","filename":"file2"},{"photo_id":"1402022704","filename":"file4"},{"photo_id":"1402022700","filename":"file1"},{"photo_id":"1402022699","filename":"file0"},{"photo_id":"1402022703","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022701":["hashtag1","hashtag2"]},{"1402022704":["hashtag1","hashtag2"]},{"1402022700":["hashtag1","hashtag2"]},{"1402022699":["hashtag1","hashtag2"]},{"1402022703":["hashtag1","hashtag2"]},{"1402022705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022701, 1402022704, 1402022700, 1402022699, 1402022703, 1402022705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.916953802108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:14:42.451609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_11_2704.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_14_3592.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_17_2680.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_19_2525.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_23_3633.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_26_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_11_2704.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_14_3592.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_17_2680.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_19_2525.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_23_3633.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_26_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":["1402022714","1402022731","1402022733","1402022727","1402022735","1402022729"],"photo_ids_order":["1402022714","1402022727","1402022729","1402022731","1402022733","1402022735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d274396ee212c98cf8fc71b0433972f9.jpg","text":"TemporaryFile(/tmp/multipartBody7005320593542916721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273344324,"filename":"image_04112025_17_11_11_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8bbf5ba2105206e514d6ecef3f7cfb93.jpg","text":"TemporaryFile(/tmp/multipartBody6807053008127386135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273344324,"filename":"image_04112025_17_11_19_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9e2b3d7f9478c997b530c2bac756e7b.jpg","text":"TemporaryFile(/tmp/multipartBody9198268468296261641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273344324,"filename":"image_04112025_17_11_23_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c35128a914912f86b85917ce9dfed84.jpg","text":"TemporaryFile(/tmp/multipartBody769736597955401084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273344324,"filename":"image_04112025_17_11_14_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f41b59920d02cce41fd474733602746f.jpg","text":"TemporaryFile(/tmp/multipartBody5436624021077026095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273344324,"filename":"image_04112025_17_11_26_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14c46a908714270ce9a7b633ce18fad6.jpg","text":"TemporaryFile(/tmp/multipartBody4991680901554701571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273344324,"filename":"image_04112025_17_11_17_2680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022729","file1":"1402022727","file0":"1402022714","file4":"1402022733","file5":"1402022735","file3":"1402022731"},"map_files_photo_id_array":[{"photo_id":"1402022735","filename":"file5"},{"photo_id":"1402022729","filename":"file2"},{"photo_id":"1402022733","filename":"file4"},{"photo_id":"1402022727","filename":"file1"},{"photo_id":"1402022714","filename":"file0"},{"photo_id":"1402022731","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022714":["hashtag1","hashtag2"]},{"1402022731":["hashtag1","hashtag2"]},{"1402022733":["hashtag1","hashtag2"]},{"1402022727":["hashtag1","hashtag2"]},{"1402022735":["hashtag1","hashtag2"]},{"1402022729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022714, 1402022731, 1402022733, 1402022727, 1402022735, 1402022729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96812844276428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:15:22.700933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_46_9760.jpg', '/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_56_9836.jpg', '/home/pi/Desktop/images/01012026/12/24/image_01012026_12_25_06_10146.jpg', '/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_15_9756.jpg', '/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_25_9765.jpg', '/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_36_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_46_9760.jpg
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_56_9836.jpg
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_25_06_10146.jpg
/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_15_9756.jpg
/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_25_9765.jpg
/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_36_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.5998406410217285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:15:32.636207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_29_3752.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_32_2603.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_35_2647.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_38_3742.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_41_2617.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_44_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_29_3752.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_32_2603.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_35_2647.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_38_3742.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_41_2617.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_44_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":["1402022752","1402022742","1402022751","1402022745","1402022748","1402022753"],"photo_ids_order":["1402022742","1402022745","1402022748","1402022751","1402022752","1402022753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb6a2266bf8c0484e1a03d2151f6796e.jpg","text":"TemporaryFile(/tmp/multipartBody9139878150577402420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273394494,"filename":"image_04112025_17_11_41_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ddca6422b9a658500d03a19d9b7c856.jpg","text":"TemporaryFile(/tmp/multipartBody5525165002274807779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273394494,"filename":"image_04112025_17_11_29_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39507eafbb5c0a004c08a93fce25a36c.jpg","text":"TemporaryFile(/tmp/multipartBody8817387964865405936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273394494,"filename":"image_04112025_17_11_38_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4648c9f3f0a108a4fc8d24d185a868e7.jpg","text":"TemporaryFile(/tmp/multipartBody1667457295689536063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273394494,"filename":"image_04112025_17_11_32_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4e29c241fde9ee86490d16c25d26ab3.jpg","text":"TemporaryFile(/tmp/multipartBody518283055223262363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273394494,"filename":"image_04112025_17_11_35_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35149e5c211ca08bd1e8d1870a68ec0f.jpg","text":"TemporaryFile(/tmp/multipartBody2036027553958305177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273394494,"filename":"image_04112025_17_11_44_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022748","file1":"1402022745","file0":"1402022742","file4":"1402022752","file5":"1402022753","file3":"1402022751"},"map_files_photo_id_array":[{"photo_id":"1402022753","filename":"file5"},{"photo_id":"1402022748","filename":"file2"},{"photo_id":"1402022752","filename":"file4"},{"photo_id":"1402022745","filename":"file1"},{"photo_id":"1402022742","filename":"file0"},{"photo_id":"1402022751","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022752":["hashtag1","hashtag2"]},{"1402022742":["hashtag1","hashtag2"]},{"1402022751":["hashtag1","hashtag2"]},{"1402022745":["hashtag1","hashtag2"]},{"1402022748":["hashtag1","hashtag2"]},{"1402022753":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022752, 1402022742, 1402022751, 1402022745, 1402022748, 1402022753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27766966819763 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:16:12.783838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_47_3538.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_50_2777.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_53_2645.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_56_3670.jpg', '/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_59_2726.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_02_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_47_3538.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_50_2777.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_53_2645.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_56_3670.jpg
/home/pi/Desktop/images/04112025/17/11/image_04112025_17_11_59_2726.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_02_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":["1402022758","1402022755","1402022760","1402022754","1402022762","1402022756"],"photo_ids_order":["1402022754","1402022755","1402022756","1402022758","1402022760","1402022762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2eef49011c9c79b4441e0ccf5772a045.jpg","text":"TemporaryFile(/tmp/multipartBody4759272071250501899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273434553,"filename":"image_04112025_17_11_56_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd74cb8b73324da21ce897e9debfa11e.jpg","text":"TemporaryFile(/tmp/multipartBody5688931659172840593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273434553,"filename":"image_04112025_17_11_50_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a473325760df2d21a90e6127d4784095.jpg","text":"TemporaryFile(/tmp/multipartBody3357680898297138108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273434553,"filename":"image_04112025_17_11_59_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/721c16de6450b4955c4f140ac524c853.jpg","text":"TemporaryFile(/tmp/multipartBody3007050256449829414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273434553,"filename":"image_04112025_17_11_47_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d9d5f7dc2ce7e7f7b287d628eaacda0.jpg","text":"TemporaryFile(/tmp/multipartBody7486260662461412705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273434553,"filename":"image_04112025_17_12_02_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/638311e0cd4204935cb3dc7d07df08fa.jpg","text":"TemporaryFile(/tmp/multipartBody8727001058757780992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273434553,"filename":"image_04112025_17_11_53_2645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022756","file1":"1402022755","file0":"1402022754","file4":"1402022760","file5":"1402022762","file3":"1402022758"},"map_files_photo_id_array":[{"photo_id":"1402022762","filename":"file5"},{"photo_id":"1402022756","filename":"file2"},{"photo_id":"1402022760","filename":"file4"},{"photo_id":"1402022755","filename":"file1"},{"photo_id":"1402022754","filename":"file0"},{"photo_id":"1402022758","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022758":["hashtag1","hashtag2"]},{"1402022755":["hashtag1","hashtag2"]},{"1402022760":["hashtag1","hashtag2"]},{"1402022754":["hashtag1","hashtag2"]},{"1402022762":["hashtag1","hashtag2"]},{"1402022756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022758, 1402022755, 1402022760, 1402022754, 1402022762, 1402022756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61507320404053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:17:05.045994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 14:17:14.632751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_04_2878.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_08_3613.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_11_2671.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_13_2765.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_17_3578.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_20_2492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_04_2878.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_08_3613.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_11_2671.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_13_2765.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_17_3578.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_20_2492.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022770","1402022772","1402022766","1402022765","1402022774","1402022768"],"photo_ids_order":["1402022765","1402022766","1402022768","1402022770","1402022772","1402022774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72cefdfd66890f683563e4210a45395b.jpg","text":"TemporaryFile(/tmp/multipartBody6771595327034159288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273496392,"filename":"image_04112025_17_12_13_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab83f0761e0ec6ea667bc1e81c486fb8.jpg","text":"TemporaryFile(/tmp/multipartBody2030541238495648645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273496392,"filename":"image_04112025_17_12_17_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2fcc1670129eb0b2e74c539a1606eab.jpg","text":"TemporaryFile(/tmp/multipartBody3839394913222919675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273496392,"filename":"image_04112025_17_12_08_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c7e7df0f1086980374ceaeb15621dd2.jpg","text":"TemporaryFile(/tmp/multipartBody5551723569952325869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273496392,"filename":"image_04112025_17_12_04_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81dc61c4607dbb6a41f555efff1a79db.jpg","text":"TemporaryFile(/tmp/multipartBody855529418898564404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273496392,"filename":"image_04112025_17_12_20_2492.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/014cf0dc4d9ebb9c37dd90272a22b844.jpg","text":"TemporaryFile(/tmp/multipartBody8017809896899324534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273496392,"filename":"image_04112025_17_12_11_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022768","file1":"1402022766","file0":"1402022765","file4":"1402022772","file5":"1402022774","file3":"1402022770"},"map_files_photo_id_array":[{"photo_id":"1402022774","filename":"file5"},{"photo_id":"1402022768","filename":"file2"},{"photo_id":"1402022772","filename":"file4"},{"photo_id":"1402022766","filename":"file1"},{"photo_id":"1402022765","filename":"file0"},{"photo_id":"1402022770","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022770":["hashtag1","hashtag2"]},{"1402022772":["hashtag1","hashtag2"]},{"1402022766":["hashtag1","hashtag2"]},{"1402022765":["hashtag1","hashtag2"]},{"1402022774":["hashtag1","hashtag2"]},{"1402022768":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022770, 1402022772, 1402022766, 1402022765, 1402022774, 1402022768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20013499259949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:18:03.236994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_46_9760.jpg', '/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_56_9836.jpg', '/home/pi/Desktop/images/01012026/12/24/image_01012026_12_25_06_10146.jpg', '/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_15_9756.jpg', '/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_25_9765.jpg', '/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_36_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_46_9760.jpg
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_24_56_9836.jpg
/home/pi/Desktop/images/01012026/12/24/image_01012026_12_25_06_10146.jpg
/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_15_9756.jpg
/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_25_9765.jpg
/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_36_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":["1402022791","1402022790","1402022793","1402022787","1402022789","1402022788"],"photo_ids_order":["1402022787","1402022788","1402022789","1402022790","1402022791","1402022793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02bbe30eceef21536429e29734dc3973.jpg","text":"TemporaryFile(/tmp/multipartBody6941107292900524860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273543973,"filename":"image_01012026_12_25_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7de97d32965fce1735c7fda6a9b3b65b.jpg","text":"TemporaryFile(/tmp/multipartBody6704579534933448896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273543973,"filename":"image_01012026_12_25_15_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25c169e6ab26c72a3f191553c3221ce2.jpg","text":"TemporaryFile(/tmp/multipartBody7552553492088372119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273543973,"filename":"image_01012026_12_25_36_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6089922b581400fe729fd43d87b18ee.jpg","text":"TemporaryFile(/tmp/multipartBody4947833744262079002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273543973,"filename":"image_01012026_12_24_46_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e6a4ebb11b22eb153fe599cd6584ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1428941672291518226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273543973,"filename":"image_01012026_12_25_06_10146.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5bc91dbb03fcdda0df0d6eaf9921348.jpg","text":"TemporaryFile(/tmp/multipartBody1238847276573092209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273543973,"filename":"image_01012026_12_24_56_9836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022789","file1":"1402022788","file0":"1402022787","file4":"1402022791","file5":"1402022793","file3":"1402022790"},"map_files_photo_id_array":[{"photo_id":"1402022793","filename":"file5"},{"photo_id":"1402022789","filename":"file2"},{"photo_id":"1402022791","filename":"file4"},{"photo_id":"1402022788","filename":"file1"},{"photo_id":"1402022787","filename":"file0"},{"photo_id":"1402022790","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022791":["hashtag1","hashtag2"]},{"1402022790":["hashtag1","hashtag2"]},{"1402022793":["hashtag1","hashtag2"]},{"1402022787":["hashtag1","hashtag2"]},{"1402022789":["hashtag1","hashtag2"]},{"1402022788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022791, 1402022790, 1402022793, 1402022787, 1402022789, 1402022788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23798966407776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:18:42.827270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_23_3346.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_26_2617.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_29_3725.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_32_2635.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_34_2578.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_38_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_23_3346.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_26_2617.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_29_3725.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_32_2635.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_34_2578.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_38_3626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022806","1402022799","1402022803","1402022802","1402022801","1402022804"],"photo_ids_order":["1402022799","1402022801","1402022802","1402022803","1402022804","1402022806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cfabb00acd449540a2256ffd4c1ecaa.jpg","text":"TemporaryFile(/tmp/multipartBody9095598874299411517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273584730,"filename":"image_04112025_17_12_38_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7ee27446da332e41b2801e4017b7fc8.jpg","text":"TemporaryFile(/tmp/multipartBody6178210177612887190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273584730,"filename":"image_04112025_17_12_23_3346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfbea34d6558b378b21384f64043cca1.jpg","text":"TemporaryFile(/tmp/multipartBody7611802529530295340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273584730,"filename":"image_04112025_17_12_32_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31787ee7a632d428f2e9d76966a947c1.jpg","text":"TemporaryFile(/tmp/multipartBody1580667744455995691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273584730,"filename":"image_04112025_17_12_29_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd4a5e9d4fd32ef12527f05b9e1c1c1d.jpg","text":"TemporaryFile(/tmp/multipartBody2886188589310889157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273584730,"filename":"image_04112025_17_12_26_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1385f22d23f31cbc4dad3933d4e24f6b.jpg","text":"TemporaryFile(/tmp/multipartBody8631606755706687062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273584730,"filename":"image_04112025_17_12_34_2578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022802","file1":"1402022801","file0":"1402022799","file4":"1402022804","file5":"1402022806","file3":"1402022803"},"map_files_photo_id_array":[{"photo_id":"1402022806","filename":"file5"},{"photo_id":"1402022802","filename":"file2"},{"photo_id":"1402022804","filename":"file4"},{"photo_id":"1402022801","filename":"file1"},{"photo_id":"1402022799","filename":"file0"},{"photo_id":"1402022803","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022806":["hashtag1","hashtag2"]},{"1402022799":["hashtag1","hashtag2"]},{"1402022803":["hashtag1","hashtag2"]},{"1402022802":["hashtag1","hashtag2"]},{"1402022801":["hashtag1","hashtag2"]},{"1402022804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022806, 1402022799, 1402022803, 1402022802, 1402022801, 1402022804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58343839645386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:19:21.913664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_46_9786.jpg', '/home/pi/Desktop/images/01012026/12/25/image_01012026_12_26_05_9818.jpg', '/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_16_10762.jpg', '/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_26_9683.jpg', '/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_36_9981.jpg', '/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_46_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/25/image_01012026_12_25_46_9786.jpg
/home/pi/Desktop/images/01012026/12/25/image_01012026_12_26_05_9818.jpg
/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_16_10762.jpg
/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_26_9683.jpg
/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_36_9981.jpg
/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_46_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022813","1402022807","1402022809","1402022818","1402022811","1402022816"],"photo_ids_order":["1402022807","1402022809","1402022811","1402022813","1402022816","1402022818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afdf327ffb4de2b2781890d15263bb5f.jpg","text":"TemporaryFile(/tmp/multipartBody6884044207174741592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273622587,"filename":"image_01012026_12_26_26_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6442dcf8c4a70b4d1038b59868943c4f.jpg","text":"TemporaryFile(/tmp/multipartBody5890419296240174528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273622587,"filename":"image_01012026_12_25_46_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/237615e424ee9dc0a067502176231819.jpg","text":"TemporaryFile(/tmp/multipartBody2083268574123492625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273622587,"filename":"image_01012026_12_26_05_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/faac22f7b939bb684456b8084479fcf7.jpg","text":"TemporaryFile(/tmp/multipartBody8507943687286861420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273622587,"filename":"image_01012026_12_26_46_10330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bfc3cbe6b5480876f44ae20423a99d0.jpg","text":"TemporaryFile(/tmp/multipartBody5316860907384909001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273622587,"filename":"image_01012026_12_26_16_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d4b5335dbfbc658430d121da8913704.jpg","text":"TemporaryFile(/tmp/multipartBody7044551347674118031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273622587,"filename":"image_01012026_12_26_36_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022811","file1":"1402022809","file0":"1402022807","file4":"1402022816","file5":"1402022818","file3":"1402022813"},"map_files_photo_id_array":[{"photo_id":"1402022818","filename":"file5"},{"photo_id":"1402022811","filename":"file2"},{"photo_id":"1402022816","filename":"file4"},{"photo_id":"1402022809","filename":"file1"},{"photo_id":"1402022807","filename":"file0"},{"photo_id":"1402022813","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022813":["hashtag1","hashtag2"]},{"1402022807":["hashtag1","hashtag2"]},{"1402022809":["hashtag1","hashtag2"]},{"1402022818":["hashtag1","hashtag2"]},{"1402022811":["hashtag1","hashtag2"]},{"1402022816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022813, 1402022807, 1402022809, 1402022818, 1402022811, 1402022816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82580256462097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:20:02.637510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_56_9646.jpg', '/home/pi/Desktop/images/01012026/12/26/image_01012026_12_27_05_9773.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_15_9814.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_25_9832.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_36_10769.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_46_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_56_9646.jpg
/home/pi/Desktop/images/01012026/12/26/image_01012026_12_27_05_9773.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_15_9814.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_25_9832.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_36_10769.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_46_9874.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.6300981044769287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:20:17.180669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_41_2687.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_43_2668.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_47_3577.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_50_2813.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_52_2603.jpg', '/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_56_3615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_41_2687.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_43_2668.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_47_3577.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_50_2813.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_52_2603.jpg
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_56_3615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022830","1402022833","1402022832","1402022834","1402022828","1402022825"],"photo_ids_order":["1402022825","1402022828","1402022830","1402022832","1402022833","1402022834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f07b0595aac90468e75747e0cd05dd2f.jpg","text":"TemporaryFile(/tmp/multipartBody3395722976020862443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273678937,"filename":"image_04112025_17_12_47_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d4839ef566d656bc82a3464cdfa335e.jpg","text":"TemporaryFile(/tmp/multipartBody7759361660153473015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273678937,"filename":"image_04112025_17_12_52_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbb750f3907173dd6a71d9ee89653be5.jpg","text":"TemporaryFile(/tmp/multipartBody2617522017969018623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273678937,"filename":"image_04112025_17_12_50_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c4681bac717a26e6b82dd4487b31415.jpg","text":"TemporaryFile(/tmp/multipartBody1227859244329152458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273678937,"filename":"image_04112025_17_12_56_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edbeb3704c55ce8068a0a7a36f727e35.jpg","text":"TemporaryFile(/tmp/multipartBody2833444192700811567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273678937,"filename":"image_04112025_17_12_43_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c257fb5abecfbebd5c5b9adaa0255106.jpg","text":"TemporaryFile(/tmp/multipartBody2117053660826238414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273678937,"filename":"image_04112025_17_12_41_2687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022830","file1":"1402022828","file0":"1402022825","file4":"1402022833","file5":"1402022834","file3":"1402022832"},"map_files_photo_id_array":[{"photo_id":"1402022834","filename":"file5"},{"photo_id":"1402022830","filename":"file2"},{"photo_id":"1402022833","filename":"file4"},{"photo_id":"1402022828","filename":"file1"},{"photo_id":"1402022825","filename":"file0"},{"photo_id":"1402022832","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022830":["hashtag1","hashtag2"]},{"1402022833":["hashtag1","hashtag2"]},{"1402022832":["hashtag1","hashtag2"]},{"1402022834":["hashtag1","hashtag2"]},{"1402022828":["hashtag1","hashtag2"]},{"1402022825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022830, 1402022833, 1402022832, 1402022834, 1402022828, 1402022825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77345848083496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:21:03.018218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_56_9646.jpg', '/home/pi/Desktop/images/01012026/12/26/image_01012026_12_27_05_9773.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_15_9814.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_25_9832.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_36_10769.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_46_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/26/image_01012026_12_26_56_9646.jpg
/home/pi/Desktop/images/01012026/12/26/image_01012026_12_27_05_9773.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_15_9814.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_25_9832.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_36_10769.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_46_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022848","1402022850","1402022847","1402022852","1402022846","1402022849"],"photo_ids_order":["1402022846","1402022847","1402022848","1402022849","1402022850","1402022852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c10273b257ee3652a53c7874417fcfc6.jpg","text":"TemporaryFile(/tmp/multipartBody1518043815004830661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273723815,"filename":"image_01012026_12_27_15_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82c45c64435debf37257651671281439.jpg","text":"TemporaryFile(/tmp/multipartBody560052960899738206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273723815,"filename":"image_01012026_12_27_36_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a20f1776a64f70f7f6be309cd9f8627.jpg","text":"TemporaryFile(/tmp/multipartBody4164187914273282859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273723815,"filename":"image_01012026_12_27_05_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13c7435a1d0c6c3c145af75c8c6993c2.jpg","text":"TemporaryFile(/tmp/multipartBody2110418369523966097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273723815,"filename":"image_01012026_12_27_46_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37e62014c5cc98e5897c1a4e0cdb5a06.jpg","text":"TemporaryFile(/tmp/multipartBody5714819955170102006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273723815,"filename":"image_01012026_12_26_56_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3788dc87ff270a2b3c9b60682e8634fb.jpg","text":"TemporaryFile(/tmp/multipartBody9127271667404668715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273723815,"filename":"image_01012026_12_27_25_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022848","file1":"1402022847","file0":"1402022846","file4":"1402022850","file5":"1402022852","file3":"1402022849"},"map_files_photo_id_array":[{"photo_id":"1402022852","filename":"file5"},{"photo_id":"1402022848","filename":"file2"},{"photo_id":"1402022850","filename":"file4"},{"photo_id":"1402022847","filename":"file1"},{"photo_id":"1402022846","filename":"file0"},{"photo_id":"1402022849","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022848":["hashtag1","hashtag2"]},{"1402022850":["hashtag1","hashtag2"]},{"1402022847":["hashtag1","hashtag2"]},{"1402022852":["hashtag1","hashtag2"]},{"1402022846":["hashtag1","hashtag2"]},{"1402022849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022848, 1402022850, 1402022847, 1402022852, 1402022846, 1402022849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.973994970321655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:21:42.373694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_59_2681.jpg', '/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_01_2565.jpg', '/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_05_3706.jpg', '/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_08_2652.jpg', '/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_10_2811.jpg', '/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_14_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/12/image_04112025_17_12_59_2681.jpg
/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_01_2565.jpg
/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_05_3706.jpg
/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_08_2652.jpg
/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_10_2811.jpg
/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_14_3548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022863","1402022862","1402022865","1402022864","1402022858","1402022861"],"photo_ids_order":["1402022858","1402022861","1402022862","1402022863","1402022864","1402022865"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f218b3395129d7ccc8667fbabaf1eaaa.jpg","text":"TemporaryFile(/tmp/multipartBody5048189666036445997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273764186,"filename":"image_04112025_17_13_08_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86f24375d1140cfa9e6df60e296dc5bc.jpg","text":"TemporaryFile(/tmp/multipartBody4664139856169711930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273764186,"filename":"image_04112025_17_13_05_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46a7761a30ec7efc00833b594b14e798.jpg","text":"TemporaryFile(/tmp/multipartBody8414212545475888784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273764186,"filename":"image_04112025_17_13_14_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3aacdb292e50b93eddb411709d94783.jpg","text":"TemporaryFile(/tmp/multipartBody1556009732643188554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273764186,"filename":"image_04112025_17_13_10_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/717b76fc9d1c754dfcfd70bafae79db1.jpg","text":"TemporaryFile(/tmp/multipartBody706100327473554125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273764186,"filename":"image_04112025_17_12_59_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f0f5bce34df4b51c3f394c1f6a65955.jpg","text":"TemporaryFile(/tmp/multipartBody5070462652634251750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273764186,"filename":"image_04112025_17_13_01_2565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022862","file1":"1402022861","file0":"1402022858","file4":"1402022864","file5":"1402022865","file3":"1402022863"},"map_files_photo_id_array":[{"photo_id":"1402022865","filename":"file5"},{"photo_id":"1402022862","filename":"file2"},{"photo_id":"1402022864","filename":"file4"},{"photo_id":"1402022861","filename":"file1"},{"photo_id":"1402022858","filename":"file0"},{"photo_id":"1402022863","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022863":["hashtag1","hashtag2"]},{"1402022862":["hashtag1","hashtag2"]},{"1402022865":["hashtag1","hashtag2"]},{"1402022864":["hashtag1","hashtag2"]},{"1402022858":["hashtag1","hashtag2"]},{"1402022861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022863, 1402022862, 1402022865, 1402022864, 1402022858, 1402022861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61122512817383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:22:22.633786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_55_9764.jpg', '/home/pi/Desktop/images/01012026/12/27/image_01012026_12_28_05_9724.jpg', '/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_15_10216.jpg', '/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_25_9706.jpg', '/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_36_10639.jpg', '/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_45_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_27_55_9764.jpg
/home/pi/Desktop/images/01012026/12/27/image_01012026_12_28_05_9724.jpg
/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_15_10216.jpg
/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_25_9706.jpg
/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_36_10639.jpg
/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_45_9771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022869","1402022871","1402022874","1402022876","1402022873","1402022867"],"photo_ids_order":["1402022867","1402022869","1402022871","1402022873","1402022874","1402022876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f015656de8d6da8e6b50de7332b9cc84.jpg","text":"TemporaryFile(/tmp/multipartBody8856924173986301501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273803395,"filename":"image_01012026_12_28_05_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bee541bdbfc76a04af941083d1f56ce.jpg","text":"TemporaryFile(/tmp/multipartBody8944000630951089867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273803395,"filename":"image_01012026_12_28_15_10216.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00a8e2cc879351d7a48da000bb933f72.jpg","text":"TemporaryFile(/tmp/multipartBody2909537506534026112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273803395,"filename":"image_01012026_12_28_36_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6285a50113a717478b0e56c91a38a193.jpg","text":"TemporaryFile(/tmp/multipartBody8533617921619248061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273803395,"filename":"image_01012026_12_28_45_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37834b2647553a366f1b5134027a2473.jpg","text":"TemporaryFile(/tmp/multipartBody6003818482723889368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273803395,"filename":"image_01012026_12_28_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68d85617eb1cee7bc8eb0d898f17bc03.jpg","text":"TemporaryFile(/tmp/multipartBody7168128006499896733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273803395,"filename":"image_01012026_12_27_55_9764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022871","file1":"1402022869","file0":"1402022867","file4":"1402022874","file5":"1402022876","file3":"1402022873"},"map_files_photo_id_array":[{"photo_id":"1402022876","filename":"file5"},{"photo_id":"1402022871","filename":"file2"},{"photo_id":"1402022874","filename":"file4"},{"photo_id":"1402022869","filename":"file1"},{"photo_id":"1402022867","filename":"file0"},{"photo_id":"1402022873","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022869":["hashtag1","hashtag2"]},{"1402022871":["hashtag1","hashtag2"]},{"1402022874":["hashtag1","hashtag2"]},{"1402022876":["hashtag1","hashtag2"]},{"1402022873":["hashtag1","hashtag2"]},{"1402022867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022869, 1402022871, 1402022874, 1402022876, 1402022873, 1402022867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14021873474121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:23:03.322199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_55_9780.jpg', '/home/pi/Desktop/images/01012026/12/28/image_01012026_12_29_06_10650.jpg', '/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_16_9761.jpg', '/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_26_9907.jpg', '/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_35_9844.jpg', '/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_45_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/28/image_01012026_12_28_55_9780.jpg
/home/pi/Desktop/images/01012026/12/28/image_01012026_12_29_06_10650.jpg
/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_16_9761.jpg
/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_26_9907.jpg
/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_35_9844.jpg
/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_45_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022881","1402022884","1402022877","1402022882","1402022885","1402022879"],"photo_ids_order":["1402022877","1402022879","1402022881","1402022882","1402022884","1402022885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/263f3c11ebc05357b1a5c449cb769262.jpg","text":"TemporaryFile(/tmp/multipartBody5290556639771542681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273844172,"filename":"image_01012026_12_29_16_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d7a4786b6e3986f4017d6b16d2cd79d.jpg","text":"TemporaryFile(/tmp/multipartBody8158182932782690181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273844172,"filename":"image_01012026_12_29_35_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d31cb6c8079703c32a9470743abb676f.jpg","text":"TemporaryFile(/tmp/multipartBody267492145608637276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273844172,"filename":"image_01012026_12_28_55_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/117154429df2aea0aa8aa6db2d78d456.jpg","text":"TemporaryFile(/tmp/multipartBody7261719608573020588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273844172,"filename":"image_01012026_12_29_26_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/652cdba8dc87069bf26efd38ecf98420.jpg","text":"TemporaryFile(/tmp/multipartBody168569383106960187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273844172,"filename":"image_01012026_12_29_45_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12d3550a62b717f8b451a007e0c28096.jpg","text":"TemporaryFile(/tmp/multipartBody3407679440460989591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273844172,"filename":"image_01012026_12_29_06_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022881","file1":"1402022879","file0":"1402022877","file4":"1402022884","file5":"1402022885","file3":"1402022882"},"map_files_photo_id_array":[{"photo_id":"1402022885","filename":"file5"},{"photo_id":"1402022881","filename":"file2"},{"photo_id":"1402022884","filename":"file4"},{"photo_id":"1402022879","filename":"file1"},{"photo_id":"1402022877","filename":"file0"},{"photo_id":"1402022882","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022881":["hashtag1","hashtag2"]},{"1402022884":["hashtag1","hashtag2"]},{"1402022877":["hashtag1","hashtag2"]},{"1402022882":["hashtag1","hashtag2"]},{"1402022885":["hashtag1","hashtag2"]},{"1402022879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022881, 1402022884, 1402022877, 1402022882, 1402022885, 1402022879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30275106430054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:23:42.808877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_28_13694.jpg', '/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_46_18661.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_03_16337.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_04_1697.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_06_1707.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_12_5690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_28_13694.jpg
/home/pi/Desktop/images/04112025/17/13/image_04112025_17_13_46_18661.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_03_16337.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_04_1697.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_06_1707.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_12_5690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022906","1402022890","1402022905","1402022902","1402022904","1402022903"],"photo_ids_order":["1402022890","1402022902","1402022903","1402022904","1402022905","1402022906"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33a29429782a8080c160b82d5401aa85.jpg","text":"TemporaryFile(/tmp/multipartBody5912168422033809482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273884700,"filename":"image_04112025_17_14_12_5690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16bde66c3dfb6a9aa08f001a06dff001.jpg","text":"TemporaryFile(/tmp/multipartBody1618856046542542255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273884700,"filename":"image_04112025_17_13_28_13694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2976eaefd933e6a922b16945c56a9b2.jpg","text":"TemporaryFile(/tmp/multipartBody8318284071650015993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273884700,"filename":"image_04112025_17_14_06_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48df8fb10933e364ef868053447bae76.jpg","text":"TemporaryFile(/tmp/multipartBody8287742506547765502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273884700,"filename":"image_04112025_17_13_46_18661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff2611001a58bf808a0ac2f803f4bcb7.jpg","text":"TemporaryFile(/tmp/multipartBody209820716492548349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273884700,"filename":"image_04112025_17_14_04_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f10d9d2fce065a72a76025a097841ca1.jpg","text":"TemporaryFile(/tmp/multipartBody4157327828943669994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273884700,"filename":"image_04112025_17_14_03_16337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022903","file1":"1402022902","file0":"1402022890","file4":"1402022905","file5":"1402022906","file3":"1402022904"},"map_files_photo_id_array":[{"photo_id":"1402022906","filename":"file5"},{"photo_id":"1402022903","filename":"file2"},{"photo_id":"1402022905","filename":"file4"},{"photo_id":"1402022902","filename":"file1"},{"photo_id":"1402022890","filename":"file0"},{"photo_id":"1402022904","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022906":["hashtag1","hashtag2"]},{"1402022890":["hashtag1","hashtag2"]},{"1402022905":["hashtag1","hashtag2"]},{"1402022902":["hashtag1","hashtag2"]},{"1402022904":["hashtag1","hashtag2"]},{"1402022903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022906, 1402022890, 1402022905, 1402022902, 1402022904, 1402022903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91741108894348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:24:21.996024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_56_10621.jpg', '/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_14_10058.jpg', '/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_25_10416.jpg', '/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_35_9900.jpg', '/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_44_9638.jpg', '/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_54_10088.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/29/image_01012026_12_29_56_10621.jpg
/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_14_10058.jpg
/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_25_10416.jpg
/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_35_9900.jpg
/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_44_9638.jpg
/home/pi/Desktop/images/01012026/12/31/image_01012026_12_31_54_10088.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022911","1402022913","1402022907","1402022915","1402022909","1402022918"],"photo_ids_order":["1402022907","1402022909","1402022911","1402022913","1402022915","1402022918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be22f9bd98161fdf2a62c998da0d770a.jpg","text":"TemporaryFile(/tmp/multipartBody7592474726273833260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273922706,"filename":"image_01012026_12_31_25_10416.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d7e4c5689fe1cda938d299e49fe540b.jpg","text":"TemporaryFile(/tmp/multipartBody5969392360420405981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273922706,"filename":"image_01012026_12_31_35_9900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98129ade1766782b02118bbbc57d3d66.jpg","text":"TemporaryFile(/tmp/multipartBody7195685972210586446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273922706,"filename":"image_01012026_12_29_56_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5355313040e435a0fc9be5b6e2cab35.jpg","text":"TemporaryFile(/tmp/multipartBody7611399381574840640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273922706,"filename":"image_01012026_12_31_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e3f9d6dd408defa3c5ce341ef79728a.jpg","text":"TemporaryFile(/tmp/multipartBody210912083806004012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273922706,"filename":"image_01012026_12_31_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e79dc87daf44b100537f27cf4d0c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody1372096940954191528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273922706,"filename":"image_01012026_12_31_54_10088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022911","file1":"1402022909","file0":"1402022907","file4":"1402022915","file5":"1402022918","file3":"1402022913"},"map_files_photo_id_array":[{"photo_id":"1402022918","filename":"file5"},{"photo_id":"1402022911","filename":"file2"},{"photo_id":"1402022915","filename":"file4"},{"photo_id":"1402022909","filename":"file1"},{"photo_id":"1402022907","filename":"file0"},{"photo_id":"1402022913","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022911":["hashtag1","hashtag2"]},{"1402022913":["hashtag1","hashtag2"]},{"1402022907":["hashtag1","hashtag2"]},{"1402022915":["hashtag1","hashtag2"]},{"1402022909":["hashtag1","hashtag2"]},{"1402022918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022911, 1402022913, 1402022907, 1402022915, 1402022909, 1402022918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.973341941833496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:25:02.850587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/31/image_01012026_12_32_05_10790.jpg', '/home/pi/Desktop/images/01012026/12/32/image_01012026_12_32_15_9796.jpg', '/home/pi/Desktop/images/01012026/12/32/image_01012026_12_32_25_10279.jpg', '/home/pi/Desktop/images/01012026/12/32/image_01012026_12_32_55_10675.jpg', '/home/pi/Desktop/images/01012026/12/32/image_01012026_12_33_05_9673.jpg', '/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_15_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/31/image_01012026_12_32_05_10790.jpg
/home/pi/Desktop/images/01012026/12/32/image_01012026_12_32_15_9796.jpg
/home/pi/Desktop/images/01012026/12/32/image_01012026_12_32_25_10279.jpg
/home/pi/Desktop/images/01012026/12/32/image_01012026_12_32_55_10675.jpg
/home/pi/Desktop/images/01012026/12/32/image_01012026_12_33_05_9673.jpg
/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_15_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":["1402022923","1402022920","1402022922","1402022925","1402022919","1402022921"],"photo_ids_order":["1402022919","1402022920","1402022921","1402022922","1402022923","1402022925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcaa1b4287ec43dcc06509f637d4a028.jpg","text":"TemporaryFile(/tmp/multipartBody3353860114634764055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273963706,"filename":"image_01012026_12_33_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e18445ca866a35409630a619167eb726.jpg","text":"TemporaryFile(/tmp/multipartBody5204836361432110504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273963706,"filename":"image_01012026_12_32_15_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adcd80de59964e25c0ed2e1d3ce6f879.jpg","text":"TemporaryFile(/tmp/multipartBody6633758235381234807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273963706,"filename":"image_01012026_12_32_55_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e76690b7754605962de3d5b8bd25120b.jpg","text":"TemporaryFile(/tmp/multipartBody6137936895642942551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273963706,"filename":"image_01012026_12_33_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5866652ec58021534f19a43915f01ca.jpg","text":"TemporaryFile(/tmp/multipartBody8657088049611781956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273963706,"filename":"image_01012026_12_32_05_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88a051a973ceefa39a9e64b7ec5554a8.jpg","text":"TemporaryFile(/tmp/multipartBody5251689582583266102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767273963706,"filename":"image_01012026_12_32_25_10279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022921","file1":"1402022920","file0":"1402022919","file4":"1402022923","file5":"1402022925","file3":"1402022922"},"map_files_photo_id_array":[{"photo_id":"1402022925","filename":"file5"},{"photo_id":"1402022921","filename":"file2"},{"photo_id":"1402022923","filename":"file4"},{"photo_id":"1402022920","filename":"file1"},{"photo_id":"1402022919","filename":"file0"},{"photo_id":"1402022922","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022923":["hashtag1","hashtag2"]},{"1402022920":["hashtag1","hashtag2"]},{"1402022922":["hashtag1","hashtag2"]},{"1402022925":["hashtag1","hashtag2"]},{"1402022919":["hashtag1","hashtag2"]},{"1402022921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022923, 1402022920, 1402022922, 1402022925, 1402022919, 1402022921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86353421211243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:25:42.229892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_13_1629.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_18_4373.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_19_1637.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_21_1674.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_23_1638.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_25_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_13_1629.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_18_4373.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_19_1637.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_21_1674.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_23_1638.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_25_2587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022932","1402022935","1402022934","1402022931","1402022933","1402022936"],"photo_ids_order":["1402022931","1402022932","1402022933","1402022934","1402022935","1402022936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86f071918ef9be423ac3a75a852cb046.jpg","text":"TemporaryFile(/tmp/multipartBody3787508112088401196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274004155,"filename":"image_04112025_17_14_18_4373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6e08ddcad69f99a857bd9e00fcf9d67.jpg","text":"TemporaryFile(/tmp/multipartBody6078592900753250047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274004155,"filename":"image_04112025_17_14_23_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61fe07f95192a4027092aae49e7b73ee.jpg","text":"TemporaryFile(/tmp/multipartBody6796026253732333892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274004155,"filename":"image_04112025_17_14_21_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14612017110455f6b42f275f90a94dc5.jpg","text":"TemporaryFile(/tmp/multipartBody2532281666063368851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274004155,"filename":"image_04112025_17_14_13_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ae371fb000e8530c51c4ad49b6e7c40.jpg","text":"TemporaryFile(/tmp/multipartBody926248800154686339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274004155,"filename":"image_04112025_17_14_19_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3045d0bb4beaead3af8e18b44181165f.jpg","text":"TemporaryFile(/tmp/multipartBody5861543004521288008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274004155,"filename":"image_04112025_17_14_25_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022933","file1":"1402022932","file0":"1402022931","file4":"1402022935","file5":"1402022936","file3":"1402022934"},"map_files_photo_id_array":[{"photo_id":"1402022936","filename":"file5"},{"photo_id":"1402022933","filename":"file2"},{"photo_id":"1402022935","filename":"file4"},{"photo_id":"1402022932","filename":"file1"},{"photo_id":"1402022931","filename":"file0"},{"photo_id":"1402022934","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022932":["hashtag1","hashtag2"]},{"1402022935":["hashtag1","hashtag2"]},{"1402022934":["hashtag1","hashtag2"]},{"1402022931":["hashtag1","hashtag2"]},{"1402022933":["hashtag1","hashtag2"]},{"1402022936":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022932, 1402022935, 1402022934, 1402022931, 1402022933, 1402022936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.317445516586304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:26:22.447731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_24_9755.jpg', '/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_34_9900.jpg', '/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_45_10738.jpg', '/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_55_9614.jpg', '/home/pi/Desktop/images/01012026/12/33/image_01012026_12_34_05_9844.jpg', '/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_14_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_24_9755.jpg
/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_34_9900.jpg
/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_45_10738.jpg
/home/pi/Desktop/images/01012026/12/33/image_01012026_12_33_55_9614.jpg
/home/pi/Desktop/images/01012026/12/33/image_01012026_12_34_05_9844.jpg
/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_14_9938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022941","1402022949","1402022943","1402022937","1402022945","1402022939"],"photo_ids_order":["1402022937","1402022939","1402022941","1402022943","1402022945","1402022949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74282fa5b547fae8a36782d77b5d6ad9.jpg","text":"TemporaryFile(/tmp/multipartBody6830494470188421478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274043217,"filename":"image_01012026_12_33_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e09f50f9fbd00f4118ea27cafb1fa69f.jpg","text":"TemporaryFile(/tmp/multipartBody2794819619137624312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274043217,"filename":"image_01012026_12_34_14_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac13129d273297a19ad36de65d008bd6.jpg","text":"TemporaryFile(/tmp/multipartBody1454386869284994120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274043217,"filename":"image_01012026_12_33_55_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/feda5e37d927e9def6f7990f9a1f1aa5.jpg","text":"TemporaryFile(/tmp/multipartBody7063514239805044762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274043217,"filename":"image_01012026_12_33_24_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9139e171596044c247636003d8bdace.jpg","text":"TemporaryFile(/tmp/multipartBody1458544267505587528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274043217,"filename":"image_01012026_12_34_05_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f46303bffee60e4659545ec6be5b7c3e.jpg","text":"TemporaryFile(/tmp/multipartBody4940140151605734492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274043217,"filename":"image_01012026_12_33_34_9900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022941","file1":"1402022939","file0":"1402022937","file4":"1402022945","file5":"1402022949","file3":"1402022943"},"map_files_photo_id_array":[{"photo_id":"1402022949","filename":"file5"},{"photo_id":"1402022941","filename":"file2"},{"photo_id":"1402022945","filename":"file4"},{"photo_id":"1402022939","filename":"file1"},{"photo_id":"1402022937","filename":"file0"},{"photo_id":"1402022943","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022941":["hashtag1","hashtag2"]},{"1402022949":["hashtag1","hashtag2"]},{"1402022943":["hashtag1","hashtag2"]},{"1402022937":["hashtag1","hashtag2"]},{"1402022945":["hashtag1","hashtag2"]},{"1402022939":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022941, 1402022949, 1402022943, 1402022937, 1402022945, 1402022939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03547739982605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:27:03.369666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_25_10647.jpg', '/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_35_9696.jpg', '/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_45_9753.jpg', '/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_55_10664.jpg', '/home/pi/Desktop/images/01012026/12/34/image_01012026_12_35_05_9499.jpg', '/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_14_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_25_10647.jpg
/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_35_9696.jpg
/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_45_9753.jpg
/home/pi/Desktop/images/01012026/12/34/image_01012026_12_34_55_10664.jpg
/home/pi/Desktop/images/01012026/12/34/image_01012026_12_35_05_9499.jpg
/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_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":["1402022968","1402022970","1402022967","1402022964","1402022972","1402022966"],"photo_ids_order":["1402022964","1402022966","1402022967","1402022968","1402022970","1402022972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d7a1885d919f14219c27684ca1152cf.jpg","text":"TemporaryFile(/tmp/multipartBody1015580416818906144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274084180,"filename":"image_01012026_12_34_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efa59f2c36cdedd967407918787048a9.jpg","text":"TemporaryFile(/tmp/multipartBody2253205803347868650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274084180,"filename":"image_01012026_12_35_05_9499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/388247470ae18c2e387e84c2fccac970.jpg","text":"TemporaryFile(/tmp/multipartBody868921907044603921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274084180,"filename":"image_01012026_12_34_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/634db0235b692473ce2d1f6ad3fd785a.jpg","text":"TemporaryFile(/tmp/multipartBody3275677046059659643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274084180,"filename":"image_01012026_12_34_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e97c95624f2293c0541887d2036ad8e3.jpg","text":"TemporaryFile(/tmp/multipartBody7393036351575477881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274084180,"filename":"image_01012026_12_35_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c60412af53317eb1e30eac74bf2b191b.jpg","text":"TemporaryFile(/tmp/multipartBody9199344009651074463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274084180,"filename":"image_01012026_12_34_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022967","file1":"1402022966","file0":"1402022964","file4":"1402022970","file5":"1402022972","file3":"1402022968"},"map_files_photo_id_array":[{"photo_id":"1402022972","filename":"file5"},{"photo_id":"1402022967","filename":"file2"},{"photo_id":"1402022970","filename":"file4"},{"photo_id":"1402022966","filename":"file1"},{"photo_id":"1402022964","filename":"file0"},{"photo_id":"1402022968","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022968":["hashtag1","hashtag2"]},{"1402022970":["hashtag1","hashtag2"]},{"1402022967":["hashtag1","hashtag2"]},{"1402022964":["hashtag1","hashtag2"]},{"1402022972":["hashtag1","hashtag2"]},{"1402022966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022968, 1402022970, 1402022967, 1402022964, 1402022972, 1402022966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28449869155884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:27:42.758071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_27_1589.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_29_1683.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_30_1718.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_32_1614.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_34_1567.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_50_16897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_27_1589.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_29_1683.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_30_1718.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_32_1614.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_34_1567.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_50_16897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022980","1402022977","1402022979","1402022982","1402022981","1402022978"],"photo_ids_order":["1402022977","1402022978","1402022979","1402022980","1402022981","1402022982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f05075775436b37955098f4dc2ab4b86.jpg","text":"TemporaryFile(/tmp/multipartBody4519354464860298113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274124657,"filename":"image_04112025_17_14_32_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/856b78892c2ee75a20161cfaf1d9b774.jpg","text":"TemporaryFile(/tmp/multipartBody1843723234008549774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274124657,"filename":"image_04112025_17_14_27_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ece4de57fb978f5bc9c64022a7a49cf8.jpg","text":"TemporaryFile(/tmp/multipartBody8706226049367181054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274124657,"filename":"image_04112025_17_14_30_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f18261f072f179b1963eb79c9efb2a8.jpg","text":"TemporaryFile(/tmp/multipartBody3167096200204857693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274124657,"filename":"image_04112025_17_14_50_16897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcb9cda87b7e6d8ece643dc3456be1e5.jpg","text":"TemporaryFile(/tmp/multipartBody6614889726397180191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274124657,"filename":"image_04112025_17_14_34_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c382bdea9a447f0dc65c73fa1a653c85.jpg","text":"TemporaryFile(/tmp/multipartBody4069639843957011678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274124657,"filename":"image_04112025_17_14_29_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022979","file1":"1402022978","file0":"1402022977","file4":"1402022981","file5":"1402022982","file3":"1402022980"},"map_files_photo_id_array":[{"photo_id":"1402022982","filename":"file5"},{"photo_id":"1402022979","filename":"file2"},{"photo_id":"1402022981","filename":"file4"},{"photo_id":"1402022978","filename":"file1"},{"photo_id":"1402022977","filename":"file0"},{"photo_id":"1402022980","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402022980":["hashtag1","hashtag2"]},{"1402022977":["hashtag1","hashtag2"]},{"1402022979":["hashtag1","hashtag2"]},{"1402022982":["hashtag1","hashtag2"]},{"1402022981":["hashtag1","hashtag2"]},{"1402022978":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402022980, 1402022977, 1402022979, 1402022982, 1402022981, 1402022978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.11424136161804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:28:21.929411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_25_10819.jpg', '/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_35_9405.jpg', '/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_45_9933.jpg', '/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_55_10023.jpg', '/home/pi/Desktop/images/01012026/12/35/image_01012026_12_36_05_10273.jpg', '/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_15_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_25_10819.jpg
/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_35_9405.jpg
/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_45_9933.jpg
/home/pi/Desktop/images/01012026/12/35/image_01012026_12_35_55_10023.jpg
/home/pi/Desktop/images/01012026/12/35/image_01012026_12_36_05_10273.jpg
/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_15_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022989","1402022983","1402022991","1402022985","1402022993","1402022987"],"photo_ids_order":["1402022983","1402022985","1402022987","1402022989","1402022991","1402022993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c933a28fb925d88a1e31250717275d9.jpg","text":"TemporaryFile(/tmp/multipartBody3916224142830116019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274162648,"filename":"image_01012026_12_35_55_10023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5d34db80a17530b46c43d4633e30d36.jpg","text":"TemporaryFile(/tmp/multipartBody8611003301949329758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274162648,"filename":"image_01012026_12_35_25_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44fc756390c845ada3666ed9136e1066.jpg","text":"TemporaryFile(/tmp/multipartBody171743488180296201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274162648,"filename":"image_01012026_12_36_05_10273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c500210e153a1cf4dadf6d81f6f6b9d.jpg","text":"TemporaryFile(/tmp/multipartBody4839079606455013941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274162648,"filename":"image_01012026_12_35_35_9405.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dea39c049a67c80fd439612a8f846485.jpg","text":"TemporaryFile(/tmp/multipartBody7100704863875981984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274162648,"filename":"image_01012026_12_36_15_10419.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8555d8f9057f1181add5c5cc768a8bd5.jpg","text":"TemporaryFile(/tmp/multipartBody7923676250808369709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274162648,"filename":"image_01012026_12_35_45_9933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022987","file1":"1402022985","file0":"1402022983","file4":"1402022991","file5":"1402022993","file3":"1402022989"},"map_files_photo_id_array":[{"photo_id":"1402022993","filename":"file5"},{"photo_id":"1402022987","filename":"file2"},{"photo_id":"1402022991","filename":"file4"},{"photo_id":"1402022985","filename":"file1"},{"photo_id":"1402022983","filename":"file0"},{"photo_id":"1402022989","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022989":["hashtag1","hashtag2"]},{"1402022983":["hashtag1","hashtag2"]},{"1402022991":["hashtag1","hashtag2"]},{"1402022985":["hashtag1","hashtag2"]},{"1402022993":["hashtag1","hashtag2"]},{"1402022987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022989, 1402022983, 1402022991, 1402022985, 1402022993, 1402022987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39464211463928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:29:03.340825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_26_11049.jpg', '/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_34_8040.jpg', '/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_45_10778.jpg', '/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_54_9241.jpg', '/home/pi/Desktop/images/01012026/12/36/image_01012026_12_37_05_10854.jpg', '/home/pi/Desktop/images/01012026/12/37/image_01012026_12_37_15_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_26_11049.jpg
/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_34_8040.jpg
/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_45_10778.jpg
/home/pi/Desktop/images/01012026/12/36/image_01012026_12_36_54_9241.jpg
/home/pi/Desktop/images/01012026/12/36/image_01012026_12_37_05_10854.jpg
/home/pi/Desktop/images/01012026/12/37/image_01012026_12_37_15_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402022995","1402022998","1402023001","1402022997","1402023003","1402023000"],"photo_ids_order":["1402022995","1402022997","1402022998","1402023000","1402023001","1402023003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/647bf4dd9ebf118fa60bb397d6f9578b.jpg","text":"TemporaryFile(/tmp/multipartBody7970741400272898712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274204219,"filename":"image_01012026_12_36_26_11049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c62e3e320fbf5768ec9fe4cefbbe70f1.jpg","text":"TemporaryFile(/tmp/multipartBody2828008022479762081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274204219,"filename":"image_01012026_12_36_45_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b971ea9c8e9ebb11a04d00d54a9f6c4.jpg","text":"TemporaryFile(/tmp/multipartBody751568473727712047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274204219,"filename":"image_01012026_12_37_05_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/860bfcfbfc36101e08edc5c0fc649378.jpg","text":"TemporaryFile(/tmp/multipartBody5936427333112803220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274204219,"filename":"image_01012026_12_36_34_8040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dab700b17b5cc21b71662c941b825e6e.jpg","text":"TemporaryFile(/tmp/multipartBody8108449609759586785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274204219,"filename":"image_01012026_12_37_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/891a082c97fa7712b01abcf4d9f96d17.jpg","text":"TemporaryFile(/tmp/multipartBody4543908525364429026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274204219,"filename":"image_01012026_12_36_54_9241.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402022998","file1":"1402022997","file0":"1402022995","file4":"1402023001","file5":"1402023003","file3":"1402023000"},"map_files_photo_id_array":[{"photo_id":"1402023003","filename":"file5"},{"photo_id":"1402022998","filename":"file2"},{"photo_id":"1402023001","filename":"file4"},{"photo_id":"1402022997","filename":"file1"},{"photo_id":"1402022995","filename":"file0"},{"photo_id":"1402023000","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402022995":["hashtag1","hashtag2"]},{"1402022998":["hashtag1","hashtag2"]},{"1402023001":["hashtag1","hashtag2"]},{"1402022997":["hashtag1","hashtag2"]},{"1402023003":["hashtag1","hashtag2"]},{"1402023000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402022995, 1402022998, 1402023001, 1402022997, 1402023003, 1402023000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79891085624695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:29:42.307283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_52_1602.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_54_1510.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_55_1589.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_58_3155.jpg', '/home/pi/Desktop/images/04112025/17/14/image_04112025_17_15_00_1569.jpg', '/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_06_3018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_52_1602.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_54_1510.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_55_1589.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_14_58_3155.jpg
/home/pi/Desktop/images/04112025/17/14/image_04112025_17_15_00_1569.jpg
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_06_3018.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":["1402023022","1402023010","1402023028","1402023030","1402023026","1402023023"],"photo_ids_order":["1402023010","1402023022","1402023023","1402023026","1402023028","1402023030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c5fc54f98b61356b2bc7585dd2bc79f.jpg","text":"TemporaryFile(/tmp/multipartBody1379117854171221172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274244169,"filename":"image_04112025_17_14_54_1510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcf7e826763805828e07cd02dceb2276.jpg","text":"TemporaryFile(/tmp/multipartBody6921226953998993920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274244169,"filename":"image_04112025_17_14_52_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76ad6ff229e75679942a8ca4bd257f69.jpg","text":"TemporaryFile(/tmp/multipartBody422999028689455845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274244169,"filename":"image_04112025_17_15_00_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c46407a3001ddd268fd105376d878818.jpg","text":"TemporaryFile(/tmp/multipartBody2967428205460583373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274244169,"filename":"image_04112025_17_17_06_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a014e99cc59464889c59cfd13bccad71.jpg","text":"TemporaryFile(/tmp/multipartBody3119925007704270254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274244169,"filename":"image_04112025_17_14_58_3155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/deab38fe4ca47327c5387a8374897ea7.jpg","text":"TemporaryFile(/tmp/multipartBody4720840898340294749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274244169,"filename":"image_04112025_17_14_55_1589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023023","file1":"1402023022","file0":"1402023010","file4":"1402023028","file5":"1402023030","file3":"1402023026"},"map_files_photo_id_array":[{"photo_id":"1402023030","filename":"file5"},{"photo_id":"1402023023","filename":"file2"},{"photo_id":"1402023028","filename":"file4"},{"photo_id":"1402023022","filename":"file1"},{"photo_id":"1402023010","filename":"file0"},{"photo_id":"1402023026","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023022":["hashtag1","hashtag2"]},{"1402023010":["hashtag1","hashtag2"]},{"1402023028":["hashtag1","hashtag2"]},{"1402023030":["hashtag1","hashtag2"]},{"1402023026":["hashtag1","hashtag2"]},{"1402023023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023022, 1402023010, 1402023028, 1402023030, 1402023026, 1402023023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.57881784439087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:31:03.420728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/37/image_01012026_12_37_24_9470.jpg', '/home/pi/Desktop/images/01012026/12/37/image_01012026_12_37_37_12128.jpg', '/home/pi/Desktop/images/01012026/12/37/image_01012026_12_37_55_9719.jpg', '/home/pi/Desktop/images/01012026/12/37/image_01012026_12_38_05_9678.jpg', '/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_15_10581.jpg', '/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_25_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/37/image_01012026_12_37_24_9470.jpg
/home/pi/Desktop/images/01012026/12/37/image_01012026_12_37_37_12128.jpg
/home/pi/Desktop/images/01012026/12/37/image_01012026_12_37_55_9719.jpg
/home/pi/Desktop/images/01012026/12/37/image_01012026_12_38_05_9678.jpg
/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_15_10581.jpg
/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_25_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":["1402023037","1402023042","1402023036","1402023038","1402023035","1402023040"],"photo_ids_order":["1402023035","1402023036","1402023037","1402023038","1402023040","1402023042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e736987004517ace1c79830272628b93.jpg","text":"TemporaryFile(/tmp/multipartBody1172593030185629107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274324260,"filename":"image_01012026_12_37_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de913b5ce4bfbc4112fdc0cd888957c1.jpg","text":"TemporaryFile(/tmp/multipartBody382782412444805389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274324260,"filename":"image_01012026_12_38_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49743ceb0cccf36c7b3a1c613d2e5462.jpg","text":"TemporaryFile(/tmp/multipartBody2869893217394769611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274324260,"filename":"image_01012026_12_37_37_12128.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b47211b0ebcc786e4f39ba6b312bcf23.jpg","text":"TemporaryFile(/tmp/multipartBody2479676332117149226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274324260,"filename":"image_01012026_12_38_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1a78723397507bdcf0d4988f57a22ed.jpg","text":"TemporaryFile(/tmp/multipartBody7031261735298972954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274324260,"filename":"image_01012026_12_37_24_9470.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a87a533c7dacb44b8ee8452f4c6db032.jpg","text":"TemporaryFile(/tmp/multipartBody2482539785542020749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274324260,"filename":"image_01012026_12_38_15_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023037","file1":"1402023036","file0":"1402023035","file4":"1402023040","file5":"1402023042","file3":"1402023038"},"map_files_photo_id_array":[{"photo_id":"1402023042","filename":"file5"},{"photo_id":"1402023037","filename":"file2"},{"photo_id":"1402023040","filename":"file4"},{"photo_id":"1402023036","filename":"file1"},{"photo_id":"1402023035","filename":"file0"},{"photo_id":"1402023038","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023037":["hashtag1","hashtag2"]},{"1402023042":["hashtag1","hashtag2"]},{"1402023036":["hashtag1","hashtag2"]},{"1402023038":["hashtag1","hashtag2"]},{"1402023035":["hashtag1","hashtag2"]},{"1402023040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023037, 1402023042, 1402023036, 1402023038, 1402023035, 1402023040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.33826041221619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:31:42.847910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_10_3662.jpg', '/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_13_2576.jpg', '/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_16_3626.jpg', '/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_24_4711.jpg', '/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_26_1609.jpg', '/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_28_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_10_3662.jpg
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_13_2576.jpg
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_16_3626.jpg
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_24_4711.jpg
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_26_1609.jpg
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_28_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023052","1402023046","1402023051","1402023048","1402023050","1402023049"],"photo_ids_order":["1402023046","1402023048","1402023049","1402023050","1402023051","1402023052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23d110c6f01d444bd742ed29db7d3de0.jpg","text":"TemporaryFile(/tmp/multipartBody2194350150659431774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274364680,"filename":"image_04112025_17_17_28_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d793f8a096d80e812ab5693481998526.jpg","text":"TemporaryFile(/tmp/multipartBody2459379174330190143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274364680,"filename":"image_04112025_17_17_10_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2db93e1c97b203e12b9ec4250f9b07b9.jpg","text":"TemporaryFile(/tmp/multipartBody9051571682838847269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274364680,"filename":"image_04112025_17_17_26_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2cf551074e2117958a062a47023056c4.jpg","text":"TemporaryFile(/tmp/multipartBody6898206864705938270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274364680,"filename":"image_04112025_17_17_13_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d659c251fffd7ef21921764b5c07486d.jpg","text":"TemporaryFile(/tmp/multipartBody2570465747316361054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274364680,"filename":"image_04112025_17_17_24_4711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af6cfc52d3b7cb4a3551bd493cb8ce13.jpg","text":"TemporaryFile(/tmp/multipartBody6035292040780289297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274364680,"filename":"image_04112025_17_17_16_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023049","file1":"1402023048","file0":"1402023046","file4":"1402023051","file5":"1402023052","file3":"1402023050"},"map_files_photo_id_array":[{"photo_id":"1402023052","filename":"file5"},{"photo_id":"1402023049","filename":"file2"},{"photo_id":"1402023051","filename":"file4"},{"photo_id":"1402023048","filename":"file1"},{"photo_id":"1402023046","filename":"file0"},{"photo_id":"1402023050","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023052":["hashtag1","hashtag2"]},{"1402023046":["hashtag1","hashtag2"]},{"1402023051":["hashtag1","hashtag2"]},{"1402023048":["hashtag1","hashtag2"]},{"1402023050":["hashtag1","hashtag2"]},{"1402023049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023052, 1402023046, 1402023051, 1402023048, 1402023050, 1402023049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21337604522705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:32:22.049674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_35_9813.jpg', '/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_44_9682.jpg', '/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_54_10012.jpg', '/home/pi/Desktop/images/01012026/12/38/image_01012026_12_39_05_10799.jpg', '/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_15_9823.jpg', '/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_25_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_35_9813.jpg
/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_44_9682.jpg
/home/pi/Desktop/images/01012026/12/38/image_01012026_12_38_54_10012.jpg
/home/pi/Desktop/images/01012026/12/38/image_01012026_12_39_05_10799.jpg
/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_15_9823.jpg
/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_25_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":["1402023064","1402023058","1402023060","1402023062","1402023056","1402023053"],"photo_ids_order":["1402023053","1402023056","1402023058","1402023060","1402023062","1402023064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05929569f288d733557794ef229c969c.jpg","text":"TemporaryFile(/tmp/multipartBody1416733043205542560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274402773,"filename":"image_01012026_12_39_25_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f95e933e8d07aa6c53d75df8abb71a5.jpg","text":"TemporaryFile(/tmp/multipartBody6796460432484737186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274402773,"filename":"image_01012026_12_38_54_10012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abc985647d45f08a55a2472a62dbb540.jpg","text":"TemporaryFile(/tmp/multipartBody800509150131156987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274402773,"filename":"image_01012026_12_39_05_10799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77f59e0386f6c3f66bb26273264e0c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4517694032648391769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274402773,"filename":"image_01012026_12_39_15_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbb337ad3cd6579e984b0cb8cf30952b.jpg","text":"TemporaryFile(/tmp/multipartBody962548017094793280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274402773,"filename":"image_01012026_12_38_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8e43de3a8ea7c31323ab50fd4cfef73.jpg","text":"TemporaryFile(/tmp/multipartBody2005316123007925539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274402773,"filename":"image_01012026_12_38_35_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023058","file1":"1402023056","file0":"1402023053","file4":"1402023062","file5":"1402023064","file3":"1402023060"},"map_files_photo_id_array":[{"photo_id":"1402023064","filename":"file5"},{"photo_id":"1402023058","filename":"file2"},{"photo_id":"1402023062","filename":"file4"},{"photo_id":"1402023056","filename":"file1"},{"photo_id":"1402023053","filename":"file0"},{"photo_id":"1402023060","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023064":["hashtag1","hashtag2"]},{"1402023058":["hashtag1","hashtag2"]},{"1402023060":["hashtag1","hashtag2"]},{"1402023062":["hashtag1","hashtag2"]},{"1402023056":["hashtag1","hashtag2"]},{"1402023053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023064, 1402023058, 1402023060, 1402023062, 1402023056, 1402023053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50977182388306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:33:02.873772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_35_9746.jpg', '/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_44_9708.jpg', '/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_55_10263.jpg', '/home/pi/Desktop/images/01012026/12/39/image_01012026_12_40_05_10589.jpg', '/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_15_9798.jpg', '/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_34_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_35_9746.jpg
/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_44_9708.jpg
/home/pi/Desktop/images/01012026/12/39/image_01012026_12_39_55_10263.jpg
/home/pi/Desktop/images/01012026/12/39/image_01012026_12_40_05_10589.jpg
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_15_9798.jpg
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_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":["1402023079","1402023078","1402023081","1402023075","1402023077","1402023076"],"photo_ids_order":["1402023075","1402023076","1402023077","1402023078","1402023079","1402023081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af4c3b06d3ab287ec2deff929fad0f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7171604916214444216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274443704,"filename":"image_01012026_12_40_15_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eea4baa37006bfe4e8bedc7913f97a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2171727165047844551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274443704,"filename":"image_01012026_12_40_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e87cc73c6369fe45a376ced86cced02.jpg","text":"TemporaryFile(/tmp/multipartBody5442093680993067866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274443704,"filename":"image_01012026_12_40_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d51aa5dc9f31da2f50b37658f909522.jpg","text":"TemporaryFile(/tmp/multipartBody737537342643641581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274443704,"filename":"image_01012026_12_39_35_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f860e5942e681d4ffcf15260a08e61a3.jpg","text":"TemporaryFile(/tmp/multipartBody2142522900394467576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274443704,"filename":"image_01012026_12_39_55_10263.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b914363141ac4cd158957b84fb52e71.jpg","text":"TemporaryFile(/tmp/multipartBody6865807927338150264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274443704,"filename":"image_01012026_12_39_44_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023077","file1":"1402023076","file0":"1402023075","file4":"1402023079","file5":"1402023081","file3":"1402023078"},"map_files_photo_id_array":[{"photo_id":"1402023081","filename":"file5"},{"photo_id":"1402023077","filename":"file2"},{"photo_id":"1402023079","filename":"file4"},{"photo_id":"1402023076","filename":"file1"},{"photo_id":"1402023075","filename":"file0"},{"photo_id":"1402023078","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023079":["hashtag1","hashtag2"]},{"1402023078":["hashtag1","hashtag2"]},{"1402023081":["hashtag1","hashtag2"]},{"1402023075":["hashtag1","hashtag2"]},{"1402023077":["hashtag1","hashtag2"]},{"1402023076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023079, 1402023078, 1402023081, 1402023075, 1402023077, 1402023076)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.416767835617065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:34:03.234676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_45_10817.jpg', '/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_55_9956.jpg', '/home/pi/Desktop/images/01012026/12/40/image_01012026_12_41_05_9841.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_15_9764.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_24_9626.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_35_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_45_10817.jpg
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_55_9956.jpg
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_41_05_9841.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_15_9764.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_24_9626.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_35_10744.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.7881855964660645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:34:12.578453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_31_2597.jpg', '/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_34_2883.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_01_24391.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_04_1637.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_06_1664.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_41_13003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_31_2597.jpg
/home/pi/Desktop/images/04112025/17/17/image_04112025_17_17_34_2883.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_01_24391.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_04_1637.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_06_1664.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_41_13003.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023103","1402023099","1402023092","1402023101","1402023094","1402023097"],"photo_ids_order":["1402023092","1402023094","1402023097","1402023099","1402023101","1402023103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d0e76c3fe30cbc9cfff863ca87b1af8.jpg","text":"TemporaryFile(/tmp/multipartBody6849443039808809823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274515768,"filename":"image_04112025_17_18_41_13003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfe7770d937f4e884ee821d530364bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8762114874714361216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274515768,"filename":"image_04112025_17_18_04_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5648cc2d91e2f2f2705e229c45182946.jpg","text":"TemporaryFile(/tmp/multipartBody5125650730908358088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274515768,"filename":"image_04112025_17_17_31_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/353cb7bf9e0e9cf1da44bb4cb9e6a379.jpg","text":"TemporaryFile(/tmp/multipartBody8941917737397578720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274515768,"filename":"image_04112025_17_18_06_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11b49b6605ea2acc940b8aa42ab835bb.jpg","text":"TemporaryFile(/tmp/multipartBody3905505585507319033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274515768,"filename":"image_04112025_17_17_34_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfa9212c0f11327d21d45853932aea73.jpg","text":"TemporaryFile(/tmp/multipartBody9083004176982173859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274515768,"filename":"image_04112025_17_18_01_24391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023097","file1":"1402023094","file0":"1402023092","file4":"1402023101","file5":"1402023103","file3":"1402023099"},"map_files_photo_id_array":[{"photo_id":"1402023103","filename":"file5"},{"photo_id":"1402023097","filename":"file2"},{"photo_id":"1402023101","filename":"file4"},{"photo_id":"1402023094","filename":"file1"},{"photo_id":"1402023092","filename":"file0"},{"photo_id":"1402023099","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023103":["hashtag1","hashtag2"]},{"1402023099":["hashtag1","hashtag2"]},{"1402023092":["hashtag1","hashtag2"]},{"1402023101":["hashtag1","hashtag2"]},{"1402023094":["hashtag1","hashtag2"]},{"1402023097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023103, 1402023099, 1402023092, 1402023101, 1402023094, 1402023097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.617087602615356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:35:03.401734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_45_10817.jpg', '/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_55_9956.jpg', '/home/pi/Desktop/images/01012026/12/40/image_01012026_12_41_05_9841.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_15_9764.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_24_9626.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_35_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_45_10817.jpg
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_55_9956.jpg
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_41_05_9841.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_15_9764.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_24_9626.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_35_10744.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.6947066783905029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:35:12.681917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_42_1727.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_44_1654.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_46_1572.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_47_1723.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_49_1656.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_51_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_42_1727.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_44_1654.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_46_1572.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_47_1723.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_49_1656.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_51_1656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023118","1402023109","1402023120","1402023114","1402023111","1402023116"],"photo_ids_order":["1402023109","1402023111","1402023114","1402023116","1402023118","1402023120"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38252d02dc417769bd4a2b5dba2e8ce2.jpg","text":"TemporaryFile(/tmp/multipartBody94666141435222093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274574401,"filename":"image_04112025_17_18_49_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d17fbcb47c0e0256273dd1cd69dc8ce.jpg","text":"TemporaryFile(/tmp/multipartBody7085069130628417045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274574401,"filename":"image_04112025_17_18_42_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58498b5063aed3976cb4d972716a1396.jpg","text":"TemporaryFile(/tmp/multipartBody3829151747905492679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274574401,"filename":"image_04112025_17_18_51_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90b36f5c58caa36de5b0aa2e801ca283.jpg","text":"TemporaryFile(/tmp/multipartBody2014373133067053190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274574401,"filename":"image_04112025_17_18_46_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b301df073b683990c7035a6955c5d518.jpg","text":"TemporaryFile(/tmp/multipartBody6787889284973646802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274574401,"filename":"image_04112025_17_18_44_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac5512aba399931447256c7446607355.jpg","text":"TemporaryFile(/tmp/multipartBody8227549477702626830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274574401,"filename":"image_04112025_17_18_47_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023114","file1":"1402023111","file0":"1402023109","file4":"1402023118","file5":"1402023120","file3":"1402023116"},"map_files_photo_id_array":[{"photo_id":"1402023120","filename":"file5"},{"photo_id":"1402023114","filename":"file2"},{"photo_id":"1402023118","filename":"file4"},{"photo_id":"1402023111","filename":"file1"},{"photo_id":"1402023109","filename":"file0"},{"photo_id":"1402023116","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023118":["hashtag1","hashtag2"]},{"1402023109":["hashtag1","hashtag2"]},{"1402023120":["hashtag1","hashtag2"]},{"1402023114":["hashtag1","hashtag2"]},{"1402023111":["hashtag1","hashtag2"]},{"1402023116":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023118, 1402023109, 1402023120, 1402023114, 1402023111, 1402023116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.728397369384766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:36:02.344089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_45_10817.jpg', '/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_55_9956.jpg', '/home/pi/Desktop/images/01012026/12/40/image_01012026_12_41_05_9841.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_15_9764.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_24_9626.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_35_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_45_10817.jpg
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_40_55_9956.jpg
/home/pi/Desktop/images/01012026/12/40/image_01012026_12_41_05_9841.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_15_9764.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_24_9626.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_35_10744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023136","1402023135","1402023138","1402023137","1402023140","1402023134"],"photo_ids_order":["1402023134","1402023135","1402023136","1402023137","1402023138","1402023140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/030f0424c41a5680ef3407980207ea20.jpg","text":"TemporaryFile(/tmp/multipartBody3251786213102478804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274623161,"filename":"image_01012026_12_41_05_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96c7d670c09be344e4eb24c459ad24e0.jpg","text":"TemporaryFile(/tmp/multipartBody1315362814859951704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274623161,"filename":"image_01012026_12_40_55_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3db9801258e24905f942cda35a1bbcdb.jpg","text":"TemporaryFile(/tmp/multipartBody8171016449654209040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274623161,"filename":"image_01012026_12_41_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/669547ac52e7a0f54cabee3f5980dce4.jpg","text":"TemporaryFile(/tmp/multipartBody725072430929517804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274623161,"filename":"image_01012026_12_41_15_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/422746d7222daca104e5730fab67663a.jpg","text":"TemporaryFile(/tmp/multipartBody1948518328025239842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274623161,"filename":"image_01012026_12_41_35_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72d9b2f5732d5b38b48cdb5450c184c2.jpg","text":"TemporaryFile(/tmp/multipartBody5646792898654087980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274623161,"filename":"image_01012026_12_40_45_10817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023136","file1":"1402023135","file0":"1402023134","file4":"1402023138","file5":"1402023140","file3":"1402023137"},"map_files_photo_id_array":[{"photo_id":"1402023140","filename":"file5"},{"photo_id":"1402023136","filename":"file2"},{"photo_id":"1402023138","filename":"file4"},{"photo_id":"1402023135","filename":"file1"},{"photo_id":"1402023134","filename":"file0"},{"photo_id":"1402023137","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023136":["hashtag1","hashtag2"]},{"1402023135":["hashtag1","hashtag2"]},{"1402023138":["hashtag1","hashtag2"]},{"1402023137":["hashtag1","hashtag2"]},{"1402023140":["hashtag1","hashtag2"]},{"1402023134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023136, 1402023135, 1402023138, 1402023137, 1402023140, 1402023134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2673065662384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:36:41.997963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_52_1578.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_54_1758.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_56_1720.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_57_1536.jpg', '/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_59_1628.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_05_5839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_52_1578.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_54_1758.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_56_1720.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_57_1536.jpg
/home/pi/Desktop/images/04112025/17/18/image_04112025_17_18_59_1628.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_05_5839.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023151","1402023150","1402023152","1402023146","1402023149","1402023148"],"photo_ids_order":["1402023146","1402023148","1402023149","1402023150","1402023151","1402023152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c86419bb68a9f33f374c9c57ae759b7f.jpg","text":"TemporaryFile(/tmp/multipartBody858757917741941287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274663865,"filename":"image_04112025_17_18_59_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed21fc6c9bae59bda49c2c35d4655f00.jpg","text":"TemporaryFile(/tmp/multipartBody8376825772260251516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274663865,"filename":"image_04112025_17_18_57_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87c29b0cd5bbc4565e41bdc0f382ff88.jpg","text":"TemporaryFile(/tmp/multipartBody6190567626694416095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274663865,"filename":"image_04112025_17_19_05_5839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1f390bdee26f81ce83ee27f201bd978.jpg","text":"TemporaryFile(/tmp/multipartBody1690375121627122923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274663865,"filename":"image_04112025_17_18_52_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2cc59d2688b5b5f5fc7e5d0d0c0811eb.jpg","text":"TemporaryFile(/tmp/multipartBody8478690360566638512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274663865,"filename":"image_04112025_17_18_56_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94cbe23b1606792f94b6c9747ccca23d.jpg","text":"TemporaryFile(/tmp/multipartBody995690213248730814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274663865,"filename":"image_04112025_17_18_54_1758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023149","file1":"1402023148","file0":"1402023146","file4":"1402023151","file5":"1402023152","file3":"1402023150"},"map_files_photo_id_array":[{"photo_id":"1402023152","filename":"file5"},{"photo_id":"1402023149","filename":"file2"},{"photo_id":"1402023151","filename":"file4"},{"photo_id":"1402023148","filename":"file1"},{"photo_id":"1402023146","filename":"file0"},{"photo_id":"1402023150","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023151":["hashtag1","hashtag2"]},{"1402023150":["hashtag1","hashtag2"]},{"1402023152":["hashtag1","hashtag2"]},{"1402023146":["hashtag1","hashtag2"]},{"1402023149":["hashtag1","hashtag2"]},{"1402023148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023151, 1402023150, 1402023152, 1402023146, 1402023149, 1402023148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14373278617859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:37:22.102004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_55_10769.jpg', '/home/pi/Desktop/images/01012026/12/41/image_01012026_12_42_05_9725.jpg', '/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_15_9752.jpg', '/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_24_9744.jpg', '/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_35_10710.jpg', '/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_45_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_41_55_10769.jpg
/home/pi/Desktop/images/01012026/12/41/image_01012026_12_42_05_9725.jpg
/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_15_9752.jpg
/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_24_9744.jpg
/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_35_10710.jpg
/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_45_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":["1402023162","1402023165","1402023153","1402023155","1402023158","1402023160"],"photo_ids_order":["1402023153","1402023155","1402023158","1402023160","1402023162","1402023165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80201c0837bc04dc0cb069a4517f3275.jpg","text":"TemporaryFile(/tmp/multipartBody8861870928795684611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274702790,"filename":"image_01012026_12_42_35_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddc124228fdb45bf2a5ee316164e727d.jpg","text":"TemporaryFile(/tmp/multipartBody5873957324659441157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274702790,"filename":"image_01012026_12_42_45_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c5574e1e224080559b241cb16c6bc31.jpg","text":"TemporaryFile(/tmp/multipartBody2757914025126331043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274702790,"filename":"image_01012026_12_41_55_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/949e9b46d2f7b3c32e8d51a3563325b6.jpg","text":"TemporaryFile(/tmp/multipartBody8773135591811389270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274702790,"filename":"image_01012026_12_42_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c2b987e13e0024874c11fd9bb52cdb8.jpg","text":"TemporaryFile(/tmp/multipartBody5017763784131759737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274702790,"filename":"image_01012026_12_42_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6fa5aa21a8613db351a31d909cb7930.jpg","text":"TemporaryFile(/tmp/multipartBody674007120036037541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274702790,"filename":"image_01012026_12_42_24_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023158","file1":"1402023155","file0":"1402023153","file4":"1402023162","file5":"1402023165","file3":"1402023160"},"map_files_photo_id_array":[{"photo_id":"1402023165","filename":"file5"},{"photo_id":"1402023158","filename":"file2"},{"photo_id":"1402023162","filename":"file4"},{"photo_id":"1402023155","filename":"file1"},{"photo_id":"1402023153","filename":"file0"},{"photo_id":"1402023160","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023162":["hashtag1","hashtag2"]},{"1402023165":["hashtag1","hashtag2"]},{"1402023153":["hashtag1","hashtag2"]},{"1402023155":["hashtag1","hashtag2"]},{"1402023158":["hashtag1","hashtag2"]},{"1402023160":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023162, 1402023165, 1402023153, 1402023155, 1402023158, 1402023160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33835697174072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:38:02.904505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_55_9808.jpg', '/home/pi/Desktop/images/01012026/12/42/image_01012026_12_43_05_9996.jpg', '/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_14_9837.jpg', '/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_25_10615.jpg', '/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_35_9748.jpg', '/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/42/image_01012026_12_42_55_9808.jpg
/home/pi/Desktop/images/01012026/12/42/image_01012026_12_43_05_9996.jpg
/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_14_9837.jpg
/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_25_10615.jpg
/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_35_9748.jpg
/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_45_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023171","1402023168","1402023173","1402023170","1402023167","1402023169"],"photo_ids_order":["1402023167","1402023168","1402023169","1402023170","1402023171","1402023173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/274ebe81066854d6cfe1a5754e99c5db.jpg","text":"TemporaryFile(/tmp/multipartBody5856263599565663516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274743680,"filename":"image_01012026_12_43_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67aeb6d6e9496a0e1f1a143a68ef2e11.jpg","text":"TemporaryFile(/tmp/multipartBody1639383469948655939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274743680,"filename":"image_01012026_12_43_05_9996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbcf05298e8a9f90c28c7f3dc89a8cac.jpg","text":"TemporaryFile(/tmp/multipartBody2211736399171753771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274743680,"filename":"image_01012026_12_43_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/209d8c3c8d48f13be8f25e85105ec4b9.jpg","text":"TemporaryFile(/tmp/multipartBody5598910684750529444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274743680,"filename":"image_01012026_12_43_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e02507194fa79afbc5ee777582bd715.jpg","text":"TemporaryFile(/tmp/multipartBody7475577108201444180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274743680,"filename":"image_01012026_12_42_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a218daee4607ccce9c93da9f555b1b4.jpg","text":"TemporaryFile(/tmp/multipartBody5716848817572008570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274743680,"filename":"image_01012026_12_43_14_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023169","file1":"1402023168","file0":"1402023167","file4":"1402023171","file5":"1402023173","file3":"1402023170"},"map_files_photo_id_array":[{"photo_id":"1402023173","filename":"file5"},{"photo_id":"1402023169","filename":"file2"},{"photo_id":"1402023171","filename":"file4"},{"photo_id":"1402023168","filename":"file1"},{"photo_id":"1402023167","filename":"file0"},{"photo_id":"1402023170","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023171":["hashtag1","hashtag2"]},{"1402023168":["hashtag1","hashtag2"]},{"1402023173":["hashtag1","hashtag2"]},{"1402023170":["hashtag1","hashtag2"]},{"1402023167":["hashtag1","hashtag2"]},{"1402023169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023171, 1402023168, 1402023173, 1402023170, 1402023167, 1402023169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.311930418014526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:38:42.300444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_06_1599.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_08_1633.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_10_1603.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_11_1558.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_13_1637.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_16_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_06_1599.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_08_1633.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_10_1603.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_11_1558.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_13_1637.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_16_1565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023189","1402023192","1402023191","1402023194","1402023190","1402023193"],"photo_ids_order":["1402023189","1402023190","1402023191","1402023192","1402023193","1402023194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/124e3effacdb386e37ebd407e505499e.jpg","text":"TemporaryFile(/tmp/multipartBody8448768125526999443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274789532,"filename":"image_04112025_17_19_06_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1861d8bcb3a3be3830e571cd2e92e57b.jpg","text":"TemporaryFile(/tmp/multipartBody7855155532291085654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274789532,"filename":"image_04112025_17_19_11_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ac84523edd4a717a7d1c43c885358e5.jpg","text":"TemporaryFile(/tmp/multipartBody4598793101413787109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274789532,"filename":"image_04112025_17_19_10_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c0b1741676c4a2a6fda659c19ebc69b.jpg","text":"TemporaryFile(/tmp/multipartBody7733818368600290070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274789532,"filename":"image_04112025_17_19_16_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb7bb8d867b57c1bc591c18b77d3de00.jpg","text":"TemporaryFile(/tmp/multipartBody1744246131539157649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274789532,"filename":"image_04112025_17_19_08_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15ad6cfad1448fbd3255761645eb9e84.jpg","text":"TemporaryFile(/tmp/multipartBody488472206761237994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274789532,"filename":"image_04112025_17_19_13_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023191","file1":"1402023190","file0":"1402023189","file4":"1402023193","file5":"1402023194","file3":"1402023192"},"map_files_photo_id_array":[{"photo_id":"1402023194","filename":"file5"},{"photo_id":"1402023191","filename":"file2"},{"photo_id":"1402023193","filename":"file4"},{"photo_id":"1402023190","filename":"file1"},{"photo_id":"1402023189","filename":"file0"},{"photo_id":"1402023192","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023189":["hashtag1","hashtag2"]},{"1402023192":["hashtag1","hashtag2"]},{"1402023191":["hashtag1","hashtag2"]},{"1402023194":["hashtag1","hashtag2"]},{"1402023190":["hashtag1","hashtag2"]},{"1402023193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023189, 1402023192, 1402023191, 1402023194, 1402023190, 1402023193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.26281237602234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:39:32.770463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_28_11674.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_29_1634.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_31_1570.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_32_1541.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_36_1705.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_37_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_28_11674.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_29_1634.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_31_1570.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_32_1541.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_36_1705.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_37_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023202","1402023205","1402023198","1402023204","1402023206","1402023200"],"photo_ids_order":["1402023198","1402023200","1402023202","1402023204","1402023205","1402023206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95409266733a27c33631105e8a6a213d.jpg","text":"TemporaryFile(/tmp/multipartBody2476500870166664110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274834610,"filename":"image_04112025_17_19_31_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/673b62734252f9226eb68362e4a21916.jpg","text":"TemporaryFile(/tmp/multipartBody1873876511047528184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274834610,"filename":"image_04112025_17_19_36_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c90008715bd19fa28731c0b7be2ae22.jpg","text":"TemporaryFile(/tmp/multipartBody2201190876973748034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274834610,"filename":"image_04112025_17_19_28_11674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/998eec53bf808c765b0b24d00687ca64.jpg","text":"TemporaryFile(/tmp/multipartBody461458907311518126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274834610,"filename":"image_04112025_17_19_32_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72fbe7caf41dee42d1437dba2db6a044.jpg","text":"TemporaryFile(/tmp/multipartBody2080399944764328228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274834610,"filename":"image_04112025_17_19_37_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/335661b5030b17b8339cfefffabcef2f.jpg","text":"TemporaryFile(/tmp/multipartBody4325394985155253531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274834610,"filename":"image_04112025_17_19_29_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023202","file1":"1402023200","file0":"1402023198","file4":"1402023205","file5":"1402023206","file3":"1402023204"},"map_files_photo_id_array":[{"photo_id":"1402023206","filename":"file5"},{"photo_id":"1402023202","filename":"file2"},{"photo_id":"1402023205","filename":"file4"},{"photo_id":"1402023200","filename":"file1"},{"photo_id":"1402023198","filename":"file0"},{"photo_id":"1402023204","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023202":["hashtag1","hashtag2"]},{"1402023205":["hashtag1","hashtag2"]},{"1402023198":["hashtag1","hashtag2"]},{"1402023204":["hashtag1","hashtag2"]},{"1402023206":["hashtag1","hashtag2"]},{"1402023200":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023202, 1402023205, 1402023198, 1402023204, 1402023206, 1402023200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62180495262146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:40:11.910505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_39_1539.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_41_1664.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_42_1478.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_44_1634.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_45_1659.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_47_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_39_1539.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_41_1664.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_42_1478.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_44_1634.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_45_1659.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_47_1580.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.6180198192596436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:40:22.155105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_55_10742.jpg', '/home/pi/Desktop/images/01012026/12/43/image_01012026_12_44_05_9702.jpg', '/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_15_10237.jpg', '/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_25_9726.jpg', '/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_35_9609.jpg', '/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_45_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/43/image_01012026_12_43_55_10742.jpg
/home/pi/Desktop/images/01012026/12/43/image_01012026_12_44_05_9702.jpg
/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_15_10237.jpg
/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_25_9726.jpg
/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_35_9609.jpg
/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_45_9978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023220","1402023217","1402023214","1402023222","1402023219","1402023210"],"photo_ids_order":["1402023210","1402023214","1402023217","1402023219","1402023220","1402023222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8401a94ea5078f502379408d11e644f6.jpg","text":"TemporaryFile(/tmp/multipartBody6039843131743851367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274882830,"filename":"image_01012026_12_44_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef72a114dd51b0a8ab9fb222efa81469.jpg","text":"TemporaryFile(/tmp/multipartBody5493071954660579709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274882830,"filename":"image_01012026_12_44_15_10237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a545cafced0cade8dd05497f3e6c09f2.jpg","text":"TemporaryFile(/tmp/multipartBody5405337229879423459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274882830,"filename":"image_01012026_12_44_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7185d5df6d29ae7be683f9785bb5b5ea.jpg","text":"TemporaryFile(/tmp/multipartBody9152238412406892939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274882830,"filename":"image_01012026_12_44_45_9978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83b6dcc6a8b315512d9df256eef4b810.jpg","text":"TemporaryFile(/tmp/multipartBody2013028381024085291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274882830,"filename":"image_01012026_12_44_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a16871243a2a76d09095abaf72197e5a.jpg","text":"TemporaryFile(/tmp/multipartBody180853033188128158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274882830,"filename":"image_01012026_12_43_55_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023217","file1":"1402023214","file0":"1402023210","file4":"1402023220","file5":"1402023222","file3":"1402023219"},"map_files_photo_id_array":[{"photo_id":"1402023222","filename":"file5"},{"photo_id":"1402023217","filename":"file2"},{"photo_id":"1402023220","filename":"file4"},{"photo_id":"1402023214","filename":"file1"},{"photo_id":"1402023210","filename":"file0"},{"photo_id":"1402023219","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023220":["hashtag1","hashtag2"]},{"1402023217":["hashtag1","hashtag2"]},{"1402023214":["hashtag1","hashtag2"]},{"1402023222":["hashtag1","hashtag2"]},{"1402023219":["hashtag1","hashtag2"]},{"1402023210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023220, 1402023217, 1402023214, 1402023222, 1402023219, 1402023210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.282909631729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:41:02.954126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_55_10771.jpg', '/home/pi/Desktop/images/01012026/12/44/image_01012026_12_45_05_9764.jpg', '/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_15_10100.jpg', '/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_25_9841.jpg', '/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_35_9755.jpg', '/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_44_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/44/image_01012026_12_44_55_10771.jpg
/home/pi/Desktop/images/01012026/12/44/image_01012026_12_45_05_9764.jpg
/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_15_10100.jpg
/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_25_9841.jpg
/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_35_9755.jpg
/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_44_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":["1402023229","1402023223","1402023226","1402023225","1402023228","1402023227"],"photo_ids_order":["1402023223","1402023225","1402023226","1402023227","1402023228","1402023229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d921a3b332e0518cfeb25501e735ec9.jpg","text":"TemporaryFile(/tmp/multipartBody3952486372945632184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274923823,"filename":"image_01012026_12_45_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97dedded82ad861724b30d3c4498cd01.jpg","text":"TemporaryFile(/tmp/multipartBody7225515291723918286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274923823,"filename":"image_01012026_12_44_55_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2054be98567813920f66d20cd18b2aeb.jpg","text":"TemporaryFile(/tmp/multipartBody6799243811257909248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274923823,"filename":"image_01012026_12_45_15_10100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df8f4e14c7894bcf2a20fefbf2d8bef2.jpg","text":"TemporaryFile(/tmp/multipartBody3344481109191719824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274923823,"filename":"image_01012026_12_45_05_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86764a63e48752fae6591e07b73e6f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1774234207608203686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274923823,"filename":"image_01012026_12_45_35_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7abc9eaddb36a9a96458f3c79c2997d7.jpg","text":"TemporaryFile(/tmp/multipartBody7805664411431949444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274923823,"filename":"image_01012026_12_45_25_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023226","file1":"1402023225","file0":"1402023223","file4":"1402023228","file5":"1402023229","file3":"1402023227"},"map_files_photo_id_array":[{"photo_id":"1402023229","filename":"file5"},{"photo_id":"1402023226","filename":"file2"},{"photo_id":"1402023228","filename":"file4"},{"photo_id":"1402023225","filename":"file1"},{"photo_id":"1402023223","filename":"file0"},{"photo_id":"1402023227","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023229":["hashtag1","hashtag2"]},{"1402023223":["hashtag1","hashtag2"]},{"1402023226":["hashtag1","hashtag2"]},{"1402023225":["hashtag1","hashtag2"]},{"1402023228":["hashtag1","hashtag2"]},{"1402023227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023229, 1402023223, 1402023226, 1402023225, 1402023228, 1402023227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80687665939331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:41:42.384139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_39_1539.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_41_1664.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_42_1478.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_44_1634.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_45_1659.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_47_1580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_39_1539.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_41_1664.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_42_1478.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_44_1634.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_45_1659.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_47_1580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023256","1402023255","1402023236","1402023251","1402023253","1402023247"],"photo_ids_order":["1402023236","1402023247","1402023251","1402023253","1402023255","1402023256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdbebe59411a6221b66a0f5b5255b649.jpg","text":"TemporaryFile(/tmp/multipartBody3871175276660079986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274964164,"filename":"image_04112025_17_19_47_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9ce6f552fa9de735694262cb271c911.jpg","text":"TemporaryFile(/tmp/multipartBody910834922313729451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274964164,"filename":"image_04112025_17_19_45_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7cf715fbc61154011efbfea222a7bfae.jpg","text":"TemporaryFile(/tmp/multipartBody7302255027399946190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274964164,"filename":"image_04112025_17_19_39_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d461b93246cc4b8157b8ed752073488.jpg","text":"TemporaryFile(/tmp/multipartBody8216630390544751833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274964164,"filename":"image_04112025_17_19_42_1478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9c41a5f5a3b9f25104d2bcecca02ebe.jpg","text":"TemporaryFile(/tmp/multipartBody4643316214930838257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274964164,"filename":"image_04112025_17_19_44_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81fdfd231c9a19cf4619a21cedb9d06a.jpg","text":"TemporaryFile(/tmp/multipartBody5300044315774184956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767274964164,"filename":"image_04112025_17_19_41_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023251","file1":"1402023247","file0":"1402023236","file4":"1402023255","file5":"1402023256","file3":"1402023253"},"map_files_photo_id_array":[{"photo_id":"1402023256","filename":"file5"},{"photo_id":"1402023251","filename":"file2"},{"photo_id":"1402023255","filename":"file4"},{"photo_id":"1402023247","filename":"file1"},{"photo_id":"1402023236","filename":"file0"},{"photo_id":"1402023253","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023256":["hashtag1","hashtag2"]},{"1402023255":["hashtag1","hashtag2"]},{"1402023236":["hashtag1","hashtag2"]},{"1402023251":["hashtag1","hashtag2"]},{"1402023253":["hashtag1","hashtag2"]},{"1402023247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023256, 1402023255, 1402023236, 1402023251, 1402023253, 1402023247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.413578271865845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:42:22.480571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_55_10334.jpg', '/home/pi/Desktop/images/01012026/12/45/image_01012026_12_46_04_9703.jpg', '/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_15_10876.jpg', '/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_25_9635.jpg', '/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_35_9754.jpg', '/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_45_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_55_10334.jpg
/home/pi/Desktop/images/01012026/12/45/image_01012026_12_46_04_9703.jpg
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_15_10876.jpg
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_25_9635.jpg
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_35_9754.jpg
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_45_10626.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: 7.272582530975342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:42:32.465327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_52_4671.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_53_1599.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_55_1699.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_58_2669.jpg', '/home/pi/Desktop/images/04112025/17/19/image_04112025_17_20_00_2693.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_52_4671.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_53_1599.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_55_1699.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_58_2669.jpg
/home/pi/Desktop/images/04112025/17/19/image_04112025_17_20_00_2693.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_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":["1402023270","1402023273","1402023272","1402023263","1402023266","1402023271"],"photo_ids_order":["1402023263","1402023266","1402023270","1402023271","1402023272","1402023273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b440df4492a3ac455d19cb12f8fde1fb.jpg","text":"TemporaryFile(/tmp/multipartBody6739455632782197690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275014204,"filename":"image_04112025_17_19_55_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9594e4a085cdda39273bf1691e732f14.jpg","text":"TemporaryFile(/tmp/multipartBody3659180075463840242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275014204,"filename":"image_04112025_17_21_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff2c715b7388fecbda02ee4819d8c1dd.jpg","text":"TemporaryFile(/tmp/multipartBody4135877768066362514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275014204,"filename":"image_04112025_17_20_00_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abc19550ee3433dfe91ca694e8f78885.jpg","text":"TemporaryFile(/tmp/multipartBody1693369533350696076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275014204,"filename":"image_04112025_17_19_52_4671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3294958c337554293d7c266e2e46aa11.jpg","text":"TemporaryFile(/tmp/multipartBody516013593895711206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275014204,"filename":"image_04112025_17_19_53_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/174240f646ec64259f554c28c6c0dc06.jpg","text":"TemporaryFile(/tmp/multipartBody7508300684077700636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275014204,"filename":"image_04112025_17_19_58_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023270","file1":"1402023266","file0":"1402023263","file4":"1402023272","file5":"1402023273","file3":"1402023271"},"map_files_photo_id_array":[{"photo_id":"1402023273","filename":"file5"},{"photo_id":"1402023270","filename":"file2"},{"photo_id":"1402023272","filename":"file4"},{"photo_id":"1402023266","filename":"file1"},{"photo_id":"1402023263","filename":"file0"},{"photo_id":"1402023271","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023270":["hashtag1","hashtag2"]},{"1402023273":["hashtag1","hashtag2"]},{"1402023272":["hashtag1","hashtag2"]},{"1402023263":["hashtag1","hashtag2"]},{"1402023266":["hashtag1","hashtag2"]},{"1402023271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023270, 1402023273, 1402023272, 1402023263, 1402023266, 1402023271)","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 = 1402023270 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/04112025/17/19/image_04112025_17_19_55_1699.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 56.10663866996765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:43:32.782243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_10_3420.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_13_2694.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_16_3594.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_22_2626.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_36_13698.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_37_1521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_10_3420.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_13_2694.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_16_3594.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_22_2626.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_36_13698.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_37_1521.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.1086387634277344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:43:42.823712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_10_3420.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_13_2694.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_16_3594.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_22_2626.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_36_13698.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_37_1521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_10_3420.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_13_2694.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_16_3594.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_22_2626.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_36_13698.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_37_1521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023291","1402023290","1402023287","1402023283","1402023292","1402023289"],"photo_ids_order":["1402023283","1402023287","1402023289","1402023290","1402023291","1402023292"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/265e859dccdac408c4eaa145502a06ef.jpg","text":"TemporaryFile(/tmp/multipartBody319539299148745038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275084623,"filename":"image_04112025_17_21_36_13698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fc72915d95800be437d968a1cb5f712.jpg","text":"TemporaryFile(/tmp/multipartBody2645296746167721210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275084623,"filename":"image_04112025_17_21_22_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75c903e1a7eba5d24494a01015f5e3f0.jpg","text":"TemporaryFile(/tmp/multipartBody1327828996879425218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275084623,"filename":"image_04112025_17_21_13_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3e34081d4bd17d2d8ea01349aa6b03c.jpg","text":"TemporaryFile(/tmp/multipartBody7215819973577800573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275084623,"filename":"image_04112025_17_21_10_3420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87d21c0f52d1e26cb98a53bb51022b69.jpg","text":"TemporaryFile(/tmp/multipartBody1596017840688977295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275084623,"filename":"image_04112025_17_21_37_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf9984b8b0f32160def74d852cf27a99.jpg","text":"TemporaryFile(/tmp/multipartBody6703733648764270191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275084623,"filename":"image_04112025_17_21_16_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023289","file1":"1402023287","file0":"1402023283","file4":"1402023291","file5":"1402023292","file3":"1402023290"},"map_files_photo_id_array":[{"photo_id":"1402023292","filename":"file5"},{"photo_id":"1402023289","filename":"file2"},{"photo_id":"1402023291","filename":"file4"},{"photo_id":"1402023287","filename":"file1"},{"photo_id":"1402023283","filename":"file0"},{"photo_id":"1402023290","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023291":["hashtag1","hashtag2"]},{"1402023290":["hashtag1","hashtag2"]},{"1402023287":["hashtag1","hashtag2"]},{"1402023283":["hashtag1","hashtag2"]},{"1402023292":["hashtag1","hashtag2"]},{"1402023289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023291, 1402023290, 1402023287, 1402023283, 1402023292, 1402023289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.580771684646606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:44:21.973202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_55_10334.jpg', '/home/pi/Desktop/images/01012026/12/45/image_01012026_12_46_04_9703.jpg', '/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_15_10876.jpg', '/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_25_9635.jpg', '/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_35_9754.jpg', '/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_45_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/45/image_01012026_12_45_55_10334.jpg
/home/pi/Desktop/images/01012026/12/45/image_01012026_12_46_04_9703.jpg
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_15_10876.jpg
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_25_9635.jpg
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_35_9754.jpg
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_45_10626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023304","1402023294","1402023307","1402023299","1402023296","1402023302"],"photo_ids_order":["1402023294","1402023296","1402023299","1402023302","1402023304","1402023307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79209ab6a3a283b98e82b5b7ecb0168e.jpg","text":"TemporaryFile(/tmp/multipartBody8196820189103180590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275122655,"filename":"image_01012026_12_46_35_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b839f6beb31a0cc83ff7459b6287fe15.jpg","text":"TemporaryFile(/tmp/multipartBody6325707421637831541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275122655,"filename":"image_01012026_12_45_55_10334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbcad225937e6c447ed8b2977c335b02.jpg","text":"TemporaryFile(/tmp/multipartBody2381291316245412938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275122655,"filename":"image_01012026_12_46_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c3764934c235d837be74ba100daa4df.jpg","text":"TemporaryFile(/tmp/multipartBody8646904906555135956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275122655,"filename":"image_01012026_12_46_15_10876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb625e4443019a21c828c5edd70ec40b.jpg","text":"TemporaryFile(/tmp/multipartBody1087506322095000891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275122655,"filename":"image_01012026_12_46_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5598881e524bc6ad6f5cc48193a477e4.jpg","text":"TemporaryFile(/tmp/multipartBody3853006436843395797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275122655,"filename":"image_01012026_12_46_25_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023299","file1":"1402023296","file0":"1402023294","file4":"1402023304","file5":"1402023307","file3":"1402023302"},"map_files_photo_id_array":[{"photo_id":"1402023307","filename":"file5"},{"photo_id":"1402023299","filename":"file2"},{"photo_id":"1402023304","filename":"file4"},{"photo_id":"1402023296","filename":"file1"},{"photo_id":"1402023294","filename":"file0"},{"photo_id":"1402023302","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023304":["hashtag1","hashtag2"]},{"1402023294":["hashtag1","hashtag2"]},{"1402023307":["hashtag1","hashtag2"]},{"1402023299":["hashtag1","hashtag2"]},{"1402023296":["hashtag1","hashtag2"]},{"1402023302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023304, 1402023294, 1402023307, 1402023299, 1402023296, 1402023302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31447625160217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:45:02.771611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_55_9677.jpg', '/home/pi/Desktop/images/01012026/12/47/image_01012026_12_47_34_9807.jpg', '/home/pi/Desktop/images/01012026/12/47/image_01012026_12_47_45_10700.jpg', '/home/pi/Desktop/images/01012026/12/47/image_01012026_12_47_55_9814.jpg', '/home/pi/Desktop/images/01012026/12/47/image_01012026_12_48_05_9807.jpg', '/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_15_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/46/image_01012026_12_46_55_9677.jpg
/home/pi/Desktop/images/01012026/12/47/image_01012026_12_47_34_9807.jpg
/home/pi/Desktop/images/01012026/12/47/image_01012026_12_47_45_10700.jpg
/home/pi/Desktop/images/01012026/12/47/image_01012026_12_47_55_9814.jpg
/home/pi/Desktop/images/01012026/12/47/image_01012026_12_48_05_9807.jpg
/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_15_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":["1402023322","1402023319","1402023324","1402023321","1402023318","1402023320"],"photo_ids_order":["1402023318","1402023319","1402023320","1402023321","1402023322","1402023324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85b151c0b58f86af3a64831f96f0b324.jpg","text":"TemporaryFile(/tmp/multipartBody4994946379584134825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275163576,"filename":"image_01012026_12_48_05_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab9d9f0adb545de930f2fc2f3b309da1.jpg","text":"TemporaryFile(/tmp/multipartBody335278913919037033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275163576,"filename":"image_01012026_12_47_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c39ce24987683d4f96ff9f2571e10534.jpg","text":"TemporaryFile(/tmp/multipartBody7917291300492807275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275163576,"filename":"image_01012026_12_48_15_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aff43a94bbc7768ca583f62a80682e16.jpg","text":"TemporaryFile(/tmp/multipartBody2985464889475728676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275163576,"filename":"image_01012026_12_47_55_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8c0d1a69e9eab0b087cb0aebcd79693.jpg","text":"TemporaryFile(/tmp/multipartBody3650712603812519313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275163576,"filename":"image_01012026_12_46_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e66ea9286dc4c882c2b14a6ec40c45a1.jpg","text":"TemporaryFile(/tmp/multipartBody7776607848753557493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275163576,"filename":"image_01012026_12_47_45_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023320","file1":"1402023319","file0":"1402023318","file4":"1402023322","file5":"1402023324","file3":"1402023321"},"map_files_photo_id_array":[{"photo_id":"1402023324","filename":"file5"},{"photo_id":"1402023320","filename":"file2"},{"photo_id":"1402023322","filename":"file4"},{"photo_id":"1402023319","filename":"file1"},{"photo_id":"1402023318","filename":"file0"},{"photo_id":"1402023321","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023322":["hashtag1","hashtag2"]},{"1402023319":["hashtag1","hashtag2"]},{"1402023324":["hashtag1","hashtag2"]},{"1402023321":["hashtag1","hashtag2"]},{"1402023318":["hashtag1","hashtag2"]},{"1402023320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023322, 1402023319, 1402023324, 1402023321, 1402023318, 1402023320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.187114000320435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:45:42.259057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_39_1597.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_40_1638.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_56_1734.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_58_1644.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_59_1738.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_01_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_39_1597.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_40_1638.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_56_1734.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_58_1644.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_59_1738.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_01_1545.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":["1402023334","1402023337","1402023330","1402023333","1402023335","1402023332"],"photo_ids_order":["1402023330","1402023332","1402023333","1402023334","1402023335","1402023337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8522481cd7ae1b6f9dcd7e73e213dc5f.jpg","text":"TemporaryFile(/tmp/multipartBody9111544863689609461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275204105,"filename":"image_04112025_17_21_58_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b6e31edc260143f18f310d4b6b302c3.jpg","text":"TemporaryFile(/tmp/multipartBody2815395722382944313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275204105,"filename":"image_04112025_17_22_01_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3dfc7ca760804f8f9c6c09043bd2d713.jpg","text":"TemporaryFile(/tmp/multipartBody5142627018991223940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275204105,"filename":"image_04112025_17_21_39_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92be9b8f7e71cc6b238d13868fab724f.jpg","text":"TemporaryFile(/tmp/multipartBody3853097276094778241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275204105,"filename":"image_04112025_17_21_56_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2bd1096dc655e0fe67ef9de2db67aac.jpg","text":"TemporaryFile(/tmp/multipartBody2553027960471824368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275204105,"filename":"image_04112025_17_21_59_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8953e0730eda4c2cee6005bb21dada9.jpg","text":"TemporaryFile(/tmp/multipartBody4554354034347055461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275204105,"filename":"image_04112025_17_21_40_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023333","file1":"1402023332","file0":"1402023330","file4":"1402023335","file5":"1402023337","file3":"1402023334"},"map_files_photo_id_array":[{"photo_id":"1402023337","filename":"file5"},{"photo_id":"1402023333","filename":"file2"},{"photo_id":"1402023335","filename":"file4"},{"photo_id":"1402023332","filename":"file1"},{"photo_id":"1402023330","filename":"file0"},{"photo_id":"1402023334","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023334":["hashtag1","hashtag2"]},{"1402023337":["hashtag1","hashtag2"]},{"1402023330":["hashtag1","hashtag2"]},{"1402023333":["hashtag1","hashtag2"]},{"1402023335":["hashtag1","hashtag2"]},{"1402023332":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023334, 1402023337, 1402023330, 1402023333, 1402023335, 1402023332)","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 = 1402023333 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_56_1734.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1402023333 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_56_1734.jpg";
uploaded 6 photos
time to upload: 75.07107472419739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:47:02.768182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:47:42.653954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 14:48:02.519946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/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 : 3 : upload photos already in processing! 
2026-01-01 14:48:41.484837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
2026-01-01 14:48:41.485504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
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
2026-01-01 14:48:41.503125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 14:49:28.852344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_24_9754.jpg', '/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_35_10932.jpg', '/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_45_9605.jpg', '/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_55_9723.jpg', '/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_15_10695.jpg', '/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_25_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_24_9754.jpg
/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_35_10932.jpg
/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_45_9605.jpg
/home/pi/Desktop/images/01012026/12/48/image_01012026_12_48_55_9723.jpg
/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_15_10695.jpg
/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_25_9673.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":["1402023369","1402023371","1402023380","1402023374","1402023377","1402023379"],"photo_ids_order":["1402023369","1402023371","1402023374","1402023377","1402023379","1402023380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c5f7964c7c2dce51733c83d2b9bf9ea.jpg","text":"TemporaryFile(/tmp/multipartBody3619320564650670021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275431451,"filename":"image_01012026_12_48_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49ef4bca20b1e25b6fa7262c5f45805f.jpg","text":"TemporaryFile(/tmp/multipartBody1880549571311317723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275431451,"filename":"image_01012026_12_48_35_10932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be8dd3a710ae4c214faae0d02cfc8b53.jpg","text":"TemporaryFile(/tmp/multipartBody2572085250424778027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275431451,"filename":"image_01012026_12_49_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b55b1c902ddcd674dd8ca3059e8016aa.jpg","text":"TemporaryFile(/tmp/multipartBody2284960192406487462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275431451,"filename":"image_01012026_12_48_45_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30e678da1f56e7d75844df9b2cd95d83.jpg","text":"TemporaryFile(/tmp/multipartBody1102626106173040652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275431451,"filename":"image_01012026_12_48_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecbf97376fd215441f159d403a2dfd4d.jpg","text":"TemporaryFile(/tmp/multipartBody3408316405189759895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275431451,"filename":"image_01012026_12_49_15_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023374","file1":"1402023371","file0":"1402023369","file4":"1402023379","file5":"1402023380","file3":"1402023377"},"map_files_photo_id_array":[{"photo_id":"1402023380","filename":"file5"},{"photo_id":"1402023374","filename":"file2"},{"photo_id":"1402023379","filename":"file4"},{"photo_id":"1402023371","filename":"file1"},{"photo_id":"1402023369","filename":"file0"},{"photo_id":"1402023377","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023369":["hashtag1","hashtag2"]},{"1402023371":["hashtag1","hashtag2"]},{"1402023380":["hashtag1","hashtag2"]},{"1402023374":["hashtag1","hashtag2"]},{"1402023377":["hashtag1","hashtag2"]},{"1402023379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023369, 1402023371, 1402023380, 1402023374, 1402023377, 1402023379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.223729372024536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:50:07.885633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_39_1597.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_40_1638.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_56_1734.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_58_1644.jpg', '/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_59_1738.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_01_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_39_1597.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_40_1638.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_56_1734.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_58_1644.jpg
/home/pi/Desktop/images/04112025/17/21/image_04112025_17_21_59_1738.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_01_1545.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":["1402023381","1402023384","1402023386","1402023389","1402023383","1402023382"],"photo_ids_order":["1402023381","1402023382","1402023383","1402023384","1402023386","1402023389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d05a57a13869fb06a5105716a9b89efe.jpg","text":"TemporaryFile(/tmp/multipartBody7106908905367844171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275469506,"filename":"image_04112025_17_21_39_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e09fa93a32c14efdcab416ac4616162a.jpg","text":"TemporaryFile(/tmp/multipartBody5229985775687938574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275469506,"filename":"image_04112025_17_21_58_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aabdd4cbed949fd382639fd90e93a7c7.jpg","text":"TemporaryFile(/tmp/multipartBody5087621139637239796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275469506,"filename":"image_04112025_17_21_59_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb88d065e3a453477cdc0137f40f1d2b.jpg","text":"TemporaryFile(/tmp/multipartBody5316239482866203925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275469506,"filename":"image_04112025_17_22_01_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a73a04e257e54c052d0cd6be83b6fd1.jpg","text":"TemporaryFile(/tmp/multipartBody3210988965606523292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275469506,"filename":"image_04112025_17_21_56_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6e58d54f5500ef26945fa936f35f7d4.jpg","text":"TemporaryFile(/tmp/multipartBody7837428188434742711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275469506,"filename":"image_04112025_17_21_40_1638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023383","file1":"1402023382","file0":"1402023381","file4":"1402023386","file5":"1402023389","file3":"1402023384"},"map_files_photo_id_array":[{"photo_id":"1402023389","filename":"file5"},{"photo_id":"1402023383","filename":"file2"},{"photo_id":"1402023386","filename":"file4"},{"photo_id":"1402023382","filename":"file1"},{"photo_id":"1402023381","filename":"file0"},{"photo_id":"1402023384","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023381":["hashtag1","hashtag2"]},{"1402023384":["hashtag1","hashtag2"]},{"1402023386":["hashtag1","hashtag2"]},{"1402023389":["hashtag1","hashtag2"]},{"1402023383":["hashtag1","hashtag2"]},{"1402023382":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023381, 1402023384, 1402023386, 1402023389, 1402023383, 1402023382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7407751083374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:51:06.614624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_34_9670.jpg', '/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_45_10812.jpg', '/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_55_9752.jpg', '/home/pi/Desktop/images/01012026/12/49/image_01012026_12_50_05_9806.jpg', '/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_25_10000.jpg', '/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_35_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_34_9670.jpg
/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_45_10812.jpg
/home/pi/Desktop/images/01012026/12/49/image_01012026_12_49_55_9752.jpg
/home/pi/Desktop/images/01012026/12/49/image_01012026_12_50_05_9806.jpg
/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_25_10000.jpg
/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_35_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":["1402023409","1402023406","1402023411","1402023405","1402023404","1402023407"],"photo_ids_order":["1402023404","1402023405","1402023406","1402023407","1402023409","1402023411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50ff1aa0a1b9ea0ed0313ec1d5a7af6c.jpg","text":"TemporaryFile(/tmp/multipartBody6815753887877360642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275527334,"filename":"image_01012026_12_50_25_10000.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e70201fd68d4029c769587810209f506.jpg","text":"TemporaryFile(/tmp/multipartBody74335126602802936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275527334,"filename":"image_01012026_12_49_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61acfa3b75b11d43a7657533c3f61749.jpg","text":"TemporaryFile(/tmp/multipartBody7991978560961844924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275527334,"filename":"image_01012026_12_50_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0a5151798ce3e503a590e31dc50e6f4.jpg","text":"TemporaryFile(/tmp/multipartBody7610478142503988109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275527334,"filename":"image_01012026_12_49_45_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f268b1d07a5758fdc881e82accafd28.jpg","text":"TemporaryFile(/tmp/multipartBody3629244529110072388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275527334,"filename":"image_01012026_12_49_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e08b99f3516d22a9aa12f980d782b831.jpg","text":"TemporaryFile(/tmp/multipartBody7110699971763432078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275527334,"filename":"image_01012026_12_50_05_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023406","file1":"1402023405","file0":"1402023404","file4":"1402023409","file5":"1402023411","file3":"1402023407"},"map_files_photo_id_array":[{"photo_id":"1402023411","filename":"file5"},{"photo_id":"1402023406","filename":"file2"},{"photo_id":"1402023409","filename":"file4"},{"photo_id":"1402023405","filename":"file1"},{"photo_id":"1402023404","filename":"file0"},{"photo_id":"1402023407","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023409":["hashtag1","hashtag2"]},{"1402023406":["hashtag1","hashtag2"]},{"1402023411":["hashtag1","hashtag2"]},{"1402023405":["hashtag1","hashtag2"]},{"1402023404":["hashtag1","hashtag2"]},{"1402023407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023409, 1402023406, 1402023411, 1402023405, 1402023404, 1402023407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95299196243286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:51:43.804949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_03_1593.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_04_1671.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_06_1675.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_07_1532.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_09_1677.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_11_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_03_1593.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_04_1671.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_06_1675.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_07_1532.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_09_1677.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_11_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":["1402023421","1402023423","1402023420","1402023422","1402023416","1402023419"],"photo_ids_order":["1402023416","1402023419","1402023420","1402023421","1402023422","1402023423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/800bf2dda27ae77ef56c8412cc48ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody3339603507064047716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275565518,"filename":"image_04112025_17_22_07_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7d7a9ec5d51d8dd46261221aed612fa.jpg","text":"TemporaryFile(/tmp/multipartBody3307459833709990972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275565518,"filename":"image_04112025_17_22_11_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec6ba47a383136a4b59753d93a6e1276.jpg","text":"TemporaryFile(/tmp/multipartBody2282084400224738649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275565518,"filename":"image_04112025_17_22_06_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78f13ba902e6a39e046d5285faae3e41.jpg","text":"TemporaryFile(/tmp/multipartBody2249823011610476009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275565518,"filename":"image_04112025_17_22_09_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f4617224d2a9d965816e61d81b0d042.jpg","text":"TemporaryFile(/tmp/multipartBody2451853063428523103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275565518,"filename":"image_04112025_17_22_03_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/019a7a0a7dd93a5272837792ed0db6d9.jpg","text":"TemporaryFile(/tmp/multipartBody6844142211541603450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275565518,"filename":"image_04112025_17_22_04_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023420","file1":"1402023419","file0":"1402023416","file4":"1402023422","file5":"1402023423","file3":"1402023421"},"map_files_photo_id_array":[{"photo_id":"1402023423","filename":"file5"},{"photo_id":"1402023420","filename":"file2"},{"photo_id":"1402023422","filename":"file4"},{"photo_id":"1402023419","filename":"file1"},{"photo_id":"1402023416","filename":"file0"},{"photo_id":"1402023421","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023421":["hashtag1","hashtag2"]},{"1402023423":["hashtag1","hashtag2"]},{"1402023420":["hashtag1","hashtag2"]},{"1402023422":["hashtag1","hashtag2"]},{"1402023416":["hashtag1","hashtag2"]},{"1402023419":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023421, 1402023423, 1402023420, 1402023422, 1402023416, 1402023419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97923016548157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:52:21.866925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_45_9774.jpg', '/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_54_9641.jpg', '/home/pi/Desktop/images/01012026/12/50/image_01012026_12_51_05_10853.jpg', '/home/pi/Desktop/images/01012026/12/51/image_01012026_12_51_15_9777.jpg', '/home/pi/Desktop/images/01012026/12/51/image_01012026_12_51_55_9791.jpg', '/home/pi/Desktop/images/01012026/12/51/image_01012026_12_52_05_9895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_45_9774.jpg
/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_54_9641.jpg
/home/pi/Desktop/images/01012026/12/50/image_01012026_12_51_05_10853.jpg
/home/pi/Desktop/images/01012026/12/51/image_01012026_12_51_15_9777.jpg
/home/pi/Desktop/images/01012026/12/51/image_01012026_12_51_55_9791.jpg
/home/pi/Desktop/images/01012026/12/51/image_01012026_12_52_05_9895.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.6165003776550293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:52:31.930899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_14_2735.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_36_19934.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_37_1491.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_39_1558.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_41_1692.jpg', '/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_58_16761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_14_2735.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_36_19934.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_37_1491.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_39_1558.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_41_1692.jpg
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_58_16761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023433","1402023436","1402023438","1402023440","1402023439","1402023430"],"photo_ids_order":["1402023430","1402023433","1402023436","1402023438","1402023439","1402023440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad140ee03e091faed6a2d8030f1556c9.jpg","text":"TemporaryFile(/tmp/multipartBody8791971305054645681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275613560,"filename":"image_04112025_17_22_36_19934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ee1628e1d7855f66214f2f84c301dd0.jpg","text":"TemporaryFile(/tmp/multipartBody4531401925916693950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275613560,"filename":"image_04112025_17_22_37_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37faf6d0f88d895a445944bc302abfbb.jpg","text":"TemporaryFile(/tmp/multipartBody4682722314675793881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275613560,"filename":"image_04112025_17_22_39_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28679e4f56c60c126ec9bc113e1a1e52.jpg","text":"TemporaryFile(/tmp/multipartBody1501063748272192146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275613560,"filename":"image_04112025_17_22_58_16761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d5eff288fd83c68484ff07554b25b52.jpg","text":"TemporaryFile(/tmp/multipartBody9093643476656369065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275613560,"filename":"image_04112025_17_22_41_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae6057fcc80e2474d91141b445ef81d5.jpg","text":"TemporaryFile(/tmp/multipartBody6010249311142354235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275613560,"filename":"image_04112025_17_22_14_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023436","file1":"1402023433","file0":"1402023430","file4":"1402023439","file5":"1402023440","file3":"1402023438"},"map_files_photo_id_array":[{"photo_id":"1402023440","filename":"file5"},{"photo_id":"1402023436","filename":"file2"},{"photo_id":"1402023439","filename":"file4"},{"photo_id":"1402023433","filename":"file1"},{"photo_id":"1402023430","filename":"file0"},{"photo_id":"1402023438","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023433":["hashtag1","hashtag2"]},{"1402023436":["hashtag1","hashtag2"]},{"1402023438":["hashtag1","hashtag2"]},{"1402023440":["hashtag1","hashtag2"]},{"1402023439":["hashtag1","hashtag2"]},{"1402023430":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023433, 1402023436, 1402023438, 1402023440, 1402023439, 1402023430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00634956359863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:53:12.066542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_59_1635.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_01_1618.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_02_1607.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_04_1561.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_06_1789.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_16_8677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/22/image_04112025_17_22_59_1635.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_01_1618.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_02_1607.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_04_1561.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_06_1789.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_16_8677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023448","1402023442","1402023441","1402023450","1402023443","1402023445"],"photo_ids_order":["1402023441","1402023442","1402023443","1402023445","1402023448","1402023450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d1a1c7b37a45d4ecbac73e13a16e7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1458224850895151476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275653714,"filename":"image_04112025_17_23_06_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/806f8eea793ecb7b84efac3f84656c06.jpg","text":"TemporaryFile(/tmp/multipartBody1814368337007276776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275653714,"filename":"image_04112025_17_23_01_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75b2f4c71b0040f377e6848cccfee77f.jpg","text":"TemporaryFile(/tmp/multipartBody7119074843108256462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275653714,"filename":"image_04112025_17_22_59_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7252d2a274a00b77864fe6cc0df9c49a.jpg","text":"TemporaryFile(/tmp/multipartBody3457658452798339063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275653714,"filename":"image_04112025_17_23_16_8677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a6df11565a8c3358d4276441377d594.jpg","text":"TemporaryFile(/tmp/multipartBody467845772806065783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275653714,"filename":"image_04112025_17_23_02_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7da5871147732c5fc28453ce90ed2aa4.jpg","text":"TemporaryFile(/tmp/multipartBody7296438868971861999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275653714,"filename":"image_04112025_17_23_04_1561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023443","file1":"1402023442","file0":"1402023441","file4":"1402023448","file5":"1402023450","file3":"1402023445"},"map_files_photo_id_array":[{"photo_id":"1402023450","filename":"file5"},{"photo_id":"1402023443","filename":"file2"},{"photo_id":"1402023448","filename":"file4"},{"photo_id":"1402023442","filename":"file1"},{"photo_id":"1402023441","filename":"file0"},{"photo_id":"1402023445","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023448":["hashtag1","hashtag2"]},{"1402023442":["hashtag1","hashtag2"]},{"1402023441":["hashtag1","hashtag2"]},{"1402023450":["hashtag1","hashtag2"]},{"1402023443":["hashtag1","hashtag2"]},{"1402023445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023448, 1402023442, 1402023441, 1402023450, 1402023443, 1402023445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1213595867157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:54:03.165456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_45_9774.jpg', '/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_54_9641.jpg', '/home/pi/Desktop/images/01012026/12/50/image_01012026_12_51_05_10853.jpg', '/home/pi/Desktop/images/01012026/12/51/image_01012026_12_51_15_9777.jpg', '/home/pi/Desktop/images/01012026/12/51/image_01012026_12_51_55_9791.jpg', '/home/pi/Desktop/images/01012026/12/51/image_01012026_12_52_05_9895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_45_9774.jpg
/home/pi/Desktop/images/01012026/12/50/image_01012026_12_50_54_9641.jpg
/home/pi/Desktop/images/01012026/12/50/image_01012026_12_51_05_10853.jpg
/home/pi/Desktop/images/01012026/12/51/image_01012026_12_51_15_9777.jpg
/home/pi/Desktop/images/01012026/12/51/image_01012026_12_51_55_9791.jpg
/home/pi/Desktop/images/01012026/12/51/image_01012026_12_52_05_9895.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023469","1402023468","1402023471","1402023467","1402023463","1402023466"],"photo_ids_order":["1402023463","1402023466","1402023467","1402023468","1402023469","1402023471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d033f704ee2361c8b72f753c8c8b6f2c.jpg","text":"TemporaryFile(/tmp/multipartBody8224276963704495654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275704020,"filename":"image_01012026_12_51_55_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41b5c64d75d6c6acdad4d1f0fafc30c2.jpg","text":"TemporaryFile(/tmp/multipartBody2191614022220515457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275704020,"filename":"image_01012026_12_51_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73f049e9b0184d1b6df0980e445bd39a.jpg","text":"TemporaryFile(/tmp/multipartBody7375406288955311965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275704020,"filename":"image_01012026_12_52_05_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21c526e4a4cc699c878780aaa68c5e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7769952492499508817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275704020,"filename":"image_01012026_12_51_05_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b4928aa4a7937d7fa658e0b0ae7ae0b.jpg","text":"TemporaryFile(/tmp/multipartBody6992553994773182938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275704020,"filename":"image_01012026_12_50_45_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c176f252b86810e090def374a58ccc74.jpg","text":"TemporaryFile(/tmp/multipartBody6187625559288420096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275704020,"filename":"image_01012026_12_50_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023467","file1":"1402023466","file0":"1402023463","file4":"1402023469","file5":"1402023471","file3":"1402023468"},"map_files_photo_id_array":[{"photo_id":"1402023471","filename":"file5"},{"photo_id":"1402023467","filename":"file2"},{"photo_id":"1402023469","filename":"file4"},{"photo_id":"1402023466","filename":"file1"},{"photo_id":"1402023463","filename":"file0"},{"photo_id":"1402023468","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023469":["hashtag1","hashtag2"]},{"1402023468":["hashtag1","hashtag2"]},{"1402023471":["hashtag1","hashtag2"]},{"1402023467":["hashtag1","hashtag2"]},{"1402023463":["hashtag1","hashtag2"]},{"1402023466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023469, 1402023468, 1402023471, 1402023467, 1402023463, 1402023466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20042061805725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:54:42.444115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_18_1595.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_19_1636.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_21_1531.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_23_1590.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_24_1559.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_26_1595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_18_1595.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_19_1636.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_21_1531.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_23_1590.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_24_1559.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_26_1595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023480","1402023477","1402023479","1402023482","1402023481","1402023478"],"photo_ids_order":["1402023477","1402023478","1402023479","1402023480","1402023481","1402023482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebb943a2a314b7adbae1afb0847f5da8.jpg","text":"TemporaryFile(/tmp/multipartBody1023935841368694840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275744183,"filename":"image_04112025_17_23_23_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f9ec12c198c16132a963e843626a389.jpg","text":"TemporaryFile(/tmp/multipartBody7254078054899424278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275744183,"filename":"image_04112025_17_23_18_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c198a4f43fe39208a3860ea8fbca6acb.jpg","text":"TemporaryFile(/tmp/multipartBody6089372345127372140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275744183,"filename":"image_04112025_17_23_21_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f484143f8adaa7edbfa74427f8bcfa21.jpg","text":"TemporaryFile(/tmp/multipartBody2388301316022564205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275744183,"filename":"image_04112025_17_23_26_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13d74fd7d76eccb947732476889d9e14.jpg","text":"TemporaryFile(/tmp/multipartBody5450186617843405350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275744183,"filename":"image_04112025_17_23_24_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c780a81801abc586d87765cccf0ea11e.jpg","text":"TemporaryFile(/tmp/multipartBody7060763221675374586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275744183,"filename":"image_04112025_17_23_19_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023479","file1":"1402023478","file0":"1402023477","file4":"1402023481","file5":"1402023482","file3":"1402023480"},"map_files_photo_id_array":[{"photo_id":"1402023482","filename":"file5"},{"photo_id":"1402023479","filename":"file2"},{"photo_id":"1402023481","filename":"file4"},{"photo_id":"1402023478","filename":"file1"},{"photo_id":"1402023477","filename":"file0"},{"photo_id":"1402023480","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023480":["hashtag1","hashtag2"]},{"1402023477":["hashtag1","hashtag2"]},{"1402023479":["hashtag1","hashtag2"]},{"1402023482":["hashtag1","hashtag2"]},{"1402023481":["hashtag1","hashtag2"]},{"1402023478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023480, 1402023477, 1402023479, 1402023482, 1402023481, 1402023478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.63414907455444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 14:55:22.691510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/52/image_01012026_12_52_25_10670.jpg', '/home/pi/Desktop/images/01012026/12/52/image_01012026_12_52_35_9679.jpg', '/home/pi/Desktop/images/01012026/12/52/image_01012026_12_52_44_9671.jpg', '/home/pi/Desktop/images/01012026/12/52/image_01012026_12_52_55_10806.jpg', '/home/pi/Desktop/images/01012026/12/52/image_01012026_12_53_05_9682.jpg', '/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_15_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/52/image_01012026_12_52_25_10670.jpg
/home/pi/Desktop/images/01012026/12/52/image_01012026_12_52_35_9679.jpg
/home/pi/Desktop/images/01012026/12/52/image_01012026_12_52_44_9671.jpg
/home/pi/Desktop/images/01012026/12/52/image_01012026_12_52_55_10806.jpg
/home/pi/Desktop/images/01012026/12/52/image_01012026_12_53_05_9682.jpg
/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_15_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":["1402023492","1402023486","1402023495","1402023488","1402023490","1402023484"],"photo_ids_order":["1402023484","1402023486","1402023488","1402023490","1402023492","1402023495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e71ba15c204efa6846a0bc03b6e8eb9.jpg","text":"TemporaryFile(/tmp/multipartBody424346793812889468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275783360,"filename":"image_01012026_12_53_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e948147db125db98b9ed905b951b298.jpg","text":"TemporaryFile(/tmp/multipartBody8432328127569396645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275783360,"filename":"image_01012026_12_52_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fc8eaf76d2ecc332e6f241bc5f783df.jpg","text":"TemporaryFile(/tmp/multipartBody4308581415196155707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275783360,"filename":"image_01012026_12_53_15_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ea64fc7ac5f3ab02f7888cbc398dea8.jpg","text":"TemporaryFile(/tmp/multipartBody7418890261604277414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275783360,"filename":"image_01012026_12_52_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b303b953403125a9200fe8a2db7592ec.jpg","text":"TemporaryFile(/tmp/multipartBody6324132040587059325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275783360,"filename":"image_01012026_12_52_55_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a4b3ad0153d3f99142d3bdc345e73bc.jpg","text":"TemporaryFile(/tmp/multipartBody3022785321725976968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275783360,"filename":"image_01012026_12_52_25_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023488","file1":"1402023486","file0":"1402023484","file4":"1402023492","file5":"1402023495","file3":"1402023490"},"map_files_photo_id_array":[{"photo_id":"1402023495","filename":"file5"},{"photo_id":"1402023488","filename":"file2"},{"photo_id":"1402023492","filename":"file4"},{"photo_id":"1402023486","filename":"file1"},{"photo_id":"1402023484","filename":"file0"},{"photo_id":"1402023490","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023492":["hashtag1","hashtag2"]},{"1402023486":["hashtag1","hashtag2"]},{"1402023495":["hashtag1","hashtag2"]},{"1402023488":["hashtag1","hashtag2"]},{"1402023490":["hashtag1","hashtag2"]},{"1402023484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023492, 1402023486, 1402023495, 1402023488, 1402023490, 1402023484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74208164215088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:56:03.200360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 14:56:15.229752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_28_1855.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_29_1612.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_33_4070.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_35_1651.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_48_12834.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_49_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_28_1855.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_29_1612.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_33_4070.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_35_1651.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_48_12834.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_49_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":["1402023502","1402023498","1402023504","1402023497","1402023506","1402023500"],"photo_ids_order":["1402023497","1402023498","1402023500","1402023502","1402023504","1402023506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54cdad0d20b366e54c52b3c476206f08.jpg","text":"TemporaryFile(/tmp/multipartBody913702965720624717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275836962,"filename":"image_04112025_17_23_35_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a4f1d58ff399054c3abdbf5e5a625ea.jpg","text":"TemporaryFile(/tmp/multipartBody8315250103658833473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275836962,"filename":"image_04112025_17_23_29_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fc7046afd8af3e410172dfbce5a37ab.jpg","text":"TemporaryFile(/tmp/multipartBody4078324083989902954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275836962,"filename":"image_04112025_17_23_48_12834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23d4881676f9bbd365f7c7e7e7316022.jpg","text":"TemporaryFile(/tmp/multipartBody2906125960490632556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275836962,"filename":"image_04112025_17_23_28_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a1640c1641ff05b8a8c762d0585e280.jpg","text":"TemporaryFile(/tmp/multipartBody1942429499911048422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275836962,"filename":"image_04112025_17_23_49_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd04f2bec58eba06d86b2d9018af4f8c.jpg","text":"TemporaryFile(/tmp/multipartBody8161425998187840585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275836962,"filename":"image_04112025_17_23_33_4070.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023500","file1":"1402023498","file0":"1402023497","file4":"1402023504","file5":"1402023506","file3":"1402023502"},"map_files_photo_id_array":[{"photo_id":"1402023506","filename":"file5"},{"photo_id":"1402023500","filename":"file2"},{"photo_id":"1402023504","filename":"file4"},{"photo_id":"1402023498","filename":"file1"},{"photo_id":"1402023497","filename":"file0"},{"photo_id":"1402023502","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023502":["hashtag1","hashtag2"]},{"1402023498":["hashtag1","hashtag2"]},{"1402023504":["hashtag1","hashtag2"]},{"1402023497":["hashtag1","hashtag2"]},{"1402023506":["hashtag1","hashtag2"]},{"1402023500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023502, 1402023498, 1402023504, 1402023497, 1402023506, 1402023500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37619733810425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:57:02.749156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_24_9685.jpg', '/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_35_10739.jpg', '/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_45_9841.jpg', '/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_55_9603.jpg', '/home/pi/Desktop/images/01012026/12/53/image_01012026_12_54_04_9764.jpg', '/home/pi/Desktop/images/01012026/12/54/image_01012026_12_54_15_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_24_9685.jpg
/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_35_10739.jpg
/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_45_9841.jpg
/home/pi/Desktop/images/01012026/12/53/image_01012026_12_53_55_9603.jpg
/home/pi/Desktop/images/01012026/12/53/image_01012026_12_54_04_9764.jpg
/home/pi/Desktop/images/01012026/12/54/image_01012026_12_54_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":["1402023520","1402023522","1402023519","1402023521","1402023524","1402023518"],"photo_ids_order":["1402023518","1402023519","1402023520","1402023521","1402023522","1402023524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bc21fb228dc56908991acd5f71991c8.jpg","text":"TemporaryFile(/tmp/multipartBody6248247433081632394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275883532,"filename":"image_01012026_12_53_45_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d4fb07c70745c90881bf961ac1a136c.jpg","text":"TemporaryFile(/tmp/multipartBody6152058727979903738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275883532,"filename":"image_01012026_12_54_04_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e95f016962b8e01936e1405bc0a2403f.jpg","text":"TemporaryFile(/tmp/multipartBody7447830296564112438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275883532,"filename":"image_01012026_12_53_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc206138098f7056f456da284a73e29d.jpg","text":"TemporaryFile(/tmp/multipartBody7438465108645050994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275883532,"filename":"image_01012026_12_53_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e7bcd95f23de85c34dd2eff7dc24a04.jpg","text":"TemporaryFile(/tmp/multipartBody5875399581172618014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275883532,"filename":"image_01012026_12_54_15_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7207a32346f6eb44cf72c7646cad9cc0.jpg","text":"TemporaryFile(/tmp/multipartBody7195760564582056513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275883532,"filename":"image_01012026_12_53_24_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023520","file1":"1402023519","file0":"1402023518","file4":"1402023522","file5":"1402023524","file3":"1402023521"},"map_files_photo_id_array":[{"photo_id":"1402023524","filename":"file5"},{"photo_id":"1402023520","filename":"file2"},{"photo_id":"1402023522","filename":"file4"},{"photo_id":"1402023519","filename":"file1"},{"photo_id":"1402023518","filename":"file0"},{"photo_id":"1402023521","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023520":["hashtag1","hashtag2"]},{"1402023522":["hashtag1","hashtag2"]},{"1402023519":["hashtag1","hashtag2"]},{"1402023521":["hashtag1","hashtag2"]},{"1402023524":["hashtag1","hashtag2"]},{"1402023518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023520, 1402023522, 1402023519, 1402023521, 1402023524, 1402023518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85311269760132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 14:57:42.000140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_51_1655.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_53_1659.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_54_1670.jpg', '/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_56_1638.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_08_12040.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_10_1630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_51_1655.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_53_1659.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_54_1670.jpg
/home/pi/Desktop/images/04112025/17/23/image_04112025_17_23_56_1638.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_08_12040.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_10_1630.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023532","1402023535","1402023531","1402023534","1402023533","1402023536"],"photo_ids_order":["1402023531","1402023532","1402023533","1402023534","1402023535","1402023536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/725f9a8eb7e558275dd631ed1ff56a69.jpg","text":"TemporaryFile(/tmp/multipartBody8951776819709874625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275931635,"filename":"image_04112025_17_23_53_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d04aeb7e33637878c311e15ec80201e.jpg","text":"TemporaryFile(/tmp/multipartBody765941285934757092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275931635,"filename":"image_04112025_17_24_08_12040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73b3fdfe604e2b5d7222b0b61267a52e.jpg","text":"TemporaryFile(/tmp/multipartBody2779299555715947342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275931635,"filename":"image_04112025_17_23_51_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22cd2b61285acbdf7011dccac8b759e1.jpg","text":"TemporaryFile(/tmp/multipartBody1383031275409783141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275931635,"filename":"image_04112025_17_23_56_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a94c1d63a950509e9ef0174aaac5b10.jpg","text":"TemporaryFile(/tmp/multipartBody7494871052463574315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275931635,"filename":"image_04112025_17_23_54_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/124a7fab77b163cde00f4e923c741549.jpg","text":"TemporaryFile(/tmp/multipartBody7988195810063075615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767275931635,"filename":"image_04112025_17_24_10_1630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023533","file1":"1402023532","file0":"1402023531","file4":"1402023535","file5":"1402023536","file3":"1402023534"},"map_files_photo_id_array":[{"photo_id":"1402023536","filename":"file5"},{"photo_id":"1402023533","filename":"file2"},{"photo_id":"1402023535","filename":"file4"},{"photo_id":"1402023532","filename":"file1"},{"photo_id":"1402023531","filename":"file0"},{"photo_id":"1402023534","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402023532":["hashtag1","hashtag2"]},{"1402023535":["hashtag1","hashtag2"]},{"1402023531":["hashtag1","hashtag2"]},{"1402023534":["hashtag1","hashtag2"]},{"1402023533":["hashtag1","hashtag2"]},{"1402023536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402023532, 1402023535, 1402023531, 1402023534, 1402023533, 1402023536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.70636820793152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 14:59:03.343073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/54/image_01012026_12_54_25_9762.jpg', '/home/pi/Desktop/images/01012026/12/54/image_01012026_12_54_34_9695.jpg', '/home/pi/Desktop/images/01012026/12/54/image_01012026_12_54_45_10740.jpg', '/home/pi/Desktop/images/01012026/12/54/image_01012026_12_55_05_9674.jpg', '/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_14_9738.jpg', '/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_25_10945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/54/image_01012026_12_54_25_9762.jpg
/home/pi/Desktop/images/01012026/12/54/image_01012026_12_54_34_9695.jpg
/home/pi/Desktop/images/01012026/12/54/image_01012026_12_54_45_10740.jpg
/home/pi/Desktop/images/01012026/12/54/image_01012026_12_55_05_9674.jpg
/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_14_9738.jpg
/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_25_10945.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402023628","1402023594","1402023560","1402023710","1402023664","1402023538"],"photo_ids_order":["1402023538","1402023560","1402023594","1402023628","1402023664","1402023710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73865d6101b4257ec1ce361fd4b327d2.jpg","text":"TemporaryFile(/tmp/multipartBody4366760900445367505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276004161,"filename":"image_01012026_12_55_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90c6ee9075473160e863658f7275641a.jpg","text":"TemporaryFile(/tmp/multipartBody4811978908337333363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276004161,"filename":"image_01012026_12_54_45_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6115658b7c7df97c2935a3b091c6454.jpg","text":"TemporaryFile(/tmp/multipartBody6974066873405398007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276004161,"filename":"image_01012026_12_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/2026/1/1/286073e9d52dd8efa693d7be44893984.jpg","text":"TemporaryFile(/tmp/multipartBody6678644074914313134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276004161,"filename":"image_01012026_12_55_25_10945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/677aaa32c7f636eef5632d2fbd23b1a6.jpg","text":"TemporaryFile(/tmp/multipartBody2521710303940482182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276004161,"filename":"image_01012026_12_55_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b07c676331638dffd6d2b215303852d.jpg","text":"TemporaryFile(/tmp/multipartBody4861676232330922866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276004161,"filename":"image_01012026_12_54_25_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402023594","file1":"1402023560","file0":"1402023538","file4":"1402023664","file5":"1402023710","file3":"1402023628"},"map_files_photo_id_array":[{"photo_id":"1402023710","filename":"file5"},{"photo_id":"1402023594","filename":"file2"},{"photo_id":"1402023664","filename":"file4"},{"photo_id":"1402023560","filename":"file1"},{"photo_id":"1402023538","filename":"file0"},{"photo_id":"1402023628","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402023628":["hashtag1","hashtag2"]},{"1402023594":["hashtag1","hashtag2"]},{"1402023560":["hashtag1","hashtag2"]},{"1402023710":["hashtag1","hashtag2"]},{"1402023664":["hashtag1","hashtag2"]},{"1402023538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402023628, 1402023594, 1402023560, 1402023710, 1402023664, 1402023538)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.46505880355835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:00:08.140084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_35_9865.jpg', '/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_45_9815.jpg', '/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_55_9668.jpg', '/home/pi/Desktop/images/01012026/12/55/image_01012026_12_56_04_9742.jpg', '/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_15_10883.jpg', '/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_25_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_35_9865.jpg
/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_45_9815.jpg
/home/pi/Desktop/images/01012026/12/55/image_01012026_12_55_55_9668.jpg
/home/pi/Desktop/images/01012026/12/55/image_01012026_12_56_04_9742.jpg
/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_15_10883.jpg
/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_25_9710.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":["1402024350","1402024574","1402024430","1402024280","1402024502","1402024211"],"photo_ids_order":["1402024211","1402024280","1402024350","1402024430","1402024502","1402024574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/870a3ae93e379a9dd740aab3da273632.jpg","text":"TemporaryFile(/tmp/multipartBody1407445683261977460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276070772,"filename":"image_01012026_12_55_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ac7b718718fb809f4f37211079ef91a.jpg","text":"TemporaryFile(/tmp/multipartBody4981951170210865729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276070772,"filename":"image_01012026_12_56_25_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92bf0e81ce7241ea8a59dacae8e58a19.jpg","text":"TemporaryFile(/tmp/multipartBody5251628582406427733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276070772,"filename":"image_01012026_12_56_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a7323ac5f367159c9edc3017183a684.jpg","text":"TemporaryFile(/tmp/multipartBody5831348683545411829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276070772,"filename":"image_01012026_12_55_45_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02f097882f239c2d0bc0f39e1c136bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5048409879944783662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276070772,"filename":"image_01012026_12_56_15_10883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c0b304b9f9008df750151f5c19c4482.jpg","text":"TemporaryFile(/tmp/multipartBody3697869099272856110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276070772,"filename":"image_01012026_12_55_35_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402024350","file1":"1402024280","file0":"1402024211","file4":"1402024502","file5":"1402024574","file3":"1402024430"},"map_files_photo_id_array":[{"photo_id":"1402024574","filename":"file5"},{"photo_id":"1402024350","filename":"file2"},{"photo_id":"1402024502","filename":"file4"},{"photo_id":"1402024280","filename":"file1"},{"photo_id":"1402024211","filename":"file0"},{"photo_id":"1402024430","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402024350":["hashtag1","hashtag2"]},{"1402024574":["hashtag1","hashtag2"]},{"1402024430":["hashtag1","hashtag2"]},{"1402024280":["hashtag1","hashtag2"]},{"1402024502":["hashtag1","hashtag2"]},{"1402024211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402024350, 1402024574, 1402024430, 1402024280, 1402024502, 1402024211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.31382513046265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:01:02.896831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_35_9797.jpg', '/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_44_9641.jpg', '/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_55_10636.jpg', '/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_14_9742.jpg', '/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_24_9838.jpg', '/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_35_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_35_9797.jpg
/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_44_9641.jpg
/home/pi/Desktop/images/01012026/12/56/image_01012026_12_56_55_10636.jpg
/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_14_9742.jpg
/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_24_9838.jpg
/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_35_10739.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":["1402024926","1402024920","1402024922","1402024919","1402024921","1402024924"],"photo_ids_order":["1402024919","1402024920","1402024921","1402024922","1402024924","1402024926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/250145f5b2b45ab45219cdaf032cfc7a.jpg","text":"TemporaryFile(/tmp/multipartBody2037334688097324158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276124384,"filename":"image_01012026_12_57_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3e65cbf44d56a6669549512613b445c.jpg","text":"TemporaryFile(/tmp/multipartBody4769247470939692303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276124384,"filename":"image_01012026_12_56_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01d073e7dff57523a9989e2a29c17ac0.jpg","text":"TemporaryFile(/tmp/multipartBody1349076107115018810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276124384,"filename":"image_01012026_12_57_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2fb7459a521a0e86bd7c07d890f7b0e6.jpg","text":"TemporaryFile(/tmp/multipartBody6095040286094160912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276124384,"filename":"image_01012026_12_56_35_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7836b68e1e93260016aee8716d766483.jpg","text":"TemporaryFile(/tmp/multipartBody2526113994555148804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276124384,"filename":"image_01012026_12_56_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2d10c4da31bf817af5a5ac8efb15257.jpg","text":"TemporaryFile(/tmp/multipartBody1202301100746951242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276124384,"filename":"image_01012026_12_57_24_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402024921","file1":"1402024920","file0":"1402024919","file4":"1402024924","file5":"1402024926","file3":"1402024922"},"map_files_photo_id_array":[{"photo_id":"1402024926","filename":"file5"},{"photo_id":"1402024921","filename":"file2"},{"photo_id":"1402024924","filename":"file4"},{"photo_id":"1402024920","filename":"file1"},{"photo_id":"1402024919","filename":"file0"},{"photo_id":"1402024922","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402024926":["hashtag1","hashtag2"]},{"1402024920":["hashtag1","hashtag2"]},{"1402024922":["hashtag1","hashtag2"]},{"1402024919":["hashtag1","hashtag2"]},{"1402024921":["hashtag1","hashtag2"]},{"1402024924":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402024926, 1402024920, 1402024922, 1402024919, 1402024921, 1402024924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.727954387664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:02:02.797753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_45_9798.jpg', '/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_55_9688.jpg', '/home/pi/Desktop/images/01012026/12/57/image_01012026_12_58_05_10707.jpg', '/home/pi/Desktop/images/01012026/12/58/image_01012026_12_58_25_9615.jpg', '/home/pi/Desktop/images/01012026/12/58/image_01012026_12_58_34_9620.jpg', '/home/pi/Desktop/images/01012026/12/58/image_01012026_12_58_45_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_45_9798.jpg
/home/pi/Desktop/images/01012026/12/57/image_01012026_12_57_55_9688.jpg
/home/pi/Desktop/images/01012026/12/57/image_01012026_12_58_05_10707.jpg
/home/pi/Desktop/images/01012026/12/58/image_01012026_12_58_25_9615.jpg
/home/pi/Desktop/images/01012026/12/58/image_01012026_12_58_34_9620.jpg
/home/pi/Desktop/images/01012026/12/58/image_01012026_12_58_45_10690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402025625","1402025337","1402025453","1402025546","1402025336","1402025362"],"photo_ids_order":["1402025336","1402025337","1402025362","1402025453","1402025546","1402025625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0651f0daaa0de7068130ee6e4a56df5e.jpg","text":"TemporaryFile(/tmp/multipartBody6353355672539093790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276183600,"filename":"image_01012026_12_58_45_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/049ee9f986938185f93ecdc65be191a8.jpg","text":"TemporaryFile(/tmp/multipartBody7755691224679545615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276183600,"filename":"image_01012026_12_57_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/381553bae3f71f69ef2f3dc42c1396c9.jpg","text":"TemporaryFile(/tmp/multipartBody7415542024503835280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276183600,"filename":"image_01012026_12_58_25_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87ee7a913c78cfedb62eb5b32a034021.jpg","text":"TemporaryFile(/tmp/multipartBody1231069572331422727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276183600,"filename":"image_01012026_12_58_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d583a6c5c1e60e45af3da74c518f665.jpg","text":"TemporaryFile(/tmp/multipartBody3951554837607807783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276183600,"filename":"image_01012026_12_57_45_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7808d93553fffb562832a9e638b54ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5565419152253399476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276183600,"filename":"image_01012026_12_58_05_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402025362","file1":"1402025337","file0":"1402025336","file4":"1402025546","file5":"1402025625","file3":"1402025453"},"map_files_photo_id_array":[{"photo_id":"1402025625","filename":"file5"},{"photo_id":"1402025362","filename":"file2"},{"photo_id":"1402025546","filename":"file4"},{"photo_id":"1402025337","filename":"file1"},{"photo_id":"1402025336","filename":"file0"},{"photo_id":"1402025453","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402025625":["hashtag1","hashtag2"]},{"1402025337":["hashtag1","hashtag2"]},{"1402025453":["hashtag1","hashtag2"]},{"1402025546":["hashtag1","hashtag2"]},{"1402025336":["hashtag1","hashtag2"]},{"1402025362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402025625, 1402025337, 1402025453, 1402025546, 1402025336, 1402025362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20242476463318 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:02:42.347157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_12_1941.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_13_1618.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_25_12050.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_48_23158.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_50_1502.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_52_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_12_1941.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_13_1618.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_25_12050.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_48_23158.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_50_1502.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_52_1686.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.621251106262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:03:03.035125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/58/image_01012026_12_58_55_9639.jpg', '/home/pi/Desktop/images/01012026/12/58/image_01012026_12_59_04_9782.jpg', '/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_15_10671.jpg', '/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_25_9731.jpg', '/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_35_9769.jpg', '/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_45_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/58/image_01012026_12_58_55_9639.jpg
/home/pi/Desktop/images/01012026/12/58/image_01012026_12_59_04_9782.jpg
/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_15_10671.jpg
/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_25_9731.jpg
/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_35_9769.jpg
/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_45_10691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026083","1402026233","1402025972","1402026379","1402025942","1402025941"],"photo_ids_order":["1402025941","1402025942","1402025972","1402026083","1402026233","1402026379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c853c1768ff21f5b3f07146ae8c3317.jpg","text":"TemporaryFile(/tmp/multipartBody6152684207492161589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276243850,"filename":"image_01012026_12_59_25_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79850948088d8f02231246fe794133cd.jpg","text":"TemporaryFile(/tmp/multipartBody7159999811361933543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276243850,"filename":"image_01012026_12_59_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb2dcd2a5998cc3a6ebd1fa0c728d16b.jpg","text":"TemporaryFile(/tmp/multipartBody6881027003020974371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276243850,"filename":"image_01012026_12_59_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/295447dc57710e70f6915f040cc5330d.jpg","text":"TemporaryFile(/tmp/multipartBody5050081764985826125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276243850,"filename":"image_01012026_12_59_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2afcf2c9688db28cf744f26fec0680cf.jpg","text":"TemporaryFile(/tmp/multipartBody2858471071481802370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276243850,"filename":"image_01012026_12_59_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86d6f9ee1284e98b34b2da2ef843bc0c.jpg","text":"TemporaryFile(/tmp/multipartBody255494791732467224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276243850,"filename":"image_01012026_12_58_55_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402025972","file1":"1402025942","file0":"1402025941","file4":"1402026233","file5":"1402026379","file3":"1402026083"},"map_files_photo_id_array":[{"photo_id":"1402026379","filename":"file5"},{"photo_id":"1402025972","filename":"file2"},{"photo_id":"1402026233","filename":"file4"},{"photo_id":"1402025942","filename":"file1"},{"photo_id":"1402025941","filename":"file0"},{"photo_id":"1402026083","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026083":["hashtag1","hashtag2"]},{"1402026233":["hashtag1","hashtag2"]},{"1402025972":["hashtag1","hashtag2"]},{"1402026379":["hashtag1","hashtag2"]},{"1402025942":["hashtag1","hashtag2"]},{"1402025941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026083, 1402026233, 1402025972, 1402026379, 1402025942, 1402025941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.598891735076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:03:42.566095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_12_1941.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_13_1618.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_25_12050.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_48_23158.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_50_1502.jpg', '/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_52_1686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_12_1941.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_13_1618.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_25_12050.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_48_23158.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_50_1502.jpg
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_52_1686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026737","1402026619","1402026759","1402026669","1402026582","1402026603"],"photo_ids_order":["1402026582","1402026603","1402026619","1402026669","1402026737","1402026759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd584a23f023683e50e03a8628053191.jpg","text":"TemporaryFile(/tmp/multipartBody2244165070794669741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276284187,"filename":"image_04112025_17_24_50_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b190fb6faa677da0f68699605ccd6fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3060919536667310781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276284187,"filename":"image_04112025_17_24_25_12050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0c899bb75d447325bd44e45f67424ac.jpg","text":"TemporaryFile(/tmp/multipartBody4053532638247937760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276284187,"filename":"image_04112025_17_24_52_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdd3f4920b9600c1652e2cb73f7fb0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3298766382283046211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276284187,"filename":"image_04112025_17_24_48_23158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8730ec086c8984f6cfbe795f6c968a1e.jpg","text":"TemporaryFile(/tmp/multipartBody784297213088285214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276284187,"filename":"image_04112025_17_24_12_1941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1baf0a2d3f66b116245d72a819a35665.jpg","text":"TemporaryFile(/tmp/multipartBody67192093338253526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276284187,"filename":"image_04112025_17_24_13_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026619","file1":"1402026603","file0":"1402026582","file4":"1402026737","file5":"1402026759","file3":"1402026669"},"map_files_photo_id_array":[{"photo_id":"1402026759","filename":"file5"},{"photo_id":"1402026619","filename":"file2"},{"photo_id":"1402026737","filename":"file4"},{"photo_id":"1402026603","filename":"file1"},{"photo_id":"1402026582","filename":"file0"},{"photo_id":"1402026669","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402026737":["hashtag1","hashtag2"]},{"1402026619":["hashtag1","hashtag2"]},{"1402026759":["hashtag1","hashtag2"]},{"1402026669":["hashtag1","hashtag2"]},{"1402026582":["hashtag1","hashtag2"]},{"1402026603":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402026737, 1402026619, 1402026759, 1402026669, 1402026582, 1402026603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46600794792175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:04:22.811161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_55_9688.jpg', '/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_14_10057.jpg', '/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_25_10851.jpg', '/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_35_9665.jpg', '/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_45_9882.jpg', '/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_54_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/12/59/image_01012026_12_59_55_9688.jpg
/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_14_10057.jpg
/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_25_10851.jpg
/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_35_9665.jpg
/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_45_9882.jpg
/home/pi/Desktop/images/01012026/13/00/image_01012026_13_00_54_9689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026799","1402026790","1402026796","1402026798","1402026792","1402026794"],"photo_ids_order":["1402026790","1402026792","1402026794","1402026796","1402026798","1402026799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8cd3fbe4075ec7907fa00acbf3f4837.jpg","text":"TemporaryFile(/tmp/multipartBody5342666072485590924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276323526,"filename":"image_01012026_13_00_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9924eaf340c0862859d56ccf009a447.jpg","text":"TemporaryFile(/tmp/multipartBody8182941055884957240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276323526,"filename":"image_01012026_12_59_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a8720b37f974b50c88d244ef2df7b7b.jpg","text":"TemporaryFile(/tmp/multipartBody1804308335864486870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276323526,"filename":"image_01012026_13_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/2026/1/1/395a70525ae9ddc85b3bfc9351bfc550.jpg","text":"TemporaryFile(/tmp/multipartBody7357563253158820080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276323526,"filename":"image_01012026_13_00_45_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2311ef9cf2383d0c2d87a91c724f12a.jpg","text":"TemporaryFile(/tmp/multipartBody4454590489351252316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276323526,"filename":"image_01012026_13_00_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49e9387c10baebb2a5c99ebb6efc6407.jpg","text":"TemporaryFile(/tmp/multipartBody1513573474826167053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276323526,"filename":"image_01012026_13_00_25_10851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026794","file1":"1402026792","file0":"1402026790","file4":"1402026798","file5":"1402026799","file3":"1402026796"},"map_files_photo_id_array":[{"photo_id":"1402026799","filename":"file5"},{"photo_id":"1402026794","filename":"file2"},{"photo_id":"1402026798","filename":"file4"},{"photo_id":"1402026792","filename":"file1"},{"photo_id":"1402026790","filename":"file0"},{"photo_id":"1402026796","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026799":["hashtag1","hashtag2"]},{"1402026790":["hashtag1","hashtag2"]},{"1402026796":["hashtag1","hashtag2"]},{"1402026798":["hashtag1","hashtag2"]},{"1402026792":["hashtag1","hashtag2"]},{"1402026794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026799, 1402026790, 1402026796, 1402026798, 1402026792, 1402026794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27168273925781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:05:02.898755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_15_9783.jpg', '/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_25_9802.jpg', '/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_35_9853.jpg', '/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_44_9786.jpg', '/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_55_10856.jpg', '/home/pi/Desktop/images/01012026/13/01/image_01012026_13_02_05_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_15_9783.jpg
/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_25_9802.jpg
/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_35_9853.jpg
/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_44_9786.jpg
/home/pi/Desktop/images/01012026/13/01/image_01012026_13_01_55_10856.jpg
/home/pi/Desktop/images/01012026/13/01/image_01012026_13_02_05_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":["1402026806","1402026800","1402026803","1402026802","1402026801","1402026804"],"photo_ids_order":["1402026800","1402026801","1402026802","1402026803","1402026804","1402026806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ccfe5bbc1b21f365c266513ecd6a0d38.jpg","text":"TemporaryFile(/tmp/multipartBody8593498899599120129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276363690,"filename":"image_01012026_13_02_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8137a6a6079ffa8dee1634923446b214.jpg","text":"TemporaryFile(/tmp/multipartBody7419411208960721330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276363690,"filename":"image_01012026_13_01_15_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/520cd36fa6965aef7cbf73ba3a0276de.jpg","text":"TemporaryFile(/tmp/multipartBody5383675205588521581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276363690,"filename":"image_01012026_13_01_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/206d6df71d81fe3fa1a896a1486d61de.jpg","text":"TemporaryFile(/tmp/multipartBody7910469172059682532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276363690,"filename":"image_01012026_13_01_35_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f90b8d6660ea28d95f53dc49c6461361.jpg","text":"TemporaryFile(/tmp/multipartBody5387177130921581213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276363690,"filename":"image_01012026_13_01_25_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02b6cea7b771841dcbf6f9f7403e0495.jpg","text":"TemporaryFile(/tmp/multipartBody4601786542636960758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276363690,"filename":"image_01012026_13_01_55_10856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026802","file1":"1402026801","file0":"1402026800","file4":"1402026804","file5":"1402026806","file3":"1402026803"},"map_files_photo_id_array":[{"photo_id":"1402026806","filename":"file5"},{"photo_id":"1402026802","filename":"file2"},{"photo_id":"1402026804","filename":"file4"},{"photo_id":"1402026801","filename":"file1"},{"photo_id":"1402026800","filename":"file0"},{"photo_id":"1402026803","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026806":["hashtag1","hashtag2"]},{"1402026800":["hashtag1","hashtag2"]},{"1402026803":["hashtag1","hashtag2"]},{"1402026802":["hashtag1","hashtag2"]},{"1402026801":["hashtag1","hashtag2"]},{"1402026804":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026806, 1402026800, 1402026803, 1402026802, 1402026801, 1402026804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82718753814697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:05:42.180396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_53_1824.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_07_3171.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_10_2964.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_13_3684.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_31_17947.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_33_1570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/24/image_04112025_17_24_53_1824.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_07_3171.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_10_2964.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_13_3684.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_31_17947.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_33_1570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026830","1402026824","1402026827","1402026812","1402026826","1402026828"],"photo_ids_order":["1402026812","1402026824","1402026826","1402026827","1402026828","1402026830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc954cb995eb913eb4663db9110cee68.jpg","text":"TemporaryFile(/tmp/multipartBody1884460203789932101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276404725,"filename":"image_04112025_17_26_33_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec69f07a4147ed0ddbac4d4e73e645e2.jpg","text":"TemporaryFile(/tmp/multipartBody2256526299477519515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276404725,"filename":"image_04112025_17_26_07_3171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e5580c42c0927a094febc2d99a6574d.jpg","text":"TemporaryFile(/tmp/multipartBody5506253570858510077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276404725,"filename":"image_04112025_17_26_13_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e2e0d9d075c1c2ab2062117fa0cc28a.jpg","text":"TemporaryFile(/tmp/multipartBody7598756497340793401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276404725,"filename":"image_04112025_17_24_53_1824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1c5d9494a0af7b1188dce2506478a8f.jpg","text":"TemporaryFile(/tmp/multipartBody4145570750371990465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276404725,"filename":"image_04112025_17_26_10_2964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/641185df49f93712ec8534a4578a1b20.jpg","text":"TemporaryFile(/tmp/multipartBody7966092073125298770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276404725,"filename":"image_04112025_17_26_31_17947.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026826","file1":"1402026824","file0":"1402026812","file4":"1402026828","file5":"1402026830","file3":"1402026827"},"map_files_photo_id_array":[{"photo_id":"1402026830","filename":"file5"},{"photo_id":"1402026826","filename":"file2"},{"photo_id":"1402026828","filename":"file4"},{"photo_id":"1402026824","filename":"file1"},{"photo_id":"1402026812","filename":"file0"},{"photo_id":"1402026827","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402026830":["hashtag1","hashtag2"]},{"1402026824":["hashtag1","hashtag2"]},{"1402026827":["hashtag1","hashtag2"]},{"1402026812":["hashtag1","hashtag2"]},{"1402026826":["hashtag1","hashtag2"]},{"1402026828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402026830, 1402026824, 1402026827, 1402026812, 1402026826, 1402026828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14351439476013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:06:22.367421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_14_9600.jpg', '/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_25_10774.jpg', '/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_35_9759.jpg', '/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_45_9733.jpg', '/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_55_9784.jpg', '/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_05_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_14_9600.jpg
/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_25_10774.jpg
/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_35_9759.jpg
/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_45_9733.jpg
/home/pi/Desktop/images/01012026/13/02/image_01012026_13_02_55_9784.jpg
/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_05_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026842","1402026839","1402026833","1402026835","1402026831","1402026837"],"photo_ids_order":["1402026831","1402026833","1402026835","1402026837","1402026839","1402026842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6afcb8929e39ed3a5c4832882402ed4.jpg","text":"TemporaryFile(/tmp/multipartBody9111848183076545533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276443157,"filename":"image_01012026_13_03_05_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/680ae513adee527311a6c24444351197.jpg","text":"TemporaryFile(/tmp/multipartBody1025449845028570588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276443157,"filename":"image_01012026_13_02_55_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/965378751f85cfb1790aacb53e9741d4.jpg","text":"TemporaryFile(/tmp/multipartBody8690864671345715951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276443157,"filename":"image_01012026_13_02_25_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/baa3810724a57afdc22b110e6ab984c8.jpg","text":"TemporaryFile(/tmp/multipartBody6112883742452606021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276443157,"filename":"image_01012026_13_02_35_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8e319461acbe709a1634c806c39ca08.jpg","text":"TemporaryFile(/tmp/multipartBody7885408231609645894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276443157,"filename":"image_01012026_13_02_14_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b1999e1ef07a8a20d9f4cbc2d67df6f.jpg","text":"TemporaryFile(/tmp/multipartBody871852848670752825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276443157,"filename":"image_01012026_13_02_45_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026835","file1":"1402026833","file0":"1402026831","file4":"1402026839","file5":"1402026842","file3":"1402026837"},"map_files_photo_id_array":[{"photo_id":"1402026842","filename":"file5"},{"photo_id":"1402026835","filename":"file2"},{"photo_id":"1402026839","filename":"file4"},{"photo_id":"1402026833","filename":"file1"},{"photo_id":"1402026831","filename":"file0"},{"photo_id":"1402026837","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026842":["hashtag1","hashtag2"]},{"1402026839":["hashtag1","hashtag2"]},{"1402026833":["hashtag1","hashtag2"]},{"1402026835":["hashtag1","hashtag2"]},{"1402026831":["hashtag1","hashtag2"]},{"1402026837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026842, 1402026839, 1402026833, 1402026835, 1402026831, 1402026837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19205117225647 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:07:03.213812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_15_9741.jpg', '/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_25_9813.jpg', '/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_44_9716.jpg', '/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_55_10636.jpg', '/home/pi/Desktop/images/01012026/13/03/image_01012026_13_04_05_9818.jpg', '/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_15_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_15_9741.jpg
/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_25_9813.jpg
/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_44_9716.jpg
/home/pi/Desktop/images/01012026/13/03/image_01012026_13_03_55_10636.jpg
/home/pi/Desktop/images/01012026/13/03/image_01012026_13_04_05_9818.jpg
/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_15_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":["1402026845","1402026847","1402026844","1402026846","1402026849","1402026843"],"photo_ids_order":["1402026843","1402026844","1402026845","1402026846","1402026847","1402026849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5478cd75ddf0bfe0117978fbfcf57f80.jpg","text":"TemporaryFile(/tmp/multipartBody5657586303357813868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276483998,"filename":"image_01012026_13_03_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0df2fef5d89e7de22424ee53af4ffc7f.jpg","text":"TemporaryFile(/tmp/multipartBody5797550857563505896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276483998,"filename":"image_01012026_13_04_05_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe6b9c49543c8171b55516e050fb09d1.jpg","text":"TemporaryFile(/tmp/multipartBody4521078287902727263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276483998,"filename":"image_01012026_13_03_25_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ededccd7db9740af3b44b955553dc5ef.jpg","text":"TemporaryFile(/tmp/multipartBody927903537956993821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276483998,"filename":"image_01012026_13_03_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f0b5ee6f12f805844f10e2752ddcc09.jpg","text":"TemporaryFile(/tmp/multipartBody1664270986727888142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276483998,"filename":"image_01012026_13_04_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db0dd100f9f9739a6e2c4fdc946aea2d.jpg","text":"TemporaryFile(/tmp/multipartBody3742282822878520701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276483998,"filename":"image_01012026_13_03_15_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026845","file1":"1402026844","file0":"1402026843","file4":"1402026847","file5":"1402026849","file3":"1402026846"},"map_files_photo_id_array":[{"photo_id":"1402026849","filename":"file5"},{"photo_id":"1402026845","filename":"file2"},{"photo_id":"1402026847","filename":"file4"},{"photo_id":"1402026844","filename":"file1"},{"photo_id":"1402026843","filename":"file0"},{"photo_id":"1402026846","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026845":["hashtag1","hashtag2"]},{"1402026847":["hashtag1","hashtag2"]},{"1402026844":["hashtag1","hashtag2"]},{"1402026846":["hashtag1","hashtag2"]},{"1402026849":["hashtag1","hashtag2"]},{"1402026843":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026845, 1402026847, 1402026844, 1402026846, 1402026849, 1402026843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08400511741638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:07:42.494585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_34_1652.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_36_1648.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_38_1849.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_40_1614.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_51_9884.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_53_1745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_34_1652.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_36_1648.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_38_1849.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_40_1614.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_51_9884.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_53_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":["1402026860","1402026854","1402026857","1402026856","1402026859","1402026858"],"photo_ids_order":["1402026854","1402026856","1402026857","1402026858","1402026859","1402026860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80cbdb9f50e18152fd0393d215ca7cc0.jpg","text":"TemporaryFile(/tmp/multipartBody8627167117289334990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276524204,"filename":"image_04112025_17_26_53_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6befdc919cca8643829b595e0aabba94.jpg","text":"TemporaryFile(/tmp/multipartBody4054456004145600886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276524204,"filename":"image_04112025_17_26_34_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6177dd176052b9a30b5b94f31ccb075.jpg","text":"TemporaryFile(/tmp/multipartBody4635750620328236811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276524204,"filename":"image_04112025_17_26_38_1849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b44c67439ae093292c773aaecbd68f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7721723688177068374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276524204,"filename":"image_04112025_17_26_36_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a481e6308bb12bf0256575b33b11b2b7.jpg","text":"TemporaryFile(/tmp/multipartBody2972771658179069852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276524204,"filename":"image_04112025_17_26_51_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41f3c518fc92b631b0c045ade03c292e.jpg","text":"TemporaryFile(/tmp/multipartBody5804685707926496929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276524204,"filename":"image_04112025_17_26_40_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026857","file1":"1402026856","file0":"1402026854","file4":"1402026859","file5":"1402026860","file3":"1402026858"},"map_files_photo_id_array":[{"photo_id":"1402026860","filename":"file5"},{"photo_id":"1402026857","filename":"file2"},{"photo_id":"1402026859","filename":"file4"},{"photo_id":"1402026856","filename":"file1"},{"photo_id":"1402026854","filename":"file0"},{"photo_id":"1402026858","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402026860":["hashtag1","hashtag2"]},{"1402026854":["hashtag1","hashtag2"]},{"1402026857":["hashtag1","hashtag2"]},{"1402026856":["hashtag1","hashtag2"]},{"1402026859":["hashtag1","hashtag2"]},{"1402026858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402026860, 1402026854, 1402026857, 1402026856, 1402026859, 1402026858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.3632972240448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:08:22.644077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_25_10761.jpg', '/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_35_9607.jpg', '/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_44_9445.jpg', '/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_55_10288.jpg', '/home/pi/Desktop/images/01012026/13/04/image_01012026_13_05_05_9960.jpg', '/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_14_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_25_10761.jpg
/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_35_9607.jpg
/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_44_9445.jpg
/home/pi/Desktop/images/01012026/13/04/image_01012026_13_04_55_10288.jpg
/home/pi/Desktop/images/01012026/13/04/image_01012026_13_05_05_9960.jpg
/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_14_9893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026866","1402026868","1402026862","1402026870","1402026864","1402026873"],"photo_ids_order":["1402026862","1402026864","1402026866","1402026868","1402026870","1402026873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af3c0c683d0f43e5487863f324ec17d5.jpg","text":"TemporaryFile(/tmp/multipartBody2496077296016913650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276563362,"filename":"image_01012026_13_04_44_9445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/272af27ec9d0d63bfe97ec981024b513.jpg","text":"TemporaryFile(/tmp/multipartBody1781571114633604931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276563362,"filename":"image_01012026_13_04_55_10288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f88cd5aa6b2387f0fef1dcc4c0dbf6c.jpg","text":"TemporaryFile(/tmp/multipartBody8603314627077310500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276563362,"filename":"image_01012026_13_04_25_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cb5433958be62b31838d40eac782a43.jpg","text":"TemporaryFile(/tmp/multipartBody7566057379601537585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276563362,"filename":"image_01012026_13_05_05_9960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dc4135ff57b0002ccef0e7beb3f7001.jpg","text":"TemporaryFile(/tmp/multipartBody620753225454665222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276563362,"filename":"image_01012026_13_04_35_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86c3bd07e0be417113923559173ce2a1.jpg","text":"TemporaryFile(/tmp/multipartBody2988463980775687354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276563362,"filename":"image_01012026_13_05_14_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026866","file1":"1402026864","file0":"1402026862","file4":"1402026870","file5":"1402026873","file3":"1402026868"},"map_files_photo_id_array":[{"photo_id":"1402026873","filename":"file5"},{"photo_id":"1402026866","filename":"file2"},{"photo_id":"1402026870","filename":"file4"},{"photo_id":"1402026864","filename":"file1"},{"photo_id":"1402026862","filename":"file0"},{"photo_id":"1402026868","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026866":["hashtag1","hashtag2"]},{"1402026868":["hashtag1","hashtag2"]},{"1402026862":["hashtag1","hashtag2"]},{"1402026870":["hashtag1","hashtag2"]},{"1402026864":["hashtag1","hashtag2"]},{"1402026873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026866, 1402026868, 1402026862, 1402026870, 1402026864, 1402026873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.698498249053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:09:03.825725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_25_10745.jpg', '/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_35_10023.jpg', '/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_45_9767.jpg', '/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_55_9753.jpg', '/home/pi/Desktop/images/01012026/13/05/image_01012026_13_06_04_9672.jpg', '/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_15_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_25_10745.jpg
/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_35_10023.jpg
/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_45_9767.jpg
/home/pi/Desktop/images/01012026/13/05/image_01012026_13_05_55_9753.jpg
/home/pi/Desktop/images/01012026/13/05/image_01012026_13_06_04_9672.jpg
/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_15_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026884","1402026886","1402026889","1402026891","1402026885","1402026887"],"photo_ids_order":["1402026884","1402026885","1402026886","1402026887","1402026889","1402026891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0d20057ecc65bffe94fc350187a5b1c.jpg","text":"TemporaryFile(/tmp/multipartBody3978719558080497890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276604754,"filename":"image_01012026_13_05_25_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5eabd6177fe863f15a20dcb8ba47289.jpg","text":"TemporaryFile(/tmp/multipartBody5707201444537431041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276604754,"filename":"image_01012026_13_05_45_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/624d42dab7b81d5f12e825e5544ab028.jpg","text":"TemporaryFile(/tmp/multipartBody9184182167934714735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276604754,"filename":"image_01012026_13_06_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e2c1d112ea085556c53c61987da97e2.jpg","text":"TemporaryFile(/tmp/multipartBody4741126815278655334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276604754,"filename":"image_01012026_13_06_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13a47095d2c3143d7bb0af18a975920b.jpg","text":"TemporaryFile(/tmp/multipartBody2584939484224838433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276604754,"filename":"image_01012026_13_05_35_10023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20cb091402354bdce2e22d53a302fcee.jpg","text":"TemporaryFile(/tmp/multipartBody4819016764267437886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276604754,"filename":"image_01012026_13_05_55_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026886","file1":"1402026885","file0":"1402026884","file4":"1402026889","file5":"1402026891","file3":"1402026887"},"map_files_photo_id_array":[{"photo_id":"1402026891","filename":"file5"},{"photo_id":"1402026886","filename":"file2"},{"photo_id":"1402026889","filename":"file4"},{"photo_id":"1402026885","filename":"file1"},{"photo_id":"1402026884","filename":"file0"},{"photo_id":"1402026887","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026884":["hashtag1","hashtag2"]},{"1402026886":["hashtag1","hashtag2"]},{"1402026889":["hashtag1","hashtag2"]},{"1402026891":["hashtag1","hashtag2"]},{"1402026885":["hashtag1","hashtag2"]},{"1402026887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026884, 1402026886, 1402026889, 1402026891, 1402026885, 1402026887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72044086456299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:09:42.872655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_56_1648.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_57_1544.jpg', '/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_59_1759.jpg', '/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_01_1601.jpg', '/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_08_1721.jpg', '/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_10_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_56_1648.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_57_1544.jpg
/home/pi/Desktop/images/04112025/17/26/image_04112025_17_26_59_1759.jpg
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_01_1601.jpg
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_08_1721.jpg
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_10_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026896","1402026902","1402026901","1402026900","1402026899","1402026903"],"photo_ids_order":["1402026896","1402026899","1402026900","1402026901","1402026902","1402026903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0afb01ae54ed82d4f6d7f346cffb619.jpg","text":"TemporaryFile(/tmp/multipartBody4013659399765342565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276644583,"filename":"image_04112025_17_26_56_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38b7fabc2c62971816b38bdf17be300b.jpg","text":"TemporaryFile(/tmp/multipartBody4415919720283139940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276644583,"filename":"image_04112025_17_27_08_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6346eaa4e5ee8981724b37275d0dd47.jpg","text":"TemporaryFile(/tmp/multipartBody8002761893220114816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276644583,"filename":"image_04112025_17_27_01_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6daa6ab6169ce10673f288d5134d188.jpg","text":"TemporaryFile(/tmp/multipartBody2374667047525191298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276644583,"filename":"image_04112025_17_26_59_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26d314afa45f3d4f5d83da6e76b362dd.jpg","text":"TemporaryFile(/tmp/multipartBody9041448358163899095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276644583,"filename":"image_04112025_17_26_57_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da658c53f5c2e4b856867702a5f32562.jpg","text":"TemporaryFile(/tmp/multipartBody5841817435084347702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276644583,"filename":"image_04112025_17_27_10_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026900","file1":"1402026899","file0":"1402026896","file4":"1402026902","file5":"1402026903","file3":"1402026901"},"map_files_photo_id_array":[{"photo_id":"1402026903","filename":"file5"},{"photo_id":"1402026900","filename":"file2"},{"photo_id":"1402026902","filename":"file4"},{"photo_id":"1402026899","filename":"file1"},{"photo_id":"1402026896","filename":"file0"},{"photo_id":"1402026901","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402026896":["hashtag1","hashtag2"]},{"1402026902":["hashtag1","hashtag2"]},{"1402026901":["hashtag1","hashtag2"]},{"1402026900":["hashtag1","hashtag2"]},{"1402026899":["hashtag1","hashtag2"]},{"1402026903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402026896, 1402026902, 1402026901, 1402026900, 1402026899, 1402026903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87743020057678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:10:22.066765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_25_9736.jpg', '/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_35_9675.jpg', '/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_45_10604.jpg', '/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_55_9680.jpg', '/home/pi/Desktop/images/01012026/13/06/image_01012026_13_07_04_9608.jpg', '/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_15_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_25_9736.jpg
/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_35_9675.jpg
/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_45_10604.jpg
/home/pi/Desktop/images/01012026/13/06/image_01012026_13_06_55_9680.jpg
/home/pi/Desktop/images/01012026/13/06/image_01012026_13_07_04_9608.jpg
/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_15_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":["1402026911","1402026916","1402026904","1402026913","1402026907","1402026909"],"photo_ids_order":["1402026904","1402026907","1402026909","1402026911","1402026913","1402026916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59b1d12711270c0048c1b451a6f86914.jpg","text":"TemporaryFile(/tmp/multipartBody8858831593795396219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276682779,"filename":"image_01012026_13_06_55_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6fad495ac60d71ae3b7bbb03ae0836fb.jpg","text":"TemporaryFile(/tmp/multipartBody2134786283434405411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276682779,"filename":"image_01012026_13_07_15_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93991c305982c1aa0fdd79e2e8f4f76c.jpg","text":"TemporaryFile(/tmp/multipartBody559177608293870833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276682779,"filename":"image_01012026_13_06_25_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c6c13276368b7d9357ec7f18f1775f8.jpg","text":"TemporaryFile(/tmp/multipartBody4707571259358629168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276682779,"filename":"image_01012026_13_07_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c499fbb20b63d2523483983af9f8e951.jpg","text":"TemporaryFile(/tmp/multipartBody5700451939060197006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276682779,"filename":"image_01012026_13_06_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95fc59a2442db9eaf6e76e47a98b5b33.jpg","text":"TemporaryFile(/tmp/multipartBody8891667515599180890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276682779,"filename":"image_01012026_13_06_45_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026909","file1":"1402026907","file0":"1402026904","file4":"1402026913","file5":"1402026916","file3":"1402026911"},"map_files_photo_id_array":[{"photo_id":"1402026916","filename":"file5"},{"photo_id":"1402026909","filename":"file2"},{"photo_id":"1402026913","filename":"file4"},{"photo_id":"1402026907","filename":"file1"},{"photo_id":"1402026904","filename":"file0"},{"photo_id":"1402026911","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026911":["hashtag1","hashtag2"]},{"1402026916":["hashtag1","hashtag2"]},{"1402026904":["hashtag1","hashtag2"]},{"1402026913":["hashtag1","hashtag2"]},{"1402026907":["hashtag1","hashtag2"]},{"1402026909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026911, 1402026916, 1402026904, 1402026913, 1402026907, 1402026909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73036551475525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:11:03.028815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_25_9682.jpg', '/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_35_9666.jpg', '/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_44_9878.jpg', '/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_54_9914.jpg', '/home/pi/Desktop/images/01012026/13/07/image_01012026_13_08_05_10611.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_15_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_25_9682.jpg
/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_35_9666.jpg
/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_44_9878.jpg
/home/pi/Desktop/images/01012026/13/07/image_01012026_13_07_54_9914.jpg
/home/pi/Desktop/images/01012026/13/07/image_01012026_13_08_05_10611.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_15_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":["1402026923","1402026920","1402026922","1402026925","1402026919","1402026918"],"photo_ids_order":["1402026918","1402026919","1402026920","1402026922","1402026923","1402026925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9207eb4cd3abf3684889f43ea3e106eb.jpg","text":"TemporaryFile(/tmp/multipartBody1632155892303073393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276723868,"filename":"image_01012026_13_08_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ceb77f318927f4107bc3bdc3b49eb72b.jpg","text":"TemporaryFile(/tmp/multipartBody6222267033257331231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276723868,"filename":"image_01012026_13_07_44_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7d7b4c8f3a277e99b898a161510af2f.jpg","text":"TemporaryFile(/tmp/multipartBody5548179946673423880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276723868,"filename":"image_01012026_13_07_54_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d12d2063bbc99d87acd9cf1e35def3a0.jpg","text":"TemporaryFile(/tmp/multipartBody2875609585276878194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276723868,"filename":"image_01012026_13_08_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c5af5afe57ec8c000b87b30c7eaee9c.jpg","text":"TemporaryFile(/tmp/multipartBody309528929780806175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276723868,"filename":"image_01012026_13_07_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3114ac4e7b38af0a4778b8c5145f396a.jpg","text":"TemporaryFile(/tmp/multipartBody5252113669369271654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276723868,"filename":"image_01012026_13_07_25_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026920","file1":"1402026919","file0":"1402026918","file4":"1402026923","file5":"1402026925","file3":"1402026922"},"map_files_photo_id_array":[{"photo_id":"1402026925","filename":"file5"},{"photo_id":"1402026920","filename":"file2"},{"photo_id":"1402026923","filename":"file4"},{"photo_id":"1402026919","filename":"file1"},{"photo_id":"1402026918","filename":"file0"},{"photo_id":"1402026922","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026923":["hashtag1","hashtag2"]},{"1402026920":["hashtag1","hashtag2"]},{"1402026922":["hashtag1","hashtag2"]},{"1402026925":["hashtag1","hashtag2"]},{"1402026919":["hashtag1","hashtag2"]},{"1402026918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026923, 1402026920, 1402026922, 1402026925, 1402026919, 1402026918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91906929016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:11:42.253715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_15_2582.jpg', '/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_19_3540.jpg', '/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_25_1533.jpg', '/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_56_30369.jpg', '/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_59_3024.jpg', '/home/pi/Desktop/images/04112025/17/27/image_04112025_17_28_00_1590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_15_2582.jpg
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_19_3540.jpg
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_25_1533.jpg
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_56_30369.jpg
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_27_59_3024.jpg
/home/pi/Desktop/images/04112025/17/27/image_04112025_17_28_00_1590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026947","1402026946","1402026934","1402026931","1402026945","1402026948"],"photo_ids_order":["1402026931","1402026934","1402026945","1402026946","1402026947","1402026948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f2919b2626a1b99be21ac1c9bf6f4f5.jpg","text":"TemporaryFile(/tmp/multipartBody3932870336794882384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276763977,"filename":"image_04112025_17_27_59_3024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1581226627d491cd1846fe1609f52f76.jpg","text":"TemporaryFile(/tmp/multipartBody4301421782476619882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276763977,"filename":"image_04112025_17_27_56_30369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6fdfba5ad311c19318f88b2e24f65633.jpg","text":"TemporaryFile(/tmp/multipartBody3427474458035795873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276763977,"filename":"image_04112025_17_27_19_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e5972228a6e2b8d99287e588cf53057.jpg","text":"TemporaryFile(/tmp/multipartBody4501574438766175210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276763977,"filename":"image_04112025_17_27_15_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b850d82f67fa14eaba9d81060a69558b.jpg","text":"TemporaryFile(/tmp/multipartBody2776994696445655641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276763977,"filename":"image_04112025_17_27_25_1533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15c2d6fc4d266bf8f7a418b569255242.jpg","text":"TemporaryFile(/tmp/multipartBody8319160810257639954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276763977,"filename":"image_04112025_17_28_00_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026945","file1":"1402026934","file0":"1402026931","file4":"1402026947","file5":"1402026948","file3":"1402026946"},"map_files_photo_id_array":[{"photo_id":"1402026948","filename":"file5"},{"photo_id":"1402026945","filename":"file2"},{"photo_id":"1402026947","filename":"file4"},{"photo_id":"1402026934","filename":"file1"},{"photo_id":"1402026931","filename":"file0"},{"photo_id":"1402026946","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402026947":["hashtag1","hashtag2"]},{"1402026946":["hashtag1","hashtag2"]},{"1402026934":["hashtag1","hashtag2"]},{"1402026931":["hashtag1","hashtag2"]},{"1402026945":["hashtag1","hashtag2"]},{"1402026948":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402026947, 1402026946, 1402026934, 1402026931, 1402026945, 1402026948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21210312843323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:12:22.478435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_24_9849.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_35_10791.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_45_9661.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_55_10096.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_09_05_9684.jpg', '/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_14_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_24_9849.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_35_10791.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_45_9661.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_55_10096.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_09_05_9684.jpg
/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_14_9720.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.603928804397583 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:12:32.421913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_02_1596.jpg', '/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_04_1598.jpg', '/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_05_1560.jpg', '/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_16_7711.jpg', '/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_18_1520.jpg', '/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_19_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_02_1596.jpg
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_04_1598.jpg
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_05_1560.jpg
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_16_7711.jpg
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_18_1520.jpg
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_19_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":["1402026965","1402026964","1402026958","1402026961","1402026955","1402026966"],"photo_ids_order":["1402026955","1402026958","1402026961","1402026964","1402026965","1402026966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b320e88df4c87ab9770e514948e1f02a.jpg","text":"TemporaryFile(/tmp/multipartBody935106343088032096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276814122,"filename":"image_04112025_17_28_18_1520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18159010769341c3c6d9b4e28386d617.jpg","text":"TemporaryFile(/tmp/multipartBody884937789314275100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276814122,"filename":"image_04112025_17_28_16_7711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a49cca34234303706d6896b563ddb29d.jpg","text":"TemporaryFile(/tmp/multipartBody5979076756510418594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276814122,"filename":"image_04112025_17_28_04_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a41b777eaaaf95b43ec27952f07b44f.jpg","text":"TemporaryFile(/tmp/multipartBody6465444353761191493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276814122,"filename":"image_04112025_17_28_05_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fbd773e4a92ba322cc5148f664396b1.jpg","text":"TemporaryFile(/tmp/multipartBody449761804633117420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276814122,"filename":"image_04112025_17_28_02_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/642af6193dd0601b3e47a0b47ccaa0f4.jpg","text":"TemporaryFile(/tmp/multipartBody1419168406214265883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276814122,"filename":"image_04112025_17_28_19_1572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026961","file1":"1402026958","file0":"1402026955","file4":"1402026965","file5":"1402026966","file3":"1402026964"},"map_files_photo_id_array":[{"photo_id":"1402026966","filename":"file5"},{"photo_id":"1402026961","filename":"file2"},{"photo_id":"1402026965","filename":"file4"},{"photo_id":"1402026958","filename":"file1"},{"photo_id":"1402026955","filename":"file0"},{"photo_id":"1402026964","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402026965":["hashtag1","hashtag2"]},{"1402026964":["hashtag1","hashtag2"]},{"1402026958":["hashtag1","hashtag2"]},{"1402026961":["hashtag1","hashtag2"]},{"1402026955":["hashtag1","hashtag2"]},{"1402026966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402026965, 1402026964, 1402026958, 1402026961, 1402026955, 1402026966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.592034339904785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:13:12.713190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_21_1866.jpg', '/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_26_1710.jpg', '/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_57_26675.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_07_9472.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_09_1771.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_10_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_21_1866.jpg
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_26_1710.jpg
/home/pi/Desktop/images/04112025/17/28/image_04112025_17_28_57_26675.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_07_9472.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_09_1771.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_10_1625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026968","1402026977","1402026970","1402026967","1402026975","1402026972"],"photo_ids_order":["1402026967","1402026968","1402026970","1402026972","1402026975","1402026977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a61d09ec4c48f398b3ace282965f6413.jpg","text":"TemporaryFile(/tmp/multipartBody4420250431959262091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276854309,"filename":"image_04112025_17_28_26_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7240bb6eef91253fb4d4c5e53dcf64f9.jpg","text":"TemporaryFile(/tmp/multipartBody3978768935292244004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276854309,"filename":"image_04112025_17_29_10_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/028d30485f88b1a4efd857fae6e57c71.jpg","text":"TemporaryFile(/tmp/multipartBody3373041127279919096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276854309,"filename":"image_04112025_17_28_57_26675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c7a69a33fc0029ab9e811d31dc21bc0.jpg","text":"TemporaryFile(/tmp/multipartBody5618521155180868126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276854309,"filename":"image_04112025_17_28_21_1866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b33cdbfb961af7465e3bd1923193b5c7.jpg","text":"TemporaryFile(/tmp/multipartBody7992844787353550587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276854309,"filename":"image_04112025_17_29_09_1771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1770da6f16542e0ec41b0ab961ec25a9.jpg","text":"TemporaryFile(/tmp/multipartBody821273938923437115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276854309,"filename":"image_04112025_17_29_07_9472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026970","file1":"1402026968","file0":"1402026967","file4":"1402026975","file5":"1402026977","file3":"1402026972"},"map_files_photo_id_array":[{"photo_id":"1402026977","filename":"file5"},{"photo_id":"1402026970","filename":"file2"},{"photo_id":"1402026975","filename":"file4"},{"photo_id":"1402026968","filename":"file1"},{"photo_id":"1402026967","filename":"file0"},{"photo_id":"1402026972","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402026968":["hashtag1","hashtag2"]},{"1402026977":["hashtag1","hashtag2"]},{"1402026970":["hashtag1","hashtag2"]},{"1402026967":["hashtag1","hashtag2"]},{"1402026975":["hashtag1","hashtag2"]},{"1402026972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402026968, 1402026977, 1402026970, 1402026967, 1402026975, 1402026972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.911147356033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:14:03.596806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_24_9849.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_35_10791.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_45_9661.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_55_10096.jpg', '/home/pi/Desktop/images/01012026/13/08/image_01012026_13_09_05_9684.jpg', '/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_14_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_24_9849.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_35_10791.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_45_9661.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_08_55_10096.jpg
/home/pi/Desktop/images/01012026/13/08/image_01012026_13_09_05_9684.jpg
/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_14_9720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402026983","1402026991","1402026985","1402026988","1402026993","1402026986"],"photo_ids_order":["1402026983","1402026985","1402026986","1402026988","1402026991","1402026993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea8c2a892a2a93f90839dfdf22d4be4d.jpg","text":"TemporaryFile(/tmp/multipartBody5365995430127281791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276904485,"filename":"image_01012026_13_08_24_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11c8b11e1b6cf9a97bf113cd3af21d38.jpg","text":"TemporaryFile(/tmp/multipartBody603148366728883563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276904485,"filename":"image_01012026_13_09_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f551a134e6b7d0823bf313c1817b7fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3059326734339345320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276904485,"filename":"image_01012026_13_08_35_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f533d3ff2c36aea2673d1bb0216a3117.jpg","text":"TemporaryFile(/tmp/multipartBody6713585405915183581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276904485,"filename":"image_01012026_13_08_55_10096.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb8bf65795ab641b5dabbc0f2e75cb22.jpg","text":"TemporaryFile(/tmp/multipartBody997118666437705487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276904485,"filename":"image_01012026_13_09_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b2f7300858ac70abdebe481025fd19b.jpg","text":"TemporaryFile(/tmp/multipartBody4492399988499334861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276904485,"filename":"image_01012026_13_08_45_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402026986","file1":"1402026985","file0":"1402026983","file4":"1402026991","file5":"1402026993","file3":"1402026988"},"map_files_photo_id_array":[{"photo_id":"1402026993","filename":"file5"},{"photo_id":"1402026986","filename":"file2"},{"photo_id":"1402026991","filename":"file4"},{"photo_id":"1402026985","filename":"file1"},{"photo_id":"1402026983","filename":"file0"},{"photo_id":"1402026988","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402026983":["hashtag1","hashtag2"]},{"1402026991":["hashtag1","hashtag2"]},{"1402026985":["hashtag1","hashtag2"]},{"1402026988":["hashtag1","hashtag2"]},{"1402026993":["hashtag1","hashtag2"]},{"1402026986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402026983, 1402026991, 1402026985, 1402026988, 1402026993, 1402026986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35776925086975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:14:42.825663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_12_1481.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_13_1702.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_18_1570.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_20_1821.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_22_1594.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_25_1509.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_12_1481.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_13_1702.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_18_1570.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_20_1821.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_22_1594.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_25_1509.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027010","1402026997","1402027009","1402027012","1402027011","1402027008"],"photo_ids_order":["1402026997","1402027008","1402027009","1402027010","1402027011","1402027012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a18884365a218c53ba6bdda2ed0dbca4.jpg","text":"TemporaryFile(/tmp/multipartBody1223329151980487510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276944526,"filename":"image_04112025_17_29_20_1821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a2cb3cb54cc8d215b777c3bf14c64de.jpg","text":"TemporaryFile(/tmp/multipartBody306882030171599080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276944526,"filename":"image_04112025_17_29_12_1481.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bba98fdf5a31b73e6548a12b79bda30c.jpg","text":"TemporaryFile(/tmp/multipartBody4739825182231416372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276944526,"filename":"image_04112025_17_29_18_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1975f5ccba88fb53ce510054b51b478.jpg","text":"TemporaryFile(/tmp/multipartBody201208852460143610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276944526,"filename":"image_04112025_17_29_25_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91afcc9723dddce3edd1b764cf09b868.jpg","text":"TemporaryFile(/tmp/multipartBody5398322737819114098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276944526,"filename":"image_04112025_17_29_22_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db320a1fa7b0fbcbd5a5b3b44b86131c.jpg","text":"TemporaryFile(/tmp/multipartBody2248877226311501917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276944526,"filename":"image_04112025_17_29_13_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027009","file1":"1402027008","file0":"1402026997","file4":"1402027011","file5":"1402027012","file3":"1402027010"},"map_files_photo_id_array":[{"photo_id":"1402027012","filename":"file5"},{"photo_id":"1402027009","filename":"file2"},{"photo_id":"1402027011","filename":"file4"},{"photo_id":"1402027008","filename":"file1"},{"photo_id":"1402026997","filename":"file0"},{"photo_id":"1402027010","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027010":["hashtag1","hashtag2"]},{"1402026997":["hashtag1","hashtag2"]},{"1402027009":["hashtag1","hashtag2"]},{"1402027012":["hashtag1","hashtag2"]},{"1402027011":["hashtag1","hashtag2"]},{"1402027008":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027010, 1402026997, 1402027009, 1402027012, 1402027011, 1402027008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19363784790039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:15:21.971075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_25_10703.jpg', '/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_35_9658.jpg', '/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_44_9757.jpg', '/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_54_9908.jpg', '/home/pi/Desktop/images/01012026/13/09/image_01012026_13_10_05_10704.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_15_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_25_10703.jpg
/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_35_9658.jpg
/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_44_9757.jpg
/home/pi/Desktop/images/01012026/13/09/image_01012026_13_09_54_9908.jpg
/home/pi/Desktop/images/01012026/13/09/image_01012026_13_10_05_10704.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_15_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":["1402027019","1402027021","1402027015","1402027023","1402027026","1402027017"],"photo_ids_order":["1402027015","1402027017","1402027019","1402027021","1402027023","1402027026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/226f620ce895d129278b166cdc8ebb74.jpg","text":"TemporaryFile(/tmp/multipartBody1599086686571506495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276982679,"filename":"image_01012026_13_09_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b19e91a3b76a9d02ee2d4d1965062b93.jpg","text":"TemporaryFile(/tmp/multipartBody3509922663704748100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276982679,"filename":"image_01012026_13_09_54_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36fbbf8fd687002cedc9f6f998399672.jpg","text":"TemporaryFile(/tmp/multipartBody8533036039100598722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276982679,"filename":"image_01012026_13_09_25_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afc2e48fad03021a001b24f6d6614aef.jpg","text":"TemporaryFile(/tmp/multipartBody8962704918219808844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276982679,"filename":"image_01012026_13_10_05_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6186d35b31629c8db8a9f8ad2697b9fd.jpg","text":"TemporaryFile(/tmp/multipartBody8049481813516321633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276982679,"filename":"image_01012026_13_10_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77afed00178b14ef44eb7eaff1860806.jpg","text":"TemporaryFile(/tmp/multipartBody4881928668242984895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767276982679,"filename":"image_01012026_13_09_35_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027019","file1":"1402027017","file0":"1402027015","file4":"1402027023","file5":"1402027026","file3":"1402027021"},"map_files_photo_id_array":[{"photo_id":"1402027026","filename":"file5"},{"photo_id":"1402027019","filename":"file2"},{"photo_id":"1402027023","filename":"file4"},{"photo_id":"1402027017","filename":"file1"},{"photo_id":"1402027015","filename":"file0"},{"photo_id":"1402027021","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027019":["hashtag1","hashtag2"]},{"1402027021":["hashtag1","hashtag2"]},{"1402027015":["hashtag1","hashtag2"]},{"1402027023":["hashtag1","hashtag2"]},{"1402027026":["hashtag1","hashtag2"]},{"1402027017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027019, 1402027021, 1402027015, 1402027023, 1402027026, 1402027017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.916542768478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:16:02.749587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_25_9756.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_35_10739.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_45_9719.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_55_10228.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_11_05_9649.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_15_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_25_9756.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_35_10739.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_45_9719.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_55_10228.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_11_05_9649.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_15_9770.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.6541810035705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:16:12.243508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_26_1634.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_28_1717.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_30_1553.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_31_1575.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_33_1595.jpg', '/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_34_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_26_1634.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_28_1717.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_30_1553.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_31_1575.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_33_1595.jpg
/home/pi/Desktop/images/04112025/17/29/image_04112025_17_29_34_1555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027031","1402027033","1402027042","1402027036","1402027038","1402027040"],"photo_ids_order":["1402027031","1402027033","1402027036","1402027038","1402027040","1402027042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/617ebc71e7a38c288387c2a9d8f0891b.jpg","text":"TemporaryFile(/tmp/multipartBody284365874288155255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277033834,"filename":"image_04112025_17_29_26_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24d3030af3a1c026fdf66ea35637c038.jpg","text":"TemporaryFile(/tmp/multipartBody958433959435752022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277033834,"filename":"image_04112025_17_29_28_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9957752dd48abe7b42b0e1fed96f7b15.jpg","text":"TemporaryFile(/tmp/multipartBody4959596538003697162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277033834,"filename":"image_04112025_17_29_34_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed7ee65e69f602e18f0b3f6f1b67c14c.jpg","text":"TemporaryFile(/tmp/multipartBody2850629595232827456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277033834,"filename":"image_04112025_17_29_30_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/feedbf3db923dc3e34513d5e5e599505.jpg","text":"TemporaryFile(/tmp/multipartBody8146624616074307788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277033834,"filename":"image_04112025_17_29_31_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/654a9824db1073d84877902b6c9ed324.jpg","text":"TemporaryFile(/tmp/multipartBody2668472778016379069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277033834,"filename":"image_04112025_17_29_33_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027036","file1":"1402027033","file0":"1402027031","file4":"1402027040","file5":"1402027042","file3":"1402027038"},"map_files_photo_id_array":[{"photo_id":"1402027042","filename":"file5"},{"photo_id":"1402027036","filename":"file2"},{"photo_id":"1402027040","filename":"file4"},{"photo_id":"1402027033","filename":"file1"},{"photo_id":"1402027031","filename":"file0"},{"photo_id":"1402027038","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027031":["hashtag1","hashtag2"]},{"1402027033":["hashtag1","hashtag2"]},{"1402027042":["hashtag1","hashtag2"]},{"1402027036":["hashtag1","hashtag2"]},{"1402027038":["hashtag1","hashtag2"]},{"1402027040":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027031, 1402027033, 1402027042, 1402027036, 1402027038, 1402027040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64864373207092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:17:07.194489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_25_9756.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_35_10739.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_45_9719.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_55_10228.jpg', '/home/pi/Desktop/images/01012026/13/10/image_01012026_13_11_05_9649.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_15_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_25_9756.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_35_10739.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_45_9719.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_10_55_10228.jpg
/home/pi/Desktop/images/01012026/13/10/image_01012026_13_11_05_9649.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_15_9770.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":["1402027046","1402027054","1402027048","1402027050","1402027047","1402027052"],"photo_ids_order":["1402027046","1402027047","1402027048","1402027050","1402027052","1402027054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a98e2561015b5bc906841e31f4752b0.jpg","text":"TemporaryFile(/tmp/multipartBody5155240714178604616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277087911,"filename":"image_01012026_13_10_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c016f29f3c1cdddea90a955dd6f5c65.jpg","text":"TemporaryFile(/tmp/multipartBody6906569527180216610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277087911,"filename":"image_01012026_13_11_15_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6192568e1c545aa6ee1ede5c05deb98b.jpg","text":"TemporaryFile(/tmp/multipartBody505383105147079755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277087911,"filename":"image_01012026_13_10_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/051ade77f529de998d62a3e875cbcf5e.jpg","text":"TemporaryFile(/tmp/multipartBody1126842594398815316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277087911,"filename":"image_01012026_13_10_55_10228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b363af7bd3dc08a0ec4458a2a6afa8f4.jpg","text":"TemporaryFile(/tmp/multipartBody3217086739648339028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277087911,"filename":"image_01012026_13_10_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07e5ecafc60d75c8178e6bf98c918dfb.jpg","text":"TemporaryFile(/tmp/multipartBody8577994799981020576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277087911,"filename":"image_01012026_13_11_05_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027048","file1":"1402027047","file0":"1402027046","file4":"1402027052","file5":"1402027054","file3":"1402027050"},"map_files_photo_id_array":[{"photo_id":"1402027054","filename":"file5"},{"photo_id":"1402027048","filename":"file2"},{"photo_id":"1402027052","filename":"file4"},{"photo_id":"1402027047","filename":"file1"},{"photo_id":"1402027046","filename":"file0"},{"photo_id":"1402027050","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027046":["hashtag1","hashtag2"]},{"1402027054":["hashtag1","hashtag2"]},{"1402027048":["hashtag1","hashtag2"]},{"1402027050":["hashtag1","hashtag2"]},{"1402027047":["hashtag1","hashtag2"]},{"1402027052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027046, 1402027054, 1402027048, 1402027050, 1402027047, 1402027052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.157243728637695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:18:03.047601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_24_9761.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_35_10751.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_45_9817.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_55_9654.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_12_04_9848.jpg', '/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_15_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_24_9761.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_35_10751.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_45_9817.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_55_9654.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_12_04_9848.jpg
/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_15_10718.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.1339504718780518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:18:12.650156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_12_8265.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_15_3049.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_16_1524.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_18_1515.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_19_1584.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_38_18755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_12_8265.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_15_3049.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_16_1524.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_18_1515.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_19_1584.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_38_18755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027084","1402027072","1402027080","1402027074","1402027077","1402027082"],"photo_ids_order":["1402027072","1402027074","1402027077","1402027080","1402027082","1402027084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/093c8477b0a61467ca58572b069ed148.jpg","text":"TemporaryFile(/tmp/multipartBody28599692249818786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277154352,"filename":"image_04112025_17_31_38_18755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4bddf8df8480b671a3597a765598690.jpg","text":"TemporaryFile(/tmp/multipartBody1714160900587722132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277154352,"filename":"image_04112025_17_31_12_8265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bef5c74eb96c5215031fb45587105bd7.jpg","text":"TemporaryFile(/tmp/multipartBody7881250374827101575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277154352,"filename":"image_04112025_17_31_18_1515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16cb4eac46c4c5456190d4cee42904bd.jpg","text":"TemporaryFile(/tmp/multipartBody8653609968701850121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277154352,"filename":"image_04112025_17_31_15_3049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26ab489ddf225e5f90d0b5a29d783e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7155636614739243038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277154352,"filename":"image_04112025_17_31_16_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ccee957bc3fd88ee4cb77b44eb8cf54f.jpg","text":"TemporaryFile(/tmp/multipartBody1895631608466715209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277154352,"filename":"image_04112025_17_31_19_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027077","file1":"1402027074","file0":"1402027072","file4":"1402027082","file5":"1402027084","file3":"1402027080"},"map_files_photo_id_array":[{"photo_id":"1402027084","filename":"file5"},{"photo_id":"1402027077","filename":"file2"},{"photo_id":"1402027082","filename":"file4"},{"photo_id":"1402027074","filename":"file1"},{"photo_id":"1402027072","filename":"file0"},{"photo_id":"1402027080","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027084":["hashtag1","hashtag2"]},{"1402027072":["hashtag1","hashtag2"]},{"1402027080":["hashtag1","hashtag2"]},{"1402027074":["hashtag1","hashtag2"]},{"1402027077":["hashtag1","hashtag2"]},{"1402027082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027084, 1402027072, 1402027080, 1402027074, 1402027077, 1402027082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.206905126571655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:19:08.037462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_24_9761.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_35_10751.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_45_9817.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_55_9654.jpg', '/home/pi/Desktop/images/01012026/13/11/image_01012026_13_12_04_9848.jpg', '/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_15_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_24_9761.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_35_10751.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_45_9817.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_11_55_9654.jpg
/home/pi/Desktop/images/01012026/13/11/image_01012026_13_12_04_9848.jpg
/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_15_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027096","1402027092","1402027089","1402027091","1402027094","1402027088"],"photo_ids_order":["1402027088","1402027089","1402027091","1402027092","1402027094","1402027096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5395d4dc5c4ec6422c3caff4458709b8.jpg","text":"TemporaryFile(/tmp/multipartBody8686907178673134970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277208914,"filename":"image_01012026_13_12_15_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcd572a32e790bca294d388c00850e30.jpg","text":"TemporaryFile(/tmp/multipartBody7728032605902391492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277208914,"filename":"image_01012026_13_11_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d665e3fa721ffce205dd37009177ba9.jpg","text":"TemporaryFile(/tmp/multipartBody6215211385795890649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277208914,"filename":"image_01012026_13_11_35_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e891fe1a703db804846bbbfc918f5b62.jpg","text":"TemporaryFile(/tmp/multipartBody4372269439761901975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277208914,"filename":"image_01012026_13_11_45_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10c76fee825d258c568edf52ad29312e.jpg","text":"TemporaryFile(/tmp/multipartBody3231840772806741311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277208914,"filename":"image_01012026_13_12_04_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4141d3a2b9c496086e488b83578ce5b.jpg","text":"TemporaryFile(/tmp/multipartBody944167872917450475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277208914,"filename":"image_01012026_13_11_24_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027091","file1":"1402027089","file0":"1402027088","file4":"1402027094","file5":"1402027096","file3":"1402027092"},"map_files_photo_id_array":[{"photo_id":"1402027096","filename":"file5"},{"photo_id":"1402027091","filename":"file2"},{"photo_id":"1402027094","filename":"file4"},{"photo_id":"1402027089","filename":"file1"},{"photo_id":"1402027088","filename":"file0"},{"photo_id":"1402027092","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027096":["hashtag1","hashtag2"]},{"1402027092":["hashtag1","hashtag2"]},{"1402027089":["hashtag1","hashtag2"]},{"1402027091":["hashtag1","hashtag2"]},{"1402027094":["hashtag1","hashtag2"]},{"1402027088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027096, 1402027092, 1402027089, 1402027091, 1402027094, 1402027088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10511350631714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:19:46.968327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_40_1781.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_41_1540.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_43_1652.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_45_1612.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_46_1771.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_48_1549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_40_1781.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_41_1540.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_43_1652.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_45_1612.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_46_1771.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_48_1549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027106","1402027108","1402027102","1402027105","1402027104","1402027107"],"photo_ids_order":["1402027102","1402027104","1402027105","1402027106","1402027107","1402027108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c895f9078e022fd8540284f5388502bd.jpg","text":"TemporaryFile(/tmp/multipartBody879846687899808759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277248712,"filename":"image_04112025_17_31_45_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37b30b345f36533ac705d141612a56d6.jpg","text":"TemporaryFile(/tmp/multipartBody1093787573847954738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277248712,"filename":"image_04112025_17_31_48_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cc828785a45053c62470e83282e5988.jpg","text":"TemporaryFile(/tmp/multipartBody794399988160680359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277248712,"filename":"image_04112025_17_31_40_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c1e03305a0999cf8b6c74cdcdf8d416.jpg","text":"TemporaryFile(/tmp/multipartBody6850900877448482337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277248712,"filename":"image_04112025_17_31_43_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0178f1928de8e8420da9e35cbeb5c14c.jpg","text":"TemporaryFile(/tmp/multipartBody1281894971804704368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277248712,"filename":"image_04112025_17_31_41_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea6b1c80ad78c6083fd2531ef54ca8d6.jpg","text":"TemporaryFile(/tmp/multipartBody7446614466165259506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277248712,"filename":"image_04112025_17_31_46_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027105","file1":"1402027104","file0":"1402027102","file4":"1402027107","file5":"1402027108","file3":"1402027106"},"map_files_photo_id_array":[{"photo_id":"1402027108","filename":"file5"},{"photo_id":"1402027105","filename":"file2"},{"photo_id":"1402027107","filename":"file4"},{"photo_id":"1402027104","filename":"file1"},{"photo_id":"1402027102","filename":"file0"},{"photo_id":"1402027106","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027106":["hashtag1","hashtag2"]},{"1402027108":["hashtag1","hashtag2"]},{"1402027102":["hashtag1","hashtag2"]},{"1402027105":["hashtag1","hashtag2"]},{"1402027104":["hashtag1","hashtag2"]},{"1402027107":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027106, 1402027108, 1402027102, 1402027105, 1402027104, 1402027107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73356556892395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:20:32.045277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_50_1741.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_51_1621.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_53_1741.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_55_1636.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_56_1729.jpg', '/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_58_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_50_1741.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_51_1621.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_53_1741.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_55_1636.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_56_1729.jpg
/home/pi/Desktop/images/04112025/17/31/image_04112025_17_31_58_1697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027115","1402027112","1402027132","1402027129","1402027117","1402027131"],"photo_ids_order":["1402027112","1402027115","1402027117","1402027129","1402027131","1402027132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7dea74c1069c5ac57c10facc618ba8be.jpg","text":"TemporaryFile(/tmp/multipartBody2112075639994467427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277293681,"filename":"image_04112025_17_31_51_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02b7154a8f67b94d830928789f804639.jpg","text":"TemporaryFile(/tmp/multipartBody2891360690051918729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277293681,"filename":"image_04112025_17_31_50_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a9c8b22702efd412d167964708258c1.jpg","text":"TemporaryFile(/tmp/multipartBody543584319811446392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277293681,"filename":"image_04112025_17_31_58_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aff7d462d1a167a8dbe42e497f0e787a.jpg","text":"TemporaryFile(/tmp/multipartBody2045866990040380246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277293681,"filename":"image_04112025_17_31_55_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b8c4b6e5d5c929300263ef0e605473e.jpg","text":"TemporaryFile(/tmp/multipartBody1477031086345950284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277293681,"filename":"image_04112025_17_31_53_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d60742dd7d79e00534f9d29a6c91d7eb.jpg","text":"TemporaryFile(/tmp/multipartBody2685010656844058249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277293681,"filename":"image_04112025_17_31_56_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027117","file1":"1402027115","file0":"1402027112","file4":"1402027131","file5":"1402027132","file3":"1402027129"},"map_files_photo_id_array":[{"photo_id":"1402027132","filename":"file5"},{"photo_id":"1402027117","filename":"file2"},{"photo_id":"1402027131","filename":"file4"},{"photo_id":"1402027115","filename":"file1"},{"photo_id":"1402027112","filename":"file0"},{"photo_id":"1402027129","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027115":["hashtag1","hashtag2"]},{"1402027112":["hashtag1","hashtag2"]},{"1402027132":["hashtag1","hashtag2"]},{"1402027129":["hashtag1","hashtag2"]},{"1402027117":["hashtag1","hashtag2"]},{"1402027131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027115, 1402027112, 1402027132, 1402027129, 1402027117, 1402027131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17182636260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:21:12.318413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_01_2610.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_03_2594.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_21_17322.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_24_3489.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_26_1577.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_27_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_01_2610.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_03_2594.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_21_17322.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_24_3489.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_26_1577.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_27_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027136","1402027139","1402027141","1402027135","1402027134","1402027133"],"photo_ids_order":["1402027133","1402027134","1402027135","1402027136","1402027139","1402027141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8c1f8bfc76fad7fc8e13cbcaa440bd8.jpg","text":"TemporaryFile(/tmp/multipartBody780212454216827931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277333978,"filename":"image_04112025_17_32_24_3489.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47e8657725c3f383339b0d3550feacdb.jpg","text":"TemporaryFile(/tmp/multipartBody8707681636722990377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277333978,"filename":"image_04112025_17_32_26_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4852878fe997e1a6d35996af73276a9.jpg","text":"TemporaryFile(/tmp/multipartBody5831934018803536115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277333978,"filename":"image_04112025_17_32_27_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbce8af4d66ac1d62884345edf4567e1.jpg","text":"TemporaryFile(/tmp/multipartBody8603957206405612587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277333978,"filename":"image_04112025_17_32_21_17322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1df18126466472c380088407811502a.jpg","text":"TemporaryFile(/tmp/multipartBody3749658018783732798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277333978,"filename":"image_04112025_17_32_03_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9409122c5801e65bf188a584cd60fe6.jpg","text":"TemporaryFile(/tmp/multipartBody1151685587566108110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277333978,"filename":"image_04112025_17_32_01_2610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027135","file1":"1402027134","file0":"1402027133","file4":"1402027139","file5":"1402027141","file3":"1402027136"},"map_files_photo_id_array":[{"photo_id":"1402027141","filename":"file5"},{"photo_id":"1402027135","filename":"file2"},{"photo_id":"1402027139","filename":"file4"},{"photo_id":"1402027134","filename":"file1"},{"photo_id":"1402027133","filename":"file0"},{"photo_id":"1402027136","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027136":["hashtag1","hashtag2"]},{"1402027139":["hashtag1","hashtag2"]},{"1402027141":["hashtag1","hashtag2"]},{"1402027135":["hashtag1","hashtag2"]},{"1402027134":["hashtag1","hashtag2"]},{"1402027133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027136, 1402027139, 1402027141, 1402027135, 1402027134, 1402027133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31443452835083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:22:03.040032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_25_9641.jpg', '/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_34_9650.jpg', '/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_45_10705.jpg', '/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_55_9754.jpg', '/home/pi/Desktop/images/01012026/13/12/image_01012026_13_13_05_9644.jpg', '/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_25_9641.jpg
/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_34_9650.jpg
/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_45_10705.jpg
/home/pi/Desktop/images/01012026/13/12/image_01012026_13_12_55_9754.jpg
/home/pi/Desktop/images/01012026/13/12/image_01012026_13_13_05_9644.jpg
/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_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":["1402027156","1402027150","1402027153","1402027152","1402027151","1402027154"],"photo_ids_order":["1402027150","1402027151","1402027152","1402027153","1402027154","1402027156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/919cdd8328fab2ab58e0e6de9bfb2048.jpg","text":"TemporaryFile(/tmp/multipartBody3978722600450437136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277383743,"filename":"image_01012026_13_13_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0542339ba1d23e52076367e763b1a54c.jpg","text":"TemporaryFile(/tmp/multipartBody4294327219484788568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277383743,"filename":"image_01012026_13_12_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23d2da1f1121e732f93a1957577fa4b4.jpg","text":"TemporaryFile(/tmp/multipartBody7564304984417267540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277383743,"filename":"image_01012026_13_12_55_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c62a7a7ccb89a3ea8f207676fbd7ae2b.jpg","text":"TemporaryFile(/tmp/multipartBody1154746707847800438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277383743,"filename":"image_01012026_13_12_45_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/735c24dd4e216f53adc75eb4ebd539d6.jpg","text":"TemporaryFile(/tmp/multipartBody2762586727280015179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277383743,"filename":"image_01012026_13_12_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b2a973e05d56b8e3be0b6a62dd50abd.jpg","text":"TemporaryFile(/tmp/multipartBody8372435293545432731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277383743,"filename":"image_01012026_13_13_05_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027152","file1":"1402027151","file0":"1402027150","file4":"1402027154","file5":"1402027156","file3":"1402027153"},"map_files_photo_id_array":[{"photo_id":"1402027156","filename":"file5"},{"photo_id":"1402027152","filename":"file2"},{"photo_id":"1402027154","filename":"file4"},{"photo_id":"1402027151","filename":"file1"},{"photo_id":"1402027150","filename":"file0"},{"photo_id":"1402027153","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027156":["hashtag1","hashtag2"]},{"1402027150":["hashtag1","hashtag2"]},{"1402027153":["hashtag1","hashtag2"]},{"1402027152":["hashtag1","hashtag2"]},{"1402027151":["hashtag1","hashtag2"]},{"1402027154":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027156, 1402027150, 1402027153, 1402027152, 1402027151, 1402027154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48018264770508 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:22:42.561382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_29_1646.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_31_1674.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_32_1696.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_47_15059.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_49_1562.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_51_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_29_1646.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_31_1674.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_32_1696.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_47_15059.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_49_1562.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_51_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":["1402027162","1402027165","1402027168","1402027167","1402027164","1402027166"],"photo_ids_order":["1402027162","1402027164","1402027165","1402027166","1402027167","1402027168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/403979a2034714037b254cbf11e9af31.jpg","text":"TemporaryFile(/tmp/multipartBody7215707372575484031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277424267,"filename":"image_04112025_17_32_29_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abb8a3b8d9a36c5e68e12752006c1c6b.jpg","text":"TemporaryFile(/tmp/multipartBody7580931323550514127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277424267,"filename":"image_04112025_17_32_32_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f98add1415d0cefaca1f4ca971c4162.jpg","text":"TemporaryFile(/tmp/multipartBody2377001364880740183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277424267,"filename":"image_04112025_17_32_51_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d04ea696d603d80348171e9bf3046e0.jpg","text":"TemporaryFile(/tmp/multipartBody4841885757991109515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277424267,"filename":"image_04112025_17_32_49_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8490117e92ff7b675d3d3e7893a36f96.jpg","text":"TemporaryFile(/tmp/multipartBody4201564917856139787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277424267,"filename":"image_04112025_17_32_31_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd422dfaf4f1851829a1bd4fcfc4be80.jpg","text":"TemporaryFile(/tmp/multipartBody6467001045190724453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277424267,"filename":"image_04112025_17_32_47_15059.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027165","file1":"1402027164","file0":"1402027162","file4":"1402027167","file5":"1402027168","file3":"1402027166"},"map_files_photo_id_array":[{"photo_id":"1402027168","filename":"file5"},{"photo_id":"1402027165","filename":"file2"},{"photo_id":"1402027167","filename":"file4"},{"photo_id":"1402027164","filename":"file1"},{"photo_id":"1402027162","filename":"file0"},{"photo_id":"1402027166","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027162":["hashtag1","hashtag2"]},{"1402027165":["hashtag1","hashtag2"]},{"1402027168":["hashtag1","hashtag2"]},{"1402027167":["hashtag1","hashtag2"]},{"1402027164":["hashtag1","hashtag2"]},{"1402027166":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027162, 1402027165, 1402027168, 1402027167, 1402027164, 1402027166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78686165809631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:23:21.845588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_25_9653.jpg', '/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_35_9762.jpg', '/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_45_9848.jpg', '/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_54_9787.jpg', '/home/pi/Desktop/images/01012026/13/13/image_01012026_13_14_05_10809.jpg', '/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_15_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_25_9653.jpg
/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_35_9762.jpg
/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_45_9848.jpg
/home/pi/Desktop/images/01012026/13/13/image_01012026_13_13_54_9787.jpg
/home/pi/Desktop/images/01012026/13/13/image_01012026_13_14_05_10809.jpg
/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_15_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027180","1402027174","1402027176","1402027170","1402027178","1402027172"],"photo_ids_order":["1402027170","1402027172","1402027174","1402027176","1402027178","1402027180"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58efad57b765cb01bb7cdf17991761ef.jpg","text":"TemporaryFile(/tmp/multipartBody3592699233221836018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277462579,"filename":"image_01012026_13_14_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57071e15ab50b6f9d3ab92f21a58c086.jpg","text":"TemporaryFile(/tmp/multipartBody5077579666397611988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277462579,"filename":"image_01012026_13_13_45_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1841ec24177fcbee50cae2299fcc24c.jpg","text":"TemporaryFile(/tmp/multipartBody5171487174850602387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277462579,"filename":"image_01012026_13_13_54_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8498c119bce4fbce9512a6ea24908452.jpg","text":"TemporaryFile(/tmp/multipartBody2640372895767632493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277462579,"filename":"image_01012026_13_13_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/810e4626e45437e671241af0fecfba22.jpg","text":"TemporaryFile(/tmp/multipartBody2357535095513291315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277462579,"filename":"image_01012026_13_14_05_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4ea734c8b4cc6f061fcb9cb23fc8622.jpg","text":"TemporaryFile(/tmp/multipartBody5910501735859283274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277462579,"filename":"image_01012026_13_13_35_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027174","file1":"1402027172","file0":"1402027170","file4":"1402027178","file5":"1402027180","file3":"1402027176"},"map_files_photo_id_array":[{"photo_id":"1402027180","filename":"file5"},{"photo_id":"1402027174","filename":"file2"},{"photo_id":"1402027178","filename":"file4"},{"photo_id":"1402027172","filename":"file1"},{"photo_id":"1402027170","filename":"file0"},{"photo_id":"1402027176","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027180":["hashtag1","hashtag2"]},{"1402027174":["hashtag1","hashtag2"]},{"1402027176":["hashtag1","hashtag2"]},{"1402027170":["hashtag1","hashtag2"]},{"1402027178":["hashtag1","hashtag2"]},{"1402027172":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027180, 1402027174, 1402027176, 1402027170, 1402027178, 1402027172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.421154737472534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:24:02.819172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_25_9731.jpg', '/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_34_9876.jpg', '/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_45_10687.jpg', '/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_55_9688.jpg', '/home/pi/Desktop/images/01012026/13/14/image_01012026_13_15_04_9616.jpg', '/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_14_9959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_25_9731.jpg
/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_34_9876.jpg
/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_45_10687.jpg
/home/pi/Desktop/images/01012026/13/14/image_01012026_13_14_55_9688.jpg
/home/pi/Desktop/images/01012026/13/14/image_01012026_13_15_04_9616.jpg
/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_14_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":["1402027202","1402027195","1402027198","1402027200","1402027199","1402027193"],"photo_ids_order":["1402027193","1402027195","1402027198","1402027199","1402027200","1402027202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6067896ace514e850f831131849b367f.jpg","text":"TemporaryFile(/tmp/multipartBody7632983144816631872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277503618,"filename":"image_01012026_13_15_14_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e3a2ce8c59bf9ef84b3fb40eaf52b0c.jpg","text":"TemporaryFile(/tmp/multipartBody8817060598012292595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277503618,"filename":"image_01012026_13_14_34_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bef394e61abdb1393fa165aaddd0de03.jpg","text":"TemporaryFile(/tmp/multipartBody3795137497073220392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277503618,"filename":"image_01012026_13_14_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2203b028a9bceb6e066e71d42aefbdd.jpg","text":"TemporaryFile(/tmp/multipartBody2306602683446950365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277503618,"filename":"image_01012026_13_15_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c69b462851eefc60e33cea81563c514.jpg","text":"TemporaryFile(/tmp/multipartBody8438798133225208156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277503618,"filename":"image_01012026_13_14_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c7fbd516ced260ef380054221a88708.jpg","text":"TemporaryFile(/tmp/multipartBody5013153922672555271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277503618,"filename":"image_01012026_13_14_25_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027198","file1":"1402027195","file0":"1402027193","file4":"1402027200","file5":"1402027202","file3":"1402027199"},"map_files_photo_id_array":[{"photo_id":"1402027202","filename":"file5"},{"photo_id":"1402027198","filename":"file2"},{"photo_id":"1402027200","filename":"file4"},{"photo_id":"1402027195","filename":"file1"},{"photo_id":"1402027193","filename":"file0"},{"photo_id":"1402027199","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027202":["hashtag1","hashtag2"]},{"1402027195":["hashtag1","hashtag2"]},{"1402027198":["hashtag1","hashtag2"]},{"1402027200":["hashtag1","hashtag2"]},{"1402027199":["hashtag1","hashtag2"]},{"1402027193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027202, 1402027195, 1402027198, 1402027200, 1402027199, 1402027193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.301905155181885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:24:42.120967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_52_1621.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_54_1491.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_56_1998.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_57_1635.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_59_1649.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_01_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_52_1621.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_54_1491.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_56_1998.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_57_1635.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_59_1649.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_01_1704.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.7546346187591553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:25:02.957814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_25_10459.jpg', '/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_34_9659.jpg', '/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_45_10647.jpg', '/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_55_9677.jpg', '/home/pi/Desktop/images/01012026/13/15/image_01012026_13_16_04_9719.jpg', '/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_14_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_25_10459.jpg
/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_34_9659.jpg
/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_45_10647.jpg
/home/pi/Desktop/images/01012026/13/15/image_01012026_13_15_55_9677.jpg
/home/pi/Desktop/images/01012026/13/15/image_01012026_13_16_04_9719.jpg
/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_14_9833.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027220","1402027214","1402027217","1402027216","1402027218","1402027215"],"photo_ids_order":["1402027214","1402027215","1402027216","1402027217","1402027218","1402027220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a8331d5a0832dffa45e451420a34025.jpg","text":"TemporaryFile(/tmp/multipartBody4584763679563116621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277563755,"filename":"image_01012026_13_16_14_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd83f726e8fbc8a9a80a5895137a8a11.jpg","text":"TemporaryFile(/tmp/multipartBody6252212590013668316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277563755,"filename":"image_01012026_13_15_25_10459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3ac4a5cedd09d1ee377b623e806e541.jpg","text":"TemporaryFile(/tmp/multipartBody3016749938541393716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277563755,"filename":"image_01012026_13_15_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01763b4fc98d53a521add5beae1f8843.jpg","text":"TemporaryFile(/tmp/multipartBody4284816761692259386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277563755,"filename":"image_01012026_13_15_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8c4761efb41e760d748eaea2895f000.jpg","text":"TemporaryFile(/tmp/multipartBody6751094212352751735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277563755,"filename":"image_01012026_13_16_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72df03107c8cffb513c150051ca5c224.jpg","text":"TemporaryFile(/tmp/multipartBody6318881505226751229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277563755,"filename":"image_01012026_13_15_34_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027216","file1":"1402027215","file0":"1402027214","file4":"1402027218","file5":"1402027220","file3":"1402027217"},"map_files_photo_id_array":[{"photo_id":"1402027220","filename":"file5"},{"photo_id":"1402027216","filename":"file2"},{"photo_id":"1402027218","filename":"file4"},{"photo_id":"1402027215","filename":"file1"},{"photo_id":"1402027214","filename":"file0"},{"photo_id":"1402027217","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027220":["hashtag1","hashtag2"]},{"1402027214":["hashtag1","hashtag2"]},{"1402027217":["hashtag1","hashtag2"]},{"1402027216":["hashtag1","hashtag2"]},{"1402027218":["hashtag1","hashtag2"]},{"1402027215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027220, 1402027214, 1402027217, 1402027216, 1402027218, 1402027215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22255206108093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:25:42.298347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_52_1621.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_54_1491.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_56_1998.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_57_1635.jpg', '/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_59_1649.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_01_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_52_1621.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_54_1491.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_56_1998.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_57_1635.jpg
/home/pi/Desktop/images/04112025/17/32/image_04112025_17_32_59_1649.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_01_1704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027229","1402027226","1402027231","1402027228","1402027230","1402027232"],"photo_ids_order":["1402027226","1402027228","1402027229","1402027230","1402027231","1402027232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5974fe579bb3098f14109363833f43f.jpg","text":"TemporaryFile(/tmp/multipartBody8347051592732278543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277604013,"filename":"image_04112025_17_32_56_1998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51458e450683f9a1f46e50405937bc70.jpg","text":"TemporaryFile(/tmp/multipartBody9103501136340158871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277604013,"filename":"image_04112025_17_32_52_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/748241c6d173ab70f39602f6f1d1dbb2.jpg","text":"TemporaryFile(/tmp/multipartBody3172076529330514591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277604013,"filename":"image_04112025_17_32_59_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e54a8e010bc7a1404b5a1092bc855b8.jpg","text":"TemporaryFile(/tmp/multipartBody4612120644225781694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277604013,"filename":"image_04112025_17_32_54_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87dfae7443b72a0f600e796d998d377a.jpg","text":"TemporaryFile(/tmp/multipartBody7171559298915579608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277604013,"filename":"image_04112025_17_32_57_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12042f3cfcdbfbc20376377eb9ec24f9.jpg","text":"TemporaryFile(/tmp/multipartBody2145775217841673797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277604013,"filename":"image_04112025_17_33_01_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027229","file1":"1402027228","file0":"1402027226","file4":"1402027231","file5":"1402027232","file3":"1402027230"},"map_files_photo_id_array":[{"photo_id":"1402027232","filename":"file5"},{"photo_id":"1402027229","filename":"file2"},{"photo_id":"1402027231","filename":"file4"},{"photo_id":"1402027228","filename":"file1"},{"photo_id":"1402027226","filename":"file0"},{"photo_id":"1402027230","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027229":["hashtag1","hashtag2"]},{"1402027226":["hashtag1","hashtag2"]},{"1402027231":["hashtag1","hashtag2"]},{"1402027228":["hashtag1","hashtag2"]},{"1402027230":["hashtag1","hashtag2"]},{"1402027232":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027229, 1402027226, 1402027231, 1402027228, 1402027230, 1402027232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.976314306259155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:26:22.488594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_25_10755.jpg', '/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_35_9571.jpg', '/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_45_10588.jpg', '/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_55_9851.jpg', '/home/pi/Desktop/images/01012026/13/16/image_01012026_13_17_05_9665.jpg', '/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_14_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_25_10755.jpg
/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_35_9571.jpg
/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_45_10588.jpg
/home/pi/Desktop/images/01012026/13/16/image_01012026_13_16_55_9851.jpg
/home/pi/Desktop/images/01012026/13/16/image_01012026_13_17_05_9665.jpg
/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_14_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027241","1402027244","1402027238","1402027234","1402027236","1402027239"],"photo_ids_order":["1402027234","1402027236","1402027238","1402027239","1402027241","1402027244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d919b909aaecca1be848b6ae42eb80f5.jpg","text":"TemporaryFile(/tmp/multipartBody5633896230835497632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277643197,"filename":"image_01012026_13_17_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e73c457b451dbf080f97361d4cb014e.jpg","text":"TemporaryFile(/tmp/multipartBody5623484845680724700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277643197,"filename":"image_01012026_13_17_14_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0861933aa61059ad9182d6945cbb7a16.jpg","text":"TemporaryFile(/tmp/multipartBody4550071569767344021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277643197,"filename":"image_01012026_13_16_45_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6233b8aae1d3af2f95832f300a898ca.jpg","text":"TemporaryFile(/tmp/multipartBody5933671714449323940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277643197,"filename":"image_01012026_13_16_25_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5c9e290208cff157f60adf1228f45ef.jpg","text":"TemporaryFile(/tmp/multipartBody7569725941747611315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277643197,"filename":"image_01012026_13_16_35_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1b547c0901511b41eff5f3093730e48.jpg","text":"TemporaryFile(/tmp/multipartBody2641230342299541572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277643197,"filename":"image_01012026_13_16_55_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027238","file1":"1402027236","file0":"1402027234","file4":"1402027241","file5":"1402027244","file3":"1402027239"},"map_files_photo_id_array":[{"photo_id":"1402027244","filename":"file5"},{"photo_id":"1402027238","filename":"file2"},{"photo_id":"1402027241","filename":"file4"},{"photo_id":"1402027236","filename":"file1"},{"photo_id":"1402027234","filename":"file0"},{"photo_id":"1402027239","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027241":["hashtag1","hashtag2"]},{"1402027244":["hashtag1","hashtag2"]},{"1402027238":["hashtag1","hashtag2"]},{"1402027234":["hashtag1","hashtag2"]},{"1402027236":["hashtag1","hashtag2"]},{"1402027239":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027241, 1402027244, 1402027238, 1402027234, 1402027236, 1402027239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86551856994629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:27:03.376436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_25_10623.jpg', '/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_35_9718.jpg', '/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_44_9675.jpg', '/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_55_10641.jpg', '/home/pi/Desktop/images/01012026/13/17/image_01012026_13_18_05_9786.jpg', '/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_15_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_25_10623.jpg
/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_35_9718.jpg
/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_44_9675.jpg
/home/pi/Desktop/images/01012026/13/17/image_01012026_13_17_55_10641.jpg
/home/pi/Desktop/images/01012026/13/17/image_01012026_13_18_05_9786.jpg
/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_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":["1402027262","1402027256","1402027258","1402027260","1402027257","1402027259"],"photo_ids_order":["1402027256","1402027257","1402027258","1402027259","1402027260","1402027262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2e24d159930d0251ad59d5c6cb7b5f9.jpg","text":"TemporaryFile(/tmp/multipartBody4302675756504901291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277684168,"filename":"image_01012026_13_18_15_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43bcabcff5d38ea75b41cc86f1d158d4.jpg","text":"TemporaryFile(/tmp/multipartBody9174459607032504513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277684168,"filename":"image_01012026_13_17_25_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a19e9279d6d1399f25bbd6ce0377f13.jpg","text":"TemporaryFile(/tmp/multipartBody5631117975873069243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277684168,"filename":"image_01012026_13_17_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e0d350bf2f3f609fc021dda672ec4c4.jpg","text":"TemporaryFile(/tmp/multipartBody4877404439650398794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277684168,"filename":"image_01012026_13_18_05_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfcd6b4ded703fcdfd6219f5c3bcbb22.jpg","text":"TemporaryFile(/tmp/multipartBody9168986984559272159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277684168,"filename":"image_01012026_13_17_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35f8981a892e844756a220d68ea86d3e.jpg","text":"TemporaryFile(/tmp/multipartBody8423228190767674074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277684168,"filename":"image_01012026_13_17_55_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027258","file1":"1402027257","file0":"1402027256","file4":"1402027260","file5":"1402027262","file3":"1402027259"},"map_files_photo_id_array":[{"photo_id":"1402027262","filename":"file5"},{"photo_id":"1402027258","filename":"file2"},{"photo_id":"1402027260","filename":"file4"},{"photo_id":"1402027257","filename":"file1"},{"photo_id":"1402027256","filename":"file0"},{"photo_id":"1402027259","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027262":["hashtag1","hashtag2"]},{"1402027256":["hashtag1","hashtag2"]},{"1402027258":["hashtag1","hashtag2"]},{"1402027260":["hashtag1","hashtag2"]},{"1402027257":["hashtag1","hashtag2"]},{"1402027259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027262, 1402027256, 1402027258, 1402027260, 1402027257, 1402027259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50803518295288 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:27:42.760517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_03_1854.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_05_2013.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_06_1544.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_09_2409.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_10_1666.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_12_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_03_1854.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_05_2013.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_06_1544.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_09_2409.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_10_1666.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_12_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":["1402027270","1402027267","1402027272","1402027269","1402027271","1402027268"],"photo_ids_order":["1402027267","1402027268","1402027269","1402027270","1402027271","1402027272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9dc29729e0c45b48d5b0e38aa1db09e.jpg","text":"TemporaryFile(/tmp/multipartBody419364086098866910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277724643,"filename":"image_04112025_17_33_09_2409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f4b62366e883eba797bc7ee571a6610.jpg","text":"TemporaryFile(/tmp/multipartBody7553442096191551985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277724643,"filename":"image_04112025_17_33_03_1854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e97956e33f3b16ee9aea4c2605c11854.jpg","text":"TemporaryFile(/tmp/multipartBody2216004403770908705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277724643,"filename":"image_04112025_17_33_12_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b783c6a58983629bfce320cc89694068.jpg","text":"TemporaryFile(/tmp/multipartBody6090610989786242615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277724643,"filename":"image_04112025_17_33_06_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c60dcfb96b40b1a243d5dfd6ad0c41e.jpg","text":"TemporaryFile(/tmp/multipartBody5144029103719519818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277724643,"filename":"image_04112025_17_33_10_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a5aa32355967e01ca10ca3fb2e124ff.jpg","text":"TemporaryFile(/tmp/multipartBody2139622444636456045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277724643,"filename":"image_04112025_17_33_05_2013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027269","file1":"1402027268","file0":"1402027267","file4":"1402027271","file5":"1402027272","file3":"1402027270"},"map_files_photo_id_array":[{"photo_id":"1402027272","filename":"file5"},{"photo_id":"1402027269","filename":"file2"},{"photo_id":"1402027271","filename":"file4"},{"photo_id":"1402027268","filename":"file1"},{"photo_id":"1402027267","filename":"file0"},{"photo_id":"1402027270","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027270":["hashtag1","hashtag2"]},{"1402027267":["hashtag1","hashtag2"]},{"1402027272":["hashtag1","hashtag2"]},{"1402027269":["hashtag1","hashtag2"]},{"1402027271":["hashtag1","hashtag2"]},{"1402027268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027270, 1402027267, 1402027272, 1402027269, 1402027271, 1402027268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30634903907776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:28:21.947012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_24_9700.jpg', '/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_35_10779.jpg', '/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_45_9737.jpg', '/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_55_9775.jpg', '/home/pi/Desktop/images/01012026/13/18/image_01012026_13_19_04_9658.jpg', '/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_15_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_24_9700.jpg
/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_35_10779.jpg
/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_45_9737.jpg
/home/pi/Desktop/images/01012026/13/18/image_01012026_13_18_55_9775.jpg
/home/pi/Desktop/images/01012026/13/18/image_01012026_13_19_04_9658.jpg
/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_15_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":["1402027273","1402027279","1402027284","1402027281","1402027275","1402027277"],"photo_ids_order":["1402027273","1402027275","1402027277","1402027279","1402027281","1402027284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d396bee94310f15e028c49cba5fc5b8e.jpg","text":"TemporaryFile(/tmp/multipartBody1408770835149891519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277762642,"filename":"image_01012026_13_18_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e777cb29a6a5227a1bf4cf4b51552a6.jpg","text":"TemporaryFile(/tmp/multipartBody3478299145044915615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277762642,"filename":"image_01012026_13_18_55_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fce66338dd48edb5ff2278e788be39b.jpg","text":"TemporaryFile(/tmp/multipartBody4384396617654231004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277762642,"filename":"image_01012026_13_19_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f952c9527a9587f66c6009fbe883365.jpg","text":"TemporaryFile(/tmp/multipartBody4058467482145048896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277762642,"filename":"image_01012026_13_19_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b744799f0c815620b0f8ac4ca133798d.jpg","text":"TemporaryFile(/tmp/multipartBody7742046800280934035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277762642,"filename":"image_01012026_13_18_35_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/322c64ba03f5dda262a8852eb6e491f2.jpg","text":"TemporaryFile(/tmp/multipartBody6546644653304987650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277762642,"filename":"image_01012026_13_18_45_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027277","file1":"1402027275","file0":"1402027273","file4":"1402027281","file5":"1402027284","file3":"1402027279"},"map_files_photo_id_array":[{"photo_id":"1402027284","filename":"file5"},{"photo_id":"1402027277","filename":"file2"},{"photo_id":"1402027281","filename":"file4"},{"photo_id":"1402027275","filename":"file1"},{"photo_id":"1402027273","filename":"file0"},{"photo_id":"1402027279","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027273":["hashtag1","hashtag2"]},{"1402027279":["hashtag1","hashtag2"]},{"1402027284":["hashtag1","hashtag2"]},{"1402027281":["hashtag1","hashtag2"]},{"1402027275":["hashtag1","hashtag2"]},{"1402027277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027273, 1402027279, 1402027284, 1402027281, 1402027275, 1402027277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94548511505127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:29:03.061980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_25_9777.jpg', '/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_34_9652.jpg', '/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_45_10678.jpg', '/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_55_9637.jpg', '/home/pi/Desktop/images/01012026/13/19/image_01012026_13_20_04_9645.jpg', '/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_15_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_25_9777.jpg
/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_34_9652.jpg
/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_45_10678.jpg
/home/pi/Desktop/images/01012026/13/19/image_01012026_13_19_55_9637.jpg
/home/pi/Desktop/images/01012026/13/19/image_01012026_13_20_04_9645.jpg
/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_15_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":["1402027291","1402027294","1402027288","1402027290","1402027289","1402027286"],"photo_ids_order":["1402027286","1402027288","1402027289","1402027290","1402027291","1402027294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f173937191ae30ff7505fa1b0560d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8390735324000936851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277803920,"filename":"image_01012026_13_20_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbcd31c1f957a1a55a0e961a14b1f6a4.jpg","text":"TemporaryFile(/tmp/multipartBody1445415412565943414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277803920,"filename":"image_01012026_13_20_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/009762f3e036d5c940a46efea91e303f.jpg","text":"TemporaryFile(/tmp/multipartBody8830419301434383418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277803920,"filename":"image_01012026_13_19_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68f7582a8834b4365b9fc8c84b94442c.jpg","text":"TemporaryFile(/tmp/multipartBody3891599218818894145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277803920,"filename":"image_01012026_13_19_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e1347324f5903a97304914a7004f57b.jpg","text":"TemporaryFile(/tmp/multipartBody2471186959925303957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277803920,"filename":"image_01012026_13_19_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/117764d242956c9251ffc9d829764cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5275907245791445017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277803920,"filename":"image_01012026_13_19_25_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027289","file1":"1402027288","file0":"1402027286","file4":"1402027291","file5":"1402027294","file3":"1402027290"},"map_files_photo_id_array":[{"photo_id":"1402027294","filename":"file5"},{"photo_id":"1402027289","filename":"file2"},{"photo_id":"1402027291","filename":"file4"},{"photo_id":"1402027288","filename":"file1"},{"photo_id":"1402027286","filename":"file0"},{"photo_id":"1402027290","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027291":["hashtag1","hashtag2"]},{"1402027294":["hashtag1","hashtag2"]},{"1402027288":["hashtag1","hashtag2"]},{"1402027290":["hashtag1","hashtag2"]},{"1402027289":["hashtag1","hashtag2"]},{"1402027286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027291, 1402027294, 1402027288, 1402027290, 1402027289, 1402027286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64062309265137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:29:42.100389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_14_1683.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_15_1628.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_19_3669.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_22_2652.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_24_2572.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_28_4037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_14_1683.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_15_1628.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_19_3669.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_22_2652.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_24_2572.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_28_4037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027313","1402027316","1402027301","1402027315","1402027317","1402027314"],"photo_ids_order":["1402027301","1402027313","1402027314","1402027315","1402027316","1402027317"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9a649a1cb517c14cb18ad42efd2effc.jpg","text":"TemporaryFile(/tmp/multipartBody2251908997487661665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277843946,"filename":"image_04112025_17_33_15_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ce85f3edb09c623dcc04414ee19887a.jpg","text":"TemporaryFile(/tmp/multipartBody6502616058500244107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277843946,"filename":"image_04112025_17_33_24_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d973552b622d8df711374a3ff17bc2b8.jpg","text":"TemporaryFile(/tmp/multipartBody6226607383663169385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277843946,"filename":"image_04112025_17_33_14_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/880c17bda4bd22b6ca8067858cde76a6.jpg","text":"TemporaryFile(/tmp/multipartBody4664542638916543213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277843946,"filename":"image_04112025_17_33_22_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65e15452aff56c6537be9804bb17feb6.jpg","text":"TemporaryFile(/tmp/multipartBody641181855782237929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277843946,"filename":"image_04112025_17_33_28_4037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19d1c3998e3a4c0fb673ad9bb709de5f.jpg","text":"TemporaryFile(/tmp/multipartBody6859448328103296669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277843946,"filename":"image_04112025_17_33_19_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027314","file1":"1402027313","file0":"1402027301","file4":"1402027316","file5":"1402027317","file3":"1402027315"},"map_files_photo_id_array":[{"photo_id":"1402027317","filename":"file5"},{"photo_id":"1402027314","filename":"file2"},{"photo_id":"1402027316","filename":"file4"},{"photo_id":"1402027313","filename":"file1"},{"photo_id":"1402027301","filename":"file0"},{"photo_id":"1402027315","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027313":["hashtag1","hashtag2"]},{"1402027316":["hashtag1","hashtag2"]},{"1402027301":["hashtag1","hashtag2"]},{"1402027315":["hashtag1","hashtag2"]},{"1402027317":["hashtag1","hashtag2"]},{"1402027314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027313, 1402027316, 1402027301, 1402027315, 1402027317, 1402027314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73834037780762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:30:22.321188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_25_9790.jpg', '/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_35_9711.jpg', '/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_45_10681.jpg', '/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_55_9773.jpg', '/home/pi/Desktop/images/01012026/13/20/image_01012026_13_21_05_9799.jpg', '/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_14_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_25_9790.jpg
/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_35_9711.jpg
/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_45_10681.jpg
/home/pi/Desktop/images/01012026/13/20/image_01012026_13_20_55_9773.jpg
/home/pi/Desktop/images/01012026/13/20/image_01012026_13_21_05_9799.jpg
/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_14_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027328","1402027322","1402027324","1402027318","1402027320","1402027326"],"photo_ids_order":["1402027318","1402027320","1402027322","1402027324","1402027326","1402027328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e496c04a5e6719ea01641c368fc366c0.jpg","text":"TemporaryFile(/tmp/multipartBody8711254077497432392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277883018,"filename":"image_01012026_13_21_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67a515390181d890f2f11e007dbbf612.jpg","text":"TemporaryFile(/tmp/multipartBody7277473367407744287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277883018,"filename":"image_01012026_13_20_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2711abde44cacc2455bef151b91e81d.jpg","text":"TemporaryFile(/tmp/multipartBody8719227542353232318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277883018,"filename":"image_01012026_13_20_55_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b32a0af48f8b843379140c422d3b2162.jpg","text":"TemporaryFile(/tmp/multipartBody3127371690493881755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277883018,"filename":"image_01012026_13_20_25_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/140d05c0fe9bf167050b5bd525faab74.jpg","text":"TemporaryFile(/tmp/multipartBody703974448059643321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277883018,"filename":"image_01012026_13_20_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f11365dcd394400451de6d92808b135.jpg","text":"TemporaryFile(/tmp/multipartBody3930202297167263949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277883018,"filename":"image_01012026_13_21_05_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027322","file1":"1402027320","file0":"1402027318","file4":"1402027326","file5":"1402027328","file3":"1402027324"},"map_files_photo_id_array":[{"photo_id":"1402027328","filename":"file5"},{"photo_id":"1402027322","filename":"file2"},{"photo_id":"1402027326","filename":"file4"},{"photo_id":"1402027320","filename":"file1"},{"photo_id":"1402027318","filename":"file0"},{"photo_id":"1402027324","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027328":["hashtag1","hashtag2"]},{"1402027322":["hashtag1","hashtag2"]},{"1402027324":["hashtag1","hashtag2"]},{"1402027318":["hashtag1","hashtag2"]},{"1402027320":["hashtag1","hashtag2"]},{"1402027326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027328, 1402027322, 1402027324, 1402027318, 1402027320, 1402027326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.070935010910034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:31:03.136009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_25_10690.jpg', '/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_35_9879.jpg', '/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_45_9656.jpg', '/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_54_9717.jpg', '/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_15_21097.jpg', '/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_17_1651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_25_10690.jpg
/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_35_9879.jpg
/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_45_9656.jpg
/home/pi/Desktop/images/01012026/13/21/image_01012026_13_21_54_9717.jpg
/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_15_21097.jpg
/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_17_1651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027334","1402027336","1402027330","1402027333","1402027332","1402027331"],"photo_ids_order":["1402027330","1402027331","1402027332","1402027333","1402027334","1402027336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e059e32fc1f00f227ecf179de24d0c4.jpg","text":"TemporaryFile(/tmp/multipartBody4354557732568610551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277923952,"filename":"image_01012026_13_22_15_21097.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f4d5cba3e754ebf511b83a224808b1f.jpg","text":"TemporaryFile(/tmp/multipartBody7363635780800341555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277923952,"filename":"image_01012026_13_22_17_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16b299918956d5409faf4bd422e005b2.jpg","text":"TemporaryFile(/tmp/multipartBody5794058285227840277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277923952,"filename":"image_01012026_13_21_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fef8153bd423113ff454bfb425f84883.jpg","text":"TemporaryFile(/tmp/multipartBody2663690765460500458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277923952,"filename":"image_01012026_13_21_54_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae3c6de4d0601131bc4c0297e220c09d.jpg","text":"TemporaryFile(/tmp/multipartBody3316343862368826151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277923952,"filename":"image_01012026_13_21_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a472834859a6b0c945c86468ead6970.jpg","text":"TemporaryFile(/tmp/multipartBody7206592742461319514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277923952,"filename":"image_01012026_13_21_35_9879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027332","file1":"1402027331","file0":"1402027330","file4":"1402027334","file5":"1402027336","file3":"1402027333"},"map_files_photo_id_array":[{"photo_id":"1402027336","filename":"file5"},{"photo_id":"1402027332","filename":"file2"},{"photo_id":"1402027334","filename":"file4"},{"photo_id":"1402027331","filename":"file1"},{"photo_id":"1402027330","filename":"file0"},{"photo_id":"1402027333","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027334":["hashtag1","hashtag2"]},{"1402027336":["hashtag1","hashtag2"]},{"1402027330":["hashtag1","hashtag2"]},{"1402027333":["hashtag1","hashtag2"]},{"1402027332":["hashtag1","hashtag2"]},{"1402027331":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027334, 1402027336, 1402027330, 1402027333, 1402027332, 1402027331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.747071743011475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:31:42.598326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_31_2661.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_40_3705.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_43_2666.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_46_2876.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_48_2733.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_52_3691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_31_2661.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_40_3705.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_43_2666.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_46_2876.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_48_2733.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_52_3691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027349","1402027342","1402027345","1402027347","1402027350","1402027346"],"photo_ids_order":["1402027342","1402027345","1402027346","1402027347","1402027349","1402027350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2be9833f98f494398d4c55c79e35e3a3.jpg","text":"TemporaryFile(/tmp/multipartBody4776723528588662160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277964470,"filename":"image_04112025_17_33_48_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8303d74e600f66bc95903b3a4872e554.jpg","text":"TemporaryFile(/tmp/multipartBody7191400882260624658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277964470,"filename":"image_04112025_17_33_31_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d8b5c2e91a2a8bd6de61263deeddd28.jpg","text":"TemporaryFile(/tmp/multipartBody7987830918415459393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277964470,"filename":"image_04112025_17_33_40_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92b5213fe4a65c97e0bb15c73a668ac2.jpg","text":"TemporaryFile(/tmp/multipartBody4238071572254834125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277964470,"filename":"image_04112025_17_33_46_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57a642e947ef7ce889fc07c29699348c.jpg","text":"TemporaryFile(/tmp/multipartBody4487155755545625128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277964470,"filename":"image_04112025_17_33_52_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c8882aa82047be17f2ca278223bd046.jpg","text":"TemporaryFile(/tmp/multipartBody6355513514343154228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767277964470,"filename":"image_04112025_17_33_43_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027346","file1":"1402027345","file0":"1402027342","file4":"1402027349","file5":"1402027350","file3":"1402027347"},"map_files_photo_id_array":[{"photo_id":"1402027350","filename":"file5"},{"photo_id":"1402027346","filename":"file2"},{"photo_id":"1402027349","filename":"file4"},{"photo_id":"1402027345","filename":"file1"},{"photo_id":"1402027342","filename":"file0"},{"photo_id":"1402027347","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027349":["hashtag1","hashtag2"]},{"1402027342":["hashtag1","hashtag2"]},{"1402027345":["hashtag1","hashtag2"]},{"1402027347":["hashtag1","hashtag2"]},{"1402027350":["hashtag1","hashtag2"]},{"1402027346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027349, 1402027342, 1402027345, 1402027347, 1402027350, 1402027346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.186671018600464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:32:32.808917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_55_2752.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_57_2724.jpg', '/home/pi/Desktop/images/04112025/17/33/image_04112025_17_34_00_2849.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_07_2658.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_18_2651.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_22_3539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_55_2752.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_33_57_2724.jpg
/home/pi/Desktop/images/04112025/17/33/image_04112025_17_34_00_2849.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_07_2658.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_18_2651.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_22_3539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027372","1402027354","1402027371","1402027356","1402027370","1402027358"],"photo_ids_order":["1402027354","1402027356","1402027358","1402027370","1402027371","1402027372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/840194b4248158533e788c428b14d9cd.jpg","text":"TemporaryFile(/tmp/multipartBody5085479855609376341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278014642,"filename":"image_04112025_17_34_22_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/792e92069b97a5b4de4dc4890a50d0d5.jpg","text":"TemporaryFile(/tmp/multipartBody3046419812400737442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278014642,"filename":"image_04112025_17_33_55_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63acaed61b1b659c839b82a7cbde87a4.jpg","text":"TemporaryFile(/tmp/multipartBody146488588412839745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278014642,"filename":"image_04112025_17_34_18_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1651e4181dc61b8db80df3ed17ab906e.jpg","text":"TemporaryFile(/tmp/multipartBody4932290355309921187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278014642,"filename":"image_04112025_17_33_57_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ae75c94e055a54b28ccec48ea56a18e.jpg","text":"TemporaryFile(/tmp/multipartBody2632134109637088899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278014642,"filename":"image_04112025_17_34_07_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/571552aebdff58b690d700da8011eba5.jpg","text":"TemporaryFile(/tmp/multipartBody5155581586456497191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278014642,"filename":"image_04112025_17_34_00_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027358","file1":"1402027356","file0":"1402027354","file4":"1402027371","file5":"1402027372","file3":"1402027370"},"map_files_photo_id_array":[{"photo_id":"1402027372","filename":"file5"},{"photo_id":"1402027358","filename":"file2"},{"photo_id":"1402027371","filename":"file4"},{"photo_id":"1402027356","filename":"file1"},{"photo_id":"1402027354","filename":"file0"},{"photo_id":"1402027370","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027372":["hashtag1","hashtag2"]},{"1402027354":["hashtag1","hashtag2"]},{"1402027371":["hashtag1","hashtag2"]},{"1402027356":["hashtag1","hashtag2"]},{"1402027370":["hashtag1","hashtag2"]},{"1402027358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027372, 1402027354, 1402027371, 1402027356, 1402027370, 1402027358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43425512313843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:33:11.911844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_24_2709.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_31_3709.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_34_2752.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_36_2550.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_40_3542.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_42_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_24_2709.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_31_3709.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_34_2752.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_36_2550.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_40_3542.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_42_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027381","1402027375","1402027378","1402027374","1402027382","1402027376"],"photo_ids_order":["1402027374","1402027375","1402027376","1402027378","1402027381","1402027382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9613e2820499945670150cd03d30493f.jpg","text":"TemporaryFile(/tmp/multipartBody5067247798494906364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278053665,"filename":"image_04112025_17_34_40_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fdf6b550b60f555b36d9c73a2d943fc.jpg","text":"TemporaryFile(/tmp/multipartBody761675990522602064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278053665,"filename":"image_04112025_17_34_31_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d301d05cba44c252b3623c0d89e8341.jpg","text":"TemporaryFile(/tmp/multipartBody1168443490728583099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278053665,"filename":"image_04112025_17_34_36_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2345dfaaf3e92c3e0eff798396edc732.jpg","text":"TemporaryFile(/tmp/multipartBody8579909852420320487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278053665,"filename":"image_04112025_17_34_24_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/879094028e55523358720efa3a2a1140.jpg","text":"TemporaryFile(/tmp/multipartBody2890085435684270412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278053665,"filename":"image_04112025_17_34_42_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32f27bf4708b9caa39193904874d5b71.jpg","text":"TemporaryFile(/tmp/multipartBody6956942044148527404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278053665,"filename":"image_04112025_17_34_34_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027376","file1":"1402027375","file0":"1402027374","file4":"1402027381","file5":"1402027382","file3":"1402027378"},"map_files_photo_id_array":[{"photo_id":"1402027382","filename":"file5"},{"photo_id":"1402027376","filename":"file2"},{"photo_id":"1402027381","filename":"file4"},{"photo_id":"1402027375","filename":"file1"},{"photo_id":"1402027374","filename":"file0"},{"photo_id":"1402027378","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027381":["hashtag1","hashtag2"]},{"1402027375":["hashtag1","hashtag2"]},{"1402027378":["hashtag1","hashtag2"]},{"1402027374":["hashtag1","hashtag2"]},{"1402027382":["hashtag1","hashtag2"]},{"1402027376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027381, 1402027375, 1402027378, 1402027374, 1402027382, 1402027376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.255412578582764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:34:02.844065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_25_7774.jpg', '/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_35_9719.jpg', '/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_44_9787.jpg', '/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_55_10884.jpg', '/home/pi/Desktop/images/01012026/13/22/image_01012026_13_23_05_9646.jpg', '/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_15_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_25_7774.jpg
/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_35_9719.jpg
/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_44_9787.jpg
/home/pi/Desktop/images/01012026/13/22/image_01012026_13_22_55_10884.jpg
/home/pi/Desktop/images/01012026/13/22/image_01012026_13_23_05_9646.jpg
/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_15_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":["1402027390","1402027387","1402027392","1402027389","1402027388","1402027385"],"photo_ids_order":["1402027385","1402027387","1402027388","1402027389","1402027390","1402027392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d12c654057829a2701cf63c352a1974.jpg","text":"TemporaryFile(/tmp/multipartBody6809532541036472964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278103675,"filename":"image_01012026_13_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/2026/1/1/9154c392a95b5406a270194bfa361644.jpg","text":"TemporaryFile(/tmp/multipartBody5121291888078967870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278103675,"filename":"image_01012026_13_22_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/796af3e0fa43a4a99668c138e5aa39aa.jpg","text":"TemporaryFile(/tmp/multipartBody1698252165159838697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278103675,"filename":"image_01012026_13_23_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/150423a970edcc1fb596d1e059066d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1771235800239918321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278103675,"filename":"image_01012026_13_22_55_10884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7d1cc167b480bea7f5f7f07f17dc14b.jpg","text":"TemporaryFile(/tmp/multipartBody406118392683829136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278103675,"filename":"image_01012026_13_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/2026/1/1/e5690197f2448066377ec26aa3732aed.jpg","text":"TemporaryFile(/tmp/multipartBody4983642764663763467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278103675,"filename":"image_01012026_13_22_25_7774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027388","file1":"1402027387","file0":"1402027385","file4":"1402027390","file5":"1402027392","file3":"1402027389"},"map_files_photo_id_array":[{"photo_id":"1402027392","filename":"file5"},{"photo_id":"1402027388","filename":"file2"},{"photo_id":"1402027390","filename":"file4"},{"photo_id":"1402027387","filename":"file1"},{"photo_id":"1402027385","filename":"file0"},{"photo_id":"1402027389","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027390":["hashtag1","hashtag2"]},{"1402027387":["hashtag1","hashtag2"]},{"1402027392":["hashtag1","hashtag2"]},{"1402027389":["hashtag1","hashtag2"]},{"1402027388":["hashtag1","hashtag2"]},{"1402027385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027390, 1402027387, 1402027392, 1402027389, 1402027388, 1402027385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74944591522217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:34:42.227899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_46_3629.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_49_2603.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_51_2705.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_55_3657.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_57_2546.jpg', '/home/pi/Desktop/images/04112025/17/34/image_04112025_17_35_00_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_46_3629.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_49_2603.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_51_2705.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_55_3657.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_34_57_2546.jpg
/home/pi/Desktop/images/04112025/17/34/image_04112025_17_35_00_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":["1402027400","1402027399","1402027403","1402027402","1402027401","1402027397"],"photo_ids_order":["1402027397","1402027399","1402027400","1402027401","1402027402","1402027403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/add5391e8a6902a5537e61dab346df3a.jpg","text":"TemporaryFile(/tmp/multipartBody6806791807283980924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278144078,"filename":"image_04112025_17_34_51_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8bb34377cd4dffd9d32d9a7d9ae5189c.jpg","text":"TemporaryFile(/tmp/multipartBody2432626674032174396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278144078,"filename":"image_04112025_17_34_49_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30aed91e90f1234fd5ca103c3c61fa2b.jpg","text":"TemporaryFile(/tmp/multipartBody5487116422415072901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278144078,"filename":"image_04112025_17_35_00_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a959fb3e754c95b868bce01bd1ad131.jpg","text":"TemporaryFile(/tmp/multipartBody4960002871362476070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278144078,"filename":"image_04112025_17_34_57_2546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afc983487c0528f29f89d0a50dc8f908.jpg","text":"TemporaryFile(/tmp/multipartBody7683998059228347102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278144078,"filename":"image_04112025_17_34_55_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70201747b92cb80c70cbb7342f699015.jpg","text":"TemporaryFile(/tmp/multipartBody1400800520245258315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278144078,"filename":"image_04112025_17_34_46_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027400","file1":"1402027399","file0":"1402027397","file4":"1402027402","file5":"1402027403","file3":"1402027401"},"map_files_photo_id_array":[{"photo_id":"1402027403","filename":"file5"},{"photo_id":"1402027400","filename":"file2"},{"photo_id":"1402027402","filename":"file4"},{"photo_id":"1402027399","filename":"file1"},{"photo_id":"1402027397","filename":"file0"},{"photo_id":"1402027401","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027400":["hashtag1","hashtag2"]},{"1402027399":["hashtag1","hashtag2"]},{"1402027403":["hashtag1","hashtag2"]},{"1402027402":["hashtag1","hashtag2"]},{"1402027401":["hashtag1","hashtag2"]},{"1402027397":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027400, 1402027399, 1402027403, 1402027402, 1402027401, 1402027397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29049301147461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:35:22.481125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_24_9797.jpg', '/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_35_10685.jpg', '/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_45_9614.jpg', '/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_55_9829.jpg', '/home/pi/Desktop/images/01012026/13/23/image_01012026_13_24_04_9842.jpg', '/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_15_10849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_24_9797.jpg
/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_35_10685.jpg
/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_45_9614.jpg
/home/pi/Desktop/images/01012026/13/23/image_01012026_13_23_55_9829.jpg
/home/pi/Desktop/images/01012026/13/23/image_01012026_13_24_04_9842.jpg
/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_15_10849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027409","1402027423","1402027411","1402027405","1402027413","1402027407"],"photo_ids_order":["1402027405","1402027407","1402027409","1402027411","1402027413","1402027423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5803f81a450bc0655fd845b31e988f6c.jpg","text":"TemporaryFile(/tmp/multipartBody5566922951923674061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278184263,"filename":"image_01012026_13_23_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1780f80185441a6982cd7194f3bc6a8.jpg","text":"TemporaryFile(/tmp/multipartBody201613293062485085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278184263,"filename":"image_01012026_13_24_15_10849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e923c8a5de8cebf720020049622884d.jpg","text":"TemporaryFile(/tmp/multipartBody1053264972999150596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278184263,"filename":"image_01012026_13_23_55_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ba1cd2b55c80dde36bf7ea56456f89e.jpg","text":"TemporaryFile(/tmp/multipartBody9084855535666895975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278184263,"filename":"image_01012026_13_23_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3ae1401038642a8215f5d116d76d782.jpg","text":"TemporaryFile(/tmp/multipartBody5121238756954919995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278184263,"filename":"image_01012026_13_24_04_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/156a343fe4b883b3b8121743bbf22026.jpg","text":"TemporaryFile(/tmp/multipartBody8896152365846272219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278184263,"filename":"image_01012026_13_23_35_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027409","file1":"1402027407","file0":"1402027405","file4":"1402027413","file5":"1402027423","file3":"1402027411"},"map_files_photo_id_array":[{"photo_id":"1402027423","filename":"file5"},{"photo_id":"1402027409","filename":"file2"},{"photo_id":"1402027413","filename":"file4"},{"photo_id":"1402027407","filename":"file1"},{"photo_id":"1402027405","filename":"file0"},{"photo_id":"1402027411","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027409":["hashtag1","hashtag2"]},{"1402027423":["hashtag1","hashtag2"]},{"1402027411":["hashtag1","hashtag2"]},{"1402027405":["hashtag1","hashtag2"]},{"1402027413":["hashtag1","hashtag2"]},{"1402027407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027409, 1402027423, 1402027411, 1402027405, 1402027413, 1402027407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76089525222778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:36:03.056271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_25_9707.jpg', '/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_35_9682.jpg', '/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_45_10595.jpg', '/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_55_9690.jpg', '/home/pi/Desktop/images/01012026/13/24/image_01012026_13_25_05_9820.jpg', '/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_14_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_25_9707.jpg
/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_35_9682.jpg
/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_45_10595.jpg
/home/pi/Desktop/images/01012026/13/24/image_01012026_13_24_55_9690.jpg
/home/pi/Desktop/images/01012026/13/24/image_01012026_13_25_05_9820.jpg
/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_14_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":["1402027433","1402027427","1402027429","1402027428","1402027431","1402027430"],"photo_ids_order":["1402027427","1402027428","1402027429","1402027430","1402027431","1402027433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a52712617ecc4cc06813db2cb79ffdd.jpg","text":"TemporaryFile(/tmp/multipartBody7674238199768693278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278223823,"filename":"image_01012026_13_25_14_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fac5808dcf14e9f4d3ccac0795ab6630.jpg","text":"TemporaryFile(/tmp/multipartBody3183959578803450341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278223823,"filename":"image_01012026_13_24_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/869e65700275c8b8c7a433608d9451a9.jpg","text":"TemporaryFile(/tmp/multipartBody8092929458199284039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278223823,"filename":"image_01012026_13_24_45_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e210512e11e9d24d03f03c91ed76f31.jpg","text":"TemporaryFile(/tmp/multipartBody6962716953545410808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278223823,"filename":"image_01012026_13_24_35_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93aafc578e4f6a5d57c6d1bd1f0361b5.jpg","text":"TemporaryFile(/tmp/multipartBody4399438560232734221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278223823,"filename":"image_01012026_13_25_05_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e80b7af8dbb5d5012ae3ce610b3987ff.jpg","text":"TemporaryFile(/tmp/multipartBody6179120163903310410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278223823,"filename":"image_01012026_13_24_55_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027429","file1":"1402027428","file0":"1402027427","file4":"1402027431","file5":"1402027433","file3":"1402027430"},"map_files_photo_id_array":[{"photo_id":"1402027433","filename":"file5"},{"photo_id":"1402027429","filename":"file2"},{"photo_id":"1402027431","filename":"file4"},{"photo_id":"1402027428","filename":"file1"},{"photo_id":"1402027427","filename":"file0"},{"photo_id":"1402027430","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027433":["hashtag1","hashtag2"]},{"1402027427":["hashtag1","hashtag2"]},{"1402027429":["hashtag1","hashtag2"]},{"1402027428":["hashtag1","hashtag2"]},{"1402027431":["hashtag1","hashtag2"]},{"1402027430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027433, 1402027427, 1402027429, 1402027428, 1402027431, 1402027430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.770063161849976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:36:42.572869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_06_3011.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_10_3543.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_13_2675.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_16_3601.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_19_2730.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_21_2609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_06_3011.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_10_3543.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_13_2675.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_16_3601.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_19_2730.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_21_2609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027441","1402027444","1402027438","1402027440","1402027443","1402027442"],"photo_ids_order":["1402027438","1402027440","1402027441","1402027442","1402027443","1402027444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/013b438b1fc5fe1e0413f616b33f7255.jpg","text":"TemporaryFile(/tmp/multipartBody4638878588329455269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278264790,"filename":"image_04112025_17_36_13_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38dbd13986f4c4e1a7aaf6ba268b00dd.jpg","text":"TemporaryFile(/tmp/multipartBody7600139956743097298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278264790,"filename":"image_04112025_17_36_21_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5329efc88a8e0d461a5506fa2d3a982.jpg","text":"TemporaryFile(/tmp/multipartBody3457256728986495542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278264790,"filename":"image_04112025_17_36_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/561d9d01c65c732ad4dc3bfb01de2b54.jpg","text":"TemporaryFile(/tmp/multipartBody7135002914412317491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278264790,"filename":"image_04112025_17_36_10_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fbace922c4cf3df9718f04a92269a12.jpg","text":"TemporaryFile(/tmp/multipartBody3029302201465657463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278264790,"filename":"image_04112025_17_36_19_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e25fca1b6465bbfecbae41600d236052.jpg","text":"TemporaryFile(/tmp/multipartBody7259332688447174909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278264790,"filename":"image_04112025_17_36_16_3601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027441","file1":"1402027440","file0":"1402027438","file4":"1402027443","file5":"1402027444","file3":"1402027442"},"map_files_photo_id_array":[{"photo_id":"1402027444","filename":"file5"},{"photo_id":"1402027441","filename":"file2"},{"photo_id":"1402027443","filename":"file4"},{"photo_id":"1402027440","filename":"file1"},{"photo_id":"1402027438","filename":"file0"},{"photo_id":"1402027442","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027441":["hashtag1","hashtag2"]},{"1402027444":["hashtag1","hashtag2"]},{"1402027438":["hashtag1","hashtag2"]},{"1402027440":["hashtag1","hashtag2"]},{"1402027443":["hashtag1","hashtag2"]},{"1402027442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027441, 1402027444, 1402027438, 1402027440, 1402027443, 1402027442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.966766357421875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:37:21.893666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_25_10782.jpg', '/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_35_9680.jpg', '/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_45_9602.jpg', '/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_55_10614.jpg', '/home/pi/Desktop/images/01012026/13/25/image_01012026_13_26_05_9716.jpg', '/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_15_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_25_10782.jpg
/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_35_9680.jpg
/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_45_9602.jpg
/home/pi/Desktop/images/01012026/13/25/image_01012026_13_25_55_10614.jpg
/home/pi/Desktop/images/01012026/13/25/image_01012026_13_26_05_9716.jpg
/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_15_9750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027453","1402027456","1402027447","1402027449","1402027451","1402027445"],"photo_ids_order":["1402027445","1402027447","1402027449","1402027451","1402027453","1402027456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32285d86b7fa5105fd74b33e33994a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4698920523334282260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278302584,"filename":"image_01012026_13_26_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e763ec7775f6d4f996d375df727299f7.jpg","text":"TemporaryFile(/tmp/multipartBody3361222110068668108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278302584,"filename":"image_01012026_13_26_15_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4225326a9c7d51efb0341740637467ba.jpg","text":"TemporaryFile(/tmp/multipartBody1209907585044322461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278302584,"filename":"image_01012026_13_25_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f5cc624584aeab787e219b106b97b69.jpg","text":"TemporaryFile(/tmp/multipartBody5712438505291928085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278302584,"filename":"image_01012026_13_25_45_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ced0ae8afa1425523485961b61d10b69.jpg","text":"TemporaryFile(/tmp/multipartBody3183227115616587095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278302584,"filename":"image_01012026_13_25_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5042c5594f800c77432fb500fe17cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6811707381867751737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278302584,"filename":"image_01012026_13_25_25_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027449","file1":"1402027447","file0":"1402027445","file4":"1402027453","file5":"1402027456","file3":"1402027451"},"map_files_photo_id_array":[{"photo_id":"1402027456","filename":"file5"},{"photo_id":"1402027449","filename":"file2"},{"photo_id":"1402027453","filename":"file4"},{"photo_id":"1402027447","filename":"file1"},{"photo_id":"1402027445","filename":"file0"},{"photo_id":"1402027451","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027453":["hashtag1","hashtag2"]},{"1402027456":["hashtag1","hashtag2"]},{"1402027447":["hashtag1","hashtag2"]},{"1402027449":["hashtag1","hashtag2"]},{"1402027451":["hashtag1","hashtag2"]},{"1402027445":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027453, 1402027456, 1402027447, 1402027449, 1402027451, 1402027445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.092435121536255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:38:02.560358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_24_9741.jpg', '/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_35_10590.jpg', '/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_45_9681.jpg', '/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_54_9775.jpg', '/home/pi/Desktop/images/01012026/13/26/image_01012026_13_27_04_9909.jpg', '/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_15_10832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_24_9741.jpg
/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_35_10590.jpg
/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_45_9681.jpg
/home/pi/Desktop/images/01012026/13/26/image_01012026_13_26_54_9775.jpg
/home/pi/Desktop/images/01012026/13/26/image_01012026_13_27_04_9909.jpg
/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_15_10832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027462","1402027465","1402027459","1402027461","1402027460","1402027463"],"photo_ids_order":["1402027459","1402027460","1402027461","1402027462","1402027463","1402027465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a60d36dd86a6dde18301e5700ea6dc46.jpg","text":"TemporaryFile(/tmp/multipartBody1226139426284917640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278343350,"filename":"image_01012026_13_26_54_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12e49df1627f5c37b36d2cd8d61cc6d5.jpg","text":"TemporaryFile(/tmp/multipartBody9011099135089128779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278343350,"filename":"image_01012026_13_27_15_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bffe6d9d865b5f5778cc9d63e089792.jpg","text":"TemporaryFile(/tmp/multipartBody108346404066460375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278343350,"filename":"image_01012026_13_26_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/512258cffd3a9c954b5198982886ce8a.jpg","text":"TemporaryFile(/tmp/multipartBody6280477920003710686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278343350,"filename":"image_01012026_13_26_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca0648bec0e42f0eb34cd8051b8317a3.jpg","text":"TemporaryFile(/tmp/multipartBody1877272295990805447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278343350,"filename":"image_01012026_13_26_35_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85f6d922c783f06110371b376fd4ef1a.jpg","text":"TemporaryFile(/tmp/multipartBody6056718430434612741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278343350,"filename":"image_01012026_13_27_04_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027461","file1":"1402027460","file0":"1402027459","file4":"1402027463","file5":"1402027465","file3":"1402027462"},"map_files_photo_id_array":[{"photo_id":"1402027465","filename":"file5"},{"photo_id":"1402027461","filename":"file2"},{"photo_id":"1402027463","filename":"file4"},{"photo_id":"1402027460","filename":"file1"},{"photo_id":"1402027459","filename":"file0"},{"photo_id":"1402027462","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027462":["hashtag1","hashtag2"]},{"1402027465":["hashtag1","hashtag2"]},{"1402027459":["hashtag1","hashtag2"]},{"1402027461":["hashtag1","hashtag2"]},{"1402027460":["hashtag1","hashtag2"]},{"1402027463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027462, 1402027465, 1402027459, 1402027461, 1402027460, 1402027463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.878949880599976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:38:42.311796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_30_2690.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_34_3679.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_37_2801.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_40_2878.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_43_2675.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_46_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_30_2690.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_34_3679.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_37_2801.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_40_2878.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_43_2675.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_46_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027483","1402027482","1402027485","1402027470","1402027481","1402027484"],"photo_ids_order":["1402027470","1402027481","1402027482","1402027483","1402027484","1402027485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a293ae6ff3eebfc8ac16f79c890369d.jpg","text":"TemporaryFile(/tmp/multipartBody5244085626202559949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278384172,"filename":"image_04112025_17_36_40_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/455f6747a53d5d48f04b3324a19ceafe.jpg","text":"TemporaryFile(/tmp/multipartBody7742171722725163916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278384172,"filename":"image_04112025_17_36_37_2801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65a6cebb73a5aa50919336ea2de5ba72.jpg","text":"TemporaryFile(/tmp/multipartBody5295674496903877268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278384172,"filename":"image_04112025_17_36_46_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6c4fff831e8bdd18d5d8735d3daccbf.jpg","text":"TemporaryFile(/tmp/multipartBody3858710297690434167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278384172,"filename":"image_04112025_17_36_30_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7467bde75e9a4d827929c929cc9d8428.jpg","text":"TemporaryFile(/tmp/multipartBody7978826561961157467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278384172,"filename":"image_04112025_17_36_34_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/549a24fa1a168d3336f2dad446de84bc.jpg","text":"TemporaryFile(/tmp/multipartBody4349817574739236828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278384172,"filename":"image_04112025_17_36_43_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027482","file1":"1402027481","file0":"1402027470","file4":"1402027484","file5":"1402027485","file3":"1402027483"},"map_files_photo_id_array":[{"photo_id":"1402027485","filename":"file5"},{"photo_id":"1402027482","filename":"file2"},{"photo_id":"1402027484","filename":"file4"},{"photo_id":"1402027481","filename":"file1"},{"photo_id":"1402027470","filename":"file0"},{"photo_id":"1402027483","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027483":["hashtag1","hashtag2"]},{"1402027482":["hashtag1","hashtag2"]},{"1402027485":["hashtag1","hashtag2"]},{"1402027470":["hashtag1","hashtag2"]},{"1402027481":["hashtag1","hashtag2"]},{"1402027484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027483, 1402027482, 1402027485, 1402027470, 1402027481, 1402027484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14386487007141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:39:22.432200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_25_9941.jpg', '/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_35_9603.jpg', '/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_44_9678.jpg', '/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_55_10819.jpg', '/home/pi/Desktop/images/01012026/13/27/image_01012026_13_28_05_9692.jpg', '/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_15_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_25_9941.jpg
/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_35_9603.jpg
/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_44_9678.jpg
/home/pi/Desktop/images/01012026/13/27/image_01012026_13_27_55_10819.jpg
/home/pi/Desktop/images/01012026/13/27/image_01012026_13_28_05_9692.jpg
/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_15_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027498","1402027486","1402027489","1402027491","1402027493","1402027496"],"photo_ids_order":["1402027486","1402027489","1402027491","1402027493","1402027496","1402027498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5efe72b969b25a6783059f75b11ab41f.jpg","text":"TemporaryFile(/tmp/multipartBody1750780835598270391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278423083,"filename":"image_01012026_13_28_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6fa34d48c42240550466940225ae161.jpg","text":"TemporaryFile(/tmp/multipartBody1692173241532199142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278423083,"filename":"image_01012026_13_27_25_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24d9e2b2f4485157f66adae5c476316a.jpg","text":"TemporaryFile(/tmp/multipartBody7813750344900053031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278423083,"filename":"image_01012026_13_27_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3556252a92de0df1a2db916c117a10f0.jpg","text":"TemporaryFile(/tmp/multipartBody8612219298254248675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278423083,"filename":"image_01012026_13_27_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca2ac533a635d862276b19354dadaa24.jpg","text":"TemporaryFile(/tmp/multipartBody6790505640825802546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278423083,"filename":"image_01012026_13_27_55_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63eec6f520eb45ab22f1f813caeb8134.jpg","text":"TemporaryFile(/tmp/multipartBody6420654075656703871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278423083,"filename":"image_01012026_13_28_05_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027491","file1":"1402027489","file0":"1402027486","file4":"1402027496","file5":"1402027498","file3":"1402027493"},"map_files_photo_id_array":[{"photo_id":"1402027498","filename":"file5"},{"photo_id":"1402027491","filename":"file2"},{"photo_id":"1402027496","filename":"file4"},{"photo_id":"1402027489","filename":"file1"},{"photo_id":"1402027486","filename":"file0"},{"photo_id":"1402027493","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027498":["hashtag1","hashtag2"]},{"1402027486":["hashtag1","hashtag2"]},{"1402027489":["hashtag1","hashtag2"]},{"1402027491":["hashtag1","hashtag2"]},{"1402027493":["hashtag1","hashtag2"]},{"1402027496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027498, 1402027486, 1402027489, 1402027491, 1402027493, 1402027496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.74479055404663 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
2026-01-01 15:40:13.795774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_49_2589.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_51_2714.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_55_3630.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_58_2717.jpg', '/home/pi/Desktop/images/04112025/17/36/image_04112025_17_37_00_2559.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_03_2831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_49_2589.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_51_2714.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_55_3630.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_36_58_2717.jpg
/home/pi/Desktop/images/04112025/17/36/image_04112025_17_37_00_2559.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_03_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":["1402027508","1402027502","1402027504","1402027500","1402027506","1402027499"],"photo_ids_order":["1402027499","1402027500","1402027502","1402027504","1402027506","1402027508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26a9a1571f6b840a9a4081f029c71104.jpg","text":"TemporaryFile(/tmp/multipartBody495826509362034012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278475625,"filename":"image_04112025_17_37_03_2831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79cdc58edf0f8ebf4b4a08098907afe9.jpg","text":"TemporaryFile(/tmp/multipartBody3119736605469349800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278475625,"filename":"image_04112025_17_36_55_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c633788b86bd94672b67f680f08b8373.jpg","text":"TemporaryFile(/tmp/multipartBody5234262458284708651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278475625,"filename":"image_04112025_17_36_58_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57921b67909a3fafe7afd7f740676680.jpg","text":"TemporaryFile(/tmp/multipartBody4731369275821154008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278475625,"filename":"image_04112025_17_36_51_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5d623a6380667e91ea361b14086058c.jpg","text":"TemporaryFile(/tmp/multipartBody6264175072843529217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278475625,"filename":"image_04112025_17_37_00_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4c40bda1535355e8ff282c800334d3a.jpg","text":"TemporaryFile(/tmp/multipartBody7570648635962143104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278475625,"filename":"image_04112025_17_36_49_2589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027502","file1":"1402027500","file0":"1402027499","file4":"1402027506","file5":"1402027508","file3":"1402027504"},"map_files_photo_id_array":[{"photo_id":"1402027508","filename":"file5"},{"photo_id":"1402027502","filename":"file2"},{"photo_id":"1402027506","filename":"file4"},{"photo_id":"1402027500","filename":"file1"},{"photo_id":"1402027499","filename":"file0"},{"photo_id":"1402027504","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027508":["hashtag1","hashtag2"]},{"1402027502":["hashtag1","hashtag2"]},{"1402027504":["hashtag1","hashtag2"]},{"1402027500":["hashtag1","hashtag2"]},{"1402027506":["hashtag1","hashtag2"]},{"1402027499":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027508, 1402027502, 1402027504, 1402027500, 1402027506, 1402027499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11309361457825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:41:03.837715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_25_10635.jpg', '/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_35_9593.jpg', '/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_44_9659.jpg', '/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_55_10721.jpg', '/home/pi/Desktop/images/01012026/13/28/image_01012026_13_29_05_9706.jpg', '/home/pi/Desktop/images/01012026/13/29/image_01012026_13_29_24_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_25_10635.jpg
/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_35_9593.jpg
/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_44_9659.jpg
/home/pi/Desktop/images/01012026/13/28/image_01012026_13_28_55_10721.jpg
/home/pi/Desktop/images/01012026/13/28/image_01012026_13_29_05_9706.jpg
/home/pi/Desktop/images/01012026/13/29/image_01012026_13_29_24_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027511","1402027514","1402027517","1402027513","1402027515","1402027512"],"photo_ids_order":["1402027511","1402027512","1402027513","1402027514","1402027515","1402027517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71cf8a29dcc10502967252ac82f40806.jpg","text":"TemporaryFile(/tmp/multipartBody44237841852410016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278524528,"filename":"image_01012026_13_28_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c6f6f50e3328ac8a08c24315ef8eb49.jpg","text":"TemporaryFile(/tmp/multipartBody5811892980079329309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278524528,"filename":"image_01012026_13_28_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2b6bd1c2553612d76a54664ff731deb.jpg","text":"TemporaryFile(/tmp/multipartBody7346436133727928862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278524528,"filename":"image_01012026_13_29_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3342531e63f104ccfe3c37c1b987db3d.jpg","text":"TemporaryFile(/tmp/multipartBody6745504602106637450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278524528,"filename":"image_01012026_13_28_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6275450df67efd54762774d8d0d9ef88.jpg","text":"TemporaryFile(/tmp/multipartBody2511050296909607024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278524528,"filename":"image_01012026_13_29_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60365017f03d5ddfa7a3e7371c810cf4.jpg","text":"TemporaryFile(/tmp/multipartBody8297767771908173924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278524528,"filename":"image_01012026_13_28_35_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027513","file1":"1402027512","file0":"1402027511","file4":"1402027515","file5":"1402027517","file3":"1402027514"},"map_files_photo_id_array":[{"photo_id":"1402027517","filename":"file5"},{"photo_id":"1402027513","filename":"file2"},{"photo_id":"1402027515","filename":"file4"},{"photo_id":"1402027512","filename":"file1"},{"photo_id":"1402027511","filename":"file0"},{"photo_id":"1402027514","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027511":["hashtag1","hashtag2"]},{"1402027514":["hashtag1","hashtag2"]},{"1402027517":["hashtag1","hashtag2"]},{"1402027513":["hashtag1","hashtag2"]},{"1402027515":["hashtag1","hashtag2"]},{"1402027512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027511, 1402027514, 1402027517, 1402027513, 1402027515, 1402027512)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.230202436447144 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:42:02.414797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/29/image_01012026_13_29_35_10690.jpg', '/home/pi/Desktop/images/01012026/13/29/image_01012026_13_29_45_9860.jpg', '/home/pi/Desktop/images/01012026/13/29/image_01012026_13_29_55_9772.jpg', '/home/pi/Desktop/images/01012026/13/30/image_01012026_13_30_25_10723.jpg', '/home/pi/Desktop/images/01012026/13/30/image_01012026_13_30_34_9332.jpg', '/home/pi/Desktop/images/01012026/13/30/image_01012026_13_30_55_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/29/image_01012026_13_29_35_10690.jpg
/home/pi/Desktop/images/01012026/13/29/image_01012026_13_29_45_9860.jpg
/home/pi/Desktop/images/01012026/13/29/image_01012026_13_29_55_9772.jpg
/home/pi/Desktop/images/01012026/13/30/image_01012026_13_30_25_10723.jpg
/home/pi/Desktop/images/01012026/13/30/image_01012026_13_30_34_9332.jpg
/home/pi/Desktop/images/01012026/13/30/image_01012026_13_30_55_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":["1402027535","1402027540","1402027537","1402027539","1402027542","1402027536"],"photo_ids_order":["1402027535","1402027536","1402027537","1402027539","1402027540","1402027542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/445a4ec47c1c4bd4ebd2ca608a9cd546.jpg","text":"TemporaryFile(/tmp/multipartBody6954219692301685850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278583223,"filename":"image_01012026_13_29_35_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23e042f1297c8b81074dfb7b9ed1a7fc.jpg","text":"TemporaryFile(/tmp/multipartBody4185266877911900313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278583223,"filename":"image_01012026_13_30_34_9332.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edf7b02fa50fe12314b0e7b1dd41a0ce.jpg","text":"TemporaryFile(/tmp/multipartBody2677426830479369064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278583223,"filename":"image_01012026_13_29_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43ed84b4dac6fbec0b1ec849b7649113.jpg","text":"TemporaryFile(/tmp/multipartBody610025469291326432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278583223,"filename":"image_01012026_13_30_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62d35c661f1f556cf3f2507ae9077c9e.jpg","text":"TemporaryFile(/tmp/multipartBody4067838179604286585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278583223,"filename":"image_01012026_13_30_55_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67ce2a3ce73776f69867b15d48147a0e.jpg","text":"TemporaryFile(/tmp/multipartBody866960572788478788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278583223,"filename":"image_01012026_13_29_45_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027537","file1":"1402027536","file0":"1402027535","file4":"1402027540","file5":"1402027542","file3":"1402027539"},"map_files_photo_id_array":[{"photo_id":"1402027542","filename":"file5"},{"photo_id":"1402027537","filename":"file2"},{"photo_id":"1402027540","filename":"file4"},{"photo_id":"1402027536","filename":"file1"},{"photo_id":"1402027535","filename":"file0"},{"photo_id":"1402027539","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027535":["hashtag1","hashtag2"]},{"1402027540":["hashtag1","hashtag2"]},{"1402027537":["hashtag1","hashtag2"]},{"1402027539":["hashtag1","hashtag2"]},{"1402027542":["hashtag1","hashtag2"]},{"1402027536":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027535, 1402027540, 1402027537, 1402027539, 1402027542, 1402027536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39678072929382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:42:41.850140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_07_3573.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_09_2563.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_13_3687.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_16_2859.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_19_2623.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_21_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_07_3573.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_09_2563.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_13_3687.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_16_2859.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_19_2623.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_21_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027553","1402027552","1402027549","1402027551","1402027548","1402027550"],"photo_ids_order":["1402027548","1402027549","1402027550","1402027551","1402027552","1402027553"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7b0b51b9691c02c10eee4daf67f4c40.jpg","text":"TemporaryFile(/tmp/multipartBody6987674631968403615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278623528,"filename":"image_04112025_17_37_21_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7364ba77bb356956368edfb2d2a1a23.jpg","text":"TemporaryFile(/tmp/multipartBody4487205600513550216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278623528,"filename":"image_04112025_17_37_19_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/532f0927d288a0f793e0add26c150786.jpg","text":"TemporaryFile(/tmp/multipartBody7579530555773681350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278623528,"filename":"image_04112025_17_37_09_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/232bfd46b72e77c6bb1051a0b6672007.jpg","text":"TemporaryFile(/tmp/multipartBody1402035471494798662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278623528,"filename":"image_04112025_17_37_16_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dc440b0d5ce7c4d3793b6f18efd2027.jpg","text":"TemporaryFile(/tmp/multipartBody2562840760033997762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278623528,"filename":"image_04112025_17_37_07_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d68c8e79fc58a7b39ea1094b3639bb5.jpg","text":"TemporaryFile(/tmp/multipartBody560748491172457234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278623528,"filename":"image_04112025_17_37_13_3687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027550","file1":"1402027549","file0":"1402027548","file4":"1402027552","file5":"1402027553","file3":"1402027551"},"map_files_photo_id_array":[{"photo_id":"1402027553","filename":"file5"},{"photo_id":"1402027550","filename":"file2"},{"photo_id":"1402027552","filename":"file4"},{"photo_id":"1402027549","filename":"file1"},{"photo_id":"1402027548","filename":"file0"},{"photo_id":"1402027551","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027553":["hashtag1","hashtag2"]},{"1402027552":["hashtag1","hashtag2"]},{"1402027549":["hashtag1","hashtag2"]},{"1402027551":["hashtag1","hashtag2"]},{"1402027548":["hashtag1","hashtag2"]},{"1402027550":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027553, 1402027552, 1402027549, 1402027551, 1402027548, 1402027550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1681854724884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:43:22.059319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/30/image_01012026_13_31_04_9843.jpg', '/home/pi/Desktop/images/01012026/13/31/image_01012026_13_31_14_9671.jpg', '/home/pi/Desktop/images/01012026/13/31/image_01012026_13_31_25_10762.jpg', '/home/pi/Desktop/images/01012026/13/31/image_01012026_13_31_35_9881.jpg', '/home/pi/Desktop/images/01012026/13/31/image_01012026_13_31_45_9764.jpg', '/home/pi/Desktop/images/01012026/13/32/image_01012026_13_32_15_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/30/image_01012026_13_31_04_9843.jpg
/home/pi/Desktop/images/01012026/13/31/image_01012026_13_31_14_9671.jpg
/home/pi/Desktop/images/01012026/13/31/image_01012026_13_31_25_10762.jpg
/home/pi/Desktop/images/01012026/13/31/image_01012026_13_31_35_9881.jpg
/home/pi/Desktop/images/01012026/13/31/image_01012026_13_31_45_9764.jpg
/home/pi/Desktop/images/01012026/13/32/image_01012026_13_32_15_9665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027555","1402027558","1402027560","1402027562","1402027556","1402027565"],"photo_ids_order":["1402027555","1402027556","1402027558","1402027560","1402027562","1402027565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2197855abf8a3e23eb52b92449f5e227.jpg","text":"TemporaryFile(/tmp/multipartBody8138173703456124286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278662736,"filename":"image_01012026_13_31_04_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f3a37c7392514a86fa63c87ce64e2c3.jpg","text":"TemporaryFile(/tmp/multipartBody539131066186383074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278662736,"filename":"image_01012026_13_31_25_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b254124a10442767c9ef153e224ee376.jpg","text":"TemporaryFile(/tmp/multipartBody2967196214249630156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278662736,"filename":"image_01012026_13_31_35_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee493572aaf7decd95f4b7eddc285784.jpg","text":"TemporaryFile(/tmp/multipartBody9019439351089555673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278662736,"filename":"image_01012026_13_31_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a75e62ab4310e7652b9519d2983143a0.jpg","text":"TemporaryFile(/tmp/multipartBody839637472697404347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278662736,"filename":"image_01012026_13_31_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/902a9562ce14afc8e95c9dbb846bade1.jpg","text":"TemporaryFile(/tmp/multipartBody9222235670726349054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278662736,"filename":"image_01012026_13_32_15_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027558","file1":"1402027556","file0":"1402027555","file4":"1402027562","file5":"1402027565","file3":"1402027560"},"map_files_photo_id_array":[{"photo_id":"1402027565","filename":"file5"},{"photo_id":"1402027558","filename":"file2"},{"photo_id":"1402027562","filename":"file4"},{"photo_id":"1402027556","filename":"file1"},{"photo_id":"1402027555","filename":"file0"},{"photo_id":"1402027560","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027555":["hashtag1","hashtag2"]},{"1402027558":["hashtag1","hashtag2"]},{"1402027560":["hashtag1","hashtag2"]},{"1402027562":["hashtag1","hashtag2"]},{"1402027556":["hashtag1","hashtag2"]},{"1402027565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027555, 1402027558, 1402027560, 1402027562, 1402027556, 1402027565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46730852127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:44:02.953829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/32/image_01012026_13_32_35_10698.jpg', '/home/pi/Desktop/images/01012026/13/32/image_01012026_13_32_54_9724.jpg', '/home/pi/Desktop/images/01012026/13/32/image_01012026_13_33_04_9795.jpg', '/home/pi/Desktop/images/01012026/13/33/image_01012026_13_33_14_10038.jpg', '/home/pi/Desktop/images/01012026/13/33/image_01012026_13_33_34_9606.jpg', '/home/pi/Desktop/images/01012026/13/33/image_01012026_13_33_44_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/32/image_01012026_13_32_35_10698.jpg
/home/pi/Desktop/images/01012026/13/32/image_01012026_13_32_54_9724.jpg
/home/pi/Desktop/images/01012026/13/32/image_01012026_13_33_04_9795.jpg
/home/pi/Desktop/images/01012026/13/33/image_01012026_13_33_14_10038.jpg
/home/pi/Desktop/images/01012026/13/33/image_01012026_13_33_34_9606.jpg
/home/pi/Desktop/images/01012026/13/33/image_01012026_13_33_44_9693.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":["1402027572","1402027569","1402027574","1402027568","1402027577","1402027571"],"photo_ids_order":["1402027568","1402027569","1402027571","1402027572","1402027574","1402027577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57cb261dc1e8b4eeff4a602a519b1ee0.jpg","text":"TemporaryFile(/tmp/multipartBody5043459002789961301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278707448,"filename":"image_01012026_13_33_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9ab2f94693c4a372b43c931da46b8dc.jpg","text":"TemporaryFile(/tmp/multipartBody2797338469483722558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278707448,"filename":"image_01012026_13_32_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46fe7de2cdc6a984bb97cfa88e1dd57a.jpg","text":"TemporaryFile(/tmp/multipartBody3046293541859605897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278707448,"filename":"image_01012026_13_33_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b081f73de38b105a6fcf8c4ba4724e5.jpg","text":"TemporaryFile(/tmp/multipartBody3853602910239472688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278707448,"filename":"image_01012026_13_32_35_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bed8224bf39c8d4c4d16e2b71505abc.jpg","text":"TemporaryFile(/tmp/multipartBody4785034957374985717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278707448,"filename":"image_01012026_13_33_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee5064d3b8063fc4ca05fb86ecde4cda.jpg","text":"TemporaryFile(/tmp/multipartBody8891776713971405566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278707448,"filename":"image_01012026_13_33_04_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027571","file1":"1402027569","file0":"1402027568","file4":"1402027574","file5":"1402027577","file3":"1402027572"},"map_files_photo_id_array":[{"photo_id":"1402027577","filename":"file5"},{"photo_id":"1402027571","filename":"file2"},{"photo_id":"1402027574","filename":"file4"},{"photo_id":"1402027569","filename":"file1"},{"photo_id":"1402027568","filename":"file0"},{"photo_id":"1402027572","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027572":["hashtag1","hashtag2"]},{"1402027569":["hashtag1","hashtag2"]},{"1402027574":["hashtag1","hashtag2"]},{"1402027568":["hashtag1","hashtag2"]},{"1402027577":["hashtag1","hashtag2"]},{"1402027571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027572, 1402027569, 1402027574, 1402027568, 1402027577, 1402027571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.001455545425415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:45:03.239466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/34/image_01012026_13_34_14_9712.jpg', '/home/pi/Desktop/images/01012026/13/34/image_01012026_13_34_24_9775.jpg', '/home/pi/Desktop/images/01012026/13/34/image_01012026_13_34_35_10744.jpg', '/home/pi/Desktop/images/01012026/13/35/image_01012026_13_35_15_10710.jpg', '/home/pi/Desktop/images/01012026/13/35/image_01012026_13_35_25_9885.jpg', '/home/pi/Desktop/images/01012026/13/35/image_01012026_13_35_55_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/34/image_01012026_13_34_14_9712.jpg
/home/pi/Desktop/images/01012026/13/34/image_01012026_13_34_24_9775.jpg
/home/pi/Desktop/images/01012026/13/34/image_01012026_13_34_35_10744.jpg
/home/pi/Desktop/images/01012026/13/35/image_01012026_13_35_15_10710.jpg
/home/pi/Desktop/images/01012026/13/35/image_01012026_13_35_25_9885.jpg
/home/pi/Desktop/images/01012026/13/35/image_01012026_13_35_55_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027597","1402027594","1402027596","1402027599","1402027592","1402027595"],"photo_ids_order":["1402027592","1402027594","1402027595","1402027596","1402027597","1402027599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2bf2341be6a7f9d830add218fdf523b2.jpg","text":"TemporaryFile(/tmp/multipartBody3738281984492410703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278763994,"filename":"image_01012026_13_35_25_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b28d409f338fececfc68a9b04fd822f.jpg","text":"TemporaryFile(/tmp/multipartBody2460442846091053408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278763994,"filename":"image_01012026_13_34_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d55d4ab1aafb219a7076131d5c1579f.jpg","text":"TemporaryFile(/tmp/multipartBody5754106239131548128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278763994,"filename":"image_01012026_13_35_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6d0fdebae12c974d7fff1e551ba77e9.jpg","text":"TemporaryFile(/tmp/multipartBody7723829859623937525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278763994,"filename":"image_01012026_13_35_55_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3156dd1d4b53c85ce36a043b1aa47c08.jpg","text":"TemporaryFile(/tmp/multipartBody352487515268912545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278763994,"filename":"image_01012026_13_34_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6465e8bdf5a82c387f5dee8d1d419c6.jpg","text":"TemporaryFile(/tmp/multipartBody1953494354147653296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278763994,"filename":"image_01012026_13_34_35_10744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027595","file1":"1402027594","file0":"1402027592","file4":"1402027597","file5":"1402027599","file3":"1402027596"},"map_files_photo_id_array":[{"photo_id":"1402027599","filename":"file5"},{"photo_id":"1402027595","filename":"file2"},{"photo_id":"1402027597","filename":"file4"},{"photo_id":"1402027594","filename":"file1"},{"photo_id":"1402027592","filename":"file0"},{"photo_id":"1402027596","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027597":["hashtag1","hashtag2"]},{"1402027594":["hashtag1","hashtag2"]},{"1402027596":["hashtag1","hashtag2"]},{"1402027599":["hashtag1","hashtag2"]},{"1402027592":["hashtag1","hashtag2"]},{"1402027595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027597, 1402027594, 1402027596, 1402027599, 1402027592, 1402027595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51944136619568 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:45:42.532135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_25_3675.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_28_2611.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_31_3587.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_34_2522.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_36_2704.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_40_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_25_3675.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_28_2611.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_31_3587.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_34_2522.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_36_2704.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_40_3714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027610","1402027612","1402027609","1402027611","1402027608","1402027605"],"photo_ids_order":["1402027605","1402027608","1402027609","1402027610","1402027611","1402027612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a77fa9ba1d610b4cb6d6b6d99ed1c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8594347446286301841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278804309,"filename":"image_04112025_17_37_34_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bddcc59451acad5d81d23f52e5e10740.jpg","text":"TemporaryFile(/tmp/multipartBody392775270252953131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278804309,"filename":"image_04112025_17_37_40_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99a765af1250a3152ab876bf73dd59b5.jpg","text":"TemporaryFile(/tmp/multipartBody1759255759128857562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278804309,"filename":"image_04112025_17_37_31_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35f85ef971e31721e6a7ff4df059a73f.jpg","text":"TemporaryFile(/tmp/multipartBody7005796441117369049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278804309,"filename":"image_04112025_17_37_36_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/759c5dbd246d5950c1317d4e31079265.jpg","text":"TemporaryFile(/tmp/multipartBody600139664324412187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278804309,"filename":"image_04112025_17_37_28_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/577994ef393cbec7132b8963074f77b0.jpg","text":"TemporaryFile(/tmp/multipartBody6292971890397596207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278804309,"filename":"image_04112025_17_37_25_3675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027609","file1":"1402027608","file0":"1402027605","file4":"1402027611","file5":"1402027612","file3":"1402027610"},"map_files_photo_id_array":[{"photo_id":"1402027612","filename":"file5"},{"photo_id":"1402027609","filename":"file2"},{"photo_id":"1402027611","filename":"file4"},{"photo_id":"1402027608","filename":"file1"},{"photo_id":"1402027605","filename":"file0"},{"photo_id":"1402027610","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027610":["hashtag1","hashtag2"]},{"1402027612":["hashtag1","hashtag2"]},{"1402027609":["hashtag1","hashtag2"]},{"1402027611":["hashtag1","hashtag2"]},{"1402027608":["hashtag1","hashtag2"]},{"1402027605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027610, 1402027612, 1402027609, 1402027611, 1402027608, 1402027605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.74722504615784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:46:22.574360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/35/image_01012026_13_36_04_9673.jpg', '/home/pi/Desktop/images/01012026/13/36/image_01012026_13_36_14_9767.jpg', '/home/pi/Desktop/images/01012026/13/36/image_01012026_13_36_55_10644.jpg', '/home/pi/Desktop/images/01012026/13/36/image_01012026_13_37_05_9684.jpg', '/home/pi/Desktop/images/01012026/13/37/image_01012026_13_37_14_9573.jpg', '/home/pi/Desktop/images/01012026/13/37/image_01012026_13_37_45_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/35/image_01012026_13_36_04_9673.jpg
/home/pi/Desktop/images/01012026/13/36/image_01012026_13_36_14_9767.jpg
/home/pi/Desktop/images/01012026/13/36/image_01012026_13_36_55_10644.jpg
/home/pi/Desktop/images/01012026/13/36/image_01012026_13_37_05_9684.jpg
/home/pi/Desktop/images/01012026/13/37/image_01012026_13_37_14_9573.jpg
/home/pi/Desktop/images/01012026/13/37/image_01012026_13_37_45_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":["1402027625","1402027616","1402027618","1402027620","1402027614","1402027622"],"photo_ids_order":["1402027614","1402027616","1402027618","1402027620","1402027622","1402027625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db92515e0986b0a5308672cb8d23023d.jpg","text":"TemporaryFile(/tmp/multipartBody9201700996874069527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278843248,"filename":"image_01012026_13_37_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb526a611bc7cf639bfe277f4c5cc802.jpg","text":"TemporaryFile(/tmp/multipartBody339812961486229444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278843248,"filename":"image_01012026_13_36_14_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9caf5631cd0131a8d21176b6b0be949d.jpg","text":"TemporaryFile(/tmp/multipartBody8476159912049669240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278843248,"filename":"image_01012026_13_36_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7cd59b74f89d7eb6bf0e4369455a11f0.jpg","text":"TemporaryFile(/tmp/multipartBody4071366475782489868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278843248,"filename":"image_01012026_13_37_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ab9d7434bcabd79c184a33903bf9882.jpg","text":"TemporaryFile(/tmp/multipartBody6363645582835460951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278843248,"filename":"image_01012026_13_36_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/010b83e111440eb03efa1b8c56bcb4c6.jpg","text":"TemporaryFile(/tmp/multipartBody1865331561808670822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278843248,"filename":"image_01012026_13_37_14_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027618","file1":"1402027616","file0":"1402027614","file4":"1402027622","file5":"1402027625","file3":"1402027620"},"map_files_photo_id_array":[{"photo_id":"1402027625","filename":"file5"},{"photo_id":"1402027618","filename":"file2"},{"photo_id":"1402027622","filename":"file4"},{"photo_id":"1402027616","filename":"file1"},{"photo_id":"1402027614","filename":"file0"},{"photo_id":"1402027620","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027625":["hashtag1","hashtag2"]},{"1402027616":["hashtag1","hashtag2"]},{"1402027618":["hashtag1","hashtag2"]},{"1402027620":["hashtag1","hashtag2"]},{"1402027614":["hashtag1","hashtag2"]},{"1402027622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027625, 1402027616, 1402027618, 1402027620, 1402027614, 1402027622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.762935638427734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:47:02.555671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/37/image_01012026_13_37_54_9729.jpg', '/home/pi/Desktop/images/01012026/13/37/image_01012026_13_38_05_10795.jpg', '/home/pi/Desktop/images/01012026/13/38/image_01012026_13_38_15_9734.jpg', '/home/pi/Desktop/images/01012026/13/38/image_01012026_13_38_24_9613.jpg', '/home/pi/Desktop/images/01012026/13/38/image_01012026_13_38_34_9905.jpg', '/home/pi/Desktop/images/01012026/13/38/image_01012026_13_38_55_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/37/image_01012026_13_37_54_9729.jpg
/home/pi/Desktop/images/01012026/13/37/image_01012026_13_38_05_10795.jpg
/home/pi/Desktop/images/01012026/13/38/image_01012026_13_38_15_9734.jpg
/home/pi/Desktop/images/01012026/13/38/image_01012026_13_38_24_9613.jpg
/home/pi/Desktop/images/01012026/13/38/image_01012026_13_38_34_9905.jpg
/home/pi/Desktop/images/01012026/13/38/image_01012026_13_38_55_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027631","1402027628","1402027633","1402027627","1402027626","1402027629"],"photo_ids_order":["1402027626","1402027627","1402027628","1402027629","1402027631","1402027633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c60877820a6b9d4c7ade548739b428d1.jpg","text":"TemporaryFile(/tmp/multipartBody5348026078049338189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278885613,"filename":"image_01012026_13_38_34_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d80c5067de9087356efa368f9d946005.jpg","text":"TemporaryFile(/tmp/multipartBody3482074945101770587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278885613,"filename":"image_01012026_13_38_15_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d8197d0bac51f256478eabdbc9124bd.jpg","text":"TemporaryFile(/tmp/multipartBody167968801913839819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278885613,"filename":"image_01012026_13_38_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64257e30320ff8b37fc5ba9dffaf5a85.jpg","text":"TemporaryFile(/tmp/multipartBody7808880357532692580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278885613,"filename":"image_01012026_13_38_05_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b615caea13201bdaebe358b834c12573.jpg","text":"TemporaryFile(/tmp/multipartBody6203322606450099824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278885613,"filename":"image_01012026_13_37_54_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca91d165f31d5d8081172a21a210a1b9.jpg","text":"TemporaryFile(/tmp/multipartBody1372183726074981288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278885613,"filename":"image_01012026_13_38_24_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027628","file1":"1402027627","file0":"1402027626","file4":"1402027631","file5":"1402027633","file3":"1402027629"},"map_files_photo_id_array":[{"photo_id":"1402027633","filename":"file5"},{"photo_id":"1402027628","filename":"file2"},{"photo_id":"1402027631","filename":"file4"},{"photo_id":"1402027627","filename":"file1"},{"photo_id":"1402027626","filename":"file0"},{"photo_id":"1402027629","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027631":["hashtag1","hashtag2"]},{"1402027628":["hashtag1","hashtag2"]},{"1402027633":["hashtag1","hashtag2"]},{"1402027627":["hashtag1","hashtag2"]},{"1402027626":["hashtag1","hashtag2"]},{"1402027629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027631, 1402027628, 1402027633, 1402027627, 1402027626, 1402027629)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.82039475440979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:48:10.988773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/39/image_01012026_13_39_14_9704.jpg', '/home/pi/Desktop/images/01012026/13/39/image_01012026_13_39_25_10688.jpg', '/home/pi/Desktop/images/01012026/13/39/image_01012026_13_39_35_9767.jpg', '/home/pi/Desktop/images/01012026/13/39/image_01012026_13_39_44_9587.jpg', '/home/pi/Desktop/images/01012026/13/39/image_01012026_13_40_05_9655.jpg', '/home/pi/Desktop/images/01012026/13/40/image_01012026_13_40_14_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/39/image_01012026_13_39_14_9704.jpg
/home/pi/Desktop/images/01012026/13/39/image_01012026_13_39_25_10688.jpg
/home/pi/Desktop/images/01012026/13/39/image_01012026_13_39_35_9767.jpg
/home/pi/Desktop/images/01012026/13/39/image_01012026_13_39_44_9587.jpg
/home/pi/Desktop/images/01012026/13/39/image_01012026_13_40_05_9655.jpg
/home/pi/Desktop/images/01012026/13/40/image_01012026_13_40_14_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":["1402027652","1402027660","1402027656","1402027650","1402027653","1402027658"],"photo_ids_order":["1402027650","1402027652","1402027653","1402027656","1402027658","1402027660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d2692ef3f32a36cc5b0aec36aa81127.jpg","text":"TemporaryFile(/tmp/multipartBody7465780620895664078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278954286,"filename":"image_01012026_13_39_25_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0068932e3c50130ad1d4ec640993f88.jpg","text":"TemporaryFile(/tmp/multipartBody5986001644171107101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278954286,"filename":"image_01012026_13_40_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78e51ce58917852112e5c30fa1a3a148.jpg","text":"TemporaryFile(/tmp/multipartBody3148265221010792504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278954286,"filename":"image_01012026_13_39_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d28600923fb956a59a6db5b4ce2584df.jpg","text":"TemporaryFile(/tmp/multipartBody6491996452163362985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278954286,"filename":"image_01012026_13_39_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3b44ba2a2c4730f12108d7c68ef3d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7521526020771024431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278954286,"filename":"image_01012026_13_39_35_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15d67e1f1d32a9c1d500b5a510225cf0.jpg","text":"TemporaryFile(/tmp/multipartBody5179336344315900866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767278954286,"filename":"image_01012026_13_40_05_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027653","file1":"1402027652","file0":"1402027650","file4":"1402027658","file5":"1402027660","file3":"1402027656"},"map_files_photo_id_array":[{"photo_id":"1402027660","filename":"file5"},{"photo_id":"1402027653","filename":"file2"},{"photo_id":"1402027658","filename":"file4"},{"photo_id":"1402027652","filename":"file1"},{"photo_id":"1402027650","filename":"file0"},{"photo_id":"1402027656","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027652":["hashtag1","hashtag2"]},{"1402027660":["hashtag1","hashtag2"]},{"1402027656":["hashtag1","hashtag2"]},{"1402027650":["hashtag1","hashtag2"]},{"1402027653":["hashtag1","hashtag2"]},{"1402027658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027652, 1402027660, 1402027656, 1402027650, 1402027653, 1402027658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.196428537368774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:49:03.172031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/40/image_01012026_13_40_24_9788.jpg', '/home/pi/Desktop/images/01012026/13/40/image_01012026_13_40_44_9284.jpg', '/home/pi/Desktop/images/01012026/13/40/image_01012026_13_40_54_9833.jpg', '/home/pi/Desktop/images/01012026/13/40/image_01012026_13_41_05_10755.jpg', '/home/pi/Desktop/images/01012026/13/41/image_01012026_13_41_14_9628.jpg', '/home/pi/Desktop/images/01012026/13/41/image_01012026_13_41_24_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/40/image_01012026_13_40_24_9788.jpg
/home/pi/Desktop/images/01012026/13/40/image_01012026_13_40_44_9284.jpg
/home/pi/Desktop/images/01012026/13/40/image_01012026_13_40_54_9833.jpg
/home/pi/Desktop/images/01012026/13/40/image_01012026_13_41_05_10755.jpg
/home/pi/Desktop/images/01012026/13/41/image_01012026_13_41_14_9628.jpg
/home/pi/Desktop/images/01012026/13/41/image_01012026_13_41_24_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":["1402027666","1402027669","1402027671","1402027665","1402027667","1402027664"],"photo_ids_order":["1402027664","1402027665","1402027666","1402027667","1402027669","1402027671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/421deff9aa3899ff9e8a89906a697f1e.jpg","text":"TemporaryFile(/tmp/multipartBody8723401801632210111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279006349,"filename":"image_01012026_13_40_54_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83eac1c2d6e9c34241095b89149938c3.jpg","text":"TemporaryFile(/tmp/multipartBody3428482089115372729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279006349,"filename":"image_01012026_13_41_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/501cf0eb724f157e0484762023b371e6.jpg","text":"TemporaryFile(/tmp/multipartBody3949560867721560215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279006349,"filename":"image_01012026_13_41_24_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef1a6cf7dac4dee1938c7ed5a7eb7940.jpg","text":"TemporaryFile(/tmp/multipartBody8393739268598592242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279006349,"filename":"image_01012026_13_40_44_9284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb6783e5af3ca8bf5856850324b175a6.jpg","text":"TemporaryFile(/tmp/multipartBody501968591766249449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279006349,"filename":"image_01012026_13_41_05_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc7c4ac3ee5c8b4e8cd86c50027b943a.jpg","text":"TemporaryFile(/tmp/multipartBody8367142023682129370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279006349,"filename":"image_01012026_13_40_24_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027666","file1":"1402027665","file0":"1402027664","file4":"1402027669","file5":"1402027671","file3":"1402027667"},"map_files_photo_id_array":[{"photo_id":"1402027671","filename":"file5"},{"photo_id":"1402027666","filename":"file2"},{"photo_id":"1402027669","filename":"file4"},{"photo_id":"1402027665","filename":"file1"},{"photo_id":"1402027664","filename":"file0"},{"photo_id":"1402027667","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027666":["hashtag1","hashtag2"]},{"1402027669":["hashtag1","hashtag2"]},{"1402027671":["hashtag1","hashtag2"]},{"1402027665":["hashtag1","hashtag2"]},{"1402027667":["hashtag1","hashtag2"]},{"1402027664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027666, 1402027669, 1402027671, 1402027665, 1402027667, 1402027664)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.95211982727051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:50:02.240808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 15:50:11.790738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_43_2808.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_46_2688.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_52_3532.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_58_3591.jpg', '/home/pi/Desktop/images/04112025/17/37/image_04112025_17_38_00_2563.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_04_3563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_43_2808.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_46_2688.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_52_3532.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_37_58_3591.jpg
/home/pi/Desktop/images/04112025/17/37/image_04112025_17_38_00_2563.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_04_3563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027687","1402027681","1402027689","1402027680","1402027683","1402027685"],"photo_ids_order":["1402027680","1402027681","1402027683","1402027685","1402027687","1402027689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d2a08ab3e4fd308db1be29e26b787aa.jpg","text":"TemporaryFile(/tmp/multipartBody6802580363209146234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279075448,"filename":"image_04112025_17_38_00_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff3f46b745fdda5657b5387f00a40c85.jpg","text":"TemporaryFile(/tmp/multipartBody8896233595053670291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279075448,"filename":"image_04112025_17_37_46_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a95d71336877e7652bb3aa4e7e3e2887.jpg","text":"TemporaryFile(/tmp/multipartBody315637145851098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279075448,"filename":"image_04112025_17_38_04_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c224271bbf1d12166e396062b5ff2101.jpg","text":"TemporaryFile(/tmp/multipartBody1979137567521870447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279075448,"filename":"image_04112025_17_37_43_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33e88b386f9f31a29af4828cc532037b.jpg","text":"TemporaryFile(/tmp/multipartBody8225636153827783377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279075448,"filename":"image_04112025_17_37_52_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d84eaea103c168ea8afddf659124962.jpg","text":"TemporaryFile(/tmp/multipartBody213620968024018723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279075448,"filename":"image_04112025_17_37_58_3591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027683","file1":"1402027681","file0":"1402027680","file4":"1402027687","file5":"1402027689","file3":"1402027685"},"map_files_photo_id_array":[{"photo_id":"1402027689","filename":"file5"},{"photo_id":"1402027683","filename":"file2"},{"photo_id":"1402027687","filename":"file4"},{"photo_id":"1402027681","filename":"file1"},{"photo_id":"1402027680","filename":"file0"},{"photo_id":"1402027685","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027687":["hashtag1","hashtag2"]},{"1402027681":["hashtag1","hashtag2"]},{"1402027689":["hashtag1","hashtag2"]},{"1402027680":["hashtag1","hashtag2"]},{"1402027683":["hashtag1","hashtag2"]},{"1402027685":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027687, 1402027681, 1402027689, 1402027680, 1402027683, 1402027685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77559518814087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:51:02.820503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/41/image_01012026_13_41_45_10757.jpg', '/home/pi/Desktop/images/01012026/13/41/image_01012026_13_41_55_9727.jpg', '/home/pi/Desktop/images/01012026/13/41/image_01012026_13_42_04_9725.jpg', '/home/pi/Desktop/images/01012026/13/42/image_01012026_13_42_15_10385.jpg', '/home/pi/Desktop/images/01012026/13/42/image_01012026_13_42_34_9945.jpg', '/home/pi/Desktop/images/01012026/13/42/image_01012026_13_42_44_9953.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/41/image_01012026_13_41_45_10757.jpg
/home/pi/Desktop/images/01012026/13/41/image_01012026_13_41_55_9727.jpg
/home/pi/Desktop/images/01012026/13/41/image_01012026_13_42_04_9725.jpg
/home/pi/Desktop/images/01012026/13/42/image_01012026_13_42_15_10385.jpg
/home/pi/Desktop/images/01012026/13/42/image_01012026_13_42_34_9945.jpg
/home/pi/Desktop/images/01012026/13/42/image_01012026_13_42_44_9953.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027703","1402027702","1402027705","1402027707","1402027701","1402027704"],"photo_ids_order":["1402027701","1402027702","1402027703","1402027704","1402027705","1402027707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8e25717d92b246c0a3c8be4fca8c467.jpg","text":"TemporaryFile(/tmp/multipartBody4974417913213018787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279123549,"filename":"image_01012026_13_42_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfcf7c09729bc0611d3209b720d2222f.jpg","text":"TemporaryFile(/tmp/multipartBody4485799455372751296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279123549,"filename":"image_01012026_13_41_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5441d574ececc2fe46d5dbb9fe91329e.jpg","text":"TemporaryFile(/tmp/multipartBody727037571910931424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279123549,"filename":"image_01012026_13_42_34_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b9ae75361b575d375150d09fa53be51.jpg","text":"TemporaryFile(/tmp/multipartBody2709465053200444443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279123549,"filename":"image_01012026_13_42_44_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/319b538327095505e635911a7d4fcafb.jpg","text":"TemporaryFile(/tmp/multipartBody1942959783364346146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279123549,"filename":"image_01012026_13_41_45_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d8948eea099c4c3b32104a5ddad01d2.jpg","text":"TemporaryFile(/tmp/multipartBody1266713407931054738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279123549,"filename":"image_01012026_13_42_15_10385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027703","file1":"1402027702","file0":"1402027701","file4":"1402027705","file5":"1402027707","file3":"1402027704"},"map_files_photo_id_array":[{"photo_id":"1402027707","filename":"file5"},{"photo_id":"1402027703","filename":"file2"},{"photo_id":"1402027705","filename":"file4"},{"photo_id":"1402027702","filename":"file1"},{"photo_id":"1402027701","filename":"file0"},{"photo_id":"1402027704","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027703":["hashtag1","hashtag2"]},{"1402027702":["hashtag1","hashtag2"]},{"1402027705":["hashtag1","hashtag2"]},{"1402027707":["hashtag1","hashtag2"]},{"1402027701":["hashtag1","hashtag2"]},{"1402027704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027703, 1402027702, 1402027705, 1402027707, 1402027701, 1402027704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58670234680176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:51:42.029954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_07_2728.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_09_2529.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_13_3666.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_15_2522.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_19_3573.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_22_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_07_2728.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_09_2529.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_13_3666.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_15_2522.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_19_3573.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_22_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027718","1402027715","1402027717","1402027719","1402027713","1402027716"],"photo_ids_order":["1402027713","1402027715","1402027716","1402027717","1402027718","1402027719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21112998aec989340000338d669f43f9.jpg","text":"TemporaryFile(/tmp/multipartBody1108923373101363996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279163821,"filename":"image_04112025_17_38_19_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa01f11bfa7f42f8775e03c73b39dd92.jpg","text":"TemporaryFile(/tmp/multipartBody3894326243639198349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279163821,"filename":"image_04112025_17_38_09_2529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/155ffc6a4525458a68db25c83d23da90.jpg","text":"TemporaryFile(/tmp/multipartBody2664026928891215299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279163821,"filename":"image_04112025_17_38_15_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/baf5843c2f546f1a5b9b8d7ac622d021.jpg","text":"TemporaryFile(/tmp/multipartBody9197429876808196936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279163821,"filename":"image_04112025_17_38_22_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b95cc444214a73f999f26dc487b6f33e.jpg","text":"TemporaryFile(/tmp/multipartBody3813900426263875037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279163821,"filename":"image_04112025_17_38_07_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87dea5c00e04aa58256a75fc135387ce.jpg","text":"TemporaryFile(/tmp/multipartBody4793991211133682080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279163821,"filename":"image_04112025_17_38_13_3666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027716","file1":"1402027715","file0":"1402027713","file4":"1402027718","file5":"1402027719","file3":"1402027717"},"map_files_photo_id_array":[{"photo_id":"1402027719","filename":"file5"},{"photo_id":"1402027716","filename":"file2"},{"photo_id":"1402027718","filename":"file4"},{"photo_id":"1402027715","filename":"file1"},{"photo_id":"1402027713","filename":"file0"},{"photo_id":"1402027717","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027718":["hashtag1","hashtag2"]},{"1402027715":["hashtag1","hashtag2"]},{"1402027717":["hashtag1","hashtag2"]},{"1402027719":["hashtag1","hashtag2"]},{"1402027713":["hashtag1","hashtag2"]},{"1402027716":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027718, 1402027715, 1402027717, 1402027719, 1402027713, 1402027716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1087327003479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:52:22.211252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/42/image_01012026_13_42_54_10239.jpg', '/home/pi/Desktop/images/01012026/13/42/image_01012026_13_43_05_10476.jpg', '/home/pi/Desktop/images/01012026/13/43/image_01012026_13_43_24_9711.jpg', '/home/pi/Desktop/images/01012026/13/43/image_01012026_13_43_34_9763.jpg', '/home/pi/Desktop/images/01012026/13/43/image_01012026_13_43_55_9921.jpg', '/home/pi/Desktop/images/01012026/13/43/image_01012026_13_44_04_9528.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/42/image_01012026_13_42_54_10239.jpg
/home/pi/Desktop/images/01012026/13/42/image_01012026_13_43_05_10476.jpg
/home/pi/Desktop/images/01012026/13/43/image_01012026_13_43_24_9711.jpg
/home/pi/Desktop/images/01012026/13/43/image_01012026_13_43_34_9763.jpg
/home/pi/Desktop/images/01012026/13/43/image_01012026_13_43_55_9921.jpg
/home/pi/Desktop/images/01012026/13/43/image_01012026_13_44_04_9528.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027727","1402027732","1402027729","1402027725","1402027722","1402027721"],"photo_ids_order":["1402027721","1402027722","1402027725","1402027727","1402027729","1402027732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/886a448aa37c7f786125282ecb14d091.jpg","text":"TemporaryFile(/tmp/multipartBody441768352357389702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279202883,"filename":"image_01012026_13_43_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0f15a71a87408c4d9306206bd250022.jpg","text":"TemporaryFile(/tmp/multipartBody5339566805479909502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279202883,"filename":"image_01012026_13_44_04_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7da3b535d8b8b7657c921463a15486c2.jpg","text":"TemporaryFile(/tmp/multipartBody8541395664085265937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279202883,"filename":"image_01012026_13_43_55_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73a66fc70ca87f56103a1bec861466aa.jpg","text":"TemporaryFile(/tmp/multipartBody4178604589621369098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279202883,"filename":"image_01012026_13_43_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ca7234f536c540eb6d7872cd76cd095.jpg","text":"TemporaryFile(/tmp/multipartBody9206933378731790514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279202883,"filename":"image_01012026_13_43_05_10476.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aefae5ae5fa1eb4cebac951c9ae7a827.jpg","text":"TemporaryFile(/tmp/multipartBody4339274695982854201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279202883,"filename":"image_01012026_13_42_54_10239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027725","file1":"1402027722","file0":"1402027721","file4":"1402027729","file5":"1402027732","file3":"1402027727"},"map_files_photo_id_array":[{"photo_id":"1402027732","filename":"file5"},{"photo_id":"1402027725","filename":"file2"},{"photo_id":"1402027729","filename":"file4"},{"photo_id":"1402027722","filename":"file1"},{"photo_id":"1402027721","filename":"file0"},{"photo_id":"1402027727","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027727":["hashtag1","hashtag2"]},{"1402027732":["hashtag1","hashtag2"]},{"1402027729":["hashtag1","hashtag2"]},{"1402027725":["hashtag1","hashtag2"]},{"1402027722":["hashtag1","hashtag2"]},{"1402027721":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027727, 1402027732, 1402027729, 1402027725, 1402027722, 1402027721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31549382209778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:53:03.207528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_14_9827.jpg', '/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_25_10845.jpg', '/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_35_9747.jpg', '/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_45_9963.jpg', '/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_54_9762.jpg', '/home/pi/Desktop/images/01012026/13/44/image_01012026_13_45_04_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_14_9827.jpg
/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_25_10845.jpg
/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_35_9747.jpg
/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_45_9963.jpg
/home/pi/Desktop/images/01012026/13/44/image_01012026_13_44_54_9762.jpg
/home/pi/Desktop/images/01012026/13/44/image_01012026_13_45_04_9812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027739","1402027733","1402027735","1402027737","1402027734","1402027736"],"photo_ids_order":["1402027733","1402027734","1402027735","1402027736","1402027737","1402027739"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e639bbe496354d3ed8f08b1e3ec1a62.jpg","text":"TemporaryFile(/tmp/multipartBody3132763329603317603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279243894,"filename":"image_01012026_13_45_04_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/891dbce78e55758900ab1ecb3c962fb2.jpg","text":"TemporaryFile(/tmp/multipartBody1742896498264282465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279243894,"filename":"image_01012026_13_44_14_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/092601e9148d7f7e9eed3f59dcc516c0.jpg","text":"TemporaryFile(/tmp/multipartBody8954083719784666172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279243894,"filename":"image_01012026_13_44_35_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f67eaf3e3ea91ccf9051517a73003c13.jpg","text":"TemporaryFile(/tmp/multipartBody6981801855467058953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279243894,"filename":"image_01012026_13_44_54_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fc1c546b7499cbeee018c7301b1d835.jpg","text":"TemporaryFile(/tmp/multipartBody5343814934387431703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279243894,"filename":"image_01012026_13_44_25_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a056b44663826d22b3749c40e2ffd252.jpg","text":"TemporaryFile(/tmp/multipartBody7702405290896728086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279243894,"filename":"image_01012026_13_44_45_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027735","file1":"1402027734","file0":"1402027733","file4":"1402027737","file5":"1402027739","file3":"1402027736"},"map_files_photo_id_array":[{"photo_id":"1402027739","filename":"file5"},{"photo_id":"1402027735","filename":"file2"},{"photo_id":"1402027737","filename":"file4"},{"photo_id":"1402027734","filename":"file1"},{"photo_id":"1402027733","filename":"file0"},{"photo_id":"1402027736","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027739":["hashtag1","hashtag2"]},{"1402027733":["hashtag1","hashtag2"]},{"1402027735":["hashtag1","hashtag2"]},{"1402027737":["hashtag1","hashtag2"]},{"1402027734":["hashtag1","hashtag2"]},{"1402027736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027739, 1402027733, 1402027735, 1402027737, 1402027734, 1402027736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.889079332351685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:53:42.525557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_24_2651.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_31_3885.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_34_2617.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_39_2971.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_43_3614.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_46_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_24_2651.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_31_3885.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_34_2617.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_39_2971.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_43_3614.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_46_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":["1402027745","1402027759","1402027761","1402027758","1402027760","1402027757"],"photo_ids_order":["1402027745","1402027757","1402027758","1402027759","1402027760","1402027761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6eba34e17ad0f369c23378baa26bef40.jpg","text":"TemporaryFile(/tmp/multipartBody80860951436222257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279284315,"filename":"image_04112025_17_38_24_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/613b7b4aaee7f59b740bacf9db76272c.jpg","text":"TemporaryFile(/tmp/multipartBody3401200025568055288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279284315,"filename":"image_04112025_17_38_39_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/478b4cf701a04a71833cd38b97826069.jpg","text":"TemporaryFile(/tmp/multipartBody5210353725489435383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279284315,"filename":"image_04112025_17_38_46_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6da94a7a70baa280fa6f1e28a5da9e6c.jpg","text":"TemporaryFile(/tmp/multipartBody6664559609884276569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279284315,"filename":"image_04112025_17_38_34_2617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ab39b601d66a05d449a8d174b131e15.jpg","text":"TemporaryFile(/tmp/multipartBody4313628614586486437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279284315,"filename":"image_04112025_17_38_43_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f80e2c046b84652cf36eb3657b3a67b8.jpg","text":"TemporaryFile(/tmp/multipartBody5964187631582178325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279284315,"filename":"image_04112025_17_38_31_3885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027758","file1":"1402027757","file0":"1402027745","file4":"1402027760","file5":"1402027761","file3":"1402027759"},"map_files_photo_id_array":[{"photo_id":"1402027761","filename":"file5"},{"photo_id":"1402027758","filename":"file2"},{"photo_id":"1402027760","filename":"file4"},{"photo_id":"1402027757","filename":"file1"},{"photo_id":"1402027745","filename":"file0"},{"photo_id":"1402027759","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027745":["hashtag1","hashtag2"]},{"1402027759":["hashtag1","hashtag2"]},{"1402027761":["hashtag1","hashtag2"]},{"1402027758":["hashtag1","hashtag2"]},{"1402027760":["hashtag1","hashtag2"]},{"1402027757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027745, 1402027759, 1402027761, 1402027758, 1402027760, 1402027757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64501714706421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:54:22.682905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/45/image_01012026_13_45_15_10243.jpg', '/home/pi/Desktop/images/01012026/13/45/image_01012026_13_45_24_9804.jpg', '/home/pi/Desktop/images/01012026/13/45/image_01012026_13_45_35_10595.jpg', '/home/pi/Desktop/images/01012026/13/45/image_01012026_13_45_54_9707.jpg', '/home/pi/Desktop/images/01012026/13/46/image_01012026_13_46_14_9648.jpg', '/home/pi/Desktop/images/01012026/13/46/image_01012026_13_46_24_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/45/image_01012026_13_45_15_10243.jpg
/home/pi/Desktop/images/01012026/13/45/image_01012026_13_45_24_9804.jpg
/home/pi/Desktop/images/01012026/13/45/image_01012026_13_45_35_10595.jpg
/home/pi/Desktop/images/01012026/13/45/image_01012026_13_45_54_9707.jpg
/home/pi/Desktop/images/01012026/13/46/image_01012026_13_46_14_9648.jpg
/home/pi/Desktop/images/01012026/13/46/image_01012026_13_46_24_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":["1402027771","1402027765","1402027774","1402027767","1402027769","1402027763"],"photo_ids_order":["1402027763","1402027765","1402027767","1402027769","1402027771","1402027774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1be9b45c194ca43d8be9b3837b878336.jpg","text":"TemporaryFile(/tmp/multipartBody3279344378108453455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279323363,"filename":"image_01012026_13_46_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5ba1d814ee55678c21977390e3b065a.jpg","text":"TemporaryFile(/tmp/multipartBody6735586698555747034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279323363,"filename":"image_01012026_13_45_24_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59f888ce716b34b6d9dbae2458669e3d.jpg","text":"TemporaryFile(/tmp/multipartBody4352789536272095755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279323363,"filename":"image_01012026_13_46_24_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/562bcc9585f41a4ae42a41381e4f216b.jpg","text":"TemporaryFile(/tmp/multipartBody2333653826209330844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279323363,"filename":"image_01012026_13_45_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b8b53e256232430ec57ec60ffe4b682.jpg","text":"TemporaryFile(/tmp/multipartBody5900327487043404602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279323363,"filename":"image_01012026_13_45_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11329e5101bb7ec04cadd5311b7a17f5.jpg","text":"TemporaryFile(/tmp/multipartBody8923549513637995389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279323363,"filename":"image_01012026_13_45_15_10243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027767","file1":"1402027765","file0":"1402027763","file4":"1402027771","file5":"1402027774","file3":"1402027769"},"map_files_photo_id_array":[{"photo_id":"1402027774","filename":"file5"},{"photo_id":"1402027767","filename":"file2"},{"photo_id":"1402027771","filename":"file4"},{"photo_id":"1402027765","filename":"file1"},{"photo_id":"1402027763","filename":"file0"},{"photo_id":"1402027769","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027771":["hashtag1","hashtag2"]},{"1402027765":["hashtag1","hashtag2"]},{"1402027774":["hashtag1","hashtag2"]},{"1402027767":["hashtag1","hashtag2"]},{"1402027769":["hashtag1","hashtag2"]},{"1402027763":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027771, 1402027765, 1402027774, 1402027767, 1402027769, 1402027763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.930341958999634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:55:02.489930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/46/image_01012026_13_46_35_10594.jpg', '/home/pi/Desktop/images/01012026/13/46/image_01012026_13_46_45_9828.jpg', '/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_15_10328.jpg', '/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_24_9677.jpg', '/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_35_10845.jpg', '/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_45_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/46/image_01012026_13_46_35_10594.jpg
/home/pi/Desktop/images/01012026/13/46/image_01012026_13_46_45_9828.jpg
/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_15_10328.jpg
/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_24_9677.jpg
/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_35_10845.jpg
/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_45_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027777","1402027776","1402027779","1402027781","1402027775","1402027778"],"photo_ids_order":["1402027775","1402027776","1402027777","1402027778","1402027779","1402027781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3482c228ca7b64d1b91260f10ffad113.jpg","text":"TemporaryFile(/tmp/multipartBody7140233570886893464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279363217,"filename":"image_01012026_13_47_15_10328.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4299b34a39a0405d9f18566925b40b9.jpg","text":"TemporaryFile(/tmp/multipartBody8479541353183082816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279363217,"filename":"image_01012026_13_46_45_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/730052e25519eb5a2ac9b679227a0ce8.jpg","text":"TemporaryFile(/tmp/multipartBody1318914147385624155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279363217,"filename":"image_01012026_13_47_35_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67b9f9ee8990d00d02c16778f34b64c9.jpg","text":"TemporaryFile(/tmp/multipartBody2651735447402240355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279363217,"filename":"image_01012026_13_47_45_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d0e347862e485b3bb93d04e1a9bcca6.jpg","text":"TemporaryFile(/tmp/multipartBody4232870977879186129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279363217,"filename":"image_01012026_13_46_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f8326b655263d6dd47add447bf18e38.jpg","text":"TemporaryFile(/tmp/multipartBody261805457717420253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279363217,"filename":"image_01012026_13_47_24_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027777","file1":"1402027776","file0":"1402027775","file4":"1402027779","file5":"1402027781","file3":"1402027778"},"map_files_photo_id_array":[{"photo_id":"1402027781","filename":"file5"},{"photo_id":"1402027777","filename":"file2"},{"photo_id":"1402027779","filename":"file4"},{"photo_id":"1402027776","filename":"file1"},{"photo_id":"1402027775","filename":"file0"},{"photo_id":"1402027778","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027777":["hashtag1","hashtag2"]},{"1402027776":["hashtag1","hashtag2"]},{"1402027779":["hashtag1","hashtag2"]},{"1402027781":["hashtag1","hashtag2"]},{"1402027775":["hashtag1","hashtag2"]},{"1402027778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027777, 1402027776, 1402027779, 1402027781, 1402027775, 1402027778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.031351804733276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:55:41.781984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_48_2650.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_52_3851.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_55_2698.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_57_2628.jpg', '/home/pi/Desktop/images/04112025/17/38/image_04112025_17_39_01_3609.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_04_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_48_2650.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_52_3851.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_55_2698.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_38_57_2628.jpg
/home/pi/Desktop/images/04112025/17/38/image_04112025_17_39_01_3609.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_04_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":["1402027789","1402027792","1402027791","1402027790","1402027793","1402027787"],"photo_ids_order":["1402027787","1402027789","1402027790","1402027791","1402027792","1402027793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38c40de3f8a36a3c378eebea86642e99.jpg","text":"TemporaryFile(/tmp/multipartBody8176863020055895561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279403590,"filename":"image_04112025_17_38_52_3851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e13e0d3c5c82ce09963a3dd7f1ee0d5.jpg","text":"TemporaryFile(/tmp/multipartBody4874860771088096607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279403590,"filename":"image_04112025_17_39_01_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a6349deee6efcd94bd1b64da42d3f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6531751578297160054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279403590,"filename":"image_04112025_17_38_57_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a197e4f18876fe3fe348af94c75a0f7a.jpg","text":"TemporaryFile(/tmp/multipartBody3012652023598360219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279403590,"filename":"image_04112025_17_38_55_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ffea16e66f0c157f414954dea2bf359.jpg","text":"TemporaryFile(/tmp/multipartBody392850357227305540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279403590,"filename":"image_04112025_17_39_04_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc0015ebb67b0d89f77bf9febe45a642.jpg","text":"TemporaryFile(/tmp/multipartBody8068385951328582737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279403590,"filename":"image_04112025_17_38_48_2650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027790","file1":"1402027789","file0":"1402027787","file4":"1402027792","file5":"1402027793","file3":"1402027791"},"map_files_photo_id_array":[{"photo_id":"1402027793","filename":"file5"},{"photo_id":"1402027790","filename":"file2"},{"photo_id":"1402027792","filename":"file4"},{"photo_id":"1402027789","filename":"file1"},{"photo_id":"1402027787","filename":"file0"},{"photo_id":"1402027791","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027789":["hashtag1","hashtag2"]},{"1402027792":["hashtag1","hashtag2"]},{"1402027791":["hashtag1","hashtag2"]},{"1402027790":["hashtag1","hashtag2"]},{"1402027793":["hashtag1","hashtag2"]},{"1402027787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027789, 1402027792, 1402027791, 1402027790, 1402027793, 1402027787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69156074523926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:56:21.939897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_55_9861.jpg', '/home/pi/Desktop/images/01012026/13/47/image_01012026_13_48_04_9745.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_14_9903.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_25_10680.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_35_9755.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_44_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_55_9861.jpg
/home/pi/Desktop/images/01012026/13/47/image_01012026_13_48_04_9745.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_14_9903.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_25_10680.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_35_9755.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_44_9808.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.5227177143096924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:56:31.874046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_06_2678.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_09_2748.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_13_3802.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_16_2793.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_18_2614.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_21_2775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_06_2678.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_09_2748.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_13_3802.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_16_2793.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_18_2614.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_21_2775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027807","1402027819","1402027821","1402027800","1402027803","1402027820"],"photo_ids_order":["1402027800","1402027803","1402027807","1402027819","1402027820","1402027821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4776055be7c10680e7d4de84668280ab.jpg","text":"TemporaryFile(/tmp/multipartBody2403276659117410191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279453653,"filename":"image_04112025_17_39_13_3802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d43989a0afe3cf72ff9f0f0805dcaf67.jpg","text":"TemporaryFile(/tmp/multipartBody7886115651375564787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279453653,"filename":"image_04112025_17_39_16_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc714c5ac11a0e290bc849d7cb649bc4.jpg","text":"TemporaryFile(/tmp/multipartBody6418905579410278647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279453653,"filename":"image_04112025_17_39_21_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c96767eae7de039902fda1e28352d5b.jpg","text":"TemporaryFile(/tmp/multipartBody4083065001582475355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279453653,"filename":"image_04112025_17_39_06_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68ffb9f57fc8f85dba5555408edfcf6d.jpg","text":"TemporaryFile(/tmp/multipartBody2109045413545913453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279453653,"filename":"image_04112025_17_39_09_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3aec1c87135af1ec3414e313c247df0.jpg","text":"TemporaryFile(/tmp/multipartBody2929184478628187653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279453653,"filename":"image_04112025_17_39_18_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027807","file1":"1402027803","file0":"1402027800","file4":"1402027820","file5":"1402027821","file3":"1402027819"},"map_files_photo_id_array":[{"photo_id":"1402027821","filename":"file5"},{"photo_id":"1402027807","filename":"file2"},{"photo_id":"1402027820","filename":"file4"},{"photo_id":"1402027803","filename":"file1"},{"photo_id":"1402027800","filename":"file0"},{"photo_id":"1402027819","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402027807":["hashtag1","hashtag2"]},{"1402027819":["hashtag1","hashtag2"]},{"1402027821":["hashtag1","hashtag2"]},{"1402027800":["hashtag1","hashtag2"]},{"1402027803":["hashtag1","hashtag2"]},{"1402027820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402027807, 1402027819, 1402027821, 1402027800, 1402027803, 1402027820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.373229026794434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 15:57:22.123485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_55_9861.jpg', '/home/pi/Desktop/images/01012026/13/47/image_01012026_13_48_04_9745.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_14_9903.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_25_10680.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_35_9755.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_44_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/47/image_01012026_13_47_55_9861.jpg
/home/pi/Desktop/images/01012026/13/47/image_01012026_13_48_04_9745.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_14_9903.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_25_10680.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_35_9755.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_44_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402027823","1402027826","1402027828","1402027822","1402027833","1402027829"],"photo_ids_order":["1402027822","1402027823","1402027826","1402027828","1402027829","1402027833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b1e3067287e1b8e6f953bfb1118e30b.jpg","text":"TemporaryFile(/tmp/multipartBody4397031334317830942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279502770,"filename":"image_01012026_13_48_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45813caa291bace42708a762cbde2156.jpg","text":"TemporaryFile(/tmp/multipartBody6124942275781538431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279502770,"filename":"image_01012026_13_48_14_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36effc9caf3c94d52a109260f2bec074.jpg","text":"TemporaryFile(/tmp/multipartBody8266656829636421630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279502770,"filename":"image_01012026_13_48_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9dc2e9e413de6c1cb88236537357bbb.jpg","text":"TemporaryFile(/tmp/multipartBody9087967267745971248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279502770,"filename":"image_01012026_13_47_55_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d8259ad240f8ef28bc078c7605385ac.jpg","text":"TemporaryFile(/tmp/multipartBody7513188219365683560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279502770,"filename":"image_01012026_13_48_44_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adb258d988791afc04db2b03fc83af28.jpg","text":"TemporaryFile(/tmp/multipartBody2904943952944584597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279502770,"filename":"image_01012026_13_48_35_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402027826","file1":"1402027823","file0":"1402027822","file4":"1402027829","file5":"1402027833","file3":"1402027828"},"map_files_photo_id_array":[{"photo_id":"1402027833","filename":"file5"},{"photo_id":"1402027826","filename":"file2"},{"photo_id":"1402027829","filename":"file4"},{"photo_id":"1402027823","filename":"file1"},{"photo_id":"1402027822","filename":"file0"},{"photo_id":"1402027828","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402027823":["hashtag1","hashtag2"]},{"1402027826":["hashtag1","hashtag2"]},{"1402027828":["hashtag1","hashtag2"]},{"1402027822":["hashtag1","hashtag2"]},{"1402027833":["hashtag1","hashtag2"]},{"1402027829":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402027823, 1402027826, 1402027828, 1402027822, 1402027833, 1402027829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60569787025452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 15:59:03.618082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_54_9699.jpg', '/home/pi/Desktop/images/01012026/13/48/image_01012026_13_49_05_10806.jpg', '/home/pi/Desktop/images/01012026/13/49/image_01012026_13_49_15_9819.jpg', '/home/pi/Desktop/images/01012026/13/49/image_01012026_13_49_24_9753.jpg', '/home/pi/Desktop/images/01012026/13/49/image_01012026_13_49_45_10860.jpg', '/home/pi/Desktop/images/01012026/13/49/image_01012026_13_49_55_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_48_54_9699.jpg
/home/pi/Desktop/images/01012026/13/48/image_01012026_13_49_05_10806.jpg
/home/pi/Desktop/images/01012026/13/49/image_01012026_13_49_15_9819.jpg
/home/pi/Desktop/images/01012026/13/49/image_01012026_13_49_24_9753.jpg
/home/pi/Desktop/images/01012026/13/49/image_01012026_13_49_45_10860.jpg
/home/pi/Desktop/images/01012026/13/49/image_01012026_13_49_55_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":["1402028590","1402028515","1402028364","1402028439","1402028198","1402028284"],"photo_ids_order":["1402028198","1402028284","1402028364","1402028439","1402028515","1402028590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f82282475846cc9c27e4971850329dc2.jpg","text":"TemporaryFile(/tmp/multipartBody6004998007720108574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279604369,"filename":"image_01012026_13_49_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bb38a738962adbcab1c09a267245c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5804247366398990680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279604369,"filename":"image_01012026_13_49_45_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa2de2d67acc1309bee33c8a93839d85.jpg","text":"TemporaryFile(/tmp/multipartBody1846076096350817571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279604369,"filename":"image_01012026_13_49_15_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7bfe3ad090d70cb04efbcaa2c935ffe.jpg","text":"TemporaryFile(/tmp/multipartBody2160554536353978875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279604369,"filename":"image_01012026_13_49_24_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/261f60bdfa2155137c6d2d4838819dc8.jpg","text":"TemporaryFile(/tmp/multipartBody63896225663522273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279604369,"filename":"image_01012026_13_48_54_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06b69d87ac88e8d18f8005087d843110.jpg","text":"TemporaryFile(/tmp/multipartBody6628125555424944613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279604369,"filename":"image_01012026_13_49_05_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402028364","file1":"1402028284","file0":"1402028198","file4":"1402028515","file5":"1402028590","file3":"1402028439"},"map_files_photo_id_array":[{"photo_id":"1402028590","filename":"file5"},{"photo_id":"1402028364","filename":"file2"},{"photo_id":"1402028515","filename":"file4"},{"photo_id":"1402028284","filename":"file1"},{"photo_id":"1402028198","filename":"file0"},{"photo_id":"1402028439","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402028590":["hashtag1","hashtag2"]},{"1402028515":["hashtag1","hashtag2"]},{"1402028364":["hashtag1","hashtag2"]},{"1402028439":["hashtag1","hashtag2"]},{"1402028198":["hashtag1","hashtag2"]},{"1402028284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402028590, 1402028515, 1402028364, 1402028439, 1402028198, 1402028284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.583659648895264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 15:59:42.703951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_24_2935.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_28_3741.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_30_2636.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_33_2601.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_37_3659.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_39_2620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_24_2935.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_28_3741.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_30_2636.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_33_2601.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_37_3659.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_39_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":["1402028989","1402028938","1402028898","1402028861","1402028825","1402028773"],"photo_ids_order":["1402028773","1402028825","1402028861","1402028898","1402028938","1402028989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33656a51a12ec6112a86833aafb61b79.jpg","text":"TemporaryFile(/tmp/multipartBody8827006147574854036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279644514,"filename":"image_04112025_17_39_39_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be172c5e14f79b852072a23a86ef50b3.jpg","text":"TemporaryFile(/tmp/multipartBody1253094658737048907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279644514,"filename":"image_04112025_17_39_37_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db0f8507b06d1c7fb9c64def6ae7742d.jpg","text":"TemporaryFile(/tmp/multipartBody3952118018127729928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279644514,"filename":"image_04112025_17_39_33_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1ad1722dcc7dda25a4eb145249baa6d.jpg","text":"TemporaryFile(/tmp/multipartBody431519626815090283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279644514,"filename":"image_04112025_17_39_30_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0eab5761a8491ec0111c40364dc69d18.jpg","text":"TemporaryFile(/tmp/multipartBody6261865811312417693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279644514,"filename":"image_04112025_17_39_28_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6e56ba37bd145ac9ba07f4f152cfc2c.jpg","text":"TemporaryFile(/tmp/multipartBody8025209736806992025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279644514,"filename":"image_04112025_17_39_24_2935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402028861","file1":"1402028825","file0":"1402028773","file4":"1402028938","file5":"1402028989","file3":"1402028898"},"map_files_photo_id_array":[{"photo_id":"1402028989","filename":"file5"},{"photo_id":"1402028861","filename":"file2"},{"photo_id":"1402028938","filename":"file4"},{"photo_id":"1402028825","filename":"file1"},{"photo_id":"1402028773","filename":"file0"},{"photo_id":"1402028898","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402028989":["hashtag1","hashtag2"]},{"1402028938":["hashtag1","hashtag2"]},{"1402028898":["hashtag1","hashtag2"]},{"1402028861":["hashtag1","hashtag2"]},{"1402028825":["hashtag1","hashtag2"]},{"1402028773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402028989, 1402028938, 1402028898, 1402028861, 1402028825, 1402028773)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.82724571228027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:00:31.881917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_43_3602.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_46_2642.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_48_2639.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_52_3679.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_55_2725.jpg', '/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_57_2764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_43_3602.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_46_2642.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_48_2639.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_52_3679.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_55_2725.jpg
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_39_57_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":["1402029288","1402029534","1402029398","1402029461","1402029329","1402029251"],"photo_ids_order":["1402029251","1402029288","1402029329","1402029398","1402029461","1402029534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/554a56cee3d5cfbf36a45d2a88234a97.jpg","text":"TemporaryFile(/tmp/multipartBody1549070693341740710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279693659,"filename":"image_04112025_17_39_46_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a3520e1385664f9cf4a5ebffe2e3877.jpg","text":"TemporaryFile(/tmp/multipartBody3393752453389775990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279693659,"filename":"image_04112025_17_39_57_2764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79c768bb1e8c69755ab90a90be001c5e.jpg","text":"TemporaryFile(/tmp/multipartBody6030836897889735550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279693659,"filename":"image_04112025_17_39_52_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a11aab4402c0b6f3b59b821059b2c22a.jpg","text":"TemporaryFile(/tmp/multipartBody4640924356429041459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279693659,"filename":"image_04112025_17_39_55_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b76e19dd17cf5c77e05d9f6253017c89.jpg","text":"TemporaryFile(/tmp/multipartBody1457861071721916480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279693659,"filename":"image_04112025_17_39_48_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1caf74c454ae9e547af0e41a1f75d3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6490681952476220673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279693659,"filename":"image_04112025_17_39_43_3602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402029329","file1":"1402029288","file0":"1402029251","file4":"1402029461","file5":"1402029534","file3":"1402029398"},"map_files_photo_id_array":[{"photo_id":"1402029534","filename":"file5"},{"photo_id":"1402029329","filename":"file2"},{"photo_id":"1402029461","filename":"file4"},{"photo_id":"1402029288","filename":"file1"},{"photo_id":"1402029251","filename":"file0"},{"photo_id":"1402029398","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402029288":["hashtag1","hashtag2"]},{"1402029534":["hashtag1","hashtag2"]},{"1402029398":["hashtag1","hashtag2"]},{"1402029461":["hashtag1","hashtag2"]},{"1402029329":["hashtag1","hashtag2"]},{"1402029251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402029288, 1402029534, 1402029398, 1402029461, 1402029329, 1402029251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87377047538757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:01:12.024211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/39/image_04112025_17_40_00_2802.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_08_3010.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_11_3621.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_14_2710.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_18_3602.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_20_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/39/image_04112025_17_40_00_2802.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_08_3010.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_11_3621.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_14_2710.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_18_3602.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_20_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":["1402030099","1402030153","1402029957","1402030044","1402030008","1402030190"],"photo_ids_order":["1402029957","1402030008","1402030044","1402030099","1402030153","1402030190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/556dc7de9b10e424ca36b7df38bd2b2a.jpg","text":"TemporaryFile(/tmp/multipartBody2498703465353554971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279746316,"filename":"image_04112025_17_40_14_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd733db365f67a1229e575f689d3e983.jpg","text":"TemporaryFile(/tmp/multipartBody9114210917264329327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279746316,"filename":"image_04112025_17_40_18_3602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d25b8b53c0af8faec7bf94fb17cd641.jpg","text":"TemporaryFile(/tmp/multipartBody8865200177388251753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279746316,"filename":"image_04112025_17_40_00_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd227f8d41f77c10b4e0f63696808f42.jpg","text":"TemporaryFile(/tmp/multipartBody8140150570499377080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279746316,"filename":"image_04112025_17_40_11_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fdfc52445f6d656610315246e579d82.jpg","text":"TemporaryFile(/tmp/multipartBody4807042842072738485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279746316,"filename":"image_04112025_17_40_08_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f1c361890a73a063236c9b8b38601a2.jpg","text":"TemporaryFile(/tmp/multipartBody5127837861639502068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279746316,"filename":"image_04112025_17_40_20_2602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030044","file1":"1402030008","file0":"1402029957","file4":"1402030153","file5":"1402030190","file3":"1402030099"},"map_files_photo_id_array":[{"photo_id":"1402030190","filename":"file5"},{"photo_id":"1402030044","filename":"file2"},{"photo_id":"1402030153","filename":"file4"},{"photo_id":"1402030008","filename":"file1"},{"photo_id":"1402029957","filename":"file0"},{"photo_id":"1402030099","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030099":["hashtag1","hashtag2"]},{"1402030153":["hashtag1","hashtag2"]},{"1402029957":["hashtag1","hashtag2"]},{"1402030044":["hashtag1","hashtag2"]},{"1402030008":["hashtag1","hashtag2"]},{"1402030190":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030099, 1402030153, 1402029957, 1402030044, 1402030008, 1402030190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.38302707672119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:02:02.654334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_15_10697.jpg', '/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_25_9633.jpg', '/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_35_10318.jpg', '/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_45_9798.jpg', '/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_55_10282.jpg', '/home/pi/Desktop/images/01012026/13/50/image_01012026_13_51_05_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_15_10697.jpg
/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_25_9633.jpg
/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_35_10318.jpg
/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_45_9798.jpg
/home/pi/Desktop/images/01012026/13/50/image_01012026_13_50_55_10282.jpg
/home/pi/Desktop/images/01012026/13/50/image_01012026_13_51_05_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":["1402030324","1402030327","1402030323","1402030322","1402030325","1402030304"],"photo_ids_order":["1402030304","1402030322","1402030323","1402030324","1402030325","1402030327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb5e1b5c6d295eb4d823e32e52b27f85.jpg","text":"TemporaryFile(/tmp/multipartBody7549328882575705376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279783310,"filename":"image_01012026_13_50_45_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef8a88056baf4600069a3bbe50405d47.jpg","text":"TemporaryFile(/tmp/multipartBody4079704524533406777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279783310,"filename":"image_01012026_13_51_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/781a4ceeec219a9c203069fc26b29672.jpg","text":"TemporaryFile(/tmp/multipartBody3240675171682709045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279783310,"filename":"image_01012026_13_50_35_10318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85e18e5a5a9ac1c26c632692da628a12.jpg","text":"TemporaryFile(/tmp/multipartBody2935203239998144012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279783310,"filename":"image_01012026_13_50_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45b90e6406d307ee3bad6c44c7c32fe1.jpg","text":"TemporaryFile(/tmp/multipartBody8556278281410158573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279783310,"filename":"image_01012026_13_50_55_10282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8105978f1b0005dae2d14fd63462d53.jpg","text":"TemporaryFile(/tmp/multipartBody2743102314958601270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279783310,"filename":"image_01012026_13_50_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030323","file1":"1402030322","file0":"1402030304","file4":"1402030325","file5":"1402030327","file3":"1402030324"},"map_files_photo_id_array":[{"photo_id":"1402030327","filename":"file5"},{"photo_id":"1402030323","filename":"file2"},{"photo_id":"1402030325","filename":"file4"},{"photo_id":"1402030322","filename":"file1"},{"photo_id":"1402030304","filename":"file0"},{"photo_id":"1402030324","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030324":["hashtag1","hashtag2"]},{"1402030327":["hashtag1","hashtag2"]},{"1402030323":["hashtag1","hashtag2"]},{"1402030322":["hashtag1","hashtag2"]},{"1402030325":["hashtag1","hashtag2"]},{"1402030304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030324, 1402030327, 1402030323, 1402030322, 1402030325, 1402030304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90473747253418 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:02:42.408134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_23_2525.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_27_3736.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_29_2657.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_32_2640.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_36_3653.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_38_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_23_2525.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_27_3736.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_29_2657.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_32_2640.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_36_3653.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_38_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":["1402030483","1402030450","1402030501","1402030401","1402030530","1402030502"],"photo_ids_order":["1402030401","1402030450","1402030483","1402030501","1402030502","1402030530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16d6a895b96fe3e466b00973408768d0.jpg","text":"TemporaryFile(/tmp/multipartBody1364981369237491656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279824182,"filename":"image_04112025_17_40_29_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa8c15d2d554f62992a78b7cd8d4524f.jpg","text":"TemporaryFile(/tmp/multipartBody6458612994883294070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279824182,"filename":"image_04112025_17_40_27_3736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df178e1afdc6f55f1853c7dc65349cc0.jpg","text":"TemporaryFile(/tmp/multipartBody5372445434393435441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279824182,"filename":"image_04112025_17_40_32_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5796c71a5e1c2bb916633bae8a5064a.jpg","text":"TemporaryFile(/tmp/multipartBody540810424103357754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279824182,"filename":"image_04112025_17_40_23_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5a5ceba9c19a2fc1282b4eb0ef241af.jpg","text":"TemporaryFile(/tmp/multipartBody1561485644833201925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279824182,"filename":"image_04112025_17_40_38_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b90e15b2c71dbd97a417ccbbda8e765.jpg","text":"TemporaryFile(/tmp/multipartBody3192529629593077709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279824182,"filename":"image_04112025_17_40_36_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030483","file1":"1402030450","file0":"1402030401","file4":"1402030502","file5":"1402030530","file3":"1402030501"},"map_files_photo_id_array":[{"photo_id":"1402030530","filename":"file5"},{"photo_id":"1402030483","filename":"file2"},{"photo_id":"1402030502","filename":"file4"},{"photo_id":"1402030450","filename":"file1"},{"photo_id":"1402030401","filename":"file0"},{"photo_id":"1402030501","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030483":["hashtag1","hashtag2"]},{"1402030450":["hashtag1","hashtag2"]},{"1402030501":["hashtag1","hashtag2"]},{"1402030401":["hashtag1","hashtag2"]},{"1402030530":["hashtag1","hashtag2"]},{"1402030502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030483, 1402030450, 1402030501, 1402030401, 1402030530, 1402030502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.710289478302 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:03:22.568140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/51/image_01012026_13_51_14_9363.jpg', '/home/pi/Desktop/images/01012026/13/51/image_01012026_13_51_34_9354.jpg', '/home/pi/Desktop/images/01012026/13/51/image_01012026_13_51_45_10706.jpg', '/home/pi/Desktop/images/01012026/13/51/image_01012026_13_51_55_9788.jpg', '/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_05_10029.jpg', '/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_15_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/51/image_01012026_13_51_14_9363.jpg
/home/pi/Desktop/images/01012026/13/51/image_01012026_13_51_34_9354.jpg
/home/pi/Desktop/images/01012026/13/51/image_01012026_13_51_45_10706.jpg
/home/pi/Desktop/images/01012026/13/51/image_01012026_13_51_55_9788.jpg
/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_05_10029.jpg
/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_15_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":["1402030573","1402030581","1402030575","1402030577","1402030571","1402030579"],"photo_ids_order":["1402030571","1402030573","1402030575","1402030577","1402030579","1402030581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3272032e64649ad930a7d8f0bc81ee58.jpg","text":"TemporaryFile(/tmp/multipartBody4406565086342310231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279863166,"filename":"image_01012026_13_51_34_9354.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69c0a6b944000f0f10d2f11646595eec.jpg","text":"TemporaryFile(/tmp/multipartBody3400765919905045753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279863166,"filename":"image_01012026_13_52_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2030d516367072d3271a1019963ce9d5.jpg","text":"TemporaryFile(/tmp/multipartBody2662028247314185474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279863166,"filename":"image_01012026_13_51_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c204f7d4e600c03d4d624a3f6d7430ee.jpg","text":"TemporaryFile(/tmp/multipartBody3768071262318959813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279863166,"filename":"image_01012026_13_51_55_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27a119db8171fcfdec10174d734d5427.jpg","text":"TemporaryFile(/tmp/multipartBody2503727047933370166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279863166,"filename":"image_01012026_13_51_14_9363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f899996b1f2e2cf189f5056a750ce70.jpg","text":"TemporaryFile(/tmp/multipartBody6997269769677650274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279863166,"filename":"image_01012026_13_52_05_10029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030575","file1":"1402030573","file0":"1402030571","file4":"1402030579","file5":"1402030581","file3":"1402030577"},"map_files_photo_id_array":[{"photo_id":"1402030581","filename":"file5"},{"photo_id":"1402030575","filename":"file2"},{"photo_id":"1402030579","filename":"file4"},{"photo_id":"1402030573","filename":"file1"},{"photo_id":"1402030571","filename":"file0"},{"photo_id":"1402030577","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030573":["hashtag1","hashtag2"]},{"1402030581":["hashtag1","hashtag2"]},{"1402030575":["hashtag1","hashtag2"]},{"1402030577":["hashtag1","hashtag2"]},{"1402030571":["hashtag1","hashtag2"]},{"1402030579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030573, 1402030581, 1402030575, 1402030577, 1402030571, 1402030579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.903648376464844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:04:02.443965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_25_10478.jpg', '/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_35_10209.jpg', '/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_45_9783.jpg', '/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_55_9596.jpg', '/home/pi/Desktop/images/01012026/13/52/image_01012026_13_53_04_9626.jpg', '/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_15_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_25_10478.jpg
/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_35_10209.jpg
/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_45_9783.jpg
/home/pi/Desktop/images/01012026/13/52/image_01012026_13_52_55_9596.jpg
/home/pi/Desktop/images/01012026/13/52/image_01012026_13_53_04_9626.jpg
/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_15_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":["1402030584","1402030587","1402030586","1402030589","1402030583","1402030585"],"photo_ids_order":["1402030583","1402030584","1402030585","1402030586","1402030587","1402030589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34c56ede0236d0e93fe16fb7f84e1ce1.jpg","text":"TemporaryFile(/tmp/multipartBody246957762998671748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279903145,"filename":"image_01012026_13_52_35_10209.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ea5e6b6ca64bff527a681d8481616e8.jpg","text":"TemporaryFile(/tmp/multipartBody2533442989190028792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279903145,"filename":"image_01012026_13_53_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08593c2591230ee17ce414e54cfe9d55.jpg","text":"TemporaryFile(/tmp/multipartBody8523163822472470312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279903145,"filename":"image_01012026_13_52_55_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0817ca33ccb8d965a9e5bac12412ed85.jpg","text":"TemporaryFile(/tmp/multipartBody2953366284294549239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279903145,"filename":"image_01012026_13_53_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48d66b49a50f2c1ccf6efb2442a296c8.jpg","text":"TemporaryFile(/tmp/multipartBody3089959659028874988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279903145,"filename":"image_01012026_13_52_25_10478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f02686d8d5572f756124d3e340e1c40e.jpg","text":"TemporaryFile(/tmp/multipartBody7715880608709823273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279903145,"filename":"image_01012026_13_52_45_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030585","file1":"1402030584","file0":"1402030583","file4":"1402030587","file5":"1402030589","file3":"1402030586"},"map_files_photo_id_array":[{"photo_id":"1402030589","filename":"file5"},{"photo_id":"1402030585","filename":"file2"},{"photo_id":"1402030587","filename":"file4"},{"photo_id":"1402030584","filename":"file1"},{"photo_id":"1402030583","filename":"file0"},{"photo_id":"1402030586","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030584":["hashtag1","hashtag2"]},{"1402030587":["hashtag1","hashtag2"]},{"1402030586":["hashtag1","hashtag2"]},{"1402030589":["hashtag1","hashtag2"]},{"1402030583":["hashtag1","hashtag2"]},{"1402030585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030584, 1402030587, 1402030586, 1402030589, 1402030583, 1402030585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27479600906372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:04:41.846381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_42_3568.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_44_2713.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_47_2725.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_51_3563.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_53_2636.jpg', '/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_56_2569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_42_3568.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_44_2713.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_47_2725.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_51_3563.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_53_2636.jpg
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_40_56_2569.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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402030600","1402030599","1402030602","1402030598","1402030604","1402030597"],"photo_ids_order":["1402030597","1402030598","1402030599","1402030600","1402030602","1402030604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba634b077f2856db39dd55ead3b16791.jpg","text":"TemporaryFile(/tmp/multipartBody7488433233156047949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279966031,"filename":"image_04112025_17_40_51_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffc257adb88dc192c0e70634acf71b79.jpg","text":"TemporaryFile(/tmp/multipartBody9047621439060821444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279966031,"filename":"image_04112025_17_40_47_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c481d5fa01017875b0be93ab332f1f53.jpg","text":"TemporaryFile(/tmp/multipartBody8759112728123867392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279966031,"filename":"image_04112025_17_40_53_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6ece2a928a39e153d359318cbd77d71.jpg","text":"TemporaryFile(/tmp/multipartBody8464773723614484210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279966031,"filename":"image_04112025_17_40_44_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb5bedd29d962de1d3f7b22e9cf7706b.jpg","text":"TemporaryFile(/tmp/multipartBody5806435971571547316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279966031,"filename":"image_04112025_17_40_56_2569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33f40419223a415133b4ad6623739d15.jpg","text":"TemporaryFile(/tmp/multipartBody5643545798326174661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767279966031,"filename":"image_04112025_17_40_42_3568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030599","file1":"1402030598","file0":"1402030597","file4":"1402030602","file5":"1402030604","file3":"1402030600"},"map_files_photo_id_array":[{"photo_id":"1402030604","filename":"file5"},{"photo_id":"1402030599","filename":"file2"},{"photo_id":"1402030602","filename":"file4"},{"photo_id":"1402030598","filename":"file1"},{"photo_id":"1402030597","filename":"file0"},{"photo_id":"1402030600","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030600":["hashtag1","hashtag2"]},{"1402030599":["hashtag1","hashtag2"]},{"1402030602":["hashtag1","hashtag2"]},{"1402030598":["hashtag1","hashtag2"]},{"1402030604":["hashtag1","hashtag2"]},{"1402030597":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030600, 1402030599, 1402030602, 1402030598, 1402030604, 1402030597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.72523069381714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:06:02.839808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_25_9645.jpg', '/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_34_9800.jpg', '/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_15_9683.jpg', '/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_35_10672.jpg', '/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_44_9535.jpg', '/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_25_9645.jpg
/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_34_9800.jpg
/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_15_9683.jpg
/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_35_10672.jpg
/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_44_9535.jpg
/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_14_9733.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.5515923500061035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:06:12.341355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/40/image_04112025_17_41_00_3645.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_02_2517.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_05_2769.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_08_3570.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_11_2606.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_14_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/40/image_04112025_17_41_00_3645.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_02_2517.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_05_2769.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_08_3570.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_11_2606.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_14_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":["1402030621","1402030627","1402030629","1402030623","1402030631","1402030625"],"photo_ids_order":["1402030621","1402030623","1402030625","1402030627","1402030629","1402030631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/204449e901d03f3589413648325b69c3.jpg","text":"TemporaryFile(/tmp/multipartBody7548472974834637010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280034007,"filename":"image_04112025_17_41_00_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da56ea9f4f6bcd7d895ba41c9c64b91e.jpg","text":"TemporaryFile(/tmp/multipartBody1873199347679647693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280034007,"filename":"image_04112025_17_41_08_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd12ffb10256d339a63dba2ec34885b1.jpg","text":"TemporaryFile(/tmp/multipartBody2845236049142525296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280034007,"filename":"image_04112025_17_41_11_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/566214eea4df0e67afc7bc9ae65d4655.jpg","text":"TemporaryFile(/tmp/multipartBody6472194750888781643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280034007,"filename":"image_04112025_17_41_02_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f61f17b8131eb7f7bca3088e3081307.jpg","text":"TemporaryFile(/tmp/multipartBody1343914506447203123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280034007,"filename":"image_04112025_17_41_14_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5235fc3af99f25075f7c4fad544ec1d.jpg","text":"TemporaryFile(/tmp/multipartBody1615365330270287552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280034007,"filename":"image_04112025_17_41_05_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030625","file1":"1402030623","file0":"1402030621","file4":"1402030629","file5":"1402030631","file3":"1402030627"},"map_files_photo_id_array":[{"photo_id":"1402030631","filename":"file5"},{"photo_id":"1402030625","filename":"file2"},{"photo_id":"1402030629","filename":"file4"},{"photo_id":"1402030623","filename":"file1"},{"photo_id":"1402030621","filename":"file0"},{"photo_id":"1402030627","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030621":["hashtag1","hashtag2"]},{"1402030627":["hashtag1","hashtag2"]},{"1402030629":["hashtag1","hashtag2"]},{"1402030623":["hashtag1","hashtag2"]},{"1402030631":["hashtag1","hashtag2"]},{"1402030625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030621, 1402030627, 1402030629, 1402030623, 1402030631, 1402030625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47044563293457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:07:15.911318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_25_9645.jpg', '/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_34_9800.jpg', '/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_15_9683.jpg', '/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_35_10672.jpg', '/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_44_9535.jpg', '/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_25_9645.jpg
/home/pi/Desktop/images/01012026/13/53/image_01012026_13_53_34_9800.jpg
/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_15_9683.jpg
/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_35_10672.jpg
/home/pi/Desktop/images/01012026/13/54/image_01012026_13_54_44_9535.jpg
/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_14_9733.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":["1402030636","1402030645","1402030639","1402030641","1402030643","1402030637"],"photo_ids_order":["1402030636","1402030637","1402030639","1402030641","1402030643","1402030645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e2a7f59838bf09015fcf51a12709abf.jpg","text":"TemporaryFile(/tmp/multipartBody8704852445346055985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280096564,"filename":"image_01012026_13_53_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df368eccb0b4301fa928906d65f8bb15.jpg","text":"TemporaryFile(/tmp/multipartBody6057369619445073761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280096564,"filename":"image_01012026_13_55_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07877ec0dbb520f65eca66c4c353fc47.jpg","text":"TemporaryFile(/tmp/multipartBody5831830914272487532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280096564,"filename":"image_01012026_13_54_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fef2e61155dd640e4e84ea8a3ba1605.jpg","text":"TemporaryFile(/tmp/multipartBody358791040062795889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280096564,"filename":"image_01012026_13_54_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbe121ee5f32c27f7b5fe4a2d490ef1b.jpg","text":"TemporaryFile(/tmp/multipartBody5665661613872201822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280096564,"filename":"image_01012026_13_54_44_9535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8425e3e42262e5c6514a28b2045a81ba.jpg","text":"TemporaryFile(/tmp/multipartBody3490310935875349756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280096564,"filename":"image_01012026_13_53_34_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030639","file1":"1402030637","file0":"1402030636","file4":"1402030643","file5":"1402030645","file3":"1402030641"},"map_files_photo_id_array":[{"photo_id":"1402030645","filename":"file5"},{"photo_id":"1402030639","filename":"file2"},{"photo_id":"1402030643","filename":"file4"},{"photo_id":"1402030637","filename":"file1"},{"photo_id":"1402030636","filename":"file0"},{"photo_id":"1402030641","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030636":["hashtag1","hashtag2"]},{"1402030645":["hashtag1","hashtag2"]},{"1402030639":["hashtag1","hashtag2"]},{"1402030641":["hashtag1","hashtag2"]},{"1402030643":["hashtag1","hashtag2"]},{"1402030637":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030636, 1402030645, 1402030639, 1402030641, 1402030643, 1402030637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.122445583343506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:08:02.441445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_24_9727.jpg', '/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_35_10487.jpg', '/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_44_9563.jpg', '/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_55_10624.jpg', '/home/pi/Desktop/images/01012026/13/55/image_01012026_13_56_05_9719.jpg', '/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_14_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_24_9727.jpg
/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_35_10487.jpg
/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_44_9563.jpg
/home/pi/Desktop/images/01012026/13/55/image_01012026_13_55_55_10624.jpg
/home/pi/Desktop/images/01012026/13/55/image_01012026_13_56_05_9719.jpg
/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_14_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030651","1402030650","1402030653","1402030655","1402030649","1402030652"],"photo_ids_order":["1402030649","1402030650","1402030651","1402030652","1402030653","1402030655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6dced69453dd63e28a60c380a1784e9.jpg","text":"TemporaryFile(/tmp/multipartBody4769410713131925752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280143123,"filename":"image_01012026_13_55_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/078ade5eb5b3b9296f3955a8291d3e76.jpg","text":"TemporaryFile(/tmp/multipartBody6464584134670227267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280143123,"filename":"image_01012026_13_55_35_10487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41b54bc38c811693dcab313c54b52d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1446842703678913307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280143123,"filename":"image_01012026_13_56_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1db8596d5b3501701ec2894c5c35685f.jpg","text":"TemporaryFile(/tmp/multipartBody6009761847466389605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280143123,"filename":"image_01012026_13_56_14_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc9c50b22dc013fd3b03188b8521a14f.jpg","text":"TemporaryFile(/tmp/multipartBody8201821243845989703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280143123,"filename":"image_01012026_13_55_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee8d52ff45684dce8a6fbcff611abb32.jpg","text":"TemporaryFile(/tmp/multipartBody7489346185291340046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280143123,"filename":"image_01012026_13_55_55_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030651","file1":"1402030650","file0":"1402030649","file4":"1402030653","file5":"1402030655","file3":"1402030652"},"map_files_photo_id_array":[{"photo_id":"1402030655","filename":"file5"},{"photo_id":"1402030651","filename":"file2"},{"photo_id":"1402030653","filename":"file4"},{"photo_id":"1402030650","filename":"file1"},{"photo_id":"1402030649","filename":"file0"},{"photo_id":"1402030652","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030651":["hashtag1","hashtag2"]},{"1402030650":["hashtag1","hashtag2"]},{"1402030653":["hashtag1","hashtag2"]},{"1402030655":["hashtag1","hashtag2"]},{"1402030649":["hashtag1","hashtag2"]},{"1402030652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030651, 1402030650, 1402030653, 1402030655, 1402030649, 1402030652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93948197364807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:08:43.412719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_17_3752.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_20_2555.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_23_3536.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_26_2842.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_29_2680.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_32_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_17_3752.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_20_2555.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_23_3536.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_26_2842.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_29_2680.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_32_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":["1402030675","1402030674","1402030677","1402030676","1402030661","1402030678"],"photo_ids_order":["1402030661","1402030674","1402030675","1402030676","1402030677","1402030678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3adf84da8a7186275c38ce66a6d604e8.jpg","text":"TemporaryFile(/tmp/multipartBody8053753318365904569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280185068,"filename":"image_04112025_17_41_23_3536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3f35c8beee692719f5175945bf7fa8c.jpg","text":"TemporaryFile(/tmp/multipartBody3847335211385995061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280185068,"filename":"image_04112025_17_41_20_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5a5441fe5c8ea31d0f0c043b6e7b971.jpg","text":"TemporaryFile(/tmp/multipartBody6288551046800133908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280185068,"filename":"image_04112025_17_41_29_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae67b980987009448b28b2100eb1f13e.jpg","text":"TemporaryFile(/tmp/multipartBody5092941643826803770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280185068,"filename":"image_04112025_17_41_26_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e04652eedb080b460c7f430ad74830f6.jpg","text":"TemporaryFile(/tmp/multipartBody2221487663731299323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280185068,"filename":"image_04112025_17_41_17_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df296d5a5e73f1d63f85c8f88a58bc79.jpg","text":"TemporaryFile(/tmp/multipartBody3411232389820220675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280185068,"filename":"image_04112025_17_41_32_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030675","file1":"1402030674","file0":"1402030661","file4":"1402030677","file5":"1402030678","file3":"1402030676"},"map_files_photo_id_array":[{"photo_id":"1402030678","filename":"file5"},{"photo_id":"1402030675","filename":"file2"},{"photo_id":"1402030677","filename":"file4"},{"photo_id":"1402030674","filename":"file1"},{"photo_id":"1402030661","filename":"file0"},{"photo_id":"1402030676","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030675":["hashtag1","hashtag2"]},{"1402030674":["hashtag1","hashtag2"]},{"1402030677":["hashtag1","hashtag2"]},{"1402030676":["hashtag1","hashtag2"]},{"1402030661":["hashtag1","hashtag2"]},{"1402030678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030675, 1402030674, 1402030677, 1402030676, 1402030661, 1402030678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39337611198425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:09:22.594064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_24_9716.jpg', '/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_35_10629.jpg', '/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_44_9677.jpg', '/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_54_9665.jpg', '/home/pi/Desktop/images/01012026/13/56/image_01012026_13_57_05_10679.jpg', '/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_14_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_24_9716.jpg
/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_35_10629.jpg
/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_44_9677.jpg
/home/pi/Desktop/images/01012026/13/56/image_01012026_13_56_54_9665.jpg
/home/pi/Desktop/images/01012026/13/56/image_01012026_13_57_05_10679.jpg
/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_14_9658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030689","1402030680","1402030686","1402030691","1402030682","1402030684"],"photo_ids_order":["1402030680","1402030682","1402030684","1402030686","1402030689","1402030691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9986a49b4aa7a9862dc00e982984f886.jpg","text":"TemporaryFile(/tmp/multipartBody6741214264690639573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280223200,"filename":"image_01012026_13_57_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16855dddbfbb603b9649d7e40d318d88.jpg","text":"TemporaryFile(/tmp/multipartBody4367555989946134478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280223200,"filename":"image_01012026_13_56_24_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f97df14c9307fe35d37698952db529de.jpg","text":"TemporaryFile(/tmp/multipartBody8401554866273437083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280223200,"filename":"image_01012026_13_56_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/461179b0027341dc7654ddcef5328b36.jpg","text":"TemporaryFile(/tmp/multipartBody701635601975671377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280223200,"filename":"image_01012026_13_57_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cb2dbb5c6a23aa52afa258e952c239d.jpg","text":"TemporaryFile(/tmp/multipartBody1042790176471494146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280223200,"filename":"image_01012026_13_56_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9133ad9a965a512fe70283e7e01a555.jpg","text":"TemporaryFile(/tmp/multipartBody5548992125811846344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280223200,"filename":"image_01012026_13_56_44_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030684","file1":"1402030682","file0":"1402030680","file4":"1402030689","file5":"1402030691","file3":"1402030686"},"map_files_photo_id_array":[{"photo_id":"1402030691","filename":"file5"},{"photo_id":"1402030684","filename":"file2"},{"photo_id":"1402030689","filename":"file4"},{"photo_id":"1402030682","filename":"file1"},{"photo_id":"1402030680","filename":"file0"},{"photo_id":"1402030686","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030689":["hashtag1","hashtag2"]},{"1402030680":["hashtag1","hashtag2"]},{"1402030686":["hashtag1","hashtag2"]},{"1402030691":["hashtag1","hashtag2"]},{"1402030682":["hashtag1","hashtag2"]},{"1402030684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030689, 1402030680, 1402030686, 1402030691, 1402030682, 1402030684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23715567588806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:10:03.263949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_24_9695.jpg', '/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_35_10633.jpg', '/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_44_9584.jpg', '/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_55_10614.jpg', '/home/pi/Desktop/images/01012026/13/57/image_01012026_13_58_05_9690.jpg', '/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_14_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_24_9695.jpg
/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_35_10633.jpg
/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_44_9584.jpg
/home/pi/Desktop/images/01012026/13/57/image_01012026_13_57_55_10614.jpg
/home/pi/Desktop/images/01012026/13/57/image_01012026_13_58_05_9690.jpg
/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_14_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":["1402030693","1402030692","1402030695","1402030698","1402030694","1402030696"],"photo_ids_order":["1402030692","1402030693","1402030694","1402030695","1402030696","1402030698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92a570962946191e0d1628875a5272ab.jpg","text":"TemporaryFile(/tmp/multipartBody1339486518431757647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280263940,"filename":"image_01012026_13_57_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ad087ed85c6e2531a19b703ad688b75.jpg","text":"TemporaryFile(/tmp/multipartBody632725563048241412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280263940,"filename":"image_01012026_13_57_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/844a8785c7c08b32de597f1405a6414f.jpg","text":"TemporaryFile(/tmp/multipartBody8103719879577727314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280263940,"filename":"image_01012026_13_57_55_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/411ae725fa0bf4b902aa18387a9a3252.jpg","text":"TemporaryFile(/tmp/multipartBody6488761093252427218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280263940,"filename":"image_01012026_13_58_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b560e215eb002bb1403b50dbdd55900.jpg","text":"TemporaryFile(/tmp/multipartBody6536897021045731746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280263940,"filename":"image_01012026_13_57_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57ca0f1f4ef2a011d90ab8579eb23d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2407909075544337779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280263940,"filename":"image_01012026_13_58_05_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030694","file1":"1402030693","file0":"1402030692","file4":"1402030696","file5":"1402030698","file3":"1402030695"},"map_files_photo_id_array":[{"photo_id":"1402030698","filename":"file5"},{"photo_id":"1402030694","filename":"file2"},{"photo_id":"1402030696","filename":"file4"},{"photo_id":"1402030693","filename":"file1"},{"photo_id":"1402030692","filename":"file0"},{"photo_id":"1402030695","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030693":["hashtag1","hashtag2"]},{"1402030692":["hashtag1","hashtag2"]},{"1402030695":["hashtag1","hashtag2"]},{"1402030698":["hashtag1","hashtag2"]},{"1402030694":["hashtag1","hashtag2"]},{"1402030696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030693, 1402030692, 1402030695, 1402030698, 1402030694, 1402030696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95920944213867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:10:42.854334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_35_3644.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_38_2554.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_41_2726.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_44_3554.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_47_2738.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_51_3608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_35_3644.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_38_2554.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_41_2726.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_44_3554.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_47_2738.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_51_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":["1402030711","1402030708","1402030710","1402030707","1402030704","1402030709"],"photo_ids_order":["1402030704","1402030707","1402030708","1402030709","1402030710","1402030711"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4aaa0f48499549993b5be235f66f63eb.jpg","text":"TemporaryFile(/tmp/multipartBody2280868765878875962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280304606,"filename":"image_04112025_17_41_51_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8bea70eb178b3bdfa059f924e6faa15c.jpg","text":"TemporaryFile(/tmp/multipartBody7266995432745690354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280304606,"filename":"image_04112025_17_41_41_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb437b7200f8e2e97236f9d3f2dca140.jpg","text":"TemporaryFile(/tmp/multipartBody1142678353803017364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280304606,"filename":"image_04112025_17_41_47_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a9b1f0c8ebb19b9ed6047534420b745.jpg","text":"TemporaryFile(/tmp/multipartBody6108696715291526696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280304606,"filename":"image_04112025_17_41_38_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/142e4cfcf7de662f87074e7152562fff.jpg","text":"TemporaryFile(/tmp/multipartBody7675161302407292684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280304606,"filename":"image_04112025_17_41_35_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff96b47bda30333d45ad506447629adc.jpg","text":"TemporaryFile(/tmp/multipartBody1201208185986767268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280304606,"filename":"image_04112025_17_41_44_3554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030708","file1":"1402030707","file0":"1402030704","file4":"1402030710","file5":"1402030711","file3":"1402030709"},"map_files_photo_id_array":[{"photo_id":"1402030711","filename":"file5"},{"photo_id":"1402030708","filename":"file2"},{"photo_id":"1402030710","filename":"file4"},{"photo_id":"1402030707","filename":"file1"},{"photo_id":"1402030704","filename":"file0"},{"photo_id":"1402030709","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030711":["hashtag1","hashtag2"]},{"1402030708":["hashtag1","hashtag2"]},{"1402030710":["hashtag1","hashtag2"]},{"1402030707":["hashtag1","hashtag2"]},{"1402030704":["hashtag1","hashtag2"]},{"1402030709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030711, 1402030708, 1402030710, 1402030707, 1402030704, 1402030709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.188700914382935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:11:22.111230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_25_10749.jpg', '/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_35_9663.jpg', '/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_44_9695.jpg', '/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_55_10659.jpg', '/home/pi/Desktop/images/01012026/13/59/image_01012026_13_59_24_9777.jpg', '/home/pi/Desktop/images/01012026/13/59/image_01012026_13_59_35_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_25_10749.jpg
/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_35_9663.jpg
/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_44_9695.jpg
/home/pi/Desktop/images/01012026/13/58/image_01012026_13_58_55_10659.jpg
/home/pi/Desktop/images/01012026/13/59/image_01012026_13_59_24_9777.jpg
/home/pi/Desktop/images/01012026/13/59/image_01012026_13_59_35_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030720","1402030714","1402030716","1402030724","1402030718","1402030712"],"photo_ids_order":["1402030712","1402030714","1402030716","1402030718","1402030720","1402030724"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/238cf8c4e824871fd5054e356cee58a9.jpg","text":"TemporaryFile(/tmp/multipartBody4609106768620434098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280342712,"filename":"image_01012026_13_59_24_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afe39585039e2beb75d2d63a1167b9c2.jpg","text":"TemporaryFile(/tmp/multipartBody697721154998800969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280342712,"filename":"image_01012026_13_58_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1e075eca36e35d02a39934559b1fe64.jpg","text":"TemporaryFile(/tmp/multipartBody4866643229922196402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280342712,"filename":"image_01012026_13_58_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff85ab55d599c6c5e82a8bbcad0ca595.jpg","text":"TemporaryFile(/tmp/multipartBody3802224062216797450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280342712,"filename":"image_01012026_13_59_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50b69be860bdf187de118fdbfdccafac.jpg","text":"TemporaryFile(/tmp/multipartBody5291121891173358977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280342712,"filename":"image_01012026_13_58_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb97817b925907f1dc63e8ca04b5df0d.jpg","text":"TemporaryFile(/tmp/multipartBody5992352981428970195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280342712,"filename":"image_01012026_13_58_25_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030716","file1":"1402030714","file0":"1402030712","file4":"1402030720","file5":"1402030724","file3":"1402030718"},"map_files_photo_id_array":[{"photo_id":"1402030724","filename":"file5"},{"photo_id":"1402030716","filename":"file2"},{"photo_id":"1402030720","filename":"file4"},{"photo_id":"1402030714","filename":"file1"},{"photo_id":"1402030712","filename":"file0"},{"photo_id":"1402030718","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030720":["hashtag1","hashtag2"]},{"1402030714":["hashtag1","hashtag2"]},{"1402030716":["hashtag1","hashtag2"]},{"1402030724":["hashtag1","hashtag2"]},{"1402030718":["hashtag1","hashtag2"]},{"1402030712":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030720, 1402030714, 1402030716, 1402030724, 1402030718, 1402030712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53951597213745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:12:02.647507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/13/59/image_01012026_13_59_54_9712.jpg', '/home/pi/Desktop/images/01012026/14/00/image_01012026_14_00_14_10056.jpg', '/home/pi/Desktop/images/01012026/14/00/image_01012026_14_00_25_10691.jpg', '/home/pi/Desktop/images/01012026/14/00/image_01012026_14_01_05_9741.jpg', '/home/pi/Desktop/images/01012026/14/01/image_01012026_14_01_45_9658.jpg', '/home/pi/Desktop/images/01012026/14/01/image_01012026_14_02_05_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/13/59/image_01012026_13_59_54_9712.jpg
/home/pi/Desktop/images/01012026/14/00/image_01012026_14_00_14_10056.jpg
/home/pi/Desktop/images/01012026/14/00/image_01012026_14_00_25_10691.jpg
/home/pi/Desktop/images/01012026/14/00/image_01012026_14_01_05_9741.jpg
/home/pi/Desktop/images/01012026/14/01/image_01012026_14_01_45_9658.jpg
/home/pi/Desktop/images/01012026/14/01/image_01012026_14_02_05_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030741","1402030735","1402030738","1402030737","1402030736","1402030739"],"photo_ids_order":["1402030735","1402030736","1402030737","1402030738","1402030739","1402030741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77786eb493098e59ea611a82aff8b7ff.jpg","text":"TemporaryFile(/tmp/multipartBody3306347696389030574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280383313,"filename":"image_01012026_14_02_05_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fe369e8d0784b247fdd76db92fac6c6.jpg","text":"TemporaryFile(/tmp/multipartBody1346971157712590235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280383313,"filename":"image_01012026_13_59_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/999ba0dda09ec6a69c96f94899a86f72.jpg","text":"TemporaryFile(/tmp/multipartBody2908073618684962846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280383313,"filename":"image_01012026_14_01_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8980c2ad91a929897e6baa154ba9996.jpg","text":"TemporaryFile(/tmp/multipartBody7757703985673464451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280383313,"filename":"image_01012026_14_00_25_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d41f0472ecefc8995ae895e35be0e92.jpg","text":"TemporaryFile(/tmp/multipartBody175054890015808217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280383313,"filename":"image_01012026_14_00_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f0955135165720d10b82240f58c62bb.jpg","text":"TemporaryFile(/tmp/multipartBody47602711343662944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280383313,"filename":"image_01012026_14_01_45_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030737","file1":"1402030736","file0":"1402030735","file4":"1402030739","file5":"1402030741","file3":"1402030738"},"map_files_photo_id_array":[{"photo_id":"1402030741","filename":"file5"},{"photo_id":"1402030737","filename":"file2"},{"photo_id":"1402030739","filename":"file4"},{"photo_id":"1402030736","filename":"file1"},{"photo_id":"1402030735","filename":"file0"},{"photo_id":"1402030738","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030741":["hashtag1","hashtag2"]},{"1402030735":["hashtag1","hashtag2"]},{"1402030738":["hashtag1","hashtag2"]},{"1402030737":["hashtag1","hashtag2"]},{"1402030736":["hashtag1","hashtag2"]},{"1402030739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030741, 1402030735, 1402030738, 1402030737, 1402030736, 1402030739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32326626777649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:12:42.158023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_53_2786.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_56_2572.jpg', '/home/pi/Desktop/images/04112025/17/41/image_04112025_17_42_00_3682.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_02_2706.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_05_2775.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_08_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_53_2786.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_41_56_2572.jpg
/home/pi/Desktop/images/04112025/17/41/image_04112025_17_42_00_3682.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_02_2706.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_05_2775.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_08_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":["1402030750","1402030753","1402030747","1402030752","1402030754","1402030751"],"photo_ids_order":["1402030747","1402030750","1402030751","1402030752","1402030753","1402030754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24ebecb8e13c498af20f9130c94804aa.jpg","text":"TemporaryFile(/tmp/multipartBody1447890594998967590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280423948,"filename":"image_04112025_17_41_56_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96cea5bf878200ff9b7a2779312cd58c.jpg","text":"TemporaryFile(/tmp/multipartBody4153419035967338978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280423948,"filename":"image_04112025_17_42_05_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97eef9e0a296e8d0ae803586e853a341.jpg","text":"TemporaryFile(/tmp/multipartBody153660886832870109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280423948,"filename":"image_04112025_17_41_53_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9af9c96234a5deb5b62f0f4cb685dee.jpg","text":"TemporaryFile(/tmp/multipartBody175786767299797460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280423948,"filename":"image_04112025_17_42_02_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e1e07c64c11e3c36e9970b3ef0b58c0.jpg","text":"TemporaryFile(/tmp/multipartBody8193488719595644486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280423948,"filename":"image_04112025_17_42_08_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea3df9d0f7aba9d3c3cb0651907fc351.jpg","text":"TemporaryFile(/tmp/multipartBody6049866125421460865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280423948,"filename":"image_04112025_17_42_00_3682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030751","file1":"1402030750","file0":"1402030747","file4":"1402030753","file5":"1402030754","file3":"1402030752"},"map_files_photo_id_array":[{"photo_id":"1402030754","filename":"file5"},{"photo_id":"1402030751","filename":"file2"},{"photo_id":"1402030753","filename":"file4"},{"photo_id":"1402030750","filename":"file1"},{"photo_id":"1402030747","filename":"file0"},{"photo_id":"1402030752","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030750":["hashtag1","hashtag2"]},{"1402030753":["hashtag1","hashtag2"]},{"1402030747":["hashtag1","hashtag2"]},{"1402030752":["hashtag1","hashtag2"]},{"1402030754":["hashtag1","hashtag2"]},{"1402030751":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030750, 1402030753, 1402030747, 1402030752, 1402030754, 1402030751)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52758765220642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:13:22.368776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/02/image_01012026_14_02_15_9841.jpg', '/home/pi/Desktop/images/01012026/14/02/image_01012026_14_02_25_9719.jpg', '/home/pi/Desktop/images/01012026/14/02/image_01012026_14_02_34_9602.jpg', '/home/pi/Desktop/images/01012026/14/02/image_01012026_14_03_05_10584.jpg', '/home/pi/Desktop/images/01012026/14/03/image_01012026_14_03_25_9743.jpg', '/home/pi/Desktop/images/01012026/14/03/image_01012026_14_03_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/02/image_01012026_14_02_15_9841.jpg
/home/pi/Desktop/images/01012026/14/02/image_01012026_14_02_25_9719.jpg
/home/pi/Desktop/images/01012026/14/02/image_01012026_14_02_34_9602.jpg
/home/pi/Desktop/images/01012026/14/02/image_01012026_14_03_05_10584.jpg
/home/pi/Desktop/images/01012026/14/03/image_01012026_14_03_25_9743.jpg
/home/pi/Desktop/images/01012026/14/03/image_01012026_14_03_55_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":["1402030765","1402030762","1402030756","1402030758","1402030767","1402030760"],"photo_ids_order":["1402030756","1402030758","1402030760","1402030762","1402030765","1402030767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73935e4323e26c0b1d7add29a9669cd2.jpg","text":"TemporaryFile(/tmp/multipartBody3647668771196537540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280463000,"filename":"image_01012026_14_03_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f491cd4668d3a5cdd7c04c3d85077142.jpg","text":"TemporaryFile(/tmp/multipartBody5082846634612057161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280463000,"filename":"image_01012026_14_03_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24de38b0afa4ebd783b6fb113ed7f860.jpg","text":"TemporaryFile(/tmp/multipartBody7107726298888064148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280463000,"filename":"image_01012026_14_02_15_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34a1249d15804d8c10b0a1f234ae4adf.jpg","text":"TemporaryFile(/tmp/multipartBody5023502773639704181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280463000,"filename":"image_01012026_14_02_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49d75d02dc9933e3a29908e8edeae4d3.jpg","text":"TemporaryFile(/tmp/multipartBody5924537960281298503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280463000,"filename":"image_01012026_14_03_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ab24a0a4ccdedbd23f269da127ac994.jpg","text":"TemporaryFile(/tmp/multipartBody7700138044906299983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280463000,"filename":"image_01012026_14_02_34_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030760","file1":"1402030758","file0":"1402030756","file4":"1402030765","file5":"1402030767","file3":"1402030762"},"map_files_photo_id_array":[{"photo_id":"1402030767","filename":"file5"},{"photo_id":"1402030760","filename":"file2"},{"photo_id":"1402030765","filename":"file4"},{"photo_id":"1402030758","filename":"file1"},{"photo_id":"1402030756","filename":"file0"},{"photo_id":"1402030762","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030765":["hashtag1","hashtag2"]},{"1402030762":["hashtag1","hashtag2"]},{"1402030756":["hashtag1","hashtag2"]},{"1402030758":["hashtag1","hashtag2"]},{"1402030767":["hashtag1","hashtag2"]},{"1402030760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030765, 1402030762, 1402030756, 1402030758, 1402030767, 1402030760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36972641944885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:14:03.242203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_25_9718.jpg', '/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_35_10021.jpg', '/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_55_10673.jpg', '/home/pi/Desktop/images/01012026/14/06/image_01012026_14_07_05_9658.jpg', '/home/pi/Desktop/images/01012026/14/07/image_01012026_14_07_35_10761.jpg', '/home/pi/Desktop/images/01012026/14/07/image_01012026_14_07_45_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_25_9718.jpg
/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_35_10021.jpg
/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_55_10673.jpg
/home/pi/Desktop/images/01012026/14/06/image_01012026_14_07_05_9658.jpg
/home/pi/Desktop/images/01012026/14/07/image_01012026_14_07_35_10761.jpg
/home/pi/Desktop/images/01012026/14/07/image_01012026_14_07_45_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.5912821292877197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:14:12.492533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_11_3753.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_14_2854.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_17_2705.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_20_2589.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_23_3640.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_26_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_11_3753.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_14_2854.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_17_2705.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_20_2589.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_23_3640.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_26_2615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030780","1402030774","1402030782","1402030784","1402030772","1402030777"],"photo_ids_order":["1402030772","1402030774","1402030777","1402030780","1402030782","1402030784"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/339ab9c446a2a7fc5cb6239b71ce987e.jpg","text":"TemporaryFile(/tmp/multipartBody5712048648809782519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280514229,"filename":"image_04112025_17_42_20_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2672199474cd716177bff9deb0cae517.jpg","text":"TemporaryFile(/tmp/multipartBody3209667197685553722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280514229,"filename":"image_04112025_17_42_14_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef1a9d462bab5fddb812db6aec7d6910.jpg","text":"TemporaryFile(/tmp/multipartBody4377168842279745136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280514229,"filename":"image_04112025_17_42_23_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43e873c107566a2468be9767df1d94e2.jpg","text":"TemporaryFile(/tmp/multipartBody5966983824716117836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280514229,"filename":"image_04112025_17_42_26_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b36e96bf677419dcd1a487fb6b3a91c0.jpg","text":"TemporaryFile(/tmp/multipartBody6168088236409250152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280514229,"filename":"image_04112025_17_42_11_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81111e4948eac3d586af927d8a7a2af6.jpg","text":"TemporaryFile(/tmp/multipartBody5113188933178561521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280514229,"filename":"image_04112025_17_42_17_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030777","file1":"1402030774","file0":"1402030772","file4":"1402030782","file5":"1402030784","file3":"1402030780"},"map_files_photo_id_array":[{"photo_id":"1402030784","filename":"file5"},{"photo_id":"1402030777","filename":"file2"},{"photo_id":"1402030782","filename":"file4"},{"photo_id":"1402030774","filename":"file1"},{"photo_id":"1402030772","filename":"file0"},{"photo_id":"1402030780","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030780":["hashtag1","hashtag2"]},{"1402030774":["hashtag1","hashtag2"]},{"1402030782":["hashtag1","hashtag2"]},{"1402030784":["hashtag1","hashtag2"]},{"1402030772":["hashtag1","hashtag2"]},{"1402030777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030780, 1402030774, 1402030782, 1402030784, 1402030772, 1402030777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.165513038635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:15:03.366482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_25_9718.jpg', '/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_35_10021.jpg', '/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_55_10673.jpg', '/home/pi/Desktop/images/01012026/14/06/image_01012026_14_07_05_9658.jpg', '/home/pi/Desktop/images/01012026/14/07/image_01012026_14_07_35_10761.jpg', '/home/pi/Desktop/images/01012026/14/07/image_01012026_14_07_45_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_25_9718.jpg
/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_35_10021.jpg
/home/pi/Desktop/images/01012026/14/05/image_01012026_14_05_55_10673.jpg
/home/pi/Desktop/images/01012026/14/06/image_01012026_14_07_05_9658.jpg
/home/pi/Desktop/images/01012026/14/07/image_01012026_14_07_35_10761.jpg
/home/pi/Desktop/images/01012026/14/07/image_01012026_14_07_45_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":["1402030807","1402030801","1402030800","1402030803","1402030802","1402030805"],"photo_ids_order":["1402030800","1402030801","1402030802","1402030803","1402030805","1402030807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2688fa79c98afb5d739fa3bb9481cbe6.jpg","text":"TemporaryFile(/tmp/multipartBody7124974288537594340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280564111,"filename":"image_01012026_14_07_45_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e86c502d7c39ce97e8d268e578cd9d15.jpg","text":"TemporaryFile(/tmp/multipartBody2360809981893544741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280564111,"filename":"image_01012026_14_05_35_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68df86fc675061061c23dee704bcc9e8.jpg","text":"TemporaryFile(/tmp/multipartBody3880559452776057091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280564111,"filename":"image_01012026_14_05_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dcc6aa14a44d35eb0bd022e9899ab56.jpg","text":"TemporaryFile(/tmp/multipartBody8298563809826227225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280564111,"filename":"image_01012026_14_07_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8831e95b915aa5981e2f8cbb61bc6a00.jpg","text":"TemporaryFile(/tmp/multipartBody3531330515589781986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280564111,"filename":"image_01012026_14_05_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae6c02d41a7f07b17ae485360af2df7f.jpg","text":"TemporaryFile(/tmp/multipartBody1610256080559231410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280564111,"filename":"image_01012026_14_07_35_10761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030802","file1":"1402030801","file0":"1402030800","file4":"1402030805","file5":"1402030807","file3":"1402030803"},"map_files_photo_id_array":[{"photo_id":"1402030807","filename":"file5"},{"photo_id":"1402030802","filename":"file2"},{"photo_id":"1402030805","filename":"file4"},{"photo_id":"1402030801","filename":"file1"},{"photo_id":"1402030800","filename":"file0"},{"photo_id":"1402030803","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030807":["hashtag1","hashtag2"]},{"1402030801":["hashtag1","hashtag2"]},{"1402030800":["hashtag1","hashtag2"]},{"1402030803":["hashtag1","hashtag2"]},{"1402030802":["hashtag1","hashtag2"]},{"1402030805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030807, 1402030801, 1402030800, 1402030803, 1402030802, 1402030805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37214016914368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:15:42.742504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_29_2653.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_32_3585.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_38_2772.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_41_3734.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_44_2631.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_48_4346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_29_2653.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_32_3585.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_38_2772.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_41_3734.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_44_2631.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_48_4346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030813","1402030816","1402030812","1402030815","1402030817","1402030814"],"photo_ids_order":["1402030812","1402030813","1402030814","1402030815","1402030816","1402030817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f1c9597a2aea0f2d171c2628adb900f.jpg","text":"TemporaryFile(/tmp/multipartBody3342160411810803932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280604553,"filename":"image_04112025_17_42_32_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e35bf2993f64956257d04f0f52c7a07e.jpg","text":"TemporaryFile(/tmp/multipartBody7080322646582156626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280604553,"filename":"image_04112025_17_42_44_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c5a751f8db813ec7f25ba82c1d0209f.jpg","text":"TemporaryFile(/tmp/multipartBody8441989354510331632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280604553,"filename":"image_04112025_17_42_29_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4178555b50e93240d551f35a4edb644.jpg","text":"TemporaryFile(/tmp/multipartBody753402635623511259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280604553,"filename":"image_04112025_17_42_41_3734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7cffbf38e62d187a422da802a7d5e033.jpg","text":"TemporaryFile(/tmp/multipartBody2961778459455460048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280604553,"filename":"image_04112025_17_42_48_4346.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9789ea4f46f98748e68c960b236f8d61.jpg","text":"TemporaryFile(/tmp/multipartBody7580337977811076543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280604553,"filename":"image_04112025_17_42_38_2772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030814","file1":"1402030813","file0":"1402030812","file4":"1402030816","file5":"1402030817","file3":"1402030815"},"map_files_photo_id_array":[{"photo_id":"1402030817","filename":"file5"},{"photo_id":"1402030814","filename":"file2"},{"photo_id":"1402030816","filename":"file4"},{"photo_id":"1402030813","filename":"file1"},{"photo_id":"1402030812","filename":"file0"},{"photo_id":"1402030815","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030813":["hashtag1","hashtag2"]},{"1402030816":["hashtag1","hashtag2"]},{"1402030812":["hashtag1","hashtag2"]},{"1402030815":["hashtag1","hashtag2"]},{"1402030817":["hashtag1","hashtag2"]},{"1402030814":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030813, 1402030816, 1402030812, 1402030815, 1402030817, 1402030814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.629371643066406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:16:21.893649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/08/image_01012026_14_08_15_9664.jpg', '/home/pi/Desktop/images/01012026/14/08/image_01012026_14_08_35_10688.jpg', '/home/pi/Desktop/images/01012026/14/08/image_01012026_14_09_05_10709.jpg', '/home/pi/Desktop/images/01012026/14/09/image_01012026_14_09_35_9769.jpg', '/home/pi/Desktop/images/01012026/14/09/image_01012026_14_09_45_10741.jpg', '/home/pi/Desktop/images/01012026/14/10/image_01012026_14_10_55_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/08/image_01012026_14_08_15_9664.jpg
/home/pi/Desktop/images/01012026/14/08/image_01012026_14_08_35_10688.jpg
/home/pi/Desktop/images/01012026/14/08/image_01012026_14_09_05_10709.jpg
/home/pi/Desktop/images/01012026/14/09/image_01012026_14_09_35_9769.jpg
/home/pi/Desktop/images/01012026/14/09/image_01012026_14_09_45_10741.jpg
/home/pi/Desktop/images/01012026/14/10/image_01012026_14_10_55_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030825","1402030818","1402030827","1402030829","1402030820","1402030823"],"photo_ids_order":["1402030818","1402030820","1402030823","1402030825","1402030827","1402030829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46de9e5b734183f04fd8b83fd4cff657.jpg","text":"TemporaryFile(/tmp/multipartBody1714095762636544908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280642515,"filename":"image_01012026_14_09_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94d5482285d2f0ea974b5f911389443a.jpg","text":"TemporaryFile(/tmp/multipartBody1533083287673510088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280642515,"filename":"image_01012026_14_08_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07f0f53de5fb06dcd20557f8c4be0156.jpg","text":"TemporaryFile(/tmp/multipartBody8499316045617934225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280642515,"filename":"image_01012026_14_09_45_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78a1d1092fc71856519735a471ad9b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8670625844375693371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280642515,"filename":"image_01012026_14_10_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a4a7164d934daf38a29ccd45a4fe1c5.jpg","text":"TemporaryFile(/tmp/multipartBody4379550290132431836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280642515,"filename":"image_01012026_14_08_35_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6bd3402c7f7d50b1d5a6d49ebfa6cff.jpg","text":"TemporaryFile(/tmp/multipartBody5447140693553123048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280642515,"filename":"image_01012026_14_09_05_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030823","file1":"1402030820","file0":"1402030818","file4":"1402030827","file5":"1402030829","file3":"1402030825"},"map_files_photo_id_array":[{"photo_id":"1402030829","filename":"file5"},{"photo_id":"1402030823","filename":"file2"},{"photo_id":"1402030827","filename":"file4"},{"photo_id":"1402030820","filename":"file1"},{"photo_id":"1402030818","filename":"file0"},{"photo_id":"1402030825","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030825":["hashtag1","hashtag2"]},{"1402030818":["hashtag1","hashtag2"]},{"1402030827":["hashtag1","hashtag2"]},{"1402030829":["hashtag1","hashtag2"]},{"1402030820":["hashtag1","hashtag2"]},{"1402030823":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030825, 1402030818, 1402030827, 1402030829, 1402030820, 1402030823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27851223945618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:17:02.900787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/10/image_01012026_14_11_05_10789.jpg', '/home/pi/Desktop/images/01012026/14/11/image_01012026_14_11_35_10679.jpg', '/home/pi/Desktop/images/01012026/14/11/image_01012026_14_12_05_10774.jpg', '/home/pi/Desktop/images/01012026/14/12/image_01012026_14_12_15_9637.jpg', '/home/pi/Desktop/images/01012026/14/13/image_01012026_14_13_15_9705.jpg', '/home/pi/Desktop/images/01012026/14/14/image_01012026_14_14_45_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/10/image_01012026_14_11_05_10789.jpg
/home/pi/Desktop/images/01012026/14/11/image_01012026_14_11_35_10679.jpg
/home/pi/Desktop/images/01012026/14/11/image_01012026_14_12_05_10774.jpg
/home/pi/Desktop/images/01012026/14/12/image_01012026_14_12_15_9637.jpg
/home/pi/Desktop/images/01012026/14/13/image_01012026_14_13_15_9705.jpg
/home/pi/Desktop/images/01012026/14/14/image_01012026_14_14_45_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":["1402030831","1402030834","1402030837","1402030833","1402030835","1402030832"],"photo_ids_order":["1402030831","1402030832","1402030833","1402030834","1402030835","1402030837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/467115ac6b89f2a56b114261948fb182.jpg","text":"TemporaryFile(/tmp/multipartBody6755169943933511547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280683638,"filename":"image_01012026_14_11_05_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5a599f3d6c558f9b88944a2ce6c986f.jpg","text":"TemporaryFile(/tmp/multipartBody245578202459072148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280683638,"filename":"image_01012026_14_12_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83c1490431c94f4f1b20e880afff59fd.jpg","text":"TemporaryFile(/tmp/multipartBody2333939204718601071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280683638,"filename":"image_01012026_14_14_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94f24dc5eefd1729378935ebbeadf81f.jpg","text":"TemporaryFile(/tmp/multipartBody8021365597958061127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280683638,"filename":"image_01012026_14_12_05_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3156ba516774a649f274832dd13143a.jpg","text":"TemporaryFile(/tmp/multipartBody4523099395138314553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280683638,"filename":"image_01012026_14_13_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73b938e991128cf624887f246a81c794.jpg","text":"TemporaryFile(/tmp/multipartBody1764838162532377789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280683638,"filename":"image_01012026_14_11_35_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030833","file1":"1402030832","file0":"1402030831","file4":"1402030835","file5":"1402030837","file3":"1402030834"},"map_files_photo_id_array":[{"photo_id":"1402030837","filename":"file5"},{"photo_id":"1402030833","filename":"file2"},{"photo_id":"1402030835","filename":"file4"},{"photo_id":"1402030832","filename":"file1"},{"photo_id":"1402030831","filename":"file0"},{"photo_id":"1402030834","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030831":["hashtag1","hashtag2"]},{"1402030834":["hashtag1","hashtag2"]},{"1402030837":["hashtag1","hashtag2"]},{"1402030833":["hashtag1","hashtag2"]},{"1402030835":["hashtag1","hashtag2"]},{"1402030832":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030831, 1402030834, 1402030837, 1402030833, 1402030835, 1402030832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85066270828247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:17:42.250680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_50_1774.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_57_7008.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_59_1601.jpg', '/home/pi/Desktop/images/04112025/17/42/image_04112025_17_43_00_1691.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_02_1631.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_05_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_50_1774.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_57_7008.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_42_59_1601.jpg
/home/pi/Desktop/images/04112025/17/42/image_04112025_17_43_00_1691.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_02_1631.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_05_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":["1402030858","1402030855","1402030854","1402030857","1402030853","1402030856"],"photo_ids_order":["1402030853","1402030854","1402030855","1402030856","1402030857","1402030858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1c6f68f944ee3511f854e6eea494f45.jpg","text":"TemporaryFile(/tmp/multipartBody1350133502921751951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280726954,"filename":"image_04112025_17_43_05_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d7300dcd3ba7470c0bcbf0d8e067e11.jpg","text":"TemporaryFile(/tmp/multipartBody1856795478308036001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280726954,"filename":"image_04112025_17_42_59_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f224eea5e439cd339fbf19e4cd604ef7.jpg","text":"TemporaryFile(/tmp/multipartBody8311883214624078074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280726954,"filename":"image_04112025_17_42_57_7008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/688587f1a886ae7d8caf7e04c866dc63.jpg","text":"TemporaryFile(/tmp/multipartBody3784597419727086483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280726954,"filename":"image_04112025_17_43_02_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c71e68b661d13bcea54b7ea2cce26e9d.jpg","text":"TemporaryFile(/tmp/multipartBody6453448893594078237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280726954,"filename":"image_04112025_17_42_50_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0b78a477bd41fd428856fed9ea508dd.jpg","text":"TemporaryFile(/tmp/multipartBody1735645227390030968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280726954,"filename":"image_04112025_17_43_00_1691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030855","file1":"1402030854","file0":"1402030853","file4":"1402030857","file5":"1402030858","file3":"1402030856"},"map_files_photo_id_array":[{"photo_id":"1402030858","filename":"file5"},{"photo_id":"1402030855","filename":"file2"},{"photo_id":"1402030857","filename":"file4"},{"photo_id":"1402030854","filename":"file1"},{"photo_id":"1402030853","filename":"file0"},{"photo_id":"1402030856","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030858":["hashtag1","hashtag2"]},{"1402030855":["hashtag1","hashtag2"]},{"1402030854":["hashtag1","hashtag2"]},{"1402030857":["hashtag1","hashtag2"]},{"1402030853":["hashtag1","hashtag2"]},{"1402030856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030858, 1402030855, 1402030854, 1402030857, 1402030853, 1402030856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.497504234313965 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
2026-01-01 16:18:32.381038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_08_3709.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_16_7376.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_17_1595.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_19_1554.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_21_1656.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_30_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_08_3709.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_16_7376.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_17_1595.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_19_1554.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_21_1656.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_30_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":["1402030870","1402030864","1402030867","1402030872","1402030871","1402030862"],"photo_ids_order":["1402030862","1402030864","1402030867","1402030870","1402030871","1402030872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb44bb1374989b09c9b7f5b494dc3892.jpg","text":"TemporaryFile(/tmp/multipartBody6651837131270915046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280774158,"filename":"image_04112025_17_43_19_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/451d9bfb7881e594856846b379e98969.jpg","text":"TemporaryFile(/tmp/multipartBody270325323501760932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280774158,"filename":"image_04112025_17_43_16_7376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7ba9ff435e99b7345693472b901b14b.jpg","text":"TemporaryFile(/tmp/multipartBody2925032633519564457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280774158,"filename":"image_04112025_17_43_17_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/081657162c0673173e67db8aaaafdbcc.jpg","text":"TemporaryFile(/tmp/multipartBody5671420435783329730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280774158,"filename":"image_04112025_17_43_30_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/258090a42913b39407e81f93f27626c2.jpg","text":"TemporaryFile(/tmp/multipartBody7802073907166042146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280774158,"filename":"image_04112025_17_43_21_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/611eb9557647b04f5b96ebe4ed68129e.jpg","text":"TemporaryFile(/tmp/multipartBody8937017994114372845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280774158,"filename":"image_04112025_17_43_08_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030867","file1":"1402030864","file0":"1402030862","file4":"1402030871","file5":"1402030872","file3":"1402030870"},"map_files_photo_id_array":[{"photo_id":"1402030872","filename":"file5"},{"photo_id":"1402030867","filename":"file2"},{"photo_id":"1402030871","filename":"file4"},{"photo_id":"1402030864","filename":"file1"},{"photo_id":"1402030862","filename":"file0"},{"photo_id":"1402030870","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030870":["hashtag1","hashtag2"]},{"1402030864":["hashtag1","hashtag2"]},{"1402030867":["hashtag1","hashtag2"]},{"1402030872":["hashtag1","hashtag2"]},{"1402030871":["hashtag1","hashtag2"]},{"1402030862":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030870, 1402030864, 1402030867, 1402030872, 1402030871, 1402030862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.598262310028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:19:12.497887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_32_1637.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_33_1624.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_35_1645.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_37_1688.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_39_1693.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_41_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_32_1637.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_33_1624.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_35_1645.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_37_1688.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_39_1693.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_41_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":["1402030881","1402030875","1402030878","1402030883","1402030874","1402030876"],"photo_ids_order":["1402030874","1402030875","1402030876","1402030878","1402030881","1402030883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0d1fbdf946ee70c91cd5b95e7a154eb.jpg","text":"TemporaryFile(/tmp/multipartBody9146859835844057799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280814152,"filename":"image_04112025_17_43_39_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb1ea8e4830f691530966b68267e7f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1969799536079526611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280814152,"filename":"image_04112025_17_43_33_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2b87e2901e65cf04f68663f30304852.jpg","text":"TemporaryFile(/tmp/multipartBody5808771936931469243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280814152,"filename":"image_04112025_17_43_37_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e11bac07cc4f5e1df08e0bc19c80652a.jpg","text":"TemporaryFile(/tmp/multipartBody2452699985659614827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280814152,"filename":"image_04112025_17_43_41_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e4af1b23bf21e75a44fa06c8ca60619.jpg","text":"TemporaryFile(/tmp/multipartBody9102667744329513001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280814152,"filename":"image_04112025_17_43_32_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ed5f7a802f015e293e9c8057a2bde79.jpg","text":"TemporaryFile(/tmp/multipartBody8651520674388265890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280814152,"filename":"image_04112025_17_43_35_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030876","file1":"1402030875","file0":"1402030874","file4":"1402030881","file5":"1402030883","file3":"1402030878"},"map_files_photo_id_array":[{"photo_id":"1402030883","filename":"file5"},{"photo_id":"1402030876","filename":"file2"},{"photo_id":"1402030881","filename":"file4"},{"photo_id":"1402030875","filename":"file1"},{"photo_id":"1402030874","filename":"file0"},{"photo_id":"1402030878","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030881":["hashtag1","hashtag2"]},{"1402030875":["hashtag1","hashtag2"]},{"1402030878":["hashtag1","hashtag2"]},{"1402030883":["hashtag1","hashtag2"]},{"1402030874":["hashtag1","hashtag2"]},{"1402030876":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030881, 1402030875, 1402030878, 1402030883, 1402030874, 1402030876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5337336063385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:20:03.207071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/14/image_01012026_14_15_05_9641.jpg', '/home/pi/Desktop/images/01012026/14/15/image_01012026_14_15_15_10659.jpg', '/home/pi/Desktop/images/01012026/14/15/image_01012026_14_15_45_9813.jpg', '/home/pi/Desktop/images/01012026/14/16/image_01012026_14_16_35_9784.jpg', '/home/pi/Desktop/images/01012026/14/16/image_01012026_14_17_05_9809.jpg', '/home/pi/Desktop/images/01012026/14/17/image_01012026_14_17_35_9821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/14/image_01012026_14_15_05_9641.jpg
/home/pi/Desktop/images/01012026/14/15/image_01012026_14_15_15_10659.jpg
/home/pi/Desktop/images/01012026/14/15/image_01012026_14_15_45_9813.jpg
/home/pi/Desktop/images/01012026/14/16/image_01012026_14_16_35_9784.jpg
/home/pi/Desktop/images/01012026/14/16/image_01012026_14_17_05_9809.jpg
/home/pi/Desktop/images/01012026/14/17/image_01012026_14_17_35_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":["1402030891","1402030893","1402030887","1402030895","1402030889","1402030888"],"photo_ids_order":["1402030887","1402030888","1402030889","1402030891","1402030893","1402030895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a608a5780a3e47640ff31cc291c3185.jpg","text":"TemporaryFile(/tmp/multipartBody4245931460043152057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280863830,"filename":"image_01012026_14_16_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/152ff2bd5ed55876e47c5d1398feadca.jpg","text":"TemporaryFile(/tmp/multipartBody2907544967808198305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280863830,"filename":"image_01012026_14_17_05_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2da568cb91b961e7c6c6654a39fbe155.jpg","text":"TemporaryFile(/tmp/multipartBody6609408914646288737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280863830,"filename":"image_01012026_14_15_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a38ffe6cf6d1e8a4a246373a6032918b.jpg","text":"TemporaryFile(/tmp/multipartBody702604508140701819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280863830,"filename":"image_01012026_14_17_35_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6405ebb695468496c96f2c4f04204118.jpg","text":"TemporaryFile(/tmp/multipartBody7619702892802031547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280863830,"filename":"image_01012026_14_15_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35541d221bafc20a5f59794b8839e46c.jpg","text":"TemporaryFile(/tmp/multipartBody3547068242242048511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280863830,"filename":"image_01012026_14_15_15_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030889","file1":"1402030888","file0":"1402030887","file4":"1402030893","file5":"1402030895","file3":"1402030891"},"map_files_photo_id_array":[{"photo_id":"1402030895","filename":"file5"},{"photo_id":"1402030889","filename":"file2"},{"photo_id":"1402030893","filename":"file4"},{"photo_id":"1402030888","filename":"file1"},{"photo_id":"1402030887","filename":"file0"},{"photo_id":"1402030891","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030891":["hashtag1","hashtag2"]},{"1402030893":["hashtag1","hashtag2"]},{"1402030887":["hashtag1","hashtag2"]},{"1402030895":["hashtag1","hashtag2"]},{"1402030889":["hashtag1","hashtag2"]},{"1402030888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030891, 1402030893, 1402030887, 1402030895, 1402030889, 1402030888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61737132072449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:20:42.773163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_44_2663.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_46_2615.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_50_3471.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_53_2700.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_56_3708.jpg', '/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_59_2541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_44_2663.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_46_2615.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_50_3471.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_53_2700.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_56_3708.jpg
/home/pi/Desktop/images/04112025/17/43/image_04112025_17_43_59_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":["1402030912","1402030915","1402030900","1402030917","1402030914","1402030913"],"photo_ids_order":["1402030900","1402030912","1402030913","1402030914","1402030915","1402030917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44be94a64f4b2d3c00bf0096a944f478.jpg","text":"TemporaryFile(/tmp/multipartBody6182415127108424557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280904493,"filename":"image_04112025_17_43_46_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9da6f574af7065b810f6cfc4e6c2090.jpg","text":"TemporaryFile(/tmp/multipartBody5309079715700216774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280904493,"filename":"image_04112025_17_43_56_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99d97e048e303a690400b6e4c757d721.jpg","text":"TemporaryFile(/tmp/multipartBody8222264416556924161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280904493,"filename":"image_04112025_17_43_44_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb0a0b60b6b84c8cb54739e61ccb95bb.jpg","text":"TemporaryFile(/tmp/multipartBody9221786593576413264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280904493,"filename":"image_04112025_17_43_59_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31533c9c0f1f40e3515b787f5a92b771.jpg","text":"TemporaryFile(/tmp/multipartBody1509654546239025065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280904493,"filename":"image_04112025_17_43_53_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/749844f798edfd568fb4e12579e4dd4b.jpg","text":"TemporaryFile(/tmp/multipartBody9122712517955008505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280904493,"filename":"image_04112025_17_43_50_3471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030913","file1":"1402030912","file0":"1402030900","file4":"1402030915","file5":"1402030917","file3":"1402030914"},"map_files_photo_id_array":[{"photo_id":"1402030917","filename":"file5"},{"photo_id":"1402030913","filename":"file2"},{"photo_id":"1402030915","filename":"file4"},{"photo_id":"1402030912","filename":"file1"},{"photo_id":"1402030900","filename":"file0"},{"photo_id":"1402030914","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030912":["hashtag1","hashtag2"]},{"1402030915":["hashtag1","hashtag2"]},{"1402030900":["hashtag1","hashtag2"]},{"1402030917":["hashtag1","hashtag2"]},{"1402030914":["hashtag1","hashtag2"]},{"1402030913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030912, 1402030915, 1402030900, 1402030917, 1402030914, 1402030913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81639361381531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:21:21.959229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/17/image_01012026_14_18_05_9866.jpg', '/home/pi/Desktop/images/01012026/14/18/image_01012026_14_18_35_9762.jpg', '/home/pi/Desktop/images/01012026/14/19/image_01012026_14_19_35_9228.jpg', '/home/pi/Desktop/images/01012026/14/19/image_01012026_14_20_05_9721.jpg', '/home/pi/Desktop/images/01012026/14/20/image_01012026_14_20_35_9644.jpg', '/home/pi/Desktop/images/01012026/14/21/image_01012026_14_21_25_7712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/17/image_01012026_14_18_05_9866.jpg
/home/pi/Desktop/images/01012026/14/18/image_01012026_14_18_35_9762.jpg
/home/pi/Desktop/images/01012026/14/19/image_01012026_14_19_35_9228.jpg
/home/pi/Desktop/images/01012026/14/19/image_01012026_14_20_05_9721.jpg
/home/pi/Desktop/images/01012026/14/20/image_01012026_14_20_35_9644.jpg
/home/pi/Desktop/images/01012026/14/21/image_01012026_14_21_25_7712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030930","1402030927","1402030918","1402030923","1402030920","1402030925"],"photo_ids_order":["1402030918","1402030920","1402030923","1402030925","1402030927","1402030930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dd1c4924b75e4f59c16d632dab8d1ac.jpg","text":"TemporaryFile(/tmp/multipartBody2427623219844981281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280942569,"filename":"image_01012026_14_21_25_7712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef24c90f1022753f846b57c80209eb94.jpg","text":"TemporaryFile(/tmp/multipartBody5820507899270683829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280942569,"filename":"image_01012026_14_20_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb4567656a528f5ff4835fce030d37ae.jpg","text":"TemporaryFile(/tmp/multipartBody8100782313420723426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280942569,"filename":"image_01012026_14_18_05_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f22319cebb8a6a855fda308b62a9566d.jpg","text":"TemporaryFile(/tmp/multipartBody6963823998394759109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280942569,"filename":"image_01012026_14_19_35_9228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94412dbef0c5bf3f1a448aa835bba2ee.jpg","text":"TemporaryFile(/tmp/multipartBody2465232967297830096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280942569,"filename":"image_01012026_14_18_35_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d78e6476b689a36b76dc77fae0215ce.jpg","text":"TemporaryFile(/tmp/multipartBody3971272506758132981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280942569,"filename":"image_01012026_14_20_05_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030923","file1":"1402030920","file0":"1402030918","file4":"1402030927","file5":"1402030930","file3":"1402030925"},"map_files_photo_id_array":[{"photo_id":"1402030930","filename":"file5"},{"photo_id":"1402030923","filename":"file2"},{"photo_id":"1402030927","filename":"file4"},{"photo_id":"1402030920","filename":"file1"},{"photo_id":"1402030918","filename":"file0"},{"photo_id":"1402030925","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030930":["hashtag1","hashtag2"]},{"1402030927":["hashtag1","hashtag2"]},{"1402030918":["hashtag1","hashtag2"]},{"1402030923":["hashtag1","hashtag2"]},{"1402030920":["hashtag1","hashtag2"]},{"1402030925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030930, 1402030927, 1402030918, 1402030923, 1402030920, 1402030925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06376671791077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:22:02.579023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/21/image_01012026_14_21_35_9766.jpg', '/home/pi/Desktop/images/01012026/14/21/image_01012026_14_21_45_9714.jpg', '/home/pi/Desktop/images/01012026/14/21/image_01012026_14_21_55_10598.jpg', '/home/pi/Desktop/images/01012026/14/22/image_01012026_14_22_35_9330.jpg', '/home/pi/Desktop/images/01012026/14/22/image_01012026_14_22_45_10626.jpg', '/home/pi/Desktop/images/01012026/14/22/image_01012026_14_22_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/21/image_01012026_14_21_35_9766.jpg
/home/pi/Desktop/images/01012026/14/21/image_01012026_14_21_45_9714.jpg
/home/pi/Desktop/images/01012026/14/21/image_01012026_14_21_55_10598.jpg
/home/pi/Desktop/images/01012026/14/22/image_01012026_14_22_35_9330.jpg
/home/pi/Desktop/images/01012026/14/22/image_01012026_14_22_45_10626.jpg
/home/pi/Desktop/images/01012026/14/22/image_01012026_14_22_55_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":["1402030939","1402030933","1402030936","1402030935","1402030932","1402030934"],"photo_ids_order":["1402030932","1402030933","1402030934","1402030935","1402030936","1402030939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87aaade2f6b38e8c56cbe68a0284c903.jpg","text":"TemporaryFile(/tmp/multipartBody3218325095271187651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280983227,"filename":"image_01012026_14_22_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f11ad5dc05ae83c5c3f6823e467ff93a.jpg","text":"TemporaryFile(/tmp/multipartBody2774252504711799452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280983227,"filename":"image_01012026_14_21_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47bb92b64255debe4a49c616e87f661e.jpg","text":"TemporaryFile(/tmp/multipartBody8616959770388648124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280983227,"filename":"image_01012026_14_22_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4940e91fcf76f53f8843eb998dbd5f32.jpg","text":"TemporaryFile(/tmp/multipartBody3584419143230201541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280983227,"filename":"image_01012026_14_22_35_9330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41979157a8ef9595fdf8786e27872fff.jpg","text":"TemporaryFile(/tmp/multipartBody2719691944386942080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280983227,"filename":"image_01012026_14_21_35_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbe77cff49edfc3069c7108d98636ab3.jpg","text":"TemporaryFile(/tmp/multipartBody642695218611663699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767280983227,"filename":"image_01012026_14_21_55_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030934","file1":"1402030933","file0":"1402030932","file4":"1402030936","file5":"1402030939","file3":"1402030935"},"map_files_photo_id_array":[{"photo_id":"1402030939","filename":"file5"},{"photo_id":"1402030934","filename":"file2"},{"photo_id":"1402030936","filename":"file4"},{"photo_id":"1402030933","filename":"file1"},{"photo_id":"1402030932","filename":"file0"},{"photo_id":"1402030935","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030939":["hashtag1","hashtag2"]},{"1402030933":["hashtag1","hashtag2"]},{"1402030936":["hashtag1","hashtag2"]},{"1402030935":["hashtag1","hashtag2"]},{"1402030932":["hashtag1","hashtag2"]},{"1402030934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030939, 1402030933, 1402030936, 1402030935, 1402030932, 1402030934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74171495437622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:22:42.130334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_02_2742.jpg', '/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_05_3248.jpg', '/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_07_2549.jpg', '/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_11_3618.jpg', '/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_18_6656.jpg', '/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_19_1591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_02_2742.jpg
/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_05_3248.jpg
/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_07_2549.jpg
/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_11_3618.jpg
/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_18_6656.jpg
/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_19_1591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030951","1402030953","1402030950","1402030947","1402030952","1402030949"],"photo_ids_order":["1402030947","1402030949","1402030950","1402030951","1402030952","1402030953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a2949d8e20eb8ed2688477207dedfd4.jpg","text":"TemporaryFile(/tmp/multipartBody5992363401502839170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281023889,"filename":"image_04112025_17_44_11_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/656e8aa5baea166a7ae032c6e67ddaa6.jpg","text":"TemporaryFile(/tmp/multipartBody1694431612938948809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281023889,"filename":"image_04112025_17_44_19_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c22b3d96ad62a6a1feca7d0d936fd02.jpg","text":"TemporaryFile(/tmp/multipartBody3239825995039530351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281023889,"filename":"image_04112025_17_44_07_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10d35f1ee84c244d19dfc42311601c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6644032409433075960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281023889,"filename":"image_04112025_17_44_02_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd13f095626dec34d2d85c659f0b4291.jpg","text":"TemporaryFile(/tmp/multipartBody8538092064716477123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281023889,"filename":"image_04112025_17_44_18_6656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f0dda29b0a5f93c3979db62de31ccd8.jpg","text":"TemporaryFile(/tmp/multipartBody8350659636635167925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281023889,"filename":"image_04112025_17_44_05_3248.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030950","file1":"1402030949","file0":"1402030947","file4":"1402030952","file5":"1402030953","file3":"1402030951"},"map_files_photo_id_array":[{"photo_id":"1402030953","filename":"file5"},{"photo_id":"1402030950","filename":"file2"},{"photo_id":"1402030952","filename":"file4"},{"photo_id":"1402030949","filename":"file1"},{"photo_id":"1402030947","filename":"file0"},{"photo_id":"1402030951","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030951":["hashtag1","hashtag2"]},{"1402030953":["hashtag1","hashtag2"]},{"1402030950":["hashtag1","hashtag2"]},{"1402030947":["hashtag1","hashtag2"]},{"1402030952":["hashtag1","hashtag2"]},{"1402030949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030951, 1402030953, 1402030950, 1402030947, 1402030952, 1402030949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00682878494263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:23:23.023505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/22/image_01012026_14_23_05_9733.jpg', '/home/pi/Desktop/images/01012026/14/23/image_01012026_14_23_14_9774.jpg', '/home/pi/Desktop/images/01012026/14/23/image_01012026_14_23_35_9688.jpg', '/home/pi/Desktop/images/01012026/14/23/image_01012026_14_23_45_9725.jpg', '/home/pi/Desktop/images/01012026/14/23/image_01012026_14_23_55_10311.jpg', '/home/pi/Desktop/images/01012026/14/24/image_01012026_14_24_15_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/22/image_01012026_14_23_05_9733.jpg
/home/pi/Desktop/images/01012026/14/23/image_01012026_14_23_14_9774.jpg
/home/pi/Desktop/images/01012026/14/23/image_01012026_14_23_35_9688.jpg
/home/pi/Desktop/images/01012026/14/23/image_01012026_14_23_45_9725.jpg
/home/pi/Desktop/images/01012026/14/23/image_01012026_14_23_55_10311.jpg
/home/pi/Desktop/images/01012026/14/24/image_01012026_14_24_15_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030978","1402030966","1402030962","1402030956","1402030958","1402030960"],"photo_ids_order":["1402030956","1402030958","1402030960","1402030962","1402030966","1402030978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10bddcecdfd47d18e31f447b5db946c3.jpg","text":"TemporaryFile(/tmp/multipartBody3105049782248005884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281067032,"filename":"image_01012026_14_24_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd8cd5c27b03d7dd7a18e5b15b375b8b.jpg","text":"TemporaryFile(/tmp/multipartBody718785920562254442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281067032,"filename":"image_01012026_14_23_55_10311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c345fde86ecce532ca679694e3626be.jpg","text":"TemporaryFile(/tmp/multipartBody7186126949748196451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281067032,"filename":"image_01012026_14_23_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9477d30a84190eded14547051bfb22f9.jpg","text":"TemporaryFile(/tmp/multipartBody5878679730412355627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281067032,"filename":"image_01012026_14_23_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a55195368c5fca0aa21ffe3332bab384.jpg","text":"TemporaryFile(/tmp/multipartBody3085488507318920792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281067032,"filename":"image_01012026_14_23_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c05ff7cbddb47a6bf5e0442438b1421d.jpg","text":"TemporaryFile(/tmp/multipartBody7858306156163869710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281067032,"filename":"image_01012026_14_23_35_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030960","file1":"1402030958","file0":"1402030956","file4":"1402030966","file5":"1402030978","file3":"1402030962"},"map_files_photo_id_array":[{"photo_id":"1402030978","filename":"file5"},{"photo_id":"1402030960","filename":"file2"},{"photo_id":"1402030966","filename":"file4"},{"photo_id":"1402030958","filename":"file1"},{"photo_id":"1402030956","filename":"file0"},{"photo_id":"1402030962","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030978":["hashtag1","hashtag2"]},{"1402030966":["hashtag1","hashtag2"]},{"1402030962":["hashtag1","hashtag2"]},{"1402030956":["hashtag1","hashtag2"]},{"1402030958":["hashtag1","hashtag2"]},{"1402030960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030978, 1402030966, 1402030962, 1402030956, 1402030958, 1402030960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39189672470093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:24:03.177619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/24/image_01012026_14_24_25_9674.jpg', '/home/pi/Desktop/images/01012026/14/24/image_01012026_14_24_35_10370.jpg', '/home/pi/Desktop/images/01012026/14/24/image_01012026_14_25_05_10627.jpg', '/home/pi/Desktop/images/01012026/14/25/image_01012026_14_25_15_9697.jpg', '/home/pi/Desktop/images/01012026/14/25/image_01012026_14_25_34_9636.jpg', '/home/pi/Desktop/images/01012026/14/26/image_01012026_14_26_15_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/24/image_01012026_14_24_25_9674.jpg
/home/pi/Desktop/images/01012026/14/24/image_01012026_14_24_35_10370.jpg
/home/pi/Desktop/images/01012026/14/24/image_01012026_14_25_05_10627.jpg
/home/pi/Desktop/images/01012026/14/25/image_01012026_14_25_15_9697.jpg
/home/pi/Desktop/images/01012026/14/25/image_01012026_14_25_34_9636.jpg
/home/pi/Desktop/images/01012026/14/26/image_01012026_14_26_15_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
<Response [200]>
b'{"photo_ids":["1402030984","1402030989","1402030983","1402030982","1402030991","1402030985"],"photo_ids_order":["1402030982","1402030983","1402030984","1402030985","1402030989","1402030991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/594d3799c68a92306bf570050c5074e7.jpg","text":"TemporaryFile(/tmp/multipartBody4607797593481941905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281103892,"filename":"image_01012026_14_25_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d6e2b28f0b6c59cb25fd91adb6c4e40.jpg","text":"TemporaryFile(/tmp/multipartBody3833854941298874276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281103892,"filename":"image_01012026_14_25_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc3723b47a6699605af1867e2263fc3d.jpg","text":"TemporaryFile(/tmp/multipartBody1258286903005859397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281103892,"filename":"image_01012026_14_24_35_10370.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f43eac5419148bc44d77ef3d466cc24.jpg","text":"TemporaryFile(/tmp/multipartBody3266269083545909011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281103892,"filename":"image_01012026_14_24_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4249dcb505ca60ecb6f20f262db5980e.jpg","text":"TemporaryFile(/tmp/multipartBody2539953857213159583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281103892,"filename":"image_01012026_14_26_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97b57abedb10a4abe922905455c37835.jpg","text":"TemporaryFile(/tmp/multipartBody5093928977460990461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281103892,"filename":"image_01012026_14_25_15_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030984","file1":"1402030983","file0":"1402030982","file4":"1402030989","file5":"1402030991","file3":"1402030985"},"map_files_photo_id_array":[{"photo_id":"1402030991","filename":"file5"},{"photo_id":"1402030984","filename":"file2"},{"photo_id":"1402030989","filename":"file4"},{"photo_id":"1402030983","filename":"file1"},{"photo_id":"1402030982","filename":"file0"},{"photo_id":"1402030985","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402030984":["hashtag1","hashtag2"]},{"1402030989":["hashtag1","hashtag2"]},{"1402030983":["hashtag1","hashtag2"]},{"1402030982":["hashtag1","hashtag2"]},{"1402030991":["hashtag1","hashtag2"]},{"1402030985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402030984, 1402030989, 1402030983, 1402030982, 1402030991, 1402030985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.987548828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:24:42.384511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_35_15819.jpg', '/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_55_20082.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_07_3011.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_10_3567.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_13_2643.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_16_3522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_35_15819.jpg
/home/pi/Desktop/images/04112025/17/44/image_04112025_17_44_55_20082.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_07_3011.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_10_3567.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_13_2643.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_16_3522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402030999","1402031002","1402030998","1402031001","1402031000","1402030996"],"photo_ids_order":["1402030996","1402030998","1402030999","1402031000","1402031001","1402031002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5d75dad505b1d88614021c577bb6f36.jpg","text":"TemporaryFile(/tmp/multipartBody6432721842640430578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281144047,"filename":"image_04112025_17_46_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b395e2ef6c9ec79bc9f6c0bdf14bb090.jpg","text":"TemporaryFile(/tmp/multipartBody793531263655677764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281144047,"filename":"image_04112025_17_46_16_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a97dfb42fbea8762db9f6bb0e2e8db3.jpg","text":"TemporaryFile(/tmp/multipartBody1157877560598869972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281144047,"filename":"image_04112025_17_44_55_20082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec710cb28efee831012444b766d138e3.jpg","text":"TemporaryFile(/tmp/multipartBody7712259823250230595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281144047,"filename":"image_04112025_17_46_13_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5745edda114c79e0afa9798855b0a06.jpg","text":"TemporaryFile(/tmp/multipartBody3364310305318171152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281144047,"filename":"image_04112025_17_46_10_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74ea43ecc9e2e2ff0958b4f3d69fb486.jpg","text":"TemporaryFile(/tmp/multipartBody3948706693575550289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281144047,"filename":"image_04112025_17_44_35_15819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402030999","file1":"1402030998","file0":"1402030996","file4":"1402031001","file5":"1402031002","file3":"1402031000"},"map_files_photo_id_array":[{"photo_id":"1402031002","filename":"file5"},{"photo_id":"1402030999","filename":"file2"},{"photo_id":"1402031001","filename":"file4"},{"photo_id":"1402030998","filename":"file1"},{"photo_id":"1402030996","filename":"file0"},{"photo_id":"1402031000","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402030999":["hashtag1","hashtag2"]},{"1402031002":["hashtag1","hashtag2"]},{"1402030998":["hashtag1","hashtag2"]},{"1402031001":["hashtag1","hashtag2"]},{"1402031000":["hashtag1","hashtag2"]},{"1402030996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402030999, 1402031002, 1402030998, 1402031001, 1402031000, 1402030996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00585651397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:25:22.629698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/26/image_01012026_14_26_35_9825.jpg', '/home/pi/Desktop/images/01012026/14/26/image_01012026_14_26_55_10851.jpg', '/home/pi/Desktop/images/01012026/14/26/image_01012026_14_27_05_9921.jpg', '/home/pi/Desktop/images/01012026/14/27/image_01012026_14_27_15_9762.jpg', '/home/pi/Desktop/images/01012026/14/27/image_01012026_14_27_25_9680.jpg', '/home/pi/Desktop/images/01012026/14/27/image_01012026_14_27_45_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/26/image_01012026_14_26_35_9825.jpg
/home/pi/Desktop/images/01012026/14/26/image_01012026_14_26_55_10851.jpg
/home/pi/Desktop/images/01012026/14/26/image_01012026_14_27_05_9921.jpg
/home/pi/Desktop/images/01012026/14/27/image_01012026_14_27_15_9762.jpg
/home/pi/Desktop/images/01012026/14/27/image_01012026_14_27_25_9680.jpg
/home/pi/Desktop/images/01012026/14/27/image_01012026_14_27_45_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":["1402031011","1402031005","1402031016","1402031013","1402031007","1402031009"],"photo_ids_order":["1402031005","1402031007","1402031009","1402031011","1402031013","1402031016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a3c33169d89a150cd0d7907d68e44b3.jpg","text":"TemporaryFile(/tmp/multipartBody1154907217657475123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281183264,"filename":"image_01012026_14_27_15_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f2cb4cb797550e1c92b0d03fcef0e84.jpg","text":"TemporaryFile(/tmp/multipartBody3246171162077110889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281183264,"filename":"image_01012026_14_26_35_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0852650b007f51604fdd23dc1e48a8bf.jpg","text":"TemporaryFile(/tmp/multipartBody9016804953863437225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281183264,"filename":"image_01012026_14_27_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e6a8b28a6b606be632de6c7f5fc5368.jpg","text":"TemporaryFile(/tmp/multipartBody2742805601158867426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281183264,"filename":"image_01012026_14_27_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c57fc0761af15104b6204f8d996f7c4.jpg","text":"TemporaryFile(/tmp/multipartBody557016923861865012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281183264,"filename":"image_01012026_14_26_55_10851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ecc602cf3530d21e9f8ea3242849bbc.jpg","text":"TemporaryFile(/tmp/multipartBody1084994007970861551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281183264,"filename":"image_01012026_14_27_05_9921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031009","file1":"1402031007","file0":"1402031005","file4":"1402031013","file5":"1402031016","file3":"1402031011"},"map_files_photo_id_array":[{"photo_id":"1402031016","filename":"file5"},{"photo_id":"1402031009","filename":"file2"},{"photo_id":"1402031013","filename":"file4"},{"photo_id":"1402031007","filename":"file1"},{"photo_id":"1402031005","filename":"file0"},{"photo_id":"1402031011","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031011":["hashtag1","hashtag2"]},{"1402031005":["hashtag1","hashtag2"]},{"1402031016":["hashtag1","hashtag2"]},{"1402031013":["hashtag1","hashtag2"]},{"1402031007":["hashtag1","hashtag2"]},{"1402031009":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031011, 1402031005, 1402031016, 1402031013, 1402031007, 1402031009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72768259048462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:26:03.158728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/27/image_01012026_14_27_55_9653.jpg', '/home/pi/Desktop/images/01012026/14/28/image_01012026_14_28_15_9685.jpg', '/home/pi/Desktop/images/01012026/14/28/image_01012026_14_28_35_10573.jpg', '/home/pi/Desktop/images/01012026/14/29/image_01012026_14_29_55_7703.jpg', '/home/pi/Desktop/images/01012026/14/30/image_01012026_14_30_25_10806.jpg', '/home/pi/Desktop/images/01012026/14/30/image_01012026_14_30_35_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/27/image_01012026_14_27_55_9653.jpg
/home/pi/Desktop/images/01012026/14/28/image_01012026_14_28_15_9685.jpg
/home/pi/Desktop/images/01012026/14/28/image_01012026_14_28_35_10573.jpg
/home/pi/Desktop/images/01012026/14/29/image_01012026_14_29_55_7703.jpg
/home/pi/Desktop/images/01012026/14/30/image_01012026_14_30_25_10806.jpg
/home/pi/Desktop/images/01012026/14/30/image_01012026_14_30_35_9735.jpg
 val : 1 : upload photos already in 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":["1402031020","1402031017","1402031022","1402031025","1402031019","1402031018"],"photo_ids_order":["1402031017","1402031018","1402031019","1402031020","1402031022","1402031025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d49046f35cb3b562ba915854d34047e.jpg","text":"TemporaryFile(/tmp/multipartBody2899884594299804847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281224735,"filename":"image_01012026_14_29_55_7703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2db3be018382f2d959d81919e639149.jpg","text":"TemporaryFile(/tmp/multipartBody811076013193755991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281224735,"filename":"image_01012026_14_27_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd6b48546feaf87645e25f7a924a0153.jpg","text":"TemporaryFile(/tmp/multipartBody7640359004959145878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281224735,"filename":"image_01012026_14_30_25_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5abdb2cfcb7edad6d4a7a39fdd13abf.jpg","text":"TemporaryFile(/tmp/multipartBody5507347914068454251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281224735,"filename":"image_01012026_14_30_35_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/830fe13abdc317bc21a67d7f91634e14.jpg","text":"TemporaryFile(/tmp/multipartBody5545883664024367591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281224735,"filename":"image_01012026_14_28_35_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d860c259eb119993e76aed170dbd918.jpg","text":"TemporaryFile(/tmp/multipartBody7273359670236233259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281224735,"filename":"image_01012026_14_28_15_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031019","file1":"1402031018","file0":"1402031017","file4":"1402031022","file5":"1402031025","file3":"1402031020"},"map_files_photo_id_array":[{"photo_id":"1402031025","filename":"file5"},{"photo_id":"1402031019","filename":"file2"},{"photo_id":"1402031022","filename":"file4"},{"photo_id":"1402031018","filename":"file1"},{"photo_id":"1402031017","filename":"file0"},{"photo_id":"1402031020","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031020":["hashtag1","hashtag2"]},{"1402031017":["hashtag1","hashtag2"]},{"1402031022":["hashtag1","hashtag2"]},{"1402031025":["hashtag1","hashtag2"]},{"1402031019":["hashtag1","hashtag2"]},{"1402031018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031020, 1402031017, 1402031022, 1402031025, 1402031019, 1402031018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.89103174209595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:27:03.299763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/30/image_01012026_14_30_45_9732.jpg', '/home/pi/Desktop/images/01012026/14/30/image_01012026_14_30_55_10584.jpg', '/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_15_9715.jpg', '/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_25_10606.jpg', '/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_35_9806.jpg', '/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_45_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/30/image_01012026_14_30_45_9732.jpg
/home/pi/Desktop/images/01012026/14/30/image_01012026_14_30_55_10584.jpg
/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_15_9715.jpg
/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_25_10606.jpg
/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_35_9806.jpg
/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_45_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":["1402031043","1402031046","1402031051","1402031045","1402031048","1402031044"],"photo_ids_order":["1402031043","1402031044","1402031045","1402031046","1402031048","1402031051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a774945d42b8e2338c24973a9713eed2.jpg","text":"TemporaryFile(/tmp/multipartBody170234307950315437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281283982,"filename":"image_01012026_14_30_45_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f75d7054ede97e768561ab7e98c3e3b.jpg","text":"TemporaryFile(/tmp/multipartBody3474510960199207720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281283982,"filename":"image_01012026_14_31_25_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01f76c59a2737882b2767641bc89bfa1.jpg","text":"TemporaryFile(/tmp/multipartBody9129923947626374298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281283982,"filename":"image_01012026_14_31_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a59ab30b5b3566d6c538af701a6a7c0.jpg","text":"TemporaryFile(/tmp/multipartBody866591450344883489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281283982,"filename":"image_01012026_14_31_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a2f47072390bf659f423d6658cd54f7.jpg","text":"TemporaryFile(/tmp/multipartBody1472258126341726042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281283982,"filename":"image_01012026_14_31_35_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81a7745b096cadb540c0dee7b59fbe06.jpg","text":"TemporaryFile(/tmp/multipartBody8759875326052155869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281283982,"filename":"image_01012026_14_30_55_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031045","file1":"1402031044","file0":"1402031043","file4":"1402031048","file5":"1402031051","file3":"1402031046"},"map_files_photo_id_array":[{"photo_id":"1402031051","filename":"file5"},{"photo_id":"1402031045","filename":"file2"},{"photo_id":"1402031048","filename":"file4"},{"photo_id":"1402031044","filename":"file1"},{"photo_id":"1402031043","filename":"file0"},{"photo_id":"1402031046","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031043":["hashtag1","hashtag2"]},{"1402031046":["hashtag1","hashtag2"]},{"1402031051":["hashtag1","hashtag2"]},{"1402031045":["hashtag1","hashtag2"]},{"1402031048":["hashtag1","hashtag2"]},{"1402031044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031043, 1402031046, 1402031051, 1402031045, 1402031048, 1402031044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.829411029815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:27:42.829780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_27_10063.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_44_17317.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_46_1745.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_47_1598.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_50_2927.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_52_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_27_10063.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_44_17317.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_46_1745.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_47_1598.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_50_2927.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_52_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":["1402031061","1402031058","1402031063","1402031060","1402031056","1402031059"],"photo_ids_order":["1402031056","1402031058","1402031059","1402031060","1402031061","1402031063"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb37e02843e14ec24ac61cea4bab4d0a.jpg","text":"TemporaryFile(/tmp/multipartBody2335096150545374505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281324694,"filename":"image_04112025_17_46_50_2927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7df4040070b98041b128a6226e650e82.jpg","text":"TemporaryFile(/tmp/multipartBody3242007036178756691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281324694,"filename":"image_04112025_17_46_44_17317.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbfd461f074cae7b1f854d6ff275dab9.jpg","text":"TemporaryFile(/tmp/multipartBody9084943260110466283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281324694,"filename":"image_04112025_17_46_52_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44663af9568490f4a8a6f7d3edb97b44.jpg","text":"TemporaryFile(/tmp/multipartBody6057145139072763064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281324694,"filename":"image_04112025_17_46_47_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38a2060b77693ba1032a871c402a45b7.jpg","text":"TemporaryFile(/tmp/multipartBody3891104317358137630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281324694,"filename":"image_04112025_17_46_27_10063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ea1067b1761ea5a61a07d6ccec456b5.jpg","text":"TemporaryFile(/tmp/multipartBody2905520540592775054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281324694,"filename":"image_04112025_17_46_46_1745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031059","file1":"1402031058","file0":"1402031056","file4":"1402031061","file5":"1402031063","file3":"1402031060"},"map_files_photo_id_array":[{"photo_id":"1402031063","filename":"file5"},{"photo_id":"1402031059","filename":"file2"},{"photo_id":"1402031061","filename":"file4"},{"photo_id":"1402031058","filename":"file1"},{"photo_id":"1402031056","filename":"file0"},{"photo_id":"1402031060","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031061":["hashtag1","hashtag2"]},{"1402031058":["hashtag1","hashtag2"]},{"1402031063":["hashtag1","hashtag2"]},{"1402031060":["hashtag1","hashtag2"]},{"1402031056":["hashtag1","hashtag2"]},{"1402031059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031061, 1402031058, 1402031063, 1402031060, 1402031056, 1402031059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.727829933166504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:28:22.057363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_55_9800.jpg', '/home/pi/Desktop/images/01012026/14/31/image_01012026_14_32_05_10700.jpg', '/home/pi/Desktop/images/01012026/14/32/image_01012026_14_32_45_10685.jpg', '/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_15_10587.jpg', '/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_25_9570.jpg', '/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_34_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/31/image_01012026_14_31_55_9800.jpg
/home/pi/Desktop/images/01012026/14/31/image_01012026_14_32_05_10700.jpg
/home/pi/Desktop/images/01012026/14/32/image_01012026_14_32_45_10685.jpg
/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_15_10587.jpg
/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_25_9570.jpg
/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_34_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":["1402031070","1402031067","1402031064","1402031075","1402031072","1402031069"],"photo_ids_order":["1402031064","1402031067","1402031069","1402031070","1402031072","1402031075"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8cabc37800775586aae780dee3eb20e.jpg","text":"TemporaryFile(/tmp/multipartBody7306123134670520251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281362666,"filename":"image_01012026_14_33_15_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f8748b53aa4890245bf8527a297f675.jpg","text":"TemporaryFile(/tmp/multipartBody3251248471327280652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281362666,"filename":"image_01012026_14_32_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b4997d7e2f022ad4efe50398a00b665.jpg","text":"TemporaryFile(/tmp/multipartBody2329683830250665038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281362666,"filename":"image_01012026_14_31_55_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dd66704baf75d1e3f95463780f2fdf0.jpg","text":"TemporaryFile(/tmp/multipartBody7094129674465399510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281362666,"filename":"image_01012026_14_33_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79a13a10092848a0415f5f138b790b59.jpg","text":"TemporaryFile(/tmp/multipartBody4260007096924153443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281362666,"filename":"image_01012026_14_33_25_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6b96c0349d0b6e88f5ce47c6b3aa96a.jpg","text":"TemporaryFile(/tmp/multipartBody3908848455287748103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281362666,"filename":"image_01012026_14_32_45_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031069","file1":"1402031067","file0":"1402031064","file4":"1402031072","file5":"1402031075","file3":"1402031070"},"map_files_photo_id_array":[{"photo_id":"1402031075","filename":"file5"},{"photo_id":"1402031069","filename":"file2"},{"photo_id":"1402031072","filename":"file4"},{"photo_id":"1402031067","filename":"file1"},{"photo_id":"1402031064","filename":"file0"},{"photo_id":"1402031070","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031070":["hashtag1","hashtag2"]},{"1402031067":["hashtag1","hashtag2"]},{"1402031064":["hashtag1","hashtag2"]},{"1402031075":["hashtag1","hashtag2"]},{"1402031072":["hashtag1","hashtag2"]},{"1402031069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031070, 1402031067, 1402031064, 1402031075, 1402031072, 1402031069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58321571350098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:29:03.263091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_45_10779.jpg', '/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_55_9536.jpg', '/home/pi/Desktop/images/01012026/14/33/image_01012026_14_34_04_9632.jpg', '/home/pi/Desktop/images/01012026/14/34/image_01012026_14_34_15_10823.jpg', '/home/pi/Desktop/images/01012026/14/35/image_01012026_14_35_45_10567.jpg', '/home/pi/Desktop/images/01012026/14/35/image_01012026_14_35_55_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_45_10779.jpg
/home/pi/Desktop/images/01012026/14/33/image_01012026_14_33_55_9536.jpg
/home/pi/Desktop/images/01012026/14/33/image_01012026_14_34_04_9632.jpg
/home/pi/Desktop/images/01012026/14/34/image_01012026_14_34_15_10823.jpg
/home/pi/Desktop/images/01012026/14/35/image_01012026_14_35_45_10567.jpg
/home/pi/Desktop/images/01012026/14/35/image_01012026_14_35_55_9580.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":["1402031079","1402031088","1402031082","1402031081","1402031084","1402031078"],"photo_ids_order":["1402031078","1402031079","1402031081","1402031082","1402031084","1402031088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d47bc53516858d345395b34f200a5886.jpg","text":"TemporaryFile(/tmp/multipartBody3635099877218797869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281406174,"filename":"image_01012026_14_33_55_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb3b1d9ffee9a52bd4abb31a3d65db47.jpg","text":"TemporaryFile(/tmp/multipartBody485399037904658465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281406174,"filename":"image_01012026_14_35_55_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffc223becbc1aab537b5d4584d534c24.jpg","text":"TemporaryFile(/tmp/multipartBody7183526052120249253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281406174,"filename":"image_01012026_14_34_15_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/339c3896998d87d8a315dc2d6fbe317b.jpg","text":"TemporaryFile(/tmp/multipartBody9045634207436105767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281406174,"filename":"image_01012026_14_34_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2919d428f2009062f103c79088b09efd.jpg","text":"TemporaryFile(/tmp/multipartBody5998618381698026254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281406174,"filename":"image_01012026_14_35_45_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13af489a583b389f995f641004b47d47.jpg","text":"TemporaryFile(/tmp/multipartBody1950574744757107572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281406174,"filename":"image_01012026_14_33_45_10779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031081","file1":"1402031079","file0":"1402031078","file4":"1402031084","file5":"1402031088","file3":"1402031082"},"map_files_photo_id_array":[{"photo_id":"1402031088","filename":"file5"},{"photo_id":"1402031081","filename":"file2"},{"photo_id":"1402031084","filename":"file4"},{"photo_id":"1402031079","filename":"file1"},{"photo_id":"1402031078","filename":"file0"},{"photo_id":"1402031082","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031079":["hashtag1","hashtag2"]},{"1402031088":["hashtag1","hashtag2"]},{"1402031082":["hashtag1","hashtag2"]},{"1402031081":["hashtag1","hashtag2"]},{"1402031084":["hashtag1","hashtag2"]},{"1402031078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031079, 1402031088, 1402031082, 1402031081, 1402031084, 1402031078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42040419578552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:30:02.682926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/35/image_01012026_14_36_05_9655.jpg', '/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_15_10716.jpg', '/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_25_9697.jpg', '/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_35_9818.jpg', '/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_45_10550.jpg', '/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_55_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/35/image_01012026_14_36_05_9655.jpg
/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_15_10716.jpg
/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_25_9697.jpg
/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_35_9818.jpg
/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_45_10550.jpg
/home/pi/Desktop/images/01012026/14/36/image_01012026_14_36_55_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":["1402031110","1402031107","1402031112","1402031106","1402031109","1402031108"],"photo_ids_order":["1402031106","1402031107","1402031108","1402031109","1402031110","1402031112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f3d93b16c1125263b0b0bdc9b1a43cf.jpg","text":"TemporaryFile(/tmp/multipartBody7085233911325592070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281463310,"filename":"image_01012026_14_36_45_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddcf2f618607c74c9128bd7bce5be2d2.jpg","text":"TemporaryFile(/tmp/multipartBody3924463464327277914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281463310,"filename":"image_01012026_14_36_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/586263abf45d52fd1f3ab2e8ba2f9961.jpg","text":"TemporaryFile(/tmp/multipartBody234433387928459044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281463310,"filename":"image_01012026_14_36_55_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9fc93c19283161c9eb69e5310c30b8c.jpg","text":"TemporaryFile(/tmp/multipartBody2255124758780255177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281463310,"filename":"image_01012026_14_36_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c5212550e6a1f0292e27a294158ce5b.jpg","text":"TemporaryFile(/tmp/multipartBody5364154184025395021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281463310,"filename":"image_01012026_14_36_35_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0ec458c22380798034a599a8195313c.jpg","text":"TemporaryFile(/tmp/multipartBody4286660229754110484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281463310,"filename":"image_01012026_14_36_25_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031108","file1":"1402031107","file0":"1402031106","file4":"1402031110","file5":"1402031112","file3":"1402031109"},"map_files_photo_id_array":[{"photo_id":"1402031112","filename":"file5"},{"photo_id":"1402031108","filename":"file2"},{"photo_id":"1402031110","filename":"file4"},{"photo_id":"1402031107","filename":"file1"},{"photo_id":"1402031106","filename":"file0"},{"photo_id":"1402031109","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031110":["hashtag1","hashtag2"]},{"1402031107":["hashtag1","hashtag2"]},{"1402031112":["hashtag1","hashtag2"]},{"1402031106":["hashtag1","hashtag2"]},{"1402031109":["hashtag1","hashtag2"]},{"1402031108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031110, 1402031107, 1402031112, 1402031106, 1402031109, 1402031108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.719605922698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:30:42.337306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_53_1733.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_55_1700.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_57_1731.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_58_1616.jpg', '/home/pi/Desktop/images/04112025/17/46/image_04112025_17_47_00_1574.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_02_1783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_53_1733.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_55_1700.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_57_1731.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_46_58_1616.jpg
/home/pi/Desktop/images/04112025/17/46/image_04112025_17_47_00_1574.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_02_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":["1402031125","1402031121","1402031124","1402031118","1402031123","1402031122"],"photo_ids_order":["1402031118","1402031121","1402031122","1402031123","1402031124","1402031125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46ad358c43ebbb95d72da04995dd8587.jpg","text":"TemporaryFile(/tmp/multipartBody5936816019046878804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281504283,"filename":"image_04112025_17_47_02_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/236ee9a9f903e2c0492fe666d6b3e90b.jpg","text":"TemporaryFile(/tmp/multipartBody6931498229979090457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281504283,"filename":"image_04112025_17_46_55_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfb1a6cbbcbf2b0ab2e489d3d01d9db8.jpg","text":"TemporaryFile(/tmp/multipartBody5352465879518003768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281504283,"filename":"image_04112025_17_47_00_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c51a538290fa45a2e8d16a3a7a47d28.jpg","text":"TemporaryFile(/tmp/multipartBody3540396369057228452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281504283,"filename":"image_04112025_17_46_53_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c29b08e271add62b4b69890aecee75b9.jpg","text":"TemporaryFile(/tmp/multipartBody5103372268552738063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281504283,"filename":"image_04112025_17_46_58_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d81105d01fbbc329ec85a24d8ef8110.jpg","text":"TemporaryFile(/tmp/multipartBody3469348842201782210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281504283,"filename":"image_04112025_17_46_57_1731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031122","file1":"1402031121","file0":"1402031118","file4":"1402031124","file5":"1402031125","file3":"1402031123"},"map_files_photo_id_array":[{"photo_id":"1402031125","filename":"file5"},{"photo_id":"1402031122","filename":"file2"},{"photo_id":"1402031124","filename":"file4"},{"photo_id":"1402031121","filename":"file1"},{"photo_id":"1402031118","filename":"file0"},{"photo_id":"1402031123","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031125":["hashtag1","hashtag2"]},{"1402031121":["hashtag1","hashtag2"]},{"1402031124":["hashtag1","hashtag2"]},{"1402031118":["hashtag1","hashtag2"]},{"1402031123":["hashtag1","hashtag2"]},{"1402031122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031125, 1402031121, 1402031124, 1402031118, 1402031123, 1402031122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.210973262786865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:31:22.504792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/36/image_01012026_14_37_05_9647.jpg', '/home/pi/Desktop/images/01012026/14/37/image_01012026_14_37_25_9652.jpg', '/home/pi/Desktop/images/01012026/14/37/image_01012026_14_37_45_10601.jpg', '/home/pi/Desktop/images/01012026/14/38/image_01012026_14_38_05_10308.jpg', '/home/pi/Desktop/images/01012026/14/38/image_01012026_14_38_15_9883.jpg', '/home/pi/Desktop/images/01012026/14/38/image_01012026_14_38_25_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/36/image_01012026_14_37_05_9647.jpg
/home/pi/Desktop/images/01012026/14/37/image_01012026_14_37_25_9652.jpg
/home/pi/Desktop/images/01012026/14/37/image_01012026_14_37_45_10601.jpg
/home/pi/Desktop/images/01012026/14/38/image_01012026_14_38_05_10308.jpg
/home/pi/Desktop/images/01012026/14/38/image_01012026_14_38_15_9883.jpg
/home/pi/Desktop/images/01012026/14/38/image_01012026_14_38_25_9560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031134","1402031136","1402031139","1402031130","1402031127","1402031132"],"photo_ids_order":["1402031127","1402031130","1402031132","1402031134","1402031136","1402031139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c55d1bef07aae5c9b086ab7350115fd4.jpg","text":"TemporaryFile(/tmp/multipartBody271988113436609663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281543104,"filename":"image_01012026_14_38_05_10308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efe72bbdfc6ed35264bf9004d520caee.jpg","text":"TemporaryFile(/tmp/multipartBody619793370357600415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281543104,"filename":"image_01012026_14_38_15_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9476a7cdc3ad24499d1fd7d75ea2676a.jpg","text":"TemporaryFile(/tmp/multipartBody1471688109803017015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281543104,"filename":"image_01012026_14_38_25_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83fea7ef0acb93cacb157eba4d6dfd1f.jpg","text":"TemporaryFile(/tmp/multipartBody176983437919127611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281543104,"filename":"image_01012026_14_37_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec24d63466e7918c3d73bc3d5b9543ce.jpg","text":"TemporaryFile(/tmp/multipartBody2110457417939949677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281543104,"filename":"image_01012026_14_37_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9922866e33f6fd335f252ce1ed26f1a9.jpg","text":"TemporaryFile(/tmp/multipartBody2455635528302704130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281543104,"filename":"image_01012026_14_37_45_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031132","file1":"1402031130","file0":"1402031127","file4":"1402031136","file5":"1402031139","file3":"1402031134"},"map_files_photo_id_array":[{"photo_id":"1402031139","filename":"file5"},{"photo_id":"1402031132","filename":"file2"},{"photo_id":"1402031136","filename":"file4"},{"photo_id":"1402031130","filename":"file1"},{"photo_id":"1402031127","filename":"file0"},{"photo_id":"1402031134","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031134":["hashtag1","hashtag2"]},{"1402031136":["hashtag1","hashtag2"]},{"1402031139":["hashtag1","hashtag2"]},{"1402031130":["hashtag1","hashtag2"]},{"1402031127":["hashtag1","hashtag2"]},{"1402031132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031134, 1402031136, 1402031139, 1402031130, 1402031127, 1402031132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99840521812439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:32:03.033653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/38/image_01012026_14_38_35_10663.jpg', '/home/pi/Desktop/images/01012026/14/38/image_01012026_14_39_05_10637.jpg', '/home/pi/Desktop/images/01012026/14/39/image_01012026_14_39_15_9965.jpg', '/home/pi/Desktop/images/01012026/14/39/image_01012026_14_39_25_9598.jpg', '/home/pi/Desktop/images/01012026/14/39/image_01012026_14_39_45_10776.jpg', '/home/pi/Desktop/images/01012026/14/39/image_01012026_14_39_55_9361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/38/image_01012026_14_38_35_10663.jpg
/home/pi/Desktop/images/01012026/14/38/image_01012026_14_39_05_10637.jpg
/home/pi/Desktop/images/01012026/14/39/image_01012026_14_39_15_9965.jpg
/home/pi/Desktop/images/01012026/14/39/image_01012026_14_39_25_9598.jpg
/home/pi/Desktop/images/01012026/14/39/image_01012026_14_39_45_10776.jpg
/home/pi/Desktop/images/01012026/14/39/image_01012026_14_39_55_9361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031146","1402031142","1402031144","1402031141","1402031140","1402031143"],"photo_ids_order":["1402031140","1402031141","1402031142","1402031143","1402031144","1402031146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/beec5b7fb55dba0a24b3442190050b36.jpg","text":"TemporaryFile(/tmp/multipartBody6745060427961719088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281583663,"filename":"image_01012026_14_39_55_9361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7948229c6537b3b41efc4f3a8343559f.jpg","text":"TemporaryFile(/tmp/multipartBody3658123973982075777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281583663,"filename":"image_01012026_14_39_15_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bebe39c321db34a7c0582408716c0051.jpg","text":"TemporaryFile(/tmp/multipartBody6814965327424668943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281583663,"filename":"image_01012026_14_39_45_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b7be22f19590dd875e04a9ecb1524ba.jpg","text":"TemporaryFile(/tmp/multipartBody3810774923256836421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281583663,"filename":"image_01012026_14_39_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69d5d49b90ad0ba3c12fa2effc8cc6c0.jpg","text":"TemporaryFile(/tmp/multipartBody3871483435218149855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281583663,"filename":"image_01012026_14_38_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbb6752cb509884bbee37d8e545af438.jpg","text":"TemporaryFile(/tmp/multipartBody4880983017035096474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281583663,"filename":"image_01012026_14_39_25_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031142","file1":"1402031141","file0":"1402031140","file4":"1402031144","file5":"1402031146","file3":"1402031143"},"map_files_photo_id_array":[{"photo_id":"1402031146","filename":"file5"},{"photo_id":"1402031142","filename":"file2"},{"photo_id":"1402031144","filename":"file4"},{"photo_id":"1402031141","filename":"file1"},{"photo_id":"1402031140","filename":"file0"},{"photo_id":"1402031143","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031146":["hashtag1","hashtag2"]},{"1402031142":["hashtag1","hashtag2"]},{"1402031144":["hashtag1","hashtag2"]},{"1402031141":["hashtag1","hashtag2"]},{"1402031140":["hashtag1","hashtag2"]},{"1402031143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031146, 1402031142, 1402031144, 1402031141, 1402031140, 1402031143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.921488523483276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:32:42.651904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_03_1650.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_07_1797.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_09_1537.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_10_1622.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_12_1754.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_14_1631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_03_1650.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_07_1797.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_09_1537.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_10_1622.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_12_1754.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_14_1631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031152","1402031166","1402031165","1402031168","1402031167","1402031164"],"photo_ids_order":["1402031152","1402031164","1402031165","1402031166","1402031167","1402031168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e906aa27b5b19297906dc4183cc5f684.jpg","text":"TemporaryFile(/tmp/multipartBody8176890775163972645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281624534,"filename":"image_04112025_17_47_03_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f308988cf59126c4ac749d344442b45.jpg","text":"TemporaryFile(/tmp/multipartBody8033299086673346448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281624534,"filename":"image_04112025_17_47_10_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85ba91b67b6ca11d027f7a0debabdc43.jpg","text":"TemporaryFile(/tmp/multipartBody2645301732205470026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281624534,"filename":"image_04112025_17_47_09_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab9e99e68056c22854c6528757d08247.jpg","text":"TemporaryFile(/tmp/multipartBody4691389640397786333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281624534,"filename":"image_04112025_17_47_14_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3dfe48b49ddc22988fcb8275fdac8e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2427409200175362028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281624534,"filename":"image_04112025_17_47_12_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63d0c154a956c78682ba3d9ab5f65111.jpg","text":"TemporaryFile(/tmp/multipartBody6865445126781237930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281624534,"filename":"image_04112025_17_47_07_1797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031165","file1":"1402031164","file0":"1402031152","file4":"1402031167","file5":"1402031168","file3":"1402031166"},"map_files_photo_id_array":[{"photo_id":"1402031168","filename":"file5"},{"photo_id":"1402031165","filename":"file2"},{"photo_id":"1402031167","filename":"file4"},{"photo_id":"1402031164","filename":"file1"},{"photo_id":"1402031152","filename":"file0"},{"photo_id":"1402031166","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031152":["hashtag1","hashtag2"]},{"1402031166":["hashtag1","hashtag2"]},{"1402031165":["hashtag1","hashtag2"]},{"1402031168":["hashtag1","hashtag2"]},{"1402031167":["hashtag1","hashtag2"]},{"1402031164":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031152, 1402031166, 1402031165, 1402031168, 1402031167, 1402031164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.096725940704346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:33:22.790276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/39/image_01012026_14_40_05_10614.jpg', '/home/pi/Desktop/images/01012026/14/40/image_01012026_14_40_15_9651.jpg', '/home/pi/Desktop/images/01012026/14/40/image_01012026_14_40_24_9617.jpg', '/home/pi/Desktop/images/01012026/14/40/image_01012026_14_40_35_10618.jpg', '/home/pi/Desktop/images/01012026/14/41/image_01012026_14_41_15_9627.jpg', '/home/pi/Desktop/images/01012026/14/41/image_01012026_14_41_35_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/39/image_01012026_14_40_05_10614.jpg
/home/pi/Desktop/images/01012026/14/40/image_01012026_14_40_15_9651.jpg
/home/pi/Desktop/images/01012026/14/40/image_01012026_14_40_24_9617.jpg
/home/pi/Desktop/images/01012026/14/40/image_01012026_14_40_35_10618.jpg
/home/pi/Desktop/images/01012026/14/41/image_01012026_14_41_15_9627.jpg
/home/pi/Desktop/images/01012026/14/41/image_01012026_14_41_35_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031172","1402031181","1402031174","1402031176","1402031179","1402031170"],"photo_ids_order":["1402031170","1402031172","1402031174","1402031176","1402031179","1402031181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f3b1b19d3e9dd6f27ed2331072443fc.jpg","text":"TemporaryFile(/tmp/multipartBody6258540651371319153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281663360,"filename":"image_01012026_14_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/2026/1/1/4c39631e9dc0d54044f97f31559db693.jpg","text":"TemporaryFile(/tmp/multipartBody6390881819264782642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281663360,"filename":"image_01012026_14_41_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3d2e583f3108790e678a27ada56e213.jpg","text":"TemporaryFile(/tmp/multipartBody5365203346406220337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281663360,"filename":"image_01012026_14_40_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fa1d48d945374a624b3d5cef1a07e4f.jpg","text":"TemporaryFile(/tmp/multipartBody7957589686969890201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281663360,"filename":"image_01012026_14_40_35_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f7ed549674ab0c824144cfc83a66524.jpg","text":"TemporaryFile(/tmp/multipartBody5376587970716639976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281663360,"filename":"image_01012026_14_41_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ed4d7f3c0078d2d315b3135df72cf82.jpg","text":"TemporaryFile(/tmp/multipartBody4172021337177814518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281663360,"filename":"image_01012026_14_40_05_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031174","file1":"1402031172","file0":"1402031170","file4":"1402031179","file5":"1402031181","file3":"1402031176"},"map_files_photo_id_array":[{"photo_id":"1402031181","filename":"file5"},{"photo_id":"1402031174","filename":"file2"},{"photo_id":"1402031179","filename":"file4"},{"photo_id":"1402031172","filename":"file1"},{"photo_id":"1402031170","filename":"file0"},{"photo_id":"1402031176","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031172":["hashtag1","hashtag2"]},{"1402031181":["hashtag1","hashtag2"]},{"1402031174":["hashtag1","hashtag2"]},{"1402031176":["hashtag1","hashtag2"]},{"1402031179":["hashtag1","hashtag2"]},{"1402031170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031172, 1402031181, 1402031174, 1402031176, 1402031179, 1402031170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31791090965271 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:34:02.503712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 16:34:11.936407
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_16_2732.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_19_2749.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_28_2702.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_31_2651.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_35_3801.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_37_2709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_16_2732.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_19_2749.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_28_2702.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_31_2651.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_35_3801.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_37_2709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031196","1402031187","1402031189","1402031186","1402031191","1402031194"],"photo_ids_order":["1402031186","1402031187","1402031189","1402031191","1402031194","1402031196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5fed72cf025e93e9af416a37aae04f7.jpg","text":"TemporaryFile(/tmp/multipartBody6626988480219006207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281713799,"filename":"image_04112025_17_47_37_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9020b67de9f9cee0409f6e78380b81d2.jpg","text":"TemporaryFile(/tmp/multipartBody1053081483175947574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281713799,"filename":"image_04112025_17_47_19_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/929585e8012901d282bef9bec04e8729.jpg","text":"TemporaryFile(/tmp/multipartBody5771929297400991003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281713799,"filename":"image_04112025_17_47_28_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a97c489bba2e910ce72f50aa0a0a1378.jpg","text":"TemporaryFile(/tmp/multipartBody8039963773219180866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281713799,"filename":"image_04112025_17_47_16_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c44594ca6ce93ed0db77323856e5e53.jpg","text":"TemporaryFile(/tmp/multipartBody2236097802159434495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281713799,"filename":"image_04112025_17_47_31_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afc67a40ed24688e02f5331b824efb8a.jpg","text":"TemporaryFile(/tmp/multipartBody3669946220987217468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281713799,"filename":"image_04112025_17_47_35_3801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031189","file1":"1402031187","file0":"1402031186","file4":"1402031194","file5":"1402031196","file3":"1402031191"},"map_files_photo_id_array":[{"photo_id":"1402031196","filename":"file5"},{"photo_id":"1402031189","filename":"file2"},{"photo_id":"1402031194","filename":"file4"},{"photo_id":"1402031187","filename":"file1"},{"photo_id":"1402031186","filename":"file0"},{"photo_id":"1402031191","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031196":["hashtag1","hashtag2"]},{"1402031187":["hashtag1","hashtag2"]},{"1402031189":["hashtag1","hashtag2"]},{"1402031186":["hashtag1","hashtag2"]},{"1402031191":["hashtag1","hashtag2"]},{"1402031194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031196, 1402031187, 1402031189, 1402031186, 1402031191, 1402031194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.25857186317444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:35:02.778967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/41/image_01012026_14_41_45_9644.jpg', '/home/pi/Desktop/images/01012026/14/41/image_01012026_14_41_55_10658.jpg', '/home/pi/Desktop/images/01012026/14/41/image_01012026_14_42_05_9721.jpg', '/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_15_9579.jpg', '/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_25_10740.jpg', '/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_35_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/41/image_01012026_14_41_45_9644.jpg
/home/pi/Desktop/images/01012026/14/41/image_01012026_14_41_55_10658.jpg
/home/pi/Desktop/images/01012026/14/41/image_01012026_14_42_05_9721.jpg
/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_15_9579.jpg
/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_25_10740.jpg
/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_35_9846.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":["1402031206","1402031200","1402031202","1402031208","1402031201","1402031204"],"photo_ids_order":["1402031200","1402031201","1402031202","1402031204","1402031206","1402031208"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c13f4737afc35807b432db49f66f52f.jpg","text":"TemporaryFile(/tmp/multipartBody7258629102922603966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281767395,"filename":"image_01012026_14_42_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0bc50404be08dd9b00ef1723101c0d5.jpg","text":"TemporaryFile(/tmp/multipartBody7439223427176962674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281767395,"filename":"image_01012026_14_41_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce61316d55beb38b3d72ca99b7f8ce36.jpg","text":"TemporaryFile(/tmp/multipartBody1631936927460692306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281767395,"filename":"image_01012026_14_42_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ccaf09a289273b2c6c1f3eb267c8d26.jpg","text":"TemporaryFile(/tmp/multipartBody7194374260884039400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281767395,"filename":"image_01012026_14_42_35_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71b075b1c91b47760a2615b7954cb7a8.jpg","text":"TemporaryFile(/tmp/multipartBody628755368174207266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281767395,"filename":"image_01012026_14_41_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc4e3112c385d8bada5f9b243d518f7b.jpg","text":"TemporaryFile(/tmp/multipartBody5676328407031995946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281767395,"filename":"image_01012026_14_42_15_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031202","file1":"1402031201","file0":"1402031200","file4":"1402031206","file5":"1402031208","file3":"1402031204"},"map_files_photo_id_array":[{"photo_id":"1402031208","filename":"file5"},{"photo_id":"1402031202","filename":"file2"},{"photo_id":"1402031206","filename":"file4"},{"photo_id":"1402031201","filename":"file1"},{"photo_id":"1402031200","filename":"file0"},{"photo_id":"1402031204","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031206":["hashtag1","hashtag2"]},{"1402031200":["hashtag1","hashtag2"]},{"1402031202":["hashtag1","hashtag2"]},{"1402031208":["hashtag1","hashtag2"]},{"1402031201":["hashtag1","hashtag2"]},{"1402031204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031206, 1402031200, 1402031202, 1402031208, 1402031201, 1402031204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.39953804016113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:36:07.412583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_45_9636.jpg', '/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_55_9695.jpg', '/home/pi/Desktop/images/01012026/14/42/image_01012026_14_43_05_10868.jpg', '/home/pi/Desktop/images/01012026/14/43/image_01012026_14_43_25_9645.jpg', '/home/pi/Desktop/images/01012026/14/43/image_01012026_14_43_35_10579.jpg', '/home/pi/Desktop/images/01012026/14/43/image_01012026_14_43_45_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_45_9636.jpg
/home/pi/Desktop/images/01012026/14/42/image_01012026_14_42_55_9695.jpg
/home/pi/Desktop/images/01012026/14/42/image_01012026_14_43_05_10868.jpg
/home/pi/Desktop/images/01012026/14/43/image_01012026_14_43_25_9645.jpg
/home/pi/Desktop/images/01012026/14/43/image_01012026_14_43_35_10579.jpg
/home/pi/Desktop/images/01012026/14/43/image_01012026_14_43_45_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":["1402031230","1402031233","1402031238","1402031231","1402031234","1402031236"],"photo_ids_order":["1402031230","1402031231","1402031233","1402031234","1402031236","1402031238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/718739ccb88507b19d5b233b3e22bc5b.jpg","text":"TemporaryFile(/tmp/multipartBody9044941187332632396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281828738,"filename":"image_01012026_14_42_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/046e1384a1c190f65247c6e942f8a275.jpg","text":"TemporaryFile(/tmp/multipartBody5457791185550099419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281828738,"filename":"image_01012026_14_43_05_10868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/540b45c803fadd2b1e9207fb98a3e9d4.jpg","text":"TemporaryFile(/tmp/multipartBody1074124167575336300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281828738,"filename":"image_01012026_14_43_45_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17c4810b381af27932a38bc52501fb5a.jpg","text":"TemporaryFile(/tmp/multipartBody6669827681996384336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281828738,"filename":"image_01012026_14_42_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6edcc4075a86a4552db293f24dc651a9.jpg","text":"TemporaryFile(/tmp/multipartBody6051839827748974032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281828738,"filename":"image_01012026_14_43_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d580b0b230eb85bbdb9452908f411f07.jpg","text":"TemporaryFile(/tmp/multipartBody5932693682198963770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281828738,"filename":"image_01012026_14_43_35_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031233","file1":"1402031231","file0":"1402031230","file4":"1402031236","file5":"1402031238","file3":"1402031234"},"map_files_photo_id_array":[{"photo_id":"1402031238","filename":"file5"},{"photo_id":"1402031233","filename":"file2"},{"photo_id":"1402031236","filename":"file4"},{"photo_id":"1402031231","filename":"file1"},{"photo_id":"1402031230","filename":"file0"},{"photo_id":"1402031234","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031230":["hashtag1","hashtag2"]},{"1402031233":["hashtag1","hashtag2"]},{"1402031238":["hashtag1","hashtag2"]},{"1402031231":["hashtag1","hashtag2"]},{"1402031234":["hashtag1","hashtag2"]},{"1402031236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031230, 1402031233, 1402031238, 1402031231, 1402031234, 1402031236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.535457611083984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:37:02.714310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_01_16001.jpg', '/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_05_3571.jpg', '/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_15_9801.jpg', '/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_25_10593.jpg', '/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_35_9835.jpg', '/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_45_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_01_16001.jpg
/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_05_3571.jpg
/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_15_9801.jpg
/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_25_10593.jpg
/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_35_9835.jpg
/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_45_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":["1402031251","1402031245","1402031250","1402031253","1402031249","1402031248"],"photo_ids_order":["1402031245","1402031248","1402031249","1402031250","1402031251","1402031253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3816513c64f45d74a44a9a222afb541a.jpg","text":"TemporaryFile(/tmp/multipartBody6180071455626006389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281883392,"filename":"image_01012026_14_44_35_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d039320a6a3734c4d114ef4b766461ce.jpg","text":"TemporaryFile(/tmp/multipartBody7556153559343337787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281883392,"filename":"image_01012026_14_44_01_16001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b99c1a36bcf46f7726d0a4701c72b95.jpg","text":"TemporaryFile(/tmp/multipartBody8741088098853796752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281883392,"filename":"image_01012026_14_44_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a5b4d08b96f79d7bbf94c46d9384218.jpg","text":"TemporaryFile(/tmp/multipartBody7044868122030805351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281883392,"filename":"image_01012026_14_44_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33c290a062ce271e72a5a2490ec17701.jpg","text":"TemporaryFile(/tmp/multipartBody8646107834904930620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281883392,"filename":"image_01012026_14_44_15_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3c991c95dcaaafc4a165f87ad636662.jpg","text":"TemporaryFile(/tmp/multipartBody6866839288572189285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281883392,"filename":"image_01012026_14_44_05_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031249","file1":"1402031248","file0":"1402031245","file4":"1402031251","file5":"1402031253","file3":"1402031250"},"map_files_photo_id_array":[{"photo_id":"1402031253","filename":"file5"},{"photo_id":"1402031249","filename":"file2"},{"photo_id":"1402031251","filename":"file4"},{"photo_id":"1402031248","filename":"file1"},{"photo_id":"1402031245","filename":"file0"},{"photo_id":"1402031250","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031251":["hashtag1","hashtag2"]},{"1402031245":["hashtag1","hashtag2"]},{"1402031250":["hashtag1","hashtag2"]},{"1402031253":["hashtag1","hashtag2"]},{"1402031249":["hashtag1","hashtag2"]},{"1402031248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031251, 1402031245, 1402031250, 1402031253, 1402031249, 1402031248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74684286117554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:37:41.946749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_49_2665.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_52_2823.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_55_3842.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_16_2683.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_19_2806.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_25_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_49_2665.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_52_2823.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_55_3842.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_16_2683.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_19_2806.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_25_3568.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.6498796939849854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:38:02.656457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_55_10646.jpg', '/home/pi/Desktop/images/01012026/14/44/image_01012026_14_45_05_9674.jpg', '/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_15_9729.jpg', '/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_25_10681.jpg', '/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_35_9575.jpg', '/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_45_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/44/image_01012026_14_44_55_10646.jpg
/home/pi/Desktop/images/01012026/14/44/image_01012026_14_45_05_9674.jpg
/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_15_9729.jpg
/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_25_10681.jpg
/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_35_9575.jpg
/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_45_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031265","1402031268","1402031270","1402031264","1402031267","1402031266"],"photo_ids_order":["1402031264","1402031265","1402031266","1402031267","1402031268","1402031270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8845ad1fce2f48d6c5c45f585d0740d8.jpg","text":"TemporaryFile(/tmp/multipartBody7979515933690802691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281943285,"filename":"image_01012026_14_45_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1eb8a0226784891db799fc389b9b6a6c.jpg","text":"TemporaryFile(/tmp/multipartBody472609555213292436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281943285,"filename":"image_01012026_14_45_35_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a9e626f73bac194dabc08d20c0de068.jpg","text":"TemporaryFile(/tmp/multipartBody7932208046726287981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281943285,"filename":"image_01012026_14_45_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8a075149fbf8e0e659317ed46410849.jpg","text":"TemporaryFile(/tmp/multipartBody3009569117167474704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281943285,"filename":"image_01012026_14_44_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd78fe3681a55f16e1651fac0e28ecd3.jpg","text":"TemporaryFile(/tmp/multipartBody4376684971807882242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281943285,"filename":"image_01012026_14_45_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a66f317c04f17d3396d0828958e5645e.jpg","text":"TemporaryFile(/tmp/multipartBody2256068570612936886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281943285,"filename":"image_01012026_14_45_15_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031266","file1":"1402031265","file0":"1402031264","file4":"1402031268","file5":"1402031270","file3":"1402031267"},"map_files_photo_id_array":[{"photo_id":"1402031270","filename":"file5"},{"photo_id":"1402031266","filename":"file2"},{"photo_id":"1402031268","filename":"file4"},{"photo_id":"1402031265","filename":"file1"},{"photo_id":"1402031264","filename":"file0"},{"photo_id":"1402031267","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031265":["hashtag1","hashtag2"]},{"1402031268":["hashtag1","hashtag2"]},{"1402031270":["hashtag1","hashtag2"]},{"1402031264":["hashtag1","hashtag2"]},{"1402031267":["hashtag1","hashtag2"]},{"1402031266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031265, 1402031268, 1402031270, 1402031264, 1402031267, 1402031266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.907837867736816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:38:42.250279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_49_2665.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_52_2823.jpg', '/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_55_3842.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_16_2683.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_19_2806.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_25_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_49_2665.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_52_2823.jpg
/home/pi/Desktop/images/04112025/17/47/image_04112025_17_47_55_3842.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_16_2683.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_19_2806.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_25_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":["1402031283","1402031280","1402031282","1402031276","1402031284","1402031281"],"photo_ids_order":["1402031276","1402031280","1402031281","1402031282","1402031283","1402031284"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59ecb3db44a9bdea99631aea5fd0a26f.jpg","text":"TemporaryFile(/tmp/multipartBody4290006699152614341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281983994,"filename":"image_04112025_17_48_19_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e29400b4e5a4855c4b0ffd83b46a627.jpg","text":"TemporaryFile(/tmp/multipartBody1782870227993979744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281983994,"filename":"image_04112025_17_47_52_2823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2c3a28176a733ed300d835b95bcc760.jpg","text":"TemporaryFile(/tmp/multipartBody9178557418422397509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281983994,"filename":"image_04112025_17_48_16_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9edb12e45d6d1aa2175d1d8ef3b5711.jpg","text":"TemporaryFile(/tmp/multipartBody5982904710220272541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281983994,"filename":"image_04112025_17_47_49_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/249cb496cc27b9210b7a98375c6a214e.jpg","text":"TemporaryFile(/tmp/multipartBody3699604615379031682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281983994,"filename":"image_04112025_17_48_25_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1604a3c225ace1c8a802309b68823e71.jpg","text":"TemporaryFile(/tmp/multipartBody8309622351122200366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767281983994,"filename":"image_04112025_17_47_55_3842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031281","file1":"1402031280","file0":"1402031276","file4":"1402031283","file5":"1402031284","file3":"1402031282"},"map_files_photo_id_array":[{"photo_id":"1402031284","filename":"file5"},{"photo_id":"1402031281","filename":"file2"},{"photo_id":"1402031283","filename":"file4"},{"photo_id":"1402031280","filename":"file1"},{"photo_id":"1402031276","filename":"file0"},{"photo_id":"1402031282","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031283":["hashtag1","hashtag2"]},{"1402031280":["hashtag1","hashtag2"]},{"1402031282":["hashtag1","hashtag2"]},{"1402031276":["hashtag1","hashtag2"]},{"1402031284":["hashtag1","hashtag2"]},{"1402031281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031283, 1402031280, 1402031282, 1402031276, 1402031284, 1402031281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10915470123291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:39:22.567184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_55_10705.jpg', '/home/pi/Desktop/images/01012026/14/45/image_01012026_14_46_05_9649.jpg', '/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_15_9599.jpg', '/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_25_10681.jpg', '/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_35_9692.jpg', '/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_44_9546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/45/image_01012026_14_45_55_10705.jpg
/home/pi/Desktop/images/01012026/14/45/image_01012026_14_46_05_9649.jpg
/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_15_9599.jpg
/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_25_10681.jpg
/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_35_9692.jpg
/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_44_9546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031295","1402031289","1402031291","1402031285","1402031293","1402031287"],"photo_ids_order":["1402031285","1402031287","1402031289","1402031291","1402031293","1402031295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e31a9a2defff6c01989e7498887ba660.jpg","text":"TemporaryFile(/tmp/multipartBody2880627803187990286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282023127,"filename":"image_01012026_14_46_44_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b114f88aa55d3d5791d670d50570d3e.jpg","text":"TemporaryFile(/tmp/multipartBody4732894170198105010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282023127,"filename":"image_01012026_14_46_15_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/468a4e7d243bb85b2c9e7258937ea871.jpg","text":"TemporaryFile(/tmp/multipartBody4306348441823242220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282023127,"filename":"image_01012026_14_46_25_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/347cec0b8f485b25e49ee987b8c33741.jpg","text":"TemporaryFile(/tmp/multipartBody7149509161035262097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282023127,"filename":"image_01012026_14_45_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/981d904fbb4146dd3ee5f78cc7bec16a.jpg","text":"TemporaryFile(/tmp/multipartBody4062916796639840927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282023127,"filename":"image_01012026_14_46_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7dc1cb943b43b9a581174260609f5a97.jpg","text":"TemporaryFile(/tmp/multipartBody5232026097406291373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282023127,"filename":"image_01012026_14_46_05_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031289","file1":"1402031287","file0":"1402031285","file4":"1402031293","file5":"1402031295","file3":"1402031291"},"map_files_photo_id_array":[{"photo_id":"1402031295","filename":"file5"},{"photo_id":"1402031289","filename":"file2"},{"photo_id":"1402031293","filename":"file4"},{"photo_id":"1402031287","filename":"file1"},{"photo_id":"1402031285","filename":"file0"},{"photo_id":"1402031291","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031295":["hashtag1","hashtag2"]},{"1402031289":["hashtag1","hashtag2"]},{"1402031291":["hashtag1","hashtag2"]},{"1402031285":["hashtag1","hashtag2"]},{"1402031293":["hashtag1","hashtag2"]},{"1402031287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031295, 1402031289, 1402031291, 1402031285, 1402031293, 1402031287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26116728782654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:40:03.101888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_55_10576.jpg', '/home/pi/Desktop/images/01012026/14/46/image_01012026_14_47_05_9708.jpg', '/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_14_9690.jpg', '/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_27_12698.jpg', '/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_35_7730.jpg', '/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_44_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_55_10576.jpg
/home/pi/Desktop/images/01012026/14/46/image_01012026_14_47_05_9708.jpg
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_14_9690.jpg
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_27_12698.jpg
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_35_7730.jpg
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_44_9574.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.49950313568115234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:40:12.631310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_28_2848.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_34_3690.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_40_2673.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_43_3589.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_46_2724.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_49_2752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_28_2848.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_34_3690.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_40_2673.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_43_3589.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_46_2724.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_49_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":["1402031308","1402031310","1402031312","1402031306","1402031300","1402031303"],"photo_ids_order":["1402031300","1402031303","1402031306","1402031308","1402031310","1402031312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02c8b3a4ff406076c1c0256a5ac0b490.jpg","text":"TemporaryFile(/tmp/multipartBody5762247139935254027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282074360,"filename":"image_04112025_17_48_43_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5adeda237021a5de0d7f4fdab1d7a287.jpg","text":"TemporaryFile(/tmp/multipartBody3884790947495072517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282074360,"filename":"image_04112025_17_48_46_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1b58a830e73b3eb2e3911130e98c503.jpg","text":"TemporaryFile(/tmp/multipartBody8380068101326904126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282074360,"filename":"image_04112025_17_48_49_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd2ff35399972ea9e40e0f76ee6005a9.jpg","text":"TemporaryFile(/tmp/multipartBody3954551965555049298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282074360,"filename":"image_04112025_17_48_40_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa6e01cdfd96a0eb622b9bd3fa0a80d5.jpg","text":"TemporaryFile(/tmp/multipartBody632401416327787883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282074360,"filename":"image_04112025_17_48_28_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eebe71db8d111ebf7b85282efcf9b7cf.jpg","text":"TemporaryFile(/tmp/multipartBody3604280876376397086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282074360,"filename":"image_04112025_17_48_34_3690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031306","file1":"1402031303","file0":"1402031300","file4":"1402031310","file5":"1402031312","file3":"1402031308"},"map_files_photo_id_array":[{"photo_id":"1402031312","filename":"file5"},{"photo_id":"1402031306","filename":"file2"},{"photo_id":"1402031310","filename":"file4"},{"photo_id":"1402031303","filename":"file1"},{"photo_id":"1402031300","filename":"file0"},{"photo_id":"1402031308","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031308":["hashtag1","hashtag2"]},{"1402031310":["hashtag1","hashtag2"]},{"1402031312":["hashtag1","hashtag2"]},{"1402031306":["hashtag1","hashtag2"]},{"1402031300":["hashtag1","hashtag2"]},{"1402031303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031308, 1402031310, 1402031312, 1402031306, 1402031300, 1402031303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.635497093200684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:41:04.976514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_55_10576.jpg', '/home/pi/Desktop/images/01012026/14/46/image_01012026_14_47_05_9708.jpg', '/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_14_9690.jpg', '/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_27_12698.jpg', '/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_35_7730.jpg', '/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_44_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/46/image_01012026_14_46_55_10576.jpg
/home/pi/Desktop/images/01012026/14/46/image_01012026_14_47_05_9708.jpg
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_14_9690.jpg
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_27_12698.jpg
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_35_7730.jpg
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_44_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":["1402031323","1402031325","1402031319","1402031318","1402031321","1402031320"],"photo_ids_order":["1402031318","1402031319","1402031320","1402031321","1402031323","1402031325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b26558d4a4489826b8fc149d4bf1c190.jpg","text":"TemporaryFile(/tmp/multipartBody5550448456077589667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282125580,"filename":"image_01012026_14_47_35_7730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8f80411836c70e51b0b793243384999.jpg","text":"TemporaryFile(/tmp/multipartBody5537922171346358684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282125580,"filename":"image_01012026_14_47_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ae9abdedfeba1224576a1a43328449a.jpg","text":"TemporaryFile(/tmp/multipartBody7660079779815183893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282125580,"filename":"image_01012026_14_47_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08f1d72bf0366e04fb9fbe7d9c41e057.jpg","text":"TemporaryFile(/tmp/multipartBody3626240124459920409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282125580,"filename":"image_01012026_14_46_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e3e0a704a1a8b9c9dd67e683736c859.jpg","text":"TemporaryFile(/tmp/multipartBody3079405970963517842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282125580,"filename":"image_01012026_14_47_27_12698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5829a294e818992d703e6797756c87f3.jpg","text":"TemporaryFile(/tmp/multipartBody690391286856646899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282125580,"filename":"image_01012026_14_47_14_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031320","file1":"1402031319","file0":"1402031318","file4":"1402031323","file5":"1402031325","file3":"1402031321"},"map_files_photo_id_array":[{"photo_id":"1402031325","filename":"file5"},{"photo_id":"1402031320","filename":"file2"},{"photo_id":"1402031323","filename":"file4"},{"photo_id":"1402031319","filename":"file1"},{"photo_id":"1402031318","filename":"file0"},{"photo_id":"1402031321","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031323":["hashtag1","hashtag2"]},{"1402031325":["hashtag1","hashtag2"]},{"1402031319":["hashtag1","hashtag2"]},{"1402031318":["hashtag1","hashtag2"]},{"1402031321":["hashtag1","hashtag2"]},{"1402031320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031323, 1402031325, 1402031319, 1402031318, 1402031321, 1402031320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89610481262207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:41:42.871267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_52_2810.jpg', '/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_58_2700.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_01_2627.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_04_3584.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_07_2688.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_09_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_52_2810.jpg
/home/pi/Desktop/images/04112025/17/48/image_04112025_17_48_58_2700.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_01_2627.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_04_3584.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_07_2688.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_09_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":["1402031334","1402031337","1402031336","1402031330","1402031333","1402031335"],"photo_ids_order":["1402031330","1402031333","1402031334","1402031335","1402031336","1402031337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfb1369d00fa1bcf6f8deee013407fc0.jpg","text":"TemporaryFile(/tmp/multipartBody1176836995886226104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282164775,"filename":"image_04112025_17_49_01_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d6b19364b192c68a5fe08109838279d.jpg","text":"TemporaryFile(/tmp/multipartBody4560644959769203339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282164775,"filename":"image_04112025_17_49_09_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/752f2891d571056e4a0b5aa4c6193239.jpg","text":"TemporaryFile(/tmp/multipartBody8964110674058608628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282164775,"filename":"image_04112025_17_49_07_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13edf232489160997c4fe7058faa34fd.jpg","text":"TemporaryFile(/tmp/multipartBody8603045856274460181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282164775,"filename":"image_04112025_17_48_52_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b16473491cdc572e3c68717a01dd29a.jpg","text":"TemporaryFile(/tmp/multipartBody8668963788041157416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282164775,"filename":"image_04112025_17_48_58_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ee6b98da2ce5554242fc605c72afead.jpg","text":"TemporaryFile(/tmp/multipartBody4710865149298086506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282164775,"filename":"image_04112025_17_49_04_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031334","file1":"1402031333","file0":"1402031330","file4":"1402031336","file5":"1402031337","file3":"1402031335"},"map_files_photo_id_array":[{"photo_id":"1402031337","filename":"file5"},{"photo_id":"1402031334","filename":"file2"},{"photo_id":"1402031336","filename":"file4"},{"photo_id":"1402031333","filename":"file1"},{"photo_id":"1402031330","filename":"file0"},{"photo_id":"1402031335","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031334":["hashtag1","hashtag2"]},{"1402031337":["hashtag1","hashtag2"]},{"1402031336":["hashtag1","hashtag2"]},{"1402031330":["hashtag1","hashtag2"]},{"1402031333":["hashtag1","hashtag2"]},{"1402031335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031334, 1402031337, 1402031336, 1402031330, 1402031333, 1402031335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78837871551514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:42:22.032518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_58_13889.jpg', '/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_05_6607.jpg', '/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_34_28849.jpg', '/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_35_1628.jpg', '/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_43_7200.jpg', '/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_47_4193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/47/image_01012026_14_47_58_13889.jpg
/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_05_6607.jpg
/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_34_28849.jpg
/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_35_1628.jpg
/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_43_7200.jpg
/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_47_4193.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031350","1402031344","1402031340","1402031342","1402031339","1402031347"],"photo_ids_order":["1402031339","1402031340","1402031342","1402031344","1402031347","1402031350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77ace4c150741db0b3d05ae9334d5972.jpg","text":"TemporaryFile(/tmp/multipartBody3694618151230100063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282202628,"filename":"image_01012026_14_48_47_4193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adaedbc3fa8e3bee96201f361adab804.jpg","text":"TemporaryFile(/tmp/multipartBody6917393204292729804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282202628,"filename":"image_01012026_14_48_35_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23cfed800a791ca4f7b068afd107c9b6.jpg","text":"TemporaryFile(/tmp/multipartBody5425373712954101407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282202628,"filename":"image_01012026_14_48_05_6607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c94d4a3d7d6a315264b42f94c05de665.jpg","text":"TemporaryFile(/tmp/multipartBody5074950789719187900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282202628,"filename":"image_01012026_14_48_34_28849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d6b55844107e74d97a662a4181443b0.jpg","text":"TemporaryFile(/tmp/multipartBody7386169543194689473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282202628,"filename":"image_01012026_14_47_58_13889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f08e61ee8113afd9e1cd99176dba9e7.jpg","text":"TemporaryFile(/tmp/multipartBody8954761315034498010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282202628,"filename":"image_01012026_14_48_43_7200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031342","file1":"1402031340","file0":"1402031339","file4":"1402031347","file5":"1402031350","file3":"1402031344"},"map_files_photo_id_array":[{"photo_id":"1402031350","filename":"file5"},{"photo_id":"1402031342","filename":"file2"},{"photo_id":"1402031347","filename":"file4"},{"photo_id":"1402031340","filename":"file1"},{"photo_id":"1402031339","filename":"file0"},{"photo_id":"1402031344","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031350":["hashtag1","hashtag2"]},{"1402031344":["hashtag1","hashtag2"]},{"1402031340":["hashtag1","hashtag2"]},{"1402031342":["hashtag1","hashtag2"]},{"1402031339":["hashtag1","hashtag2"]},{"1402031347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031350, 1402031344, 1402031340, 1402031342, 1402031339, 1402031347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26922559738159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:43:02.677817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_55_7766.jpg', '/home/pi/Desktop/images/01012026/14/48/image_01012026_14_49_04_9842.jpg', '/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_15_10557.jpg', '/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_41_26306.jpg', '/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_43_1609.jpg', '/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_45_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/48/image_01012026_14_48_55_7766.jpg
/home/pi/Desktop/images/01012026/14/48/image_01012026_14_49_04_9842.jpg
/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_15_10557.jpg
/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_41_26306.jpg
/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_43_1609.jpg
/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_45_1611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031358","1402031352","1402031355","1402031354","1402031353","1402031356"],"photo_ids_order":["1402031352","1402031353","1402031354","1402031355","1402031356","1402031358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c497351c67553b14c7a36b64fe1765b.jpg","text":"TemporaryFile(/tmp/multipartBody3937246368649361054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282243330,"filename":"image_01012026_14_49_45_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5f7f4da8ca7b74ca86392cab582ca92.jpg","text":"TemporaryFile(/tmp/multipartBody1283777845028329657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282243330,"filename":"image_01012026_14_48_55_7766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96e1b35f7b4503d329b1fcd04ee79c22.jpg","text":"TemporaryFile(/tmp/multipartBody8710004444433451309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282243330,"filename":"image_01012026_14_49_41_26306.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37698580e356f0748eb3f8eb9c87580d.jpg","text":"TemporaryFile(/tmp/multipartBody3569358204063675978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282243330,"filename":"image_01012026_14_49_15_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53a6d705c1560ed9abf21763487eaf70.jpg","text":"TemporaryFile(/tmp/multipartBody6780720006151220876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282243330,"filename":"image_01012026_14_49_04_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53dbc376bb274b20049707bda1dca689.jpg","text":"TemporaryFile(/tmp/multipartBody2442658348946974169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282243330,"filename":"image_01012026_14_49_43_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031354","file1":"1402031353","file0":"1402031352","file4":"1402031356","file5":"1402031358","file3":"1402031355"},"map_files_photo_id_array":[{"photo_id":"1402031358","filename":"file5"},{"photo_id":"1402031354","filename":"file2"},{"photo_id":"1402031356","filename":"file4"},{"photo_id":"1402031353","filename":"file1"},{"photo_id":"1402031352","filename":"file0"},{"photo_id":"1402031355","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031358":["hashtag1","hashtag2"]},{"1402031352":["hashtag1","hashtag2"]},{"1402031355":["hashtag1","hashtag2"]},{"1402031354":["hashtag1","hashtag2"]},{"1402031353":["hashtag1","hashtag2"]},{"1402031356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031358, 1402031352, 1402031355, 1402031354, 1402031353, 1402031356)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.61576867103577 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:44:02.810889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 16:44:12.243712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_13_3660.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_16_2862.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_21_2820.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_25_3671.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_28_2738.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_30_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_13_3660.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_16_2862.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_21_2820.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_25_3671.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_28_2738.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_30_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031376","1402031378","1402031366","1402031371","1402031374","1402031368"],"photo_ids_order":["1402031366","1402031368","1402031371","1402031374","1402031376","1402031378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/059e819f86f272af5809a00a55c38e77.jpg","text":"TemporaryFile(/tmp/multipartBody3059842688001789768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282316942,"filename":"image_04112025_17_49_28_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8dfd4a4688d4f0665b9a863036f6945d.jpg","text":"TemporaryFile(/tmp/multipartBody6787195015798313947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282316942,"filename":"image_04112025_17_49_30_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d55eaffe4acc442280ae6515d6aeae9.jpg","text":"TemporaryFile(/tmp/multipartBody6478493322485685011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282316942,"filename":"image_04112025_17_49_13_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b254136f81e97131246353a3e4f7237.jpg","text":"TemporaryFile(/tmp/multipartBody2858321463548835674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282316942,"filename":"image_04112025_17_49_21_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea4f26e4a5885fef7e9b24d06df5ba70.jpg","text":"TemporaryFile(/tmp/multipartBody9133571996217922395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282316942,"filename":"image_04112025_17_49_25_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7329358f800ed0e96270ab2cd8646130.jpg","text":"TemporaryFile(/tmp/multipartBody2542130263978706398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282316942,"filename":"image_04112025_17_49_16_2862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031371","file1":"1402031368","file0":"1402031366","file4":"1402031376","file5":"1402031378","file3":"1402031374"},"map_files_photo_id_array":[{"photo_id":"1402031378","filename":"file5"},{"photo_id":"1402031371","filename":"file2"},{"photo_id":"1402031376","filename":"file4"},{"photo_id":"1402031368","filename":"file1"},{"photo_id":"1402031366","filename":"file0"},{"photo_id":"1402031374","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031376":["hashtag1","hashtag2"]},{"1402031378":["hashtag1","hashtag2"]},{"1402031366":["hashtag1","hashtag2"]},{"1402031371":["hashtag1","hashtag2"]},{"1402031374":["hashtag1","hashtag2"]},{"1402031368":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031376, 1402031378, 1402031366, 1402031371, 1402031374, 1402031368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.99640083312988 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
2026-01-01 16:45:14.924180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_34_3722.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_37_2770.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_40_2710.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_43_3678.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_46_2546.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_49_2671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_34_3722.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_37_2770.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_40_2710.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_43_3678.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_46_2546.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_49_2671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031394","1402031388","1402031385","1402031390","1402031383","1402031392"],"photo_ids_order":["1402031383","1402031385","1402031388","1402031390","1402031392","1402031394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8bafe34b63f783d4678ba81aea2ee2d.jpg","text":"TemporaryFile(/tmp/multipartBody5583715527901207798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282376654,"filename":"image_04112025_17_49_49_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6f7adf5f0741047967e247eafb5c0fd.jpg","text":"TemporaryFile(/tmp/multipartBody4687821004070037040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282376654,"filename":"image_04112025_17_49_40_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86f91c803e7d3b47a1d68eeac80256cb.jpg","text":"TemporaryFile(/tmp/multipartBody5834879088097627914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282376654,"filename":"image_04112025_17_49_37_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed63ba4d9b2d4d7ab4eb3962b1b651cd.jpg","text":"TemporaryFile(/tmp/multipartBody1901741031219191884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282376654,"filename":"image_04112025_17_49_43_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5aec63a0f1bac9a82729b694c4202bcf.jpg","text":"TemporaryFile(/tmp/multipartBody3413008244276775922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282376654,"filename":"image_04112025_17_49_34_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c3963b02f86ba86d8b8f48c18d8f416.jpg","text":"TemporaryFile(/tmp/multipartBody6734693773448448680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282376654,"filename":"image_04112025_17_49_46_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031388","file1":"1402031385","file0":"1402031383","file4":"1402031392","file5":"1402031394","file3":"1402031390"},"map_files_photo_id_array":[{"photo_id":"1402031394","filename":"file5"},{"photo_id":"1402031388","filename":"file2"},{"photo_id":"1402031392","filename":"file4"},{"photo_id":"1402031385","filename":"file1"},{"photo_id":"1402031383","filename":"file0"},{"photo_id":"1402031390","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031394":["hashtag1","hashtag2"]},{"1402031388":["hashtag1","hashtag2"]},{"1402031385":["hashtag1","hashtag2"]},{"1402031390":["hashtag1","hashtag2"]},{"1402031383":["hashtag1","hashtag2"]},{"1402031392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031394, 1402031388, 1402031385, 1402031390, 1402031383, 1402031392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24236059188843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:46:02.721125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_55_10737.jpg', '/home/pi/Desktop/images/01012026/14/49/image_01012026_14_50_05_9811.jpg', '/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_13_10038.jpg', '/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_24_10551.jpg', '/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_34_9810.jpg', '/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_44_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/49/image_01012026_14_49_55_10737.jpg
/home/pi/Desktop/images/01012026/14/49/image_01012026_14_50_05_9811.jpg
/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_13_10038.jpg
/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_24_10551.jpg
/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_34_9810.jpg
/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_44_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":["1402031401","1402031404","1402031397","1402031400","1402031399","1402031402"],"photo_ids_order":["1402031397","1402031399","1402031400","1402031401","1402031402","1402031404"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b05c1a9dde000a4dde547c03bf54fe8.jpg","text":"TemporaryFile(/tmp/multipartBody8352862471312046023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282423354,"filename":"image_01012026_14_51_24_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90c610d4adb6f9be4e826184fcbbc66c.jpg","text":"TemporaryFile(/tmp/multipartBody7934944278418921268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282423354,"filename":"image_01012026_14_51_44_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6b251ca8d3a8f3ee44096cc9442e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody298051576360713751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282423354,"filename":"image_01012026_14_49_55_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/683347199a16c343174439ef308b8a42.jpg","text":"TemporaryFile(/tmp/multipartBody2348001160741242650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282423354,"filename":"image_01012026_14_51_13_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37d620a7f689de310ebee0eb8c19f7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1172400556799027794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282423354,"filename":"image_01012026_14_50_05_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08f67cd6691767c71b7e1c7955dc6017.jpg","text":"TemporaryFile(/tmp/multipartBody570413139268289371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282423354,"filename":"image_01012026_14_51_34_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031400","file1":"1402031399","file0":"1402031397","file4":"1402031402","file5":"1402031404","file3":"1402031401"},"map_files_photo_id_array":[{"photo_id":"1402031404","filename":"file5"},{"photo_id":"1402031400","filename":"file2"},{"photo_id":"1402031402","filename":"file4"},{"photo_id":"1402031399","filename":"file1"},{"photo_id":"1402031397","filename":"file0"},{"photo_id":"1402031401","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031401":["hashtag1","hashtag2"]},{"1402031404":["hashtag1","hashtag2"]},{"1402031397":["hashtag1","hashtag2"]},{"1402031400":["hashtag1","hashtag2"]},{"1402031399":["hashtag1","hashtag2"]},{"1402031402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031401, 1402031404, 1402031397, 1402031400, 1402031399, 1402031402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03578066825867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:46:42.271729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_51_2852.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_55_3698.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_58_2539.jpg', '/home/pi/Desktop/images/04112025/17/49/image_04112025_17_50_00_2725.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_08_3012.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_11_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_51_2852.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_55_3698.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_49_58_2539.jpg
/home/pi/Desktop/images/04112025/17/49/image_04112025_17_50_00_2725.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_08_3012.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_11_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":["1402031416","1402031415","1402031418","1402031417","1402031411","1402031414"],"photo_ids_order":["1402031411","1402031414","1402031415","1402031416","1402031417","1402031418"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/760542c36f91b27e066edab2a5df82e9.jpg","text":"TemporaryFile(/tmp/multipartBody5806448404337513518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282464056,"filename":"image_04112025_17_50_00_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83703cd6d5128cfb2d4ce49cdc15c41d.jpg","text":"TemporaryFile(/tmp/multipartBody5116872508196865123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282464056,"filename":"image_04112025_17_49_58_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1000092680fe95ef77b6171997a7a627.jpg","text":"TemporaryFile(/tmp/multipartBody1793077204941676657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282464056,"filename":"image_04112025_17_50_11_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16f132ae4d2f3d21826ff1be8d366d70.jpg","text":"TemporaryFile(/tmp/multipartBody2989799852087252371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282464056,"filename":"image_04112025_17_50_08_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b460ac22fa07151782d93bac74c133ac.jpg","text":"TemporaryFile(/tmp/multipartBody3840076763875481652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282464056,"filename":"image_04112025_17_49_51_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4d5f8a1691a104b7c2589242423bcc6.jpg","text":"TemporaryFile(/tmp/multipartBody8776703825888801239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282464056,"filename":"image_04112025_17_49_55_3698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031415","file1":"1402031414","file0":"1402031411","file4":"1402031417","file5":"1402031418","file3":"1402031416"},"map_files_photo_id_array":[{"photo_id":"1402031418","filename":"file5"},{"photo_id":"1402031415","filename":"file2"},{"photo_id":"1402031417","filename":"file4"},{"photo_id":"1402031414","filename":"file1"},{"photo_id":"1402031411","filename":"file0"},{"photo_id":"1402031416","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031416":["hashtag1","hashtag2"]},{"1402031415":["hashtag1","hashtag2"]},{"1402031418":["hashtag1","hashtag2"]},{"1402031417":["hashtag1","hashtag2"]},{"1402031411":["hashtag1","hashtag2"]},{"1402031414":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031416, 1402031415, 1402031418, 1402031417, 1402031411, 1402031414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21467328071594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:47:22.536287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_54_10693.jpg', '/home/pi/Desktop/images/01012026/14/51/image_01012026_14_52_04_9690.jpg', '/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_13_9460.jpg', '/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_24_10764.jpg', '/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_34_10078.jpg', '/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_44_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/51/image_01012026_14_51_54_10693.jpg
/home/pi/Desktop/images/01012026/14/51/image_01012026_14_52_04_9690.jpg
/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_13_9460.jpg
/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_24_10764.jpg
/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_34_10078.jpg
/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_44_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":["1402031425","1402031419","1402031427","1402031421","1402031423","1402031432"],"photo_ids_order":["1402031419","1402031421","1402031423","1402031425","1402031427","1402031432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c21f9c74e5d169634dd69580026dc9a.jpg","text":"TemporaryFile(/tmp/multipartBody8602130416729273494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282503122,"filename":"image_01012026_14_52_24_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d2cab2020314c25d819409b48ff1532.jpg","text":"TemporaryFile(/tmp/multipartBody7889520004688269926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282503122,"filename":"image_01012026_14_51_54_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ce712d3c21e394cdbc555cbb7da7b2e.jpg","text":"TemporaryFile(/tmp/multipartBody815506205584307962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282503122,"filename":"image_01012026_14_52_34_10078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcc5543ab2aeef9021bb260020f0fe72.jpg","text":"TemporaryFile(/tmp/multipartBody226832703921226325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282503122,"filename":"image_01012026_14_52_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4524cfddfd31787c8444c2559ef532a.jpg","text":"TemporaryFile(/tmp/multipartBody7054747066457231695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282503122,"filename":"image_01012026_14_52_13_9460.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c414be4a136b2de18039995e7fcfddc.jpg","text":"TemporaryFile(/tmp/multipartBody5045443419985011220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282503122,"filename":"image_01012026_14_52_44_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031423","file1":"1402031421","file0":"1402031419","file4":"1402031427","file5":"1402031432","file3":"1402031425"},"map_files_photo_id_array":[{"photo_id":"1402031432","filename":"file5"},{"photo_id":"1402031423","filename":"file2"},{"photo_id":"1402031427","filename":"file4"},{"photo_id":"1402031421","filename":"file1"},{"photo_id":"1402031419","filename":"file0"},{"photo_id":"1402031425","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031425":["hashtag1","hashtag2"]},{"1402031419":["hashtag1","hashtag2"]},{"1402031427":["hashtag1","hashtag2"]},{"1402031421":["hashtag1","hashtag2"]},{"1402031423":["hashtag1","hashtag2"]},{"1402031432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031425, 1402031419, 1402031427, 1402031421, 1402031423, 1402031432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86265158653259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:48:03.222311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_54_9678.jpg', '/home/pi/Desktop/images/01012026/14/52/image_01012026_14_53_03_9776.jpg', '/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_14_10613.jpg', '/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_24_9563.jpg', '/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_34_10783.jpg', '/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_44_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/52/image_01012026_14_52_54_9678.jpg
/home/pi/Desktop/images/01012026/14/52/image_01012026_14_53_03_9776.jpg
/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_14_10613.jpg
/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_24_9563.jpg
/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_34_10783.jpg
/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_44_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":["1402031437","1402031442","1402031439","1402031441","1402031444","1402031440"],"photo_ids_order":["1402031437","1402031439","1402031440","1402031441","1402031442","1402031444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f3fa8eb22ac6006a6a54830252ae2ec.jpg","text":"TemporaryFile(/tmp/multipartBody4060298513797363466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282543848,"filename":"image_01012026_14_52_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/492b61137553f9b861ec8a0d9ab28df4.jpg","text":"TemporaryFile(/tmp/multipartBody78787021596040069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282543848,"filename":"image_01012026_14_53_34_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80f0ae5497aef7a15a26b543d9908115.jpg","text":"TemporaryFile(/tmp/multipartBody3203629095141644206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282543848,"filename":"image_01012026_14_53_03_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/186fd3809aae4e53e792becf67c727c6.jpg","text":"TemporaryFile(/tmp/multipartBody3978968798334475246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282543848,"filename":"image_01012026_14_53_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3384a0e287ec26f784bce66ecfa51d97.jpg","text":"TemporaryFile(/tmp/multipartBody7472124738353933268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282543848,"filename":"image_01012026_14_53_44_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abeed2c8b2e60209be774513c5492331.jpg","text":"TemporaryFile(/tmp/multipartBody3237424762283370847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282543848,"filename":"image_01012026_14_53_14_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031440","file1":"1402031439","file0":"1402031437","file4":"1402031442","file5":"1402031444","file3":"1402031441"},"map_files_photo_id_array":[{"photo_id":"1402031444","filename":"file5"},{"photo_id":"1402031440","filename":"file2"},{"photo_id":"1402031442","filename":"file4"},{"photo_id":"1402031439","filename":"file1"},{"photo_id":"1402031437","filename":"file0"},{"photo_id":"1402031441","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031437":["hashtag1","hashtag2"]},{"1402031442":["hashtag1","hashtag2"]},{"1402031439":["hashtag1","hashtag2"]},{"1402031441":["hashtag1","hashtag2"]},{"1402031444":["hashtag1","hashtag2"]},{"1402031440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031437, 1402031442, 1402031439, 1402031441, 1402031444, 1402031440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.781578063964844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:48:42.766532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_14_2885.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_17_2625.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_26_2740.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_29_2641.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_32_3652.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_41_2794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_14_2885.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_17_2625.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_26_2740.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_29_2641.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_32_3652.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_41_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":["1402031460","1402031457","1402031453","1402031462","1402031459","1402031461"],"photo_ids_order":["1402031453","1402031457","1402031459","1402031460","1402031461","1402031462"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ab3204756c8a29a56e874be87bd294d.jpg","text":"TemporaryFile(/tmp/multipartBody6635894032801495601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282584652,"filename":"image_04112025_17_50_29_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/055c0853067cd468d910a3fa84103b5c.jpg","text":"TemporaryFile(/tmp/multipartBody7633584200187786925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282584652,"filename":"image_04112025_17_50_17_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4617d96a7daaa00ddd50b584e4783e88.jpg","text":"TemporaryFile(/tmp/multipartBody8449251568622038914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282584652,"filename":"image_04112025_17_50_14_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44350abe886d1cd25cbb35f78d8aad6a.jpg","text":"TemporaryFile(/tmp/multipartBody6734183107984231853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282584652,"filename":"image_04112025_17_50_41_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bdcafd1f452a7007ec1166b11a01f23.jpg","text":"TemporaryFile(/tmp/multipartBody6527014026295901456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282584652,"filename":"image_04112025_17_50_26_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4898947606522715452d64796acda6f.jpg","text":"TemporaryFile(/tmp/multipartBody2880656473214436737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282584652,"filename":"image_04112025_17_50_32_3652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031459","file1":"1402031457","file0":"1402031453","file4":"1402031461","file5":"1402031462","file3":"1402031460"},"map_files_photo_id_array":[{"photo_id":"1402031462","filename":"file5"},{"photo_id":"1402031459","filename":"file2"},{"photo_id":"1402031461","filename":"file4"},{"photo_id":"1402031457","filename":"file1"},{"photo_id":"1402031453","filename":"file0"},{"photo_id":"1402031460","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031460":["hashtag1","hashtag2"]},{"1402031457":["hashtag1","hashtag2"]},{"1402031453":["hashtag1","hashtag2"]},{"1402031462":["hashtag1","hashtag2"]},{"1402031459":["hashtag1","hashtag2"]},{"1402031461":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031460, 1402031457, 1402031453, 1402031462, 1402031459, 1402031461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.286890745162964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:49:21.933562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_54_9669.jpg', '/home/pi/Desktop/images/01012026/14/53/image_01012026_14_54_04_10756.jpg', '/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_14_9636.jpg', '/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_24_9674.jpg', '/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_33_9788.jpg', '/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_44_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/53/image_01012026_14_53_54_9669.jpg
/home/pi/Desktop/images/01012026/14/53/image_01012026_14_54_04_10756.jpg
/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_14_9636.jpg
/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_24_9674.jpg
/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_33_9788.jpg
/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_44_10573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031475","1402031469","1402031466","1402031471","1402031465","1402031473"],"photo_ids_order":["1402031465","1402031466","1402031469","1402031471","1402031473","1402031475"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54b97323b9ff0882b4b1b123c560105e.jpg","text":"TemporaryFile(/tmp/multipartBody706200884314475731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282622510,"filename":"image_01012026_14_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/2026/1/1/cad318e9213deedfb185fd1354d36ef1.jpg","text":"TemporaryFile(/tmp/multipartBody2890218628707293706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282622510,"filename":"image_01012026_14_54_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e28bf73c90854057534b232dbd69ca9.jpg","text":"TemporaryFile(/tmp/multipartBody2134411764902802850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282622510,"filename":"image_01012026_14_54_04_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b86f7e45a50470568dc5a719e49ca741.jpg","text":"TemporaryFile(/tmp/multipartBody4091810334832629295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282622510,"filename":"image_01012026_14_54_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e6ac4e7e456c2f44a29b944c9526d82.jpg","text":"TemporaryFile(/tmp/multipartBody2153647803623307530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282622510,"filename":"image_01012026_14_53_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3703a7b1b9085ec924dcdad8e1d24eec.jpg","text":"TemporaryFile(/tmp/multipartBody7288327721105915153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282622510,"filename":"image_01012026_14_54_33_9788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031469","file1":"1402031466","file0":"1402031465","file4":"1402031473","file5":"1402031475","file3":"1402031471"},"map_files_photo_id_array":[{"photo_id":"1402031475","filename":"file5"},{"photo_id":"1402031469","filename":"file2"},{"photo_id":"1402031473","filename":"file4"},{"photo_id":"1402031466","filename":"file1"},{"photo_id":"1402031465","filename":"file0"},{"photo_id":"1402031471","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031475":["hashtag1","hashtag2"]},{"1402031469":["hashtag1","hashtag2"]},{"1402031466":["hashtag1","hashtag2"]},{"1402031471":["hashtag1","hashtag2"]},{"1402031465":["hashtag1","hashtag2"]},{"1402031473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031475, 1402031469, 1402031466, 1402031471, 1402031465, 1402031473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46592116355896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:50:02.573094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_54_9792.jpg', '/home/pi/Desktop/images/01012026/14/54/image_01012026_14_55_03_9637.jpg', '/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_14_10596.jpg', '/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_24_9714.jpg', '/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_33_9698.jpg', '/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_44_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/54/image_01012026_14_54_54_9792.jpg
/home/pi/Desktop/images/01012026/14/54/image_01012026_14_55_03_9637.jpg
/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_14_10596.jpg
/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_24_9714.jpg
/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_33_9698.jpg
/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_44_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":["1402031478","1402031480","1402031482","1402031476","1402031485","1402031479"],"photo_ids_order":["1402031476","1402031478","1402031479","1402031480","1402031482","1402031485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19401931b72cdfc9da94bf2a9a500c16.jpg","text":"TemporaryFile(/tmp/multipartBody6488093922062165675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282663179,"filename":"image_01012026_14_55_03_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d45b34a9471119f8735ae694f7acb245.jpg","text":"TemporaryFile(/tmp/multipartBody4511074204426566366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282663179,"filename":"image_01012026_14_55_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c759c0793b6b29745ace6629a1fbe36f.jpg","text":"TemporaryFile(/tmp/multipartBody2887844335740251726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282663179,"filename":"image_01012026_14_55_33_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1112fecda24603088bcdd2ceb3c6f11e.jpg","text":"TemporaryFile(/tmp/multipartBody1904493527491370936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282663179,"filename":"image_01012026_14_54_54_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92b5cf7bf6620616835f6ae385b89210.jpg","text":"TemporaryFile(/tmp/multipartBody5016936946680872542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282663179,"filename":"image_01012026_14_55_44_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6d70569af857d53520bc383cfc6bd17.jpg","text":"TemporaryFile(/tmp/multipartBody38989965199223512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282663179,"filename":"image_01012026_14_55_14_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031479","file1":"1402031478","file0":"1402031476","file4":"1402031482","file5":"1402031485","file3":"1402031480"},"map_files_photo_id_array":[{"photo_id":"1402031485","filename":"file5"},{"photo_id":"1402031479","filename":"file2"},{"photo_id":"1402031482","filename":"file4"},{"photo_id":"1402031478","filename":"file1"},{"photo_id":"1402031476","filename":"file0"},{"photo_id":"1402031480","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031478":["hashtag1","hashtag2"]},{"1402031480":["hashtag1","hashtag2"]},{"1402031482":["hashtag1","hashtag2"]},{"1402031476":["hashtag1","hashtag2"]},{"1402031485":["hashtag1","hashtag2"]},{"1402031479":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031478, 1402031480, 1402031482, 1402031476, 1402031485, 1402031479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86310696601868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:50:42.189636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_44_2685.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_47_2635.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_50_3737.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_53_2682.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_55_2553.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_05_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_44_2685.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_47_2635.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_50_3737.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_53_2682.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_55_2553.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_05_3646.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.775101900100708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:51:02.955708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_54_9523.jpg', '/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_04_10226.jpg', '/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_13_9679.jpg', '/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_24_10667.jpg', '/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_34_9755.jpg', '/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_44_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/55/image_01012026_14_55_54_9523.jpg
/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_04_10226.jpg
/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_13_9679.jpg
/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_24_10667.jpg
/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_34_9755.jpg
/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_44_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031500","1402031503","1402031499","1402031505","1402031502","1402031501"],"photo_ids_order":["1402031499","1402031500","1402031501","1402031502","1402031503","1402031505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f0fd176ebd28e795dd4423ab92ce32d.jpg","text":"TemporaryFile(/tmp/multipartBody1242732428166291106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282723598,"filename":"image_01012026_14_56_04_10226.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb1c433aa3d5126f12bdd3848a989ec3.jpg","text":"TemporaryFile(/tmp/multipartBody1169328984084156457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282723598,"filename":"image_01012026_14_56_34_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5dc80db1f38bb18ef06c3eedb0357f3.jpg","text":"TemporaryFile(/tmp/multipartBody6532988211946211539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282723598,"filename":"image_01012026_14_55_54_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78a1f8cb310b27a46bfe18836b49e6d2.jpg","text":"TemporaryFile(/tmp/multipartBody514256466718219489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282723598,"filename":"image_01012026_14_56_44_10390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8d5de29c86b1252f13975fce9ede0e8.jpg","text":"TemporaryFile(/tmp/multipartBody9036124671863180191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282723598,"filename":"image_01012026_14_56_24_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84345c6e89b043df7ecc44c13d777f19.jpg","text":"TemporaryFile(/tmp/multipartBody6613718674328963334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282723598,"filename":"image_01012026_14_56_13_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031501","file1":"1402031500","file0":"1402031499","file4":"1402031503","file5":"1402031505","file3":"1402031502"},"map_files_photo_id_array":[{"photo_id":"1402031505","filename":"file5"},{"photo_id":"1402031501","filename":"file2"},{"photo_id":"1402031503","filename":"file4"},{"photo_id":"1402031500","filename":"file1"},{"photo_id":"1402031499","filename":"file0"},{"photo_id":"1402031502","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031500":["hashtag1","hashtag2"]},{"1402031503":["hashtag1","hashtag2"]},{"1402031499":["hashtag1","hashtag2"]},{"1402031505":["hashtag1","hashtag2"]},{"1402031502":["hashtag1","hashtag2"]},{"1402031501":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031500, 1402031503, 1402031499, 1402031505, 1402031502, 1402031501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99990797042847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:51:42.411585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_44_2685.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_47_2635.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_50_3737.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_53_2682.jpg', '/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_55_2553.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_05_3646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_44_2685.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_47_2635.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_50_3737.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_53_2682.jpg
/home/pi/Desktop/images/04112025/17/50/image_04112025_17_50_55_2553.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_05_3646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031515","1402031511","1402031514","1402031517","1402031516","1402031513"],"photo_ids_order":["1402031511","1402031513","1402031514","1402031515","1402031516","1402031517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c0759c318bfc13b79d550636f0d0619.jpg","text":"TemporaryFile(/tmp/multipartBody8184396439280409079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282764148,"filename":"image_04112025_17_50_53_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0d7f2fd0a741543a4d4548449a246d7.jpg","text":"TemporaryFile(/tmp/multipartBody5008411569991211648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282764148,"filename":"image_04112025_17_50_44_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8e35862c32db7f4277b62bc730ea28c.jpg","text":"TemporaryFile(/tmp/multipartBody2091376046135025631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282764148,"filename":"image_04112025_17_50_50_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8bca749059823d85ace4d94e2f73fdbd.jpg","text":"TemporaryFile(/tmp/multipartBody6540159135015932025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282764148,"filename":"image_04112025_17_51_05_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d5ec0421ad7a6c1a66e2cbb21f1886d.jpg","text":"TemporaryFile(/tmp/multipartBody1477134174438213885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282764148,"filename":"image_04112025_17_50_55_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cda3fe9b0e8354d7f488ae87323470b.jpg","text":"TemporaryFile(/tmp/multipartBody8001995962945792799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282764148,"filename":"image_04112025_17_50_47_2635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031514","file1":"1402031513","file0":"1402031511","file4":"1402031516","file5":"1402031517","file3":"1402031515"},"map_files_photo_id_array":[{"photo_id":"1402031517","filename":"file5"},{"photo_id":"1402031514","filename":"file2"},{"photo_id":"1402031516","filename":"file4"},{"photo_id":"1402031513","filename":"file1"},{"photo_id":"1402031511","filename":"file0"},{"photo_id":"1402031515","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031515":["hashtag1","hashtag2"]},{"1402031511":["hashtag1","hashtag2"]},{"1402031514":["hashtag1","hashtag2"]},{"1402031517":["hashtag1","hashtag2"]},{"1402031516":["hashtag1","hashtag2"]},{"1402031513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031515, 1402031511, 1402031514, 1402031517, 1402031516, 1402031513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48223924636841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:52:22.576476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_54_9580.jpg', '/home/pi/Desktop/images/01012026/14/56/image_01012026_14_57_04_9657.jpg', '/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_14_10657.jpg', '/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_24_9638.jpg', '/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_34_9677.jpg', '/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_44_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/56/image_01012026_14_56_54_9580.jpg
/home/pi/Desktop/images/01012026/14/56/image_01012026_14_57_04_9657.jpg
/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_14_10657.jpg
/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_24_9638.jpg
/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_34_9677.jpg
/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_44_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":["1402031530","1402031524","1402031526","1402031520","1402031522","1402031528"],"photo_ids_order":["1402031520","1402031522","1402031524","1402031526","1402031528","1402031530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d1418bd14a8f2c119e59208d445d01d.jpg","text":"TemporaryFile(/tmp/multipartBody7676126826986083700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282803168,"filename":"image_01012026_14_57_44_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52b3fddb1e4c427220f76935fb5c4c39.jpg","text":"TemporaryFile(/tmp/multipartBody2151242007179612738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282803168,"filename":"image_01012026_14_57_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/188d4d59c261abfbab50411fab4d0769.jpg","text":"TemporaryFile(/tmp/multipartBody3200407429328353106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282803168,"filename":"image_01012026_14_57_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f63e4d31042f8dd8115d28abe268891e.jpg","text":"TemporaryFile(/tmp/multipartBody2262442337990579801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282803168,"filename":"image_01012026_14_56_54_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d27574421b8cb543ed3e40cb3235f367.jpg","text":"TemporaryFile(/tmp/multipartBody3061838858252112593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282803168,"filename":"image_01012026_14_57_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbee0f6bda4bd49eda5efdb03061bb4b.jpg","text":"TemporaryFile(/tmp/multipartBody4090919367196534378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282803168,"filename":"image_01012026_14_57_34_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031524","file1":"1402031522","file0":"1402031520","file4":"1402031528","file5":"1402031530","file3":"1402031526"},"map_files_photo_id_array":[{"photo_id":"1402031530","filename":"file5"},{"photo_id":"1402031524","filename":"file2"},{"photo_id":"1402031528","filename":"file4"},{"photo_id":"1402031522","filename":"file1"},{"photo_id":"1402031520","filename":"file0"},{"photo_id":"1402031526","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031530":["hashtag1","hashtag2"]},{"1402031524":["hashtag1","hashtag2"]},{"1402031526":["hashtag1","hashtag2"]},{"1402031520":["hashtag1","hashtag2"]},{"1402031522":["hashtag1","hashtag2"]},{"1402031528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031530, 1402031524, 1402031526, 1402031520, 1402031522, 1402031528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06941056251526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:53:03.450753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_54_9766.jpg', '/home/pi/Desktop/images/01012026/14/57/image_01012026_14_58_04_9783.jpg', '/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_14_10252.jpg', '/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_24_9668.jpg', '/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_34_10672.jpg', '/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_44_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/57/image_01012026_14_57_54_9766.jpg
/home/pi/Desktop/images/01012026/14/57/image_01012026_14_58_04_9783.jpg
/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_14_10252.jpg
/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_24_9668.jpg
/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_34_10672.jpg
/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_44_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031538","1402031532","1402031535","1402031534","1402031537","1402031533"],"photo_ids_order":["1402031532","1402031533","1402031534","1402031535","1402031537","1402031538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bea6d8dfe6a657146130c4f0a983679.jpg","text":"TemporaryFile(/tmp/multipartBody8488606729863053681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282844101,"filename":"image_01012026_14_58_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5819f9821f262fa586d7e0a14f6a93d8.jpg","text":"TemporaryFile(/tmp/multipartBody4495277863694628490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282844101,"filename":"image_01012026_14_57_54_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2780662b98585688863f5fc668941725.jpg","text":"TemporaryFile(/tmp/multipartBody4469391983854015171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282844101,"filename":"image_01012026_14_58_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7e206ccc48271cc692184346e08aaa7.jpg","text":"TemporaryFile(/tmp/multipartBody6978178009330052121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282844101,"filename":"image_01012026_14_58_14_10252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb1947af603501d50be3553c3a4e0d09.jpg","text":"TemporaryFile(/tmp/multipartBody874431408177868632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282844101,"filename":"image_01012026_14_58_34_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7ce3562a29d5d3c3554ffff5ac25378.jpg","text":"TemporaryFile(/tmp/multipartBody8551818364421908232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282844101,"filename":"image_01012026_14_58_04_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031534","file1":"1402031533","file0":"1402031532","file4":"1402031537","file5":"1402031538","file3":"1402031535"},"map_files_photo_id_array":[{"photo_id":"1402031538","filename":"file5"},{"photo_id":"1402031534","filename":"file2"},{"photo_id":"1402031537","filename":"file4"},{"photo_id":"1402031533","filename":"file1"},{"photo_id":"1402031532","filename":"file0"},{"photo_id":"1402031535","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031538":["hashtag1","hashtag2"]},{"1402031532":["hashtag1","hashtag2"]},{"1402031535":["hashtag1","hashtag2"]},{"1402031534":["hashtag1","hashtag2"]},{"1402031537":["hashtag1","hashtag2"]},{"1402031533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031538, 1402031532, 1402031535, 1402031534, 1402031537, 1402031533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17682957649231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:53:42.697790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_08_2718.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_11_2700.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_13_2678.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_17_3683.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_20_2742.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_23_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_08_2718.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_11_2700.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_13_2678.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_17_3683.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_20_2742.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_23_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":["1402031544","1402031547","1402031549","1402031546","1402031545","1402031548"],"photo_ids_order":["1402031544","1402031545","1402031546","1402031547","1402031548","1402031549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c613a0406f9efe8f2de651afca022d2.jpg","text":"TemporaryFile(/tmp/multipartBody7644432226148552937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282884572,"filename":"image_04112025_17_51_08_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb4d27763d7d5e23198ff9854e47de57.jpg","text":"TemporaryFile(/tmp/multipartBody2650132002288382222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282884572,"filename":"image_04112025_17_51_17_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/112855c4175ae74f6131d6a5d317c8fa.jpg","text":"TemporaryFile(/tmp/multipartBody7497886100839892322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282884572,"filename":"image_04112025_17_51_23_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dae68992ba61391212b022101b40e3c1.jpg","text":"TemporaryFile(/tmp/multipartBody9212872059217971957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282884572,"filename":"image_04112025_17_51_13_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86969f5eb2e60c22fc1bf6166b4baf82.jpg","text":"TemporaryFile(/tmp/multipartBody7867183054198816574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282884572,"filename":"image_04112025_17_51_11_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2402e0fa2bd4bc775f00854ba008ecd2.jpg","text":"TemporaryFile(/tmp/multipartBody1026806309944068655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282884572,"filename":"image_04112025_17_51_20_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031546","file1":"1402031545","file0":"1402031544","file4":"1402031548","file5":"1402031549","file3":"1402031547"},"map_files_photo_id_array":[{"photo_id":"1402031549","filename":"file5"},{"photo_id":"1402031546","filename":"file2"},{"photo_id":"1402031548","filename":"file4"},{"photo_id":"1402031545","filename":"file1"},{"photo_id":"1402031544","filename":"file0"},{"photo_id":"1402031547","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031544":["hashtag1","hashtag2"]},{"1402031547":["hashtag1","hashtag2"]},{"1402031549":["hashtag1","hashtag2"]},{"1402031546":["hashtag1","hashtag2"]},{"1402031545":["hashtag1","hashtag2"]},{"1402031548":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031544, 1402031547, 1402031549, 1402031546, 1402031545, 1402031548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59371829032898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:54:21.896267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_54_9791.jpg', '/home/pi/Desktop/images/01012026/14/58/image_01012026_14_59_03_9628.jpg', '/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_14_10586.jpg', '/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_24_10017.jpg', '/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_34_9621.jpg', '/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_44_10747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/58/image_01012026_14_58_54_9791.jpg
/home/pi/Desktop/images/01012026/14/58/image_01012026_14_59_03_9628.jpg
/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_14_10586.jpg
/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_24_10017.jpg
/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_34_9621.jpg
/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_44_10747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031562","1402031556","1402031557","1402031551","1402031560","1402031554"],"photo_ids_order":["1402031551","1402031554","1402031556","1402031557","1402031560","1402031562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cdf18acdaf7fda82a0c16e90bec4b29.jpg","text":"TemporaryFile(/tmp/multipartBody8972047112013332759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282922486,"filename":"image_01012026_14_59_44_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31bede2420898cdaa935c0851d07a192.jpg","text":"TemporaryFile(/tmp/multipartBody619617329630583625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282922486,"filename":"image_01012026_14_59_14_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b6bceb680d460300fe300c3e8a92ca4.jpg","text":"TemporaryFile(/tmp/multipartBody7489326533273676433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282922486,"filename":"image_01012026_14_59_24_10017.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f14558d175ac98ffa8eb97af1ad350d6.jpg","text":"TemporaryFile(/tmp/multipartBody7711691384481147963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282922486,"filename":"image_01012026_14_58_54_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c38d1b5c83959869092d09eb14af1b28.jpg","text":"TemporaryFile(/tmp/multipartBody9040713432000964402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282922486,"filename":"image_01012026_14_59_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a69f88e6f3b7050681322f1afd10d337.jpg","text":"TemporaryFile(/tmp/multipartBody769123803257303062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282922486,"filename":"image_01012026_14_59_03_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031556","file1":"1402031554","file0":"1402031551","file4":"1402031560","file5":"1402031562","file3":"1402031557"},"map_files_photo_id_array":[{"photo_id":"1402031562","filename":"file5"},{"photo_id":"1402031556","filename":"file2"},{"photo_id":"1402031560","filename":"file4"},{"photo_id":"1402031554","filename":"file1"},{"photo_id":"1402031551","filename":"file0"},{"photo_id":"1402031557","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031562":["hashtag1","hashtag2"]},{"1402031556":["hashtag1","hashtag2"]},{"1402031557":["hashtag1","hashtag2"]},{"1402031551":["hashtag1","hashtag2"]},{"1402031560":["hashtag1","hashtag2"]},{"1402031554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031562, 1402031556, 1402031557, 1402031551, 1402031560, 1402031554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99992799758911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:55:02.709210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_54_9700.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_14_10050.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_25_10674.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_35_9612.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_44_9733.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_55_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_54_9700.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_14_10050.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_25_10674.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_35_9612.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_44_9733.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_55_10761.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.5297608375549316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:55:11.958146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_26_3585.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_29_2744.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_32_2867.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_35_3634.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_38_2624.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_41_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_26_3585.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_29_2744.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_32_2867.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_35_3634.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_38_2624.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_41_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031580","1402031571","1402031573","1402031575","1402031578","1402031569"],"photo_ids_order":["1402031569","1402031571","1402031573","1402031575","1402031578","1402031580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa73f6dd219457ca6e44cb9aaf40973c.jpg","text":"TemporaryFile(/tmp/multipartBody3286810865121515673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282973698,"filename":"image_04112025_17_51_41_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a123d029c1cfe991970bbea34a6bc86b.jpg","text":"TemporaryFile(/tmp/multipartBody7098622015019969034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282973698,"filename":"image_04112025_17_51_29_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/706501d998635a5915e3500a9b87ffac.jpg","text":"TemporaryFile(/tmp/multipartBody1540166976918549273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282973698,"filename":"image_04112025_17_51_32_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98f91eaca8c9c5c7c7eb581f917a1894.jpg","text":"TemporaryFile(/tmp/multipartBody8550392132601250913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282973698,"filename":"image_04112025_17_51_35_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95b5655c1267f90a7e07fcc5e9d2a152.jpg","text":"TemporaryFile(/tmp/multipartBody1880944351326470093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282973698,"filename":"image_04112025_17_51_38_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0af93a7dc22a3012091c8c8dc55f7ea1.jpg","text":"TemporaryFile(/tmp/multipartBody7583057193178343052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767282973698,"filename":"image_04112025_17_51_26_3585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031573","file1":"1402031571","file0":"1402031569","file4":"1402031578","file5":"1402031580","file3":"1402031575"},"map_files_photo_id_array":[{"photo_id":"1402031580","filename":"file5"},{"photo_id":"1402031573","filename":"file2"},{"photo_id":"1402031578","filename":"file4"},{"photo_id":"1402031571","filename":"file1"},{"photo_id":"1402031569","filename":"file0"},{"photo_id":"1402031575","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031580":["hashtag1","hashtag2"]},{"1402031571":["hashtag1","hashtag2"]},{"1402031573":["hashtag1","hashtag2"]},{"1402031575":["hashtag1","hashtag2"]},{"1402031578":["hashtag1","hashtag2"]},{"1402031569":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031580, 1402031571, 1402031573, 1402031575, 1402031578, 1402031569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.28860855102539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:56:02.787993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_54_9700.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_14_10050.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_25_10674.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_35_9612.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_44_9733.jpg', '/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_55_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/14/59/image_01012026_14_59_54_9700.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_14_10050.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_25_10674.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_35_9612.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_44_9733.jpg
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_00_55_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":["1402031586","1402031585","1402031588","1402031590","1402031584","1402031587"],"photo_ids_order":["1402031584","1402031585","1402031586","1402031587","1402031588","1402031590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a3554e864b481248d08d4bae7c2fa3b.jpg","text":"TemporaryFile(/tmp/multipartBody1329809539530382437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283023405,"filename":"image_01012026_15_00_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca38f1425d57f28bcb9d93eb87ef7f97.jpg","text":"TemporaryFile(/tmp/multipartBody7936949263570814226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283023405,"filename":"image_01012026_15_00_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d70f05e9c4c4689d19cce11e0f53f142.jpg","text":"TemporaryFile(/tmp/multipartBody3655462298518484894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283023405,"filename":"image_01012026_15_00_44_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d1b2b51934fd49ff5b9495e101ab714.jpg","text":"TemporaryFile(/tmp/multipartBody8461570136333065656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283023405,"filename":"image_01012026_15_00_55_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c88ec95b09b79379ef6db1130ffabeea.jpg","text":"TemporaryFile(/tmp/multipartBody2849651075158944014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283023405,"filename":"image_01012026_14_59_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13de0f69968db7c0612a66adf4f40f73.jpg","text":"TemporaryFile(/tmp/multipartBody558805317862294699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283023405,"filename":"image_01012026_15_00_35_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031586","file1":"1402031585","file0":"1402031584","file4":"1402031588","file5":"1402031590","file3":"1402031587"},"map_files_photo_id_array":[{"photo_id":"1402031590","filename":"file5"},{"photo_id":"1402031586","filename":"file2"},{"photo_id":"1402031588","filename":"file4"},{"photo_id":"1402031585","filename":"file1"},{"photo_id":"1402031584","filename":"file0"},{"photo_id":"1402031587","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031586":["hashtag1","hashtag2"]},{"1402031585":["hashtag1","hashtag2"]},{"1402031588":["hashtag1","hashtag2"]},{"1402031590":["hashtag1","hashtag2"]},{"1402031584":["hashtag1","hashtag2"]},{"1402031587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031586, 1402031585, 1402031588, 1402031590, 1402031584, 1402031587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.124839305877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:56:42.300425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_44_2893.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_47_3623.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_50_2777.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_53_2694.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_56_3733.jpg', '/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_59_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_44_2893.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_47_3623.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_50_2777.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_53_2694.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_56_3733.jpg
/home/pi/Desktop/images/04112025/17/51/image_04112025_17_51_59_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031602","1402031601","1402031603","1402031596","1402031600","1402031599"],"photo_ids_order":["1402031596","1402031599","1402031600","1402031601","1402031602","1402031603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b82f17edfd4b547ad32a943dc3f6320.jpg","text":"TemporaryFile(/tmp/multipartBody723358781336720511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283064202,"filename":"image_04112025_17_51_56_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05555c7f7c70499c1824a7772c7742ef.jpg","text":"TemporaryFile(/tmp/multipartBody7010574903783030241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283064202,"filename":"image_04112025_17_51_53_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/551b27bcc2ed824ce123b37f0f03caeb.jpg","text":"TemporaryFile(/tmp/multipartBody5816536287808918022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283064202,"filename":"image_04112025_17_51_59_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ddd7725a72c8cd9b1750cea26b1e6eb.jpg","text":"TemporaryFile(/tmp/multipartBody1011811422887196252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283064202,"filename":"image_04112025_17_51_44_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dac79c4dd9a0aacdd9d00a6b46e6996.jpg","text":"TemporaryFile(/tmp/multipartBody3230873086500587590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283064202,"filename":"image_04112025_17_51_50_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25cbbfb55914e9ccb84d8aeaa4ee62a3.jpg","text":"TemporaryFile(/tmp/multipartBody2448541250476607692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283064202,"filename":"image_04112025_17_51_47_3623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031600","file1":"1402031599","file0":"1402031596","file4":"1402031602","file5":"1402031603","file3":"1402031601"},"map_files_photo_id_array":[{"photo_id":"1402031603","filename":"file5"},{"photo_id":"1402031600","filename":"file2"},{"photo_id":"1402031602","filename":"file4"},{"photo_id":"1402031599","filename":"file1"},{"photo_id":"1402031596","filename":"file0"},{"photo_id":"1402031601","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402031602":["hashtag1","hashtag2"]},{"1402031601":["hashtag1","hashtag2"]},{"1402031603":["hashtag1","hashtag2"]},{"1402031596":["hashtag1","hashtag2"]},{"1402031600":["hashtag1","hashtag2"]},{"1402031599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402031602, 1402031601, 1402031603, 1402031596, 1402031600, 1402031599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61651039123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 16:57:22.524690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/00/image_01012026_15_01_05_9641.jpg', '/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_15_9920.jpg', '/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_24_9860.jpg', '/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_35_10633.jpg', '/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_45_9579.jpg', '/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/00/image_01012026_15_01_05_9641.jpg
/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_15_9920.jpg
/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_24_9860.jpg
/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_35_10633.jpg
/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_45_9579.jpg
/home/pi/Desktop/images/01012026/15/01/image_01012026_15_01_54_9627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402031853","1402031769","1402031730","1402031693","1402031807","1402031657"],"photo_ids_order":["1402031657","1402031693","1402031730","1402031769","1402031807","1402031853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2c503c5d5522f73202bc8873ef5fe6c.jpg","text":"TemporaryFile(/tmp/multipartBody1987031693208487333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283103107,"filename":"image_01012026_15_01_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b1945a1d1f8b69c0a14b16a4415db2b.jpg","text":"TemporaryFile(/tmp/multipartBody504868398849033805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283103107,"filename":"image_01012026_15_01_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae25ede110740b5828779068795040b3.jpg","text":"TemporaryFile(/tmp/multipartBody7791244980055634295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283103107,"filename":"image_01012026_15_01_24_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/991ff92fd69e9478f9d085ea1eddd3d6.jpg","text":"TemporaryFile(/tmp/multipartBody601370458399461116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283103107,"filename":"image_01012026_15_01_15_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a975409d75276fa8188f89ecaf376b25.jpg","text":"TemporaryFile(/tmp/multipartBody13837850552282911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283103107,"filename":"image_01012026_15_01_45_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2c5b3d63865c890d01f3d5c2e4b969b.jpg","text":"TemporaryFile(/tmp/multipartBody3193472151581400734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283103107,"filename":"image_01012026_15_01_05_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402031730","file1":"1402031693","file0":"1402031657","file4":"1402031807","file5":"1402031853","file3":"1402031769"},"map_files_photo_id_array":[{"photo_id":"1402031853","filename":"file5"},{"photo_id":"1402031730","filename":"file2"},{"photo_id":"1402031807","filename":"file4"},{"photo_id":"1402031693","filename":"file1"},{"photo_id":"1402031657","filename":"file0"},{"photo_id":"1402031769","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402031853":["hashtag1","hashtag2"]},{"1402031769":["hashtag1","hashtag2"]},{"1402031730":["hashtag1","hashtag2"]},{"1402031693":["hashtag1","hashtag2"]},{"1402031807":["hashtag1","hashtag2"]},{"1402031657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402031853, 1402031769, 1402031730, 1402031693, 1402031807, 1402031657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.724836587905884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 16:59:03.803169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/01/image_01012026_15_02_05_10800.jpg', '/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_15_9800.jpg', '/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_25_9779.jpg', '/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_35_9808.jpg', '/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_44_9732.jpg', '/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_55_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/01/image_01012026_15_02_05_10800.jpg
/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_15_9800.jpg
/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_25_9779.jpg
/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_35_9808.jpg
/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_44_9732.jpg
/home/pi/Desktop/images/01012026/15/02/image_01012026_15_02_55_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":["1402032198","1402032168","1402032196","1402032200","1402032202","1402032189"],"photo_ids_order":["1402032168","1402032189","1402032196","1402032198","1402032200","1402032202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd7ff7e162834835d41c097fc877e717.jpg","text":"TemporaryFile(/tmp/multipartBody2184411088504808197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283204573,"filename":"image_01012026_15_02_35_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb07f604ebfa215cc10a79b3cac57858.jpg","text":"TemporaryFile(/tmp/multipartBody4221401211566202631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283204573,"filename":"image_01012026_15_02_05_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e8ee574a2ff29b83dc4efad21050a85.jpg","text":"TemporaryFile(/tmp/multipartBody6385765666601671759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283204573,"filename":"image_01012026_15_02_25_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4522454bef7b7277678ece1f70fa02f4.jpg","text":"TemporaryFile(/tmp/multipartBody7065900350424065462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283204573,"filename":"image_01012026_15_02_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36d9aa640774e784d3f1ed25e6eae324.jpg","text":"TemporaryFile(/tmp/multipartBody7573759435993643714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283204573,"filename":"image_01012026_15_02_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebf4fcfd8a76c8478f7bf421fe3e2f4d.jpg","text":"TemporaryFile(/tmp/multipartBody8452296623644737556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283204573,"filename":"image_01012026_15_02_15_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402032196","file1":"1402032189","file0":"1402032168","file4":"1402032200","file5":"1402032202","file3":"1402032198"},"map_files_photo_id_array":[{"photo_id":"1402032202","filename":"file5"},{"photo_id":"1402032196","filename":"file2"},{"photo_id":"1402032200","filename":"file4"},{"photo_id":"1402032189","filename":"file1"},{"photo_id":"1402032168","filename":"file0"},{"photo_id":"1402032198","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402032198":["hashtag1","hashtag2"]},{"1402032168":["hashtag1","hashtag2"]},{"1402032196":["hashtag1","hashtag2"]},{"1402032200":["hashtag1","hashtag2"]},{"1402032202":["hashtag1","hashtag2"]},{"1402032189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402032198, 1402032168, 1402032196, 1402032200, 1402032202, 1402032189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27660131454468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 16:59:42.773428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_02_2563.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_05_3534.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_08_2594.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_11_2839.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_14_3624.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_17_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_02_2563.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_05_3534.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_08_2594.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_11_2839.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_14_3624.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_17_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":["1402032375","1402032267","1402032231","1402032300","1402032419","1402032337"],"photo_ids_order":["1402032231","1402032267","1402032300","1402032337","1402032375","1402032419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/747a27cdba88dcfaad0adb1b04b36d9d.jpg","text":"TemporaryFile(/tmp/multipartBody6232097947572419755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283244632,"filename":"image_04112025_17_52_14_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8e8bb1af46318def0a5b8f642a36cec.jpg","text":"TemporaryFile(/tmp/multipartBody8461293197738934502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283244632,"filename":"image_04112025_17_52_05_3534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e62dd6d19f1f1602642f362a47655871.jpg","text":"TemporaryFile(/tmp/multipartBody19119599000179845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283244632,"filename":"image_04112025_17_52_02_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79e4a104bc54949d17fab7c16198a030.jpg","text":"TemporaryFile(/tmp/multipartBody3187650695477510151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283244632,"filename":"image_04112025_17_52_08_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0d752b4c19c6156ff9e7a9fa6766f5b.jpg","text":"TemporaryFile(/tmp/multipartBody373067242723212441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283244632,"filename":"image_04112025_17_52_17_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0975e1a7713058bcba8051b66b172f1c.jpg","text":"TemporaryFile(/tmp/multipartBody3232596952810592785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283244632,"filename":"image_04112025_17_52_11_2839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402032300","file1":"1402032267","file0":"1402032231","file4":"1402032375","file5":"1402032419","file3":"1402032337"},"map_files_photo_id_array":[{"photo_id":"1402032419","filename":"file5"},{"photo_id":"1402032300","filename":"file2"},{"photo_id":"1402032375","filename":"file4"},{"photo_id":"1402032267","filename":"file1"},{"photo_id":"1402032231","filename":"file0"},{"photo_id":"1402032337","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402032375":["hashtag1","hashtag2"]},{"1402032267":["hashtag1","hashtag2"]},{"1402032231":["hashtag1","hashtag2"]},{"1402032300":["hashtag1","hashtag2"]},{"1402032419":["hashtag1","hashtag2"]},{"1402032337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402032375, 1402032267, 1402032231, 1402032300, 1402032419, 1402032337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82760667800903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:00:21.945073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/02/image_01012026_15_03_05_9771.jpg', '/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_14_9689.jpg', '/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_24_9855.jpg', '/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_35_10756.jpg', '/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_45_9530.jpg', '/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_55_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/02/image_01012026_15_03_05_9771.jpg
/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_14_9689.jpg
/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_24_9855.jpg
/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_35_10756.jpg
/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_45_9530.jpg
/home/pi/Desktop/images/01012026/15/03/image_01012026_15_03_55_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402032540","1402032615","1402032723","1402032686","1402032653","1402032580"],"photo_ids_order":["1402032540","1402032580","1402032615","1402032653","1402032686","1402032723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ac45655f1dc49e83676b0c442233f48.jpg","text":"TemporaryFile(/tmp/multipartBody8103614664980086118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283282568,"filename":"image_01012026_15_03_05_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6da667ba6dea044fd8b99c15283744c.jpg","text":"TemporaryFile(/tmp/multipartBody1164261831649257109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283282568,"filename":"image_01012026_15_03_24_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbdbc6def92ddd8103859fd939b2b34b.jpg","text":"TemporaryFile(/tmp/multipartBody3537358761964942365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283282568,"filename":"image_01012026_15_03_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfc7808545b4912c070b45c4057f5c06.jpg","text":"TemporaryFile(/tmp/multipartBody1561933283702371484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283282568,"filename":"image_01012026_15_03_45_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da4888b4cfc302eddff2c4e9de0213d2.jpg","text":"TemporaryFile(/tmp/multipartBody576763992297090929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283282568,"filename":"image_01012026_15_03_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ef4269884dfabc9a9a6e2a9f79be7a2.jpg","text":"TemporaryFile(/tmp/multipartBody2360636102912805504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283282568,"filename":"image_01012026_15_03_14_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402032615","file1":"1402032580","file0":"1402032540","file4":"1402032686","file5":"1402032723","file3":"1402032653"},"map_files_photo_id_array":[{"photo_id":"1402032723","filename":"file5"},{"photo_id":"1402032615","filename":"file2"},{"photo_id":"1402032686","filename":"file4"},{"photo_id":"1402032580","filename":"file1"},{"photo_id":"1402032540","filename":"file0"},{"photo_id":"1402032653","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402032540":["hashtag1","hashtag2"]},{"1402032615":["hashtag1","hashtag2"]},{"1402032723":["hashtag1","hashtag2"]},{"1402032686":["hashtag1","hashtag2"]},{"1402032653":["hashtag1","hashtag2"]},{"1402032580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402032540, 1402032615, 1402032723, 1402032686, 1402032653, 1402032580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.048717737197876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:01:02.896412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/03/image_01012026_15_04_05_9764.jpg', '/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_15_9617.jpg', '/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_25_10598.jpg', '/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_35_9524.jpg', '/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_44_9736.jpg', '/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_55_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/03/image_01012026_15_04_05_9764.jpg
/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_15_9617.jpg
/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_25_10598.jpg
/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_35_9524.jpg
/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_44_9736.jpg
/home/pi/Desktop/images/01012026/15/04/image_01012026_15_04_55_10570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402032986","1402032872","1402032985","1402032988","1402032949","1402032913"],"photo_ids_order":["1402032872","1402032913","1402032949","1402032985","1402032986","1402032988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f79a3492c2ddb1912c3e74b24523d10.jpg","text":"TemporaryFile(/tmp/multipartBody5424934529524259329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283323582,"filename":"image_01012026_15_04_44_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adce1dbd4e884df18c6e3ed6dbc4874c.jpg","text":"TemporaryFile(/tmp/multipartBody30780575998679234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283323582,"filename":"image_01012026_15_04_05_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e205f81f2c5909dda295f6cdfe6209ab.jpg","text":"TemporaryFile(/tmp/multipartBody3426319023992366937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283323582,"filename":"image_01012026_15_04_35_9524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84112155e6d349d001de86b897ec6af3.jpg","text":"TemporaryFile(/tmp/multipartBody304545814465318239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283323582,"filename":"image_01012026_15_04_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74a3f089288487dfc2ae584441e5a055.jpg","text":"TemporaryFile(/tmp/multipartBody923816019154933209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283323582,"filename":"image_01012026_15_04_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e7a7e8ad6eb3575e17c46eb7312c449.jpg","text":"TemporaryFile(/tmp/multipartBody6964267525708328906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283323582,"filename":"image_01012026_15_04_15_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402032949","file1":"1402032913","file0":"1402032872","file4":"1402032986","file5":"1402032988","file3":"1402032985"},"map_files_photo_id_array":[{"photo_id":"1402032988","filename":"file5"},{"photo_id":"1402032949","filename":"file2"},{"photo_id":"1402032986","filename":"file4"},{"photo_id":"1402032913","filename":"file1"},{"photo_id":"1402032872","filename":"file0"},{"photo_id":"1402032985","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402032986":["hashtag1","hashtag2"]},{"1402032872":["hashtag1","hashtag2"]},{"1402032985":["hashtag1","hashtag2"]},{"1402032988":["hashtag1","hashtag2"]},{"1402032949":["hashtag1","hashtag2"]},{"1402032913":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402032986, 1402032872, 1402032985, 1402032988, 1402032949, 1402032913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51521897315979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:01:42.224392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_20_2639.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_23_3619.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_26_2520.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_28_2660.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_35_2607.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_38_3759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_20_2639.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_23_3619.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_26_2520.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_28_2660.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_35_2607.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_38_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":["1402033052","1402033133","1402033019","1402032994","1402033086","1402033122"],"photo_ids_order":["1402032994","1402033019","1402033052","1402033086","1402033122","1402033133"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd22ef2424b057dd098ebc7579c69e27.jpg","text":"TemporaryFile(/tmp/multipartBody8787546014379335670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283364097,"filename":"image_04112025_17_52_26_2520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcbcdfcad17487371de5ab0d74ffd269.jpg","text":"TemporaryFile(/tmp/multipartBody7453226634720626758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283364097,"filename":"image_04112025_17_52_38_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40e4d54b7eff6bc03ab6feea67ebe174.jpg","text":"TemporaryFile(/tmp/multipartBody2879154210222456119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283364097,"filename":"image_04112025_17_52_23_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ca27473667a484543649f9804277c04.jpg","text":"TemporaryFile(/tmp/multipartBody2923763588724060873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283364097,"filename":"image_04112025_17_52_20_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d7b08bc736d23999b86e0c337718fe5.jpg","text":"TemporaryFile(/tmp/multipartBody3663713995284328469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283364097,"filename":"image_04112025_17_52_28_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13e51a97ccafe13744369806e5b6d14e.jpg","text":"TemporaryFile(/tmp/multipartBody8241664826460899403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283364097,"filename":"image_04112025_17_52_35_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033052","file1":"1402033019","file0":"1402032994","file4":"1402033122","file5":"1402033133","file3":"1402033086"},"map_files_photo_id_array":[{"photo_id":"1402033133","filename":"file5"},{"photo_id":"1402033052","filename":"file2"},{"photo_id":"1402033122","filename":"file4"},{"photo_id":"1402033019","filename":"file1"},{"photo_id":"1402032994","filename":"file0"},{"photo_id":"1402033086","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033052":["hashtag1","hashtag2"]},{"1402033133":["hashtag1","hashtag2"]},{"1402033019":["hashtag1","hashtag2"]},{"1402032994":["hashtag1","hashtag2"]},{"1402033086":["hashtag1","hashtag2"]},{"1402033122":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033052, 1402033133, 1402033019, 1402032994, 1402033086, 1402033122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02410411834717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:02:22.384604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/04/image_01012026_15_05_05_9644.jpg', '/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_14_9620.jpg', '/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_25_10562.jpg', '/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_35_9759.jpg', '/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_44_9608.jpg', '/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_55_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/04/image_01012026_15_05_05_9644.jpg
/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_14_9620.jpg
/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_25_10562.jpg
/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_35_9759.jpg
/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_44_9608.jpg
/home/pi/Desktop/images/01012026/15/05/image_01012026_15_05_55_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033199","1402033202","1402033192","1402033205","1402033197","1402033201"],"photo_ids_order":["1402033192","1402033197","1402033199","1402033201","1402033202","1402033205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3ce740c61c8ca292c9be9a77d4c2129.jpg","text":"TemporaryFile(/tmp/multipartBody2624331260641154651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283402963,"filename":"image_01012026_15_05_25_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30a93b1abd9d0dea677a80bc7c7ff3cd.jpg","text":"TemporaryFile(/tmp/multipartBody7725772234223594877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283402963,"filename":"image_01012026_15_05_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/472ed44fea488d0352067fba74436ab7.jpg","text":"TemporaryFile(/tmp/multipartBody4405551781735822273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283402963,"filename":"image_01012026_15_05_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9be9a18764d1f071d5f976d578012cc.jpg","text":"TemporaryFile(/tmp/multipartBody6373143148051110596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283402963,"filename":"image_01012026_15_05_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f752d44fc4e55fa430beb0999a0ca61.jpg","text":"TemporaryFile(/tmp/multipartBody4978391786741935714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283402963,"filename":"image_01012026_15_05_14_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0927fda4b56f2e3f09fd9f87c5acb37a.jpg","text":"TemporaryFile(/tmp/multipartBody8119656691620012366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283402963,"filename":"image_01012026_15_05_35_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033199","file1":"1402033197","file0":"1402033192","file4":"1402033202","file5":"1402033205","file3":"1402033201"},"map_files_photo_id_array":[{"photo_id":"1402033205","filename":"file5"},{"photo_id":"1402033199","filename":"file2"},{"photo_id":"1402033202","filename":"file4"},{"photo_id":"1402033197","filename":"file1"},{"photo_id":"1402033192","filename":"file0"},{"photo_id":"1402033201","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033199":["hashtag1","hashtag2"]},{"1402033202":["hashtag1","hashtag2"]},{"1402033192":["hashtag1","hashtag2"]},{"1402033205":["hashtag1","hashtag2"]},{"1402033197":["hashtag1","hashtag2"]},{"1402033201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033199, 1402033202, 1402033192, 1402033205, 1402033197, 1402033201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.806323528289795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:03:03.090512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/05/image_01012026_15_06_05_9581.jpg', '/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_14_9706.jpg', '/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_25_10806.jpg', '/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_35_9560.jpg', '/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_45_10613.jpg', '/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/05/image_01012026_15_06_05_9581.jpg
/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_14_9706.jpg
/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_25_10806.jpg
/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_35_9560.jpg
/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_45_10613.jpg
/home/pi/Desktop/images/01012026/15/06/image_01012026_15_06_55_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":["1402033212","1402033209","1402033214","1402033211","1402033213","1402033216"],"photo_ids_order":["1402033209","1402033211","1402033212","1402033213","1402033214","1402033216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa3614e5adcfb6205572901cb3d7fcef.jpg","text":"TemporaryFile(/tmp/multipartBody9108606912024252090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283443737,"filename":"image_01012026_15_06_25_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da821513ec543013d6da4868c30c40df.jpg","text":"TemporaryFile(/tmp/multipartBody3996023951049571379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283443737,"filename":"image_01012026_15_06_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce0d109d682a854e3ae231622e410d31.jpg","text":"TemporaryFile(/tmp/multipartBody6679667180201736898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283443737,"filename":"image_01012026_15_06_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73c731d468d1e1bcc74b34c1e0e6af01.jpg","text":"TemporaryFile(/tmp/multipartBody6879689908172107087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283443737,"filename":"image_01012026_15_06_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c18b2787f60e683d3a311544da6ede0c.jpg","text":"TemporaryFile(/tmp/multipartBody9167887025178142237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283443737,"filename":"image_01012026_15_06_35_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4a12500da99aa92633aaa14c6d4deb3.jpg","text":"TemporaryFile(/tmp/multipartBody3993155356440265104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283443737,"filename":"image_01012026_15_06_55_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033212","file1":"1402033211","file0":"1402033209","file4":"1402033214","file5":"1402033216","file3":"1402033213"},"map_files_photo_id_array":[{"photo_id":"1402033216","filename":"file5"},{"photo_id":"1402033212","filename":"file2"},{"photo_id":"1402033214","filename":"file4"},{"photo_id":"1402033211","filename":"file1"},{"photo_id":"1402033209","filename":"file0"},{"photo_id":"1402033213","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033212":["hashtag1","hashtag2"]},{"1402033209":["hashtag1","hashtag2"]},{"1402033214":["hashtag1","hashtag2"]},{"1402033211":["hashtag1","hashtag2"]},{"1402033213":["hashtag1","hashtag2"]},{"1402033216":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033212, 1402033209, 1402033214, 1402033211, 1402033213, 1402033216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17817997932434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:03:42.614587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_41_2572.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_43_2613.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_46_2865.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_50_3756.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_53_2734.jpg', '/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_55_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_41_2572.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_43_2613.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_46_2865.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_50_3756.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_53_2734.jpg
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_55_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033224","1402033227","1402033226","1402033223","1402033225","1402033221"],"photo_ids_order":["1402033221","1402033223","1402033224","1402033225","1402033226","1402033227"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b306a99759d5706b6d9250a73236e64.jpg","text":"TemporaryFile(/tmp/multipartBody2236434343992114787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283484484,"filename":"image_04112025_17_52_46_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fba27f0ddc076effd89332a42a2907ca.jpg","text":"TemporaryFile(/tmp/multipartBody7771442266096225385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283484484,"filename":"image_04112025_17_52_55_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c62dc8b534de3ba63cdbd4906a85a20b.jpg","text":"TemporaryFile(/tmp/multipartBody2887173364048301570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283484484,"filename":"image_04112025_17_52_53_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c87fd061bf017de74594ce2df1bcbf5b.jpg","text":"TemporaryFile(/tmp/multipartBody4316059686260258826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283484484,"filename":"image_04112025_17_52_43_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/169249bae8476bbde5e96fa6b05b6410.jpg","text":"TemporaryFile(/tmp/multipartBody2145993634592217785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283484484,"filename":"image_04112025_17_52_50_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdaa19e2ef92dcff80bf35e154cf8a48.jpg","text":"TemporaryFile(/tmp/multipartBody4364076509136948176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283484484,"filename":"image_04112025_17_52_41_2572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033224","file1":"1402033223","file0":"1402033221","file4":"1402033226","file5":"1402033227","file3":"1402033225"},"map_files_photo_id_array":[{"photo_id":"1402033227","filename":"file5"},{"photo_id":"1402033224","filename":"file2"},{"photo_id":"1402033226","filename":"file4"},{"photo_id":"1402033223","filename":"file1"},{"photo_id":"1402033221","filename":"file0"},{"photo_id":"1402033225","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033224":["hashtag1","hashtag2"]},{"1402033227":["hashtag1","hashtag2"]},{"1402033226":["hashtag1","hashtag2"]},{"1402033223":["hashtag1","hashtag2"]},{"1402033225":["hashtag1","hashtag2"]},{"1402033221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033224, 1402033227, 1402033226, 1402033223, 1402033225, 1402033221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34687256813049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:04:22.807550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/06/image_01012026_15_07_05_9706.jpg', '/home/pi/Desktop/images/01012026/15/07/image_01012026_15_07_14_9836.jpg', '/home/pi/Desktop/images/01012026/15/07/image_01012026_15_07_24_9837.jpg', '/home/pi/Desktop/images/01012026/15/07/image_01012026_15_07_45_9769.jpg', '/home/pi/Desktop/images/01012026/15/07/image_01012026_15_07_55_9814.jpg', '/home/pi/Desktop/images/01012026/15/07/image_01012026_15_08_05_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/06/image_01012026_15_07_05_9706.jpg
/home/pi/Desktop/images/01012026/15/07/image_01012026_15_07_14_9836.jpg
/home/pi/Desktop/images/01012026/15/07/image_01012026_15_07_24_9837.jpg
/home/pi/Desktop/images/01012026/15/07/image_01012026_15_07_45_9769.jpg
/home/pi/Desktop/images/01012026/15/07/image_01012026_15_07_55_9814.jpg
/home/pi/Desktop/images/01012026/15/07/image_01012026_15_08_05_10654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033235","1402033229","1402033237","1402033231","1402033240","1402033233"],"photo_ids_order":["1402033229","1402033231","1402033233","1402033235","1402033237","1402033240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa1ae59b34810b23dedf2179f932b65e.jpg","text":"TemporaryFile(/tmp/multipartBody8320874481396604963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283523396,"filename":"image_01012026_15_07_45_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/631f899df5922c7e621e2087affdce89.jpg","text":"TemporaryFile(/tmp/multipartBody3629645256489006186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283523396,"filename":"image_01012026_15_07_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37e4bb0943f7ffb6bd0c67ee76b2dc9c.jpg","text":"TemporaryFile(/tmp/multipartBody264063704103483063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283523396,"filename":"image_01012026_15_07_55_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13b7a0c250ff71810d260475b770bc26.jpg","text":"TemporaryFile(/tmp/multipartBody7562175620678423487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283523396,"filename":"image_01012026_15_07_14_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48c159d144725ea63c7611d1ba33f308.jpg","text":"TemporaryFile(/tmp/multipartBody9023871004111829683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283523396,"filename":"image_01012026_15_08_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6392911460ee55b19684615603eae339.jpg","text":"TemporaryFile(/tmp/multipartBody5066858038349997937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283523396,"filename":"image_01012026_15_07_24_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033233","file1":"1402033231","file0":"1402033229","file4":"1402033237","file5":"1402033240","file3":"1402033235"},"map_files_photo_id_array":[{"photo_id":"1402033240","filename":"file5"},{"photo_id":"1402033233","filename":"file2"},{"photo_id":"1402033237","filename":"file4"},{"photo_id":"1402033231","filename":"file1"},{"photo_id":"1402033229","filename":"file0"},{"photo_id":"1402033235","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033235":["hashtag1","hashtag2"]},{"1402033229":["hashtag1","hashtag2"]},{"1402033237":["hashtag1","hashtag2"]},{"1402033231":["hashtag1","hashtag2"]},{"1402033240":["hashtag1","hashtag2"]},{"1402033233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033235, 1402033229, 1402033237, 1402033231, 1402033240, 1402033233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70454668998718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:05:02.694730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_15_9676.jpg', '/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_25_9690.jpg', '/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_35_10705.jpg', '/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_45_9577.jpg', '/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_55_9724.jpg', '/home/pi/Desktop/images/01012026/15/08/image_01012026_15_09_05_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_15_9676.jpg
/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_25_9690.jpg
/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_35_10705.jpg
/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_45_9577.jpg
/home/pi/Desktop/images/01012026/15/08/image_01012026_15_08_55_9724.jpg
/home/pi/Desktop/images/01012026/15/08/image_01012026_15_09_05_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":["1402033250","1402033247","1402033243","1402033252","1402033246","1402033248"],"photo_ids_order":["1402033243","1402033246","1402033247","1402033248","1402033250","1402033252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb20026556ef4a248e48c5d776790520.jpg","text":"TemporaryFile(/tmp/multipartBody2239335712741201479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283563366,"filename":"image_01012026_15_08_55_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45d65baf22fc1d36fe07c94b2bb2757c.jpg","text":"TemporaryFile(/tmp/multipartBody6841437991526873397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283563366,"filename":"image_01012026_15_08_35_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41cd66c6663e330bc96e0087577cd60e.jpg","text":"TemporaryFile(/tmp/multipartBody292273694701894833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283563366,"filename":"image_01012026_15_08_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edbb178b992443326d4f9d1175b9497f.jpg","text":"TemporaryFile(/tmp/multipartBody8328134344383815311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283563366,"filename":"image_01012026_15_09_05_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f6abc9ef72545ad26bb60951610a2c7.jpg","text":"TemporaryFile(/tmp/multipartBody9061693138810014586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283563366,"filename":"image_01012026_15_08_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f90de779a3d4cdea6420b2d68c6480b.jpg","text":"TemporaryFile(/tmp/multipartBody9107819094248277822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283563366,"filename":"image_01012026_15_08_45_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033247","file1":"1402033246","file0":"1402033243","file4":"1402033250","file5":"1402033252","file3":"1402033248"},"map_files_photo_id_array":[{"photo_id":"1402033252","filename":"file5"},{"photo_id":"1402033247","filename":"file2"},{"photo_id":"1402033250","filename":"file4"},{"photo_id":"1402033246","filename":"file1"},{"photo_id":"1402033243","filename":"file0"},{"photo_id":"1402033248","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033250":["hashtag1","hashtag2"]},{"1402033247":["hashtag1","hashtag2"]},{"1402033243":["hashtag1","hashtag2"]},{"1402033252":["hashtag1","hashtag2"]},{"1402033246":["hashtag1","hashtag2"]},{"1402033248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033250, 1402033247, 1402033243, 1402033252, 1402033246, 1402033248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46631217002869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:05:42.012191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_59_3769.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_02_2946.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_05_2539.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_07_2631.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_11_3666.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_14_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/52/image_04112025_17_52_59_3769.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_02_2946.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_05_2539.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_07_2631.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_11_3666.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_14_2830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033259","1402033256","1402033255","1402033258","1402033260","1402033257"],"photo_ids_order":["1402033255","1402033256","1402033257","1402033258","1402033259","1402033260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6c1b52f9ecde4891cffee53f3fa0835.jpg","text":"TemporaryFile(/tmp/multipartBody8518312045995044096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283603900,"filename":"image_04112025_17_53_11_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c752cb73099caf89a0ca2461b1c5bedf.jpg","text":"TemporaryFile(/tmp/multipartBody5264593722953060185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283603900,"filename":"image_04112025_17_53_02_2946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/197c66d9f58dde548e4c697d3379b386.jpg","text":"TemporaryFile(/tmp/multipartBody8208844019460685026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283603900,"filename":"image_04112025_17_52_59_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f7cc9db37087e6beaf687c18d73b0cf.jpg","text":"TemporaryFile(/tmp/multipartBody8953403981406885113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283603900,"filename":"image_04112025_17_53_07_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/980553c006128b6a0d41f50df55acc2d.jpg","text":"TemporaryFile(/tmp/multipartBody7202847642651411690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283603900,"filename":"image_04112025_17_53_14_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/838a2ba91b2b86c8ed587f3b517d4c2f.jpg","text":"TemporaryFile(/tmp/multipartBody5684490063226968223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283603900,"filename":"image_04112025_17_53_05_2539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033257","file1":"1402033256","file0":"1402033255","file4":"1402033259","file5":"1402033260","file3":"1402033258"},"map_files_photo_id_array":[{"photo_id":"1402033260","filename":"file5"},{"photo_id":"1402033257","filename":"file2"},{"photo_id":"1402033259","filename":"file4"},{"photo_id":"1402033256","filename":"file1"},{"photo_id":"1402033255","filename":"file0"},{"photo_id":"1402033258","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033259":["hashtag1","hashtag2"]},{"1402033256":["hashtag1","hashtag2"]},{"1402033255":["hashtag1","hashtag2"]},{"1402033258":["hashtag1","hashtag2"]},{"1402033260":["hashtag1","hashtag2"]},{"1402033257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033259, 1402033256, 1402033255, 1402033258, 1402033260, 1402033257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.641411542892456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:06:22.215379
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_15_9709.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_25_9783.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_34_9669.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_45_10633.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_55_9643.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_10_05_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_15_9709.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_25_9783.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_34_9669.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_45_10633.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_55_9643.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_10_05_10563.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.4839818477630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:06:32.214617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_16_2676.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_20_3540.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_23_2622.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_25_2770.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_28_2818.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_32_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_16_2676.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_20_3540.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_23_2622.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_25_2770.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_28_2818.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_32_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033274","1402033276","1402033279","1402033270","1402033267","1402033278"],"photo_ids_order":["1402033267","1402033270","1402033274","1402033276","1402033278","1402033279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b347506b56fc18abbafcac6368558ec0.jpg","text":"TemporaryFile(/tmp/multipartBody4962591990523697570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283654125,"filename":"image_04112025_17_53_23_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdde59e23f447160d39ad243bf955c4d.jpg","text":"TemporaryFile(/tmp/multipartBody955749461486498048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283654125,"filename":"image_04112025_17_53_25_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/532ef462ac604e0f764d582738bc8d23.jpg","text":"TemporaryFile(/tmp/multipartBody5556652341034784508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283654125,"filename":"image_04112025_17_53_32_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6275e945d1e7d30c9d2583f441a1fd6c.jpg","text":"TemporaryFile(/tmp/multipartBody7628567072553765223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283654125,"filename":"image_04112025_17_53_20_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc950380cdcf49f7aa37249730cca4fc.jpg","text":"TemporaryFile(/tmp/multipartBody6863559379149865430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283654125,"filename":"image_04112025_17_53_16_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09507a767be666f1f75ead046a203e9b.jpg","text":"TemporaryFile(/tmp/multipartBody2089485795409681442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283654125,"filename":"image_04112025_17_53_28_2818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033274","file1":"1402033270","file0":"1402033267","file4":"1402033278","file5":"1402033279","file3":"1402033276"},"map_files_photo_id_array":[{"photo_id":"1402033279","filename":"file5"},{"photo_id":"1402033274","filename":"file2"},{"photo_id":"1402033278","filename":"file4"},{"photo_id":"1402033270","filename":"file1"},{"photo_id":"1402033267","filename":"file0"},{"photo_id":"1402033276","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033274":["hashtag1","hashtag2"]},{"1402033276":["hashtag1","hashtag2"]},{"1402033279":["hashtag1","hashtag2"]},{"1402033270":["hashtag1","hashtag2"]},{"1402033267":["hashtag1","hashtag2"]},{"1402033278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033274, 1402033276, 1402033279, 1402033270, 1402033267, 1402033278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74488830566406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:07:12.461697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_34_2535.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_38_3672.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_43_2738.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_56_3673.jpg', '/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_59_2787.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_08_3845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_34_2535.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_38_3672.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_43_2738.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_56_3673.jpg
/home/pi/Desktop/images/04112025/17/53/image_04112025_17_53_59_2787.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_08_3845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033280","1402033286","1402033288","1402033282","1402033284","1402033281"],"photo_ids_order":["1402033280","1402033281","1402033282","1402033284","1402033286","1402033288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/949352748a53793d85aa986370c35799.jpg","text":"TemporaryFile(/tmp/multipartBody5906032772404976240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283694201,"filename":"image_04112025_17_53_34_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dffdbbc23000f910fc48c667e957cb9f.jpg","text":"TemporaryFile(/tmp/multipartBody6434980180030172231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283694201,"filename":"image_04112025_17_53_59_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/271bdf34ef69914a6763cb91e8a1c07c.jpg","text":"TemporaryFile(/tmp/multipartBody8734448513473789788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283694201,"filename":"image_04112025_17_54_08_3845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/144a96482d706df99ecb6acb22521b86.jpg","text":"TemporaryFile(/tmp/multipartBody6714790932016093219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283694201,"filename":"image_04112025_17_53_43_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8621d753148eabc203c3cc22a094e723.jpg","text":"TemporaryFile(/tmp/multipartBody613029620843658781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283694201,"filename":"image_04112025_17_53_56_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9cee43042b45dc0dbea87fb575f4aee.jpg","text":"TemporaryFile(/tmp/multipartBody701479324266954974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283694201,"filename":"image_04112025_17_53_38_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033282","file1":"1402033281","file0":"1402033280","file4":"1402033286","file5":"1402033288","file3":"1402033284"},"map_files_photo_id_array":[{"photo_id":"1402033288","filename":"file5"},{"photo_id":"1402033282","filename":"file2"},{"photo_id":"1402033286","filename":"file4"},{"photo_id":"1402033281","filename":"file1"},{"photo_id":"1402033280","filename":"file0"},{"photo_id":"1402033284","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033280":["hashtag1","hashtag2"]},{"1402033286":["hashtag1","hashtag2"]},{"1402033288":["hashtag1","hashtag2"]},{"1402033282":["hashtag1","hashtag2"]},{"1402033284":["hashtag1","hashtag2"]},{"1402033281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033280, 1402033286, 1402033288, 1402033282, 1402033284, 1402033281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76246380805969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:08:02.934970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_15_9709.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_25_9783.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_34_9669.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_45_10633.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_55_9643.jpg', '/home/pi/Desktop/images/01012026/15/09/image_01012026_15_10_05_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_15_9709.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_25_9783.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_34_9669.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_45_10633.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_09_55_9643.jpg
/home/pi/Desktop/images/01012026/15/09/image_01012026_15_10_05_10563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033295","1402033298","1402033292","1402033294","1402033296","1402033293"],"photo_ids_order":["1402033292","1402033293","1402033294","1402033295","1402033296","1402033298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72f46bdb532e6c6f6bd193f3ba67109b.jpg","text":"TemporaryFile(/tmp/multipartBody5542231593163831982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283743584,"filename":"image_01012026_15_09_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2cbbff04efa48251f9fe5727f8a5db7.jpg","text":"TemporaryFile(/tmp/multipartBody6107404726688871463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283743584,"filename":"image_01012026_15_10_05_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7e94dceb22b6ddb662527df9f078a06.jpg","text":"TemporaryFile(/tmp/multipartBody4323462205552259436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283743584,"filename":"image_01012026_15_09_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/182da98054a63ad1b1d1cc618d6ebd47.jpg","text":"TemporaryFile(/tmp/multipartBody5545018393692272004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283743584,"filename":"image_01012026_15_09_34_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d05d98a1c85a080922ea8269fb5dda0.jpg","text":"TemporaryFile(/tmp/multipartBody2446014569888019581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283743584,"filename":"image_01012026_15_09_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ecd76433a6f541d5cf795abfe0746ca.jpg","text":"TemporaryFile(/tmp/multipartBody7556414208327928215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283743584,"filename":"image_01012026_15_09_25_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033294","file1":"1402033293","file0":"1402033292","file4":"1402033296","file5":"1402033298","file3":"1402033295"},"map_files_photo_id_array":[{"photo_id":"1402033298","filename":"file5"},{"photo_id":"1402033294","filename":"file2"},{"photo_id":"1402033296","filename":"file4"},{"photo_id":"1402033293","filename":"file1"},{"photo_id":"1402033292","filename":"file0"},{"photo_id":"1402033295","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033295":["hashtag1","hashtag2"]},{"1402033298":["hashtag1","hashtag2"]},{"1402033292":["hashtag1","hashtag2"]},{"1402033294":["hashtag1","hashtag2"]},{"1402033296":["hashtag1","hashtag2"]},{"1402033293":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033295, 1402033298, 1402033292, 1402033294, 1402033296, 1402033293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64212608337402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:08:42.679456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_11_2526.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_13_2642.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_20_2648.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_26_3699.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_29_2773.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_31_2698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_11_2526.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_13_2642.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_20_2648.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_26_3699.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_29_2773.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_31_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":["1402033311","1402033308","1402033307","1402033306","1402033309","1402033303"],"photo_ids_order":["1402033303","1402033306","1402033307","1402033308","1402033309","1402033311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfaf3420a95f017c5b2cb36b10b13155.jpg","text":"TemporaryFile(/tmp/multipartBody7732016776455355690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283784571,"filename":"image_04112025_17_54_31_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b0dc5e84af22ade70667e663e19b107.jpg","text":"TemporaryFile(/tmp/multipartBody8213994118981503762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283784571,"filename":"image_04112025_17_54_26_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d95cf0781f8d85e8a0c427a9642abb6.jpg","text":"TemporaryFile(/tmp/multipartBody984938696182555928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283784571,"filename":"image_04112025_17_54_20_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c30f413e388d6eaf6ac301dd38e129a.jpg","text":"TemporaryFile(/tmp/multipartBody929252215123565001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283784571,"filename":"image_04112025_17_54_13_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58bf2a48e8fd7ad6a269e2a97e31a3b6.jpg","text":"TemporaryFile(/tmp/multipartBody6519607256584693399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283784571,"filename":"image_04112025_17_54_29_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5eabd3df368ea10c148c961dae190a3.jpg","text":"TemporaryFile(/tmp/multipartBody1505759222805560322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283784571,"filename":"image_04112025_17_54_11_2526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033307","file1":"1402033306","file0":"1402033303","file4":"1402033309","file5":"1402033311","file3":"1402033308"},"map_files_photo_id_array":[{"photo_id":"1402033311","filename":"file5"},{"photo_id":"1402033307","filename":"file2"},{"photo_id":"1402033309","filename":"file4"},{"photo_id":"1402033306","filename":"file1"},{"photo_id":"1402033303","filename":"file0"},{"photo_id":"1402033308","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033311":["hashtag1","hashtag2"]},{"1402033308":["hashtag1","hashtag2"]},{"1402033307":["hashtag1","hashtag2"]},{"1402033306":["hashtag1","hashtag2"]},{"1402033309":["hashtag1","hashtag2"]},{"1402033303":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033311, 1402033308, 1402033307, 1402033306, 1402033309, 1402033303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599103689193726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:09:21.920276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_15_9664.jpg', '/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_25_9842.jpg', '/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_34_9603.jpg', '/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_45_10583.jpg', '/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_54_9523.jpg', '/home/pi/Desktop/images/01012026/15/10/image_01012026_15_11_05_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_15_9664.jpg
/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_25_9842.jpg
/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_34_9603.jpg
/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_45_10583.jpg
/home/pi/Desktop/images/01012026/15/10/image_01012026_15_10_54_9523.jpg
/home/pi/Desktop/images/01012026/15/10/image_01012026_15_11_05_10571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033317","1402033313","1402033319","1402033324","1402033321","1402033315"],"photo_ids_order":["1402033313","1402033315","1402033317","1402033319","1402033321","1402033324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18c1962b83c2cd067d6c087ed66eb5ff.jpg","text":"TemporaryFile(/tmp/multipartBody8501277934943613803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283822540,"filename":"image_01012026_15_10_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43c987bbf98410bd1aeca2df51119bdf.jpg","text":"TemporaryFile(/tmp/multipartBody1645821632731882055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283822540,"filename":"image_01012026_15_10_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1b894a71d4e58e0952fe71d1f707e55.jpg","text":"TemporaryFile(/tmp/multipartBody3745773609241477305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283822540,"filename":"image_01012026_15_10_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cae8490a6d9f1d383c55f7fc9827526.jpg","text":"TemporaryFile(/tmp/multipartBody3203059392065587068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283822540,"filename":"image_01012026_15_11_05_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebc14ea66377b7ba91113965d253150e.jpg","text":"TemporaryFile(/tmp/multipartBody9079622636990300479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283822540,"filename":"image_01012026_15_10_54_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5e1d341f5581afef22161b48066b482.jpg","text":"TemporaryFile(/tmp/multipartBody8969990551716530484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283822540,"filename":"image_01012026_15_10_25_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033317","file1":"1402033315","file0":"1402033313","file4":"1402033321","file5":"1402033324","file3":"1402033319"},"map_files_photo_id_array":[{"photo_id":"1402033324","filename":"file5"},{"photo_id":"1402033317","filename":"file2"},{"photo_id":"1402033321","filename":"file4"},{"photo_id":"1402033315","filename":"file1"},{"photo_id":"1402033313","filename":"file0"},{"photo_id":"1402033319","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033317":["hashtag1","hashtag2"]},{"1402033313":["hashtag1","hashtag2"]},{"1402033319":["hashtag1","hashtag2"]},{"1402033324":["hashtag1","hashtag2"]},{"1402033321":["hashtag1","hashtag2"]},{"1402033315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033317, 1402033313, 1402033319, 1402033324, 1402033321, 1402033315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97442269325256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:10:02.619688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_15_9831.jpg', '/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_25_9694.jpg', '/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_35_10608.jpg', '/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_55_9830.jpg', '/home/pi/Desktop/images/01012026/15/11/image_01012026_15_12_04_9625.jpg', '/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_15_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_15_9831.jpg
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_25_9694.jpg
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_35_10608.jpg
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_55_9830.jpg
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_12_04_9625.jpg
/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_15_10560.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.5158183574676514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:10:12.162500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_34_2625.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_38_3697.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_40_2656.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_43_2637.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_47_3695.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_49_2695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_34_2625.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_38_3697.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_40_2656.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_43_2637.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_47_3695.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_49_2695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033331","1402033340","1402033337","1402033333","1402033335","1402033329"],"photo_ids_order":["1402033329","1402033331","1402033333","1402033335","1402033337","1402033340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3828d90ed3a2ba3769c50d66480bd202.jpg","text":"TemporaryFile(/tmp/multipartBody5459631017187637862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283873952,"filename":"image_04112025_17_54_38_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e95d7ca6808e3023ce2bb06d9964bd41.jpg","text":"TemporaryFile(/tmp/multipartBody6828268906407800991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283873952,"filename":"image_04112025_17_54_49_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c1494e359f1b4b418397f7dc566f4d8.jpg","text":"TemporaryFile(/tmp/multipartBody5359353503528235907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283873952,"filename":"image_04112025_17_54_47_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a0bb7f9c89b77b9f3b4b89eeef1fbc5.jpg","text":"TemporaryFile(/tmp/multipartBody681771404838959917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283873952,"filename":"image_04112025_17_54_40_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e77d5a8180f627f59d1570a45ad205e.jpg","text":"TemporaryFile(/tmp/multipartBody6422091930723193663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283873952,"filename":"image_04112025_17_54_43_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e8fec542c87c861b18874ada3d82e6e.jpg","text":"TemporaryFile(/tmp/multipartBody9190520250698212620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283873952,"filename":"image_04112025_17_54_34_2625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033333","file1":"1402033331","file0":"1402033329","file4":"1402033337","file5":"1402033340","file3":"1402033335"},"map_files_photo_id_array":[{"photo_id":"1402033340","filename":"file5"},{"photo_id":"1402033333","filename":"file2"},{"photo_id":"1402033337","filename":"file4"},{"photo_id":"1402033331","filename":"file1"},{"photo_id":"1402033329","filename":"file0"},{"photo_id":"1402033335","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033331":["hashtag1","hashtag2"]},{"1402033340":["hashtag1","hashtag2"]},{"1402033337":["hashtag1","hashtag2"]},{"1402033333":["hashtag1","hashtag2"]},{"1402033335":["hashtag1","hashtag2"]},{"1402033329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033331, 1402033340, 1402033337, 1402033333, 1402033335, 1402033329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18152403831482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:11:03.016742
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_15_9831.jpg', '/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_25_9694.jpg', '/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_35_10608.jpg', '/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_55_9830.jpg', '/home/pi/Desktop/images/01012026/15/11/image_01012026_15_12_04_9625.jpg', '/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_15_10560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_15_9831.jpg
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_25_9694.jpg
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_35_10608.jpg
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_11_55_9830.jpg
/home/pi/Desktop/images/01012026/15/11/image_01012026_15_12_04_9625.jpg
/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_15_10560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033346","1402033349","1402033348","1402033351","1402033345","1402033347"],"photo_ids_order":["1402033345","1402033346","1402033347","1402033348","1402033349","1402033351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/578bf36902d06d504f70d33a7f436c69.jpg","text":"TemporaryFile(/tmp/multipartBody668595464663936515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283923702,"filename":"image_01012026_15_11_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93813354acaad51cfe92adccfcba8e2b.jpg","text":"TemporaryFile(/tmp/multipartBody424359210700283594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283923702,"filename":"image_01012026_15_12_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac06c0ecb8c842346dfa92fd4f8b477a.jpg","text":"TemporaryFile(/tmp/multipartBody3145700275013463894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283923702,"filename":"image_01012026_15_11_55_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f67b5aff0556b969ad88b921bd4a8ca3.jpg","text":"TemporaryFile(/tmp/multipartBody2651267668125871512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283923702,"filename":"image_01012026_15_12_15_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7754acaa4dc48311c30421f79d9a3757.jpg","text":"TemporaryFile(/tmp/multipartBody7956172532210069116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283923702,"filename":"image_01012026_15_11_15_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/163e83160a61251b0a59a921ae930c2d.jpg","text":"TemporaryFile(/tmp/multipartBody3320173074174742298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283923702,"filename":"image_01012026_15_11_35_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033347","file1":"1402033346","file0":"1402033345","file4":"1402033349","file5":"1402033351","file3":"1402033348"},"map_files_photo_id_array":[{"photo_id":"1402033351","filename":"file5"},{"photo_id":"1402033347","filename":"file2"},{"photo_id":"1402033349","filename":"file4"},{"photo_id":"1402033346","filename":"file1"},{"photo_id":"1402033345","filename":"file0"},{"photo_id":"1402033348","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033346":["hashtag1","hashtag2"]},{"1402033349":["hashtag1","hashtag2"]},{"1402033348":["hashtag1","hashtag2"]},{"1402033351":["hashtag1","hashtag2"]},{"1402033345":["hashtag1","hashtag2"]},{"1402033347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033346, 1402033349, 1402033348, 1402033351, 1402033345, 1402033347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82927441596985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:11:42.462600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_52_2740.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_56_3763.jpg', '/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_59_2744.jpg', '/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_07_3011.jpg', '/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_10_3058.jpg', '/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_22_11676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_52_2740.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_56_3763.jpg
/home/pi/Desktop/images/04112025/17/54/image_04112025_17_54_59_2744.jpg
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_07_3011.jpg
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_10_3058.jpg
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_22_11676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033361","1402033360","1402033363","1402033357","1402033359","1402033362"],"photo_ids_order":["1402033357","1402033359","1402033360","1402033361","1402033362","1402033363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/617bd287b222d862192a452a723c3402.jpg","text":"TemporaryFile(/tmp/multipartBody2964786295001412628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283964392,"filename":"image_04112025_17_55_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c1cdfcde6e143abbee50db22997ee61.jpg","text":"TemporaryFile(/tmp/multipartBody4927566984755694549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283964392,"filename":"image_04112025_17_54_59_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d11b57735ca3250b8013317eb017cfb.jpg","text":"TemporaryFile(/tmp/multipartBody6005967281794875077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283964392,"filename":"image_04112025_17_55_22_11676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76e6530a8745e1da909add678958fad5.jpg","text":"TemporaryFile(/tmp/multipartBody7847771174137247642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283964392,"filename":"image_04112025_17_54_52_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2624fd5ddfd6509ad1a5a4b720ce6dcd.jpg","text":"TemporaryFile(/tmp/multipartBody3795069656800867161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283964392,"filename":"image_04112025_17_54_56_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a92974810067a0b31e621aa5e86cc13.jpg","text":"TemporaryFile(/tmp/multipartBody6660152997510451373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767283964392,"filename":"image_04112025_17_55_10_3058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033360","file1":"1402033359","file0":"1402033357","file4":"1402033362","file5":"1402033363","file3":"1402033361"},"map_files_photo_id_array":[{"photo_id":"1402033363","filename":"file5"},{"photo_id":"1402033360","filename":"file2"},{"photo_id":"1402033362","filename":"file4"},{"photo_id":"1402033359","filename":"file1"},{"photo_id":"1402033357","filename":"file0"},{"photo_id":"1402033361","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033361":["hashtag1","hashtag2"]},{"1402033360":["hashtag1","hashtag2"]},{"1402033363":["hashtag1","hashtag2"]},{"1402033357":["hashtag1","hashtag2"]},{"1402033359":["hashtag1","hashtag2"]},{"1402033362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033361, 1402033360, 1402033363, 1402033357, 1402033359, 1402033362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.138972759246826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:12:22.740494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_24_9632.jpg', '/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_35_10679.jpg', '/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_45_9755.jpg', '/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_55_9747.jpg', '/home/pi/Desktop/images/01012026/15/12/image_01012026_15_13_04_9777.jpg', '/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_15_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_24_9632.jpg
/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_35_10679.jpg
/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_45_9755.jpg
/home/pi/Desktop/images/01012026/15/12/image_01012026_15_12_55_9747.jpg
/home/pi/Desktop/images/01012026/15/12/image_01012026_15_13_04_9777.jpg
/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_15_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033376","1402033370","1402033372","1402033366","1402033374","1402033368"],"photo_ids_order":["1402033366","1402033368","1402033370","1402033372","1402033374","1402033376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1aba5d801fcebca5bb72244ab26595c2.jpg","text":"TemporaryFile(/tmp/multipartBody443070531035449140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284003360,"filename":"image_01012026_15_13_15_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69bc616585a0a6414c0bad7d1ead79a0.jpg","text":"TemporaryFile(/tmp/multipartBody7328638924426975477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284003360,"filename":"image_01012026_15_12_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f2c7f9b09ba705308b778fb6881dff5.jpg","text":"TemporaryFile(/tmp/multipartBody393791854826199278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284003360,"filename":"image_01012026_15_12_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9882f9a62dd4cfd2bb145e641dcdb29b.jpg","text":"TemporaryFile(/tmp/multipartBody2352904338704804577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284003360,"filename":"image_01012026_15_12_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec3ef8b055faa512868d1adaf73d503d.jpg","text":"TemporaryFile(/tmp/multipartBody2646349614061041317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284003360,"filename":"image_01012026_15_13_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d91191bf92ff93b93f8bb967868aa03.jpg","text":"TemporaryFile(/tmp/multipartBody2719240637787497715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284003360,"filename":"image_01012026_15_12_35_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033370","file1":"1402033368","file0":"1402033366","file4":"1402033374","file5":"1402033376","file3":"1402033372"},"map_files_photo_id_array":[{"photo_id":"1402033376","filename":"file5"},{"photo_id":"1402033370","filename":"file2"},{"photo_id":"1402033374","filename":"file4"},{"photo_id":"1402033368","filename":"file1"},{"photo_id":"1402033366","filename":"file0"},{"photo_id":"1402033372","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033376":["hashtag1","hashtag2"]},{"1402033370":["hashtag1","hashtag2"]},{"1402033372":["hashtag1","hashtag2"]},{"1402033366":["hashtag1","hashtag2"]},{"1402033374":["hashtag1","hashtag2"]},{"1402033368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033376, 1402033370, 1402033372, 1402033366, 1402033374, 1402033368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.030436754226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:13:03.538611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_25_9643.jpg', '/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_35_9750.jpg', '/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_44_9673.jpg', '/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_55_10597.jpg', '/home/pi/Desktop/images/01012026/15/13/image_01012026_15_14_04_9577.jpg', '/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_15_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_25_9643.jpg
/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_35_9750.jpg
/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_44_9673.jpg
/home/pi/Desktop/images/01012026/15/13/image_01012026_15_13_55_10597.jpg
/home/pi/Desktop/images/01012026/15/13/image_01012026_15_14_04_9577.jpg
/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_15_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":["1402033382","1402033379","1402033384","1402033378","1402033377","1402033380"],"photo_ids_order":["1402033377","1402033378","1402033379","1402033380","1402033382","1402033384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9aaeac6629d424165cbd68e82653ce80.jpg","text":"TemporaryFile(/tmp/multipartBody4218605129432716801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284044192,"filename":"image_01012026_15_14_04_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd49c0a1cd77fd928705e9b57ca735fc.jpg","text":"TemporaryFile(/tmp/multipartBody9017045523324640059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284044192,"filename":"image_01012026_15_13_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edae53739284115e98c18f444af10eb4.jpg","text":"TemporaryFile(/tmp/multipartBody303881813307861567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284044192,"filename":"image_01012026_15_14_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b9170316c4739c0f8911c18c1459fe4.jpg","text":"TemporaryFile(/tmp/multipartBody7763165654157898824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284044192,"filename":"image_01012026_15_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/2026/1/1/0f1d6837a5ab3cfb553051e53188e58b.jpg","text":"TemporaryFile(/tmp/multipartBody4056492274906894426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284044192,"filename":"image_01012026_15_13_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5402f97b673af9a59b93153ecc6825b.jpg","text":"TemporaryFile(/tmp/multipartBody2045121420125641398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284044192,"filename":"image_01012026_15_13_55_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033379","file1":"1402033378","file0":"1402033377","file4":"1402033382","file5":"1402033384","file3":"1402033380"},"map_files_photo_id_array":[{"photo_id":"1402033384","filename":"file5"},{"photo_id":"1402033379","filename":"file2"},{"photo_id":"1402033382","filename":"file4"},{"photo_id":"1402033378","filename":"file1"},{"photo_id":"1402033377","filename":"file0"},{"photo_id":"1402033380","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033382":["hashtag1","hashtag2"]},{"1402033379":["hashtag1","hashtag2"]},{"1402033384":["hashtag1","hashtag2"]},{"1402033378":["hashtag1","hashtag2"]},{"1402033377":["hashtag1","hashtag2"]},{"1402033380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033382, 1402033379, 1402033384, 1402033378, 1402033377, 1402033380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99957299232483 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:13:42.884977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_26_1686.jpg', '/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_29_1804.jpg', '/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_34_1575.jpg', '/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_35_1710.jpg', '/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_44_2791.jpg', '/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_46_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_26_1686.jpg
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_29_1804.jpg
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_34_1575.jpg
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_35_1710.jpg
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_44_2791.jpg
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_46_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":["1402033388","1402033391","1402033390","1402033393","1402033395","1402033392"],"photo_ids_order":["1402033388","1402033390","1402033391","1402033392","1402033393","1402033395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c60337a2a3c2cfe2556486972d52b7a.jpg","text":"TemporaryFile(/tmp/multipartBody7327347290769153901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284084755,"filename":"image_04112025_17_55_26_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5151e0ba229cbc74594d6fb5b95047e4.jpg","text":"TemporaryFile(/tmp/multipartBody723879370538971856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284084755,"filename":"image_04112025_17_55_34_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31701dc46399ff8682911c845eadcaeb.jpg","text":"TemporaryFile(/tmp/multipartBody4928311489601960694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284084755,"filename":"image_04112025_17_55_29_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ee28555f98128179441cbb709d9f11d.jpg","text":"TemporaryFile(/tmp/multipartBody1950514552525697719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284084755,"filename":"image_04112025_17_55_44_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/860a270baeb2a5fb345aeb70dc9e82f1.jpg","text":"TemporaryFile(/tmp/multipartBody8888179715162174478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284084755,"filename":"image_04112025_17_55_46_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/049ac46025bd4f2267b297b4bf5bf300.jpg","text":"TemporaryFile(/tmp/multipartBody2589698131105553520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284084755,"filename":"image_04112025_17_55_35_1710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033391","file1":"1402033390","file0":"1402033388","file4":"1402033393","file5":"1402033395","file3":"1402033392"},"map_files_photo_id_array":[{"photo_id":"1402033395","filename":"file5"},{"photo_id":"1402033391","filename":"file2"},{"photo_id":"1402033393","filename":"file4"},{"photo_id":"1402033390","filename":"file1"},{"photo_id":"1402033388","filename":"file0"},{"photo_id":"1402033392","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033388":["hashtag1","hashtag2"]},{"1402033391":["hashtag1","hashtag2"]},{"1402033390":["hashtag1","hashtag2"]},{"1402033393":["hashtag1","hashtag2"]},{"1402033395":["hashtag1","hashtag2"]},{"1402033392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033388, 1402033391, 1402033390, 1402033393, 1402033395, 1402033392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.152727365493774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:14:22.186661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_25_9609.jpg', '/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_34_9584.jpg', '/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_45_10772.jpg', '/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_55_9753.jpg', '/home/pi/Desktop/images/01012026/15/14/image_01012026_15_15_04_9611.jpg', '/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_15_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_25_9609.jpg
/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_34_9584.jpg
/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_45_10772.jpg
/home/pi/Desktop/images/01012026/15/14/image_01012026_15_14_55_9753.jpg
/home/pi/Desktop/images/01012026/15/14/image_01012026_15_15_04_9611.jpg
/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_15_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":["1402033404","1402033397","1402033406","1402033409","1402033400","1402033402"],"photo_ids_order":["1402033397","1402033400","1402033402","1402033404","1402033406","1402033409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ec6305cbba769834d0c041d624dd0d7.jpg","text":"TemporaryFile(/tmp/multipartBody6064212709752284393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284122807,"filename":"image_01012026_15_14_55_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a61d2d700eb84ed832538c15499cb152.jpg","text":"TemporaryFile(/tmp/multipartBody2282406950840388550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284122807,"filename":"image_01012026_15_14_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c81f6237e8c3108565a4681c647f0d7.jpg","text":"TemporaryFile(/tmp/multipartBody4701953529265104990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284122807,"filename":"image_01012026_15_15_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/820144d5e13d90010438dae37f21cd3a.jpg","text":"TemporaryFile(/tmp/multipartBody7479312934158665963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284122807,"filename":"image_01012026_15_15_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7c3ece8571114387f43df62bf239d3b.jpg","text":"TemporaryFile(/tmp/multipartBody4563693707339778106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284122807,"filename":"image_01012026_15_14_34_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/330f43891ca6dc0e5624ab4bcea1666c.jpg","text":"TemporaryFile(/tmp/multipartBody6072885761964159835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284122807,"filename":"image_01012026_15_14_45_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033402","file1":"1402033400","file0":"1402033397","file4":"1402033406","file5":"1402033409","file3":"1402033404"},"map_files_photo_id_array":[{"photo_id":"1402033409","filename":"file5"},{"photo_id":"1402033402","filename":"file2"},{"photo_id":"1402033406","filename":"file4"},{"photo_id":"1402033400","filename":"file1"},{"photo_id":"1402033397","filename":"file0"},{"photo_id":"1402033404","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033404":["hashtag1","hashtag2"]},{"1402033397":["hashtag1","hashtag2"]},{"1402033406":["hashtag1","hashtag2"]},{"1402033409":["hashtag1","hashtag2"]},{"1402033400":["hashtag1","hashtag2"]},{"1402033402":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033404, 1402033397, 1402033406, 1402033409, 1402033400, 1402033402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50204610824585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:15:02.820910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_25_9698.jpg', '/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_34_9568.jpg', '/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_45_10780.jpg', '/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_55_9732.jpg', '/home/pi/Desktop/images/01012026/15/15/image_01012026_15_16_04_9604.jpg', '/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_15_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_25_9698.jpg
/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_34_9568.jpg
/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_45_10780.jpg
/home/pi/Desktop/images/01012026/15/15/image_01012026_15_15_55_9732.jpg
/home/pi/Desktop/images/01012026/15/15/image_01012026_15_16_04_9604.jpg
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_15_10797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033412","1402033415","1402033417","1402033411","1402033414","1402033413"],"photo_ids_order":["1402033411","1402033412","1402033413","1402033414","1402033415","1402033417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dbef46d326a635406e787b4912572f0.jpg","text":"TemporaryFile(/tmp/multipartBody2906025374235134654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284163446,"filename":"image_01012026_15_15_34_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92a87e5e25bff1593b6f1d7b8decd80b.jpg","text":"TemporaryFile(/tmp/multipartBody1646188160810480312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284163446,"filename":"image_01012026_15_16_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c562149fae4fcd3a62d73fed00e85240.jpg","text":"TemporaryFile(/tmp/multipartBody9055926923565731526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284163446,"filename":"image_01012026_15_16_15_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4578095ea8b671d01646dc14a1d465bf.jpg","text":"TemporaryFile(/tmp/multipartBody9078643481951364280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284163446,"filename":"image_01012026_15_15_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bb8d12d6320a77fa0fdad8057b8db8b.jpg","text":"TemporaryFile(/tmp/multipartBody2689434759106625314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284163446,"filename":"image_01012026_15_15_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c6da543ac95bded7a14213d4a7fad99.jpg","text":"TemporaryFile(/tmp/multipartBody5178087415279931207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284163446,"filename":"image_01012026_15_15_45_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033413","file1":"1402033412","file0":"1402033411","file4":"1402033415","file5":"1402033417","file3":"1402033414"},"map_files_photo_id_array":[{"photo_id":"1402033417","filename":"file5"},{"photo_id":"1402033413","filename":"file2"},{"photo_id":"1402033415","filename":"file4"},{"photo_id":"1402033412","filename":"file1"},{"photo_id":"1402033411","filename":"file0"},{"photo_id":"1402033414","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033412":["hashtag1","hashtag2"]},{"1402033415":["hashtag1","hashtag2"]},{"1402033417":["hashtag1","hashtag2"]},{"1402033411":["hashtag1","hashtag2"]},{"1402033414":["hashtag1","hashtag2"]},{"1402033413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033412, 1402033415, 1402033417, 1402033411, 1402033414, 1402033413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.756794929504395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:15:42.230775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_50_3742.jpg', '/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_08_2660.jpg', '/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_17_3531.jpg', '/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_20_2774.jpg', '/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_22_2791.jpg', '/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_26_3657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/55/image_04112025_17_55_50_3742.jpg
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_08_2660.jpg
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_17_3531.jpg
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_20_2774.jpg
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_22_2791.jpg
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_26_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":["1402033425","1402033427","1402033429","1402033423","1402033426","1402033428"],"photo_ids_order":["1402033423","1402033425","1402033426","1402033427","1402033428","1402033429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab608cc3e83a92240d06330cf368d099.jpg","text":"TemporaryFile(/tmp/multipartBody6430902291616110081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284204110,"filename":"image_04112025_17_56_08_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9bb6ba2c0b0da7183279049d854efb14.jpg","text":"TemporaryFile(/tmp/multipartBody1194973499293992525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284204110,"filename":"image_04112025_17_56_20_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2752c95f0d3e9582c4e55a556721af27.jpg","text":"TemporaryFile(/tmp/multipartBody286400979287391940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284204110,"filename":"image_04112025_17_56_26_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7226d31c392abfc3aaa5a3affb969698.jpg","text":"TemporaryFile(/tmp/multipartBody220755280955470195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284204110,"filename":"image_04112025_17_55_50_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f4c06bf1b8a6becd4d1023d2976cd05.jpg","text":"TemporaryFile(/tmp/multipartBody7321457843514557716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284204110,"filename":"image_04112025_17_56_17_3531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76a43c39fa1a3fd210856fcafdf3ab23.jpg","text":"TemporaryFile(/tmp/multipartBody419495219023496418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284204110,"filename":"image_04112025_17_56_22_2791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033426","file1":"1402033425","file0":"1402033423","file4":"1402033428","file5":"1402033429","file3":"1402033427"},"map_files_photo_id_array":[{"photo_id":"1402033429","filename":"file5"},{"photo_id":"1402033426","filename":"file2"},{"photo_id":"1402033428","filename":"file4"},{"photo_id":"1402033425","filename":"file1"},{"photo_id":"1402033423","filename":"file0"},{"photo_id":"1402033427","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033425":["hashtag1","hashtag2"]},{"1402033427":["hashtag1","hashtag2"]},{"1402033429":["hashtag1","hashtag2"]},{"1402033423":["hashtag1","hashtag2"]},{"1402033426":["hashtag1","hashtag2"]},{"1402033428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033425, 1402033427, 1402033429, 1402033423, 1402033426, 1402033428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39867067337036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:16:22.443723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_34_9550.jpg', '/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_45_10669.jpg', '/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_55_9741.jpg', '/home/pi/Desktop/images/01012026/15/16/image_01012026_15_17_05_9710.jpg', '/home/pi/Desktop/images/01012026/15/17/image_01012026_15_17_25_10707.jpg', '/home/pi/Desktop/images/01012026/15/17/image_01012026_15_17_35_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_34_9550.jpg
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_45_10669.jpg
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_55_9741.jpg
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_17_05_9710.jpg
/home/pi/Desktop/images/01012026/15/17/image_01012026_15_17_25_10707.jpg
/home/pi/Desktop/images/01012026/15/17/image_01012026_15_17_35_9685.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.48870182037353516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:16:32.378002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_29_2771.jpg', '/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_35_3662.jpg', '/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_53_3722.jpg', '/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_56_2682.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_05_3587.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_10_2765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_29_2771.jpg
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_35_3662.jpg
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_53_3722.jpg
/home/pi/Desktop/images/04112025/17/56/image_04112025_17_56_56_2682.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_05_3587.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_10_2765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033443","1402033439","1402033448","1402033436","1402033447","1402033446"],"photo_ids_order":["1402033436","1402033439","1402033443","1402033446","1402033447","1402033448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95a820a3f8bd50c0768641bc7888c352.jpg","text":"TemporaryFile(/tmp/multipartBody4845170909152683976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284254244,"filename":"image_04112025_17_56_53_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11b5690dff3fb933c5d573ae01ff9a70.jpg","text":"TemporaryFile(/tmp/multipartBody4239386679033011402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284254244,"filename":"image_04112025_17_56_35_3662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a9130a315c26c05bec13f86f40b40d1.jpg","text":"TemporaryFile(/tmp/multipartBody9005261802773686540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284254244,"filename":"image_04112025_17_57_10_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d279e47c84c32bc89da70fdba30d6ea.jpg","text":"TemporaryFile(/tmp/multipartBody8538558635436124715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284254244,"filename":"image_04112025_17_56_29_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3e454b88753da118e561b7d40fd2169.jpg","text":"TemporaryFile(/tmp/multipartBody3426236991941618970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284254244,"filename":"image_04112025_17_57_05_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c2bb18ca491fda033e20880a76c13b0.jpg","text":"TemporaryFile(/tmp/multipartBody7175932057368235007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284254244,"filename":"image_04112025_17_56_56_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033443","file1":"1402033439","file0":"1402033436","file4":"1402033447","file5":"1402033448","file3":"1402033446"},"map_files_photo_id_array":[{"photo_id":"1402033448","filename":"file5"},{"photo_id":"1402033443","filename":"file2"},{"photo_id":"1402033447","filename":"file4"},{"photo_id":"1402033439","filename":"file1"},{"photo_id":"1402033436","filename":"file0"},{"photo_id":"1402033446","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033443":["hashtag1","hashtag2"]},{"1402033439":["hashtag1","hashtag2"]},{"1402033448":["hashtag1","hashtag2"]},{"1402033436":["hashtag1","hashtag2"]},{"1402033447":["hashtag1","hashtag2"]},{"1402033446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033443, 1402033439, 1402033448, 1402033436, 1402033447, 1402033446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95548725128174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:17:12.460522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_14_3719.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_17_2889.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_20_2681.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_22_2548.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_26_3807.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_35_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_14_3719.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_17_2889.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_20_2681.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_22_2548.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_26_3807.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_35_3588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033457","1402033451","1402033453","1402033459","1402033455","1402033449"],"photo_ids_order":["1402033449","1402033451","1402033453","1402033455","1402033457","1402033459"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8f3b635995c62206e1475c189d8a0f5.jpg","text":"TemporaryFile(/tmp/multipartBody2511351717127761837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284294200,"filename":"image_04112025_17_57_26_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a2d718811d60b668427e27eefc4cece.jpg","text":"TemporaryFile(/tmp/multipartBody5094017168009702289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284294200,"filename":"image_04112025_17_57_17_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b13914533e1e516d444f8ced5dc14af.jpg","text":"TemporaryFile(/tmp/multipartBody4690244000144196290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284294200,"filename":"image_04112025_17_57_20_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d893d44fd021fbf47e2fe9a970773084.jpg","text":"TemporaryFile(/tmp/multipartBody8133868159008498429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284294200,"filename":"image_04112025_17_57_35_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7ca07b1fb92fd95a7429f5e626fbf78.jpg","text":"TemporaryFile(/tmp/multipartBody628359612068052813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284294200,"filename":"image_04112025_17_57_22_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22a9c2551df7f8b7299b3334a736ddd3.jpg","text":"TemporaryFile(/tmp/multipartBody3939437443776532349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284294200,"filename":"image_04112025_17_57_14_3719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033453","file1":"1402033451","file0":"1402033449","file4":"1402033457","file5":"1402033459","file3":"1402033455"},"map_files_photo_id_array":[{"photo_id":"1402033459","filename":"file5"},{"photo_id":"1402033453","filename":"file2"},{"photo_id":"1402033457","filename":"file4"},{"photo_id":"1402033451","filename":"file1"},{"photo_id":"1402033449","filename":"file0"},{"photo_id":"1402033455","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033457":["hashtag1","hashtag2"]},{"1402033451":["hashtag1","hashtag2"]},{"1402033453":["hashtag1","hashtag2"]},{"1402033459":["hashtag1","hashtag2"]},{"1402033455":["hashtag1","hashtag2"]},{"1402033449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033457, 1402033451, 1402033453, 1402033459, 1402033455, 1402033449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12951111793518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:18:03.301635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_34_9550.jpg', '/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_45_10669.jpg', '/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_55_9741.jpg', '/home/pi/Desktop/images/01012026/15/16/image_01012026_15_17_05_9710.jpg', '/home/pi/Desktop/images/01012026/15/17/image_01012026_15_17_25_10707.jpg', '/home/pi/Desktop/images/01012026/15/17/image_01012026_15_17_35_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_34_9550.jpg
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_45_10669.jpg
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_16_55_9741.jpg
/home/pi/Desktop/images/01012026/15/16/image_01012026_15_17_05_9710.jpg
/home/pi/Desktop/images/01012026/15/17/image_01012026_15_17_25_10707.jpg
/home/pi/Desktop/images/01012026/15/17/image_01012026_15_17_35_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":["1402033469","1402033463","1402033466","1402033465","1402033464","1402033467"],"photo_ids_order":["1402033463","1402033464","1402033465","1402033466","1402033467","1402033469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/873e65ab57a2f8c0229337c0afbc233b.jpg","text":"TemporaryFile(/tmp/multipartBody8562029428337858287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284343914,"filename":"image_01012026_15_17_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d932d95873e4c837f8b0e65f58532a8e.jpg","text":"TemporaryFile(/tmp/multipartBody4993636980915671536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284343914,"filename":"image_01012026_15_16_34_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85ee64c1d043c6f745ee369da97d6aac.jpg","text":"TemporaryFile(/tmp/multipartBody4777588155839911925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284343914,"filename":"image_01012026_15_17_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03af081608e1be98bbe65266d40d49e3.jpg","text":"TemporaryFile(/tmp/multipartBody8228427961097694002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284343914,"filename":"image_01012026_15_16_55_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3971c18d1c705777da5caa89b2ab32fa.jpg","text":"TemporaryFile(/tmp/multipartBody6215285063988700138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284343914,"filename":"image_01012026_15_16_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4eb9fce9092401d50161b3d3a628c84d.jpg","text":"TemporaryFile(/tmp/multipartBody9001895179219456580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284343914,"filename":"image_01012026_15_17_25_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033465","file1":"1402033464","file0":"1402033463","file4":"1402033467","file5":"1402033469","file3":"1402033466"},"map_files_photo_id_array":[{"photo_id":"1402033469","filename":"file5"},{"photo_id":"1402033465","filename":"file2"},{"photo_id":"1402033467","filename":"file4"},{"photo_id":"1402033464","filename":"file1"},{"photo_id":"1402033463","filename":"file0"},{"photo_id":"1402033466","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033469":["hashtag1","hashtag2"]},{"1402033463":["hashtag1","hashtag2"]},{"1402033466":["hashtag1","hashtag2"]},{"1402033465":["hashtag1","hashtag2"]},{"1402033464":["hashtag1","hashtag2"]},{"1402033467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033469, 1402033463, 1402033466, 1402033465, 1402033464, 1402033467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94625473022461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:18:42.783023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_44_3797.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_47_2781.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_49_2663.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_52_2778.jpg', '/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_56_3799.jpg', '/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_10_14375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_44_3797.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_47_2781.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_49_2663.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_52_2778.jpg
/home/pi/Desktop/images/04112025/17/57/image_04112025_17_57_56_3799.jpg
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_10_14375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033481","1402033475","1402033478","1402033483","1402033480","1402033479"],"photo_ids_order":["1402033475","1402033478","1402033479","1402033480","1402033481","1402033483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95911b80cdc43f6a103fb20da79a154e.jpg","text":"TemporaryFile(/tmp/multipartBody5623331849121622096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284384644,"filename":"image_04112025_17_57_56_3799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81c9c01978ba7e4698c0b54a3454dfda.jpg","text":"TemporaryFile(/tmp/multipartBody1515770316674419717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284384644,"filename":"image_04112025_17_57_44_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f44c6a16e3f1714e1cf0b89ad9a65ee.jpg","text":"TemporaryFile(/tmp/multipartBody2656446293779560806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284384644,"filename":"image_04112025_17_57_47_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0fb98213269b751b3737c15149a10d5.jpg","text":"TemporaryFile(/tmp/multipartBody3837662827106444335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284384644,"filename":"image_04112025_17_58_10_14375.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa1d3cd2c7dccaadb6e2d342bb9315e2.jpg","text":"TemporaryFile(/tmp/multipartBody375451786292335895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284384644,"filename":"image_04112025_17_57_52_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58dd613ae4c427809db06ed3519c08d3.jpg","text":"TemporaryFile(/tmp/multipartBody8001260848174281608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284384644,"filename":"image_04112025_17_57_49_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033479","file1":"1402033478","file0":"1402033475","file4":"1402033481","file5":"1402033483","file3":"1402033480"},"map_files_photo_id_array":[{"photo_id":"1402033483","filename":"file5"},{"photo_id":"1402033479","filename":"file2"},{"photo_id":"1402033481","filename":"file4"},{"photo_id":"1402033478","filename":"file1"},{"photo_id":"1402033475","filename":"file0"},{"photo_id":"1402033480","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033481":["hashtag1","hashtag2"]},{"1402033475":["hashtag1","hashtag2"]},{"1402033478":["hashtag1","hashtag2"]},{"1402033483":["hashtag1","hashtag2"]},{"1402033480":["hashtag1","hashtag2"]},{"1402033479":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033481, 1402033475, 1402033478, 1402033483, 1402033480, 1402033479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01292848587036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:19:22.065857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/17/image_01012026_15_18_05_10787.jpg', '/home/pi/Desktop/images/01012026/15/18/image_01012026_15_18_15_9942.jpg', '/home/pi/Desktop/images/01012026/15/20/image_01012026_15_20_45_9753.jpg', '/home/pi/Desktop/images/01012026/15/25/image_01012026_15_25_25_10624.jpg', '/home/pi/Desktop/images/01012026/15/25/image_01012026_15_26_04_9568.jpg', '/home/pi/Desktop/images/01012026/15/26/image_01012026_15_26_15_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/17/image_01012026_15_18_05_10787.jpg
/home/pi/Desktop/images/01012026/15/18/image_01012026_15_18_15_9942.jpg
/home/pi/Desktop/images/01012026/15/20/image_01012026_15_20_45_9753.jpg
/home/pi/Desktop/images/01012026/15/25/image_01012026_15_25_25_10624.jpg
/home/pi/Desktop/images/01012026/15/25/image_01012026_15_26_04_9568.jpg
/home/pi/Desktop/images/01012026/15/26/image_01012026_15_26_15_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033493","1402033484","1402033486","1402033495","1402033491","1402033488"],"photo_ids_order":["1402033484","1402033486","1402033488","1402033491","1402033493","1402033495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/788316c028cdd48ce7ef5e22971cd83b.jpg","text":"TemporaryFile(/tmp/multipartBody250346914897600382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284422635,"filename":"image_01012026_15_26_04_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89cb5a8f566574db30274e6d143f15a0.jpg","text":"TemporaryFile(/tmp/multipartBody1085009605482169239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284422635,"filename":"image_01012026_15_18_05_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78692b904a32e782e92953c2049c2373.jpg","text":"TemporaryFile(/tmp/multipartBody8932862294684810685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284422635,"filename":"image_01012026_15_18_15_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af67dc74bab1c273a87cb0cff947f906.jpg","text":"TemporaryFile(/tmp/multipartBody4543193520455131715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284422635,"filename":"image_01012026_15_26_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39e8a92694f004a5695fbe4b69df0f7b.jpg","text":"TemporaryFile(/tmp/multipartBody1560039224998877741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284422635,"filename":"image_01012026_15_25_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00676f0ae5f116fe8871e849e723e943.jpg","text":"TemporaryFile(/tmp/multipartBody8072922700596782358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284422635,"filename":"image_01012026_15_20_45_9753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033488","file1":"1402033486","file0":"1402033484","file4":"1402033493","file5":"1402033495","file3":"1402033491"},"map_files_photo_id_array":[{"photo_id":"1402033495","filename":"file5"},{"photo_id":"1402033488","filename":"file2"},{"photo_id":"1402033493","filename":"file4"},{"photo_id":"1402033486","filename":"file1"},{"photo_id":"1402033484","filename":"file0"},{"photo_id":"1402033491","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033493":["hashtag1","hashtag2"]},{"1402033484":["hashtag1","hashtag2"]},{"1402033486":["hashtag1","hashtag2"]},{"1402033495":["hashtag1","hashtag2"]},{"1402033491":["hashtag1","hashtag2"]},{"1402033488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033493, 1402033484, 1402033486, 1402033495, 1402033491, 1402033488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.821935176849365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:20:02.603834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/26/image_01012026_15_26_55_9647.jpg', '/home/pi/Desktop/images/01012026/15/27/image_01012026_15_27_25_9610.jpg', '/home/pi/Desktop/images/01012026/15/27/image_01012026_15_27_45_9497.jpg', '/home/pi/Desktop/images/01012026/15/27/image_01012026_15_27_54_9666.jpg', '/home/pi/Desktop/images/01012026/15/28/image_01012026_15_28_35_10691.jpg', '/home/pi/Desktop/images/01012026/15/29/image_01012026_15_29_24_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/26/image_01012026_15_26_55_9647.jpg
/home/pi/Desktop/images/01012026/15/27/image_01012026_15_27_25_9610.jpg
/home/pi/Desktop/images/01012026/15/27/image_01012026_15_27_45_9497.jpg
/home/pi/Desktop/images/01012026/15/27/image_01012026_15_27_54_9666.jpg
/home/pi/Desktop/images/01012026/15/28/image_01012026_15_28_35_10691.jpg
/home/pi/Desktop/images/01012026/15/29/image_01012026_15_29_24_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":["1402033500","1402033499","1402033503","1402033496","1402033501","1402033497"],"photo_ids_order":["1402033496","1402033497","1402033499","1402033500","1402033501","1402033503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0848b027a32c77f59278442cb3226efb.jpg","text":"TemporaryFile(/tmp/multipartBody8533482664724424656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284463167,"filename":"image_01012026_15_27_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48011fcb04b7c17e5cd6bbec857a533f.jpg","text":"TemporaryFile(/tmp/multipartBody5972577180250184973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284463167,"filename":"image_01012026_15_27_45_9497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b1b89136df4baaaba7718e557429a4c.jpg","text":"TemporaryFile(/tmp/multipartBody3143615818600169293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284463167,"filename":"image_01012026_15_29_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2db7ce0eacac23e1ab6b776dcad254b.jpg","text":"TemporaryFile(/tmp/multipartBody3534429040211763093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284463167,"filename":"image_01012026_15_26_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2933fcbb333ba2c0c0502850089c39a8.jpg","text":"TemporaryFile(/tmp/multipartBody8072459055765485243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284463167,"filename":"image_01012026_15_28_35_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05cc68893c976c27f002716f2db68a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7762330800112397951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284463167,"filename":"image_01012026_15_27_25_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033499","file1":"1402033497","file0":"1402033496","file4":"1402033501","file5":"1402033503","file3":"1402033500"},"map_files_photo_id_array":[{"photo_id":"1402033503","filename":"file5"},{"photo_id":"1402033499","filename":"file2"},{"photo_id":"1402033501","filename":"file4"},{"photo_id":"1402033497","filename":"file1"},{"photo_id":"1402033496","filename":"file0"},{"photo_id":"1402033500","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033500":["hashtag1","hashtag2"]},{"1402033499":["hashtag1","hashtag2"]},{"1402033503":["hashtag1","hashtag2"]},{"1402033496":["hashtag1","hashtag2"]},{"1402033501":["hashtag1","hashtag2"]},{"1402033497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033500, 1402033499, 1402033503, 1402033496, 1402033501, 1402033497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40114736557007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:20:42.267845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_12_1987.jpg', '/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_18_1689.jpg', '/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_19_1835.jpg', '/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_23_1779.jpg', '/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_25_1806.jpg', '/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_38_13079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_12_1987.jpg
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_18_1689.jpg
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_19_1835.jpg
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_23_1779.jpg
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_25_1806.jpg
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_38_13079.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033515","1402033514","1402033508","1402033517","1402033513","1402033512"],"photo_ids_order":["1402033508","1402033512","1402033513","1402033514","1402033515","1402033517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/468f8fc046af426691dbc3a082e4febc.jpg","text":"TemporaryFile(/tmp/multipartBody6708526877079460484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284504117,"filename":"image_04112025_17_58_25_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3698c56281b32814e4267f109a63423.jpg","text":"TemporaryFile(/tmp/multipartBody4332262546337611523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284504117,"filename":"image_04112025_17_58_23_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce3d4d32380b7e33c5d440e42675ee2e.jpg","text":"TemporaryFile(/tmp/multipartBody3598462677133152376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284504117,"filename":"image_04112025_17_58_12_1987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1fb61e1e5a14423fcfa8be885205133.jpg","text":"TemporaryFile(/tmp/multipartBody5671004586250772917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284504117,"filename":"image_04112025_17_58_38_13079.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90cbf45388a4384da0d42780a2de0871.jpg","text":"TemporaryFile(/tmp/multipartBody1302647531186037405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284504117,"filename":"image_04112025_17_58_19_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42dddc28177f6000747aeaefbc7d08b3.jpg","text":"TemporaryFile(/tmp/multipartBody6394282763751073439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284504117,"filename":"image_04112025_17_58_18_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033513","file1":"1402033512","file0":"1402033508","file4":"1402033515","file5":"1402033517","file3":"1402033514"},"map_files_photo_id_array":[{"photo_id":"1402033517","filename":"file5"},{"photo_id":"1402033513","filename":"file2"},{"photo_id":"1402033515","filename":"file4"},{"photo_id":"1402033512","filename":"file1"},{"photo_id":"1402033508","filename":"file0"},{"photo_id":"1402033514","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033515":["hashtag1","hashtag2"]},{"1402033514":["hashtag1","hashtag2"]},{"1402033508":["hashtag1","hashtag2"]},{"1402033517":["hashtag1","hashtag2"]},{"1402033513":["hashtag1","hashtag2"]},{"1402033512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033515, 1402033514, 1402033508, 1402033517, 1402033513, 1402033512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44530534744263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:21:22.456969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/30/image_01012026_15_30_44_9545.jpg', '/home/pi/Desktop/images/01012026/15/30/image_01012026_15_31_05_9873.jpg', '/home/pi/Desktop/images/01012026/15/32/image_01012026_15_32_24_9775.jpg', '/home/pi/Desktop/images/01012026/15/32/image_01012026_15_32_45_9509.jpg', '/home/pi/Desktop/images/01012026/15/33/image_01012026_15_33_15_9812.jpg', '/home/pi/Desktop/images/01012026/15/33/image_01012026_15_33_25_10557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/30/image_01012026_15_30_44_9545.jpg
/home/pi/Desktop/images/01012026/15/30/image_01012026_15_31_05_9873.jpg
/home/pi/Desktop/images/01012026/15/32/image_01012026_15_32_24_9775.jpg
/home/pi/Desktop/images/01012026/15/32/image_01012026_15_32_45_9509.jpg
/home/pi/Desktop/images/01012026/15/33/image_01012026_15_33_15_9812.jpg
/home/pi/Desktop/images/01012026/15/33/image_01012026_15_33_25_10557.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033524","1402033526","1402033520","1402033528","1402033522","1402033531"],"photo_ids_order":["1402033520","1402033522","1402033524","1402033526","1402033528","1402033531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a617cc2faae5fbdb06d29824e7df0f3a.jpg","text":"TemporaryFile(/tmp/multipartBody560628470599414441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284543001,"filename":"image_01012026_15_32_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcaa53dc232fc6c37a8ad09b309cae58.jpg","text":"TemporaryFile(/tmp/multipartBody1271866689891051119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284543001,"filename":"image_01012026_15_32_45_9509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b273bad5c10ed06054eeefd718e5d3f.jpg","text":"TemporaryFile(/tmp/multipartBody4493056789013152346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284543001,"filename":"image_01012026_15_30_44_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/422dd526b8a6ee732ac23474573164c3.jpg","text":"TemporaryFile(/tmp/multipartBody7803228599026161861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284543001,"filename":"image_01012026_15_33_15_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f97d6ad31701a023c6d77a98ddb7795e.jpg","text":"TemporaryFile(/tmp/multipartBody5112199887936230112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284543001,"filename":"image_01012026_15_31_05_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59dbd65335954a2700cd5f8e38ef4fa2.jpg","text":"TemporaryFile(/tmp/multipartBody5302411370186774027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284543001,"filename":"image_01012026_15_33_25_10557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033524","file1":"1402033522","file0":"1402033520","file4":"1402033528","file5":"1402033531","file3":"1402033526"},"map_files_photo_id_array":[{"photo_id":"1402033531","filename":"file5"},{"photo_id":"1402033524","filename":"file2"},{"photo_id":"1402033528","filename":"file4"},{"photo_id":"1402033522","filename":"file1"},{"photo_id":"1402033520","filename":"file0"},{"photo_id":"1402033526","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033524":["hashtag1","hashtag2"]},{"1402033526":["hashtag1","hashtag2"]},{"1402033520":["hashtag1","hashtag2"]},{"1402033528":["hashtag1","hashtag2"]},{"1402033522":["hashtag1","hashtag2"]},{"1402033531":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033524, 1402033526, 1402033520, 1402033528, 1402033522, 1402033531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21193861961365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:22:02.984449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/33/image_01012026_15_33_35_9583.jpg', '/home/pi/Desktop/images/01012026/15/33/image_01012026_15_33_54_9867.jpg', '/home/pi/Desktop/images/01012026/15/33/image_01012026_15_34_05_10588.jpg', '/home/pi/Desktop/images/01012026/15/34/image_01012026_15_34_35_9570.jpg', '/home/pi/Desktop/images/01012026/15/35/image_01012026_15_35_15_10589.jpg', '/home/pi/Desktop/images/01012026/15/35/image_01012026_15_35_35_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/33/image_01012026_15_33_35_9583.jpg
/home/pi/Desktop/images/01012026/15/33/image_01012026_15_33_54_9867.jpg
/home/pi/Desktop/images/01012026/15/33/image_01012026_15_34_05_10588.jpg
/home/pi/Desktop/images/01012026/15/34/image_01012026_15_34_35_9570.jpg
/home/pi/Desktop/images/01012026/15/35/image_01012026_15_35_15_10589.jpg
/home/pi/Desktop/images/01012026/15/35/image_01012026_15_35_35_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":["1402033542","1402033541","1402033547","1402033540","1402033543","1402033545"],"photo_ids_order":["1402033540","1402033541","1402033542","1402033543","1402033545","1402033547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86c11602ec80e7142f7b2f7244bc77b4.jpg","text":"TemporaryFile(/tmp/multipartBody1789767400765883664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284583543,"filename":"image_01012026_15_34_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ac2a2f860557722dbb0b5dcd0f96d0a.jpg","text":"TemporaryFile(/tmp/multipartBody1474766938233190158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284583543,"filename":"image_01012026_15_33_54_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab0a8b1ea2db5f6d633605bdd1db9e73.jpg","text":"TemporaryFile(/tmp/multipartBody1114423987227188396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284583543,"filename":"image_01012026_15_35_35_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1f60ee4db62e20c359a806847112b61.jpg","text":"TemporaryFile(/tmp/multipartBody8141454606258179805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284583543,"filename":"image_01012026_15_33_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86928ec6d29b71c44bcac3251fad6398.jpg","text":"TemporaryFile(/tmp/multipartBody6946191495044156670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284583543,"filename":"image_01012026_15_34_35_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6978c7add19ea2dc7b05f04e22ec0f01.jpg","text":"TemporaryFile(/tmp/multipartBody2991281832357574669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284583543,"filename":"image_01012026_15_35_15_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033542","file1":"1402033541","file0":"1402033540","file4":"1402033545","file5":"1402033547","file3":"1402033543"},"map_files_photo_id_array":[{"photo_id":"1402033547","filename":"file5"},{"photo_id":"1402033542","filename":"file2"},{"photo_id":"1402033545","filename":"file4"},{"photo_id":"1402033541","filename":"file1"},{"photo_id":"1402033540","filename":"file0"},{"photo_id":"1402033543","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033542":["hashtag1","hashtag2"]},{"1402033541":["hashtag1","hashtag2"]},{"1402033547":["hashtag1","hashtag2"]},{"1402033540":["hashtag1","hashtag2"]},{"1402033543":["hashtag1","hashtag2"]},{"1402033545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033542, 1402033541, 1402033547, 1402033540, 1402033543, 1402033545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99302387237549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:22:42.642511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_43_1645.jpg', '/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_46_1763.jpg', '/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_58_10334.jpg', '/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_10_3154.jpg', '/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_12_1598.jpg', '/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_21_5482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_43_1645.jpg
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_46_1763.jpg
/home/pi/Desktop/images/04112025/17/58/image_04112025_17_58_58_10334.jpg
/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_10_3154.jpg
/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_12_1598.jpg
/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_21_5482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033592","1402033583","1402033591","1402033588","1402033593","1402033590"],"photo_ids_order":["1402033583","1402033588","1402033590","1402033591","1402033592","1402033593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c425101289909e38540d05389680a3b.jpg","text":"TemporaryFile(/tmp/multipartBody4207808271925658063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284624498,"filename":"image_04112025_17_59_12_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48711f73e0256e03e0c76703eb331d43.jpg","text":"TemporaryFile(/tmp/multipartBody241697512766990691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284624498,"filename":"image_04112025_17_58_43_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70044bd5314eb305e33f9af1a84cdee3.jpg","text":"TemporaryFile(/tmp/multipartBody2188036766812019620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284624498,"filename":"image_04112025_17_59_10_3154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e114ef615dc7988fce94f6b8109a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody6578467602954492053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284624498,"filename":"image_04112025_17_58_46_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77acb4cb25e7d55b0fa7360e2ba2b9d6.jpg","text":"TemporaryFile(/tmp/multipartBody1458778634123887169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284624498,"filename":"image_04112025_17_59_21_5482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e191caf0e60b56e98ac0abccd4ef6e93.jpg","text":"TemporaryFile(/tmp/multipartBody5528401117864691661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284624498,"filename":"image_04112025_17_58_58_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033590","file1":"1402033588","file0":"1402033583","file4":"1402033592","file5":"1402033593","file3":"1402033591"},"map_files_photo_id_array":[{"photo_id":"1402033593","filename":"file5"},{"photo_id":"1402033590","filename":"file2"},{"photo_id":"1402033592","filename":"file4"},{"photo_id":"1402033588","filename":"file1"},{"photo_id":"1402033583","filename":"file0"},{"photo_id":"1402033591","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033592":["hashtag1","hashtag2"]},{"1402033583":["hashtag1","hashtag2"]},{"1402033591":["hashtag1","hashtag2"]},{"1402033588":["hashtag1","hashtag2"]},{"1402033593":["hashtag1","hashtag2"]},{"1402033590":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033592, 1402033583, 1402033591, 1402033588, 1402033593, 1402033590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33228945732117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:23:22.753692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/35/image_01012026_15_35_45_10651.jpg', '/home/pi/Desktop/images/01012026/15/36/image_01012026_15_36_45_10735.jpg', '/home/pi/Desktop/images/01012026/15/37/image_01012026_15_37_45_9687.jpg', '/home/pi/Desktop/images/01012026/15/38/image_01012026_15_39_05_10687.jpg', '/home/pi/Desktop/images/01012026/15/39/image_01012026_15_39_35_10609.jpg', '/home/pi/Desktop/images/01012026/15/40/image_01012026_15_40_25_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/35/image_01012026_15_35_45_10651.jpg
/home/pi/Desktop/images/01012026/15/36/image_01012026_15_36_45_10735.jpg
/home/pi/Desktop/images/01012026/15/37/image_01012026_15_37_45_9687.jpg
/home/pi/Desktop/images/01012026/15/38/image_01012026_15_39_05_10687.jpg
/home/pi/Desktop/images/01012026/15/39/image_01012026_15_39_35_10609.jpg
/home/pi/Desktop/images/01012026/15/40/image_01012026_15_40_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":["1402033598","1402033604","1402033613","1402033607","1402033601","1402033596"],"photo_ids_order":["1402033596","1402033598","1402033601","1402033604","1402033607","1402033613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe4da841cdf413b41461d4cf8b0eedba.jpg","text":"TemporaryFile(/tmp/multipartBody8637299917671770202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284663293,"filename":"image_01012026_15_36_45_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42cfff8e5d821904beaa05ca99bacd5a.jpg","text":"TemporaryFile(/tmp/multipartBody4129308366918842255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284663293,"filename":"image_01012026_15_39_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1cb8b4f2910f62858561a7ea40ff59b.jpg","text":"TemporaryFile(/tmp/multipartBody8061201049415297628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284663293,"filename":"image_01012026_15_40_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed98bf86586454892fb2d9a499ea1fe3.jpg","text":"TemporaryFile(/tmp/multipartBody8582233289594933789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284663293,"filename":"image_01012026_15_39_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9134c14da3855f7f4e73fcab736dead6.jpg","text":"TemporaryFile(/tmp/multipartBody5496483356820605882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284663293,"filename":"image_01012026_15_37_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02f76204fda0dc6b2ce2ddd2e99cfb8a.jpg","text":"TemporaryFile(/tmp/multipartBody1950515758565590834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284663293,"filename":"image_01012026_15_35_45_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033601","file1":"1402033598","file0":"1402033596","file4":"1402033607","file5":"1402033613","file3":"1402033604"},"map_files_photo_id_array":[{"photo_id":"1402033613","filename":"file5"},{"photo_id":"1402033601","filename":"file2"},{"photo_id":"1402033607","filename":"file4"},{"photo_id":"1402033598","filename":"file1"},{"photo_id":"1402033596","filename":"file0"},{"photo_id":"1402033604","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033598":["hashtag1","hashtag2"]},{"1402033604":["hashtag1","hashtag2"]},{"1402033613":["hashtag1","hashtag2"]},{"1402033607":["hashtag1","hashtag2"]},{"1402033601":["hashtag1","hashtag2"]},{"1402033596":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033598, 1402033604, 1402033613, 1402033607, 1402033601, 1402033596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9716956615448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:24:02.826140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/40/image_01012026_15_40_55_9611.jpg', '/home/pi/Desktop/images/01012026/15/41/image_01012026_15_41_35_9638.jpg', '/home/pi/Desktop/images/01012026/15/41/image_01012026_15_41_45_9671.jpg', '/home/pi/Desktop/images/01012026/15/42/image_01012026_15_42_15_9629.jpg', '/home/pi/Desktop/images/01012026/15/42/image_01012026_15_42_24_9805.jpg', '/home/pi/Desktop/images/01012026/15/42/image_01012026_15_43_05_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/40/image_01012026_15_40_55_9611.jpg
/home/pi/Desktop/images/01012026/15/41/image_01012026_15_41_35_9638.jpg
/home/pi/Desktop/images/01012026/15/41/image_01012026_15_41_45_9671.jpg
/home/pi/Desktop/images/01012026/15/42/image_01012026_15_42_15_9629.jpg
/home/pi/Desktop/images/01012026/15/42/image_01012026_15_42_24_9805.jpg
/home/pi/Desktop/images/01012026/15/42/image_01012026_15_43_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":["1402033620","1402033614","1402033617","1402033616","1402033615","1402033618"],"photo_ids_order":["1402033614","1402033615","1402033616","1402033617","1402033618","1402033620"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84579d54b02aec8b41bcc5a269c2f0f3.jpg","text":"TemporaryFile(/tmp/multipartBody5845373395191451080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284703415,"filename":"image_01012026_15_43_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8072811bcd5a342e3a8edef26734009c.jpg","text":"TemporaryFile(/tmp/multipartBody7705878220615854493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284703415,"filename":"image_01012026_15_40_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35430a1fb3d30de3a039d6923f35406c.jpg","text":"TemporaryFile(/tmp/multipartBody6838190273549152842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284703415,"filename":"image_01012026_15_42_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/951e25df76e1280bf29356e39078dfe6.jpg","text":"TemporaryFile(/tmp/multipartBody3066289134594469399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284703415,"filename":"image_01012026_15_41_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/effc962413e89a2c916ce144a24c9432.jpg","text":"TemporaryFile(/tmp/multipartBody7948967635555654786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284703415,"filename":"image_01012026_15_41_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d31474ddbea21d02b5b2bac1748477da.jpg","text":"TemporaryFile(/tmp/multipartBody1088583156892058548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284703415,"filename":"image_01012026_15_42_24_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033616","file1":"1402033615","file0":"1402033614","file4":"1402033618","file5":"1402033620","file3":"1402033617"},"map_files_photo_id_array":[{"photo_id":"1402033620","filename":"file5"},{"photo_id":"1402033616","filename":"file2"},{"photo_id":"1402033618","filename":"file4"},{"photo_id":"1402033615","filename":"file1"},{"photo_id":"1402033614","filename":"file0"},{"photo_id":"1402033617","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033620":["hashtag1","hashtag2"]},{"1402033614":["hashtag1","hashtag2"]},{"1402033617":["hashtag1","hashtag2"]},{"1402033616":["hashtag1","hashtag2"]},{"1402033615":["hashtag1","hashtag2"]},{"1402033618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033620, 1402033614, 1402033617, 1402033616, 1402033615, 1402033618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.937671422958374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:24:42.061854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_30_8937.jpg', '/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_32_1584.jpg', '/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_33_1621.jpg', '/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_56_1613.jpg', '/home/pi/Desktop/images/04112025/17/59/image_04112025_18_00_00_4059.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_08_3015.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_30_8937.jpg
/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_32_1584.jpg
/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_33_1621.jpg
/home/pi/Desktop/images/04112025/17/59/image_04112025_17_59_56_1613.jpg
/home/pi/Desktop/images/04112025/17/59/image_04112025_18_00_00_4059.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_08_3015.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033629","1402033631","1402033633","1402033630","1402033632","1402033626"],"photo_ids_order":["1402033626","1402033629","1402033630","1402033631","1402033632","1402033633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e092434ea566fb602e9dc380e0856998.jpg","text":"TemporaryFile(/tmp/multipartBody8242898848046020486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284743910,"filename":"image_04112025_17_59_32_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b3cc489abd70bbf1299468af720a966.jpg","text":"TemporaryFile(/tmp/multipartBody2626994648453814555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284743910,"filename":"image_04112025_17_59_56_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c644ae177129e004907cb4bca361fe5.jpg","text":"TemporaryFile(/tmp/multipartBody6742686369002406858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284743910,"filename":"image_04112025_18_00_08_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d09f900663915bd6337574da4c248c83.jpg","text":"TemporaryFile(/tmp/multipartBody8338462384401357086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284743910,"filename":"image_04112025_17_59_33_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f95e1d8081a0b9a633006f3485827ed.jpg","text":"TemporaryFile(/tmp/multipartBody3961228772352314475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284743910,"filename":"image_04112025_18_00_00_4059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9aae36d4a5a1e641c22eaa02b885438f.jpg","text":"TemporaryFile(/tmp/multipartBody3820327140325630309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284743910,"filename":"image_04112025_17_59_30_8937.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033630","file1":"1402033629","file0":"1402033626","file4":"1402033632","file5":"1402033633","file3":"1402033631"},"map_files_photo_id_array":[{"photo_id":"1402033633","filename":"file5"},{"photo_id":"1402033630","filename":"file2"},{"photo_id":"1402033632","filename":"file4"},{"photo_id":"1402033629","filename":"file1"},{"photo_id":"1402033626","filename":"file0"},{"photo_id":"1402033631","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033629":["hashtag1","hashtag2"]},{"1402033631":["hashtag1","hashtag2"]},{"1402033633":["hashtag1","hashtag2"]},{"1402033630":["hashtag1","hashtag2"]},{"1402033632":["hashtag1","hashtag2"]},{"1402033626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033629, 1402033631, 1402033633, 1402033630, 1402033632, 1402033626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16179895401001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:25:22.272144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/43/image_01012026_15_43_44_9646.jpg', '/home/pi/Desktop/images/01012026/15/44/image_01012026_15_44_35_9603.jpg', '/home/pi/Desktop/images/01012026/15/45/image_01012026_15_45_15_10595.jpg', '/home/pi/Desktop/images/01012026/15/45/image_01012026_15_46_05_9677.jpg', '/home/pi/Desktop/images/01012026/15/46/image_01012026_15_46_55_9736.jpg', '/home/pi/Desktop/images/01012026/15/47/image_01012026_15_47_44_9955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/43/image_01012026_15_43_44_9646.jpg
/home/pi/Desktop/images/01012026/15/44/image_01012026_15_44_35_9603.jpg
/home/pi/Desktop/images/01012026/15/45/image_01012026_15_45_15_10595.jpg
/home/pi/Desktop/images/01012026/15/45/image_01012026_15_46_05_9677.jpg
/home/pi/Desktop/images/01012026/15/46/image_01012026_15_46_55_9736.jpg
/home/pi/Desktop/images/01012026/15/47/image_01012026_15_47_44_9955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033640","1402033634","1402033637","1402033645","1402033642","1402033638"],"photo_ids_order":["1402033634","1402033637","1402033638","1402033640","1402033642","1402033645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88aa2e79ce184f61cfc105407eceb149.jpg","text":"TemporaryFile(/tmp/multipartBody852816042233619251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284782814,"filename":"image_01012026_15_46_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25a3b71ce2dec0e54660dcfff40fe287.jpg","text":"TemporaryFile(/tmp/multipartBody8318095919059701717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284782814,"filename":"image_01012026_15_43_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b00ffad9a48efbb80546c283713d243d.jpg","text":"TemporaryFile(/tmp/multipartBody6979271827280643596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284782814,"filename":"image_01012026_15_44_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43277f34e0d53220a5106614410342ef.jpg","text":"TemporaryFile(/tmp/multipartBody4005623802358233093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284782814,"filename":"image_01012026_15_47_44_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05b46d4ffb6d89f17e892b71f9b944ad.jpg","text":"TemporaryFile(/tmp/multipartBody8654565206468903303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284782814,"filename":"image_01012026_15_46_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c6b9ae37afdfd4802e46086281a85cb.jpg","text":"TemporaryFile(/tmp/multipartBody9155738259159959362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284782814,"filename":"image_01012026_15_45_15_10595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033638","file1":"1402033637","file0":"1402033634","file4":"1402033642","file5":"1402033645","file3":"1402033640"},"map_files_photo_id_array":[{"photo_id":"1402033645","filename":"file5"},{"photo_id":"1402033638","filename":"file2"},{"photo_id":"1402033642","filename":"file4"},{"photo_id":"1402033637","filename":"file1"},{"photo_id":"1402033634","filename":"file0"},{"photo_id":"1402033640","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033640":["hashtag1","hashtag2"]},{"1402033634":["hashtag1","hashtag2"]},{"1402033637":["hashtag1","hashtag2"]},{"1402033645":["hashtag1","hashtag2"]},{"1402033642":["hashtag1","hashtag2"]},{"1402033638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033640, 1402033634, 1402033637, 1402033645, 1402033642, 1402033638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31880021095276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:26:02.883284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/47/image_01012026_15_48_05_9655.jpg', '/home/pi/Desktop/images/01012026/15/48/image_01012026_15_48_35_9615.jpg', '/home/pi/Desktop/images/01012026/15/49/image_01012026_15_49_11_16067.jpg', '/home/pi/Desktop/images/01012026/15/49/image_01012026_15_49_15_4218.jpg', '/home/pi/Desktop/images/01012026/15/49/image_01012026_15_49_35_10570.jpg', '/home/pi/Desktop/images/01012026/15/49/image_01012026_15_50_05_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/47/image_01012026_15_48_05_9655.jpg
/home/pi/Desktop/images/01012026/15/48/image_01012026_15_48_35_9615.jpg
/home/pi/Desktop/images/01012026/15/49/image_01012026_15_49_11_16067.jpg
/home/pi/Desktop/images/01012026/15/49/image_01012026_15_49_15_4218.jpg
/home/pi/Desktop/images/01012026/15/49/image_01012026_15_49_35_10570.jpg
/home/pi/Desktop/images/01012026/15/49/image_01012026_15_50_05_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":["1402033652","1402033655","1402033649","1402033654","1402033650","1402033653"],"photo_ids_order":["1402033649","1402033650","1402033652","1402033653","1402033654","1402033655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c93cdf5ad5a470e0fe0f2ce0351322fe.jpg","text":"TemporaryFile(/tmp/multipartBody54033431803811482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284823450,"filename":"image_01012026_15_49_11_16067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d4475676efbf3af79bf745256fc10c8.jpg","text":"TemporaryFile(/tmp/multipartBody6938490993696960124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284823450,"filename":"image_01012026_15_50_05_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1230fb36f59e75f28afaf9c3e5097217.jpg","text":"TemporaryFile(/tmp/multipartBody8253528859544470212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284823450,"filename":"image_01012026_15_48_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7fcedbbcce3752f667fea9ab7b920a1.jpg","text":"TemporaryFile(/tmp/multipartBody17043264923266594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284823450,"filename":"image_01012026_15_49_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/add55b9a57e1468b542497b5caf88690.jpg","text":"TemporaryFile(/tmp/multipartBody8997890515379849356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284823450,"filename":"image_01012026_15_48_35_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82d0c0bc4b091a5b15e6a5facac77259.jpg","text":"TemporaryFile(/tmp/multipartBody1187152549054674060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284823450,"filename":"image_01012026_15_49_15_4218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033652","file1":"1402033650","file0":"1402033649","file4":"1402033654","file5":"1402033655","file3":"1402033653"},"map_files_photo_id_array":[{"photo_id":"1402033655","filename":"file5"},{"photo_id":"1402033652","filename":"file2"},{"photo_id":"1402033654","filename":"file4"},{"photo_id":"1402033650","filename":"file1"},{"photo_id":"1402033649","filename":"file0"},{"photo_id":"1402033653","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033652":["hashtag1","hashtag2"]},{"1402033655":["hashtag1","hashtag2"]},{"1402033649":["hashtag1","hashtag2"]},{"1402033654":["hashtag1","hashtag2"]},{"1402033650":["hashtag1","hashtag2"]},{"1402033653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033652, 1402033655, 1402033649, 1402033654, 1402033650, 1402033653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.806291341781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:26:42.459108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_17_8428.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_28_11629.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_35_6091.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_36_1651.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_38_1604.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_40_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_17_8428.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_28_11629.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_35_6091.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_36_1651.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_38_1604.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_40_1748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033679","1402033673","1402033681","1402033675","1402033668","1402033677"],"photo_ids_order":["1402033668","1402033673","1402033675","1402033677","1402033679","1402033681"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/535b18256407981ccf4131262ac24347.jpg","text":"TemporaryFile(/tmp/multipartBody6650136674574397634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284864350,"filename":"image_04112025_18_00_38_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d9b6f4b0ee917bc0b76fffa45785b97.jpg","text":"TemporaryFile(/tmp/multipartBody3668267970223391395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284864350,"filename":"image_04112025_18_00_28_11629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a93a256d8c362787002784f62e121971.jpg","text":"TemporaryFile(/tmp/multipartBody5296618074963416226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284864350,"filename":"image_04112025_18_00_40_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc770efd666f3592cc6e55ce87c42909.jpg","text":"TemporaryFile(/tmp/multipartBody8676306535236312535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284864350,"filename":"image_04112025_18_00_35_6091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79b697087520a39ca53a1252861d9cbb.jpg","text":"TemporaryFile(/tmp/multipartBody9180345259036145271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284864350,"filename":"image_04112025_18_00_17_8428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e07647aa0424ec3924a5940394fa3a36.jpg","text":"TemporaryFile(/tmp/multipartBody7179023998102820616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284864350,"filename":"image_04112025_18_00_36_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033675","file1":"1402033673","file0":"1402033668","file4":"1402033679","file5":"1402033681","file3":"1402033677"},"map_files_photo_id_array":[{"photo_id":"1402033681","filename":"file5"},{"photo_id":"1402033675","filename":"file2"},{"photo_id":"1402033679","filename":"file4"},{"photo_id":"1402033673","filename":"file1"},{"photo_id":"1402033668","filename":"file0"},{"photo_id":"1402033677","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033679":["hashtag1","hashtag2"]},{"1402033673":["hashtag1","hashtag2"]},{"1402033681":["hashtag1","hashtag2"]},{"1402033675":["hashtag1","hashtag2"]},{"1402033668":["hashtag1","hashtag2"]},{"1402033677":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033679, 1402033673, 1402033681, 1402033675, 1402033668, 1402033677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55758595466614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:27:22.623140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/51/image_01012026_15_51_14_9663.jpg', '/home/pi/Desktop/images/01012026/15/51/image_01012026_15_51_44_9681.jpg', '/home/pi/Desktop/images/01012026/15/52/image_01012026_15_52_24_9962.jpg', '/home/pi/Desktop/images/01012026/15/52/image_01012026_15_52_54_9621.jpg', '/home/pi/Desktop/images/01012026/15/53/image_01012026_15_53_55_10562.jpg', '/home/pi/Desktop/images/01012026/15/54/image_01012026_15_54_44_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/51/image_01012026_15_51_14_9663.jpg
/home/pi/Desktop/images/01012026/15/51/image_01012026_15_51_44_9681.jpg
/home/pi/Desktop/images/01012026/15/52/image_01012026_15_52_24_9962.jpg
/home/pi/Desktop/images/01012026/15/52/image_01012026_15_52_54_9621.jpg
/home/pi/Desktop/images/01012026/15/53/image_01012026_15_53_55_10562.jpg
/home/pi/Desktop/images/01012026/15/54/image_01012026_15_54_44_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.44469618797302246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:27:32.558079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_46_1743.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_48_1681.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_50_1836.jpg', '/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_57_1655.jpg', '/home/pi/Desktop/images/04112025/18/01/image_04112025_18_01_06_2706.jpg', '/home/pi/Desktop/images/04112025/18/01/image_04112025_18_01_19_4032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_46_1743.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_48_1681.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_50_1836.jpg
/home/pi/Desktop/images/04112025/18/00/image_04112025_18_00_57_1655.jpg
/home/pi/Desktop/images/04112025/18/01/image_04112025_18_01_06_2706.jpg
/home/pi/Desktop/images/04112025/18/01/image_04112025_18_01_19_4032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033696","1402033700","1402033699","1402033692","1402033689","1402033698"],"photo_ids_order":["1402033689","1402033692","1402033696","1402033698","1402033699","1402033700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5723c672ff1dd2d3a10e7f05ebcdc60d.jpg","text":"TemporaryFile(/tmp/multipartBody9049352693082126786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284914480,"filename":"image_04112025_18_00_50_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ddf9e3f8b48e9ec458b1e01c6936815.jpg","text":"TemporaryFile(/tmp/multipartBody443426017451143712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284914480,"filename":"image_04112025_18_01_19_4032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d867b479d905eb3587fd6f507402cb2.jpg","text":"TemporaryFile(/tmp/multipartBody1227240747498661229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284914480,"filename":"image_04112025_18_01_06_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5d2b4dd97ba3436a33fb9798c5ab286.jpg","text":"TemporaryFile(/tmp/multipartBody3049842446342449220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284914480,"filename":"image_04112025_18_00_48_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/181fd972a2ad0bf0fab11dfb6e3979db.jpg","text":"TemporaryFile(/tmp/multipartBody7102855840216257896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284914480,"filename":"image_04112025_18_00_46_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b7417275be3bc41573309189f61e6c3.jpg","text":"TemporaryFile(/tmp/multipartBody1920145943412059858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284914480,"filename":"image_04112025_18_00_57_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033696","file1":"1402033692","file0":"1402033689","file4":"1402033699","file5":"1402033700","file3":"1402033698"},"map_files_photo_id_array":[{"photo_id":"1402033700","filename":"file5"},{"photo_id":"1402033696","filename":"file2"},{"photo_id":"1402033699","filename":"file4"},{"photo_id":"1402033692","filename":"file1"},{"photo_id":"1402033689","filename":"file0"},{"photo_id":"1402033698","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033696":["hashtag1","hashtag2"]},{"1402033700":["hashtag1","hashtag2"]},{"1402033699":["hashtag1","hashtag2"]},{"1402033692":["hashtag1","hashtag2"]},{"1402033689":["hashtag1","hashtag2"]},{"1402033698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033696, 1402033700, 1402033699, 1402033692, 1402033689, 1402033698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.451395750045776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:28:11.821451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/01/image_04112025_18_01_20_1598.jpg', '/home/pi/Desktop/images/04112025/18/01/image_04112025_18_01_58_22970.jpg', '/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_21_1521.jpg', '/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_23_1595.jpg', '/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_26_1528.jpg', '/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_31_1815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/01/image_04112025_18_01_20_1598.jpg
/home/pi/Desktop/images/04112025/18/01/image_04112025_18_01_58_22970.jpg
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_21_1521.jpg
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_23_1595.jpg
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_26_1528.jpg
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_31_1815.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033713","1402033707","1402033701","1402033703","1402033702","1402033705"],"photo_ids_order":["1402033701","1402033702","1402033703","1402033705","1402033707","1402033713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d526baa495306be2eacf6163de6e042a.jpg","text":"TemporaryFile(/tmp/multipartBody6078639041174583240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284953598,"filename":"image_04112025_18_02_31_1815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa27440e03a135910764f537ad86ca93.jpg","text":"TemporaryFile(/tmp/multipartBody2124475392142085570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284953598,"filename":"image_04112025_18_02_26_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f0698e2eea0afdb79fee0100fa0d66d.jpg","text":"TemporaryFile(/tmp/multipartBody3197092900097978711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284953598,"filename":"image_04112025_18_01_20_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33e51647c910be40b196f9926a10d52d.jpg","text":"TemporaryFile(/tmp/multipartBody7009272841226125137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284953598,"filename":"image_04112025_18_02_21_1521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8efd8cc305c8682e1006d52cad9bb62d.jpg","text":"TemporaryFile(/tmp/multipartBody7469799835005759613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284953598,"filename":"image_04112025_18_01_58_22970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be185bb329beade168d5f1c309588925.jpg","text":"TemporaryFile(/tmp/multipartBody4523358951026956332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767284953598,"filename":"image_04112025_18_02_23_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033703","file1":"1402033702","file0":"1402033701","file4":"1402033707","file5":"1402033713","file3":"1402033705"},"map_files_photo_id_array":[{"photo_id":"1402033713","filename":"file5"},{"photo_id":"1402033703","filename":"file2"},{"photo_id":"1402033707","filename":"file4"},{"photo_id":"1402033702","filename":"file1"},{"photo_id":"1402033701","filename":"file0"},{"photo_id":"1402033705","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033713":["hashtag1","hashtag2"]},{"1402033707":["hashtag1","hashtag2"]},{"1402033701":["hashtag1","hashtag2"]},{"1402033703":["hashtag1","hashtag2"]},{"1402033702":["hashtag1","hashtag2"]},{"1402033705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033713, 1402033707, 1402033701, 1402033703, 1402033702, 1402033705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94521617889404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:29:02.836561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/51/image_01012026_15_51_14_9663.jpg', '/home/pi/Desktop/images/01012026/15/51/image_01012026_15_51_44_9681.jpg', '/home/pi/Desktop/images/01012026/15/52/image_01012026_15_52_24_9962.jpg', '/home/pi/Desktop/images/01012026/15/52/image_01012026_15_52_54_9621.jpg', '/home/pi/Desktop/images/01012026/15/53/image_01012026_15_53_55_10562.jpg', '/home/pi/Desktop/images/01012026/15/54/image_01012026_15_54_44_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/51/image_01012026_15_51_14_9663.jpg
/home/pi/Desktop/images/01012026/15/51/image_01012026_15_51_44_9681.jpg
/home/pi/Desktop/images/01012026/15/52/image_01012026_15_52_24_9962.jpg
/home/pi/Desktop/images/01012026/15/52/image_01012026_15_52_54_9621.jpg
/home/pi/Desktop/images/01012026/15/53/image_01012026_15_53_55_10562.jpg
/home/pi/Desktop/images/01012026/15/54/image_01012026_15_54_44_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":["1402033751","1402033754","1402033750","1402033744","1402033741","1402033752"],"photo_ids_order":["1402033741","1402033744","1402033750","1402033751","1402033752","1402033754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f894bb050401cdfd5e8df6541ec335bc.jpg","text":"TemporaryFile(/tmp/multipartBody2592371643343904261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285003511,"filename":"image_01012026_15_52_54_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90e76bd45b867164695b805205f70edd.jpg","text":"TemporaryFile(/tmp/multipartBody4248569438660666544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285003511,"filename":"image_01012026_15_54_44_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c5ac6a2ea0afa851af7a33e0ab764d3.jpg","text":"TemporaryFile(/tmp/multipartBody8626060838388551927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285003511,"filename":"image_01012026_15_52_24_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56e295df5c3079341ae55a85c509d862.jpg","text":"TemporaryFile(/tmp/multipartBody2395213327884641637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285003511,"filename":"image_01012026_15_51_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea012776d4e04a8a06ec8af2e305f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody7744326827323657651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285003511,"filename":"image_01012026_15_51_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b21c475be63a9ac7d43c312f0c72caf7.jpg","text":"TemporaryFile(/tmp/multipartBody893212618867535515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285003511,"filename":"image_01012026_15_53_55_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033750","file1":"1402033744","file0":"1402033741","file4":"1402033752","file5":"1402033754","file3":"1402033751"},"map_files_photo_id_array":[{"photo_id":"1402033754","filename":"file5"},{"photo_id":"1402033750","filename":"file2"},{"photo_id":"1402033752","filename":"file4"},{"photo_id":"1402033744","filename":"file1"},{"photo_id":"1402033741","filename":"file0"},{"photo_id":"1402033751","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033751":["hashtag1","hashtag2"]},{"1402033754":["hashtag1","hashtag2"]},{"1402033750":["hashtag1","hashtag2"]},{"1402033744":["hashtag1","hashtag2"]},{"1402033741":["hashtag1","hashtag2"]},{"1402033752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033751, 1402033754, 1402033750, 1402033744, 1402033741, 1402033752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96068549156189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:29:42.059834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_33_1695.jpg', '/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_35_1631.jpg', '/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_36_1549.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_07_3019.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_11_3611.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_16_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_33_1695.jpg
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_35_1631.jpg
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_36_1549.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_07_3019.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_11_3611.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_16_2716.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.7876434326171875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:30:02.602603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/55/image_01012026_15_55_35_9517.jpg', '/home/pi/Desktop/images/01012026/15/55/image_01012026_15_55_55_9653.jpg', '/home/pi/Desktop/images/01012026/15/56/image_01012026_15_56_45_9905.jpg', '/home/pi/Desktop/images/01012026/15/56/image_01012026_15_57_05_10770.jpg', '/home/pi/Desktop/images/01012026/15/57/image_01012026_15_57_55_9592.jpg', '/home/pi/Desktop/images/01012026/15/57/image_01012026_15_58_05_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/55/image_01012026_15_55_35_9517.jpg
/home/pi/Desktop/images/01012026/15/55/image_01012026_15_55_55_9653.jpg
/home/pi/Desktop/images/01012026/15/56/image_01012026_15_56_45_9905.jpg
/home/pi/Desktop/images/01012026/15/56/image_01012026_15_57_05_10770.jpg
/home/pi/Desktop/images/01012026/15/57/image_01012026_15_57_55_9592.jpg
/home/pi/Desktop/images/01012026/15/57/image_01012026_15_58_05_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":["1402033772","1402033775","1402033777","1402033774","1402033776","1402033779"],"photo_ids_order":["1402033772","1402033774","1402033775","1402033776","1402033777","1402033779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/793a6b2759eb998e2cf893e04a838b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4443303313857189809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285063221,"filename":"image_01012026_15_55_35_9517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b22128de04e95b70bc66c57987a164f5.jpg","text":"TemporaryFile(/tmp/multipartBody8885086089925650001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285063221,"filename":"image_01012026_15_56_45_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/563af7845022df530ff827784d0d68ed.jpg","text":"TemporaryFile(/tmp/multipartBody7865500064325107995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285063221,"filename":"image_01012026_15_57_55_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7e587665b0d0dfd177f520be29281d1.jpg","text":"TemporaryFile(/tmp/multipartBody1677112206382708337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285063221,"filename":"image_01012026_15_55_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f22275d767f41fb2220b69b9daf84c1.jpg","text":"TemporaryFile(/tmp/multipartBody5493605478009749240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285063221,"filename":"image_01012026_15_57_05_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a78b0bc8cce8ccd7cb2fd4fd7db6236.jpg","text":"TemporaryFile(/tmp/multipartBody720780850083170234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285063221,"filename":"image_01012026_15_58_05_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033775","file1":"1402033774","file0":"1402033772","file4":"1402033777","file5":"1402033779","file3":"1402033776"},"map_files_photo_id_array":[{"photo_id":"1402033779","filename":"file5"},{"photo_id":"1402033775","filename":"file2"},{"photo_id":"1402033777","filename":"file4"},{"photo_id":"1402033774","filename":"file1"},{"photo_id":"1402033772","filename":"file0"},{"photo_id":"1402033776","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033772":["hashtag1","hashtag2"]},{"1402033775":["hashtag1","hashtag2"]},{"1402033777":["hashtag1","hashtag2"]},{"1402033774":["hashtag1","hashtag2"]},{"1402033776":["hashtag1","hashtag2"]},{"1402033779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033772, 1402033775, 1402033777, 1402033774, 1402033776, 1402033779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11629056930542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:30:42.233566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_33_1695.jpg', '/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_35_1631.jpg', '/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_36_1549.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_07_3019.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_11_3611.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_16_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_33_1695.jpg
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_35_1631.jpg
/home/pi/Desktop/images/04112025/18/02/image_04112025_18_02_36_1549.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_07_3019.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_11_3611.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_16_2716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033790","1402033789","1402033792","1402033791","1402033785","1402033788"],"photo_ids_order":["1402033785","1402033788","1402033789","1402033790","1402033791","1402033792"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d1af16dfd19c68420730fa211e4814d.jpg","text":"TemporaryFile(/tmp/multipartBody3456489408413497313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285103848,"filename":"image_04112025_18_05_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ced61924fd98c1928c08ae065765fb47.jpg","text":"TemporaryFile(/tmp/multipartBody151013172711748479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285103848,"filename":"image_04112025_18_02_36_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27f06687e8b3308c4f16b31a13a2d835.jpg","text":"TemporaryFile(/tmp/multipartBody1302067820032889396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285103848,"filename":"image_04112025_18_05_16_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b89a4fbb4acb8cc5ba5b1fd496f7313.jpg","text":"TemporaryFile(/tmp/multipartBody1964844533239677946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285103848,"filename":"image_04112025_18_05_11_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c75e942477f711a2edfa68124aec445b.jpg","text":"TemporaryFile(/tmp/multipartBody428272756204781530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285103848,"filename":"image_04112025_18_02_33_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a23b4eda8d5899a5977148d6093685ea.jpg","text":"TemporaryFile(/tmp/multipartBody4092500779427959126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285103848,"filename":"image_04112025_18_02_35_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033789","file1":"1402033788","file0":"1402033785","file4":"1402033791","file5":"1402033792","file3":"1402033790"},"map_files_photo_id_array":[{"photo_id":"1402033792","filename":"file5"},{"photo_id":"1402033789","filename":"file2"},{"photo_id":"1402033791","filename":"file4"},{"photo_id":"1402033788","filename":"file1"},{"photo_id":"1402033785","filename":"file0"},{"photo_id":"1402033790","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033790":["hashtag1","hashtag2"]},{"1402033789":["hashtag1","hashtag2"]},{"1402033792":["hashtag1","hashtag2"]},{"1402033791":["hashtag1","hashtag2"]},{"1402033785":["hashtag1","hashtag2"]},{"1402033788":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033790, 1402033789, 1402033792, 1402033791, 1402033785, 1402033788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39622664451599 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:31:22.500451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/15/58/image_01012026_15_58_25_9943.jpg', '/home/pi/Desktop/images/01012026/15/58/image_01012026_15_59_04_9769.jpg', '/home/pi/Desktop/images/01012026/15/59/image_01012026_15_59_15_10654.jpg', '/home/pi/Desktop/images/01012026/15/59/image_01012026_15_59_35_9699.jpg', '/home/pi/Desktop/images/01012026/16/00/image_01012026_16_00_15_10056.jpg', '/home/pi/Desktop/images/01012026/16/00/image_01012026_16_00_35_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/15/58/image_01012026_15_58_25_9943.jpg
/home/pi/Desktop/images/01012026/15/58/image_01012026_15_59_04_9769.jpg
/home/pi/Desktop/images/01012026/15/59/image_01012026_15_59_15_10654.jpg
/home/pi/Desktop/images/01012026/15/59/image_01012026_15_59_35_9699.jpg
/home/pi/Desktop/images/01012026/16/00/image_01012026_16_00_15_10056.jpg
/home/pi/Desktop/images/01012026/16/00/image_01012026_16_00_35_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":["1402033800","1402033802","1402033798","1402033807","1402033804","1402033797"],"photo_ids_order":["1402033797","1402033798","1402033800","1402033802","1402033804","1402033807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c5d4c58039bd568bfc1283ac031004e.jpg","text":"TemporaryFile(/tmp/multipartBody5024161832044695756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285143080,"filename":"image_01012026_15_59_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dec8c6552dfe9ccdf3a21171e96f3611.jpg","text":"TemporaryFile(/tmp/multipartBody7104874644794073796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285143080,"filename":"image_01012026_15_59_35_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eeb003032378454d0eb6b7b1f1899b81.jpg","text":"TemporaryFile(/tmp/multipartBody3571105282078963129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285143080,"filename":"image_01012026_15_59_04_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52fcaf7f9568fb939f7b10e97f0dd522.jpg","text":"TemporaryFile(/tmp/multipartBody1395676545504573215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285143080,"filename":"image_01012026_16_00_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/625c6224b9526eceac71fe0542ecbfc7.jpg","text":"TemporaryFile(/tmp/multipartBody6797814366403870149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285143080,"filename":"image_01012026_16_00_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64c64fbfd9f4ca4ccd0924c8dd0d3161.jpg","text":"TemporaryFile(/tmp/multipartBody1522634517523229168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285143080,"filename":"image_01012026_15_58_25_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033800","file1":"1402033798","file0":"1402033797","file4":"1402033804","file5":"1402033807","file3":"1402033802"},"map_files_photo_id_array":[{"photo_id":"1402033807","filename":"file5"},{"photo_id":"1402033800","filename":"file2"},{"photo_id":"1402033804","filename":"file4"},{"photo_id":"1402033798","filename":"file1"},{"photo_id":"1402033797","filename":"file0"},{"photo_id":"1402033802","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033800":["hashtag1","hashtag2"]},{"1402033802":["hashtag1","hashtag2"]},{"1402033798":["hashtag1","hashtag2"]},{"1402033807":["hashtag1","hashtag2"]},{"1402033804":["hashtag1","hashtag2"]},{"1402033797":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033800, 1402033802, 1402033798, 1402033807, 1402033804, 1402033797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39991354942322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:32:03.115880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/01/image_01012026_16_01_25_9627.jpg', '/home/pi/Desktop/images/01012026/16/01/image_01012026_16_01_35_10445.jpg', '/home/pi/Desktop/images/01012026/16/01/image_01012026_16_01_45_9652.jpg', '/home/pi/Desktop/images/01012026/16/01/image_01012026_16_01_55_10539.jpg', '/home/pi/Desktop/images/01012026/16/02/image_01012026_16_02_15_9733.jpg', '/home/pi/Desktop/images/01012026/16/02/image_01012026_16_02_55_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/01/image_01012026_16_01_25_9627.jpg
/home/pi/Desktop/images/01012026/16/01/image_01012026_16_01_35_10445.jpg
/home/pi/Desktop/images/01012026/16/01/image_01012026_16_01_45_9652.jpg
/home/pi/Desktop/images/01012026/16/01/image_01012026_16_01_55_10539.jpg
/home/pi/Desktop/images/01012026/16/02/image_01012026_16_02_15_9733.jpg
/home/pi/Desktop/images/01012026/16/02/image_01012026_16_02_55_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033812","1402033809","1402033814","1402033811","1402033813","1402033816"],"photo_ids_order":["1402033809","1402033811","1402033812","1402033813","1402033814","1402033816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c23ce67c7a4bf9ccc3632dea2d803b7.jpg","text":"TemporaryFile(/tmp/multipartBody6265687930692988918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285183723,"filename":"image_01012026_16_01_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcdbc416bbbca2372ca8735a1d9ab3ca.jpg","text":"TemporaryFile(/tmp/multipartBody1010804028947451796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285183723,"filename":"image_01012026_16_01_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dcc82084c6355e82cdcd48d179c33979.jpg","text":"TemporaryFile(/tmp/multipartBody3323334432197349500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285183723,"filename":"image_01012026_16_02_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e62d2b9d44a96d710ac6c03b5ddf395b.jpg","text":"TemporaryFile(/tmp/multipartBody1024521939950140808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285183723,"filename":"image_01012026_16_01_35_10445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb7a9e9c204e8038df7a45f2f93b4c76.jpg","text":"TemporaryFile(/tmp/multipartBody2489763506957047779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285183723,"filename":"image_01012026_16_01_55_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79dce5837e17e8b37a4336db6a7355b5.jpg","text":"TemporaryFile(/tmp/multipartBody8479340138888297061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285183723,"filename":"image_01012026_16_02_55_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033812","file1":"1402033811","file0":"1402033809","file4":"1402033814","file5":"1402033816","file3":"1402033813"},"map_files_photo_id_array":[{"photo_id":"1402033816","filename":"file5"},{"photo_id":"1402033812","filename":"file2"},{"photo_id":"1402033814","filename":"file4"},{"photo_id":"1402033811","filename":"file1"},{"photo_id":"1402033809","filename":"file0"},{"photo_id":"1402033813","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033812":["hashtag1","hashtag2"]},{"1402033809":["hashtag1","hashtag2"]},{"1402033814":["hashtag1","hashtag2"]},{"1402033811":["hashtag1","hashtag2"]},{"1402033813":["hashtag1","hashtag2"]},{"1402033816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033812, 1402033809, 1402033814, 1402033811, 1402033813, 1402033816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.847740650177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:32:42.691050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_23_2751.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_31_2521.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_35_3538.jpg', '/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_53_3747.jpg', '/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_01_1560.jpg', '/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_11_9945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_23_2751.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_31_2521.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_35_3538.jpg
/home/pi/Desktop/images/04112025/18/05/image_04112025_18_05_53_3747.jpg
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_01_1560.jpg
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_11_9945.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033833","1402033827","1402033832","1402033831","1402033834","1402033830"],"photo_ids_order":["1402033827","1402033830","1402033831","1402033832","1402033833","1402033834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f8ceb20e7e21f19a2144605030b2727.jpg","text":"TemporaryFile(/tmp/multipartBody6265880941282271342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285224594,"filename":"image_04112025_18_06_01_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/683d53158a42c05c01ef89541d91ddfe.jpg","text":"TemporaryFile(/tmp/multipartBody4271393869235042503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285224594,"filename":"image_04112025_18_05_23_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71bc8e16d541ee3d54d8ca2292b9de52.jpg","text":"TemporaryFile(/tmp/multipartBody7531303921291121896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285224594,"filename":"image_04112025_18_05_53_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a78e3e430855d5601816e1ffd845eb5a.jpg","text":"TemporaryFile(/tmp/multipartBody5383063314988869289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285224594,"filename":"image_04112025_18_05_35_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/498956daa6be6ad769249055645e4369.jpg","text":"TemporaryFile(/tmp/multipartBody3201588483621254674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285224594,"filename":"image_04112025_18_06_11_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7266208b99b15b3bedb8048b185f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody4660703818374448993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285224594,"filename":"image_04112025_18_05_31_2521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033831","file1":"1402033830","file0":"1402033827","file4":"1402033833","file5":"1402033834","file3":"1402033832"},"map_files_photo_id_array":[{"photo_id":"1402033834","filename":"file5"},{"photo_id":"1402033831","filename":"file2"},{"photo_id":"1402033833","filename":"file4"},{"photo_id":"1402033830","filename":"file1"},{"photo_id":"1402033827","filename":"file0"},{"photo_id":"1402033832","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033833":["hashtag1","hashtag2"]},{"1402033827":["hashtag1","hashtag2"]},{"1402033832":["hashtag1","hashtag2"]},{"1402033831":["hashtag1","hashtag2"]},{"1402033834":["hashtag1","hashtag2"]},{"1402033830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033833, 1402033827, 1402033832, 1402033831, 1402033834, 1402033830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.35707235336304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:33:31.874869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_12_1567.jpg', '/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_28_1565.jpg', '/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_29_1696.jpg', '/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_31_1636.jpg', '/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_33_1758.jpg', '/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_37_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_12_1567.jpg
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_28_1565.jpg
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_29_1696.jpg
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_31_1636.jpg
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_33_1758.jpg
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_37_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":["1402033847","1402033838","1402033843","1402033846","1402033840","1402033845"],"photo_ids_order":["1402033838","1402033840","1402033843","1402033845","1402033846","1402033847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2405aff7a22adddf521d4cce7305f7be.jpg","text":"TemporaryFile(/tmp/multipartBody7164696901727419312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285273742,"filename":"image_04112025_18_06_37_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c741f6f97442eee2f0ab95e176be9db8.jpg","text":"TemporaryFile(/tmp/multipartBody3027645673402661272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285273742,"filename":"image_04112025_18_06_12_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b294369ce0ba5e7c54cae2af14f4572c.jpg","text":"TemporaryFile(/tmp/multipartBody628806414285895357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285273742,"filename":"image_04112025_18_06_29_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08164e4611560c494a8ec00e1c1c659e.jpg","text":"TemporaryFile(/tmp/multipartBody4414190217620653638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285273742,"filename":"image_04112025_18_06_33_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8474d6af4be86e95b0f7dcc30eefba83.jpg","text":"TemporaryFile(/tmp/multipartBody3105620150385601263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285273742,"filename":"image_04112025_18_06_28_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5a906ff6be1e8954e95df7dc214b0c9.jpg","text":"TemporaryFile(/tmp/multipartBody9202984455848071095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285273742,"filename":"image_04112025_18_06_31_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033843","file1":"1402033840","file0":"1402033838","file4":"1402033846","file5":"1402033847","file3":"1402033845"},"map_files_photo_id_array":[{"photo_id":"1402033847","filename":"file5"},{"photo_id":"1402033843","filename":"file2"},{"photo_id":"1402033846","filename":"file4"},{"photo_id":"1402033840","filename":"file1"},{"photo_id":"1402033838","filename":"file0"},{"photo_id":"1402033845","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033847":["hashtag1","hashtag2"]},{"1402033838":["hashtag1","hashtag2"]},{"1402033843":["hashtag1","hashtag2"]},{"1402033846":["hashtag1","hashtag2"]},{"1402033840":["hashtag1","hashtag2"]},{"1402033845":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033847, 1402033838, 1402033843, 1402033846, 1402033840, 1402033845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29695963859558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:34:12.088803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_57_1593.jpg', '/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_58_1539.jpg', '/home/pi/Desktop/images/04112025/18/07/image_04112025_18_07_36_1692.jpg', '/home/pi/Desktop/images/04112025/18/07/image_04112025_18_07_39_1581.jpg', '/home/pi/Desktop/images/04112025/18/07/image_04112025_18_07_41_1719.jpg', '/home/pi/Desktop/images/04112025/18/07/image_04112025_18_07_52_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_57_1593.jpg
/home/pi/Desktop/images/04112025/18/06/image_04112025_18_06_58_1539.jpg
/home/pi/Desktop/images/04112025/18/07/image_04112025_18_07_36_1692.jpg
/home/pi/Desktop/images/04112025/18/07/image_04112025_18_07_39_1581.jpg
/home/pi/Desktop/images/04112025/18/07/image_04112025_18_07_41_1719.jpg
/home/pi/Desktop/images/04112025/18/07/image_04112025_18_07_52_2783.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033850","1402033852","1402033855","1402033849","1402033848","1402033857"],"photo_ids_order":["1402033848","1402033849","1402033850","1402033852","1402033855","1402033857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb71fecc732439b625bef3987a17e0ce.jpg","text":"TemporaryFile(/tmp/multipartBody1417911620557055858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285313857,"filename":"image_04112025_18_07_36_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd0b1e0862767927d773ea07b7aad681.jpg","text":"TemporaryFile(/tmp/multipartBody3344691542360555560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285313857,"filename":"image_04112025_18_07_39_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/364e79fdbc74e42360bfd42150be226b.jpg","text":"TemporaryFile(/tmp/multipartBody970606210247351229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285313857,"filename":"image_04112025_18_07_41_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7eeca4422a55f1773f53e56bd656e2ba.jpg","text":"TemporaryFile(/tmp/multipartBody4084444068199362390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285313857,"filename":"image_04112025_18_06_58_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5c452eeb1e0aa1299f63e88b11fd649.jpg","text":"TemporaryFile(/tmp/multipartBody224848642915452632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285313857,"filename":"image_04112025_18_06_57_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a46d9e92a08e03a37aa1dde4ea6f06f.jpg","text":"TemporaryFile(/tmp/multipartBody2957940279463330874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285313857,"filename":"image_04112025_18_07_52_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033850","file1":"1402033849","file0":"1402033848","file4":"1402033855","file5":"1402033857","file3":"1402033852"},"map_files_photo_id_array":[{"photo_id":"1402033857","filename":"file5"},{"photo_id":"1402033850","filename":"file2"},{"photo_id":"1402033855","filename":"file4"},{"photo_id":"1402033849","filename":"file1"},{"photo_id":"1402033848","filename":"file0"},{"photo_id":"1402033852","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033850":["hashtag1","hashtag2"]},{"1402033852":["hashtag1","hashtag2"]},{"1402033855":["hashtag1","hashtag2"]},{"1402033849":["hashtag1","hashtag2"]},{"1402033848":["hashtag1","hashtag2"]},{"1402033857":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033850, 1402033852, 1402033855, 1402033849, 1402033848, 1402033857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.238534450531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:35:02.853928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/03/image_01012026_16_03_15_9946.jpg', '/home/pi/Desktop/images/01012026/16/03/image_01012026_16_03_45_10662.jpg', '/home/pi/Desktop/images/01012026/16/04/image_01012026_16_04_15_10670.jpg', '/home/pi/Desktop/images/01012026/16/04/image_01012026_16_04_55_9662.jpg', '/home/pi/Desktop/images/01012026/16/06/image_01012026_16_06_15_10042.jpg', '/home/pi/Desktop/images/01012026/16/06/image_01012026_16_06_45_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/03/image_01012026_16_03_15_9946.jpg
/home/pi/Desktop/images/01012026/16/03/image_01012026_16_03_45_10662.jpg
/home/pi/Desktop/images/01012026/16/04/image_01012026_16_04_15_10670.jpg
/home/pi/Desktop/images/01012026/16/04/image_01012026_16_04_55_9662.jpg
/home/pi/Desktop/images/01012026/16/06/image_01012026_16_06_15_10042.jpg
/home/pi/Desktop/images/01012026/16/06/image_01012026_16_06_45_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":["1402033862","1402033861","1402033864","1402033866","1402033860","1402033863"],"photo_ids_order":["1402033860","1402033861","1402033862","1402033863","1402033864","1402033866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ebd94616c336787de6634f13d6d029a.jpg","text":"TemporaryFile(/tmp/multipartBody6734586590539712406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285363525,"filename":"image_01012026_16_04_15_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bae1c16aec86113eb0ed7df70da1b13.jpg","text":"TemporaryFile(/tmp/multipartBody5472551297795308834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285363525,"filename":"image_01012026_16_03_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4462a594b56b5b054f01c2e15df2375f.jpg","text":"TemporaryFile(/tmp/multipartBody2806113647298438142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285363525,"filename":"image_01012026_16_06_15_10042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7b6ee4998fee497115cff35d7d6e764.jpg","text":"TemporaryFile(/tmp/multipartBody3498817071872227430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285363525,"filename":"image_01012026_16_06_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fcc672d309e3734d99f16fd1f529af6.jpg","text":"TemporaryFile(/tmp/multipartBody7301835556423204499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285363525,"filename":"image_01012026_16_03_15_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/507f06c09532d1c32050d43359f50b91.jpg","text":"TemporaryFile(/tmp/multipartBody7496847721625728549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285363525,"filename":"image_01012026_16_04_55_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033862","file1":"1402033861","file0":"1402033860","file4":"1402033864","file5":"1402033866","file3":"1402033863"},"map_files_photo_id_array":[{"photo_id":"1402033866","filename":"file5"},{"photo_id":"1402033862","filename":"file2"},{"photo_id":"1402033864","filename":"file4"},{"photo_id":"1402033861","filename":"file1"},{"photo_id":"1402033860","filename":"file0"},{"photo_id":"1402033863","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033862":["hashtag1","hashtag2"]},{"1402033861":["hashtag1","hashtag2"]},{"1402033864":["hashtag1","hashtag2"]},{"1402033866":["hashtag1","hashtag2"]},{"1402033860":["hashtag1","hashtag2"]},{"1402033863":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033862, 1402033861, 1402033864, 1402033866, 1402033860, 1402033863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56559228897095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:35:42.305032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_02_3642.jpg', '/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_13_2701.jpg', '/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_16_2797.jpg', '/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_19_2557.jpg', '/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_28_2660.jpg', '/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_55_2865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_02_3642.jpg
/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_13_2701.jpg
/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_16_2797.jpg
/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_19_2557.jpg
/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_28_2660.jpg
/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_55_2865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033883","1402033886","1402033882","1402033885","1402033884","1402033872"],"photo_ids_order":["1402033872","1402033882","1402033883","1402033884","1402033885","1402033886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f8ff026e6aa4da813132c8b9b80fa02.jpg","text":"TemporaryFile(/tmp/multipartBody5266404566980896331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285404214,"filename":"image_04112025_18_08_16_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa60a94c3a21db37c0005c255a5c1de5.jpg","text":"TemporaryFile(/tmp/multipartBody3706502582281342701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285404214,"filename":"image_04112025_18_08_55_2865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/922bfe74c31c00ba6817984e9721f226.jpg","text":"TemporaryFile(/tmp/multipartBody8518153481737693992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285404214,"filename":"image_04112025_18_08_13_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecf059023fd25f7d14381062b65658a4.jpg","text":"TemporaryFile(/tmp/multipartBody8720205774707792725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285404214,"filename":"image_04112025_18_08_28_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b667458c80697c1c1b920bae566a05a.jpg","text":"TemporaryFile(/tmp/multipartBody4872454918551197901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285404214,"filename":"image_04112025_18_08_19_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbc1768245024d479364f1f5ddae8185.jpg","text":"TemporaryFile(/tmp/multipartBody5764961481705588833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285404214,"filename":"image_04112025_18_08_02_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033883","file1":"1402033882","file0":"1402033872","file4":"1402033885","file5":"1402033886","file3":"1402033884"},"map_files_photo_id_array":[{"photo_id":"1402033886","filename":"file5"},{"photo_id":"1402033883","filename":"file2"},{"photo_id":"1402033885","filename":"file4"},{"photo_id":"1402033882","filename":"file1"},{"photo_id":"1402033872","filename":"file0"},{"photo_id":"1402033884","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033883":["hashtag1","hashtag2"]},{"1402033886":["hashtag1","hashtag2"]},{"1402033882":["hashtag1","hashtag2"]},{"1402033885":["hashtag1","hashtag2"]},{"1402033884":["hashtag1","hashtag2"]},{"1402033872":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033883, 1402033886, 1402033882, 1402033885, 1402033884, 1402033872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.265838384628296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:36:22.482833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/06/image_01012026_16_07_05_9564.jpg', '/home/pi/Desktop/images/01012026/16/07/image_01012026_16_07_25_9584.jpg', '/home/pi/Desktop/images/01012026/16/07/image_01012026_16_07_45_9774.jpg', '/home/pi/Desktop/images/01012026/16/07/image_01012026_16_08_05_9570.jpg', '/home/pi/Desktop/images/01012026/16/08/image_01012026_16_08_16_10812.jpg', '/home/pi/Desktop/images/01012026/16/08/image_01012026_16_08_35_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/06/image_01012026_16_07_05_9564.jpg
/home/pi/Desktop/images/01012026/16/07/image_01012026_16_07_25_9584.jpg
/home/pi/Desktop/images/01012026/16/07/image_01012026_16_07_45_9774.jpg
/home/pi/Desktop/images/01012026/16/07/image_01012026_16_08_05_9570.jpg
/home/pi/Desktop/images/01012026/16/08/image_01012026_16_08_16_10812.jpg
/home/pi/Desktop/images/01012026/16/08/image_01012026_16_08_35_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033895","1402033898","1402033889","1402033891","1402033893","1402033887"],"photo_ids_order":["1402033887","1402033889","1402033891","1402033893","1402033895","1402033898"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26f82f00385e128b452a325f6d6b42b6.jpg","text":"TemporaryFile(/tmp/multipartBody8946667117653708723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285443110,"filename":"image_01012026_16_08_16_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d56db2f410b81cdfb43a85c6f80a3df1.jpg","text":"TemporaryFile(/tmp/multipartBody59540428448622667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285443110,"filename":"image_01012026_16_08_35_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/860c8f18eb6d6c8e1b3a556c1f97362f.jpg","text":"TemporaryFile(/tmp/multipartBody3059502302068360420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285443110,"filename":"image_01012026_16_07_25_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77620cae051d9fef51519e1d93f2fb38.jpg","text":"TemporaryFile(/tmp/multipartBody8551023541393273096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285443110,"filename":"image_01012026_16_07_45_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8872f21a9dfef295267225623045dd1.jpg","text":"TemporaryFile(/tmp/multipartBody6954107751264620423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285443110,"filename":"image_01012026_16_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/2026/1/1/ca9eea78edf6d2a6b0a19625f4316dca.jpg","text":"TemporaryFile(/tmp/multipartBody3131183003061568644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285443110,"filename":"image_01012026_16_07_05_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033891","file1":"1402033889","file0":"1402033887","file4":"1402033895","file5":"1402033898","file3":"1402033893"},"map_files_photo_id_array":[{"photo_id":"1402033898","filename":"file5"},{"photo_id":"1402033891","filename":"file2"},{"photo_id":"1402033895","filename":"file4"},{"photo_id":"1402033889","filename":"file1"},{"photo_id":"1402033887","filename":"file0"},{"photo_id":"1402033893","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033895":["hashtag1","hashtag2"]},{"1402033898":["hashtag1","hashtag2"]},{"1402033889":["hashtag1","hashtag2"]},{"1402033891":["hashtag1","hashtag2"]},{"1402033893":["hashtag1","hashtag2"]},{"1402033887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033895, 1402033898, 1402033889, 1402033891, 1402033893, 1402033887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.102492809295654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:37:03.236227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/09/image_01012026_16_09_25_9663.jpg', '/home/pi/Desktop/images/01012026/16/09/image_01012026_16_09_35_9668.jpg', '/home/pi/Desktop/images/01012026/16/09/image_01012026_16_09_55_9836.jpg', '/home/pi/Desktop/images/01012026/16/10/image_01012026_16_10_14_10050.jpg', '/home/pi/Desktop/images/01012026/16/10/image_01012026_16_10_35_9560.jpg', '/home/pi/Desktop/images/01012026/16/10/image_01012026_16_10_45_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/09/image_01012026_16_09_25_9663.jpg
/home/pi/Desktop/images/01012026/16/09/image_01012026_16_09_35_9668.jpg
/home/pi/Desktop/images/01012026/16/09/image_01012026_16_09_55_9836.jpg
/home/pi/Desktop/images/01012026/16/10/image_01012026_16_10_14_10050.jpg
/home/pi/Desktop/images/01012026/16/10/image_01012026_16_10_35_9560.jpg
/home/pi/Desktop/images/01012026/16/10/image_01012026_16_10_45_10627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033905","1402033901","1402033904","1402033907","1402033903","1402033902"],"photo_ids_order":["1402033901","1402033902","1402033903","1402033904","1402033905","1402033907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ebb1f6b0a0bcf409ed0dca97c680e5d.jpg","text":"TemporaryFile(/tmp/multipartBody1251972582507289251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285483882,"filename":"image_01012026_16_10_35_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfd8a3463c936b395bf2b95c055bc60c.jpg","text":"TemporaryFile(/tmp/multipartBody7549651672217960370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285483882,"filename":"image_01012026_16_09_25_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fe59f8d6ebd86ed92fa6b49b5b3f7f1.jpg","text":"TemporaryFile(/tmp/multipartBody2938112447815632896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285483882,"filename":"image_01012026_16_10_14_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4dab07bd642d459de4ad68adfce2ef02.jpg","text":"TemporaryFile(/tmp/multipartBody3551102408786587812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285483882,"filename":"image_01012026_16_10_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0609c029af3fce735bc1bd8d93e883c.jpg","text":"TemporaryFile(/tmp/multipartBody4855969816176003200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285483882,"filename":"image_01012026_16_09_55_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ae5d7fec8289929dd9af2e29d4e5bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7935896887638314950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285483882,"filename":"image_01012026_16_09_35_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033903","file1":"1402033902","file0":"1402033901","file4":"1402033905","file5":"1402033907","file3":"1402033904"},"map_files_photo_id_array":[{"photo_id":"1402033907","filename":"file5"},{"photo_id":"1402033903","filename":"file2"},{"photo_id":"1402033905","filename":"file4"},{"photo_id":"1402033902","filename":"file1"},{"photo_id":"1402033901","filename":"file0"},{"photo_id":"1402033904","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033905":["hashtag1","hashtag2"]},{"1402033901":["hashtag1","hashtag2"]},{"1402033904":["hashtag1","hashtag2"]},{"1402033907":["hashtag1","hashtag2"]},{"1402033903":["hashtag1","hashtag2"]},{"1402033902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033905, 1402033901, 1402033904, 1402033907, 1402033903, 1402033902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49964904785156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:37:42.696072
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_58_2677.jpg', '/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_02_3747.jpg', '/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_11_3658.jpg', '/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_13_2670.jpg', '/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_22_2705.jpg', '/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_28_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/08/image_04112025_18_08_58_2677.jpg
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_02_3747.jpg
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_11_3658.jpg
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_13_2670.jpg
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_22_2705.jpg
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_28_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":["1402033913","1402033916","1402033919","1402033918","1402033915","1402033917"],"photo_ids_order":["1402033913","1402033915","1402033916","1402033917","1402033918","1402033919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b89efe6e3eb5fccef56a6ad266756253.jpg","text":"TemporaryFile(/tmp/multipartBody6647145792199871074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285524593,"filename":"image_04112025_18_08_58_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0b976ac3478eb7e0a56a1f8ea9f3841.jpg","text":"TemporaryFile(/tmp/multipartBody5154849588536688815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285524593,"filename":"image_04112025_18_09_11_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae56bd97ca956c119fd5bf23e420d626.jpg","text":"TemporaryFile(/tmp/multipartBody3564911342574963965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285524593,"filename":"image_04112025_18_09_28_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7096fb4a1b8935193156b4d99fe7d5bd.jpg","text":"TemporaryFile(/tmp/multipartBody1391277346567425166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285524593,"filename":"image_04112025_18_09_22_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2014e81b725ed83377ac7d72149da531.jpg","text":"TemporaryFile(/tmp/multipartBody6800034179683098538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285524593,"filename":"image_04112025_18_09_02_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e1a0a11dedfc0560b3e664889a781e0.jpg","text":"TemporaryFile(/tmp/multipartBody863804545991539949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285524593,"filename":"image_04112025_18_09_13_2670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033916","file1":"1402033915","file0":"1402033913","file4":"1402033918","file5":"1402033919","file3":"1402033917"},"map_files_photo_id_array":[{"photo_id":"1402033919","filename":"file5"},{"photo_id":"1402033916","filename":"file2"},{"photo_id":"1402033918","filename":"file4"},{"photo_id":"1402033915","filename":"file1"},{"photo_id":"1402033913","filename":"file0"},{"photo_id":"1402033917","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033913":["hashtag1","hashtag2"]},{"1402033916":["hashtag1","hashtag2"]},{"1402033919":["hashtag1","hashtag2"]},{"1402033918":["hashtag1","hashtag2"]},{"1402033915":["hashtag1","hashtag2"]},{"1402033917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033913, 1402033916, 1402033919, 1402033918, 1402033915, 1402033917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83363342285156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:38:21.879732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/11/image_01012026_16_11_25_10798.jpg', '/home/pi/Desktop/images/01012026/16/11/image_01012026_16_11_45_9630.jpg', '/home/pi/Desktop/images/01012026/16/12/image_01012026_16_12_25_10601.jpg', '/home/pi/Desktop/images/01012026/16/12/image_01012026_16_12_45_9628.jpg', '/home/pi/Desktop/images/01012026/16/12/image_01012026_16_12_54_9713.jpg', '/home/pi/Desktop/images/01012026/16/12/image_01012026_16_13_05_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/11/image_01012026_16_11_25_10798.jpg
/home/pi/Desktop/images/01012026/16/11/image_01012026_16_11_45_9630.jpg
/home/pi/Desktop/images/01012026/16/12/image_01012026_16_12_25_10601.jpg
/home/pi/Desktop/images/01012026/16/12/image_01012026_16_12_45_9628.jpg
/home/pi/Desktop/images/01012026/16/12/image_01012026_16_12_54_9713.jpg
/home/pi/Desktop/images/01012026/16/12/image_01012026_16_13_05_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":["1402033922","1402033925","1402033936","1402033927","1402033929","1402033920"],"photo_ids_order":["1402033920","1402033922","1402033925","1402033927","1402033929","1402033936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b86cb618e3bd20ae0510d15175bc0b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5851829906887164983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285562472,"filename":"image_01012026_16_11_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0a8da664acf3054f6360b027aa8f03f.jpg","text":"TemporaryFile(/tmp/multipartBody27638998469674640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285562472,"filename":"image_01012026_16_12_25_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f09d1349b6d41ec96cd8aecee90fee1.jpg","text":"TemporaryFile(/tmp/multipartBody660655488264454097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285562472,"filename":"image_01012026_16_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/2026/1/1/34465e6638ffadbb90d3b6de4afb321f.jpg","text":"TemporaryFile(/tmp/multipartBody3955334155092791699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285562472,"filename":"image_01012026_16_12_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b13077fa1469951fa4b4a9bd4979393.jpg","text":"TemporaryFile(/tmp/multipartBody2937193973548332587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285562472,"filename":"image_01012026_16_12_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfb96f5b44bdc2f95e9f2d0434d7563e.jpg","text":"TemporaryFile(/tmp/multipartBody2095914489232309875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285562472,"filename":"image_01012026_16_11_25_10798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033925","file1":"1402033922","file0":"1402033920","file4":"1402033929","file5":"1402033936","file3":"1402033927"},"map_files_photo_id_array":[{"photo_id":"1402033936","filename":"file5"},{"photo_id":"1402033925","filename":"file2"},{"photo_id":"1402033929","filename":"file4"},{"photo_id":"1402033922","filename":"file1"},{"photo_id":"1402033920","filename":"file0"},{"photo_id":"1402033927","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033922":["hashtag1","hashtag2"]},{"1402033925":["hashtag1","hashtag2"]},{"1402033936":["hashtag1","hashtag2"]},{"1402033927":["hashtag1","hashtag2"]},{"1402033929":["hashtag1","hashtag2"]},{"1402033920":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033922, 1402033925, 1402033936, 1402033927, 1402033929, 1402033920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.385600566864014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:39:02.713373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/13/image_01012026_16_13_25_9868.jpg', '/home/pi/Desktop/images/01012026/16/13/image_01012026_16_14_05_10664.jpg', '/home/pi/Desktop/images/01012026/16/14/image_01012026_16_14_15_9659.jpg', '/home/pi/Desktop/images/01012026/16/14/image_01012026_16_14_25_9743.jpg', '/home/pi/Desktop/images/01012026/16/14/image_01012026_16_14_45_10700.jpg', '/home/pi/Desktop/images/01012026/16/14/image_01012026_16_14_55_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/13/image_01012026_16_13_25_9868.jpg
/home/pi/Desktop/images/01012026/16/13/image_01012026_16_14_05_10664.jpg
/home/pi/Desktop/images/01012026/16/14/image_01012026_16_14_15_9659.jpg
/home/pi/Desktop/images/01012026/16/14/image_01012026_16_14_25_9743.jpg
/home/pi/Desktop/images/01012026/16/14/image_01012026_16_14_45_10700.jpg
/home/pi/Desktop/images/01012026/16/14/image_01012026_16_14_55_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":["1402033940","1402033943","1402033939","1402033941","1402033944","1402033938"],"photo_ids_order":["1402033938","1402033939","1402033940","1402033941","1402033943","1402033944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eefd1ed84cf9b156ed177c1126656c62.jpg","text":"TemporaryFile(/tmp/multipartBody6312094442726360492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285603409,"filename":"image_01012026_16_14_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6abbdaccdb9d3bc07c05f4994ebfad52.jpg","text":"TemporaryFile(/tmp/multipartBody3468282704398891717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285603409,"filename":"image_01012026_16_14_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c860d95dbe1ce73a50359910068aecbc.jpg","text":"TemporaryFile(/tmp/multipartBody6078050826962396144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285603409,"filename":"image_01012026_16_14_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca714ae75ac14f43b82be2e8b9ae6eac.jpg","text":"TemporaryFile(/tmp/multipartBody8939368058967982355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285603409,"filename":"image_01012026_16_14_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9631a5f1f633fa2ae68b2c18e6ec44d7.jpg","text":"TemporaryFile(/tmp/multipartBody3421972954621731804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285603409,"filename":"image_01012026_16_14_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ec3570d2a6be76c0ced9854bbb24b34.jpg","text":"TemporaryFile(/tmp/multipartBody2262716265123380902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285603409,"filename":"image_01012026_16_13_25_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033940","file1":"1402033939","file0":"1402033938","file4":"1402033943","file5":"1402033944","file3":"1402033941"},"map_files_photo_id_array":[{"photo_id":"1402033944","filename":"file5"},{"photo_id":"1402033940","filename":"file2"},{"photo_id":"1402033943","filename":"file4"},{"photo_id":"1402033939","filename":"file1"},{"photo_id":"1402033938","filename":"file0"},{"photo_id":"1402033941","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402033940":["hashtag1","hashtag2"]},{"1402033943":["hashtag1","hashtag2"]},{"1402033939":["hashtag1","hashtag2"]},{"1402033941":["hashtag1","hashtag2"]},{"1402033944":["hashtag1","hashtag2"]},{"1402033938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402033940, 1402033943, 1402033939, 1402033941, 1402033944, 1402033938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.601685762405396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:39:42.069740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_32_3658.jpg', '/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_34_2691.jpg', '/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_47_3578.jpg', '/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_58_2800.jpg', '/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_04_2844.jpg', '/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_20_3908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_32_3658.jpg
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_34_2691.jpg
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_47_3578.jpg
/home/pi/Desktop/images/04112025/18/09/image_04112025_18_09_58_2800.jpg
/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_04_2844.jpg
/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_20_3908.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033958","1402033960","1402033954","1402033951","1402033962","1402033956"],"photo_ids_order":["1402033951","1402033954","1402033956","1402033958","1402033960","1402033962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd704c7981474754f6eb6096d12aae20.jpg","text":"TemporaryFile(/tmp/multipartBody4182716619139969460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285643943,"filename":"image_04112025_18_09_58_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0cfb51d5da37c4ecd7e7f23cd430288.jpg","text":"TemporaryFile(/tmp/multipartBody2457681000928234148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285643943,"filename":"image_04112025_18_10_04_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fedaa4f9c27ad898e872c00d26908d93.jpg","text":"TemporaryFile(/tmp/multipartBody3069756179323433515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285643943,"filename":"image_04112025_18_09_34_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5076623187f4c5fb4224ca4d50ccfa8.jpg","text":"TemporaryFile(/tmp/multipartBody5910498954035623121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285643943,"filename":"image_04112025_18_09_32_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/494d07867637de5f73da15e0094b27c7.jpg","text":"TemporaryFile(/tmp/multipartBody3263743820648346141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285643943,"filename":"image_04112025_18_10_20_3908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc33b110c8d9b1c1edda99655fc8e1dd.jpg","text":"TemporaryFile(/tmp/multipartBody8588858192154678431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285643943,"filename":"image_04112025_18_09_47_3578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033956","file1":"1402033954","file0":"1402033951","file4":"1402033960","file5":"1402033962","file3":"1402033958"},"map_files_photo_id_array":[{"photo_id":"1402033962","filename":"file5"},{"photo_id":"1402033956","filename":"file2"},{"photo_id":"1402033960","filename":"file4"},{"photo_id":"1402033954","filename":"file1"},{"photo_id":"1402033951","filename":"file0"},{"photo_id":"1402033958","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033958":["hashtag1","hashtag2"]},{"1402033960":["hashtag1","hashtag2"]},{"1402033954":["hashtag1","hashtag2"]},{"1402033951":["hashtag1","hashtag2"]},{"1402033962":["hashtag1","hashtag2"]},{"1402033956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033958, 1402033960, 1402033954, 1402033951, 1402033962, 1402033956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77643442153931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:40:22.225190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_14_10052.jpg', '/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_25_10701.jpg', '/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_35_9716.jpg', '/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_55_9993.jpg', '/home/pi/Desktop/images/01012026/16/16/image_01012026_16_16_15_9680.jpg', '/home/pi/Desktop/images/01012026/16/16/image_01012026_16_16_54_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_14_10052.jpg
/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_25_10701.jpg
/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_35_9716.jpg
/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_55_9993.jpg
/home/pi/Desktop/images/01012026/16/16/image_01012026_16_16_15_9680.jpg
/home/pi/Desktop/images/01012026/16/16/image_01012026_16_16_54_9706.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.48284912109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:40:32.362944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_25_2752.jpg', '/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_37_2605.jpg', '/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_49_2730.jpg', '/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_52_3703.jpg', '/home/pi/Desktop/images/04112025/18/11/image_04112025_18_11_23_1663.jpg', '/home/pi/Desktop/images/04112025/18/11/image_04112025_18_11_25_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_25_2752.jpg
/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_37_2605.jpg
/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_49_2730.jpg
/home/pi/Desktop/images/04112025/18/10/image_04112025_18_10_52_3703.jpg
/home/pi/Desktop/images/04112025/18/11/image_04112025_18_11_23_1663.jpg
/home/pi/Desktop/images/04112025/18/11/image_04112025_18_11_25_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033976","1402033979","1402033972","1402033981","1402033969","1402033980"],"photo_ids_order":["1402033969","1402033972","1402033976","1402033979","1402033980","1402033981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7242b54563a6c9c9aefc5e80c91faf41.jpg","text":"TemporaryFile(/tmp/multipartBody8679137199609129937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285694350,"filename":"image_04112025_18_10_49_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cf1a42cd969814d109af32f5183e83b.jpg","text":"TemporaryFile(/tmp/multipartBody7175791801220660358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285694350,"filename":"image_04112025_18_10_52_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e4cbc839737c61d58c306c8f9a81338.jpg","text":"TemporaryFile(/tmp/multipartBody2402592833334393710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285694350,"filename":"image_04112025_18_10_37_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc0a66c1b5bda593ef3185f38f95702e.jpg","text":"TemporaryFile(/tmp/multipartBody2989841397099090023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285694350,"filename":"image_04112025_18_11_25_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ade5dbea8362987ef1c89b272dc90d98.jpg","text":"TemporaryFile(/tmp/multipartBody7548440084847294765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285694350,"filename":"image_04112025_18_10_25_2752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d0e50e839856cb496719f2bc693f64f.jpg","text":"TemporaryFile(/tmp/multipartBody686881808971279730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285694350,"filename":"image_04112025_18_11_23_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033976","file1":"1402033972","file0":"1402033969","file4":"1402033980","file5":"1402033981","file3":"1402033979"},"map_files_photo_id_array":[{"photo_id":"1402033981","filename":"file5"},{"photo_id":"1402033976","filename":"file2"},{"photo_id":"1402033980","filename":"file4"},{"photo_id":"1402033972","filename":"file1"},{"photo_id":"1402033969","filename":"file0"},{"photo_id":"1402033979","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033976":["hashtag1","hashtag2"]},{"1402033979":["hashtag1","hashtag2"]},{"1402033972":["hashtag1","hashtag2"]},{"1402033981":["hashtag1","hashtag2"]},{"1402033969":["hashtag1","hashtag2"]},{"1402033980":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033976, 1402033979, 1402033972, 1402033981, 1402033969, 1402033980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.889925718307495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:41:12.565215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/11/image_04112025_18_11_43_3639.jpg', '/home/pi/Desktop/images/04112025/18/11/image_04112025_18_11_58_2620.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_01_2792.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_04_2827.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_07_3593.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_10_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/11/image_04112025_18_11_43_3639.jpg
/home/pi/Desktop/images/04112025/18/11/image_04112025_18_11_58_2620.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_01_2792.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_04_2827.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_07_3593.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_10_2664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402033991","1402033985","1402033993","1402033987","1402033983","1402033989"],"photo_ids_order":["1402033983","1402033985","1402033987","1402033989","1402033991","1402033993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4976fe7536546b4eda7f6c86e5eb9271.jpg","text":"TemporaryFile(/tmp/multipartBody8682403359349679306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285734314,"filename":"image_04112025_18_12_07_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d1af09d957fe211276d26bf72c682dd.jpg","text":"TemporaryFile(/tmp/multipartBody445201416354370185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285734314,"filename":"image_04112025_18_11_58_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c6307d23219446bf3232c8e47d57ca0.jpg","text":"TemporaryFile(/tmp/multipartBody1891845618074805720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285734314,"filename":"image_04112025_18_12_10_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfec8d28c166d46391d5ce0fd8833b7a.jpg","text":"TemporaryFile(/tmp/multipartBody5112833080185890230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285734314,"filename":"image_04112025_18_12_01_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/778b23e38a59fbcffac0a902411e5ca9.jpg","text":"TemporaryFile(/tmp/multipartBody4889541539351310730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285734314,"filename":"image_04112025_18_11_43_3639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f0bd62bfea1b938b30c73f41a595995.jpg","text":"TemporaryFile(/tmp/multipartBody4149836808974842790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285734314,"filename":"image_04112025_18_12_04_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402033987","file1":"1402033985","file0":"1402033983","file4":"1402033991","file5":"1402033993","file3":"1402033989"},"map_files_photo_id_array":[{"photo_id":"1402033993","filename":"file5"},{"photo_id":"1402033987","filename":"file2"},{"photo_id":"1402033991","filename":"file4"},{"photo_id":"1402033985","filename":"file1"},{"photo_id":"1402033983","filename":"file0"},{"photo_id":"1402033989","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402033991":["hashtag1","hashtag2"]},{"1402033985":["hashtag1","hashtag2"]},{"1402033993":["hashtag1","hashtag2"]},{"1402033987":["hashtag1","hashtag2"]},{"1402033983":["hashtag1","hashtag2"]},{"1402033989":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402033991, 1402033985, 1402033993, 1402033987, 1402033983, 1402033989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43378734588623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:42:03.184702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_14_10052.jpg', '/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_25_10701.jpg', '/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_35_9716.jpg', '/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_55_9993.jpg', '/home/pi/Desktop/images/01012026/16/16/image_01012026_16_16_15_9680.jpg', '/home/pi/Desktop/images/01012026/16/16/image_01012026_16_16_54_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_14_10052.jpg
/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_25_10701.jpg
/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_35_9716.jpg
/home/pi/Desktop/images/01012026/16/15/image_01012026_16_15_55_9993.jpg
/home/pi/Desktop/images/01012026/16/16/image_01012026_16_16_15_9680.jpg
/home/pi/Desktop/images/01012026/16/16/image_01012026_16_16_54_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":["1402034009","1402034011","1402034008","1402034010","1402034013","1402034007"],"photo_ids_order":["1402034007","1402034008","1402034009","1402034010","1402034011","1402034013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c449a8958b4e17635a1497c409dd87e.jpg","text":"TemporaryFile(/tmp/multipartBody1846290160967753355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285783822,"filename":"image_01012026_16_15_35_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db91958153b63157d61cd33beb30dffa.jpg","text":"TemporaryFile(/tmp/multipartBody6566895896210853854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285783822,"filename":"image_01012026_16_16_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2b5d60f383ded09f05eee21e5a805ee.jpg","text":"TemporaryFile(/tmp/multipartBody2391657606871491166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285783822,"filename":"image_01012026_16_15_25_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acf09a63415ca11d32afa21d06a88038.jpg","text":"TemporaryFile(/tmp/multipartBody8918865188141438788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285783822,"filename":"image_01012026_16_15_55_9993.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7d83e2d43915afcab1adf08a7ad4c34.jpg","text":"TemporaryFile(/tmp/multipartBody7665198563737789387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285783822,"filename":"image_01012026_16_16_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a44863fa11dcf995d7aec27c59273c8d.jpg","text":"TemporaryFile(/tmp/multipartBody6548867461953650162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285783822,"filename":"image_01012026_16_15_14_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034009","file1":"1402034008","file0":"1402034007","file4":"1402034011","file5":"1402034013","file3":"1402034010"},"map_files_photo_id_array":[{"photo_id":"1402034013","filename":"file5"},{"photo_id":"1402034009","filename":"file2"},{"photo_id":"1402034011","filename":"file4"},{"photo_id":"1402034008","filename":"file1"},{"photo_id":"1402034007","filename":"file0"},{"photo_id":"1402034010","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034009":["hashtag1","hashtag2"]},{"1402034011":["hashtag1","hashtag2"]},{"1402034008":["hashtag1","hashtag2"]},{"1402034010":["hashtag1","hashtag2"]},{"1402034013":["hashtag1","hashtag2"]},{"1402034007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034009, 1402034011, 1402034008, 1402034010, 1402034013, 1402034007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.127432107925415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:42:42.780103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_12_2576.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_16_3699.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_25_3624.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_28_2812.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_37_2897.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_45_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_12_2576.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_16_3699.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_25_3624.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_28_2812.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_37_2897.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_45_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.680619478225708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:43:02.895905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/16/image_01012026_16_17_04_9871.jpg', '/home/pi/Desktop/images/01012026/16/17/image_01012026_16_17_45_9561.jpg', '/home/pi/Desktop/images/01012026/16/17/image_01012026_16_17_54_9699.jpg', '/home/pi/Desktop/images/01012026/16/18/image_01012026_16_18_24_9630.jpg', '/home/pi/Desktop/images/01012026/16/18/image_01012026_16_19_05_9697.jpg', '/home/pi/Desktop/images/01012026/16/19/image_01012026_16_19_45_9540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/16/image_01012026_16_17_04_9871.jpg
/home/pi/Desktop/images/01012026/16/17/image_01012026_16_17_45_9561.jpg
/home/pi/Desktop/images/01012026/16/17/image_01012026_16_17_54_9699.jpg
/home/pi/Desktop/images/01012026/16/18/image_01012026_16_18_24_9630.jpg
/home/pi/Desktop/images/01012026/16/18/image_01012026_16_19_05_9697.jpg
/home/pi/Desktop/images/01012026/16/19/image_01012026_16_19_45_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":["1402034030","1402034033","1402034026","1402034029","1402034028","1402034031"],"photo_ids_order":["1402034026","1402034028","1402034029","1402034030","1402034031","1402034033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57dd34b5b21f6ef737c3c5500978277e.jpg","text":"TemporaryFile(/tmp/multipartBody4119150088282262105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285843546,"filename":"image_01012026_16_18_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcf8485a2be574a0f642ead153051821.jpg","text":"TemporaryFile(/tmp/multipartBody1801650297593084548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285843546,"filename":"image_01012026_16_19_45_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1319969b872d8e6b6ea9a83e3c26ec1e.jpg","text":"TemporaryFile(/tmp/multipartBody5436731148311799044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285843546,"filename":"image_01012026_16_17_04_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65d7a21771e12153109b97cd3804387b.jpg","text":"TemporaryFile(/tmp/multipartBody4389774737887257597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285843546,"filename":"image_01012026_16_17_54_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be491a84c79596c80d1d6024a64f6942.jpg","text":"TemporaryFile(/tmp/multipartBody1652699723840505493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285843546,"filename":"image_01012026_16_17_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03488333b2e92974503fbd91ca098535.jpg","text":"TemporaryFile(/tmp/multipartBody4162625806974076338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285843546,"filename":"image_01012026_16_19_05_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034029","file1":"1402034028","file0":"1402034026","file4":"1402034031","file5":"1402034033","file3":"1402034030"},"map_files_photo_id_array":[{"photo_id":"1402034033","filename":"file5"},{"photo_id":"1402034029","filename":"file2"},{"photo_id":"1402034031","filename":"file4"},{"photo_id":"1402034028","filename":"file1"},{"photo_id":"1402034026","filename":"file0"},{"photo_id":"1402034030","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034030":["hashtag1","hashtag2"]},{"1402034033":["hashtag1","hashtag2"]},{"1402034026":["hashtag1","hashtag2"]},{"1402034029":["hashtag1","hashtag2"]},{"1402034028":["hashtag1","hashtag2"]},{"1402034031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034030, 1402034033, 1402034026, 1402034029, 1402034028, 1402034031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68604350090027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:43:42.066245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_12_2576.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_16_3699.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_25_3624.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_28_2812.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_37_2897.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_45_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_12_2576.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_16_3699.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_25_3624.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_28_2812.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_37_2897.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_45_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":["1402034045","1402034039","1402034042","1402034041","1402034044","1402034043"],"photo_ids_order":["1402034039","1402034041","1402034042","1402034043","1402034044","1402034045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5eb1289be9f8a5b6e077c3e41761401.jpg","text":"TemporaryFile(/tmp/multipartBody600460452873718008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285883779,"filename":"image_04112025_18_12_45_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f74f5a01f013b239938807ab01535b1c.jpg","text":"TemporaryFile(/tmp/multipartBody2691483097704836818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285883779,"filename":"image_04112025_18_12_12_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2a2818fcaca25432461fe0d6c7b2813.jpg","text":"TemporaryFile(/tmp/multipartBody4965937711907148941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285883779,"filename":"image_04112025_18_12_25_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cce5f9fa02d2b5d51791057e9bb13e31.jpg","text":"TemporaryFile(/tmp/multipartBody1169635330341271225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285883779,"filename":"image_04112025_18_12_16_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36ca570a659e68e7e2aee1d863c1f619.jpg","text":"TemporaryFile(/tmp/multipartBody3949981866082732698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285883779,"filename":"image_04112025_18_12_37_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a4c1bd563ec832346782079b263d3cd.jpg","text":"TemporaryFile(/tmp/multipartBody7472342252816928886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285883779,"filename":"image_04112025_18_12_28_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034042","file1":"1402034041","file0":"1402034039","file4":"1402034044","file5":"1402034045","file3":"1402034043"},"map_files_photo_id_array":[{"photo_id":"1402034045","filename":"file5"},{"photo_id":"1402034042","filename":"file2"},{"photo_id":"1402034044","filename":"file4"},{"photo_id":"1402034041","filename":"file1"},{"photo_id":"1402034039","filename":"file0"},{"photo_id":"1402034043","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034045":["hashtag1","hashtag2"]},{"1402034039":["hashtag1","hashtag2"]},{"1402034042":["hashtag1","hashtag2"]},{"1402034041":["hashtag1","hashtag2"]},{"1402034044":["hashtag1","hashtag2"]},{"1402034043":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034045, 1402034039, 1402034042, 1402034041, 1402034044, 1402034043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27080416679382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:44:22.370550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/20/image_01012026_16_20_25_10836.jpg', '/home/pi/Desktop/images/01012026/16/20/image_01012026_16_20_45_9763.jpg', '/home/pi/Desktop/images/01012026/16/20/image_01012026_16_20_54_9824.jpg', '/home/pi/Desktop/images/01012026/16/21/image_01012026_16_21_25_9710.jpg', '/home/pi/Desktop/images/01012026/16/21/image_01012026_16_21_55_9542.jpg', '/home/pi/Desktop/images/01012026/16/22/image_01012026_16_22_15_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/20/image_01012026_16_20_25_10836.jpg
/home/pi/Desktop/images/01012026/16/20/image_01012026_16_20_45_9763.jpg
/home/pi/Desktop/images/01012026/16/20/image_01012026_16_20_54_9824.jpg
/home/pi/Desktop/images/01012026/16/21/image_01012026_16_21_25_9710.jpg
/home/pi/Desktop/images/01012026/16/21/image_01012026_16_21_55_9542.jpg
/home/pi/Desktop/images/01012026/16/22/image_01012026_16_22_15_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":["1402034054","1402034056","1402034047","1402034067","1402034052","1402034049"],"photo_ids_order":["1402034047","1402034049","1402034052","1402034054","1402034056","1402034067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e04a3bb56d5a26b5a55f02bcffbf8dbd.jpg","text":"TemporaryFile(/tmp/multipartBody8919784447990681432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285923012,"filename":"image_01012026_16_21_25_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca8f50ff7bf1848daae2f93201674c13.jpg","text":"TemporaryFile(/tmp/multipartBody1400131655514228963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285923012,"filename":"image_01012026_16_21_55_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6687952e4af4d9372c6e55adc9473490.jpg","text":"TemporaryFile(/tmp/multipartBody6708851575872709650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285923012,"filename":"image_01012026_16_20_25_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a4763b994e23b7438d1d9cf274c6336.jpg","text":"TemporaryFile(/tmp/multipartBody4206660230005750516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285923012,"filename":"image_01012026_16_22_15_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3b7dd9d6212f63eb3361d28578cdf73.jpg","text":"TemporaryFile(/tmp/multipartBody5557566451442340810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285923012,"filename":"image_01012026_16_20_54_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98a3b48ebe9b4d06f97bb2bb56d01986.jpg","text":"TemporaryFile(/tmp/multipartBody56488750450990265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285923012,"filename":"image_01012026_16_20_45_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034052","file1":"1402034049","file0":"1402034047","file4":"1402034056","file5":"1402034067","file3":"1402034054"},"map_files_photo_id_array":[{"photo_id":"1402034067","filename":"file5"},{"photo_id":"1402034052","filename":"file2"},{"photo_id":"1402034056","filename":"file4"},{"photo_id":"1402034049","filename":"file1"},{"photo_id":"1402034047","filename":"file0"},{"photo_id":"1402034054","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034054":["hashtag1","hashtag2"]},{"1402034056":["hashtag1","hashtag2"]},{"1402034047":["hashtag1","hashtag2"]},{"1402034067":["hashtag1","hashtag2"]},{"1402034052":["hashtag1","hashtag2"]},{"1402034049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034054, 1402034056, 1402034047, 1402034067, 1402034052, 1402034049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93952441215515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:45:03.101884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/22/image_01012026_16_22_25_9720.jpg', '/home/pi/Desktop/images/01012026/16/22/image_01012026_16_22_45_10666.jpg', '/home/pi/Desktop/images/01012026/16/22/image_01012026_16_23_05_9605.jpg', '/home/pi/Desktop/images/01012026/16/23/image_01012026_16_23_35_10684.jpg', '/home/pi/Desktop/images/01012026/16/23/image_01012026_16_24_05_9709.jpg', '/home/pi/Desktop/images/01012026/16/24/image_01012026_16_24_35_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/22/image_01012026_16_22_25_9720.jpg
/home/pi/Desktop/images/01012026/16/22/image_01012026_16_22_45_10666.jpg
/home/pi/Desktop/images/01012026/16/22/image_01012026_16_23_05_9605.jpg
/home/pi/Desktop/images/01012026/16/23/image_01012026_16_23_35_10684.jpg
/home/pi/Desktop/images/01012026/16/23/image_01012026_16_24_05_9709.jpg
/home/pi/Desktop/images/01012026/16/24/image_01012026_16_24_35_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":["1402034072","1402034074","1402034071","1402034070","1402034073","1402034076"],"photo_ids_order":["1402034070","1402034071","1402034072","1402034073","1402034074","1402034076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/461be4da21f676071ebdda5856bf7038.jpg","text":"TemporaryFile(/tmp/multipartBody4416746997585602474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285963766,"filename":"image_01012026_16_23_05_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b87c421957fea91d43bb699b1993a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2614483284662988039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285963766,"filename":"image_01012026_16_24_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1345e4ec868285f9dc392d86ea4fcdbb.jpg","text":"TemporaryFile(/tmp/multipartBody8613265722121592882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285963766,"filename":"image_01012026_16_22_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fff77e1e4fd489d6c4f701970e46999a.jpg","text":"TemporaryFile(/tmp/multipartBody3637808524476757517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285963766,"filename":"image_01012026_16_22_25_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eefed84ba8f66d1c2eaa188a2cd4d097.jpg","text":"TemporaryFile(/tmp/multipartBody4826084495165276470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285963766,"filename":"image_01012026_16_23_35_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c1d9334fb90e178883559358cc41bfd.jpg","text":"TemporaryFile(/tmp/multipartBody7512847921661531428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767285963766,"filename":"image_01012026_16_24_35_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034072","file1":"1402034071","file0":"1402034070","file4":"1402034074","file5":"1402034076","file3":"1402034073"},"map_files_photo_id_array":[{"photo_id":"1402034076","filename":"file5"},{"photo_id":"1402034072","filename":"file2"},{"photo_id":"1402034074","filename":"file4"},{"photo_id":"1402034071","filename":"file1"},{"photo_id":"1402034070","filename":"file0"},{"photo_id":"1402034073","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034072":["hashtag1","hashtag2"]},{"1402034074":["hashtag1","hashtag2"]},{"1402034071":["hashtag1","hashtag2"]},{"1402034070":["hashtag1","hashtag2"]},{"1402034073":["hashtag1","hashtag2"]},{"1402034076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034072, 1402034074, 1402034071, 1402034070, 1402034073, 1402034076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.218541383743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:45:42.522254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_49_3830.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_52_2693.jpg', '/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_58_3608.jpg', '/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_04_2747.jpg', '/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_10_3807.jpg', '/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_13_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_49_3830.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_52_2693.jpg
/home/pi/Desktop/images/04112025/18/12/image_04112025_18_12_58_3608.jpg
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_04_2747.jpg
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_10_3807.jpg
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_13_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":["1402034084","1402034087","1402034086","1402034082","1402034085","1402034088"],"photo_ids_order":["1402034082","1402034084","1402034085","1402034086","1402034087","1402034088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6971bce46f1cfae231a41a36513ec491.jpg","text":"TemporaryFile(/tmp/multipartBody6647008874945208719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286004393,"filename":"image_04112025_18_12_52_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/baea1c01a8268a4c12fe6a2465378556.jpg","text":"TemporaryFile(/tmp/multipartBody878261516394959600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286004393,"filename":"image_04112025_18_13_10_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efcf812aa3ed0014a1c4aabb1dbbc634.jpg","text":"TemporaryFile(/tmp/multipartBody1756217962685694303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286004393,"filename":"image_04112025_18_13_04_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e13f629972d7658d03d1253bdce9e824.jpg","text":"TemporaryFile(/tmp/multipartBody9027149304756532329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286004393,"filename":"image_04112025_18_12_49_3830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b85d1534bb35dc1c7b076550944cc6fa.jpg","text":"TemporaryFile(/tmp/multipartBody2878412536868337092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286004393,"filename":"image_04112025_18_12_58_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41712edbc67515bc184afbc40606de63.jpg","text":"TemporaryFile(/tmp/multipartBody1781662641739149453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286004393,"filename":"image_04112025_18_13_13_2771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034085","file1":"1402034084","file0":"1402034082","file4":"1402034087","file5":"1402034088","file3":"1402034086"},"map_files_photo_id_array":[{"photo_id":"1402034088","filename":"file5"},{"photo_id":"1402034085","filename":"file2"},{"photo_id":"1402034087","filename":"file4"},{"photo_id":"1402034084","filename":"file1"},{"photo_id":"1402034082","filename":"file0"},{"photo_id":"1402034086","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034084":["hashtag1","hashtag2"]},{"1402034087":["hashtag1","hashtag2"]},{"1402034086":["hashtag1","hashtag2"]},{"1402034082":["hashtag1","hashtag2"]},{"1402034085":["hashtag1","hashtag2"]},{"1402034088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034084, 1402034087, 1402034086, 1402034082, 1402034085, 1402034088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58649969100952 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:46:22.748929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/24/image_01012026_16_24_44_9428.jpg', '/home/pi/Desktop/images/01012026/16/25/image_01012026_16_25_14_10056.jpg', '/home/pi/Desktop/images/01012026/16/25/image_01012026_16_25_54_9650.jpg', '/home/pi/Desktop/images/01012026/16/26/image_01012026_16_26_14_9625.jpg', '/home/pi/Desktop/images/01012026/16/26/image_01012026_16_26_35_10645.jpg', '/home/pi/Desktop/images/01012026/16/26/image_01012026_16_26_44_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/24/image_01012026_16_24_44_9428.jpg
/home/pi/Desktop/images/01012026/16/25/image_01012026_16_25_14_10056.jpg
/home/pi/Desktop/images/01012026/16/25/image_01012026_16_25_54_9650.jpg
/home/pi/Desktop/images/01012026/16/26/image_01012026_16_26_14_9625.jpg
/home/pi/Desktop/images/01012026/16/26/image_01012026_16_26_35_10645.jpg
/home/pi/Desktop/images/01012026/16/26/image_01012026_16_26_44_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":["1402034090","1402034098","1402034092","1402034094","1402034100","1402034096"],"photo_ids_order":["1402034090","1402034092","1402034094","1402034096","1402034098","1402034100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e60e80a02614b58c5f0500e354e9fc4.jpg","text":"TemporaryFile(/tmp/multipartBody8018063202584610651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286043327,"filename":"image_01012026_16_24_44_9428.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebe6c213309308dcc76157ba2b10f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody4336381946728847812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286043327,"filename":"image_01012026_16_26_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ce27f9a9c4ce56750ab05f4246f3659.jpg","text":"TemporaryFile(/tmp/multipartBody7598905537186130649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286043327,"filename":"image_01012026_16_25_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcfe0bd6d6a918b942153b37b3be5563.jpg","text":"TemporaryFile(/tmp/multipartBody3983297322753154929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286043327,"filename":"image_01012026_16_25_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14e7fe395675184f0a7aeff12bb02f1d.jpg","text":"TemporaryFile(/tmp/multipartBody1348759059204524523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286043327,"filename":"image_01012026_16_26_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/960a5c2406de7ded7395ed7db5eb184c.jpg","text":"TemporaryFile(/tmp/multipartBody7453917155002072710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286043327,"filename":"image_01012026_16_26_14_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034094","file1":"1402034092","file0":"1402034090","file4":"1402034098","file5":"1402034100","file3":"1402034096"},"map_files_photo_id_array":[{"photo_id":"1402034100","filename":"file5"},{"photo_id":"1402034094","filename":"file2"},{"photo_id":"1402034098","filename":"file4"},{"photo_id":"1402034092","filename":"file1"},{"photo_id":"1402034090","filename":"file0"},{"photo_id":"1402034096","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034090":["hashtag1","hashtag2"]},{"1402034098":["hashtag1","hashtag2"]},{"1402034092":["hashtag1","hashtag2"]},{"1402034094":["hashtag1","hashtag2"]},{"1402034100":["hashtag1","hashtag2"]},{"1402034096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034090, 1402034098, 1402034092, 1402034094, 1402034100, 1402034096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62094020843506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:47:02.627547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/26/image_01012026_16_26_55_10571.jpg', '/home/pi/Desktop/images/01012026/16/26/image_01012026_16_27_05_9722.jpg', '/home/pi/Desktop/images/01012026/16/27/image_01012026_16_27_14_9715.jpg', '/home/pi/Desktop/images/01012026/16/27/image_01012026_16_27_24_9638.jpg', '/home/pi/Desktop/images/01012026/16/27/image_01012026_16_27_49_14611.jpg', '/home/pi/Desktop/images/01012026/16/27/image_01012026_16_27_54_4661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/26/image_01012026_16_26_55_10571.jpg
/home/pi/Desktop/images/01012026/16/26/image_01012026_16_27_05_9722.jpg
/home/pi/Desktop/images/01012026/16/27/image_01012026_16_27_14_9715.jpg
/home/pi/Desktop/images/01012026/16/27/image_01012026_16_27_24_9638.jpg
/home/pi/Desktop/images/01012026/16/27/image_01012026_16_27_49_14611.jpg
/home/pi/Desktop/images/01012026/16/27/image_01012026_16_27_54_4661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034102","1402034104","1402034107","1402034109","1402034103","1402034106"],"photo_ids_order":["1402034102","1402034103","1402034104","1402034106","1402034107","1402034109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e92f4d43c95cad328ff2456a58e21d1.jpg","text":"TemporaryFile(/tmp/multipartBody2380248714545185367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286083323,"filename":"image_01012026_16_26_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f2045d2b58b67eaac97bebbe620d52a.jpg","text":"TemporaryFile(/tmp/multipartBody2907877126717803668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286083323,"filename":"image_01012026_16_27_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c563bdaaea79119507ec57df40b6dcbe.jpg","text":"TemporaryFile(/tmp/multipartBody3136573571470656548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286083323,"filename":"image_01012026_16_27_49_14611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6041d7f0e4bbc912eafd4628dbf13fd.jpg","text":"TemporaryFile(/tmp/multipartBody2184031664868226350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286083323,"filename":"image_01012026_16_27_54_4661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/453c17f1825819fc6d35b3abe6d57483.jpg","text":"TemporaryFile(/tmp/multipartBody7183754220378489762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286083323,"filename":"image_01012026_16_27_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/765af7664cdbccc1bd1f90dc9beeffb4.jpg","text":"TemporaryFile(/tmp/multipartBody6623717754788366853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286083323,"filename":"image_01012026_16_27_24_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034104","file1":"1402034103","file0":"1402034102","file4":"1402034107","file5":"1402034109","file3":"1402034106"},"map_files_photo_id_array":[{"photo_id":"1402034109","filename":"file5"},{"photo_id":"1402034104","filename":"file2"},{"photo_id":"1402034107","filename":"file4"},{"photo_id":"1402034103","filename":"file1"},{"photo_id":"1402034102","filename":"file0"},{"photo_id":"1402034106","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034102":["hashtag1","hashtag2"]},{"1402034104":["hashtag1","hashtag2"]},{"1402034107":["hashtag1","hashtag2"]},{"1402034109":["hashtag1","hashtag2"]},{"1402034103":["hashtag1","hashtag2"]},{"1402034106":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034102, 1402034104, 1402034107, 1402034109, 1402034103, 1402034106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81817650794983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:47:41.931649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_25_2624.jpg', '/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_27_2670.jpg', '/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_31_3599.jpg', '/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_37_2771.jpg', '/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_43_3611.jpg', '/home/pi/Desktop/images/04112025/18/13/image_04112025_18_14_01_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_25_2624.jpg
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_27_2670.jpg
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_31_3599.jpg
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_37_2771.jpg
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_13_43_3611.jpg
/home/pi/Desktop/images/04112025/18/13/image_04112025_18_14_01_3576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034129","1402034131","1402034128","1402034127","1402034115","1402034130"],"photo_ids_order":["1402034115","1402034127","1402034128","1402034129","1402034130","1402034131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca97a31421cd84e3c51c466c831eacd7.jpg","text":"TemporaryFile(/tmp/multipartBody2452650614186906870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286123824,"filename":"image_04112025_18_13_37_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1efae8ea8d528bb90cc4e67d023cb421.jpg","text":"TemporaryFile(/tmp/multipartBody2895921494921541478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286123824,"filename":"image_04112025_18_14_01_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/506b1886ca61dde1aca6365d176dc377.jpg","text":"TemporaryFile(/tmp/multipartBody5949881950079651208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286123824,"filename":"image_04112025_18_13_31_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e939078374807d463b431006a8b6443.jpg","text":"TemporaryFile(/tmp/multipartBody8338199556139591266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286123824,"filename":"image_04112025_18_13_27_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94cd34099fe512a498680a44488f8908.jpg","text":"TemporaryFile(/tmp/multipartBody7529090303908604533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286123824,"filename":"image_04112025_18_13_25_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1bbc3a3a9190ca5d2f07efc88104833.jpg","text":"TemporaryFile(/tmp/multipartBody5259089645622918371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286123824,"filename":"image_04112025_18_13_43_3611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034128","file1":"1402034127","file0":"1402034115","file4":"1402034130","file5":"1402034131","file3":"1402034129"},"map_files_photo_id_array":[{"photo_id":"1402034131","filename":"file5"},{"photo_id":"1402034128","filename":"file2"},{"photo_id":"1402034130","filename":"file4"},{"photo_id":"1402034127","filename":"file1"},{"photo_id":"1402034115","filename":"file0"},{"photo_id":"1402034129","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034129":["hashtag1","hashtag2"]},{"1402034131":["hashtag1","hashtag2"]},{"1402034128":["hashtag1","hashtag2"]},{"1402034127":["hashtag1","hashtag2"]},{"1402034115":["hashtag1","hashtag2"]},{"1402034130":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034129, 1402034131, 1402034128, 1402034127, 1402034115, 1402034130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12565302848816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:48:22.127696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/28/image_01012026_16_28_14_9694.jpg', '/home/pi/Desktop/images/01012026/16/28/image_01012026_16_28_35_10713.jpg', '/home/pi/Desktop/images/01012026/16/28/image_01012026_16_29_05_10846.jpg', '/home/pi/Desktop/images/01012026/16/29/image_01012026_16_29_15_9620.jpg', '/home/pi/Desktop/images/01012026/16/29/image_01012026_16_29_34_9880.jpg', '/home/pi/Desktop/images/01012026/16/30/image_01012026_16_30_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/28/image_01012026_16_28_14_9694.jpg
/home/pi/Desktop/images/01012026/16/28/image_01012026_16_28_35_10713.jpg
/home/pi/Desktop/images/01012026/16/28/image_01012026_16_29_05_10846.jpg
/home/pi/Desktop/images/01012026/16/29/image_01012026_16_29_15_9620.jpg
/home/pi/Desktop/images/01012026/16/29/image_01012026_16_29_34_9880.jpg
/home/pi/Desktop/images/01012026/16/30/image_01012026_16_30_14_10056.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034138","1402034132","1402034140","1402034134","1402034145","1402034142"],"photo_ids_order":["1402034132","1402034134","1402034138","1402034140","1402034142","1402034145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60b012e1841a215a44507f0a8386e30a.jpg","text":"TemporaryFile(/tmp/multipartBody1768552148443288778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286162727,"filename":"image_01012026_16_29_05_10846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ea52c183f13d302fce7ceef7801c319.jpg","text":"TemporaryFile(/tmp/multipartBody8928778270409508787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286162727,"filename":"image_01012026_16_28_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86b81e6818a23958ab0d049c92b0afb5.jpg","text":"TemporaryFile(/tmp/multipartBody5308900504489197373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286162727,"filename":"image_01012026_16_29_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15eca52cd0c752bbb955c61634f083a8.jpg","text":"TemporaryFile(/tmp/multipartBody7887910800292415177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286162727,"filename":"image_01012026_16_28_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57c6fa37007a84e87c515ed63e98cd95.jpg","text":"TemporaryFile(/tmp/multipartBody5198345635623526002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286162727,"filename":"image_01012026_16_30_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb09f60779c63de5a632d4267a727d11.jpg","text":"TemporaryFile(/tmp/multipartBody2757206569103529533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286162727,"filename":"image_01012026_16_29_34_9880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034138","file1":"1402034134","file0":"1402034132","file4":"1402034142","file5":"1402034145","file3":"1402034140"},"map_files_photo_id_array":[{"photo_id":"1402034145","filename":"file5"},{"photo_id":"1402034138","filename":"file2"},{"photo_id":"1402034142","filename":"file4"},{"photo_id":"1402034134","filename":"file1"},{"photo_id":"1402034132","filename":"file0"},{"photo_id":"1402034140","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034138":["hashtag1","hashtag2"]},{"1402034132":["hashtag1","hashtag2"]},{"1402034140":["hashtag1","hashtag2"]},{"1402034134":["hashtag1","hashtag2"]},{"1402034145":["hashtag1","hashtag2"]},{"1402034142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034138, 1402034132, 1402034140, 1402034134, 1402034145, 1402034142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.32788038253784 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
2026-01-01 17:49:18.060704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_09_2588.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_21_11204.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_24_1596.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_26_1798.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_27_1783.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_29_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_09_2588.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_21_11204.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_24_1596.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_26_1798.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_27_1783.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_29_1656.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.6905944347381592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:49:28.069987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/30/image_01012026_16_30_25_10670.jpg', '/home/pi/Desktop/images/01012026/16/30/image_01012026_16_30_35_9825.jpg', '/home/pi/Desktop/images/01012026/16/30/image_01012026_16_30_44_9709.jpg', '/home/pi/Desktop/images/01012026/16/31/image_01012026_16_31_14_9660.jpg', '/home/pi/Desktop/images/01012026/16/31/image_01012026_16_31_35_9669.jpg', '/home/pi/Desktop/images/01012026/16/32/image_01012026_16_32_25_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/30/image_01012026_16_30_25_10670.jpg
/home/pi/Desktop/images/01012026/16/30/image_01012026_16_30_35_9825.jpg
/home/pi/Desktop/images/01012026/16/30/image_01012026_16_30_44_9709.jpg
/home/pi/Desktop/images/01012026/16/31/image_01012026_16_31_14_9660.jpg
/home/pi/Desktop/images/01012026/16/31/image_01012026_16_31_35_9669.jpg
/home/pi/Desktop/images/01012026/16/32/image_01012026_16_32_25_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":["1402034162","1402034163","1402034151","1402034160","1402034154","1402034157"],"photo_ids_order":["1402034151","1402034154","1402034157","1402034160","1402034162","1402034163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15071e74c6bea70878102172822573e7.jpg","text":"TemporaryFile(/tmp/multipartBody8671977343410335411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286228660,"filename":"image_01012026_16_31_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae39502cd7bfa1cc7dd00854785c7a2c.jpg","text":"TemporaryFile(/tmp/multipartBody2003060338186095225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286228660,"filename":"image_01012026_16_32_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c369941c8054d137bb9430a55c31348.jpg","text":"TemporaryFile(/tmp/multipartBody3515239481783552071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286228660,"filename":"image_01012026_16_30_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c08108666995111e62f7a36b291dbd92.jpg","text":"TemporaryFile(/tmp/multipartBody4687173715000654523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286228660,"filename":"image_01012026_16_31_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e87717af04e72331f9cbd3579933a51a.jpg","text":"TemporaryFile(/tmp/multipartBody375295347354868469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286228660,"filename":"image_01012026_16_30_35_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db9d18cfe304a549920dbd7dcc4b6880.jpg","text":"TemporaryFile(/tmp/multipartBody6730860676865463673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286228660,"filename":"image_01012026_16_30_44_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034157","file1":"1402034154","file0":"1402034151","file4":"1402034162","file5":"1402034163","file3":"1402034160"},"map_files_photo_id_array":[{"photo_id":"1402034163","filename":"file5"},{"photo_id":"1402034157","filename":"file2"},{"photo_id":"1402034162","filename":"file4"},{"photo_id":"1402034154","filename":"file1"},{"photo_id":"1402034151","filename":"file0"},{"photo_id":"1402034160","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034162":["hashtag1","hashtag2"]},{"1402034163":["hashtag1","hashtag2"]},{"1402034151":["hashtag1","hashtag2"]},{"1402034160":["hashtag1","hashtag2"]},{"1402034154":["hashtag1","hashtag2"]},{"1402034157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034162, 1402034163, 1402034151, 1402034160, 1402034154, 1402034157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13234186172485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:50:12.282635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_09_2588.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_21_11204.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_24_1596.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_26_1798.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_27_1783.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_29_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_09_2588.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_21_11204.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_24_1596.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_26_1798.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_27_1783.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_29_1656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034171","1402034165","1402034173","1402034164","1402034166","1402034168"],"photo_ids_order":["1402034164","1402034165","1402034166","1402034168","1402034171","1402034173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87050727558b7bc0ca02fdf2ae5cef8f.jpg","text":"TemporaryFile(/tmp/multipartBody8938370073523545114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286273911,"filename":"image_04112025_18_14_27_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b6aeaf942d2b83b7e28a437e04654d2.jpg","text":"TemporaryFile(/tmp/multipartBody8493433420642506424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286273911,"filename":"image_04112025_18_14_21_11204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ee36c07d297e62a4e88e49596473dc0.jpg","text":"TemporaryFile(/tmp/multipartBody7806554339872033206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286273911,"filename":"image_04112025_18_14_29_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80e3748a4ee066a842632b8d147ab39f.jpg","text":"TemporaryFile(/tmp/multipartBody602137567336823367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286273911,"filename":"image_04112025_18_14_09_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b520045dd539655fab589f8be087986.jpg","text":"TemporaryFile(/tmp/multipartBody8448707263541940928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286273911,"filename":"image_04112025_18_14_24_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4475a36c285395a2c51e15ca1b3ef7be.jpg","text":"TemporaryFile(/tmp/multipartBody1715893644076657131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286273911,"filename":"image_04112025_18_14_26_1798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034166","file1":"1402034165","file0":"1402034164","file4":"1402034171","file5":"1402034173","file3":"1402034168"},"map_files_photo_id_array":[{"photo_id":"1402034173","filename":"file5"},{"photo_id":"1402034166","filename":"file2"},{"photo_id":"1402034171","filename":"file4"},{"photo_id":"1402034165","filename":"file1"},{"photo_id":"1402034164","filename":"file0"},{"photo_id":"1402034168","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034171":["hashtag1","hashtag2"]},{"1402034165":["hashtag1","hashtag2"]},{"1402034173":["hashtag1","hashtag2"]},{"1402034164":["hashtag1","hashtag2"]},{"1402034166":["hashtag1","hashtag2"]},{"1402034168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034171, 1402034165, 1402034173, 1402034164, 1402034166, 1402034168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98337268829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:51:03.222552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/32/image_01012026_16_32_34_9742.jpg', '/home/pi/Desktop/images/01012026/16/32/image_01012026_16_32_55_9811.jpg', '/home/pi/Desktop/images/01012026/16/33/image_01012026_16_33_24_9653.jpg', '/home/pi/Desktop/images/01012026/16/33/image_01012026_16_33_55_10382.jpg', '/home/pi/Desktop/images/01012026/16/33/image_01012026_16_34_05_9576.jpg', '/home/pi/Desktop/images/01012026/16/34/image_01012026_16_34_14_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/32/image_01012026_16_32_34_9742.jpg
/home/pi/Desktop/images/01012026/16/32/image_01012026_16_32_55_9811.jpg
/home/pi/Desktop/images/01012026/16/33/image_01012026_16_33_24_9653.jpg
/home/pi/Desktop/images/01012026/16/33/image_01012026_16_33_55_10382.jpg
/home/pi/Desktop/images/01012026/16/33/image_01012026_16_34_05_9576.jpg
/home/pi/Desktop/images/01012026/16/34/image_01012026_16_34_14_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":["1402034183","1402034185","1402034188","1402034190","1402034187","1402034186"],"photo_ids_order":["1402034183","1402034185","1402034186","1402034187","1402034188","1402034190"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c2ee83ec3517a4cda18282290991773.jpg","text":"TemporaryFile(/tmp/multipartBody7377035941445914542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286323917,"filename":"image_01012026_16_32_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/990ded4ec50218d3801dfe72145d1beb.jpg","text":"TemporaryFile(/tmp/multipartBody8701255898380823549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286323917,"filename":"image_01012026_16_32_55_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d45ac4340e8275a8c3805a3fff8496e8.jpg","text":"TemporaryFile(/tmp/multipartBody1249157189607903030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286323917,"filename":"image_01012026_16_34_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62b4e96a1217d0a76e6cfcb2be9b6260.jpg","text":"TemporaryFile(/tmp/multipartBody6529642721511407751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286323917,"filename":"image_01012026_16_34_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc8355da5cbf0ffb8cb441addaf2cca7.jpg","text":"TemporaryFile(/tmp/multipartBody2372484461907383910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286323917,"filename":"image_01012026_16_33_55_10382.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7bfd773a86d45aa63408c4d4bd65b952.jpg","text":"TemporaryFile(/tmp/multipartBody156563428318205849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286323917,"filename":"image_01012026_16_33_24_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034186","file1":"1402034185","file0":"1402034183","file4":"1402034188","file5":"1402034190","file3":"1402034187"},"map_files_photo_id_array":[{"photo_id":"1402034190","filename":"file5"},{"photo_id":"1402034186","filename":"file2"},{"photo_id":"1402034188","filename":"file4"},{"photo_id":"1402034185","filename":"file1"},{"photo_id":"1402034183","filename":"file0"},{"photo_id":"1402034187","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034183":["hashtag1","hashtag2"]},{"1402034185":["hashtag1","hashtag2"]},{"1402034188":["hashtag1","hashtag2"]},{"1402034190":["hashtag1","hashtag2"]},{"1402034187":["hashtag1","hashtag2"]},{"1402034186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034183, 1402034185, 1402034188, 1402034190, 1402034187, 1402034186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82246541976929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:51:42.616115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_46_3675.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_51_2721.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_58_2670.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_16_11502.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_33_17463.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_37_3302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_46_3675.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_51_2721.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_58_2670.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_16_11502.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_33_17463.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_37_3302.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.8254201412200928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:52:03.276561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/34/image_01012026_16_34_25_10596.jpg', '/home/pi/Desktop/images/01012026/16/34/image_01012026_16_34_45_10707.jpg', '/home/pi/Desktop/images/01012026/16/34/image_01012026_16_34_55_9789.jpg', '/home/pi/Desktop/images/01012026/16/35/image_01012026_16_35_34_9632.jpg', '/home/pi/Desktop/images/01012026/16/35/image_01012026_16_35_54_9632.jpg', '/home/pi/Desktop/images/01012026/16/36/image_01012026_16_36_24_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/34/image_01012026_16_34_25_10596.jpg
/home/pi/Desktop/images/01012026/16/34/image_01012026_16_34_45_10707.jpg
/home/pi/Desktop/images/01012026/16/34/image_01012026_16_34_55_9789.jpg
/home/pi/Desktop/images/01012026/16/35/image_01012026_16_35_34_9632.jpg
/home/pi/Desktop/images/01012026/16/35/image_01012026_16_35_54_9632.jpg
/home/pi/Desktop/images/01012026/16/36/image_01012026_16_36_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":["1402034207","1402034201","1402034203","1402034209","1402034202","1402034205"],"photo_ids_order":["1402034201","1402034202","1402034203","1402034205","1402034207","1402034209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23c50ba06e05e64e1d455ba78555a8c4.jpg","text":"TemporaryFile(/tmp/multipartBody1920637458441831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286386333,"filename":"image_01012026_16_35_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e3ee13e404425c61cd947b10cd39a35.jpg","text":"TemporaryFile(/tmp/multipartBody1915151097913418838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286386333,"filename":"image_01012026_16_34_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9bd20823d97413fa8b5587a58980100.jpg","text":"TemporaryFile(/tmp/multipartBody8490644917585931286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286386333,"filename":"image_01012026_16_34_55_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf1de54aebba04ace1383403e62457c9.jpg","text":"TemporaryFile(/tmp/multipartBody93861081190726022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286386333,"filename":"image_01012026_16_36_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cc2334fd54f615d2942c70def729b3b.jpg","text":"TemporaryFile(/tmp/multipartBody813129674222613918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286386333,"filename":"image_01012026_16_34_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9b8dc8106c2edde02bb3a433a5c4391.jpg","text":"TemporaryFile(/tmp/multipartBody1518899556960512865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286386333,"filename":"image_01012026_16_35_34_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034203","file1":"1402034202","file0":"1402034201","file4":"1402034207","file5":"1402034209","file3":"1402034205"},"map_files_photo_id_array":[{"photo_id":"1402034209","filename":"file5"},{"photo_id":"1402034203","filename":"file2"},{"photo_id":"1402034207","filename":"file4"},{"photo_id":"1402034202","filename":"file1"},{"photo_id":"1402034201","filename":"file0"},{"photo_id":"1402034205","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034207":["hashtag1","hashtag2"]},{"1402034201":["hashtag1","hashtag2"]},{"1402034203":["hashtag1","hashtag2"]},{"1402034209":["hashtag1","hashtag2"]},{"1402034202":["hashtag1","hashtag2"]},{"1402034205":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034207, 1402034201, 1402034203, 1402034209, 1402034202, 1402034205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.075910329818726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:52:42.863784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_46_3675.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_51_2721.jpg', '/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_58_2670.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_16_11502.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_33_17463.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_37_3302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_46_3675.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_51_2721.jpg
/home/pi/Desktop/images/04112025/18/14/image_04112025_18_14_58_2670.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_16_11502.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_33_17463.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_37_3302.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034219","1402034221","1402034218","1402034220","1402034214","1402034217"],"photo_ids_order":["1402034214","1402034217","1402034218","1402034219","1402034220","1402034221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e51c857de81abc622b3a13067d17c3f3.jpg","text":"TemporaryFile(/tmp/multipartBody7130389107233411008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286424610,"filename":"image_04112025_18_15_16_11502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3ab32e9ac3b5575a64bc920f2855837.jpg","text":"TemporaryFile(/tmp/multipartBody4432831690953507031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286424610,"filename":"image_04112025_18_15_37_3302.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/716dc76f2f1aaa0e4662c0e19f3e2ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4611597382289365737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286424610,"filename":"image_04112025_18_14_58_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b2d7f3b3fb3d79a5fe46e18271a0bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7995730090708403902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286424610,"filename":"image_04112025_18_15_33_17463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62646d198dc453c9f616e1ad3930a0b7.jpg","text":"TemporaryFile(/tmp/multipartBody3021740966245389657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286424610,"filename":"image_04112025_18_14_46_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/833f6d4ca1c2ebc3a659a5d6cdf17a2e.jpg","text":"TemporaryFile(/tmp/multipartBody4828316240151775806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286424610,"filename":"image_04112025_18_14_51_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034218","file1":"1402034217","file0":"1402034214","file4":"1402034220","file5":"1402034221","file3":"1402034219"},"map_files_photo_id_array":[{"photo_id":"1402034221","filename":"file5"},{"photo_id":"1402034218","filename":"file2"},{"photo_id":"1402034220","filename":"file4"},{"photo_id":"1402034217","filename":"file1"},{"photo_id":"1402034214","filename":"file0"},{"photo_id":"1402034219","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034219":["hashtag1","hashtag2"]},{"1402034221":["hashtag1","hashtag2"]},{"1402034218":["hashtag1","hashtag2"]},{"1402034220":["hashtag1","hashtag2"]},{"1402034214":["hashtag1","hashtag2"]},{"1402034217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034219, 1402034221, 1402034218, 1402034220, 1402034214, 1402034217)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.808515548706055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:53:31.953350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_38_1680.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_40_1778.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_42_1677.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_47_1706.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_51_1922.jpg', '/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_57_1911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_38_1680.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_40_1778.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_42_1677.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_47_1706.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_51_1922.jpg
/home/pi/Desktop/images/04112025/18/15/image_04112025_18_15_57_1911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034225","1402034240","1402034239","1402034226","1402034229","1402034238"],"photo_ids_order":["1402034225","1402034226","1402034229","1402034238","1402034239","1402034240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdc769015e90c064ace73f6787b8a1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3378857162128225378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286473701,"filename":"image_04112025_18_15_38_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11dfa9c1e537a9b6d26c3b42e01e8526.jpg","text":"TemporaryFile(/tmp/multipartBody8288240330504194138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286473701,"filename":"image_04112025_18_15_57_1911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd41d5840a044c4e62f03d4b3fe7270d.jpg","text":"TemporaryFile(/tmp/multipartBody62132376213942972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286473701,"filename":"image_04112025_18_15_51_1922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ffb7fdbde9a28d7bc8e926f0df97cec.jpg","text":"TemporaryFile(/tmp/multipartBody7451084725176587666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286473701,"filename":"image_04112025_18_15_40_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49816fc03a0c71683b98ad2c13a48171.jpg","text":"TemporaryFile(/tmp/multipartBody8136517105378885955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286473701,"filename":"image_04112025_18_15_42_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6518c77fa72ffc88b0a163e8f0a24950.jpg","text":"TemporaryFile(/tmp/multipartBody7216782122550050513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286473701,"filename":"image_04112025_18_15_47_1706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034229","file1":"1402034226","file0":"1402034225","file4":"1402034239","file5":"1402034240","file3":"1402034238"},"map_files_photo_id_array":[{"photo_id":"1402034240","filename":"file5"},{"photo_id":"1402034229","filename":"file2"},{"photo_id":"1402034239","filename":"file4"},{"photo_id":"1402034226","filename":"file1"},{"photo_id":"1402034225","filename":"file0"},{"photo_id":"1402034238","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034225":["hashtag1","hashtag2"]},{"1402034240":["hashtag1","hashtag2"]},{"1402034239":["hashtag1","hashtag2"]},{"1402034226":["hashtag1","hashtag2"]},{"1402034229":["hashtag1","hashtag2"]},{"1402034238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034225, 1402034240, 1402034239, 1402034226, 1402034229, 1402034238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32098078727722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:54:12.315469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_08_1769.jpg', '/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_12_2637.jpg', '/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_22_2706.jpg', '/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_42_20659.jpg', '/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_58_1803.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_02_3781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_08_1769.jpg
/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_12_2637.jpg
/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_22_2706.jpg
/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_42_20659.jpg
/home/pi/Desktop/images/04112025/18/16/image_04112025_18_16_58_1803.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_02_3781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034249","1402034243","1402034242","1402034245","1402034247","1402034241"],"photo_ids_order":["1402034241","1402034242","1402034243","1402034245","1402034247","1402034249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6db2f4ebef7524206fa3f68f3a450be.jpg","text":"TemporaryFile(/tmp/multipartBody7409938842008117808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286514089,"filename":"image_04112025_18_17_02_3781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c291e9736ea8cf8059d46f1f1deefd18.jpg","text":"TemporaryFile(/tmp/multipartBody4024741771530933298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286514089,"filename":"image_04112025_18_16_22_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/339c2553fe5930a3ec604b91c97c9660.jpg","text":"TemporaryFile(/tmp/multipartBody411448339250088529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286514089,"filename":"image_04112025_18_16_12_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c758af7d488ff6a20095418dc4f3ba87.jpg","text":"TemporaryFile(/tmp/multipartBody924692145410083142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286514089,"filename":"image_04112025_18_16_42_20659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/182b0f7829bb68f2590128b2e53fedbe.jpg","text":"TemporaryFile(/tmp/multipartBody9222619658552018609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286514089,"filename":"image_04112025_18_16_58_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8132582d65c01096d9af809abf964742.jpg","text":"TemporaryFile(/tmp/multipartBody8562346111481214590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286514089,"filename":"image_04112025_18_16_08_1769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034243","file1":"1402034242","file0":"1402034241","file4":"1402034247","file5":"1402034249","file3":"1402034245"},"map_files_photo_id_array":[{"photo_id":"1402034249","filename":"file5"},{"photo_id":"1402034243","filename":"file2"},{"photo_id":"1402034247","filename":"file4"},{"photo_id":"1402034242","filename":"file1"},{"photo_id":"1402034241","filename":"file0"},{"photo_id":"1402034245","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034249":["hashtag1","hashtag2"]},{"1402034243":["hashtag1","hashtag2"]},{"1402034242":["hashtag1","hashtag2"]},{"1402034245":["hashtag1","hashtag2"]},{"1402034247":["hashtag1","hashtag2"]},{"1402034241":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034249, 1402034243, 1402034242, 1402034245, 1402034247, 1402034241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55975151062012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:55:02.876666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/36/image_01012026_16_36_34_9854.jpg', '/home/pi/Desktop/images/01012026/16/36/image_01012026_16_36_53_9840.jpg', '/home/pi/Desktop/images/01012026/16/36/image_01012026_16_37_04_10688.jpg', '/home/pi/Desktop/images/01012026/16/37/image_01012026_16_37_23_9628.jpg', '/home/pi/Desktop/images/01012026/16/37/image_01012026_16_38_04_10673.jpg', '/home/pi/Desktop/images/01012026/16/38/image_01012026_16_38_14_9557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/36/image_01012026_16_36_34_9854.jpg
/home/pi/Desktop/images/01012026/16/36/image_01012026_16_36_53_9840.jpg
/home/pi/Desktop/images/01012026/16/36/image_01012026_16_37_04_10688.jpg
/home/pi/Desktop/images/01012026/16/37/image_01012026_16_37_23_9628.jpg
/home/pi/Desktop/images/01012026/16/37/image_01012026_16_38_04_10673.jpg
/home/pi/Desktop/images/01012026/16/38/image_01012026_16_38_14_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":["1402034255","1402034260","1402034257","1402034262","1402034259","1402034256"],"photo_ids_order":["1402034255","1402034256","1402034257","1402034259","1402034260","1402034262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c14bb163a313446ae000539a7dc0e288.jpg","text":"TemporaryFile(/tmp/multipartBody8960127063490842250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286563561,"filename":"image_01012026_16_36_34_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b34a0a2b8c9b1c45a421bc579f13e069.jpg","text":"TemporaryFile(/tmp/multipartBody9028312004950711671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286563561,"filename":"image_01012026_16_38_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e096ea1eba606991c413e1a3f481979d.jpg","text":"TemporaryFile(/tmp/multipartBody1740883800915385098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286563561,"filename":"image_01012026_16_37_04_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d8985dd90b5febbea78cb0ffed4d266.jpg","text":"TemporaryFile(/tmp/multipartBody928948413691944282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286563561,"filename":"image_01012026_16_38_14_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56a9fb51b9bf8ac4fdf0f83dc7027c5f.jpg","text":"TemporaryFile(/tmp/multipartBody3188286395231709362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286563561,"filename":"image_01012026_16_37_23_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52fa8f613fa3179d99013d38337621c8.jpg","text":"TemporaryFile(/tmp/multipartBody5774778884428086436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286563561,"filename":"image_01012026_16_36_53_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034257","file1":"1402034256","file0":"1402034255","file4":"1402034260","file5":"1402034262","file3":"1402034259"},"map_files_photo_id_array":[{"photo_id":"1402034262","filename":"file5"},{"photo_id":"1402034257","filename":"file2"},{"photo_id":"1402034260","filename":"file4"},{"photo_id":"1402034256","filename":"file1"},{"photo_id":"1402034255","filename":"file0"},{"photo_id":"1402034259","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034255":["hashtag1","hashtag2"]},{"1402034260":["hashtag1","hashtag2"]},{"1402034257":["hashtag1","hashtag2"]},{"1402034262":["hashtag1","hashtag2"]},{"1402034259":["hashtag1","hashtag2"]},{"1402034256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034255, 1402034260, 1402034257, 1402034262, 1402034259, 1402034256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34074902534485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:55:42.413167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_03_1807.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_05_1709.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_07_1646.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_08_1737.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_10_1844.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_13_1627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_03_1807.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_05_1709.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_07_1646.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_08_1737.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_10_1844.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_13_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":["1402034270","1402034272","1402034271","1402034274","1402034268","1402034273"],"photo_ids_order":["1402034268","1402034270","1402034271","1402034272","1402034273","1402034274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fe8767c25f5e7e912c554eaf184416e.jpg","text":"TemporaryFile(/tmp/multipartBody5654452012398054101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286604322,"filename":"image_04112025_18_17_05_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e262638a8bc9274d56fd19b3b9789c5.jpg","text":"TemporaryFile(/tmp/multipartBody451066603672150357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286604322,"filename":"image_04112025_18_17_08_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eadc23c5127633622ab865490946c87d.jpg","text":"TemporaryFile(/tmp/multipartBody1124718974588163346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286604322,"filename":"image_04112025_18_17_07_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96285579b6faf68ba4a644dc1a36e113.jpg","text":"TemporaryFile(/tmp/multipartBody110743834227322116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286604322,"filename":"image_04112025_18_17_13_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/098ca110ce97abe5d4e5e583a3d6dca3.jpg","text":"TemporaryFile(/tmp/multipartBody4249299919488542171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286604322,"filename":"image_04112025_18_17_03_1807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b11401fdc561ec363456a2ce4bf6c26b.jpg","text":"TemporaryFile(/tmp/multipartBody1944783154650794874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286604322,"filename":"image_04112025_18_17_10_1844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034271","file1":"1402034270","file0":"1402034268","file4":"1402034273","file5":"1402034274","file3":"1402034272"},"map_files_photo_id_array":[{"photo_id":"1402034274","filename":"file5"},{"photo_id":"1402034271","filename":"file2"},{"photo_id":"1402034273","filename":"file4"},{"photo_id":"1402034270","filename":"file1"},{"photo_id":"1402034268","filename":"file0"},{"photo_id":"1402034272","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034270":["hashtag1","hashtag2"]},{"1402034272":["hashtag1","hashtag2"]},{"1402034271":["hashtag1","hashtag2"]},{"1402034274":["hashtag1","hashtag2"]},{"1402034268":["hashtag1","hashtag2"]},{"1402034273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034270, 1402034272, 1402034271, 1402034274, 1402034268, 1402034273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.534669637680054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 17:56:22.624595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/38/image_01012026_16_38_44_9628.jpg', '/home/pi/Desktop/images/01012026/16/38/image_01012026_16_39_04_10535.jpg', '/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_14_9702.jpg', '/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_23_9683.jpg', '/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_34_10583.jpg', '/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_44_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/38/image_01012026_16_38_44_9628.jpg
/home/pi/Desktop/images/01012026/16/38/image_01012026_16_39_04_10535.jpg
/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_14_9702.jpg
/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_23_9683.jpg
/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_34_10583.jpg
/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_44_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034276","1402034278","1402034281","1402034280","1402034283","1402034291"],"photo_ids_order":["1402034276","1402034278","1402034280","1402034281","1402034283","1402034291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14c2338669089582f38ee7db1165d888.jpg","text":"TemporaryFile(/tmp/multipartBody3083111194356955142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286643197,"filename":"image_01012026_16_38_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe3ccfe6e1cc6604ddd31d82dbe1ddfc.jpg","text":"TemporaryFile(/tmp/multipartBody4190452901986691973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286643197,"filename":"image_01012026_16_39_04_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45bf6e16d18498c17ea06df736dec3c0.jpg","text":"TemporaryFile(/tmp/multipartBody3728786910943409793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286643197,"filename":"image_01012026_16_39_23_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c89574d02b01c4cd9bc33e6c9b37988.jpg","text":"TemporaryFile(/tmp/multipartBody1326559296026130760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286643197,"filename":"image_01012026_16_39_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c41f6ee9c310ccba631f961616eac9db.jpg","text":"TemporaryFile(/tmp/multipartBody2018766487673315488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286643197,"filename":"image_01012026_16_39_34_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/506e0aae0664da6811f4778b4ba55969.jpg","text":"TemporaryFile(/tmp/multipartBody6303975984143759539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286643197,"filename":"image_01012026_16_39_44_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034280","file1":"1402034278","file0":"1402034276","file4":"1402034283","file5":"1402034291","file3":"1402034281"},"map_files_photo_id_array":[{"photo_id":"1402034291","filename":"file5"},{"photo_id":"1402034280","filename":"file2"},{"photo_id":"1402034283","filename":"file4"},{"photo_id":"1402034278","filename":"file1"},{"photo_id":"1402034276","filename":"file0"},{"photo_id":"1402034281","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034276":["hashtag1","hashtag2"]},{"1402034278":["hashtag1","hashtag2"]},{"1402034281":["hashtag1","hashtag2"]},{"1402034280":["hashtag1","hashtag2"]},{"1402034283":["hashtag1","hashtag2"]},{"1402034291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034276, 1402034278, 1402034281, 1402034280, 1402034283, 1402034291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.700002670288086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:57:03.377540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_53_9595.jpg', '/home/pi/Desktop/images/01012026/16/40/image_01012026_16_40_25_10545.jpg', '/home/pi/Desktop/images/01012026/16/40/image_01012026_16_40_35_10186.jpg', '/home/pi/Desktop/images/01012026/16/40/image_01012026_16_40_44_9464.jpg', '/home/pi/Desktop/images/01012026/16/40/image_01012026_16_41_05_9656.jpg', '/home/pi/Desktop/images/01012026/16/41/image_01012026_16_41_25_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/39/image_01012026_16_39_53_9595.jpg
/home/pi/Desktop/images/01012026/16/40/image_01012026_16_40_25_10545.jpg
/home/pi/Desktop/images/01012026/16/40/image_01012026_16_40_35_10186.jpg
/home/pi/Desktop/images/01012026/16/40/image_01012026_16_40_44_9464.jpg
/home/pi/Desktop/images/01012026/16/40/image_01012026_16_41_05_9656.jpg
/home/pi/Desktop/images/01012026/16/41/image_01012026_16_41_25_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034297","1402034300","1402034299","1402034303","1402034298","1402034301"],"photo_ids_order":["1402034297","1402034298","1402034299","1402034300","1402034301","1402034303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ed2ae581f920ff4bcd47844ca69a275.jpg","text":"TemporaryFile(/tmp/multipartBody3998406171804840643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286684004,"filename":"image_01012026_16_39_53_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7db5948ac4a6fc7324c2ac5239eab040.jpg","text":"TemporaryFile(/tmp/multipartBody5165673257168218906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286684004,"filename":"image_01012026_16_40_44_9464.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dbed4f008a1c236d461df7b4991c2a4.jpg","text":"TemporaryFile(/tmp/multipartBody123344312700402425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286684004,"filename":"image_01012026_16_40_35_10186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c84f05031bc1e1f97e2207f4a472c121.jpg","text":"TemporaryFile(/tmp/multipartBody2492703770600654506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286684004,"filename":"image_01012026_16_41_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40e2d1987ab8a09f6b991a6605c0e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody909089135865679693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286684004,"filename":"image_01012026_16_40_25_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/259925b6f2d94bf5e4c7ba666c7e42f6.jpg","text":"TemporaryFile(/tmp/multipartBody9176516505369049051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286684004,"filename":"image_01012026_16_41_05_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034299","file1":"1402034298","file0":"1402034297","file4":"1402034301","file5":"1402034303","file3":"1402034300"},"map_files_photo_id_array":[{"photo_id":"1402034303","filename":"file5"},{"photo_id":"1402034299","filename":"file2"},{"photo_id":"1402034301","filename":"file4"},{"photo_id":"1402034298","filename":"file1"},{"photo_id":"1402034297","filename":"file0"},{"photo_id":"1402034300","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034297":["hashtag1","hashtag2"]},{"1402034300":["hashtag1","hashtag2"]},{"1402034299":["hashtag1","hashtag2"]},{"1402034303":["hashtag1","hashtag2"]},{"1402034298":["hashtag1","hashtag2"]},{"1402034301":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034297, 1402034300, 1402034299, 1402034303, 1402034298, 1402034301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.031171560287476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:57:42.851728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_15_1927.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_25_9181.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_26_1627.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_28_1850.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_30_1778.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_31_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_15_1927.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_25_9181.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_26_1627.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_28_1850.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_30_1778.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_31_1625.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402034312","1402034309","1402034314","1402034311","1402034313","1402034310"],"photo_ids_order":["1402034309","1402034310","1402034311","1402034312","1402034313","1402034314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b7e79be7d9fe3971a6fcec37b2ac392.jpg","text":"TemporaryFile(/tmp/multipartBody4437314106354918095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286724737,"filename":"image_04112025_18_17_28_1850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ee751f5b251d7ec193a7995150fb491.jpg","text":"TemporaryFile(/tmp/multipartBody3643510315807832492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286724737,"filename":"image_04112025_18_17_15_1927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a3c23fb9636989d9aeca55bf670d741.jpg","text":"TemporaryFile(/tmp/multipartBody8285760632014777660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286724737,"filename":"image_04112025_18_17_31_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa52490a3023d0b7393f5f6260ecd882.jpg","text":"TemporaryFile(/tmp/multipartBody8587628663026532033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286724737,"filename":"image_04112025_18_17_26_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc6e900c31d1203ac562ee6ace4bda54.jpg","text":"TemporaryFile(/tmp/multipartBody5183634544741354766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286724737,"filename":"image_04112025_18_17_30_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/220bec0ba52eddf9f047aefcb31bda77.jpg","text":"TemporaryFile(/tmp/multipartBody8013215046428430511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286724737,"filename":"image_04112025_18_17_25_9181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034311","file1":"1402034310","file0":"1402034309","file4":"1402034313","file5":"1402034314","file3":"1402034312"},"map_files_photo_id_array":[{"photo_id":"1402034314","filename":"file5"},{"photo_id":"1402034311","filename":"file2"},{"photo_id":"1402034313","filename":"file4"},{"photo_id":"1402034310","filename":"file1"},{"photo_id":"1402034309","filename":"file0"},{"photo_id":"1402034312","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402034312":["hashtag1","hashtag2"]},{"1402034309":["hashtag1","hashtag2"]},{"1402034314":["hashtag1","hashtag2"]},{"1402034311":["hashtag1","hashtag2"]},{"1402034313":["hashtag1","hashtag2"]},{"1402034310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402034312, 1402034309, 1402034314, 1402034311, 1402034313, 1402034310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566306591033936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 17:59:03.182852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/41/image_01012026_16_41_35_9679.jpg', '/home/pi/Desktop/images/01012026/16/41/image_01012026_16_41_44_9651.jpg', '/home/pi/Desktop/images/01012026/16/41/image_01012026_16_41_55_10672.jpg', '/home/pi/Desktop/images/01012026/16/41/image_01012026_16_42_05_9682.jpg', '/home/pi/Desktop/images/01012026/16/42/image_01012026_16_42_35_9716.jpg', '/home/pi/Desktop/images/01012026/16/43/image_01012026_16_43_14_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/41/image_01012026_16_41_35_9679.jpg
/home/pi/Desktop/images/01012026/16/41/image_01012026_16_41_44_9651.jpg
/home/pi/Desktop/images/01012026/16/41/image_01012026_16_41_55_10672.jpg
/home/pi/Desktop/images/01012026/16/41/image_01012026_16_42_05_9682.jpg
/home/pi/Desktop/images/01012026/16/42/image_01012026_16_42_35_9716.jpg
/home/pi/Desktop/images/01012026/16/43/image_01012026_16_43_14_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":["1402034672","1402034598","1402034521","1402034419","1402034469","1402034748"],"photo_ids_order":["1402034419","1402034469","1402034521","1402034598","1402034672","1402034748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e79fbd30fdade47646ac54980370f337.jpg","text":"TemporaryFile(/tmp/multipartBody4106300219785663181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286803982,"filename":"image_01012026_16_42_35_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd5426154ecd3ff2f802b692cceef0d0.jpg","text":"TemporaryFile(/tmp/multipartBody1384623020313748745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286803982,"filename":"image_01012026_16_42_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1027249a584a61e41dea26100c1ea9f4.jpg","text":"TemporaryFile(/tmp/multipartBody2671251848219091659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286803982,"filename":"image_01012026_16_41_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5114ac2344d890572ff9e5ed7cbbe19.jpg","text":"TemporaryFile(/tmp/multipartBody6238611563454914675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286803982,"filename":"image_01012026_16_41_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7aac97868236b9fcdc8d123dd29642d.jpg","text":"TemporaryFile(/tmp/multipartBody1056062704774012256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286803982,"filename":"image_01012026_16_41_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/292e0ec942a5d81407351ba997101d86.jpg","text":"TemporaryFile(/tmp/multipartBody1745499743789727034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286803982,"filename":"image_01012026_16_43_14_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402034521","file1":"1402034469","file0":"1402034419","file4":"1402034672","file5":"1402034748","file3":"1402034598"},"map_files_photo_id_array":[{"photo_id":"1402034748","filename":"file5"},{"photo_id":"1402034521","filename":"file2"},{"photo_id":"1402034672","filename":"file4"},{"photo_id":"1402034469","filename":"file1"},{"photo_id":"1402034419","filename":"file0"},{"photo_id":"1402034598","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402034672":["hashtag1","hashtag2"]},{"1402034598":["hashtag1","hashtag2"]},{"1402034521":["hashtag1","hashtag2"]},{"1402034419":["hashtag1","hashtag2"]},{"1402034469":["hashtag1","hashtag2"]},{"1402034748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402034672, 1402034598, 1402034521, 1402034419, 1402034469, 1402034748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.170586824417114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 17:59:42.233741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_33_1604.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_35_1657.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_37_1755.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_41_4084.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_42_1570.jpg', '/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_51_8446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_33_1604.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_35_1657.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_37_1755.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_41_4084.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_42_1570.jpg
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_51_8446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035005","1402035280","1402035241","1402035165","1402035204","1402035092"],"photo_ids_order":["1402035005","1402035092","1402035165","1402035204","1402035241","1402035280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/560546852860b8c7f84d1aca475a2936.jpg","text":"TemporaryFile(/tmp/multipartBody6830550074872280039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286844106,"filename":"image_04112025_18_17_33_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/945f088c0c2b060bfbde4391011489d9.jpg","text":"TemporaryFile(/tmp/multipartBody6158468499071984164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286844106,"filename":"image_04112025_18_17_51_8446.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c30102b3ab54ecd82229584d2b41036.jpg","text":"TemporaryFile(/tmp/multipartBody5231895024082811271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286844106,"filename":"image_04112025_18_17_42_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40040e9db6a7c36f478a850659067ff6.jpg","text":"TemporaryFile(/tmp/multipartBody731434655593597792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286844106,"filename":"image_04112025_18_17_37_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c38e2f142d3ceb27fd9ca95a70eae7d.jpg","text":"TemporaryFile(/tmp/multipartBody6474100327813760490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286844106,"filename":"image_04112025_18_17_41_4084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/024a6e8e0abf5fb7e4aaf8fd157b6247.jpg","text":"TemporaryFile(/tmp/multipartBody7318209608312642972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286844106,"filename":"image_04112025_18_17_35_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035165","file1":"1402035092","file0":"1402035005","file4":"1402035241","file5":"1402035280","file3":"1402035204"},"map_files_photo_id_array":[{"photo_id":"1402035280","filename":"file5"},{"photo_id":"1402035165","filename":"file2"},{"photo_id":"1402035241","filename":"file4"},{"photo_id":"1402035092","filename":"file1"},{"photo_id":"1402035005","filename":"file0"},{"photo_id":"1402035204","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035005":["hashtag1","hashtag2"]},{"1402035280":["hashtag1","hashtag2"]},{"1402035241":["hashtag1","hashtag2"]},{"1402035165":["hashtag1","hashtag2"]},{"1402035204":["hashtag1","hashtag2"]},{"1402035092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035005, 1402035280, 1402035241, 1402035165, 1402035204, 1402035092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9232017993927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:00:22.465898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/43/image_01012026_16_43_45_10596.jpg', '/home/pi/Desktop/images/01012026/16/43/image_01012026_16_44_05_9798.jpg', '/home/pi/Desktop/images/01012026/16/44/image_01012026_16_44_25_10791.jpg', '/home/pi/Desktop/images/01012026/16/45/image_01012026_16_45_14_10042.jpg', '/home/pi/Desktop/images/01012026/16/45/image_01012026_16_45_44_9763.jpg', '/home/pi/Desktop/images/01012026/16/46/image_01012026_16_46_24_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/43/image_01012026_16_43_45_10596.jpg
/home/pi/Desktop/images/01012026/16/43/image_01012026_16_44_05_9798.jpg
/home/pi/Desktop/images/01012026/16/44/image_01012026_16_44_25_10791.jpg
/home/pi/Desktop/images/01012026/16/45/image_01012026_16_45_14_10042.jpg
/home/pi/Desktop/images/01012026/16/45/image_01012026_16_45_44_9763.jpg
/home/pi/Desktop/images/01012026/16/46/image_01012026_16_46_24_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":["1402035518","1402035577","1402035466","1402035319","1402035288","1402035396"],"photo_ids_order":["1402035288","1402035319","1402035396","1402035466","1402035518","1402035577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9e9d8dea2c25fa31547ac9f2d5369be.jpg","text":"TemporaryFile(/tmp/multipartBody4565543041787541328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286883045,"filename":"image_01012026_16_45_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/745cc8830a965c4f6944d975b9a42606.jpg","text":"TemporaryFile(/tmp/multipartBody7890391807104450956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286883045,"filename":"image_01012026_16_46_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/498891a45d41f3fdf0c3d66abe57e900.jpg","text":"TemporaryFile(/tmp/multipartBody5751929836022705567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286883045,"filename":"image_01012026_16_45_14_10042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a6db11526a78b40a50c71a84aa01191.jpg","text":"TemporaryFile(/tmp/multipartBody1844966481466707735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286883045,"filename":"image_01012026_16_44_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a97d3d81e9aa0c15c0c54aeeccb4102.jpg","text":"TemporaryFile(/tmp/multipartBody920885013919915023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286883045,"filename":"image_01012026_16_43_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b44c0ab65022a4c0b07a885821e69100.jpg","text":"TemporaryFile(/tmp/multipartBody7359066670262670899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286883045,"filename":"image_01012026_16_44_25_10791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035396","file1":"1402035319","file0":"1402035288","file4":"1402035518","file5":"1402035577","file3":"1402035466"},"map_files_photo_id_array":[{"photo_id":"1402035577","filename":"file5"},{"photo_id":"1402035396","filename":"file2"},{"photo_id":"1402035518","filename":"file4"},{"photo_id":"1402035319","filename":"file1"},{"photo_id":"1402035288","filename":"file0"},{"photo_id":"1402035466","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035518":["hashtag1","hashtag2"]},{"1402035577":["hashtag1","hashtag2"]},{"1402035466":["hashtag1","hashtag2"]},{"1402035319":["hashtag1","hashtag2"]},{"1402035288":["hashtag1","hashtag2"]},{"1402035396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035518, 1402035577, 1402035466, 1402035319, 1402035288, 1402035396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32826495170593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:01:02.910560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/46/image_01012026_16_46_44_9700.jpg', '/home/pi/Desktop/images/01012026/16/46/image_01012026_16_47_04_9531.jpg', '/home/pi/Desktop/images/01012026/16/47/image_01012026_16_47_24_9906.jpg', '/home/pi/Desktop/images/01012026/16/48/image_01012026_16_48_34_9631.jpg', '/home/pi/Desktop/images/01012026/16/48/image_01012026_16_48_54_9814.jpg', '/home/pi/Desktop/images/01012026/16/49/image_01012026_16_49_14_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/46/image_01012026_16_46_44_9700.jpg
/home/pi/Desktop/images/01012026/16/46/image_01012026_16_47_04_9531.jpg
/home/pi/Desktop/images/01012026/16/47/image_01012026_16_47_24_9906.jpg
/home/pi/Desktop/images/01012026/16/48/image_01012026_16_48_34_9631.jpg
/home/pi/Desktop/images/01012026/16/48/image_01012026_16_48_54_9814.jpg
/home/pi/Desktop/images/01012026/16/49/image_01012026_16_49_14_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035707","1402035673","1402035699","1402035705","1402035671","1402035704"],"photo_ids_order":["1402035671","1402035673","1402035699","1402035704","1402035705","1402035707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f088793cb7dd456e06594b43d2ffe0ae.jpg","text":"TemporaryFile(/tmp/multipartBody7991579706339220622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286924977,"filename":"image_01012026_16_49_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e840ce7e1f9d680f6cd9e263222899d.jpg","text":"TemporaryFile(/tmp/multipartBody2560751945702490857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286924977,"filename":"image_01012026_16_47_04_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81c01ed42db41cd96094d0af806029de.jpg","text":"TemporaryFile(/tmp/multipartBody6474940555141629008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286924977,"filename":"image_01012026_16_47_24_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/beb85f50ae27f94736ab7e364530c356.jpg","text":"TemporaryFile(/tmp/multipartBody2077049641425609067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286924977,"filename":"image_01012026_16_48_54_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c28bef6fca73d49f741e2d1c21a6059.jpg","text":"TemporaryFile(/tmp/multipartBody5573360931961954631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286924977,"filename":"image_01012026_16_46_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29c1d88dbcbfc4e97f0daefda160b28b.jpg","text":"TemporaryFile(/tmp/multipartBody1486131923970378214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286924977,"filename":"image_01012026_16_48_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035699","file1":"1402035673","file0":"1402035671","file4":"1402035705","file5":"1402035707","file3":"1402035704"},"map_files_photo_id_array":[{"photo_id":"1402035707","filename":"file5"},{"photo_id":"1402035699","filename":"file2"},{"photo_id":"1402035705","filename":"file4"},{"photo_id":"1402035673","filename":"file1"},{"photo_id":"1402035671","filename":"file0"},{"photo_id":"1402035704","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035707":["hashtag1","hashtag2"]},{"1402035673":["hashtag1","hashtag2"]},{"1402035699":["hashtag1","hashtag2"]},{"1402035705":["hashtag1","hashtag2"]},{"1402035671":["hashtag1","hashtag2"]},{"1402035704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035707, 1402035673, 1402035699, 1402035705, 1402035671, 1402035704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78734016418457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:01:42.617348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_52_1760.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_08_15624.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_10_1633.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_20_10434.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_24_1750.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_35_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/17/image_04112025_18_17_52_1760.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_08_15624.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_10_1633.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_20_10434.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_24_1750.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_35_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":["1402035713","1402035716","1402035715","1402035718","1402035717","1402035719"],"photo_ids_order":["1402035713","1402035715","1402035716","1402035717","1402035718","1402035719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df23ac5c615344b6c6d1df90014fa26d.jpg","text":"TemporaryFile(/tmp/multipartBody6222786198237384761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286964409,"filename":"image_04112025_18_17_52_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/864e6afe96084e14e26610d1c17cfd47.jpg","text":"TemporaryFile(/tmp/multipartBody6056405548237515945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286964409,"filename":"image_04112025_18_18_10_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e210ce804e15bf69642cba176a616741.jpg","text":"TemporaryFile(/tmp/multipartBody9001135319123997748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286964409,"filename":"image_04112025_18_18_08_15624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ecb12f2f4f1cb982b549d12096bad7d.jpg","text":"TemporaryFile(/tmp/multipartBody8951482737942844574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286964409,"filename":"image_04112025_18_18_24_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/822a81a9390d57f6dd7ccb1f34a17411.jpg","text":"TemporaryFile(/tmp/multipartBody6062057144025256488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286964409,"filename":"image_04112025_18_18_20_10434.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/063d978532676d65152556a7179d4941.jpg","text":"TemporaryFile(/tmp/multipartBody7032573600644366792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767286964409,"filename":"image_04112025_18_18_35_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035716","file1":"1402035715","file0":"1402035713","file4":"1402035718","file5":"1402035719","file3":"1402035717"},"map_files_photo_id_array":[{"photo_id":"1402035719","filename":"file5"},{"photo_id":"1402035716","filename":"file2"},{"photo_id":"1402035718","filename":"file4"},{"photo_id":"1402035715","filename":"file1"},{"photo_id":"1402035713","filename":"file0"},{"photo_id":"1402035717","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035713":["hashtag1","hashtag2"]},{"1402035716":["hashtag1","hashtag2"]},{"1402035715":["hashtag1","hashtag2"]},{"1402035718":["hashtag1","hashtag2"]},{"1402035717":["hashtag1","hashtag2"]},{"1402035719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035713, 1402035716, 1402035715, 1402035718, 1402035717, 1402035719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01278734207153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:02:21.953035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/49/image_01012026_16_49_54_9563.jpg', '/home/pi/Desktop/images/01012026/16/50/image_01012026_16_50_45_10652.jpg', '/home/pi/Desktop/images/01012026/16/51/image_01012026_16_51_24_10672.jpg', '/home/pi/Desktop/images/01012026/16/52/image_01012026_16_52_14_9815.jpg', '/home/pi/Desktop/images/01012026/16/53/image_01012026_16_53_55_10557.jpg', '/home/pi/Desktop/images/01012026/16/54/image_01012026_16_54_25_10622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/49/image_01012026_16_49_54_9563.jpg
/home/pi/Desktop/images/01012026/16/50/image_01012026_16_50_45_10652.jpg
/home/pi/Desktop/images/01012026/16/51/image_01012026_16_51_24_10672.jpg
/home/pi/Desktop/images/01012026/16/52/image_01012026_16_52_14_9815.jpg
/home/pi/Desktop/images/01012026/16/53/image_01012026_16_53_55_10557.jpg
/home/pi/Desktop/images/01012026/16/54/image_01012026_16_54_25_10622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035728","1402035727","1402035732","1402035720","1402035722","1402035725"],"photo_ids_order":["1402035720","1402035722","1402035725","1402035727","1402035728","1402035732"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7610f72f2f39db110812f0a1d0b61db.jpg","text":"TemporaryFile(/tmp/multipartBody6736745467342782721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287002533,"filename":"image_01012026_16_53_55_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e95c3ecaf7246d9a4a9e97c2a4844999.jpg","text":"TemporaryFile(/tmp/multipartBody910796893888580151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287002533,"filename":"image_01012026_16_52_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6774da5ccc5f8a481a52b7d5cd7f8fd.jpg","text":"TemporaryFile(/tmp/multipartBody5066359388242328738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287002533,"filename":"image_01012026_16_54_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cab65cc86797abd22768734d2b59d5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3498482628735106163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287002533,"filename":"image_01012026_16_49_54_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c96b8937cb3be19d60e81e7443d11a65.jpg","text":"TemporaryFile(/tmp/multipartBody8212405489477696857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287002533,"filename":"image_01012026_16_50_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5b34d966a3982e131fc13758bb8c1f3.jpg","text":"TemporaryFile(/tmp/multipartBody9179050805104965977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287002533,"filename":"image_01012026_16_51_24_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035725","file1":"1402035722","file0":"1402035720","file4":"1402035728","file5":"1402035732","file3":"1402035727"},"map_files_photo_id_array":[{"photo_id":"1402035732","filename":"file5"},{"photo_id":"1402035725","filename":"file2"},{"photo_id":"1402035728","filename":"file4"},{"photo_id":"1402035722","filename":"file1"},{"photo_id":"1402035720","filename":"file0"},{"photo_id":"1402035727","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035728":["hashtag1","hashtag2"]},{"1402035727":["hashtag1","hashtag2"]},{"1402035732":["hashtag1","hashtag2"]},{"1402035720":["hashtag1","hashtag2"]},{"1402035722":["hashtag1","hashtag2"]},{"1402035725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035728, 1402035727, 1402035732, 1402035720, 1402035722, 1402035725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.319687366485596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:03:03.313571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/55/image_01012026_16_55_34_9701.jpg', '/home/pi/Desktop/images/01012026/16/55/image_01012026_16_55_44_10554.jpg', '/home/pi/Desktop/images/01012026/16/55/image_01012026_16_56_04_9622.jpg', '/home/pi/Desktop/images/01012026/16/56/image_01012026_16_57_04_10564.jpg', '/home/pi/Desktop/images/01012026/16/57/image_01012026_16_57_34_10611.jpg', '/home/pi/Desktop/images/01012026/16/57/image_01012026_16_58_04_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/55/image_01012026_16_55_34_9701.jpg
/home/pi/Desktop/images/01012026/16/55/image_01012026_16_55_44_10554.jpg
/home/pi/Desktop/images/01012026/16/55/image_01012026_16_56_04_9622.jpg
/home/pi/Desktop/images/01012026/16/56/image_01012026_16_57_04_10564.jpg
/home/pi/Desktop/images/01012026/16/57/image_01012026_16_57_34_10611.jpg
/home/pi/Desktop/images/01012026/16/57/image_01012026_16_58_04_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":["1402035748","1402035742","1402035745","1402035744","1402035743","1402035746"],"photo_ids_order":["1402035742","1402035743","1402035744","1402035745","1402035746","1402035748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9fba1173434087b636b57ed2ffd7732.jpg","text":"TemporaryFile(/tmp/multipartBody2132558981129936700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287043956,"filename":"image_01012026_16_58_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dd14aab5c0b4bab3348ec158fd497b1.jpg","text":"TemporaryFile(/tmp/multipartBody566143973449856032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287043956,"filename":"image_01012026_16_55_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50513704c845edf12d06276fd3d18173.jpg","text":"TemporaryFile(/tmp/multipartBody4464449100117996539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287043956,"filename":"image_01012026_16_57_04_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb8146db95cbb7f4e1887604b89cafa9.jpg","text":"TemporaryFile(/tmp/multipartBody7356026043122430705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287043956,"filename":"image_01012026_16_56_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f688dd8c3bef0d047dfa34633ef50e74.jpg","text":"TemporaryFile(/tmp/multipartBody228146700205410242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287043956,"filename":"image_01012026_16_55_44_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4381e48e63da307922c3bf68d350848.jpg","text":"TemporaryFile(/tmp/multipartBody2347808225705246424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287043956,"filename":"image_01012026_16_57_34_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035744","file1":"1402035743","file0":"1402035742","file4":"1402035746","file5":"1402035748","file3":"1402035745"},"map_files_photo_id_array":[{"photo_id":"1402035748","filename":"file5"},{"photo_id":"1402035744","filename":"file2"},{"photo_id":"1402035746","filename":"file4"},{"photo_id":"1402035743","filename":"file1"},{"photo_id":"1402035742","filename":"file0"},{"photo_id":"1402035745","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035748":["hashtag1","hashtag2"]},{"1402035742":["hashtag1","hashtag2"]},{"1402035745":["hashtag1","hashtag2"]},{"1402035744":["hashtag1","hashtag2"]},{"1402035743":["hashtag1","hashtag2"]},{"1402035746":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035748, 1402035742, 1402035745, 1402035744, 1402035743, 1402035746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.496166706085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:03:42.706369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_36_1777.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_45_1614.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_46_1616.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_48_1862.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_50_1737.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_53_1724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_36_1777.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_45_1614.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_46_1616.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_48_1862.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_50_1737.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_53_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":["1402035760","1402035757","1402035759","1402035761","1402035755","1402035758"],"photo_ids_order":["1402035755","1402035757","1402035758","1402035759","1402035760","1402035761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fde4e1e0c53e80bacc03c4494a15ab61.jpg","text":"TemporaryFile(/tmp/multipartBody1022845577406943658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287084582,"filename":"image_04112025_18_18_50_1737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93cc5c870d716a2a8ef6400fad6df7df.jpg","text":"TemporaryFile(/tmp/multipartBody331949656120801740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287084582,"filename":"image_04112025_18_18_45_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b6a030ef273d2fa535661075e2cda21.jpg","text":"TemporaryFile(/tmp/multipartBody3865876502175642930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287084582,"filename":"image_04112025_18_18_48_1862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e71df05b2b97ea866220096b44de5fe.jpg","text":"TemporaryFile(/tmp/multipartBody4006260598504386937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287084582,"filename":"image_04112025_18_18_53_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/875e0a4ee2b9313ee49b8e349fbba659.jpg","text":"TemporaryFile(/tmp/multipartBody730329806640376944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287084582,"filename":"image_04112025_18_18_36_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fdb606726d6804a57ffc461f6c2d367.jpg","text":"TemporaryFile(/tmp/multipartBody643959732650356652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287084582,"filename":"image_04112025_18_18_46_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035758","file1":"1402035757","file0":"1402035755","file4":"1402035760","file5":"1402035761","file3":"1402035759"},"map_files_photo_id_array":[{"photo_id":"1402035761","filename":"file5"},{"photo_id":"1402035758","filename":"file2"},{"photo_id":"1402035760","filename":"file4"},{"photo_id":"1402035757","filename":"file1"},{"photo_id":"1402035755","filename":"file0"},{"photo_id":"1402035759","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035760":["hashtag1","hashtag2"]},{"1402035757":["hashtag1","hashtag2"]},{"1402035759":["hashtag1","hashtag2"]},{"1402035761":["hashtag1","hashtag2"]},{"1402035755":["hashtag1","hashtag2"]},{"1402035758":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035760, 1402035757, 1402035759, 1402035761, 1402035755, 1402035758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02951383590698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:04:21.912564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/16/58/image_01012026_16_58_44_9581.jpg', '/home/pi/Desktop/images/01012026/17/03/image_01012026_17_03_55_9664.jpg', '/home/pi/Desktop/images/01012026/17/06/image_01012026_17_06_15_10568.jpg', '/home/pi/Desktop/images/01012026/17/07/image_01012026_17_07_25_9601.jpg', '/home/pi/Desktop/images/01012026/17/09/image_01012026_17_09_54_9629.jpg', '/home/pi/Desktop/images/01012026/17/12/image_01012026_17_12_24_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/16/58/image_01012026_16_58_44_9581.jpg
/home/pi/Desktop/images/01012026/17/03/image_01012026_17_03_55_9664.jpg
/home/pi/Desktop/images/01012026/17/06/image_01012026_17_06_15_10568.jpg
/home/pi/Desktop/images/01012026/17/07/image_01012026_17_07_25_9601.jpg
/home/pi/Desktop/images/01012026/17/09/image_01012026_17_09_54_9629.jpg
/home/pi/Desktop/images/01012026/17/12/image_01012026_17_12_24_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035766","1402035762","1402035768","1402035773","1402035770","1402035764"],"photo_ids_order":["1402035762","1402035764","1402035766","1402035768","1402035770","1402035773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be6cd3b84fda9efa1178dcceb2af7f28.jpg","text":"TemporaryFile(/tmp/multipartBody5637024062063811353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287122475,"filename":"image_01012026_17_06_15_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a37a04d56045f35dfb8070bcc21578e.jpg","text":"TemporaryFile(/tmp/multipartBody7898832216097734314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287122475,"filename":"image_01012026_16_58_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b0137374be230a650e2067aef2c08a0.jpg","text":"TemporaryFile(/tmp/multipartBody424843508392477095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287122475,"filename":"image_01012026_17_07_25_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a4bff19d1a6450574feea061eae47d5.jpg","text":"TemporaryFile(/tmp/multipartBody7300832958196418922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287122475,"filename":"image_01012026_17_12_24_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0e38c2a15e13e2c1d0a1c9775237d1a.jpg","text":"TemporaryFile(/tmp/multipartBody3450647298984120490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287122475,"filename":"image_01012026_17_09_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5447832f59da3b4279f992becc3db7e9.jpg","text":"TemporaryFile(/tmp/multipartBody2212817350334290850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287122475,"filename":"image_01012026_17_03_55_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035766","file1":"1402035764","file0":"1402035762","file4":"1402035770","file5":"1402035773","file3":"1402035768"},"map_files_photo_id_array":[{"photo_id":"1402035773","filename":"file5"},{"photo_id":"1402035766","filename":"file2"},{"photo_id":"1402035770","filename":"file4"},{"photo_id":"1402035764","filename":"file1"},{"photo_id":"1402035762","filename":"file0"},{"photo_id":"1402035768","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035766":["hashtag1","hashtag2"]},{"1402035762":["hashtag1","hashtag2"]},{"1402035768":["hashtag1","hashtag2"]},{"1402035773":["hashtag1","hashtag2"]},{"1402035770":["hashtag1","hashtag2"]},{"1402035764":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035766, 1402035762, 1402035768, 1402035773, 1402035770, 1402035764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45463466644287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:05:02.802131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/26/image_01012026_17_26_34_10577.jpg', '/home/pi/Desktop/images/01012026/17/29/image_01012026_17_29_34_9586.jpg', '/home/pi/Desktop/images/01012026/17/31/image_01012026_17_31_54_9599.jpg', '/home/pi/Desktop/images/01012026/17/32/image_01012026_17_32_24_10648.jpg', '/home/pi/Desktop/images/01012026/17/33/image_01012026_17_33_24_10653.jpg', '/home/pi/Desktop/images/01012026/17/35/image_01012026_17_35_44_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/26/image_01012026_17_26_34_10577.jpg
/home/pi/Desktop/images/01012026/17/29/image_01012026_17_29_34_9586.jpg
/home/pi/Desktop/images/01012026/17/31/image_01012026_17_31_54_9599.jpg
/home/pi/Desktop/images/01012026/17/32/image_01012026_17_32_24_10648.jpg
/home/pi/Desktop/images/01012026/17/33/image_01012026_17_33_24_10653.jpg
/home/pi/Desktop/images/01012026/17/35/image_01012026_17_35_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":["1402035778","1402035781","1402035775","1402035777","1402035776","1402035779"],"photo_ids_order":["1402035775","1402035776","1402035777","1402035778","1402035779","1402035781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca0e45a1d3dd86ee9e1e93b170d5c580.jpg","text":"TemporaryFile(/tmp/multipartBody6384185143514562860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287163448,"filename":"image_01012026_17_32_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71d47c55298ec3bf6fcede4fa7c57d32.jpg","text":"TemporaryFile(/tmp/multipartBody3737370716129401348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287163448,"filename":"image_01012026_17_35_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1fc799ab45a2463f9b85df3d5e5dc42.jpg","text":"TemporaryFile(/tmp/multipartBody8238991367329837348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287163448,"filename":"image_01012026_17_26_34_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8899e22815572c00fd73518249c23593.jpg","text":"TemporaryFile(/tmp/multipartBody5734869303077382267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287163448,"filename":"image_01012026_17_31_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd4f079a75dffc0a891f9177aaada9de.jpg","text":"TemporaryFile(/tmp/multipartBody7713833876424844979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287163448,"filename":"image_01012026_17_29_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c714966b1e2b5f68d040c21ba70765c.jpg","text":"TemporaryFile(/tmp/multipartBody2637585112465026116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287163448,"filename":"image_01012026_17_33_24_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035777","file1":"1402035776","file0":"1402035775","file4":"1402035779","file5":"1402035781","file3":"1402035778"},"map_files_photo_id_array":[{"photo_id":"1402035781","filename":"file5"},{"photo_id":"1402035777","filename":"file2"},{"photo_id":"1402035779","filename":"file4"},{"photo_id":"1402035776","filename":"file1"},{"photo_id":"1402035775","filename":"file0"},{"photo_id":"1402035778","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035778":["hashtag1","hashtag2"]},{"1402035781":["hashtag1","hashtag2"]},{"1402035775":["hashtag1","hashtag2"]},{"1402035777":["hashtag1","hashtag2"]},{"1402035776":["hashtag1","hashtag2"]},{"1402035779":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035778, 1402035781, 1402035775, 1402035777, 1402035776, 1402035779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25332283973694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:05:42.108472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_55_1580.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_57_1683.jpg', '/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_58_1596.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_02_4215.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_06_1689.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_07_1618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_55_1580.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_57_1683.jpg
/home/pi/Desktop/images/04112025/18/18/image_04112025_18_18_58_1596.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_02_4215.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_06_1689.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_07_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":["1402035796","1402035800","1402035799","1402035787","1402035798","1402035797"],"photo_ids_order":["1402035787","1402035796","1402035797","1402035798","1402035799","1402035800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/147c65fb7fb5114611f1f0fa213ad7ea.jpg","text":"TemporaryFile(/tmp/multipartBody2458267058481438580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287203979,"filename":"image_04112025_18_18_57_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71c52fe02bb661fd53eaf08d8db24d20.jpg","text":"TemporaryFile(/tmp/multipartBody4323217082610676808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287203979,"filename":"image_04112025_18_19_07_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4931346a3c7a2b10d5048137e83bcfd5.jpg","text":"TemporaryFile(/tmp/multipartBody4479527510739180019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287203979,"filename":"image_04112025_18_19_06_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b8a7366e70a292c1c39bdfd6c240b4f.jpg","text":"TemporaryFile(/tmp/multipartBody7931008651437590605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287203979,"filename":"image_04112025_18_18_55_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf772d10dd11dc7e535e5c6be388d76e.jpg","text":"TemporaryFile(/tmp/multipartBody8107600524676290969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287203979,"filename":"image_04112025_18_19_02_4215.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0134f3ebca0f391e2ab3119f98c3327.jpg","text":"TemporaryFile(/tmp/multipartBody5079826846947965602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287203979,"filename":"image_04112025_18_18_58_1596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035797","file1":"1402035796","file0":"1402035787","file4":"1402035799","file5":"1402035800","file3":"1402035798"},"map_files_photo_id_array":[{"photo_id":"1402035800","filename":"file5"},{"photo_id":"1402035797","filename":"file2"},{"photo_id":"1402035799","filename":"file4"},{"photo_id":"1402035796","filename":"file1"},{"photo_id":"1402035787","filename":"file0"},{"photo_id":"1402035798","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035796":["hashtag1","hashtag2"]},{"1402035800":["hashtag1","hashtag2"]},{"1402035799":["hashtag1","hashtag2"]},{"1402035787":["hashtag1","hashtag2"]},{"1402035798":["hashtag1","hashtag2"]},{"1402035797":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035796, 1402035800, 1402035799, 1402035787, 1402035798, 1402035797)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.618916273117065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:06:32.291603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_23_1726.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_24_1633.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_26_1739.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_28_1967.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_31_1875.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_36_2956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_23_1726.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_24_1633.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_26_1739.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_28_1967.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_31_1875.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_36_2956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035812","1402035806","1402035809","1402035811","1402035813","1402035804"],"photo_ids_order":["1402035804","1402035806","1402035809","1402035811","1402035812","1402035813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/058f57bae0a42bfaded8d0c1a89894e5.jpg","text":"TemporaryFile(/tmp/multipartBody8319227584654911984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287254153,"filename":"image_04112025_18_19_31_1875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3756bc38a06327a0393b1dd72ad5c47f.jpg","text":"TemporaryFile(/tmp/multipartBody2885519677721141587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287254153,"filename":"image_04112025_18_19_24_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed8b229771467886cecdc2567f7ce6fb.jpg","text":"TemporaryFile(/tmp/multipartBody3196325082961115930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287254153,"filename":"image_04112025_18_19_26_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ba6438d149b699dac89a5f3ce7688fb.jpg","text":"TemporaryFile(/tmp/multipartBody182505029013805088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287254153,"filename":"image_04112025_18_19_28_1967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5618f3f263a3184fcfd9aeefc39ff69f.jpg","text":"TemporaryFile(/tmp/multipartBody7628743207560461153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287254153,"filename":"image_04112025_18_19_36_2956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91cdb9df5444ee9063a553c2b8db5446.jpg","text":"TemporaryFile(/tmp/multipartBody3713565688801710623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287254153,"filename":"image_04112025_18_19_23_1726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035809","file1":"1402035806","file0":"1402035804","file4":"1402035812","file5":"1402035813","file3":"1402035811"},"map_files_photo_id_array":[{"photo_id":"1402035813","filename":"file5"},{"photo_id":"1402035809","filename":"file2"},{"photo_id":"1402035812","filename":"file4"},{"photo_id":"1402035806","filename":"file1"},{"photo_id":"1402035804","filename":"file0"},{"photo_id":"1402035811","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035812":["hashtag1","hashtag2"]},{"1402035806":["hashtag1","hashtag2"]},{"1402035809":["hashtag1","hashtag2"]},{"1402035811":["hashtag1","hashtag2"]},{"1402035813":["hashtag1","hashtag2"]},{"1402035804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035812, 1402035806, 1402035809, 1402035811, 1402035813, 1402035804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5101101398468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:07:12.397582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_39_2639.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_51_2911.jpg', '/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_54_3021.jpg', '/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_03_1873.jpg', '/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_09_3589.jpg', '/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_15_2667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_39_2639.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_51_2911.jpg
/home/pi/Desktop/images/04112025/18/19/image_04112025_18_19_54_3021.jpg
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_03_1873.jpg
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_09_3589.jpg
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_15_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":["1402035823","1402035817","1402035825","1402035819","1402035816","1402035821"],"photo_ids_order":["1402035816","1402035817","1402035819","1402035821","1402035823","1402035825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/241319783066db6858290bbf8a82f70d.jpg","text":"TemporaryFile(/tmp/multipartBody4135427092564062965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287295742,"filename":"image_04112025_18_20_09_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ded9455235369c8d960cd5a7853b4d89.jpg","text":"TemporaryFile(/tmp/multipartBody6016614729084149640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287295742,"filename":"image_04112025_18_19_51_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/669f89a95d548305e098573acb8e6a0b.jpg","text":"TemporaryFile(/tmp/multipartBody3917215873862600594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287295742,"filename":"image_04112025_18_20_15_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc8357f598cc08595d9a8688caea35be.jpg","text":"TemporaryFile(/tmp/multipartBody5571783649571459312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287295742,"filename":"image_04112025_18_19_54_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edb00508b8cce5c80a2ed9e309fd615b.jpg","text":"TemporaryFile(/tmp/multipartBody3877551935297629034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287295742,"filename":"image_04112025_18_19_39_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9332a2fadea38610a3df96d7e2d50327.jpg","text":"TemporaryFile(/tmp/multipartBody5084828188234865039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287295742,"filename":"image_04112025_18_20_03_1873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035819","file1":"1402035817","file0":"1402035816","file4":"1402035823","file5":"1402035825","file3":"1402035821"},"map_files_photo_id_array":[{"photo_id":"1402035825","filename":"file5"},{"photo_id":"1402035819","filename":"file2"},{"photo_id":"1402035823","filename":"file4"},{"photo_id":"1402035817","filename":"file1"},{"photo_id":"1402035816","filename":"file0"},{"photo_id":"1402035821","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035823":["hashtag1","hashtag2"]},{"1402035817":["hashtag1","hashtag2"]},{"1402035825":["hashtag1","hashtag2"]},{"1402035819":["hashtag1","hashtag2"]},{"1402035816":["hashtag1","hashtag2"]},{"1402035821":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035823, 1402035817, 1402035825, 1402035819, 1402035816, 1402035821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.085906982421875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:08:03.260953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/36/image_01012026_17_36_14_9627.jpg', '/home/pi/Desktop/images/01012026/17/37/image_01012026_17_37_45_10528.jpg', '/home/pi/Desktop/images/01012026/17/37/image_01012026_17_37_54_9693.jpg', '/home/pi/Desktop/images/01012026/17/45/image_01012026_17_45_54_10781.jpg', '/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_24_9642.jpg', '/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_34_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/36/image_01012026_17_36_14_9627.jpg
/home/pi/Desktop/images/01012026/17/37/image_01012026_17_37_45_10528.jpg
/home/pi/Desktop/images/01012026/17/37/image_01012026_17_37_54_9693.jpg
/home/pi/Desktop/images/01012026/17/45/image_01012026_17_45_54_10781.jpg
/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_24_9642.jpg
/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_34_9716.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.46207594871520996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:08:12.786487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_18_3587.jpg', '/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_21_2667.jpg', '/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_24_3299.jpg', '/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_53_8814.jpg', '/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_55_1696.jpg', '/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_58_1620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_18_3587.jpg
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_21_2667.jpg
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_24_3299.jpg
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_53_8814.jpg
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_55_1696.jpg
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_58_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":["1402035833","1402035835","1402035837","1402035831","1402035840","1402035842"],"photo_ids_order":["1402035831","1402035833","1402035835","1402035837","1402035840","1402035842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4df5750634eea0f9861569fcbb0f808.jpg","text":"TemporaryFile(/tmp/multipartBody119329216239351328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287354593,"filename":"image_04112025_18_20_21_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fceb51a6fdc7e98b34970a0bc8890f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5284095015395698597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287354593,"filename":"image_04112025_18_20_24_3299.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f2e0ab4439c9c9b8c7e47435234108b.jpg","text":"TemporaryFile(/tmp/multipartBody2394999022915124557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287354593,"filename":"image_04112025_18_20_53_8814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80521e879dbe22d3338a90ba85561ab9.jpg","text":"TemporaryFile(/tmp/multipartBody853451655876162039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287354593,"filename":"image_04112025_18_20_18_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a9a2defffe154c0239f9e6998f3cf20.jpg","text":"TemporaryFile(/tmp/multipartBody5671274864479439824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287354593,"filename":"image_04112025_18_20_55_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f48d86a8a2b1a8225a71d5b4442ad86.jpg","text":"TemporaryFile(/tmp/multipartBody2544761198536010272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287354593,"filename":"image_04112025_18_20_58_1620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035835","file1":"1402035833","file0":"1402035831","file4":"1402035840","file5":"1402035842","file3":"1402035837"},"map_files_photo_id_array":[{"photo_id":"1402035842","filename":"file5"},{"photo_id":"1402035835","filename":"file2"},{"photo_id":"1402035840","filename":"file4"},{"photo_id":"1402035833","filename":"file1"},{"photo_id":"1402035831","filename":"file0"},{"photo_id":"1402035837","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035833":["hashtag1","hashtag2"]},{"1402035835":["hashtag1","hashtag2"]},{"1402035837":["hashtag1","hashtag2"]},{"1402035831":["hashtag1","hashtag2"]},{"1402035840":["hashtag1","hashtag2"]},{"1402035842":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035833, 1402035835, 1402035837, 1402035831, 1402035840, 1402035842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.276611328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:09:03.031634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/36/image_01012026_17_36_14_9627.jpg', '/home/pi/Desktop/images/01012026/17/37/image_01012026_17_37_45_10528.jpg', '/home/pi/Desktop/images/01012026/17/37/image_01012026_17_37_54_9693.jpg', '/home/pi/Desktop/images/01012026/17/45/image_01012026_17_45_54_10781.jpg', '/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_24_9642.jpg', '/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_34_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/36/image_01012026_17_36_14_9627.jpg
/home/pi/Desktop/images/01012026/17/37/image_01012026_17_37_45_10528.jpg
/home/pi/Desktop/images/01012026/17/37/image_01012026_17_37_54_9693.jpg
/home/pi/Desktop/images/01012026/17/45/image_01012026_17_45_54_10781.jpg
/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_24_9642.jpg
/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_34_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":["1402035859","1402035862","1402035856","1402035858","1402035860","1402035857"],"photo_ids_order":["1402035856","1402035857","1402035858","1402035859","1402035860","1402035862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/551c69bd1423bdc542777a8de5f41abc.jpg","text":"TemporaryFile(/tmp/multipartBody372880807805777559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287403661,"filename":"image_01012026_17_45_54_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ca91d608471f5d05fe542affbac5f2a.jpg","text":"TemporaryFile(/tmp/multipartBody3874482158563015823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287403661,"filename":"image_01012026_17_47_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11ca0649883640244f71c8a77a815489.jpg","text":"TemporaryFile(/tmp/multipartBody6577626325847823718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287403661,"filename":"image_01012026_17_36_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/794218c6d8ae83194c57a9fee7c08c25.jpg","text":"TemporaryFile(/tmp/multipartBody8801701051223485718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287403661,"filename":"image_01012026_17_37_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56940d40844c4e52bff1f1779c746551.jpg","text":"TemporaryFile(/tmp/multipartBody3740090195354017147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287403661,"filename":"image_01012026_17_47_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba3f212afbf82e3a3f1f90a4cbbd3c93.jpg","text":"TemporaryFile(/tmp/multipartBody3598170244435225580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287403661,"filename":"image_01012026_17_37_45_10528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035858","file1":"1402035857","file0":"1402035856","file4":"1402035860","file5":"1402035862","file3":"1402035859"},"map_files_photo_id_array":[{"photo_id":"1402035862","filename":"file5"},{"photo_id":"1402035858","filename":"file2"},{"photo_id":"1402035860","filename":"file4"},{"photo_id":"1402035857","filename":"file1"},{"photo_id":"1402035856","filename":"file0"},{"photo_id":"1402035859","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035859":["hashtag1","hashtag2"]},{"1402035862":["hashtag1","hashtag2"]},{"1402035856":["hashtag1","hashtag2"]},{"1402035858":["hashtag1","hashtag2"]},{"1402035860":["hashtag1","hashtag2"]},{"1402035857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035859, 1402035862, 1402035856, 1402035858, 1402035860, 1402035857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81215739250183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:09:41.902424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_59_1617.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_01_1678.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_03_1621.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_05_1811.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_06_1681.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_09_2564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/20/image_04112025_18_20_59_1617.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_01_1678.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_03_1621.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_05_1811.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_06_1681.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_09_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":["1402035871","1402035874","1402035868","1402035873","1402035872","1402035875"],"photo_ids_order":["1402035868","1402035871","1402035872","1402035873","1402035874","1402035875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa394caf75f0ad54d1f922f2997d2479.jpg","text":"TemporaryFile(/tmp/multipartBody8938533147965747473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287443681,"filename":"image_04112025_18_21_01_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d72875f43878bff7fa50e269c276ae3.jpg","text":"TemporaryFile(/tmp/multipartBody6157157633876222980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287443681,"filename":"image_04112025_18_21_06_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7555190c4ce3f614745faf1a3453184.jpg","text":"TemporaryFile(/tmp/multipartBody1531510703007052925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287443681,"filename":"image_04112025_18_20_59_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d759d4487aa3692dc59b72df53e11c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6554278993211178403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287443681,"filename":"image_04112025_18_21_05_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdd8d8df479a42ee82513590261fb208.jpg","text":"TemporaryFile(/tmp/multipartBody1665665183862067708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287443681,"filename":"image_04112025_18_21_03_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e408ce0d329e19154017777ebf2b97e2.jpg","text":"TemporaryFile(/tmp/multipartBody4989031345539196976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287443681,"filename":"image_04112025_18_21_09_2564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035872","file1":"1402035871","file0":"1402035868","file4":"1402035874","file5":"1402035875","file3":"1402035873"},"map_files_photo_id_array":[{"photo_id":"1402035875","filename":"file5"},{"photo_id":"1402035872","filename":"file2"},{"photo_id":"1402035874","filename":"file4"},{"photo_id":"1402035871","filename":"file1"},{"photo_id":"1402035868","filename":"file0"},{"photo_id":"1402035873","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035871":["hashtag1","hashtag2"]},{"1402035874":["hashtag1","hashtag2"]},{"1402035868":["hashtag1","hashtag2"]},{"1402035873":["hashtag1","hashtag2"]},{"1402035872":["hashtag1","hashtag2"]},{"1402035875":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035871, 1402035874, 1402035868, 1402035873, 1402035872, 1402035875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64050340652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:10:22.144176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_44_9744.jpg', '/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_54_9920.jpg', '/home/pi/Desktop/images/01012026/17/48/image_01012026_17_48_14_9556.jpg', '/home/pi/Desktop/images/01012026/17/48/image_01012026_17_48_34_9652.jpg', '/home/pi/Desktop/images/01012026/17/48/image_01012026_17_48_44_9594.jpg', '/home/pi/Desktop/images/01012026/17/48/image_01012026_17_49_04_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_44_9744.jpg
/home/pi/Desktop/images/01012026/17/47/image_01012026_17_47_54_9920.jpg
/home/pi/Desktop/images/01012026/17/48/image_01012026_17_48_14_9556.jpg
/home/pi/Desktop/images/01012026/17/48/image_01012026_17_48_34_9652.jpg
/home/pi/Desktop/images/01012026/17/48/image_01012026_17_48_44_9594.jpg
/home/pi/Desktop/images/01012026/17/48/image_01012026_17_49_04_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":["1402035880","1402035877","1402035882","1402035884","1402035887","1402035878"],"photo_ids_order":["1402035877","1402035878","1402035880","1402035882","1402035884","1402035887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3dae796dddd0813a2012f83477aba2b.jpg","text":"TemporaryFile(/tmp/multipartBody8425751360540531899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287482667,"filename":"image_01012026_17_48_14_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0cd7487b84bf42894e6fdc79925ac7f.jpg","text":"TemporaryFile(/tmp/multipartBody1872225395394716127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287482667,"filename":"image_01012026_17_47_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a1ec830ceb3ec7cfdebe21b1611ebce.jpg","text":"TemporaryFile(/tmp/multipartBody8549778198055498179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287482667,"filename":"image_01012026_17_48_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00d4374f99c3f0d86d876da71c2e7825.jpg","text":"TemporaryFile(/tmp/multipartBody2967209918751469442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287482667,"filename":"image_01012026_17_48_44_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c392c1814022c451f82eb5355e014b6f.jpg","text":"TemporaryFile(/tmp/multipartBody6711790091207433184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287482667,"filename":"image_01012026_17_49_04_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ce281c9d733dfeba389dafc9497f24a.jpg","text":"TemporaryFile(/tmp/multipartBody7461408333031788452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287482667,"filename":"image_01012026_17_47_54_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035880","file1":"1402035878","file0":"1402035877","file4":"1402035884","file5":"1402035887","file3":"1402035882"},"map_files_photo_id_array":[{"photo_id":"1402035887","filename":"file5"},{"photo_id":"1402035880","filename":"file2"},{"photo_id":"1402035884","filename":"file4"},{"photo_id":"1402035878","filename":"file1"},{"photo_id":"1402035877","filename":"file0"},{"photo_id":"1402035882","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035880":["hashtag1","hashtag2"]},{"1402035877":["hashtag1","hashtag2"]},{"1402035882":["hashtag1","hashtag2"]},{"1402035884":["hashtag1","hashtag2"]},{"1402035887":["hashtag1","hashtag2"]},{"1402035878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035880, 1402035877, 1402035882, 1402035884, 1402035887, 1402035878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.71908259391785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:11:03.009840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/49/image_01012026_17_49_14_9773.jpg', '/home/pi/Desktop/images/01012026/17/49/image_01012026_17_49_25_10678.jpg', '/home/pi/Desktop/images/01012026/17/49/image_01012026_17_49_54_9737.jpg', '/home/pi/Desktop/images/01012026/17/49/image_01012026_17_50_04_10591.jpg', '/home/pi/Desktop/images/01012026/17/51/image_01012026_17_51_24_10679.jpg', '/home/pi/Desktop/images/01012026/17/51/image_01012026_17_51_44_10294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/49/image_01012026_17_49_14_9773.jpg
/home/pi/Desktop/images/01012026/17/49/image_01012026_17_49_25_10678.jpg
/home/pi/Desktop/images/01012026/17/49/image_01012026_17_49_54_9737.jpg
/home/pi/Desktop/images/01012026/17/49/image_01012026_17_50_04_10591.jpg
/home/pi/Desktop/images/01012026/17/51/image_01012026_17_51_24_10679.jpg
/home/pi/Desktop/images/01012026/17/51/image_01012026_17_51_44_10294.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035895","1402035889","1402035892","1402035891","1402035890","1402035893"],"photo_ids_order":["1402035889","1402035890","1402035891","1402035892","1402035893","1402035895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53e0a1764a7b0b93749a7f8e44d151ec.jpg","text":"TemporaryFile(/tmp/multipartBody7299375891812905532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287523658,"filename":"image_01012026_17_51_44_10294.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/739ee2430b09f4e1389255d62fa5e45a.jpg","text":"TemporaryFile(/tmp/multipartBody4341824244770522549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287523658,"filename":"image_01012026_17_49_14_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96c89f141989d746b7c051b363a4e4f1.jpg","text":"TemporaryFile(/tmp/multipartBody2309126331317205678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287523658,"filename":"image_01012026_17_50_04_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8e6713ac108ab179b7553eee088e245.jpg","text":"TemporaryFile(/tmp/multipartBody4151639807311142537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287523658,"filename":"image_01012026_17_49_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3779cbfbf0cdcf2390255250b92c498f.jpg","text":"TemporaryFile(/tmp/multipartBody5258629197147120550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287523658,"filename":"image_01012026_17_49_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/052852d3c1271ce4a4e0e16087508ea7.jpg","text":"TemporaryFile(/tmp/multipartBody8855141752947523002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287523658,"filename":"image_01012026_17_51_24_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035891","file1":"1402035890","file0":"1402035889","file4":"1402035893","file5":"1402035895","file3":"1402035892"},"map_files_photo_id_array":[{"photo_id":"1402035895","filename":"file5"},{"photo_id":"1402035891","filename":"file2"},{"photo_id":"1402035893","filename":"file4"},{"photo_id":"1402035890","filename":"file1"},{"photo_id":"1402035889","filename":"file0"},{"photo_id":"1402035892","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035895":["hashtag1","hashtag2"]},{"1402035889":["hashtag1","hashtag2"]},{"1402035892":["hashtag1","hashtag2"]},{"1402035891":["hashtag1","hashtag2"]},{"1402035890":["hashtag1","hashtag2"]},{"1402035893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035895, 1402035889, 1402035892, 1402035891, 1402035890, 1402035893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.217570781707764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:11:42.502981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_15_2563.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_18_2762.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_22_4149.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_33_3212.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_36_2692.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_45_3751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_15_2563.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_18_2762.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_22_4149.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_33_3212.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_36_2692.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_45_3751.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035905","1402035907","1402035901","1402035904","1402035906","1402035909"],"photo_ids_order":["1402035901","1402035904","1402035905","1402035906","1402035907","1402035909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f361e03b98fd564544469cc52adaf2f3.jpg","text":"TemporaryFile(/tmp/multipartBody5571471675464636063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287564290,"filename":"image_04112025_18_21_22_4149.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06e31118a0b9838ee4e34cecf9040903.jpg","text":"TemporaryFile(/tmp/multipartBody3022283203297758600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287564290,"filename":"image_04112025_18_21_36_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a9287f6c61d1d57d14123eb7846908f.jpg","text":"TemporaryFile(/tmp/multipartBody545832834396451683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287564290,"filename":"image_04112025_18_21_15_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7e17f6a580ff6267095b134a03df39e.jpg","text":"TemporaryFile(/tmp/multipartBody5742205595349455344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287564290,"filename":"image_04112025_18_21_18_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc4bea5b6b5f8d2488f5f63714cc733e.jpg","text":"TemporaryFile(/tmp/multipartBody2011426571078252426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287564290,"filename":"image_04112025_18_21_33_3212.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25879109fd1992c97defdc7bb86a50d3.jpg","text":"TemporaryFile(/tmp/multipartBody7109642578888838089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287564290,"filename":"image_04112025_18_21_45_3751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035905","file1":"1402035904","file0":"1402035901","file4":"1402035907","file5":"1402035909","file3":"1402035906"},"map_files_photo_id_array":[{"photo_id":"1402035909","filename":"file5"},{"photo_id":"1402035905","filename":"file2"},{"photo_id":"1402035907","filename":"file4"},{"photo_id":"1402035904","filename":"file1"},{"photo_id":"1402035901","filename":"file0"},{"photo_id":"1402035906","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035905":["hashtag1","hashtag2"]},{"1402035907":["hashtag1","hashtag2"]},{"1402035901":["hashtag1","hashtag2"]},{"1402035904":["hashtag1","hashtag2"]},{"1402035906":["hashtag1","hashtag2"]},{"1402035909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035905, 1402035907, 1402035901, 1402035904, 1402035906, 1402035909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.008782148361206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:12:22.719533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/51/image_01012026_17_51_54_9691.jpg', '/home/pi/Desktop/images/01012026/17/52/image_01012026_17_52_24_9662.jpg', '/home/pi/Desktop/images/01012026/17/52/image_01012026_17_52_54_9612.jpg', '/home/pi/Desktop/images/01012026/17/52/image_01012026_17_53_04_9733.jpg', '/home/pi/Desktop/images/01012026/17/53/image_01012026_17_53_14_10523.jpg', '/home/pi/Desktop/images/01012026/17/53/image_01012026_17_53_24_9951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/51/image_01012026_17_51_54_9691.jpg
/home/pi/Desktop/images/01012026/17/52/image_01012026_17_52_24_9662.jpg
/home/pi/Desktop/images/01012026/17/52/image_01012026_17_52_54_9612.jpg
/home/pi/Desktop/images/01012026/17/52/image_01012026_17_53_04_9733.jpg
/home/pi/Desktop/images/01012026/17/53/image_01012026_17_53_14_10523.jpg
/home/pi/Desktop/images/01012026/17/53/image_01012026_17_53_24_9951.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035914","1402035916","1402035910","1402035918","1402035912","1402035921"],"photo_ids_order":["1402035910","1402035912","1402035914","1402035916","1402035918","1402035921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce154db51e23f261d69463d1b802a5f8.jpg","text":"TemporaryFile(/tmp/multipartBody5604552276504156262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287603284,"filename":"image_01012026_17_52_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be17585fd1f3bd43490185456f28d038.jpg","text":"TemporaryFile(/tmp/multipartBody1117721929060343513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287603284,"filename":"image_01012026_17_53_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f4716c51d2a3dc447162da37c740784.jpg","text":"TemporaryFile(/tmp/multipartBody2785698828200158237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287603284,"filename":"image_01012026_17_51_54_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d15f6e77b477009dead35ce7ab910820.jpg","text":"TemporaryFile(/tmp/multipartBody1917411059614389198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287603284,"filename":"image_01012026_17_53_14_10523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60cf6e2104f051b2764cfc4639e80fa6.jpg","text":"TemporaryFile(/tmp/multipartBody4235133426279793544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287603284,"filename":"image_01012026_17_52_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2ce31b9233323f5c4fa619bd4c68c4b.jpg","text":"TemporaryFile(/tmp/multipartBody5331986585315269283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287603284,"filename":"image_01012026_17_53_24_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035914","file1":"1402035912","file0":"1402035910","file4":"1402035918","file5":"1402035921","file3":"1402035916"},"map_files_photo_id_array":[{"photo_id":"1402035921","filename":"file5"},{"photo_id":"1402035914","filename":"file2"},{"photo_id":"1402035918","filename":"file4"},{"photo_id":"1402035912","filename":"file1"},{"photo_id":"1402035910","filename":"file0"},{"photo_id":"1402035916","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035914":["hashtag1","hashtag2"]},{"1402035916":["hashtag1","hashtag2"]},{"1402035910":["hashtag1","hashtag2"]},{"1402035918":["hashtag1","hashtag2"]},{"1402035912":["hashtag1","hashtag2"]},{"1402035921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035914, 1402035916, 1402035910, 1402035918, 1402035912, 1402035921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.106098651885986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:13:02.626217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/53/image_01012026_17_53_44_9776.jpg', '/home/pi/Desktop/images/01012026/17/53/image_01012026_17_53_54_9750.jpg', '/home/pi/Desktop/images/01012026/17/53/image_01012026_17_54_04_10777.jpg', '/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_14_9590.jpg', '/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_25_10586.jpg', '/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_34_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/53/image_01012026_17_53_44_9776.jpg
/home/pi/Desktop/images/01012026/17/53/image_01012026_17_53_54_9750.jpg
/home/pi/Desktop/images/01012026/17/53/image_01012026_17_54_04_10777.jpg
/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_14_9590.jpg
/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_25_10586.jpg
/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_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":["1402035932","1402035926","1402035928","1402035930","1402035927","1402035929"],"photo_ids_order":["1402035926","1402035927","1402035928","1402035929","1402035930","1402035932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39451bc2db91a83cd9ba4e4c2a2b4ffc.jpg","text":"TemporaryFile(/tmp/multipartBody4632321831661243192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287643270,"filename":"image_01012026_17_54_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fca552cbb0fb7dcf8db8a5c9b0eae1f.jpg","text":"TemporaryFile(/tmp/multipartBody858440010664998858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287643270,"filename":"image_01012026_17_53_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9166c663f4fe5786353e83dabc3c4909.jpg","text":"TemporaryFile(/tmp/multipartBody299714607743961183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287643270,"filename":"image_01012026_17_54_04_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/daf872918f23273009eb9ec40393bae1.jpg","text":"TemporaryFile(/tmp/multipartBody7131480830964518066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287643270,"filename":"image_01012026_17_54_25_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d9638022896560e08735f9e5c20cb41.jpg","text":"TemporaryFile(/tmp/multipartBody3191205057397333566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287643270,"filename":"image_01012026_17_53_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ea13b7bd13c035b96f8a3cf0963856d.jpg","text":"TemporaryFile(/tmp/multipartBody4587592323368470392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287643270,"filename":"image_01012026_17_54_14_9590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035928","file1":"1402035927","file0":"1402035926","file4":"1402035930","file5":"1402035932","file3":"1402035929"},"map_files_photo_id_array":[{"photo_id":"1402035932","filename":"file5"},{"photo_id":"1402035928","filename":"file2"},{"photo_id":"1402035930","filename":"file4"},{"photo_id":"1402035927","filename":"file1"},{"photo_id":"1402035926","filename":"file0"},{"photo_id":"1402035929","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035932":["hashtag1","hashtag2"]},{"1402035926":["hashtag1","hashtag2"]},{"1402035928":["hashtag1","hashtag2"]},{"1402035930":["hashtag1","hashtag2"]},{"1402035927":["hashtag1","hashtag2"]},{"1402035929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035932, 1402035926, 1402035928, 1402035930, 1402035927, 1402035929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75739097595215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:13:42.031389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_51_2691.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_54_2895.jpg', '/home/pi/Desktop/images/04112025/18/21/image_04112025_18_22_00_2884.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_09_3640.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_12_2599.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_15_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_51_2691.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_21_54_2895.jpg
/home/pi/Desktop/images/04112025/18/21/image_04112025_18_22_00_2884.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_09_3640.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_12_2599.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_15_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035943","1402035940","1402035937","1402035942","1402035939","1402035941"],"photo_ids_order":["1402035937","1402035939","1402035940","1402035941","1402035942","1402035943"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64f1a11f53b235094129334c3bfc10c4.jpg","text":"TemporaryFile(/tmp/multipartBody3553469691554182057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287683910,"filename":"image_04112025_18_22_15_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fc5f5c8ee3a84e246088607d2a45b8a.jpg","text":"TemporaryFile(/tmp/multipartBody9194580318851638034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287683910,"filename":"image_04112025_18_22_00_2884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89f1511128d2deb5d3472af66732ff9a.jpg","text":"TemporaryFile(/tmp/multipartBody926717202424519528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287683910,"filename":"image_04112025_18_21_51_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14d062fe0fd7ef30133b13dbe4e539fb.jpg","text":"TemporaryFile(/tmp/multipartBody6806743926912714521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287683910,"filename":"image_04112025_18_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/2026/1/1/8ae31227c6aabb2226833fc75d65ab3c.jpg","text":"TemporaryFile(/tmp/multipartBody5526549982861406187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287683910,"filename":"image_04112025_18_21_54_2895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5550fd51165fc1ee58769ac6a6bb44f.jpg","text":"TemporaryFile(/tmp/multipartBody2945366838879637465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287683910,"filename":"image_04112025_18_22_09_3640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035940","file1":"1402035939","file0":"1402035937","file4":"1402035942","file5":"1402035943","file3":"1402035941"},"map_files_photo_id_array":[{"photo_id":"1402035943","filename":"file5"},{"photo_id":"1402035940","filename":"file2"},{"photo_id":"1402035942","filename":"file4"},{"photo_id":"1402035939","filename":"file1"},{"photo_id":"1402035937","filename":"file0"},{"photo_id":"1402035941","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035943":["hashtag1","hashtag2"]},{"1402035940":["hashtag1","hashtag2"]},{"1402035937":["hashtag1","hashtag2"]},{"1402035942":["hashtag1","hashtag2"]},{"1402035939":["hashtag1","hashtag2"]},{"1402035941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035943, 1402035940, 1402035937, 1402035942, 1402035939, 1402035941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.881187915802 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:14:22.297632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_44_9741.jpg', '/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_54_9682.jpg', '/home/pi/Desktop/images/01012026/17/55/image_01012026_17_55_14_10052.jpg', '/home/pi/Desktop/images/01012026/17/55/image_01012026_17_55_45_10702.jpg', '/home/pi/Desktop/images/01012026/17/55/image_01012026_17_55_54_9649.jpg', '/home/pi/Desktop/images/01012026/17/55/image_01012026_17_56_04_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_44_9741.jpg
/home/pi/Desktop/images/01012026/17/54/image_01012026_17_54_54_9682.jpg
/home/pi/Desktop/images/01012026/17/55/image_01012026_17_55_14_10052.jpg
/home/pi/Desktop/images/01012026/17/55/image_01012026_17_55_45_10702.jpg
/home/pi/Desktop/images/01012026/17/55/image_01012026_17_55_54_9649.jpg
/home/pi/Desktop/images/01012026/17/55/image_01012026_17_56_04_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035952","1402035946","1402035954","1402035957","1402035948","1402035950"],"photo_ids_order":["1402035946","1402035948","1402035950","1402035952","1402035954","1402035957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fab1a5ed1e8d97d5ce93d0a97fddd5d.jpg","text":"TemporaryFile(/tmp/multipartBody4304483682596980084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287722887,"filename":"image_01012026_17_55_45_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31025890d953b960ebaa800fdebb13e4.jpg","text":"TemporaryFile(/tmp/multipartBody7519889894570435922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287722887,"filename":"image_01012026_17_54_44_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/064816fd5a6e9eabe1710b55d5e2307c.jpg","text":"TemporaryFile(/tmp/multipartBody1084436134342064190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287722887,"filename":"image_01012026_17_55_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/499698f3c42096f199c9943214f2afe0.jpg","text":"TemporaryFile(/tmp/multipartBody8820119311252777442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287722887,"filename":"image_01012026_17_56_04_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/021a7432914ed27cb0ad9981911b0838.jpg","text":"TemporaryFile(/tmp/multipartBody9186274794681444424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287722887,"filename":"image_01012026_17_54_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca71e96639fa469f8ffe2ad1e2560edc.jpg","text":"TemporaryFile(/tmp/multipartBody747662862844891098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287722887,"filename":"image_01012026_17_55_14_10052.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035950","file1":"1402035948","file0":"1402035946","file4":"1402035954","file5":"1402035957","file3":"1402035952"},"map_files_photo_id_array":[{"photo_id":"1402035957","filename":"file5"},{"photo_id":"1402035950","filename":"file2"},{"photo_id":"1402035954","filename":"file4"},{"photo_id":"1402035948","filename":"file1"},{"photo_id":"1402035946","filename":"file0"},{"photo_id":"1402035952","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035952":["hashtag1","hashtag2"]},{"1402035946":["hashtag1","hashtag2"]},{"1402035954":["hashtag1","hashtag2"]},{"1402035957":["hashtag1","hashtag2"]},{"1402035948":["hashtag1","hashtag2"]},{"1402035950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035952, 1402035946, 1402035954, 1402035957, 1402035948, 1402035950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56871938705444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:15:03.182201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_15_10657.jpg', '/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_24_9787.jpg', '/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_34_9583.jpg', '/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_44_9853.jpg', '/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_54_10705.jpg', '/home/pi/Desktop/images/01012026/17/56/image_01012026_17_57_04_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_15_10657.jpg
/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_24_9787.jpg
/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_34_9583.jpg
/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_44_9853.jpg
/home/pi/Desktop/images/01012026/17/56/image_01012026_17_56_54_10705.jpg
/home/pi/Desktop/images/01012026/17/56/image_01012026_17_57_04_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":["1402035961","1402035960","1402035963","1402035965","1402035959","1402035962"],"photo_ids_order":["1402035959","1402035960","1402035961","1402035962","1402035963","1402035965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a358e92c1cd307af3a719e843b9cc296.jpg","text":"TemporaryFile(/tmp/multipartBody4365251611495015954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287763821,"filename":"image_01012026_17_56_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dddaf110f246e77cca92241631675f80.jpg","text":"TemporaryFile(/tmp/multipartBody6047489498992931967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287763821,"filename":"image_01012026_17_56_24_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d101781c8bea16427882b9a2c90e552.jpg","text":"TemporaryFile(/tmp/multipartBody6908037047630118102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287763821,"filename":"image_01012026_17_56_54_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bb1d4b6562c21d2a96fa195304985fc.jpg","text":"TemporaryFile(/tmp/multipartBody5673232231668976186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287763821,"filename":"image_01012026_17_57_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4916c34f1ff7e35a1fc1a42a7c6e77b5.jpg","text":"TemporaryFile(/tmp/multipartBody7435307936209231278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287763821,"filename":"image_01012026_17_56_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b46b8faff65b52e60c73cb15d0b0efc.jpg","text":"TemporaryFile(/tmp/multipartBody3903929722251571753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287763821,"filename":"image_01012026_17_56_44_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035961","file1":"1402035960","file0":"1402035959","file4":"1402035963","file5":"1402035965","file3":"1402035962"},"map_files_photo_id_array":[{"photo_id":"1402035965","filename":"file5"},{"photo_id":"1402035961","filename":"file2"},{"photo_id":"1402035963","filename":"file4"},{"photo_id":"1402035960","filename":"file1"},{"photo_id":"1402035959","filename":"file0"},{"photo_id":"1402035962","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035961":["hashtag1","hashtag2"]},{"1402035960":["hashtag1","hashtag2"]},{"1402035963":["hashtag1","hashtag2"]},{"1402035965":["hashtag1","hashtag2"]},{"1402035959":["hashtag1","hashtag2"]},{"1402035962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035961, 1402035960, 1402035963, 1402035965, 1402035959, 1402035962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.064860343933105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:15:42.654846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_18_2674.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_24_3738.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_27_2709.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_34_4075.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_39_3749.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_42_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_18_2674.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_24_3738.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_27_2709.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_34_4075.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_39_3749.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_42_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402035976","1402035975","1402035978","1402035977","1402035971","1402035974"],"photo_ids_order":["1402035971","1402035974","1402035975","1402035976","1402035977","1402035978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1713fef8e7dc5f40d3b2a30278496a0.jpg","text":"TemporaryFile(/tmp/multipartBody7677813147235124626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287804529,"filename":"image_04112025_18_22_34_4075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0df6a334996f0b4acb4ab1d52930ca0c.jpg","text":"TemporaryFile(/tmp/multipartBody4375070496561239523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287804529,"filename":"image_04112025_18_22_27_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8d0ed1ebbcea3aea3f56b8c1f419dc0.jpg","text":"TemporaryFile(/tmp/multipartBody2401133237165619572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287804529,"filename":"image_04112025_18_22_42_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2673a5f63437c79c87d8d34f2b6fbaab.jpg","text":"TemporaryFile(/tmp/multipartBody8745881707338086087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287804529,"filename":"image_04112025_18_22_39_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6859cb985759db4f980265032a34b73.jpg","text":"TemporaryFile(/tmp/multipartBody421138621080453695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287804529,"filename":"image_04112025_18_22_18_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31d74369aee861060183854d6387a449.jpg","text":"TemporaryFile(/tmp/multipartBody8078590375426547474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287804529,"filename":"image_04112025_18_22_24_3738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035975","file1":"1402035974","file0":"1402035971","file4":"1402035977","file5":"1402035978","file3":"1402035976"},"map_files_photo_id_array":[{"photo_id":"1402035978","filename":"file5"},{"photo_id":"1402035975","filename":"file2"},{"photo_id":"1402035977","filename":"file4"},{"photo_id":"1402035974","filename":"file1"},{"photo_id":"1402035971","filename":"file0"},{"photo_id":"1402035976","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402035976":["hashtag1","hashtag2"]},{"1402035975":["hashtag1","hashtag2"]},{"1402035978":["hashtag1","hashtag2"]},{"1402035977":["hashtag1","hashtag2"]},{"1402035971":["hashtag1","hashtag2"]},{"1402035974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402035976, 1402035975, 1402035978, 1402035977, 1402035971, 1402035974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44131588935852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:16:22.815436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_14_9640.jpg', '/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_25_10690.jpg', '/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_34_9561.jpg', '/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_45_10500.jpg', '/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_54_9580.jpg', '/home/pi/Desktop/images/01012026/17/57/image_01012026_17_58_04_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_14_9640.jpg
/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_25_10690.jpg
/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_34_9561.jpg
/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_45_10500.jpg
/home/pi/Desktop/images/01012026/17/57/image_01012026_17_57_54_9580.jpg
/home/pi/Desktop/images/01012026/17/57/image_01012026_17_58_04_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":["1402035982","1402035990","1402035984","1402035986","1402035989","1402035980"],"photo_ids_order":["1402035980","1402035982","1402035984","1402035986","1402035989","1402035990"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e67121cb5c3a48cdb12a3899473fa855.jpg","text":"TemporaryFile(/tmp/multipartBody7968167913298468531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287846266,"filename":"image_01012026_17_57_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d17d1520bc402bffab5ae7b57fa81f8.jpg","text":"TemporaryFile(/tmp/multipartBody1795550583559866052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287846266,"filename":"image_01012026_17_58_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95fd7d87593bf3a478b3b6a2210f06d4.jpg","text":"TemporaryFile(/tmp/multipartBody9010025269649747053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287846266,"filename":"image_01012026_17_57_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c108273a17d3a90f80cd75aa21061eb.jpg","text":"TemporaryFile(/tmp/multipartBody4416112452754888843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287846266,"filename":"image_01012026_17_57_45_10500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efff866068054747ce844eb0a75d2959.jpg","text":"TemporaryFile(/tmp/multipartBody4644970777352502464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287846266,"filename":"image_01012026_17_57_54_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa6dcd7101e5bcd652e135d6e4fc83f2.jpg","text":"TemporaryFile(/tmp/multipartBody339001291505952982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287846266,"filename":"image_01012026_17_57_14_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035984","file1":"1402035982","file0":"1402035980","file4":"1402035989","file5":"1402035990","file3":"1402035986"},"map_files_photo_id_array":[{"photo_id":"1402035990","filename":"file5"},{"photo_id":"1402035984","filename":"file2"},{"photo_id":"1402035989","filename":"file4"},{"photo_id":"1402035982","filename":"file1"},{"photo_id":"1402035980","filename":"file0"},{"photo_id":"1402035986","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035982":["hashtag1","hashtag2"]},{"1402035990":["hashtag1","hashtag2"]},{"1402035984":["hashtag1","hashtag2"]},{"1402035986":["hashtag1","hashtag2"]},{"1402035989":["hashtag1","hashtag2"]},{"1402035980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035982, 1402035990, 1402035984, 1402035986, 1402035989, 1402035980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38428831100464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:17:02.755906
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_15_10692.jpg', '/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_24_9555.jpg', '/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_35_10608.jpg', '/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_44_9653.jpg', '/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_54_9571.jpg', '/home/pi/Desktop/images/01012026/17/58/image_01012026_17_59_05_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_15_10692.jpg
/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_24_9555.jpg
/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_35_10608.jpg
/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_44_9653.jpg
/home/pi/Desktop/images/01012026/17/58/image_01012026_17_58_54_9571.jpg
/home/pi/Desktop/images/01012026/17/58/image_01012026_17_59_05_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":["1402035994","1402035997","1402035991","1402035993","1402035995","1402035992"],"photo_ids_order":["1402035991","1402035992","1402035993","1402035994","1402035995","1402035997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38590e0b7e5826752077358c21f3ee32.jpg","text":"TemporaryFile(/tmp/multipartBody4306301857192921098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287883408,"filename":"image_01012026_17_58_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c727010977e5ed92c65834db713fcbcd.jpg","text":"TemporaryFile(/tmp/multipartBody4807642709865240161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287883408,"filename":"image_01012026_17_59_05_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57b83d0f2de9d3e01bcb2d47f352a791.jpg","text":"TemporaryFile(/tmp/multipartBody5067132150749891605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287883408,"filename":"image_01012026_17_58_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c0f611c8e2f52e02b285b0a0d13d618.jpg","text":"TemporaryFile(/tmp/multipartBody4360045796318453649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287883408,"filename":"image_01012026_17_58_35_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02bef5021d4bac6d1546225ed54ef792.jpg","text":"TemporaryFile(/tmp/multipartBody1948061892082907507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287883408,"filename":"image_01012026_17_58_54_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e17a977c4ba39b0c29ac1c35695bf4f5.jpg","text":"TemporaryFile(/tmp/multipartBody457912658754887017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287883408,"filename":"image_01012026_17_58_24_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402035993","file1":"1402035992","file0":"1402035991","file4":"1402035995","file5":"1402035997","file3":"1402035994"},"map_files_photo_id_array":[{"photo_id":"1402035997","filename":"file5"},{"photo_id":"1402035993","filename":"file2"},{"photo_id":"1402035995","filename":"file4"},{"photo_id":"1402035992","filename":"file1"},{"photo_id":"1402035991","filename":"file0"},{"photo_id":"1402035994","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402035994":["hashtag1","hashtag2"]},{"1402035997":["hashtag1","hashtag2"]},{"1402035991":["hashtag1","hashtag2"]},{"1402035993":["hashtag1","hashtag2"]},{"1402035995":["hashtag1","hashtag2"]},{"1402035992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402035994, 1402035997, 1402035991, 1402035993, 1402035995, 1402035992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.443586587905884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:17:41.911485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_45_2655.jpg', '/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_57_3554.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_03_3771.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_11_2598.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_15_3773.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_18_2860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_45_2655.jpg
/home/pi/Desktop/images/04112025/18/22/image_04112025_18_22_57_3554.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_03_3771.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_11_2598.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_15_3773.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_18_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":["1402036012","1402036009","1402036011","1402036008","1402036010","1402036004"],"photo_ids_order":["1402036004","1402036008","1402036009","1402036010","1402036011","1402036012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7763c199253a6e4702ed27df141159f3.jpg","text":"TemporaryFile(/tmp/multipartBody531173930630867787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287923750,"filename":"image_04112025_18_23_18_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f34b8eea210a6a53866022c9197c848.jpg","text":"TemporaryFile(/tmp/multipartBody5231917254079426787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287923750,"filename":"image_04112025_18_23_03_3771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb66e134a9b0b84e9ad70a26cf4c8ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4523229631778725740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287923750,"filename":"image_04112025_18_23_15_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1736b4e3d037cff97fbfa4b82d03fee.jpg","text":"TemporaryFile(/tmp/multipartBody986720248441531421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287923750,"filename":"image_04112025_18_22_57_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2700e8420eecfd87c99a95fb8bb152e.jpg","text":"TemporaryFile(/tmp/multipartBody8720344628859542829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287923750,"filename":"image_04112025_18_23_11_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a43bf6bb499227897f4f250e900c5776.jpg","text":"TemporaryFile(/tmp/multipartBody6375763257718950404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287923750,"filename":"image_04112025_18_22_45_2655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036009","file1":"1402036008","file0":"1402036004","file4":"1402036011","file5":"1402036012","file3":"1402036010"},"map_files_photo_id_array":[{"photo_id":"1402036012","filename":"file5"},{"photo_id":"1402036009","filename":"file2"},{"photo_id":"1402036011","filename":"file4"},{"photo_id":"1402036008","filename":"file1"},{"photo_id":"1402036004","filename":"file0"},{"photo_id":"1402036010","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036012":["hashtag1","hashtag2"]},{"1402036009":["hashtag1","hashtag2"]},{"1402036011":["hashtag1","hashtag2"]},{"1402036008":["hashtag1","hashtag2"]},{"1402036010":["hashtag1","hashtag2"]},{"1402036004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036012, 1402036009, 1402036011, 1402036008, 1402036010, 1402036004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.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 15
2026-01-01 18:18:22.249045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_14_9698.jpg', '/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_24_9692.jpg', '/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_35_10698.jpg', '/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_44_9704.jpg', '/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_54_9651.jpg', '/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_14_10055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_14_9698.jpg
/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_24_9692.jpg
/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_35_10698.jpg
/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_44_9704.jpg
/home/pi/Desktop/images/01012026/17/59/image_01012026_17_59_54_9651.jpg
/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_14_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":["1402036015","1402036018","1402036023","1402036026","1402036020","1402036016"],"photo_ids_order":["1402036015","1402036016","1402036018","1402036020","1402036023","1402036026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a0ed7e8cb775a1fa965534661cb6ba1.jpg","text":"TemporaryFile(/tmp/multipartBody455137692621941305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287962832,"filename":"image_01012026_17_59_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8397fddafd16870e7c5f1c680faa9e4a.jpg","text":"TemporaryFile(/tmp/multipartBody1755644168845452222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287962832,"filename":"image_01012026_17_59_35_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c7e39c21f170c6c1fd679bb45e26afa.jpg","text":"TemporaryFile(/tmp/multipartBody3003015917297085681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287962832,"filename":"image_01012026_17_59_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/611643c2cc1760300d02cff2dbff848a.jpg","text":"TemporaryFile(/tmp/multipartBody1171047243483414781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287962832,"filename":"image_01012026_18_00_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48674a0085beda10a8ba468492edd037.jpg","text":"TemporaryFile(/tmp/multipartBody3007603237180828398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287962832,"filename":"image_01012026_17_59_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3773d02b066a312ee07689f0e33e3de8.jpg","text":"TemporaryFile(/tmp/multipartBody4042686269576980271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767287962832,"filename":"image_01012026_17_59_24_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036018","file1":"1402036016","file0":"1402036015","file4":"1402036023","file5":"1402036026","file3":"1402036020"},"map_files_photo_id_array":[{"photo_id":"1402036026","filename":"file5"},{"photo_id":"1402036018","filename":"file2"},{"photo_id":"1402036023","filename":"file4"},{"photo_id":"1402036016","filename":"file1"},{"photo_id":"1402036015","filename":"file0"},{"photo_id":"1402036020","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036015":["hashtag1","hashtag2"]},{"1402036018":["hashtag1","hashtag2"]},{"1402036023":["hashtag1","hashtag2"]},{"1402036026":["hashtag1","hashtag2"]},{"1402036020":["hashtag1","hashtag2"]},{"1402036016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036015, 1402036018, 1402036023, 1402036026, 1402036020, 1402036016)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.52345061302185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:19:12.891597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_21_3373.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_29_2665.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_35_2677.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_39_3650.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_42_2833.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_44_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_21_3373.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_29_2665.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_35_2677.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_39_3650.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_42_2833.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_44_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":["1402036027","1402036036","1402036038","1402036032","1402036029","1402036034"],"photo_ids_order":["1402036027","1402036029","1402036032","1402036034","1402036036","1402036038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/025282871213c8c0384768a8cb5865f7.jpg","text":"TemporaryFile(/tmp/multipartBody7166477126509573020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288014688,"filename":"image_04112025_18_23_21_3373.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03871e0ec8af6167fb56a086ac4c275e.jpg","text":"TemporaryFile(/tmp/multipartBody8899700090971778089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288014688,"filename":"image_04112025_18_23_42_2833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bec3781e823b61be2a1a26fdfa422cde.jpg","text":"TemporaryFile(/tmp/multipartBody8391101627835980511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288014688,"filename":"image_04112025_18_23_44_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8fbda7e2c38e940e2a8dfc116093914.jpg","text":"TemporaryFile(/tmp/multipartBody5786140884450816914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288014688,"filename":"image_04112025_18_23_35_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3776cca66e48c6d367b1bba71acd7f39.jpg","text":"TemporaryFile(/tmp/multipartBody6268355299049680199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288014688,"filename":"image_04112025_18_23_29_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3ba2023c48ac7fc9e16f15b25283730.jpg","text":"TemporaryFile(/tmp/multipartBody2706773630881443500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288014688,"filename":"image_04112025_18_23_39_3650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036032","file1":"1402036029","file0":"1402036027","file4":"1402036036","file5":"1402036038","file3":"1402036034"},"map_files_photo_id_array":[{"photo_id":"1402036038","filename":"file5"},{"photo_id":"1402036032","filename":"file2"},{"photo_id":"1402036036","filename":"file4"},{"photo_id":"1402036029","filename":"file1"},{"photo_id":"1402036027","filename":"file0"},{"photo_id":"1402036034","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036027":["hashtag1","hashtag2"]},{"1402036036":["hashtag1","hashtag2"]},{"1402036038":["hashtag1","hashtag2"]},{"1402036032":["hashtag1","hashtag2"]},{"1402036029":["hashtag1","hashtag2"]},{"1402036034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036027, 1402036036, 1402036038, 1402036032, 1402036029, 1402036034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66142916679382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:20:02.671989
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_25_10635.jpg', '/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_35_10071.jpg', '/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_45_9738.jpg', '/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_55_9777.jpg', '/home/pi/Desktop/images/01012026/18/00/image_01012026_18_01_05_10671.jpg', '/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_15_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_25_10635.jpg
/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_35_10071.jpg
/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_45_9738.jpg
/home/pi/Desktop/images/01012026/18/00/image_01012026_18_00_55_9777.jpg
/home/pi/Desktop/images/01012026/18/00/image_01012026_18_01_05_10671.jpg
/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_15_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":["1402036042","1402036045","1402036044","1402036047","1402036046","1402036043"],"photo_ids_order":["1402036042","1402036043","1402036044","1402036045","1402036046","1402036047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e2cf74ece7b06763c165a19c0662d0a.jpg","text":"TemporaryFile(/tmp/multipartBody5705215437757424995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288063267,"filename":"image_01012026_18_00_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b27048880f98c45c06d49205a84fe002.jpg","text":"TemporaryFile(/tmp/multipartBody8235405675924897465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288063267,"filename":"image_01012026_18_00_55_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc58b427076006920fb30e3bef71f4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7678628654820999865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288063267,"filename":"image_01012026_18_00_45_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/814649d483869b060dda252ebf0b31fc.jpg","text":"TemporaryFile(/tmp/multipartBody3648408906786160242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288063267,"filename":"image_01012026_18_01_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2941401853ea403a2b08c7c553b77345.jpg","text":"TemporaryFile(/tmp/multipartBody8045690441685934686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288063267,"filename":"image_01012026_18_01_05_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/569616d76f4b64755ac5e627a186aa1d.jpg","text":"TemporaryFile(/tmp/multipartBody4353702489666933534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288063267,"filename":"image_01012026_18_00_35_10071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036044","file1":"1402036043","file0":"1402036042","file4":"1402036046","file5":"1402036047","file3":"1402036045"},"map_files_photo_id_array":[{"photo_id":"1402036047","filename":"file5"},{"photo_id":"1402036044","filename":"file2"},{"photo_id":"1402036046","filename":"file4"},{"photo_id":"1402036043","filename":"file1"},{"photo_id":"1402036042","filename":"file0"},{"photo_id":"1402036045","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036042":["hashtag1","hashtag2"]},{"1402036045":["hashtag1","hashtag2"]},{"1402036044":["hashtag1","hashtag2"]},{"1402036047":["hashtag1","hashtag2"]},{"1402036046":["hashtag1","hashtag2"]},{"1402036043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036042, 1402036045, 1402036044, 1402036047, 1402036046, 1402036043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.498462438583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:20:42.200631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_48_3614.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_51_2612.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_53_2623.jpg', '/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_57_4203.jpg', '/home/pi/Desktop/images/04112025/18/24/image_04112025_18_24_11_8821.jpg', '/home/pi/Desktop/images/04112025/18/24/image_04112025_18_24_13_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_48_3614.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_51_2612.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_53_2623.jpg
/home/pi/Desktop/images/04112025/18/23/image_04112025_18_23_57_4203.jpg
/home/pi/Desktop/images/04112025/18/24/image_04112025_18_24_11_8821.jpg
/home/pi/Desktop/images/04112025/18/24/image_04112025_18_24_13_1721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036072","1402036066","1402036054","1402036068","1402036070","1402036073"],"photo_ids_order":["1402036054","1402036066","1402036068","1402036070","1402036072","1402036073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e00cb0fe3d8e92f6a41df58bcedd919.jpg","text":"TemporaryFile(/tmp/multipartBody6166819157995250105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288104128,"filename":"image_04112025_18_24_11_8821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c092ad35e534b842ca056f0c62caa29.jpg","text":"TemporaryFile(/tmp/multipartBody3088472160463356269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288104128,"filename":"image_04112025_18_23_51_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ef0a7ec1dfe4430aa13556063dec8c8.jpg","text":"TemporaryFile(/tmp/multipartBody6584208299076964474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288104128,"filename":"image_04112025_18_23_48_3614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d25e1b72e5d27a9a6518db260de2927.jpg","text":"TemporaryFile(/tmp/multipartBody1697444232141578297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288104128,"filename":"image_04112025_18_23_53_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef3ef016c3251fd962f52a05dbb9704b.jpg","text":"TemporaryFile(/tmp/multipartBody3988863494376903345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288104128,"filename":"image_04112025_18_23_57_4203.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a489596962e3d281f5cd48ddcd0853e2.jpg","text":"TemporaryFile(/tmp/multipartBody7853308711997236553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288104128,"filename":"image_04112025_18_24_13_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036068","file1":"1402036066","file0":"1402036054","file4":"1402036072","file5":"1402036073","file3":"1402036070"},"map_files_photo_id_array":[{"photo_id":"1402036073","filename":"file5"},{"photo_id":"1402036068","filename":"file2"},{"photo_id":"1402036072","filename":"file4"},{"photo_id":"1402036066","filename":"file1"},{"photo_id":"1402036054","filename":"file0"},{"photo_id":"1402036070","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036072":["hashtag1","hashtag2"]},{"1402036066":["hashtag1","hashtag2"]},{"1402036054":["hashtag1","hashtag2"]},{"1402036068":["hashtag1","hashtag2"]},{"1402036070":["hashtag1","hashtag2"]},{"1402036073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036072, 1402036066, 1402036054, 1402036068, 1402036070, 1402036073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.867470026016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:21:22.307083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_25_9682.jpg', '/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_55_9692.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_15_10664.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_25_9777.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_35_9691.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_44_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_25_9682.jpg
/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_55_9692.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_15_10664.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_25_9777.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_35_9691.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_44_9671.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.4688868522644043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:21:32.464956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/24/image_04112025_18_24_41_27350.jpg', '/home/pi/Desktop/images/04112025/18/24/image_04112025_18_24_42_1659.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_07_3011.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_10_3144.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_17_2806.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_19_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/24/image_04112025_18_24_41_27350.jpg
/home/pi/Desktop/images/04112025/18/24/image_04112025_18_24_42_1659.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_07_3011.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_10_3144.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_17_2806.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_19_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":["1402036084","1402036092","1402036091","1402036088","1402036093","1402036081"],"photo_ids_order":["1402036081","1402036084","1402036088","1402036091","1402036092","1402036093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfbd03422d729925b7b0081fd1318b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7713290223965988729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288154415,"filename":"image_04112025_18_24_42_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ce7be5d91ac21325c9034ea76a9dffe.jpg","text":"TemporaryFile(/tmp/multipartBody5617820049557066475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288154415,"filename":"image_04112025_18_26_17_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e38603676732de5081056feca0f4f01.jpg","text":"TemporaryFile(/tmp/multipartBody143036299931831735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288154415,"filename":"image_04112025_18_26_10_3144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e58154ade5efff74003bcd3cc1c4b75.jpg","text":"TemporaryFile(/tmp/multipartBody6444227954264512691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288154415,"filename":"image_04112025_18_26_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d26cd97ebe411b8dfb1dbbb36fe844a7.jpg","text":"TemporaryFile(/tmp/multipartBody2144250278416106999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288154415,"filename":"image_04112025_18_26_19_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3346713e8447b9ec5eb42b62d9eabf6.jpg","text":"TemporaryFile(/tmp/multipartBody1466008089302503314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288154415,"filename":"image_04112025_18_24_41_27350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036088","file1":"1402036084","file0":"1402036081","file4":"1402036092","file5":"1402036093","file3":"1402036091"},"map_files_photo_id_array":[{"photo_id":"1402036093","filename":"file5"},{"photo_id":"1402036088","filename":"file2"},{"photo_id":"1402036092","filename":"file4"},{"photo_id":"1402036084","filename":"file1"},{"photo_id":"1402036081","filename":"file0"},{"photo_id":"1402036091","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036084":["hashtag1","hashtag2"]},{"1402036092":["hashtag1","hashtag2"]},{"1402036091":["hashtag1","hashtag2"]},{"1402036088":["hashtag1","hashtag2"]},{"1402036093":["hashtag1","hashtag2"]},{"1402036081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036084, 1402036092, 1402036091, 1402036088, 1402036093, 1402036081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59278082847595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:22:12.500557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_22_2966.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_38_6364.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_40_1762.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_41_1715.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_44_2754.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_47_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_22_2966.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_38_6364.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_40_1762.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_41_1715.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_44_2754.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_47_2824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036099","1402036097","1402036101","1402036094","1402036103","1402036096"],"photo_ids_order":["1402036094","1402036096","1402036097","1402036099","1402036101","1402036103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d5bc4b2b3fb42bdbcd45792358732ba.jpg","text":"TemporaryFile(/tmp/multipartBody828144932517308447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288194361,"filename":"image_04112025_18_26_41_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b45e1f5b444082e1cee7d16bd612153f.jpg","text":"TemporaryFile(/tmp/multipartBody6604031857316259993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288194361,"filename":"image_04112025_18_26_40_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c24736d6271439fc9471ffb11114e7d8.jpg","text":"TemporaryFile(/tmp/multipartBody9179174922462214498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288194361,"filename":"image_04112025_18_26_44_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/486101c18877552543842e897451a774.jpg","text":"TemporaryFile(/tmp/multipartBody5213092219002585478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288194361,"filename":"image_04112025_18_26_22_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ea682f9ac40fd3c458bc3f21bfedfe6.jpg","text":"TemporaryFile(/tmp/multipartBody4408151157351202712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288194361,"filename":"image_04112025_18_26_47_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/638d3fcd2951e322aedb0cc2af0cd3d4.jpg","text":"TemporaryFile(/tmp/multipartBody2152489039733555591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288194361,"filename":"image_04112025_18_26_38_6364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036097","file1":"1402036096","file0":"1402036094","file4":"1402036101","file5":"1402036103","file3":"1402036099"},"map_files_photo_id_array":[{"photo_id":"1402036103","filename":"file5"},{"photo_id":"1402036097","filename":"file2"},{"photo_id":"1402036101","filename":"file4"},{"photo_id":"1402036096","filename":"file1"},{"photo_id":"1402036094","filename":"file0"},{"photo_id":"1402036099","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036099":["hashtag1","hashtag2"]},{"1402036097":["hashtag1","hashtag2"]},{"1402036101":["hashtag1","hashtag2"]},{"1402036094":["hashtag1","hashtag2"]},{"1402036103":["hashtag1","hashtag2"]},{"1402036096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036099, 1402036097, 1402036101, 1402036094, 1402036103, 1402036096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35900688171387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:23:03.526421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_25_9682.jpg', '/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_55_9692.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_15_10664.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_25_9777.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_35_9691.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_44_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_25_9682.jpg
/home/pi/Desktop/images/01012026/18/01/image_01012026_18_01_55_9692.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_15_10664.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_25_9777.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_35_9691.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_44_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":["1402036111","1402036114","1402036108","1402036110","1402036109","1402036112"],"photo_ids_order":["1402036108","1402036109","1402036110","1402036111","1402036112","1402036114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5aadc64313aef88be9b6483b07cbbef0.jpg","text":"TemporaryFile(/tmp/multipartBody4495073474655129953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288244196,"filename":"image_01012026_18_02_25_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da10609672de4661699fe118b8d3eeb1.jpg","text":"TemporaryFile(/tmp/multipartBody5982968026334355572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288244196,"filename":"image_01012026_18_02_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8c2cfbd7863bb096a203cfe4517cf0c.jpg","text":"TemporaryFile(/tmp/multipartBody2933292055440727600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288244196,"filename":"image_01012026_18_01_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03b6701f08eb6de092465e788094f864.jpg","text":"TemporaryFile(/tmp/multipartBody2722241379157902221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288244196,"filename":"image_01012026_18_02_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbb3cd2539186b53fb82d4c4135d917f.jpg","text":"TemporaryFile(/tmp/multipartBody327594358352792341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288244196,"filename":"image_01012026_18_01_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3cec14d35b7b1f24d48becf733c7207.jpg","text":"TemporaryFile(/tmp/multipartBody2700322205909139054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288244196,"filename":"image_01012026_18_02_35_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036110","file1":"1402036109","file0":"1402036108","file4":"1402036112","file5":"1402036114","file3":"1402036111"},"map_files_photo_id_array":[{"photo_id":"1402036114","filename":"file5"},{"photo_id":"1402036110","filename":"file2"},{"photo_id":"1402036112","filename":"file4"},{"photo_id":"1402036109","filename":"file1"},{"photo_id":"1402036108","filename":"file0"},{"photo_id":"1402036111","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036111":["hashtag1","hashtag2"]},{"1402036114":["hashtag1","hashtag2"]},{"1402036108":["hashtag1","hashtag2"]},{"1402036110":["hashtag1","hashtag2"]},{"1402036109":["hashtag1","hashtag2"]},{"1402036112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036111, 1402036114, 1402036108, 1402036110, 1402036109, 1402036112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87212061882019 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:23:42.855333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_52_2658.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_55_2732.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_59_3709.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_02_2678.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_04_2758.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_08_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_52_2658.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_55_2732.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_59_3709.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_02_2678.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_04_2758.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_08_3616.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.882723331451416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:24:02.749263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_55_10631.jpg', '/home/pi/Desktop/images/01012026/18/02/image_01012026_18_03_05_9696.jpg', '/home/pi/Desktop/images/01012026/18/03/image_01012026_18_03_15_9906.jpg', '/home/pi/Desktop/images/01012026/18/03/image_01012026_18_03_35_9544.jpg', '/home/pi/Desktop/images/01012026/18/03/image_01012026_18_03_44_9650.jpg', '/home/pi/Desktop/images/01012026/18/03/image_01012026_18_03_55_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_02_55_10631.jpg
/home/pi/Desktop/images/01012026/18/02/image_01012026_18_03_05_9696.jpg
/home/pi/Desktop/images/01012026/18/03/image_01012026_18_03_15_9906.jpg
/home/pi/Desktop/images/01012026/18/03/image_01012026_18_03_35_9544.jpg
/home/pi/Desktop/images/01012026/18/03/image_01012026_18_03_44_9650.jpg
/home/pi/Desktop/images/01012026/18/03/image_01012026_18_03_55_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036132","1402036135","1402036134","1402036137","1402036139","1402036136"],"photo_ids_order":["1402036132","1402036134","1402036135","1402036136","1402036137","1402036139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc6b9ad4b8c04540203c7dbf72f733c8.jpg","text":"TemporaryFile(/tmp/multipartBody8564273436933278419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288303450,"filename":"image_01012026_18_02_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5970e5b4c21bff673de8811408ffc177.jpg","text":"TemporaryFile(/tmp/multipartBody5560655317506277588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288303450,"filename":"image_01012026_18_03_15_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17b10129aa82db15e8df347a1ea42392.jpg","text":"TemporaryFile(/tmp/multipartBody933285916681403362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288303450,"filename":"image_01012026_18_03_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15a1b5df9d8313a3c5af62b54ce03307.jpg","text":"TemporaryFile(/tmp/multipartBody2554448584264039715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288303450,"filename":"image_01012026_18_03_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08c49984d14e86cba68be6b71f245439.jpg","text":"TemporaryFile(/tmp/multipartBody3191663424559664584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288303450,"filename":"image_01012026_18_03_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/280a50eaab283a675c708a786102d6d2.jpg","text":"TemporaryFile(/tmp/multipartBody2978975575227243453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288303450,"filename":"image_01012026_18_03_35_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036135","file1":"1402036134","file0":"1402036132","file4":"1402036137","file5":"1402036139","file3":"1402036136"},"map_files_photo_id_array":[{"photo_id":"1402036139","filename":"file5"},{"photo_id":"1402036135","filename":"file2"},{"photo_id":"1402036137","filename":"file4"},{"photo_id":"1402036134","filename":"file1"},{"photo_id":"1402036132","filename":"file0"},{"photo_id":"1402036136","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036132":["hashtag1","hashtag2"]},{"1402036135":["hashtag1","hashtag2"]},{"1402036134":["hashtag1","hashtag2"]},{"1402036137":["hashtag1","hashtag2"]},{"1402036139":["hashtag1","hashtag2"]},{"1402036136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036132, 1402036135, 1402036134, 1402036137, 1402036139, 1402036136)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.4013237953186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:25:03.193466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/03/image_01012026_18_04_05_9711.jpg', '/home/pi/Desktop/images/01012026/18/04/image_01012026_18_04_15_9713.jpg', '/home/pi/Desktop/images/01012026/18/04/image_01012026_18_04_25_9982.jpg', '/home/pi/Desktop/images/01012026/18/04/image_01012026_18_04_45_9652.jpg', '/home/pi/Desktop/images/01012026/18/04/image_01012026_18_04_55_9716.jpg', '/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_14_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/03/image_01012026_18_04_05_9711.jpg
/home/pi/Desktop/images/01012026/18/04/image_01012026_18_04_15_9713.jpg
/home/pi/Desktop/images/01012026/18/04/image_01012026_18_04_25_9982.jpg
/home/pi/Desktop/images/01012026/18/04/image_01012026_18_04_45_9652.jpg
/home/pi/Desktop/images/01012026/18/04/image_01012026_18_04_55_9716.jpg
/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_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":["1402036150","1402036147","1402036152","1402036146","1402036145","1402036148"],"photo_ids_order":["1402036145","1402036146","1402036147","1402036148","1402036150","1402036152"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c077017eb51a6268af30877b9a91d846.jpg","text":"TemporaryFile(/tmp/multipartBody7678407583243626858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288366356,"filename":"image_01012026_18_04_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7f7085b8c691380156a3f203dda6520.jpg","text":"TemporaryFile(/tmp/multipartBody7773234272208397604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288366356,"filename":"image_01012026_18_04_25_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2e59271420400d44a4cdc460b2c6609.jpg","text":"TemporaryFile(/tmp/multipartBody8572827989996330023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288366356,"filename":"image_01012026_18_05_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b68f2983646296bfc48fa4225a51c016.jpg","text":"TemporaryFile(/tmp/multipartBody7205198659827347387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288366356,"filename":"image_01012026_18_04_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5521eaad83e9bee48f193c666dbdbd6.jpg","text":"TemporaryFile(/tmp/multipartBody5029236136298191154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288366356,"filename":"image_01012026_18_04_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2727f66fd78f5fb7c05f4a964112ef31.jpg","text":"TemporaryFile(/tmp/multipartBody8791108973077106716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288366356,"filename":"image_01012026_18_04_45_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036147","file1":"1402036146","file0":"1402036145","file4":"1402036150","file5":"1402036152","file3":"1402036148"},"map_files_photo_id_array":[{"photo_id":"1402036152","filename":"file5"},{"photo_id":"1402036147","filename":"file2"},{"photo_id":"1402036150","filename":"file4"},{"photo_id":"1402036146","filename":"file1"},{"photo_id":"1402036145","filename":"file0"},{"photo_id":"1402036148","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036150":["hashtag1","hashtag2"]},{"1402036147":["hashtag1","hashtag2"]},{"1402036152":["hashtag1","hashtag2"]},{"1402036146":["hashtag1","hashtag2"]},{"1402036145":["hashtag1","hashtag2"]},{"1402036148":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036150, 1402036147, 1402036152, 1402036146, 1402036145, 1402036148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42597222328186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:25:42.675215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_52_2658.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_55_2732.jpg', '/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_59_3709.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_02_2678.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_04_2758.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_08_3616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_52_2658.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_55_2732.jpg
/home/pi/Desktop/images/04112025/18/26/image_04112025_18_26_59_3709.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_02_2678.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_04_2758.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_08_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":["1402036162","1402036161","1402036164","1402036163","1402036157","1402036160"],"photo_ids_order":["1402036157","1402036160","1402036161","1402036162","1402036163","1402036164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06007f4bb63ff090281176ccb3326867.jpg","text":"TemporaryFile(/tmp/multipartBody3511166127974853075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288404471,"filename":"image_04112025_18_27_02_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0325aecb55e8af979b85e86376e72053.jpg","text":"TemporaryFile(/tmp/multipartBody2531855178062839305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288404471,"filename":"image_04112025_18_26_59_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82aa71df5318c593fbdc1169d270bcbd.jpg","text":"TemporaryFile(/tmp/multipartBody4519858690425255683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288404471,"filename":"image_04112025_18_27_08_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d276af6fc0fb8513885f5b0d6d516fa2.jpg","text":"TemporaryFile(/tmp/multipartBody7387126963376572108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288404471,"filename":"image_04112025_18_27_04_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83c4d3ce6bc21ee936cc3d86817f63e7.jpg","text":"TemporaryFile(/tmp/multipartBody2983745015535092602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288404471,"filename":"image_04112025_18_26_52_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/491f8ff4922031b5152285174381fd08.jpg","text":"TemporaryFile(/tmp/multipartBody7411664419934970246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288404471,"filename":"image_04112025_18_26_55_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036161","file1":"1402036160","file0":"1402036157","file4":"1402036163","file5":"1402036164","file3":"1402036162"},"map_files_photo_id_array":[{"photo_id":"1402036164","filename":"file5"},{"photo_id":"1402036161","filename":"file2"},{"photo_id":"1402036163","filename":"file4"},{"photo_id":"1402036160","filename":"file1"},{"photo_id":"1402036157","filename":"file0"},{"photo_id":"1402036162","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036162":["hashtag1","hashtag2"]},{"1402036161":["hashtag1","hashtag2"]},{"1402036164":["hashtag1","hashtag2"]},{"1402036163":["hashtag1","hashtag2"]},{"1402036157":["hashtag1","hashtag2"]},{"1402036160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036162, 1402036161, 1402036164, 1402036163, 1402036157, 1402036160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43316411972046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:26:21.799755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_25_10663.jpg', '/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_35_9945.jpg', '/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_45_9784.jpg', '/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_54_9600.jpg', '/home/pi/Desktop/images/01012026/18/05/image_01012026_18_06_05_10728.jpg', '/home/pi/Desktop/images/01012026/18/06/image_01012026_18_06_25_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_25_10663.jpg
/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_35_9945.jpg
/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_45_9784.jpg
/home/pi/Desktop/images/01012026/18/05/image_01012026_18_05_54_9600.jpg
/home/pi/Desktop/images/01012026/18/05/image_01012026_18_06_05_10728.jpg
/home/pi/Desktop/images/01012026/18/06/image_01012026_18_06_25_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":["1402036165","1402036185","1402036170","1402036172","1402036174","1402036168"],"photo_ids_order":["1402036165","1402036168","1402036170","1402036172","1402036174","1402036185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48de75f3d28fe2574d52e13cad014a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3849371109119490070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288442362,"filename":"image_01012026_18_05_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b74532aa3331a04fc2fd8a4929fae10.jpg","text":"TemporaryFile(/tmp/multipartBody4282535597546480577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288442362,"filename":"image_01012026_18_06_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e8c596b12f6473e64bd3fce03f46aae.jpg","text":"TemporaryFile(/tmp/multipartBody48838543664846558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288442362,"filename":"image_01012026_18_05_45_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83d1419f50fdb62c171398a54b2a110e.jpg","text":"TemporaryFile(/tmp/multipartBody7281270368916364099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288442362,"filename":"image_01012026_18_05_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46621c62c74428d4ca04a28bdf5ab386.jpg","text":"TemporaryFile(/tmp/multipartBody7158963513530446580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288442362,"filename":"image_01012026_18_06_05_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f18e94217bd961094d357b6eb5731893.jpg","text":"TemporaryFile(/tmp/multipartBody3344137854199622653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288442362,"filename":"image_01012026_18_05_35_9945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036170","file1":"1402036168","file0":"1402036165","file4":"1402036174","file5":"1402036185","file3":"1402036172"},"map_files_photo_id_array":[{"photo_id":"1402036185","filename":"file5"},{"photo_id":"1402036170","filename":"file2"},{"photo_id":"1402036174","filename":"file4"},{"photo_id":"1402036168","filename":"file1"},{"photo_id":"1402036165","filename":"file0"},{"photo_id":"1402036172","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036165":["hashtag1","hashtag2"]},{"1402036185":["hashtag1","hashtag2"]},{"1402036170":["hashtag1","hashtag2"]},{"1402036172":["hashtag1","hashtag2"]},{"1402036174":["hashtag1","hashtag2"]},{"1402036168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036165, 1402036185, 1402036170, 1402036172, 1402036174, 1402036168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95727038383484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:27:02.734574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/06/image_01012026_18_06_34_9742.jpg', '/home/pi/Desktop/images/01012026/18/06/image_01012026_18_06_45_10722.jpg', '/home/pi/Desktop/images/01012026/18/06/image_01012026_18_06_55_9746.jpg', '/home/pi/Desktop/images/01012026/18/06/image_01012026_18_07_05_9643.jpg', '/home/pi/Desktop/images/01012026/18/07/image_01012026_18_07_29_15008.jpg', '/home/pi/Desktop/images/01012026/18/07/image_01012026_18_07_35_5757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/06/image_01012026_18_06_34_9742.jpg
/home/pi/Desktop/images/01012026/18/06/image_01012026_18_06_45_10722.jpg
/home/pi/Desktop/images/01012026/18/06/image_01012026_18_06_55_9746.jpg
/home/pi/Desktop/images/01012026/18/06/image_01012026_18_07_05_9643.jpg
/home/pi/Desktop/images/01012026/18/07/image_01012026_18_07_29_15008.jpg
/home/pi/Desktop/images/01012026/18/07/image_01012026_18_07_35_5757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036191","1402036188","1402036193","1402036190","1402036187","1402036189"],"photo_ids_order":["1402036187","1402036188","1402036189","1402036190","1402036191","1402036193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d75d12b8747ec40e838110042636267.jpg","text":"TemporaryFile(/tmp/multipartBody2451159885284288967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288483394,"filename":"image_01012026_18_07_29_15008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ea7e7384ff5561eb07fc03650a12713.jpg","text":"TemporaryFile(/tmp/multipartBody4628921630267038015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288483394,"filename":"image_01012026_18_06_45_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5412e34fe6a8a10f9c80e7c38f7c1c0c.jpg","text":"TemporaryFile(/tmp/multipartBody852693801688864777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288483394,"filename":"image_01012026_18_07_35_5757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d468af30206783246b2b8e6729919dea.jpg","text":"TemporaryFile(/tmp/multipartBody656194957203177730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288483394,"filename":"image_01012026_18_07_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/874c37fcce9261d6054ec1c3e8c3e0be.jpg","text":"TemporaryFile(/tmp/multipartBody7382041110273262698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288483394,"filename":"image_01012026_18_06_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eba0400c7433188772298210d2e3b3a3.jpg","text":"TemporaryFile(/tmp/multipartBody8889069761550804181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288483394,"filename":"image_01012026_18_06_55_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036189","file1":"1402036188","file0":"1402036187","file4":"1402036191","file5":"1402036193","file3":"1402036190"},"map_files_photo_id_array":[{"photo_id":"1402036193","filename":"file5"},{"photo_id":"1402036189","filename":"file2"},{"photo_id":"1402036191","filename":"file4"},{"photo_id":"1402036188","filename":"file1"},{"photo_id":"1402036187","filename":"file0"},{"photo_id":"1402036190","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036191":["hashtag1","hashtag2"]},{"1402036188":["hashtag1","hashtag2"]},{"1402036193":["hashtag1","hashtag2"]},{"1402036190":["hashtag1","hashtag2"]},{"1402036187":["hashtag1","hashtag2"]},{"1402036189":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036191, 1402036188, 1402036193, 1402036190, 1402036187, 1402036189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.562154054641724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:27:42.034781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_19_2703.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_23_3214.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_25_2621.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_28_2771.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_34_2669.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_37_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_19_2703.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_23_3214.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_25_2621.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_28_2771.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_34_2669.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_37_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":["1402036204","1402036201","1402036203","1402036199","1402036202","1402036205"],"photo_ids_order":["1402036199","1402036201","1402036202","1402036203","1402036204","1402036205"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f94d2dcfbd802cf0f48b387a6cea0b7.jpg","text":"TemporaryFile(/tmp/multipartBody2121818532063899943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288523998,"filename":"image_04112025_18_27_34_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2df1a730e6d2d2788f18ec53913fcc47.jpg","text":"TemporaryFile(/tmp/multipartBody6258910955602224852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288523998,"filename":"image_04112025_18_27_23_3214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67c6f29b33bf5788fa5eadd4166898c9.jpg","text":"TemporaryFile(/tmp/multipartBody3136299561114528792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288523998,"filename":"image_04112025_18_27_28_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6373ea8254e073bde3e68b9cb965ec9.jpg","text":"TemporaryFile(/tmp/multipartBody7251407524417674135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288523998,"filename":"image_04112025_18_27_19_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6ecbbea2088c4b44a7764bcc4a535cb.jpg","text":"TemporaryFile(/tmp/multipartBody1861081771071570420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288523998,"filename":"image_04112025_18_27_25_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/daf9c8017a0516e0c0e555a109990de3.jpg","text":"TemporaryFile(/tmp/multipartBody8910584652147717283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288523998,"filename":"image_04112025_18_27_37_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036202","file1":"1402036201","file0":"1402036199","file4":"1402036204","file5":"1402036205","file3":"1402036203"},"map_files_photo_id_array":[{"photo_id":"1402036205","filename":"file5"},{"photo_id":"1402036202","filename":"file2"},{"photo_id":"1402036204","filename":"file4"},{"photo_id":"1402036201","filename":"file1"},{"photo_id":"1402036199","filename":"file0"},{"photo_id":"1402036203","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036204":["hashtag1","hashtag2"]},{"1402036201":["hashtag1","hashtag2"]},{"1402036203":["hashtag1","hashtag2"]},{"1402036199":["hashtag1","hashtag2"]},{"1402036202":["hashtag1","hashtag2"]},{"1402036205":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036204, 1402036201, 1402036203, 1402036199, 1402036202, 1402036205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68298530578613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:28:22.189211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/07/image_01012026_18_07_54_9743.jpg', '/home/pi/Desktop/images/01012026/18/07/image_01012026_18_08_05_10585.jpg', '/home/pi/Desktop/images/01012026/18/08/image_01012026_18_08_15_9657.jpg', '/home/pi/Desktop/images/01012026/18/08/image_01012026_18_08_24_9741.jpg', '/home/pi/Desktop/images/01012026/18/08/image_01012026_18_08_35_10606.jpg', '/home/pi/Desktop/images/01012026/18/08/image_01012026_18_08_45_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/07/image_01012026_18_07_54_9743.jpg
/home/pi/Desktop/images/01012026/18/07/image_01012026_18_08_05_10585.jpg
/home/pi/Desktop/images/01012026/18/08/image_01012026_18_08_15_9657.jpg
/home/pi/Desktop/images/01012026/18/08/image_01012026_18_08_24_9741.jpg
/home/pi/Desktop/images/01012026/18/08/image_01012026_18_08_35_10606.jpg
/home/pi/Desktop/images/01012026/18/08/image_01012026_18_08_45_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":["1402036207","1402036218","1402036206","1402036209","1402036214","1402036211"],"photo_ids_order":["1402036206","1402036207","1402036209","1402036211","1402036214","1402036218"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e591da52a42fc7cac2e1fdf450d3df5.jpg","text":"TemporaryFile(/tmp/multipartBody3510128179630302410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288562786,"filename":"image_01012026_18_08_05_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8094246da901a47e4f5172e7aca7ba89.jpg","text":"TemporaryFile(/tmp/multipartBody4108185701029809652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288562786,"filename":"image_01012026_18_08_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6f50dd1e30809b6dbfce4532903c1c3.jpg","text":"TemporaryFile(/tmp/multipartBody6081433084070108176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288562786,"filename":"image_01012026_18_07_54_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83d09f9dd5c40e7fa8b26cb63a69928e.jpg","text":"TemporaryFile(/tmp/multipartBody798662455658117606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288562786,"filename":"image_01012026_18_08_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3047aa971b5ce26e0b628c36286a8215.jpg","text":"TemporaryFile(/tmp/multipartBody7972085501599098027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288562786,"filename":"image_01012026_18_08_35_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45a47afc06fdf3444264188238ea86b4.jpg","text":"TemporaryFile(/tmp/multipartBody6685225148842427526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288562786,"filename":"image_01012026_18_08_24_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036209","file1":"1402036207","file0":"1402036206","file4":"1402036214","file5":"1402036218","file3":"1402036211"},"map_files_photo_id_array":[{"photo_id":"1402036218","filename":"file5"},{"photo_id":"1402036209","filename":"file2"},{"photo_id":"1402036214","filename":"file4"},{"photo_id":"1402036207","filename":"file1"},{"photo_id":"1402036206","filename":"file0"},{"photo_id":"1402036211","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036207":["hashtag1","hashtag2"]},{"1402036218":["hashtag1","hashtag2"]},{"1402036206":["hashtag1","hashtag2"]},{"1402036209":["hashtag1","hashtag2"]},{"1402036214":["hashtag1","hashtag2"]},{"1402036211":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036207, 1402036218, 1402036206, 1402036209, 1402036214, 1402036211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59392857551575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:29:03.255279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/08/image_01012026_18_09_05_10735.jpg', '/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_15_9694.jpg', '/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_25_9885.jpg', '/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_34_9811.jpg', '/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_45_10674.jpg', '/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_55_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/08/image_01012026_18_09_05_10735.jpg
/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_15_9694.jpg
/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_25_9885.jpg
/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_34_9811.jpg
/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_45_10674.jpg
/home/pi/Desktop/images/01012026/18/09/image_01012026_18_09_55_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036225","1402036230","1402036232","1402036226","1402036229","1402036223"],"photo_ids_order":["1402036223","1402036225","1402036226","1402036229","1402036230","1402036232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c7df649c954f7c2eb10dc2245bfa7a2.jpg","text":"TemporaryFile(/tmp/multipartBody857618527348741322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288603990,"filename":"image_01012026_18_09_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e921c6da2c1a54620ced6b486b4c634b.jpg","text":"TemporaryFile(/tmp/multipartBody1890777989574826753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288603990,"filename":"image_01012026_18_09_45_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7441569fea4ebc94a37e367259aa186.jpg","text":"TemporaryFile(/tmp/multipartBody1534741157201110900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288603990,"filename":"image_01012026_18_09_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a93c86d0a8ff1b6b7f3a0d98d0a4c951.jpg","text":"TemporaryFile(/tmp/multipartBody62416908144998377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288603990,"filename":"image_01012026_18_09_25_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/803ad8316990f7774949bb6467afdafb.jpg","text":"TemporaryFile(/tmp/multipartBody6737952539611272119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288603990,"filename":"image_01012026_18_09_34_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6bdd82d692ad0c626a63beb311c2ff53.jpg","text":"TemporaryFile(/tmp/multipartBody2764736209405168376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288603990,"filename":"image_01012026_18_09_05_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036226","file1":"1402036225","file0":"1402036223","file4":"1402036230","file5":"1402036232","file3":"1402036229"},"map_files_photo_id_array":[{"photo_id":"1402036232","filename":"file5"},{"photo_id":"1402036226","filename":"file2"},{"photo_id":"1402036230","filename":"file4"},{"photo_id":"1402036225","filename":"file1"},{"photo_id":"1402036223","filename":"file0"},{"photo_id":"1402036229","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036225":["hashtag1","hashtag2"]},{"1402036230":["hashtag1","hashtag2"]},{"1402036232":["hashtag1","hashtag2"]},{"1402036226":["hashtag1","hashtag2"]},{"1402036229":["hashtag1","hashtag2"]},{"1402036223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036225, 1402036230, 1402036232, 1402036226, 1402036229, 1402036223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21218276023865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:29:42.367305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_43_6303.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_45_1949.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_47_1728.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_50_2638.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_54_4711.jpg', '/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_56_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_43_6303.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_45_1949.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_47_1728.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_50_2638.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_54_4711.jpg
/home/pi/Desktop/images/04112025/18/27/image_04112025_18_27_56_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036246","1402036248","1402036245","1402036239","1402036244","1402036247"],"photo_ids_order":["1402036239","1402036244","1402036245","1402036246","1402036247","1402036248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c0a9ee40d359f33cdab3b1b512f1eef.jpg","text":"TemporaryFile(/tmp/multipartBody5793531329254181937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288644416,"filename":"image_04112025_18_27_50_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be429786ffa4c9b222586d84f4cba5d7.jpg","text":"TemporaryFile(/tmp/multipartBody1002124890796972003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288644416,"filename":"image_04112025_18_27_56_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5080fb606243a03be4a26008bc101910.jpg","text":"TemporaryFile(/tmp/multipartBody4080224441821729431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288644416,"filename":"image_04112025_18_27_47_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4210eab527a2a7ed5079bce2e21fea4.jpg","text":"TemporaryFile(/tmp/multipartBody1305617436384704997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288644416,"filename":"image_04112025_18_27_43_6303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7a093dd4fa002b740ce4a754010c535.jpg","text":"TemporaryFile(/tmp/multipartBody5223533038028902451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288644416,"filename":"image_04112025_18_27_45_1949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9598a09f5a0d0b4189363a9e7da8a4a7.jpg","text":"TemporaryFile(/tmp/multipartBody2547642778199436842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288644416,"filename":"image_04112025_18_27_54_4711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036245","file1":"1402036244","file0":"1402036239","file4":"1402036247","file5":"1402036248","file3":"1402036246"},"map_files_photo_id_array":[{"photo_id":"1402036248","filename":"file5"},{"photo_id":"1402036245","filename":"file2"},{"photo_id":"1402036247","filename":"file4"},{"photo_id":"1402036244","filename":"file1"},{"photo_id":"1402036239","filename":"file0"},{"photo_id":"1402036246","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036246":["hashtag1","hashtag2"]},{"1402036248":["hashtag1","hashtag2"]},{"1402036245":["hashtag1","hashtag2"]},{"1402036239":["hashtag1","hashtag2"]},{"1402036244":["hashtag1","hashtag2"]},{"1402036247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036246, 1402036248, 1402036245, 1402036239, 1402036244, 1402036247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7178053855896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:30:22.580453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/09/image_01012026_18_10_05_9921.jpg', '/home/pi/Desktop/images/01012026/18/10/image_01012026_18_10_25_10704.jpg', '/home/pi/Desktop/images/01012026/18/10/image_01012026_18_10_35_9595.jpg', '/home/pi/Desktop/images/01012026/18/10/image_01012026_18_10_44_9800.jpg', '/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_15_10530.jpg', '/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_25_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/09/image_01012026_18_10_05_9921.jpg
/home/pi/Desktop/images/01012026/18/10/image_01012026_18_10_25_10704.jpg
/home/pi/Desktop/images/01012026/18/10/image_01012026_18_10_35_9595.jpg
/home/pi/Desktop/images/01012026/18/10/image_01012026_18_10_44_9800.jpg
/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_15_10530.jpg
/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_25_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":["1402036261","1402036258","1402036252","1402036251","1402036254","1402036256"],"photo_ids_order":["1402036251","1402036252","1402036254","1402036256","1402036258","1402036261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7796ab041737da9dbf879264b96fb101.jpg","text":"TemporaryFile(/tmp/multipartBody2659064284634608244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288683167,"filename":"image_01012026_18_11_25_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7830941e872c56ac833931467fd2a257.jpg","text":"TemporaryFile(/tmp/multipartBody7105407041671226996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288683167,"filename":"image_01012026_18_11_15_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b760b9a47e5d4ab04edffa91c007d14d.jpg","text":"TemporaryFile(/tmp/multipartBody7325964848965268557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288683167,"filename":"image_01012026_18_10_25_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/317ee37562e141da7926de342b1538cc.jpg","text":"TemporaryFile(/tmp/multipartBody7934982157542397398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288683167,"filename":"image_01012026_18_10_05_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7548fb10300928b71035513b10674633.jpg","text":"TemporaryFile(/tmp/multipartBody7018831098768770633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288683167,"filename":"image_01012026_18_10_35_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f928557a16b1a856ab39fa4e42959abf.jpg","text":"TemporaryFile(/tmp/multipartBody1920585422816561009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288683167,"filename":"image_01012026_18_10_44_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036254","file1":"1402036252","file0":"1402036251","file4":"1402036258","file5":"1402036261","file3":"1402036256"},"map_files_photo_id_array":[{"photo_id":"1402036261","filename":"file5"},{"photo_id":"1402036254","filename":"file2"},{"photo_id":"1402036258","filename":"file4"},{"photo_id":"1402036252","filename":"file1"},{"photo_id":"1402036251","filename":"file0"},{"photo_id":"1402036256","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036261":["hashtag1","hashtag2"]},{"1402036258":["hashtag1","hashtag2"]},{"1402036252":["hashtag1","hashtag2"]},{"1402036251":["hashtag1","hashtag2"]},{"1402036254":["hashtag1","hashtag2"]},{"1402036256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036261, 1402036258, 1402036252, 1402036251, 1402036254, 1402036256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30910348892212 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:31:03.507528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_35_9695.jpg', '/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_44_9573.jpg', '/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_55_10564.jpg', '/home/pi/Desktop/images/01012026/18/11/image_01012026_18_12_04_9574.jpg', '/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_15_10700.jpg', '/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_25_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_35_9695.jpg
/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_44_9573.jpg
/home/pi/Desktop/images/01012026/18/11/image_01012026_18_11_55_10564.jpg
/home/pi/Desktop/images/01012026/18/11/image_01012026_18_12_04_9574.jpg
/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_15_10700.jpg
/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_25_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":["1402036264","1402036266","1402036269","1402036263","1402036265","1402036267"],"photo_ids_order":["1402036263","1402036264","1402036265","1402036266","1402036267","1402036269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/943dfdad065a10f6d3ced1a26dc8b078.jpg","text":"TemporaryFile(/tmp/multipartBody5027861977838437397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288724146,"filename":"image_01012026_18_11_44_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e90cdae3678a461eb26dd04c290f26d0.jpg","text":"TemporaryFile(/tmp/multipartBody5549378990539874929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288724146,"filename":"image_01012026_18_12_04_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19fc33e2a2b8ac0b9cdd2b925cf0da9b.jpg","text":"TemporaryFile(/tmp/multipartBody8294311222100470085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288724146,"filename":"image_01012026_18_12_25_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/031836d4467de3adce94a24b4a062b2e.jpg","text":"TemporaryFile(/tmp/multipartBody7012792932328528457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288724146,"filename":"image_01012026_18_11_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/944662c713305778b8d029e5f5262886.jpg","text":"TemporaryFile(/tmp/multipartBody4471947359768526705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288724146,"filename":"image_01012026_18_11_55_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07474362d9c25e3a79c8152592f349fc.jpg","text":"TemporaryFile(/tmp/multipartBody4090380534499749520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288724146,"filename":"image_01012026_18_12_15_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036265","file1":"1402036264","file0":"1402036263","file4":"1402036267","file5":"1402036269","file3":"1402036266"},"map_files_photo_id_array":[{"photo_id":"1402036269","filename":"file5"},{"photo_id":"1402036265","filename":"file2"},{"photo_id":"1402036267","filename":"file4"},{"photo_id":"1402036264","filename":"file1"},{"photo_id":"1402036263","filename":"file0"},{"photo_id":"1402036266","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036264":["hashtag1","hashtag2"]},{"1402036266":["hashtag1","hashtag2"]},{"1402036269":["hashtag1","hashtag2"]},{"1402036263":["hashtag1","hashtag2"]},{"1402036265":["hashtag1","hashtag2"]},{"1402036267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036264, 1402036266, 1402036269, 1402036263, 1402036265, 1402036267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.24819993972778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:31:42.827279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_20_24204.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_40_1641.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_46_4517.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_48_1683.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_51_1728.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_53_1802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_20_24204.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_40_1641.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_46_4517.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_48_1683.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_51_1728.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_53_1802.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: 4.8747944831848145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:32:02.357861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_35_9597.jpg', '/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_45_10628.jpg', '/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_55_9666.jpg', '/home/pi/Desktop/images/01012026/18/12/image_01012026_18_13_05_10021.jpg', '/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_15_9763.jpg', '/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_24_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_35_9597.jpg
/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_45_10628.jpg
/home/pi/Desktop/images/01012026/18/12/image_01012026_18_12_55_9666.jpg
/home/pi/Desktop/images/01012026/18/12/image_01012026_18_13_05_10021.jpg
/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_15_9763.jpg
/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_24_9793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036284","1402036287","1402036281","1402036289","1402036283","1402036286"],"photo_ids_order":["1402036281","1402036283","1402036284","1402036286","1402036287","1402036289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab8e4b9e240434fb860f02fc66819bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5486377338508735107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288782979,"filename":"image_01012026_18_12_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e968102d76150f21ad64c2826244ec4e.jpg","text":"TemporaryFile(/tmp/multipartBody2750270913949770968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288782979,"filename":"image_01012026_18_13_15_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19d46fb9a1ec54487ba11c2c716cace2.jpg","text":"TemporaryFile(/tmp/multipartBody1194881881955839482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288782979,"filename":"image_01012026_18_12_35_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b49cc644e5154c0084800135cc31bd90.jpg","text":"TemporaryFile(/tmp/multipartBody6759802721967096881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288782979,"filename":"image_01012026_18_13_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbfcacca6bfa84c9f111640e14e5c82a.jpg","text":"TemporaryFile(/tmp/multipartBody5121108608249595922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288782979,"filename":"image_01012026_18_12_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e79481cc9200d0181924e192f8df9feb.jpg","text":"TemporaryFile(/tmp/multipartBody2818088906352110625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288782979,"filename":"image_01012026_18_13_05_10021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036284","file1":"1402036283","file0":"1402036281","file4":"1402036287","file5":"1402036289","file3":"1402036286"},"map_files_photo_id_array":[{"photo_id":"1402036289","filename":"file5"},{"photo_id":"1402036284","filename":"file2"},{"photo_id":"1402036287","filename":"file4"},{"photo_id":"1402036283","filename":"file1"},{"photo_id":"1402036281","filename":"file0"},{"photo_id":"1402036286","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036284":["hashtag1","hashtag2"]},{"1402036287":["hashtag1","hashtag2"]},{"1402036281":["hashtag1","hashtag2"]},{"1402036289":["hashtag1","hashtag2"]},{"1402036283":["hashtag1","hashtag2"]},{"1402036286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036284, 1402036287, 1402036281, 1402036289, 1402036283, 1402036286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98263502120972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:32:41.953562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_20_24204.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_40_1641.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_46_4517.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_48_1683.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_51_1728.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_53_1802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_20_24204.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_40_1641.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_46_4517.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_48_1683.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_51_1728.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_53_1802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036296","1402036300","1402036299","1402036302","1402036298","1402036301"],"photo_ids_order":["1402036296","1402036298","1402036299","1402036300","1402036301","1402036302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4eec1dec5e135f6555449ca1eaecc3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6155887426100197625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288823625,"filename":"image_04112025_18_28_20_24204.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/979aead4307f5d2fa13d1129bb4b4c60.jpg","text":"TemporaryFile(/tmp/multipartBody7684979986295621985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288823625,"filename":"image_04112025_18_28_48_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/657831001ef258877afe543e558ef8cd.jpg","text":"TemporaryFile(/tmp/multipartBody4174014762281497886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288823625,"filename":"image_04112025_18_28_46_4517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f3a2596f86bbd28a0e69559beaecbfb.jpg","text":"TemporaryFile(/tmp/multipartBody2087062381903636582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288823625,"filename":"image_04112025_18_28_53_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba02182e2b19a54b47273c4c7f549e37.jpg","text":"TemporaryFile(/tmp/multipartBody3028354198073282102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288823625,"filename":"image_04112025_18_28_40_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae0b00da1df2e3c3b0cc0750d30b36ee.jpg","text":"TemporaryFile(/tmp/multipartBody7168695242874522598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288823625,"filename":"image_04112025_18_28_51_1728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036299","file1":"1402036298","file0":"1402036296","file4":"1402036301","file5":"1402036302","file3":"1402036300"},"map_files_photo_id_array":[{"photo_id":"1402036302","filename":"file5"},{"photo_id":"1402036299","filename":"file2"},{"photo_id":"1402036301","filename":"file4"},{"photo_id":"1402036298","filename":"file1"},{"photo_id":"1402036296","filename":"file0"},{"photo_id":"1402036300","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036296":["hashtag1","hashtag2"]},{"1402036300":["hashtag1","hashtag2"]},{"1402036299":["hashtag1","hashtag2"]},{"1402036302":["hashtag1","hashtag2"]},{"1402036298":["hashtag1","hashtag2"]},{"1402036301":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036296, 1402036300, 1402036299, 1402036302, 1402036298, 1402036301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17883086204529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:33:22.295838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_35_10667.jpg', '/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_45_9840.jpg', '/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_54_9539.jpg', '/home/pi/Desktop/images/01012026/18/13/image_01012026_18_14_04_9780.jpg', '/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_15_10587.jpg', '/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_25_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_35_10667.jpg
/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_45_9840.jpg
/home/pi/Desktop/images/01012026/18/13/image_01012026_18_13_54_9539.jpg
/home/pi/Desktop/images/01012026/18/13/image_01012026_18_14_04_9780.jpg
/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_15_10587.jpg
/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_25_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":["1402036312","1402036306","1402036315","1402036308","1402036310","1402036304"],"photo_ids_order":["1402036304","1402036306","1402036308","1402036310","1402036312","1402036315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e416bf43c5d3105fadf7cc4ad4af63ae.jpg","text":"TemporaryFile(/tmp/multipartBody6666283052419650170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288862931,"filename":"image_01012026_18_14_15_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b6cac1ad765f7b8798ab17fec0e676f.jpg","text":"TemporaryFile(/tmp/multipartBody6325951169818204989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288862931,"filename":"image_01012026_18_13_45_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/617e34d7b19647b723bf5ead747363eb.jpg","text":"TemporaryFile(/tmp/multipartBody524656227827993952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288862931,"filename":"image_01012026_18_14_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f55d4d2a7315eade364c10057f763db7.jpg","text":"TemporaryFile(/tmp/multipartBody4313973381028650512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288862931,"filename":"image_01012026_18_13_54_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1f41738b514dcdf6e5a0ce219f6e432.jpg","text":"TemporaryFile(/tmp/multipartBody6807573524938159551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288862931,"filename":"image_01012026_18_14_04_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a0c84f3dbaf183762b0064010b76188.jpg","text":"TemporaryFile(/tmp/multipartBody2082349165247483895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288862931,"filename":"image_01012026_18_13_35_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036308","file1":"1402036306","file0":"1402036304","file4":"1402036312","file5":"1402036315","file3":"1402036310"},"map_files_photo_id_array":[{"photo_id":"1402036315","filename":"file5"},{"photo_id":"1402036308","filename":"file2"},{"photo_id":"1402036312","filename":"file4"},{"photo_id":"1402036306","filename":"file1"},{"photo_id":"1402036304","filename":"file0"},{"photo_id":"1402036310","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036312":["hashtag1","hashtag2"]},{"1402036306":["hashtag1","hashtag2"]},{"1402036315":["hashtag1","hashtag2"]},{"1402036308":["hashtag1","hashtag2"]},{"1402036310":["hashtag1","hashtag2"]},{"1402036304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036312, 1402036306, 1402036315, 1402036308, 1402036310, 1402036304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.399274587631226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:34:10.112029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_35_10692.jpg', '/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_45_9632.jpg', '/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_55_9808.jpg', '/home/pi/Desktop/images/01012026/18/14/image_01012026_18_15_04_9795.jpg', '/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_14_9838.jpg', '/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_25_10811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_35_10692.jpg
/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_45_9632.jpg
/home/pi/Desktop/images/01012026/18/14/image_01012026_18_14_55_9808.jpg
/home/pi/Desktop/images/01012026/18/14/image_01012026_18_15_04_9795.jpg
/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_14_9838.jpg
/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_25_10811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036324","1402036318","1402036320","1402036317","1402036326","1402036322"],"photo_ids_order":["1402036317","1402036318","1402036320","1402036322","1402036324","1402036326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec74106a6e4d7e6054058fd43283ae68.jpg","text":"TemporaryFile(/tmp/multipartBody9070559043785175253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288910790,"filename":"image_01012026_18_15_14_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53761090288e90b1686116383f28bec8.jpg","text":"TemporaryFile(/tmp/multipartBody3511810198849837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288910790,"filename":"image_01012026_18_14_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee0342d446e8ffb5ec55363ee25aa736.jpg","text":"TemporaryFile(/tmp/multipartBody8888855969603968339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288910790,"filename":"image_01012026_18_14_55_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1530f46924fd82aef1348ddbba97e2c.jpg","text":"TemporaryFile(/tmp/multipartBody1789177631407824533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288910790,"filename":"image_01012026_18_14_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8e55b95d2d0ee6047bbd43d9946f3c7.jpg","text":"TemporaryFile(/tmp/multipartBody3955702862077029365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288910790,"filename":"image_01012026_18_15_25_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0871e3f28648864ed329a19c4a494cad.jpg","text":"TemporaryFile(/tmp/multipartBody1932388908850878466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288910790,"filename":"image_01012026_18_15_04_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036320","file1":"1402036318","file0":"1402036317","file4":"1402036324","file5":"1402036326","file3":"1402036322"},"map_files_photo_id_array":[{"photo_id":"1402036326","filename":"file5"},{"photo_id":"1402036320","filename":"file2"},{"photo_id":"1402036324","filename":"file4"},{"photo_id":"1402036318","filename":"file1"},{"photo_id":"1402036317","filename":"file0"},{"photo_id":"1402036322","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036324":["hashtag1","hashtag2"]},{"1402036318":["hashtag1","hashtag2"]},{"1402036320":["hashtag1","hashtag2"]},{"1402036317":["hashtag1","hashtag2"]},{"1402036326":["hashtag1","hashtag2"]},{"1402036322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036324, 1402036318, 1402036320, 1402036317, 1402036326, 1402036322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.086981773376465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:34:49.402509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_56_3175.jpg', '/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_58_1628.jpg', '/home/pi/Desktop/images/04112025/18/29/image_04112025_18_29_17_14147.jpg', '/home/pi/Desktop/images/04112025/18/29/image_04112025_18_29_19_1722.jpg', '/home/pi/Desktop/images/04112025/18/29/image_04112025_18_29_43_24292.jpg', '/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_06_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_56_3175.jpg
/home/pi/Desktop/images/04112025/18/28/image_04112025_18_28_58_1628.jpg
/home/pi/Desktop/images/04112025/18/29/image_04112025_18_29_17_14147.jpg
/home/pi/Desktop/images/04112025/18/29/image_04112025_18_29_19_1722.jpg
/home/pi/Desktop/images/04112025/18/29/image_04112025_18_29_43_24292.jpg
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_06_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":["1402036336","1402036333","1402036332","1402036335","1402036331","1402036334"],"photo_ids_order":["1402036331","1402036332","1402036333","1402036334","1402036335","1402036336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87a823b99832ab3b02159d5cae6c6e90.jpg","text":"TemporaryFile(/tmp/multipartBody1140077308466637853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288951346,"filename":"image_04112025_18_31_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38c6534b5714e671379494e5effb4ca7.jpg","text":"TemporaryFile(/tmp/multipartBody5196323818934287877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288951346,"filename":"image_04112025_18_29_17_14147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15b7c2349b86b94676449a11b3e23dbe.jpg","text":"TemporaryFile(/tmp/multipartBody2520559146647383536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288951346,"filename":"image_04112025_18_28_58_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0e78d0d3c3665ec48ec520c64121b42.jpg","text":"TemporaryFile(/tmp/multipartBody3996340914053631132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288951346,"filename":"image_04112025_18_29_43_24292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a275380d20d1a3741b5946ad8bf5eec.jpg","text":"TemporaryFile(/tmp/multipartBody8125631402384839753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288951346,"filename":"image_04112025_18_28_56_3175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb56a9c14398856658de1d1b3c730dff.jpg","text":"TemporaryFile(/tmp/multipartBody1994149768002749620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288951346,"filename":"image_04112025_18_29_19_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036333","file1":"1402036332","file0":"1402036331","file4":"1402036335","file5":"1402036336","file3":"1402036334"},"map_files_photo_id_array":[{"photo_id":"1402036336","filename":"file5"},{"photo_id":"1402036333","filename":"file2"},{"photo_id":"1402036335","filename":"file4"},{"photo_id":"1402036332","filename":"file1"},{"photo_id":"1402036331","filename":"file0"},{"photo_id":"1402036334","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036336":["hashtag1","hashtag2"]},{"1402036333":["hashtag1","hashtag2"]},{"1402036332":["hashtag1","hashtag2"]},{"1402036335":["hashtag1","hashtag2"]},{"1402036331":["hashtag1","hashtag2"]},{"1402036334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036336, 1402036333, 1402036332, 1402036335, 1402036331, 1402036334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49277067184448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:35:32.482139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_10_3586.jpg', '/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_13_2548.jpg', '/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_16_3712.jpg', '/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_26_9499.jpg', '/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_29_1734.jpg', '/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_31_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_10_3586.jpg
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_13_2548.jpg
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_16_3712.jpg
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_26_9499.jpg
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_29_1734.jpg
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_31_1644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036351","1402036350","1402036347","1402036341","1402036343","1402036352"],"photo_ids_order":["1402036341","1402036343","1402036347","1402036350","1402036351","1402036352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfd9ca7701abd12fd4b9f8be49be30fb.jpg","text":"TemporaryFile(/tmp/multipartBody1179507462162764990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288994232,"filename":"image_04112025_18_31_29_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5709a242ca2e3911ed7ed54108fc6e4b.jpg","text":"TemporaryFile(/tmp/multipartBody6481858820455133622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288994232,"filename":"image_04112025_18_31_26_9499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/901dc5c265fec13f075fb49e5d9d06ce.jpg","text":"TemporaryFile(/tmp/multipartBody1799603696131888852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288994232,"filename":"image_04112025_18_31_16_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18dc99da000e06aacb9dded558796fb3.jpg","text":"TemporaryFile(/tmp/multipartBody2006464820081746782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288994232,"filename":"image_04112025_18_31_10_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d62fcdbd0e82f1e615e46dc3e50f4e1d.jpg","text":"TemporaryFile(/tmp/multipartBody5146654587582707434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288994232,"filename":"image_04112025_18_31_13_2548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7bc44c0240c8d0b8cdfd32df6fcf092.jpg","text":"TemporaryFile(/tmp/multipartBody3093649434552177353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767288994232,"filename":"image_04112025_18_31_31_1644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036347","file1":"1402036343","file0":"1402036341","file4":"1402036351","file5":"1402036352","file3":"1402036350"},"map_files_photo_id_array":[{"photo_id":"1402036352","filename":"file5"},{"photo_id":"1402036347","filename":"file2"},{"photo_id":"1402036351","filename":"file4"},{"photo_id":"1402036343","filename":"file1"},{"photo_id":"1402036341","filename":"file0"},{"photo_id":"1402036350","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036351":["hashtag1","hashtag2"]},{"1402036350":["hashtag1","hashtag2"]},{"1402036347":["hashtag1","hashtag2"]},{"1402036341":["hashtag1","hashtag2"]},{"1402036343":["hashtag1","hashtag2"]},{"1402036352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036351, 1402036350, 1402036347, 1402036341, 1402036343, 1402036352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.08520317077637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:36:12.017769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_37_2820.jpg', '/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_42_2684.jpg', '/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_46_3600.jpg', '/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_17_30960.jpg', '/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_19_1624.jpg', '/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_20_1828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_37_2820.jpg
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_42_2684.jpg
/home/pi/Desktop/images/04112025/18/31/image_04112025_18_31_46_3600.jpg
/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_17_30960.jpg
/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_19_1624.jpg
/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_20_1828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036354","1402036363","1402036359","1402036356","1402036361","1402036355"],"photo_ids_order":["1402036354","1402036355","1402036356","1402036359","1402036361","1402036363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0b9be034a7b616a1501f6a4b4a21533.jpg","text":"TemporaryFile(/tmp/multipartBody7877345823103460590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289033774,"filename":"image_04112025_18_31_37_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a60eb8a23427cc1ff2b2970ccdaa90d2.jpg","text":"TemporaryFile(/tmp/multipartBody5062229164399211267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289033774,"filename":"image_04112025_18_32_20_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/099d62a710c8e9c26cf943f1c661e804.jpg","text":"TemporaryFile(/tmp/multipartBody9163344266777264634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289033774,"filename":"image_04112025_18_32_17_30960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3442c551db7852d0c136633e59fca4b.jpg","text":"TemporaryFile(/tmp/multipartBody8624476877615353748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289033774,"filename":"image_04112025_18_31_46_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5b4635e437db4c53f1b017bbf491314.jpg","text":"TemporaryFile(/tmp/multipartBody8307048477400803932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289033774,"filename":"image_04112025_18_32_19_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e14a8f110d5a41eebc2ec266a5d2942f.jpg","text":"TemporaryFile(/tmp/multipartBody6726057404592396544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289033774,"filename":"image_04112025_18_31_42_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036356","file1":"1402036355","file0":"1402036354","file4":"1402036361","file5":"1402036363","file3":"1402036359"},"map_files_photo_id_array":[{"photo_id":"1402036363","filename":"file5"},{"photo_id":"1402036356","filename":"file2"},{"photo_id":"1402036361","filename":"file4"},{"photo_id":"1402036355","filename":"file1"},{"photo_id":"1402036354","filename":"file0"},{"photo_id":"1402036359","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036354":["hashtag1","hashtag2"]},{"1402036363":["hashtag1","hashtag2"]},{"1402036359":["hashtag1","hashtag2"]},{"1402036356":["hashtag1","hashtag2"]},{"1402036361":["hashtag1","hashtag2"]},{"1402036355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036354, 1402036363, 1402036359, 1402036356, 1402036361, 1402036355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30503034591675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:37:11.425367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_35_9567.jpg', '/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_44_9562.jpg', '/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_55_10708.jpg', '/home/pi/Desktop/images/01012026/18/15/image_01012026_18_16_05_9643.jpg', '/home/pi/Desktop/images/01012026/18/16/image_01012026_18_16_14_9814.jpg', '/home/pi/Desktop/images/01012026/18/16/image_01012026_18_16_25_10807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_35_9567.jpg
/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_44_9562.jpg
/home/pi/Desktop/images/01012026/18/15/image_01012026_18_15_55_10708.jpg
/home/pi/Desktop/images/01012026/18/15/image_01012026_18_16_05_9643.jpg
/home/pi/Desktop/images/01012026/18/16/image_01012026_18_16_14_9814.jpg
/home/pi/Desktop/images/01012026/18/16/image_01012026_18_16_25_10807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036375","1402036369","1402036371","1402036368","1402036373","1402036367"],"photo_ids_order":["1402036367","1402036368","1402036369","1402036371","1402036373","1402036375"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0705880a0b9c14ae6d1d45859f14a59a.jpg","text":"TemporaryFile(/tmp/multipartBody2951496384005661004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289092295,"filename":"image_01012026_18_16_25_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8297ed1c2d6f68c54360b0b03a4d2c3b.jpg","text":"TemporaryFile(/tmp/multipartBody4970829012839999598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289092295,"filename":"image_01012026_18_15_55_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2329be355ef9b0c814a642b86aa7b08b.jpg","text":"TemporaryFile(/tmp/multipartBody2918157225002177586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289092295,"filename":"image_01012026_18_16_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6015f9421e269d38b0ee2dc87cd8aa77.jpg","text":"TemporaryFile(/tmp/multipartBody4939904647626458452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289092295,"filename":"image_01012026_18_15_44_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cd7122e87c928f537bb4e4f67a815e1.jpg","text":"TemporaryFile(/tmp/multipartBody5082125242798559308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289092295,"filename":"image_01012026_18_16_14_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ba14e495d21df191c2bac8567a92c03.jpg","text":"TemporaryFile(/tmp/multipartBody3624870169289472642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289092295,"filename":"image_01012026_18_15_35_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036369","file1":"1402036368","file0":"1402036367","file4":"1402036373","file5":"1402036375","file3":"1402036371"},"map_files_photo_id_array":[{"photo_id":"1402036375","filename":"file5"},{"photo_id":"1402036369","filename":"file2"},{"photo_id":"1402036373","filename":"file4"},{"photo_id":"1402036368","filename":"file1"},{"photo_id":"1402036367","filename":"file0"},{"photo_id":"1402036371","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036375":["hashtag1","hashtag2"]},{"1402036369":["hashtag1","hashtag2"]},{"1402036371":["hashtag1","hashtag2"]},{"1402036368":["hashtag1","hashtag2"]},{"1402036373":["hashtag1","hashtag2"]},{"1402036367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036375, 1402036369, 1402036371, 1402036368, 1402036373, 1402036367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21553611755371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:37:49.325658
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_22_1614.jpg', '/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_27_1686.jpg', '/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_29_1548.jpg', '/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_30_1624.jpg', '/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_07_3011.jpg', '/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_13_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_22_1614.jpg
/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_27_1686.jpg
/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_29_1548.jpg
/home/pi/Desktop/images/04112025/18/32/image_04112025_18_32_30_1624.jpg
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_07_3011.jpg
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_13_2629.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":["1402036381","1402036383","1402036386","1402036382","1402036385","1402036384"],"photo_ids_order":["1402036381","1402036382","1402036383","1402036384","1402036385","1402036386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4829df82d60d510a84be8acd52ae469.jpg","text":"TemporaryFile(/tmp/multipartBody1614359144039005252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289139420,"filename":"image_04112025_18_32_22_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d357567b337bb4426c68327b411fd908.jpg","text":"TemporaryFile(/tmp/multipartBody2657623989711674954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289139420,"filename":"image_04112025_18_32_29_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d50b4a66217672582846d22b66faec2.jpg","text":"TemporaryFile(/tmp/multipartBody6563250629762354496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289139420,"filename":"image_04112025_18_36_13_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c1113e2d451acb2bbc715d34096e1cd.jpg","text":"TemporaryFile(/tmp/multipartBody5890711891665271299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289139420,"filename":"image_04112025_18_32_27_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cd62ba22a5d1da452f3dd47f3a7330a.jpg","text":"TemporaryFile(/tmp/multipartBody1931877729832046640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289139420,"filename":"image_04112025_18_36_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff94c2c271f314719f6f443ef512e747.jpg","text":"TemporaryFile(/tmp/multipartBody4448685407030168524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289139420,"filename":"image_04112025_18_32_30_1624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036383","file1":"1402036382","file0":"1402036381","file4":"1402036385","file5":"1402036386","file3":"1402036384"},"map_files_photo_id_array":[{"photo_id":"1402036386","filename":"file5"},{"photo_id":"1402036383","filename":"file2"},{"photo_id":"1402036385","filename":"file4"},{"photo_id":"1402036382","filename":"file1"},{"photo_id":"1402036381","filename":"file0"},{"photo_id":"1402036384","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036381":["hashtag1","hashtag2"]},{"1402036383":["hashtag1","hashtag2"]},{"1402036386":["hashtag1","hashtag2"]},{"1402036382":["hashtag1","hashtag2"]},{"1402036385":["hashtag1","hashtag2"]},{"1402036384":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036381, 1402036383, 1402036386, 1402036382, 1402036385, 1402036384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.625027894973755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:38:42.508644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_16_2658.jpg', '/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_20_3913.jpg', '/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_25_2574.jpg', '/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_29_3716.jpg', '/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_31_2692.jpg', '/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_48_11372.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_16_2658.jpg
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_20_3913.jpg
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_25_2574.jpg
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_29_3716.jpg
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_31_2692.jpg
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_48_11372.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036396","1402036395","1402036392","1402036394","1402036397","1402036393"],"photo_ids_order":["1402036392","1402036393","1402036394","1402036395","1402036396","1402036397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4041ba8f3119f986a6318d0169e6d35b.jpg","text":"TemporaryFile(/tmp/multipartBody1078715205822635237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289184267,"filename":"image_04112025_18_36_31_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02043ebab85696bce9da53358b0c3711.jpg","text":"TemporaryFile(/tmp/multipartBody7350620023809169841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289184267,"filename":"image_04112025_18_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/2026/1/1/456f45fec4f9221eeced554fa50b0964.jpg","text":"TemporaryFile(/tmp/multipartBody3842960059271043833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289184267,"filename":"image_04112025_18_36_16_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c4f21f184fcbefe4ed710e9d1eaaef6.jpg","text":"TemporaryFile(/tmp/multipartBody5196666244610920094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289184267,"filename":"image_04112025_18_36_25_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd1b642c6a6a2266f6942574ae65df1d.jpg","text":"TemporaryFile(/tmp/multipartBody5720800827149252539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289184267,"filename":"image_04112025_18_36_48_11372.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9346ec701d72e3a9e76f0d6e076602d6.jpg","text":"TemporaryFile(/tmp/multipartBody2403986341734987512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289184267,"filename":"image_04112025_18_36_20_3913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036394","file1":"1402036393","file0":"1402036392","file4":"1402036396","file5":"1402036397","file3":"1402036395"},"map_files_photo_id_array":[{"photo_id":"1402036397","filename":"file5"},{"photo_id":"1402036394","filename":"file2"},{"photo_id":"1402036396","filename":"file4"},{"photo_id":"1402036393","filename":"file1"},{"photo_id":"1402036392","filename":"file0"},{"photo_id":"1402036395","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036396":["hashtag1","hashtag2"]},{"1402036395":["hashtag1","hashtag2"]},{"1402036392":["hashtag1","hashtag2"]},{"1402036394":["hashtag1","hashtag2"]},{"1402036397":["hashtag1","hashtag2"]},{"1402036393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036396, 1402036395, 1402036392, 1402036394, 1402036397, 1402036393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60581684112549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:39:22.779245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/16/image_01012026_18_16_35_9720.jpg', '/home/pi/Desktop/images/01012026/18/16/image_01012026_18_16_55_10750.jpg', '/home/pi/Desktop/images/01012026/18/16/image_01012026_18_17_05_9949.jpg', '/home/pi/Desktop/images/01012026/18/17/image_01012026_18_17_25_9662.jpg', '/home/pi/Desktop/images/01012026/18/17/image_01012026_18_17_34_9603.jpg', '/home/pi/Desktop/images/01012026/18/17/image_01012026_18_17_45_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/16/image_01012026_18_16_35_9720.jpg
/home/pi/Desktop/images/01012026/18/16/image_01012026_18_16_55_10750.jpg
/home/pi/Desktop/images/01012026/18/16/image_01012026_18_17_05_9949.jpg
/home/pi/Desktop/images/01012026/18/17/image_01012026_18_17_25_9662.jpg
/home/pi/Desktop/images/01012026/18/17/image_01012026_18_17_34_9603.jpg
/home/pi/Desktop/images/01012026/18/17/image_01012026_18_17_45_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":["1402036405","1402036398","1402036401","1402036409","1402036400","1402036403"],"photo_ids_order":["1402036398","1402036400","1402036401","1402036403","1402036405","1402036409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/382fecbd89824f9c23aa594c0ab31d66.jpg","text":"TemporaryFile(/tmp/multipartBody8396758754713369858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289223362,"filename":"image_01012026_18_17_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dacdee187a19564e30c81c0b10918f48.jpg","text":"TemporaryFile(/tmp/multipartBody4285178220293685290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289223362,"filename":"image_01012026_18_16_35_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9de7b82af8edef5c4dbb021c5f7f2f86.jpg","text":"TemporaryFile(/tmp/multipartBody4981868026361793921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289223362,"filename":"image_01012026_18_17_05_9949.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0c5185b83090d0bc938df8c8020f66e.jpg","text":"TemporaryFile(/tmp/multipartBody627529744920938021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289223362,"filename":"image_01012026_18_17_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09836b2cb9aa52c42ca844a6b04cbd9b.jpg","text":"TemporaryFile(/tmp/multipartBody504714024190435731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289223362,"filename":"image_01012026_18_16_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/678e550e374eb8079a934c8d35d234c0.jpg","text":"TemporaryFile(/tmp/multipartBody8170407292467059639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289223362,"filename":"image_01012026_18_17_25_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036401","file1":"1402036400","file0":"1402036398","file4":"1402036405","file5":"1402036409","file3":"1402036403"},"map_files_photo_id_array":[{"photo_id":"1402036409","filename":"file5"},{"photo_id":"1402036401","filename":"file2"},{"photo_id":"1402036405","filename":"file4"},{"photo_id":"1402036400","filename":"file1"},{"photo_id":"1402036398","filename":"file0"},{"photo_id":"1402036403","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036405":["hashtag1","hashtag2"]},{"1402036398":["hashtag1","hashtag2"]},{"1402036401":["hashtag1","hashtag2"]},{"1402036409":["hashtag1","hashtag2"]},{"1402036400":["hashtag1","hashtag2"]},{"1402036403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036405, 1402036398, 1402036401, 1402036409, 1402036400, 1402036403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.773173093795776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:40:02.398288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/17/image_01012026_18_18_04_9824.jpg', '/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_15_10742.jpg', '/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_25_9773.jpg', '/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_35_9684.jpg', '/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_45_9947.jpg', '/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_55_10527.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/17/image_01012026_18_18_04_9824.jpg
/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_15_10742.jpg
/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_25_9773.jpg
/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_35_9684.jpg
/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_45_9947.jpg
/home/pi/Desktop/images/01012026/18/18/image_01012026_18_18_55_10527.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036420","1402036425","1402036422","1402036416","1402036419","1402036418"],"photo_ids_order":["1402036416","1402036418","1402036419","1402036420","1402036422","1402036425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0227b2c120e1907638051a9f35f51cb7.jpg","text":"TemporaryFile(/tmp/multipartBody8999081636150387880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289263070,"filename":"image_01012026_18_18_35_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fe28a7b2dae9a20292298ea16d63329.jpg","text":"TemporaryFile(/tmp/multipartBody8367705413707223390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289263070,"filename":"image_01012026_18_18_55_10527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6acf5eb45e8ea9fa5ab031cf75fae084.jpg","text":"TemporaryFile(/tmp/multipartBody7723124288242556350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289263070,"filename":"image_01012026_18_18_45_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8fabcd07b682e05a315d5b54cfebb1e0.jpg","text":"TemporaryFile(/tmp/multipartBody2274758874931372427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289263070,"filename":"image_01012026_18_18_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a73666a8bf6e251667647b86a38a1d2a.jpg","text":"TemporaryFile(/tmp/multipartBody5666294427839397012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289263070,"filename":"image_01012026_18_18_25_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7961eecaab79389978a73ccbd7402979.jpg","text":"TemporaryFile(/tmp/multipartBody3075507928531053265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289263070,"filename":"image_01012026_18_18_15_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036419","file1":"1402036418","file0":"1402036416","file4":"1402036422","file5":"1402036425","file3":"1402036420"},"map_files_photo_id_array":[{"photo_id":"1402036425","filename":"file5"},{"photo_id":"1402036419","filename":"file2"},{"photo_id":"1402036422","filename":"file4"},{"photo_id":"1402036418","filename":"file1"},{"photo_id":"1402036416","filename":"file0"},{"photo_id":"1402036420","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036420":["hashtag1","hashtag2"]},{"1402036425":["hashtag1","hashtag2"]},{"1402036422":["hashtag1","hashtag2"]},{"1402036416":["hashtag1","hashtag2"]},{"1402036419":["hashtag1","hashtag2"]},{"1402036418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036420, 1402036425, 1402036422, 1402036416, 1402036419, 1402036418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62076425552368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:40:41.980522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_54_5892.jpg', '/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_01_1590.jpg', '/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_04_1550.jpg', '/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_25_3671.jpg', '/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_28_2604.jpg', '/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_31_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/36/image_04112025_18_36_54_5892.jpg
/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_01_1590.jpg
/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_04_1550.jpg
/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_25_3671.jpg
/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_28_2604.jpg
/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_31_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036435","1402036431","1402036434","1402036437","1402036436","1402036433"],"photo_ids_order":["1402036431","1402036433","1402036434","1402036435","1402036436","1402036437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d9d2010a899f8bfbc2ed85788fb9a6e.jpg","text":"TemporaryFile(/tmp/multipartBody5070632552829534421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289303863,"filename":"image_04112025_18_37_25_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b74ddd276a73b376753375c9b53cee4.jpg","text":"TemporaryFile(/tmp/multipartBody8649404107483549274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289303863,"filename":"image_04112025_18_36_54_5892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68e59c23480709314462135d5304fb27.jpg","text":"TemporaryFile(/tmp/multipartBody3968650371066037631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289303863,"filename":"image_04112025_18_37_04_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bf4ad08b369509ac040ef9307bab730.jpg","text":"TemporaryFile(/tmp/multipartBody4550151824559310354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289303863,"filename":"image_04112025_18_37_31_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6143dc1d13f95c5d2629186f7e37a60.jpg","text":"TemporaryFile(/tmp/multipartBody8769378091678806317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289303863,"filename":"image_04112025_18_37_28_2604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07ad83352a52fdf3fca428ed9b9167d1.jpg","text":"TemporaryFile(/tmp/multipartBody3514356310176894346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289303863,"filename":"image_04112025_18_37_01_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036434","file1":"1402036433","file0":"1402036431","file4":"1402036436","file5":"1402036437","file3":"1402036435"},"map_files_photo_id_array":[{"photo_id":"1402036437","filename":"file5"},{"photo_id":"1402036434","filename":"file2"},{"photo_id":"1402036436","filename":"file4"},{"photo_id":"1402036433","filename":"file1"},{"photo_id":"1402036431","filename":"file0"},{"photo_id":"1402036435","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036435":["hashtag1","hashtag2"]},{"1402036431":["hashtag1","hashtag2"]},{"1402036434":["hashtag1","hashtag2"]},{"1402036437":["hashtag1","hashtag2"]},{"1402036436":["hashtag1","hashtag2"]},{"1402036433":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036435, 1402036431, 1402036434, 1402036437, 1402036436, 1402036433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.199928283691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:41:22.254056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/18/image_01012026_18_19_05_9763.jpg', '/home/pi/Desktop/images/01012026/18/19/image_01012026_18_19_45_9678.jpg', '/home/pi/Desktop/images/01012026/18/19/image_01012026_18_19_54_9630.jpg', '/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_05_10235.jpg', '/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_14_9567.jpg', '/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_25_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/18/image_01012026_18_19_05_9763.jpg
/home/pi/Desktop/images/01012026/18/19/image_01012026_18_19_45_9678.jpg
/home/pi/Desktop/images/01012026/18/19/image_01012026_18_19_54_9630.jpg
/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_05_10235.jpg
/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_14_9567.jpg
/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_25_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036447","1402036441","1402036450","1402036443","1402036445","1402036439"],"photo_ids_order":["1402036439","1402036441","1402036443","1402036445","1402036447","1402036450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbf0162d317c4f0bcd8480fa600dcb1c.jpg","text":"TemporaryFile(/tmp/multipartBody2989409822911662336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289342841,"filename":"image_01012026_18_20_14_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4c82f328816946c4a708ccaaeba5ce5.jpg","text":"TemporaryFile(/tmp/multipartBody857962745248387382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289342841,"filename":"image_01012026_18_19_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c61f7e7cb430bbc6b8498a4a03ec033.jpg","text":"TemporaryFile(/tmp/multipartBody1606497780926606205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289342841,"filename":"image_01012026_18_20_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03d6c812d9eb4c24d0e09ae4ad58cfa2.jpg","text":"TemporaryFile(/tmp/multipartBody849123599450982563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289342841,"filename":"image_01012026_18_19_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e9c65fa919db27e1c92b30b937532fd.jpg","text":"TemporaryFile(/tmp/multipartBody3446292425799226334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289342841,"filename":"image_01012026_18_20_05_10235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c397a01a112f40382c9eb683e143290.jpg","text":"TemporaryFile(/tmp/multipartBody6281939931752390798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289342841,"filename":"image_01012026_18_19_05_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036443","file1":"1402036441","file0":"1402036439","file4":"1402036447","file5":"1402036450","file3":"1402036445"},"map_files_photo_id_array":[{"photo_id":"1402036450","filename":"file5"},{"photo_id":"1402036443","filename":"file2"},{"photo_id":"1402036447","filename":"file4"},{"photo_id":"1402036441","filename":"file1"},{"photo_id":"1402036439","filename":"file0"},{"photo_id":"1402036445","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036447":["hashtag1","hashtag2"]},{"1402036441":["hashtag1","hashtag2"]},{"1402036450":["hashtag1","hashtag2"]},{"1402036443":["hashtag1","hashtag2"]},{"1402036445":["hashtag1","hashtag2"]},{"1402036439":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036447, 1402036441, 1402036450, 1402036443, 1402036445, 1402036439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.02320647239685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:42:02.865497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_35_9714.jpg', '/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_45_10554.jpg', '/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_55_9772.jpg', '/home/pi/Desktop/images/01012026/18/20/image_01012026_18_21_05_9808.jpg', '/home/pi/Desktop/images/01012026/18/21/image_01012026_18_21_14_9700.jpg', '/home/pi/Desktop/images/01012026/18/21/image_01012026_18_21_35_10808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_35_9714.jpg
/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_45_10554.jpg
/home/pi/Desktop/images/01012026/18/20/image_01012026_18_20_55_9772.jpg
/home/pi/Desktop/images/01012026/18/20/image_01012026_18_21_05_9808.jpg
/home/pi/Desktop/images/01012026/18/21/image_01012026_18_21_14_9700.jpg
/home/pi/Desktop/images/01012026/18/21/image_01012026_18_21_35_10808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036456","1402036458","1402036452","1402036460","1402036454","1402036457"],"photo_ids_order":["1402036452","1402036454","1402036456","1402036457","1402036458","1402036460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2431022f95276ba8aa1ddbd21cf23c60.jpg","text":"TemporaryFile(/tmp/multipartBody2167018207001861560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289383504,"filename":"image_01012026_18_20_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d5d952765626c2a057f814dff188f66.jpg","text":"TemporaryFile(/tmp/multipartBody1390217413544111663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289383504,"filename":"image_01012026_18_21_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0738dcf8078e7d4d0959e39b02475438.jpg","text":"TemporaryFile(/tmp/multipartBody318904453053301742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289383504,"filename":"image_01012026_18_20_35_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8711e008e54bdc508ed756c7124c2b3.jpg","text":"TemporaryFile(/tmp/multipartBody7815402220511168258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289383504,"filename":"image_01012026_18_21_35_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a206ae11965fefb30e47d33ac3d8bc24.jpg","text":"TemporaryFile(/tmp/multipartBody3164375209957117719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289383504,"filename":"image_01012026_18_20_45_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed7ade995424678f77517eb9d8bfa43e.jpg","text":"TemporaryFile(/tmp/multipartBody7919655172647791406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289383504,"filename":"image_01012026_18_21_05_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036456","file1":"1402036454","file0":"1402036452","file4":"1402036458","file5":"1402036460","file3":"1402036457"},"map_files_photo_id_array":[{"photo_id":"1402036460","filename":"file5"},{"photo_id":"1402036456","filename":"file2"},{"photo_id":"1402036458","filename":"file4"},{"photo_id":"1402036454","filename":"file1"},{"photo_id":"1402036452","filename":"file0"},{"photo_id":"1402036457","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036456":["hashtag1","hashtag2"]},{"1402036458":["hashtag1","hashtag2"]},{"1402036452":["hashtag1","hashtag2"]},{"1402036460":["hashtag1","hashtag2"]},{"1402036454":["hashtag1","hashtag2"]},{"1402036457":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036456, 1402036458, 1402036452, 1402036460, 1402036454, 1402036457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62764525413513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:42:42.362623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_34_3598.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_17_6050.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_19_1782.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_21_1860.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_58_1674.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_39_00_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_34_3598.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_17_6050.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_19_1782.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_21_1860.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_58_1674.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_39_00_1654.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.6660685539245605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:43:03.278361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/21/image_01012026_18_21_45_9613.jpg', '/home/pi/Desktop/images/01012026/18/21/image_01012026_18_22_05_10724.jpg', '/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_15_9644.jpg', '/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_25_9675.jpg', '/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_34_9780.jpg', '/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_45_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/21/image_01012026_18_21_45_9613.jpg
/home/pi/Desktop/images/01012026/18/21/image_01012026_18_22_05_10724.jpg
/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_15_9644.jpg
/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_25_9675.jpg
/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_34_9780.jpg
/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_45_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036474","1402036476","1402036473","1402036472","1402036478","1402036471"],"photo_ids_order":["1402036471","1402036472","1402036473","1402036474","1402036476","1402036478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/725d2f212ab11662408c2d36088bbf7f.jpg","text":"TemporaryFile(/tmp/multipartBody5988755942752055526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289443919,"filename":"image_01012026_18_22_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb92c7b74052bc7efa4f5358cc1dc2b8.jpg","text":"TemporaryFile(/tmp/multipartBody1380567161327904137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289443919,"filename":"image_01012026_18_22_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5978368718edd590036dd82eecd9f82.jpg","text":"TemporaryFile(/tmp/multipartBody5619793268294706140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289443919,"filename":"image_01012026_18_22_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/051bb93f8dd274626abd284e894237eb.jpg","text":"TemporaryFile(/tmp/multipartBody2262769518695365849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289443919,"filename":"image_01012026_18_22_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a54353e7d58b035ff574168133affdb.jpg","text":"TemporaryFile(/tmp/multipartBody2803133415236690323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289443919,"filename":"image_01012026_18_22_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f40ecca00ce406c9e5e43c2133ea4be.jpg","text":"TemporaryFile(/tmp/multipartBody1515677924013517834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289443919,"filename":"image_01012026_18_21_45_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036473","file1":"1402036472","file0":"1402036471","file4":"1402036476","file5":"1402036478","file3":"1402036474"},"map_files_photo_id_array":[{"photo_id":"1402036478","filename":"file5"},{"photo_id":"1402036473","filename":"file2"},{"photo_id":"1402036476","filename":"file4"},{"photo_id":"1402036472","filename":"file1"},{"photo_id":"1402036471","filename":"file0"},{"photo_id":"1402036474","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036474":["hashtag1","hashtag2"]},{"1402036476":["hashtag1","hashtag2"]},{"1402036473":["hashtag1","hashtag2"]},{"1402036472":["hashtag1","hashtag2"]},{"1402036478":["hashtag1","hashtag2"]},{"1402036471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036474, 1402036476, 1402036473, 1402036472, 1402036478, 1402036471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76261591911316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:43:42.620583
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_34_3598.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_17_6050.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_19_1782.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_21_1860.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_58_1674.jpg', '/home/pi/Desktop/images/04112025/18/38/image_04112025_18_39_00_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/37/image_04112025_18_37_34_3598.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_17_6050.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_19_1782.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_21_1860.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_38_58_1674.jpg
/home/pi/Desktop/images/04112025/18/38/image_04112025_18_39_00_1654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036489","1402036488","1402036491","1402036490","1402036487","1402036484"],"photo_ids_order":["1402036484","1402036487","1402036488","1402036489","1402036490","1402036491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7dff7d66ab607feff56527ede6da767.jpg","text":"TemporaryFile(/tmp/multipartBody1690157203553200935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289484393,"filename":"image_04112025_18_38_21_1860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3789c51ca9bbc9d358dd95f06a8078f3.jpg","text":"TemporaryFile(/tmp/multipartBody3959797978768419689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289484393,"filename":"image_04112025_18_38_19_1782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0259725169d3dc8cbdbc3ff38a170eb.jpg","text":"TemporaryFile(/tmp/multipartBody1226014850733405562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289484393,"filename":"image_04112025_18_39_00_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94e639c63fe2da0dd358d9cc1a0c8bde.jpg","text":"TemporaryFile(/tmp/multipartBody1570764812108658370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289484393,"filename":"image_04112025_18_38_58_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f885ba682f70091be8731fa333dd29a9.jpg","text":"TemporaryFile(/tmp/multipartBody2930939057291242025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289484393,"filename":"image_04112025_18_38_17_6050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae5978caa405ea09c78a70115eac06e0.jpg","text":"TemporaryFile(/tmp/multipartBody7265097164889963853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289484393,"filename":"image_04112025_18_37_34_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036488","file1":"1402036487","file0":"1402036484","file4":"1402036490","file5":"1402036491","file3":"1402036489"},"map_files_photo_id_array":[{"photo_id":"1402036491","filename":"file5"},{"photo_id":"1402036488","filename":"file2"},{"photo_id":"1402036490","filename":"file4"},{"photo_id":"1402036487","filename":"file1"},{"photo_id":"1402036484","filename":"file0"},{"photo_id":"1402036489","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036489":["hashtag1","hashtag2"]},{"1402036488":["hashtag1","hashtag2"]},{"1402036491":["hashtag1","hashtag2"]},{"1402036490":["hashtag1","hashtag2"]},{"1402036487":["hashtag1","hashtag2"]},{"1402036484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036489, 1402036488, 1402036491, 1402036490, 1402036487, 1402036484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88672995567322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:44:22.902698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_55_9729.jpg', '/home/pi/Desktop/images/01012026/18/22/image_01012026_18_23_05_10542.jpg', '/home/pi/Desktop/images/01012026/18/23/image_01012026_18_23_15_9602.jpg', '/home/pi/Desktop/images/01012026/18/23/image_01012026_18_23_25_9752.jpg', '/home/pi/Desktop/images/01012026/18/23/image_01012026_18_23_45_9691.jpg', '/home/pi/Desktop/images/01012026/18/23/image_01012026_18_23_55_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/22/image_01012026_18_22_55_9729.jpg
/home/pi/Desktop/images/01012026/18/22/image_01012026_18_23_05_10542.jpg
/home/pi/Desktop/images/01012026/18/23/image_01012026_18_23_15_9602.jpg
/home/pi/Desktop/images/01012026/18/23/image_01012026_18_23_25_9752.jpg
/home/pi/Desktop/images/01012026/18/23/image_01012026_18_23_45_9691.jpg
/home/pi/Desktop/images/01012026/18/23/image_01012026_18_23_55_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":["1402036501","1402036494","1402036506","1402036499","1402036503","1402036496"],"photo_ids_order":["1402036494","1402036496","1402036499","1402036501","1402036503","1402036506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbd02f1bd6ec8c137dc14651a046c160.jpg","text":"TemporaryFile(/tmp/multipartBody4358269389335159724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289523496,"filename":"image_01012026_18_23_25_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/407168da2d2364796eb50b18b3dd1384.jpg","text":"TemporaryFile(/tmp/multipartBody1671339013778036865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289523496,"filename":"image_01012026_18_22_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8999bc376416f0f799c3a31302284bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7185614692884806922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289523496,"filename":"image_01012026_18_23_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57bf8af454c3e13c760c80ee4d3dacd8.jpg","text":"TemporaryFile(/tmp/multipartBody7950897392648067119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289523496,"filename":"image_01012026_18_23_15_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/413dc990bc039934db1d4d80b77358d9.jpg","text":"TemporaryFile(/tmp/multipartBody4016902733341043786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289523496,"filename":"image_01012026_18_23_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02556b34c1138c74d580bce730f9a5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3379047462502795522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289523496,"filename":"image_01012026_18_23_05_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036499","file1":"1402036496","file0":"1402036494","file4":"1402036503","file5":"1402036506","file3":"1402036501"},"map_files_photo_id_array":[{"photo_id":"1402036506","filename":"file5"},{"photo_id":"1402036499","filename":"file2"},{"photo_id":"1402036503","filename":"file4"},{"photo_id":"1402036496","filename":"file1"},{"photo_id":"1402036494","filename":"file0"},{"photo_id":"1402036501","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036501":["hashtag1","hashtag2"]},{"1402036494":["hashtag1","hashtag2"]},{"1402036506":["hashtag1","hashtag2"]},{"1402036499":["hashtag1","hashtag2"]},{"1402036503":["hashtag1","hashtag2"]},{"1402036496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036501, 1402036494, 1402036506, 1402036499, 1402036503, 1402036496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47130370140076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:45:02.652462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/23/image_01012026_18_24_04_9751.jpg', '/home/pi/Desktop/images/01012026/18/24/image_01012026_18_24_15_10633.jpg', '/home/pi/Desktop/images/01012026/18/24/image_01012026_18_24_25_9815.jpg', '/home/pi/Desktop/images/01012026/18/24/image_01012026_18_24_45_9681.jpg', '/home/pi/Desktop/images/01012026/18/24/image_01012026_18_24_54_9574.jpg', '/home/pi/Desktop/images/01012026/18/24/image_01012026_18_25_05_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/23/image_01012026_18_24_04_9751.jpg
/home/pi/Desktop/images/01012026/18/24/image_01012026_18_24_15_10633.jpg
/home/pi/Desktop/images/01012026/18/24/image_01012026_18_24_25_9815.jpg
/home/pi/Desktop/images/01012026/18/24/image_01012026_18_24_45_9681.jpg
/home/pi/Desktop/images/01012026/18/24/image_01012026_18_24_54_9574.jpg
/home/pi/Desktop/images/01012026/18/24/image_01012026_18_25_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":["1402036510","1402036513","1402036507","1402036512","1402036515","1402036511"],"photo_ids_order":["1402036507","1402036510","1402036511","1402036512","1402036513","1402036515"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/854ecb90c052654df7bb323ccbe0522b.jpg","text":"TemporaryFile(/tmp/multipartBody294047967284965526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289563305,"filename":"image_01012026_18_24_15_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/593280e89e2d896b3d7c585a9ece9b4e.jpg","text":"TemporaryFile(/tmp/multipartBody5233317292202998037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289563305,"filename":"image_01012026_18_24_54_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cdbd062657febf19cb809dc0e0d61241.jpg","text":"TemporaryFile(/tmp/multipartBody1698493228261676674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289563305,"filename":"image_01012026_18_24_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d0b785f6b59deed7e60aae6545d95c7.jpg","text":"TemporaryFile(/tmp/multipartBody5260084366875763194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289563305,"filename":"image_01012026_18_24_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/175195a87810535f2456f27c551daacb.jpg","text":"TemporaryFile(/tmp/multipartBody6519171659772038006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289563305,"filename":"image_01012026_18_25_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad611e63fe6bd2e6e0445bd995b3cc18.jpg","text":"TemporaryFile(/tmp/multipartBody5071444123885230025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289563305,"filename":"image_01012026_18_24_25_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036511","file1":"1402036510","file0":"1402036507","file4":"1402036513","file5":"1402036515","file3":"1402036512"},"map_files_photo_id_array":[{"photo_id":"1402036515","filename":"file5"},{"photo_id":"1402036511","filename":"file2"},{"photo_id":"1402036513","filename":"file4"},{"photo_id":"1402036510","filename":"file1"},{"photo_id":"1402036507","filename":"file0"},{"photo_id":"1402036512","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036510":["hashtag1","hashtag2"]},{"1402036513":["hashtag1","hashtag2"]},{"1402036507":["hashtag1","hashtag2"]},{"1402036512":["hashtag1","hashtag2"]},{"1402036515":["hashtag1","hashtag2"]},{"1402036511":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036510, 1402036513, 1402036507, 1402036512, 1402036515, 1402036511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.299954652786255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:45:41.933001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_01_1566.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_05_1539.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_08_1626.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_10_1646.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_11_1684.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_16_1761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_01_1566.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_05_1539.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_08_1626.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_10_1646.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_11_1684.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_16_1761.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036525","1402036524","1402036527","1402036521","1402036523","1402036526"],"photo_ids_order":["1402036521","1402036523","1402036524","1402036525","1402036526","1402036527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25f7403fc7af7ec77527e12ad984ac2f.jpg","text":"TemporaryFile(/tmp/multipartBody1508863468035367679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289603839,"filename":"image_04112025_18_39_10_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05460d07caf00cbb548fccdb7e2f6b22.jpg","text":"TemporaryFile(/tmp/multipartBody8531890803952071310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289603839,"filename":"image_04112025_18_39_08_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5c16a748787feb96ad39a921055aafe.jpg","text":"TemporaryFile(/tmp/multipartBody2435641703841066186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289603839,"filename":"image_04112025_18_39_16_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d8bf13d576c09af30a7be1f51a36818.jpg","text":"TemporaryFile(/tmp/multipartBody5638798785070819890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289603839,"filename":"image_04112025_18_39_01_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa354b36d1eddcc6aecc2d3503e4031b.jpg","text":"TemporaryFile(/tmp/multipartBody6873184913148481340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289603839,"filename":"image_04112025_18_39_05_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ea8e7d28517e2284f8affab2fba4b07.jpg","text":"TemporaryFile(/tmp/multipartBody3970127412072161345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289603839,"filename":"image_04112025_18_39_11_1684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036524","file1":"1402036523","file0":"1402036521","file4":"1402036526","file5":"1402036527","file3":"1402036525"},"map_files_photo_id_array":[{"photo_id":"1402036527","filename":"file5"},{"photo_id":"1402036524","filename":"file2"},{"photo_id":"1402036526","filename":"file4"},{"photo_id":"1402036523","filename":"file1"},{"photo_id":"1402036521","filename":"file0"},{"photo_id":"1402036525","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036525":["hashtag1","hashtag2"]},{"1402036524":["hashtag1","hashtag2"]},{"1402036527":["hashtag1","hashtag2"]},{"1402036521":["hashtag1","hashtag2"]},{"1402036523":["hashtag1","hashtag2"]},{"1402036526":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036525, 1402036524, 1402036527, 1402036521, 1402036523, 1402036526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1547269821167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:46:22.109782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/25/image_01012026_18_25_24_9708.jpg', '/home/pi/Desktop/images/01012026/18/25/image_01012026_18_25_35_10563.jpg', '/home/pi/Desktop/images/01012026/18/25/image_01012026_18_26_04_9705.jpg', '/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_15_10696.jpg', '/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_25_9708.jpg', '/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_35_10047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/25/image_01012026_18_25_24_9708.jpg
/home/pi/Desktop/images/01012026/18/25/image_01012026_18_25_35_10563.jpg
/home/pi/Desktop/images/01012026/18/25/image_01012026_18_26_04_9705.jpg
/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_15_10696.jpg
/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_25_9708.jpg
/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_35_10047.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036534","1402036528","1402036539","1402036530","1402036536","1402036532"],"photo_ids_order":["1402036528","1402036530","1402036532","1402036534","1402036536","1402036539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/678e75d291854fd7f4760491fb955252.jpg","text":"TemporaryFile(/tmp/multipartBody2074959927955125389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289642701,"filename":"image_01012026_18_26_15_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62952fbab17307b46825a275a62292f0.jpg","text":"TemporaryFile(/tmp/multipartBody888895090428149763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289642701,"filename":"image_01012026_18_25_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d93369ec5b984ad6142d7cf4e0940f41.jpg","text":"TemporaryFile(/tmp/multipartBody6386568914392557558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289642701,"filename":"image_01012026_18_26_35_10047.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6b450ca8437741ba7342dcf8b7b3354.jpg","text":"TemporaryFile(/tmp/multipartBody8041242348218843370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289642701,"filename":"image_01012026_18_25_35_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/850c4c4c56c6d9589df89ebde2569673.jpg","text":"TemporaryFile(/tmp/multipartBody8445406735692154657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289642701,"filename":"image_01012026_18_26_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7262f1dd61d0ab18a81ad75734999ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2539649918529030841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289642701,"filename":"image_01012026_18_26_04_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036532","file1":"1402036530","file0":"1402036528","file4":"1402036536","file5":"1402036539","file3":"1402036534"},"map_files_photo_id_array":[{"photo_id":"1402036539","filename":"file5"},{"photo_id":"1402036532","filename":"file2"},{"photo_id":"1402036536","filename":"file4"},{"photo_id":"1402036530","filename":"file1"},{"photo_id":"1402036528","filename":"file0"},{"photo_id":"1402036534","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036534":["hashtag1","hashtag2"]},{"1402036528":["hashtag1","hashtag2"]},{"1402036539":["hashtag1","hashtag2"]},{"1402036530":["hashtag1","hashtag2"]},{"1402036536":["hashtag1","hashtag2"]},{"1402036532":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036534, 1402036528, 1402036539, 1402036530, 1402036536, 1402036532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74373173713684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:47:02.928805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_45_9921.jpg', '/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_54_9619.jpg', '/home/pi/Desktop/images/01012026/18/26/image_01012026_18_27_04_9830.jpg', '/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_15_10650.jpg', '/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_25_9580.jpg', '/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_34_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_45_9921.jpg
/home/pi/Desktop/images/01012026/18/26/image_01012026_18_26_54_9619.jpg
/home/pi/Desktop/images/01012026/18/26/image_01012026_18_27_04_9830.jpg
/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_15_10650.jpg
/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_25_9580.jpg
/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_34_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036546","1402036540","1402036543","1402036542","1402036541","1402036544"],"photo_ids_order":["1402036540","1402036541","1402036542","1402036543","1402036544","1402036546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a73e24b58088a1d8661b23e785d7a779.jpg","text":"TemporaryFile(/tmp/multipartBody2130222972855295880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289683584,"filename":"image_01012026_18_27_34_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/871d9fa17470d4ff6fc130e65a34951c.jpg","text":"TemporaryFile(/tmp/multipartBody1512384958665477764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289683584,"filename":"image_01012026_18_26_45_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05d18bf04de7b98a373e8b5a1a0d362b.jpg","text":"TemporaryFile(/tmp/multipartBody1752992930038989139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289683584,"filename":"image_01012026_18_27_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5b366ae79891621b6e44dfb9668594d.jpg","text":"TemporaryFile(/tmp/multipartBody7999093102297056251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289683584,"filename":"image_01012026_18_27_04_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7d8753a6f5f3b7a3c31a8c3264ba5ee.jpg","text":"TemporaryFile(/tmp/multipartBody2185157533297793295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289683584,"filename":"image_01012026_18_26_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d980ffcc2c808cc2bbad031d5c91ac5.jpg","text":"TemporaryFile(/tmp/multipartBody4102128678934209953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289683584,"filename":"image_01012026_18_27_25_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036542","file1":"1402036541","file0":"1402036540","file4":"1402036544","file5":"1402036546","file3":"1402036543"},"map_files_photo_id_array":[{"photo_id":"1402036546","filename":"file5"},{"photo_id":"1402036542","filename":"file2"},{"photo_id":"1402036544","filename":"file4"},{"photo_id":"1402036541","filename":"file1"},{"photo_id":"1402036540","filename":"file0"},{"photo_id":"1402036543","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036546":["hashtag1","hashtag2"]},{"1402036540":["hashtag1","hashtag2"]},{"1402036543":["hashtag1","hashtag2"]},{"1402036542":["hashtag1","hashtag2"]},{"1402036541":["hashtag1","hashtag2"]},{"1402036544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036546, 1402036540, 1402036543, 1402036542, 1402036541, 1402036544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73239779472351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:47:42.249485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_18_1731.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_20_1811.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_25_1643.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_30_4769.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_31_1697.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_33_1734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_18_1731.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_20_1811.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_25_1643.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_30_4769.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_31_1697.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_33_1734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036552","1402036555","1402036557","1402036556","1402036559","1402036558"],"photo_ids_order":["1402036552","1402036555","1402036556","1402036557","1402036558","1402036559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f24dd9528898862c024c8f584e27cac6.jpg","text":"TemporaryFile(/tmp/multipartBody5823798671982438462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289724135,"filename":"image_04112025_18_39_18_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4815011c173a6ab6c3b2cb6a2258e74.jpg","text":"TemporaryFile(/tmp/multipartBody3395336110260936722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289724135,"filename":"image_04112025_18_39_20_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ac7b562e3a595d3c7e0c439ed17a982.jpg","text":"TemporaryFile(/tmp/multipartBody5245580917354128724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289724135,"filename":"image_04112025_18_39_30_4769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92f404e037438d394abd86ce628efcc2.jpg","text":"TemporaryFile(/tmp/multipartBody5898469004393158367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289724135,"filename":"image_04112025_18_39_25_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/767863cecc8adaf47c1163288ada2d80.jpg","text":"TemporaryFile(/tmp/multipartBody1831815057268640447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289724135,"filename":"image_04112025_18_39_33_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4289c2a50c594c268ac02658a814d3d.jpg","text":"TemporaryFile(/tmp/multipartBody9039687396186812600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289724135,"filename":"image_04112025_18_39_31_1697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036556","file1":"1402036555","file0":"1402036552","file4":"1402036558","file5":"1402036559","file3":"1402036557"},"map_files_photo_id_array":[{"photo_id":"1402036559","filename":"file5"},{"photo_id":"1402036556","filename":"file2"},{"photo_id":"1402036558","filename":"file4"},{"photo_id":"1402036555","filename":"file1"},{"photo_id":"1402036552","filename":"file0"},{"photo_id":"1402036557","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036552":["hashtag1","hashtag2"]},{"1402036555":["hashtag1","hashtag2"]},{"1402036557":["hashtag1","hashtag2"]},{"1402036556":["hashtag1","hashtag2"]},{"1402036559":["hashtag1","hashtag2"]},{"1402036558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036552, 1402036555, 1402036557, 1402036556, 1402036559, 1402036558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97191095352173 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:48:22.433018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_45_10665.jpg', '/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_55_9770.jpg', '/home/pi/Desktop/images/01012026/18/27/image_01012026_18_28_04_9692.jpg', '/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_15_10698.jpg', '/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_25_9673.jpg', '/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_34_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_45_10665.jpg
/home/pi/Desktop/images/01012026/18/27/image_01012026_18_27_55_9770.jpg
/home/pi/Desktop/images/01012026/18/27/image_01012026_18_28_04_9692.jpg
/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_15_10698.jpg
/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_25_9673.jpg
/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_34_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":["1402036560","1402036566","1402036571","1402036568","1402036562","1402036564"],"photo_ids_order":["1402036560","1402036562","1402036564","1402036566","1402036568","1402036571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f28e205ef92b6348a34daa86987fe17.jpg","text":"TemporaryFile(/tmp/multipartBody5539650339621702145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289763022,"filename":"image_01012026_18_27_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3886201410d26a6a20d9eef9c8d221a.jpg","text":"TemporaryFile(/tmp/multipartBody8589869469896946054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289763022,"filename":"image_01012026_18_28_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43b714587c4cbdb6155f304f58416d12.jpg","text":"TemporaryFile(/tmp/multipartBody1808286272702101034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289763022,"filename":"image_01012026_18_28_34_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a9b9abc86285325c69ac26020b3b3a6.jpg","text":"TemporaryFile(/tmp/multipartBody788183225494962121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289763022,"filename":"image_01012026_18_28_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e70c8c6bcd606759dcd5a90ae5809e0.jpg","text":"TemporaryFile(/tmp/multipartBody2287309514107519055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289763022,"filename":"image_01012026_18_27_55_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20a0562b89c88651281ff7982b2630ec.jpg","text":"TemporaryFile(/tmp/multipartBody5971057558493446413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289763022,"filename":"image_01012026_18_28_04_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036564","file1":"1402036562","file0":"1402036560","file4":"1402036568","file5":"1402036571","file3":"1402036566"},"map_files_photo_id_array":[{"photo_id":"1402036571","filename":"file5"},{"photo_id":"1402036564","filename":"file2"},{"photo_id":"1402036568","filename":"file4"},{"photo_id":"1402036562","filename":"file1"},{"photo_id":"1402036560","filename":"file0"},{"photo_id":"1402036566","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036560":["hashtag1","hashtag2"]},{"1402036566":["hashtag1","hashtag2"]},{"1402036571":["hashtag1","hashtag2"]},{"1402036568":["hashtag1","hashtag2"]},{"1402036562":["hashtag1","hashtag2"]},{"1402036564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036560, 1402036566, 1402036571, 1402036568, 1402036562, 1402036564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20021653175354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:49:03.486111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_45_10666.jpg', '/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_55_9652.jpg', '/home/pi/Desktop/images/01012026/18/28/image_01012026_18_29_04_9697.jpg', '/home/pi/Desktop/images/01012026/18/29/image_01012026_18_29_15_10572.jpg', '/home/pi/Desktop/images/01012026/18/29/image_01012026_18_29_25_9684.jpg', '/home/pi/Desktop/images/01012026/18/29/image_01012026_18_29_45_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_45_10666.jpg
/home/pi/Desktop/images/01012026/18/28/image_01012026_18_28_55_9652.jpg
/home/pi/Desktop/images/01012026/18/28/image_01012026_18_29_04_9697.jpg
/home/pi/Desktop/images/01012026/18/29/image_01012026_18_29_15_10572.jpg
/home/pi/Desktop/images/01012026/18/29/image_01012026_18_29_25_9684.jpg
/home/pi/Desktop/images/01012026/18/29/image_01012026_18_29_45_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":["1402036573","1402036575","1402036578","1402036580","1402036574","1402036577"],"photo_ids_order":["1402036573","1402036574","1402036575","1402036577","1402036578","1402036580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a612af95a6acf3a966b680f927378c8.jpg","text":"TemporaryFile(/tmp/multipartBody5149615622381036125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289804180,"filename":"image_01012026_18_28_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fed9ff2302081897c095e624fbe7e2e.jpg","text":"TemporaryFile(/tmp/multipartBody4062530193837839296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289804180,"filename":"image_01012026_18_29_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf224d1552f236199516790efdbec55a.jpg","text":"TemporaryFile(/tmp/multipartBody1161169787022748771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289804180,"filename":"image_01012026_18_29_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b26b1e60982056c0e27d6a3ba406ddae.jpg","text":"TemporaryFile(/tmp/multipartBody2063817321908748037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289804180,"filename":"image_01012026_18_29_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3f03c75d26e8dabaa2c64ca46f83e27.jpg","text":"TemporaryFile(/tmp/multipartBody6533099695589369377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289804180,"filename":"image_01012026_18_28_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/351d8f59ac459fe8323d7689c9c1325d.jpg","text":"TemporaryFile(/tmp/multipartBody7902336898111419119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289804180,"filename":"image_01012026_18_29_15_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036575","file1":"1402036574","file0":"1402036573","file4":"1402036578","file5":"1402036580","file3":"1402036577"},"map_files_photo_id_array":[{"photo_id":"1402036580","filename":"file5"},{"photo_id":"1402036575","filename":"file2"},{"photo_id":"1402036578","filename":"file4"},{"photo_id":"1402036574","filename":"file1"},{"photo_id":"1402036573","filename":"file0"},{"photo_id":"1402036577","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036573":["hashtag1","hashtag2"]},{"1402036575":["hashtag1","hashtag2"]},{"1402036578":["hashtag1","hashtag2"]},{"1402036580":["hashtag1","hashtag2"]},{"1402036574":["hashtag1","hashtag2"]},{"1402036577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036573, 1402036575, 1402036578, 1402036580, 1402036574, 1402036577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.475409269332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:49:42.620517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_35_1691.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_36_1688.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_40_1677.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_45_1531.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_48_1685.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_50_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_35_1691.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_36_1688.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_40_1677.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_45_1531.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_48_1685.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_50_1799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036593","1402036590","1402036592","1402036586","1402036589","1402036591"],"photo_ids_order":["1402036586","1402036589","1402036590","1402036591","1402036592","1402036593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/252a05544c6225401f2ed866f7959f7b.jpg","text":"TemporaryFile(/tmp/multipartBody4591320446153354367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289844553,"filename":"image_04112025_18_39_50_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5339e080b32a499b4e494dc0662ca109.jpg","text":"TemporaryFile(/tmp/multipartBody3022838302489386640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289844553,"filename":"image_04112025_18_39_40_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bacf30b7bd79b574cc95b2048cfbf5dd.jpg","text":"TemporaryFile(/tmp/multipartBody3230047734342760065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289844553,"filename":"image_04112025_18_39_48_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0c0abd5aeb099d5ac9aae2c245a0284.jpg","text":"TemporaryFile(/tmp/multipartBody5712624839664588391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289844553,"filename":"image_04112025_18_39_35_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36ea5aac8cf8ad581f396f7051189974.jpg","text":"TemporaryFile(/tmp/multipartBody1548905339591960436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289844553,"filename":"image_04112025_18_39_36_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7b9fead7faf5305c3d0c7cfc6ad03fb.jpg","text":"TemporaryFile(/tmp/multipartBody3162584293410030697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289844553,"filename":"image_04112025_18_39_45_1531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036590","file1":"1402036589","file0":"1402036586","file4":"1402036592","file5":"1402036593","file3":"1402036591"},"map_files_photo_id_array":[{"photo_id":"1402036593","filename":"file5"},{"photo_id":"1402036590","filename":"file2"},{"photo_id":"1402036592","filename":"file4"},{"photo_id":"1402036589","filename":"file1"},{"photo_id":"1402036586","filename":"file0"},{"photo_id":"1402036591","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036593":["hashtag1","hashtag2"]},{"1402036590":["hashtag1","hashtag2"]},{"1402036592":["hashtag1","hashtag2"]},{"1402036586":["hashtag1","hashtag2"]},{"1402036589":["hashtag1","hashtag2"]},{"1402036591":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036593, 1402036590, 1402036592, 1402036586, 1402036589, 1402036591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55956435203552 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:50:22.797343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/29/image_01012026_18_29_55_9642.jpg', '/home/pi/Desktop/images/01012026/18/30/image_01012026_18_30_14_10053.jpg', '/home/pi/Desktop/images/01012026/18/30/image_01012026_18_30_25_10826.jpg', '/home/pi/Desktop/images/01012026/18/30/image_01012026_18_30_35_9734.jpg', '/home/pi/Desktop/images/01012026/18/30/image_01012026_18_30_45_9577.jpg', '/home/pi/Desktop/images/01012026/18/30/image_01012026_18_31_05_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/29/image_01012026_18_29_55_9642.jpg
/home/pi/Desktop/images/01012026/18/30/image_01012026_18_30_14_10053.jpg
/home/pi/Desktop/images/01012026/18/30/image_01012026_18_30_25_10826.jpg
/home/pi/Desktop/images/01012026/18/30/image_01012026_18_30_35_9734.jpg
/home/pi/Desktop/images/01012026/18/30/image_01012026_18_30_45_9577.jpg
/home/pi/Desktop/images/01012026/18/30/image_01012026_18_31_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":["1402036599","1402036602","1402036604","1402036607","1402036597","1402036601"],"photo_ids_order":["1402036597","1402036599","1402036601","1402036602","1402036604","1402036607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f80a64220e0c3a8b3c9180c2ef2d9c81.jpg","text":"TemporaryFile(/tmp/multipartBody4378292416330991211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289883353,"filename":"image_01012026_18_30_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c44bc1b238fb7a61ae3ac991c1d5c66.jpg","text":"TemporaryFile(/tmp/multipartBody1306324183288878430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289883353,"filename":"image_01012026_18_30_35_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c480973df4af892834b23238a3ec86b5.jpg","text":"TemporaryFile(/tmp/multipartBody4135687831516264166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289883353,"filename":"image_01012026_18_30_45_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71c9c33ab472af9f98b910e9d326c1c8.jpg","text":"TemporaryFile(/tmp/multipartBody4976439671218978304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289883353,"filename":"image_01012026_18_31_05_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9915454a89a7f02feb768a260ec35616.jpg","text":"TemporaryFile(/tmp/multipartBody5321062604600593948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289883353,"filename":"image_01012026_18_29_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e10d698eb1ad17a8abe7eb9984cc7c5.jpg","text":"TemporaryFile(/tmp/multipartBody3160932018207095354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289883353,"filename":"image_01012026_18_30_25_10826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036601","file1":"1402036599","file0":"1402036597","file4":"1402036604","file5":"1402036607","file3":"1402036602"},"map_files_photo_id_array":[{"photo_id":"1402036607","filename":"file5"},{"photo_id":"1402036601","filename":"file2"},{"photo_id":"1402036604","filename":"file4"},{"photo_id":"1402036599","filename":"file1"},{"photo_id":"1402036597","filename":"file0"},{"photo_id":"1402036602","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036599":["hashtag1","hashtag2"]},{"1402036602":["hashtag1","hashtag2"]},{"1402036604":["hashtag1","hashtag2"]},{"1402036607":["hashtag1","hashtag2"]},{"1402036597":["hashtag1","hashtag2"]},{"1402036601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036599, 1402036602, 1402036604, 1402036607, 1402036597, 1402036601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4288272857666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:51:02.687484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 18:51:11.997221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_51_1647.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_53_1686.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_59_1722.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_03_2202.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_05_2103.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_07_1777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_51_1647.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_53_1686.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_59_1722.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_03_2202.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_05_2103.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_07_1777.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.097098112106323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:51:22.033137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/31/image_01012026_18_31_15_9759.jpg', '/home/pi/Desktop/images/01012026/18/31/image_01012026_18_31_25_10692.jpg', '/home/pi/Desktop/images/01012026/18/31/image_01012026_18_31_35_9847.jpg', '/home/pi/Desktop/images/01012026/18/31/image_01012026_18_31_45_10111.jpg', '/home/pi/Desktop/images/01012026/18/31/image_01012026_18_32_04_9575.jpg', '/home/pi/Desktop/images/01012026/18/32/image_01012026_18_32_25_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/31/image_01012026_18_31_15_9759.jpg
/home/pi/Desktop/images/01012026/18/31/image_01012026_18_31_25_10692.jpg
/home/pi/Desktop/images/01012026/18/31/image_01012026_18_31_35_9847.jpg
/home/pi/Desktop/images/01012026/18/31/image_01012026_18_31_45_10111.jpg
/home/pi/Desktop/images/01012026/18/31/image_01012026_18_32_04_9575.jpg
/home/pi/Desktop/images/01012026/18/32/image_01012026_18_32_25_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":["1402036612","1402036624","1402036626","1402036622","1402036616","1402036619"],"photo_ids_order":["1402036612","1402036616","1402036619","1402036622","1402036624","1402036626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81855f5168ab769f5a322e46f9e64633.jpg","text":"TemporaryFile(/tmp/multipartBody274158085115223362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289942597,"filename":"image_01012026_18_31_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28f4203e7f4c42abe38aee78d50ea0d5.jpg","text":"TemporaryFile(/tmp/multipartBody3125929703510625295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289942597,"filename":"image_01012026_18_32_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b2fade6702aa88fff674fb6264f0755.jpg","text":"TemporaryFile(/tmp/multipartBody776417448097563241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289942597,"filename":"image_01012026_18_32_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b42149ea0e9e6803675643781083976b.jpg","text":"TemporaryFile(/tmp/multipartBody4141358647489589461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289942597,"filename":"image_01012026_18_31_45_10111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1bde02ed6b0fec183dfdb2a0740919b.jpg","text":"TemporaryFile(/tmp/multipartBody1387750621459875475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289942597,"filename":"image_01012026_18_31_25_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/096003020a586fb93019188d59919c17.jpg","text":"TemporaryFile(/tmp/multipartBody3041353687981558999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289942597,"filename":"image_01012026_18_31_35_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036619","file1":"1402036616","file0":"1402036612","file4":"1402036624","file5":"1402036626","file3":"1402036622"},"map_files_photo_id_array":[{"photo_id":"1402036626","filename":"file5"},{"photo_id":"1402036619","filename":"file2"},{"photo_id":"1402036624","filename":"file4"},{"photo_id":"1402036616","filename":"file1"},{"photo_id":"1402036612","filename":"file0"},{"photo_id":"1402036622","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036612":["hashtag1","hashtag2"]},{"1402036624":["hashtag1","hashtag2"]},{"1402036626":["hashtag1","hashtag2"]},{"1402036622":["hashtag1","hashtag2"]},{"1402036616":["hashtag1","hashtag2"]},{"1402036619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036612, 1402036624, 1402036626, 1402036622, 1402036616, 1402036619)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.598514556884766 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:52:14.650108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_51_1647.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_53_1686.jpg', '/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_59_1722.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_03_2202.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_05_2103.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_07_1777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_51_1647.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_53_1686.jpg
/home/pi/Desktop/images/04112025/18/39/image_04112025_18_39_59_1722.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_03_2202.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_05_2103.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_07_1777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036630","1402036636","1402036638","1402036632","1402036640","1402036634"],"photo_ids_order":["1402036630","1402036632","1402036634","1402036636","1402036638","1402036640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48eb21eacec60fbcae74394834ad999a.jpg","text":"TemporaryFile(/tmp/multipartBody6675324391490446171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289999280,"filename":"image_04112025_18_39_51_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85de24840899fbdec60308bd17397eae.jpg","text":"TemporaryFile(/tmp/multipartBody2337435053476849039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289999280,"filename":"image_04112025_18_40_03_2202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f1ae1a60144586dec997730b8f627a6.jpg","text":"TemporaryFile(/tmp/multipartBody8705222481235498192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289999280,"filename":"image_04112025_18_40_05_2103.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c8ba3395489cfd06f189d23872b319d.jpg","text":"TemporaryFile(/tmp/multipartBody2351397239421385504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289999280,"filename":"image_04112025_18_39_53_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/313333a0822e0ae730e05400f2b49363.jpg","text":"TemporaryFile(/tmp/multipartBody8269500163416372942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289999280,"filename":"image_04112025_18_40_07_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4e08babac5e70b88971956238e98a70.jpg","text":"TemporaryFile(/tmp/multipartBody4781007209202829525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767289999280,"filename":"image_04112025_18_39_59_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036634","file1":"1402036632","file0":"1402036630","file4":"1402036638","file5":"1402036640","file3":"1402036636"},"map_files_photo_id_array":[{"photo_id":"1402036640","filename":"file5"},{"photo_id":"1402036634","filename":"file2"},{"photo_id":"1402036638","filename":"file4"},{"photo_id":"1402036632","filename":"file1"},{"photo_id":"1402036630","filename":"file0"},{"photo_id":"1402036636","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036630":["hashtag1","hashtag2"]},{"1402036636":["hashtag1","hashtag2"]},{"1402036638":["hashtag1","hashtag2"]},{"1402036632":["hashtag1","hashtag2"]},{"1402036640":["hashtag1","hashtag2"]},{"1402036634":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036630, 1402036636, 1402036638, 1402036632, 1402036640, 1402036634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.18011665344238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:53:03.566312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/32/image_01012026_18_32_34_9667.jpg', '/home/pi/Desktop/images/01012026/18/32/image_01012026_18_32_45_10720.jpg', '/home/pi/Desktop/images/01012026/18/32/image_01012026_18_32_55_9602.jpg', '/home/pi/Desktop/images/01012026/18/32/image_01012026_18_33_05_9760.jpg', '/home/pi/Desktop/images/01012026/18/33/image_01012026_18_33_15_10640.jpg', '/home/pi/Desktop/images/01012026/18/33/image_01012026_18_33_25_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/32/image_01012026_18_32_34_9667.jpg
/home/pi/Desktop/images/01012026/18/32/image_01012026_18_32_45_10720.jpg
/home/pi/Desktop/images/01012026/18/32/image_01012026_18_32_55_9602.jpg
/home/pi/Desktop/images/01012026/18/32/image_01012026_18_33_05_9760.jpg
/home/pi/Desktop/images/01012026/18/33/image_01012026_18_33_15_10640.jpg
/home/pi/Desktop/images/01012026/18/33/image_01012026_18_33_25_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036651","1402036645","1402036644","1402036647","1402036649","1402036643"],"photo_ids_order":["1402036643","1402036644","1402036645","1402036647","1402036649","1402036651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/674de03500c3cf88f1646f27ae2bafee.jpg","text":"TemporaryFile(/tmp/multipartBody7395205384051220899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290044220,"filename":"image_01012026_18_33_25_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a919af9dd74cb24a60c9b2081c2b713f.jpg","text":"TemporaryFile(/tmp/multipartBody5992491668890289429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290044220,"filename":"image_01012026_18_32_55_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17ddbc19925c6b9423ee47e434528389.jpg","text":"TemporaryFile(/tmp/multipartBody6645486420736083117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290044220,"filename":"image_01012026_18_32_45_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b00fd12e30fd9ae0c14a9a38e884420b.jpg","text":"TemporaryFile(/tmp/multipartBody1972389306198166298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290044220,"filename":"image_01012026_18_33_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a49749a360f3418062ae3b534a62891.jpg","text":"TemporaryFile(/tmp/multipartBody5373644827638825309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290044220,"filename":"image_01012026_18_33_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f08e8b4599159cc2353a47f130a2e55.jpg","text":"TemporaryFile(/tmp/multipartBody6172868255899692233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290044220,"filename":"image_01012026_18_32_34_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036645","file1":"1402036644","file0":"1402036643","file4":"1402036649","file5":"1402036651","file3":"1402036647"},"map_files_photo_id_array":[{"photo_id":"1402036651","filename":"file5"},{"photo_id":"1402036645","filename":"file2"},{"photo_id":"1402036649","filename":"file4"},{"photo_id":"1402036644","filename":"file1"},{"photo_id":"1402036643","filename":"file0"},{"photo_id":"1402036647","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036651":["hashtag1","hashtag2"]},{"1402036645":["hashtag1","hashtag2"]},{"1402036644":["hashtag1","hashtag2"]},{"1402036647":["hashtag1","hashtag2"]},{"1402036649":["hashtag1","hashtag2"]},{"1402036643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036651, 1402036645, 1402036644, 1402036647, 1402036649, 1402036643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67071604728699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:53:42.867486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_13_3720.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_16_2710.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_18_2540.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_22_3564.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_25_2681.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_28_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_13_3720.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_16_2710.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_18_2540.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_22_3564.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_25_2681.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_28_3689.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: 3.4033150672912598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:54:02.742292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/33/image_01012026_18_33_35_9652.jpg', '/home/pi/Desktop/images/01012026/18/33/image_01012026_18_33_44_9816.jpg', '/home/pi/Desktop/images/01012026/18/34/image_01012026_18_34_15_9868.jpg', '/home/pi/Desktop/images/01012026/18/34/image_01012026_18_34_35_10120.jpg', '/home/pi/Desktop/images/01012026/18/34/image_01012026_18_34_45_10642.jpg', '/home/pi/Desktop/images/01012026/18/34/image_01012026_18_34_55_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/33/image_01012026_18_33_35_9652.jpg
/home/pi/Desktop/images/01012026/18/33/image_01012026_18_33_44_9816.jpg
/home/pi/Desktop/images/01012026/18/34/image_01012026_18_34_15_9868.jpg
/home/pi/Desktop/images/01012026/18/34/image_01012026_18_34_35_10120.jpg
/home/pi/Desktop/images/01012026/18/34/image_01012026_18_34_45_10642.jpg
/home/pi/Desktop/images/01012026/18/34/image_01012026_18_34_55_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":["1402036666","1402036669","1402036668","1402036671","1402036667","1402036664"],"photo_ids_order":["1402036664","1402036666","1402036667","1402036668","1402036669","1402036671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94b0695af9c4a0b923d39a51e8d14ede.jpg","text":"TemporaryFile(/tmp/multipartBody3686959965381746695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290103449,"filename":"image_01012026_18_33_44_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0894f5ed6c1c5b95f2bf8abbc3e48240.jpg","text":"TemporaryFile(/tmp/multipartBody1467943476780862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290103449,"filename":"image_01012026_18_34_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/495c32e8129d855bac32f4a8cb70ad59.jpg","text":"TemporaryFile(/tmp/multipartBody2947298764050981157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290103449,"filename":"image_01012026_18_34_35_10120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0518c8ac0e71da44a74640c7bd9140cb.jpg","text":"TemporaryFile(/tmp/multipartBody4569301004126513170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290103449,"filename":"image_01012026_18_34_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63bcd5d7023d8a1ed5caf4e4a9bf5ca5.jpg","text":"TemporaryFile(/tmp/multipartBody4438983272058624057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290103449,"filename":"image_01012026_18_34_15_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f175950cecf7ca23143e081f59cc160.jpg","text":"TemporaryFile(/tmp/multipartBody5329241863661119685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290103449,"filename":"image_01012026_18_33_35_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036667","file1":"1402036666","file0":"1402036664","file4":"1402036669","file5":"1402036671","file3":"1402036668"},"map_files_photo_id_array":[{"photo_id":"1402036671","filename":"file5"},{"photo_id":"1402036667","filename":"file2"},{"photo_id":"1402036669","filename":"file4"},{"photo_id":"1402036666","filename":"file1"},{"photo_id":"1402036664","filename":"file0"},{"photo_id":"1402036668","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036666":["hashtag1","hashtag2"]},{"1402036669":["hashtag1","hashtag2"]},{"1402036668":["hashtag1","hashtag2"]},{"1402036671":["hashtag1","hashtag2"]},{"1402036667":["hashtag1","hashtag2"]},{"1402036664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036666, 1402036669, 1402036668, 1402036671, 1402036667, 1402036664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.800508975982666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:54:42.101702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_13_3720.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_16_2710.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_18_2540.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_22_3564.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_25_2681.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_28_3689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_13_3720.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_16_2710.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_18_2540.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_22_3564.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_25_2681.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_28_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":["1402036680","1402036683","1402036677","1402036679","1402036682","1402036681"],"photo_ids_order":["1402036677","1402036679","1402036680","1402036681","1402036682","1402036683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/126561161d31e76c9ed799606809c4f6.jpg","text":"TemporaryFile(/tmp/multipartBody2457093449226152130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290143838,"filename":"image_04112025_18_40_18_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/730ad88caa19bb9b939f8a3d1bdb32da.jpg","text":"TemporaryFile(/tmp/multipartBody4545075611901406428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290143838,"filename":"image_04112025_18_40_28_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d6eab4381074e46e730e4aaf65cab64.jpg","text":"TemporaryFile(/tmp/multipartBody7466180306799115282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290143838,"filename":"image_04112025_18_40_13_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d92acd234bafd7338b2ba55df31c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody3692045113062424393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290143838,"filename":"image_04112025_18_40_16_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/473de727b107ea6b2c736b3c462f8838.jpg","text":"TemporaryFile(/tmp/multipartBody6503683855132569267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290143838,"filename":"image_04112025_18_40_25_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b392634fb73b997ffd0e4b0de36c34d9.jpg","text":"TemporaryFile(/tmp/multipartBody3052294012848248281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290143838,"filename":"image_04112025_18_40_22_3564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036680","file1":"1402036679","file0":"1402036677","file4":"1402036682","file5":"1402036683","file3":"1402036681"},"map_files_photo_id_array":[{"photo_id":"1402036683","filename":"file5"},{"photo_id":"1402036680","filename":"file2"},{"photo_id":"1402036682","filename":"file4"},{"photo_id":"1402036679","filename":"file1"},{"photo_id":"1402036677","filename":"file0"},{"photo_id":"1402036681","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036680":["hashtag1","hashtag2"]},{"1402036683":["hashtag1","hashtag2"]},{"1402036677":["hashtag1","hashtag2"]},{"1402036679":["hashtag1","hashtag2"]},{"1402036682":["hashtag1","hashtag2"]},{"1402036681":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036680, 1402036683, 1402036677, 1402036679, 1402036682, 1402036681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88198471069336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 18:55:22.273653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/35/image_01012026_18_35_25_9699.jpg', '/home/pi/Desktop/images/01012026/18/35/image_01012026_18_35_35_9933.jpg', '/home/pi/Desktop/images/01012026/18/35/image_01012026_18_35_54_9758.jpg', '/home/pi/Desktop/images/01012026/18/35/image_01012026_18_36_05_10732.jpg', '/home/pi/Desktop/images/01012026/18/36/image_01012026_18_36_15_9723.jpg', '/home/pi/Desktop/images/01012026/18/36/image_01012026_18_36_25_9885.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/35/image_01012026_18_35_25_9699.jpg
/home/pi/Desktop/images/01012026/18/35/image_01012026_18_35_35_9933.jpg
/home/pi/Desktop/images/01012026/18/35/image_01012026_18_35_54_9758.jpg
/home/pi/Desktop/images/01012026/18/35/image_01012026_18_36_05_10732.jpg
/home/pi/Desktop/images/01012026/18/36/image_01012026_18_36_15_9723.jpg
/home/pi/Desktop/images/01012026/18/36/image_01012026_18_36_25_9885.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036687","1402036692","1402036689","1402036685","1402036694","1402036696"],"photo_ids_order":["1402036685","1402036687","1402036689","1402036692","1402036694","1402036696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42bc2e3639d057c5f43437d4f8086732.jpg","text":"TemporaryFile(/tmp/multipartBody3656765035281621451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290182872,"filename":"image_01012026_18_35_35_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8573c54338c053b568c5c9dabb25a67.jpg","text":"TemporaryFile(/tmp/multipartBody8790992931463393751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290182872,"filename":"image_01012026_18_36_05_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/790de13b538658921ddca3153f12def3.jpg","text":"TemporaryFile(/tmp/multipartBody5966321900463067713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290182872,"filename":"image_01012026_18_35_54_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2de266a44bc8f30c0b2e65578bcaab07.jpg","text":"TemporaryFile(/tmp/multipartBody3159662747053403995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290182872,"filename":"image_01012026_18_35_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f6803d40fac9ff1991397410b38b341.jpg","text":"TemporaryFile(/tmp/multipartBody923771635354157348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290182872,"filename":"image_01012026_18_36_15_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36d21a9f9cdfcaa5487eb1e1440b30c4.jpg","text":"TemporaryFile(/tmp/multipartBody448488207563894002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290182872,"filename":"image_01012026_18_36_25_9885.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036689","file1":"1402036687","file0":"1402036685","file4":"1402036694","file5":"1402036696","file3":"1402036692"},"map_files_photo_id_array":[{"photo_id":"1402036696","filename":"file5"},{"photo_id":"1402036689","filename":"file2"},{"photo_id":"1402036694","filename":"file4"},{"photo_id":"1402036687","filename":"file1"},{"photo_id":"1402036685","filename":"file0"},{"photo_id":"1402036692","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036687":["hashtag1","hashtag2"]},{"1402036692":["hashtag1","hashtag2"]},{"1402036689":["hashtag1","hashtag2"]},{"1402036685":["hashtag1","hashtag2"]},{"1402036694":["hashtag1","hashtag2"]},{"1402036696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036687, 1402036692, 1402036689, 1402036685, 1402036694, 1402036696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40848159790039 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
2026-01-01 18:56:13.300082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_31_2705.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_40_2792.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_43_2531.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_46_3708.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_55_3573.jpg', '/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_58_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_31_2705.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_40_2792.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_43_2531.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_46_3708.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_55_3573.jpg
/home/pi/Desktop/images/04112025/18/40/image_04112025_18_40_58_2805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036705","1402036707","1402036701","1402036709","1402036703","1402036699"],"photo_ids_order":["1402036699","1402036701","1402036703","1402036705","1402036707","1402036709"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/515013989368233f488c56656774c4ff.jpg","text":"TemporaryFile(/tmp/multipartBody8394546397060292031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290235180,"filename":"image_04112025_18_40_46_3708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/166e075867ab94ad1a424f289440b12e.jpg","text":"TemporaryFile(/tmp/multipartBody2888523479411208754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290235180,"filename":"image_04112025_18_40_55_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10cc5df03bf5a3b9645e382f431f9630.jpg","text":"TemporaryFile(/tmp/multipartBody4828167365476382450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290235180,"filename":"image_04112025_18_40_40_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47bc9e9a59082e55f5b30e306eacf0d6.jpg","text":"TemporaryFile(/tmp/multipartBody8230748216200777609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290235180,"filename":"image_04112025_18_40_58_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1547cb1ca6eebf45880c3c3a24fcfa80.jpg","text":"TemporaryFile(/tmp/multipartBody3156813365349460140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290235180,"filename":"image_04112025_18_40_43_2531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74acb9e73d48e81a7785bb05bbbc26b0.jpg","text":"TemporaryFile(/tmp/multipartBody7548319235826292912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290235180,"filename":"image_04112025_18_40_31_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036703","file1":"1402036701","file0":"1402036699","file4":"1402036707","file5":"1402036709","file3":"1402036705"},"map_files_photo_id_array":[{"photo_id":"1402036709","filename":"file5"},{"photo_id":"1402036703","filename":"file2"},{"photo_id":"1402036707","filename":"file4"},{"photo_id":"1402036701","filename":"file1"},{"photo_id":"1402036699","filename":"file0"},{"photo_id":"1402036705","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036705":["hashtag1","hashtag2"]},{"1402036707":["hashtag1","hashtag2"]},{"1402036701":["hashtag1","hashtag2"]},{"1402036709":["hashtag1","hashtag2"]},{"1402036703":["hashtag1","hashtag2"]},{"1402036699":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036705, 1402036707, 1402036701, 1402036709, 1402036703, 1402036699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.029234409332275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:57:03.057944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/36/image_01012026_18_36_45_10142.jpg', '/home/pi/Desktop/images/01012026/18/36/image_01012026_18_37_05_9775.jpg', '/home/pi/Desktop/images/01012026/18/37/image_01012026_18_37_15_9800.jpg', '/home/pi/Desktop/images/01012026/18/37/image_01012026_18_37_35_10669.jpg', '/home/pi/Desktop/images/01012026/18/37/image_01012026_18_37_54_9657.jpg', '/home/pi/Desktop/images/01012026/18/37/image_01012026_18_38_04_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/36/image_01012026_18_36_45_10142.jpg
/home/pi/Desktop/images/01012026/18/36/image_01012026_18_37_05_9775.jpg
/home/pi/Desktop/images/01012026/18/37/image_01012026_18_37_15_9800.jpg
/home/pi/Desktop/images/01012026/18/37/image_01012026_18_37_35_10669.jpg
/home/pi/Desktop/images/01012026/18/37/image_01012026_18_37_54_9657.jpg
/home/pi/Desktop/images/01012026/18/37/image_01012026_18_38_04_9925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036714","1402036717","1402036719","1402036713","1402036716","1402036715"],"photo_ids_order":["1402036713","1402036714","1402036715","1402036716","1402036717","1402036719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a71b7fc90e85026c396b44d1903388d.jpg","text":"TemporaryFile(/tmp/multipartBody7577568832757387754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290283697,"filename":"image_01012026_18_37_05_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5d8c4270f405f7673de0614d10365b2.jpg","text":"TemporaryFile(/tmp/multipartBody5972029067180087841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290283697,"filename":"image_01012026_18_37_54_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efc5c5ba54ba8b343dda9c20d6ae8e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2565410168523191390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290283697,"filename":"image_01012026_18_38_04_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/038bb95591fa76667363cd6000f0e2d8.jpg","text":"TemporaryFile(/tmp/multipartBody3823042708944818139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290283697,"filename":"image_01012026_18_36_45_10142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5aa0cf924382dfb971a8eae7ec34e000.jpg","text":"TemporaryFile(/tmp/multipartBody2013748211755474749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290283697,"filename":"image_01012026_18_37_35_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92549d76907304683928c84bbd5cba65.jpg","text":"TemporaryFile(/tmp/multipartBody4282461751872362456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290283697,"filename":"image_01012026_18_37_15_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036715","file1":"1402036714","file0":"1402036713","file4":"1402036717","file5":"1402036719","file3":"1402036716"},"map_files_photo_id_array":[{"photo_id":"1402036719","filename":"file5"},{"photo_id":"1402036715","filename":"file2"},{"photo_id":"1402036717","filename":"file4"},{"photo_id":"1402036714","filename":"file1"},{"photo_id":"1402036713","filename":"file0"},{"photo_id":"1402036716","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402036714":["hashtag1","hashtag2"]},{"1402036717":["hashtag1","hashtag2"]},{"1402036719":["hashtag1","hashtag2"]},{"1402036713":["hashtag1","hashtag2"]},{"1402036716":["hashtag1","hashtag2"]},{"1402036715":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402036714, 1402036717, 1402036719, 1402036713, 1402036716, 1402036715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60113263130188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 18:57:42.563095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_01_2652.jpg', '/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_13_2564.jpg', '/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_19_3685.jpg', '/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_22_2616.jpg', '/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_34_2576.jpg', '/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_37_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_01_2652.jpg
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_13_2564.jpg
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_19_3685.jpg
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_22_2616.jpg
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_34_2576.jpg
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_37_3634.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402036729","1402036731","1402036725","1402036728","1402036727","1402036730"],"photo_ids_order":["1402036725","1402036727","1402036728","1402036729","1402036730","1402036731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54e5337b7ca01857fab324cf58606d73.jpg","text":"TemporaryFile(/tmp/multipartBody954509368623944927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290324452,"filename":"image_04112025_18_41_22_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cc0a1e0949b8f432556e5f6d2024c42.jpg","text":"TemporaryFile(/tmp/multipartBody7315510815384897698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290324452,"filename":"image_04112025_18_41_37_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/523201cde3c18f1d4e3f92bc77d0b183.jpg","text":"TemporaryFile(/tmp/multipartBody7756696975387500403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290324452,"filename":"image_04112025_18_41_01_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f943119f07dab9db86881f8be1183da7.jpg","text":"TemporaryFile(/tmp/multipartBody4901192494027012380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290324452,"filename":"image_04112025_18_41_19_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e22a9e72a9fbbe1bf9f617a2d3af8d1.jpg","text":"TemporaryFile(/tmp/multipartBody3401935113912911892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290324452,"filename":"image_04112025_18_41_13_2564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2c6dc80a466ee3c31751e4870d22a5b.jpg","text":"TemporaryFile(/tmp/multipartBody4800790041813010192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290324452,"filename":"image_04112025_18_41_34_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402036728","file1":"1402036727","file0":"1402036725","file4":"1402036730","file5":"1402036731","file3":"1402036729"},"map_files_photo_id_array":[{"photo_id":"1402036731","filename":"file5"},{"photo_id":"1402036728","filename":"file2"},{"photo_id":"1402036730","filename":"file4"},{"photo_id":"1402036727","filename":"file1"},{"photo_id":"1402036725","filename":"file0"},{"photo_id":"1402036729","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402036729":["hashtag1","hashtag2"]},{"1402036731":["hashtag1","hashtag2"]},{"1402036725":["hashtag1","hashtag2"]},{"1402036728":["hashtag1","hashtag2"]},{"1402036727":["hashtag1","hashtag2"]},{"1402036730":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402036729, 1402036731, 1402036725, 1402036728, 1402036727, 1402036730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.964651584625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 18:59:03.027770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 18:59:12.384485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_40_2635.jpg', '/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_58_2653.jpg', '/home/pi/Desktop/images/04112025/18/41/image_04112025_18_42_00_2698.jpg', '/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_09_2567.jpg', '/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_18_2813.jpg', '/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_21_2897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_40_2635.jpg
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_41_58_2653.jpg
/home/pi/Desktop/images/04112025/18/41/image_04112025_18_42_00_2698.jpg
/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_09_2567.jpg
/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_18_2813.jpg
/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_21_2897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037305","1402037244","1402037447","1402037165","1402037204","1402037377"],"photo_ids_order":["1402037165","1402037204","1402037244","1402037305","1402037377","1402037447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77ecce556a1e2e1dd93cdae40521de69.jpg","text":"TemporaryFile(/tmp/multipartBody2569711670697458473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290414170,"filename":"image_04112025_18_42_09_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/763f5a6e8d4df5af51b0515dabd19055.jpg","text":"TemporaryFile(/tmp/multipartBody5442160406974481495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290414170,"filename":"image_04112025_18_42_00_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3887b9b00fad086036a110840d3d9622.jpg","text":"TemporaryFile(/tmp/multipartBody7429439880013283692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290414170,"filename":"image_04112025_18_42_21_2897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82807a5e089cb9f5a2cf9f241b200527.jpg","text":"TemporaryFile(/tmp/multipartBody4307813144835137115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290414170,"filename":"image_04112025_18_41_40_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e7ede1afd4b6d4cf4d88583aac5c7f9.jpg","text":"TemporaryFile(/tmp/multipartBody7769191691759165728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290414170,"filename":"image_04112025_18_41_58_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa91c1fb5ce821d959fbddaf680d38e7.jpg","text":"TemporaryFile(/tmp/multipartBody2906622028447323830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290414170,"filename":"image_04112025_18_42_18_2813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037244","file1":"1402037204","file0":"1402037165","file4":"1402037377","file5":"1402037447","file3":"1402037305"},"map_files_photo_id_array":[{"photo_id":"1402037447","filename":"file5"},{"photo_id":"1402037244","filename":"file2"},{"photo_id":"1402037377","filename":"file4"},{"photo_id":"1402037204","filename":"file1"},{"photo_id":"1402037165","filename":"file0"},{"photo_id":"1402037305","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402037305":["hashtag1","hashtag2"]},{"1402037244":["hashtag1","hashtag2"]},{"1402037447":["hashtag1","hashtag2"]},{"1402037165":["hashtag1","hashtag2"]},{"1402037204":["hashtag1","hashtag2"]},{"1402037377":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402037305, 1402037244, 1402037447, 1402037165, 1402037204, 1402037377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.44558668136597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:00:02.902246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_15_10629.jpg', '/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_25_9642.jpg', '/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_35_10627.jpg', '/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_45_9595.jpg', '/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_55_9697.jpg', '/home/pi/Desktop/images/01012026/18/38/image_01012026_18_39_05_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_15_10629.jpg
/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_25_9642.jpg
/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_35_10627.jpg
/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_45_9595.jpg
/home/pi/Desktop/images/01012026/18/38/image_01012026_18_38_55_9697.jpg
/home/pi/Desktop/images/01012026/18/38/image_01012026_18_39_05_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037789","1402037735","1402037720","1402037717","1402037788","1402037773"],"photo_ids_order":["1402037717","1402037720","1402037735","1402037773","1402037788","1402037789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d3d80db59599fc763a7179687b333be.jpg","text":"TemporaryFile(/tmp/multipartBody5041205992504182517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290463532,"filename":"image_01012026_18_39_05_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39ee7ecd9bea063dec4961a4937f15db.jpg","text":"TemporaryFile(/tmp/multipartBody8403966072008721266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290463532,"filename":"image_01012026_18_38_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdfb3b3f4dbaa9294d6f669536c4c667.jpg","text":"TemporaryFile(/tmp/multipartBody1448063987886387755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290463532,"filename":"image_01012026_18_38_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cbe46c131977376863fc0c4e898ff72.jpg","text":"TemporaryFile(/tmp/multipartBody4218107166044790754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290463532,"filename":"image_01012026_18_38_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4444aded9c2cafb08d8c9ca23e7c141.jpg","text":"TemporaryFile(/tmp/multipartBody8305502991409369862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290463532,"filename":"image_01012026_18_38_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/771517b53cebb902688cd29b95749fb7.jpg","text":"TemporaryFile(/tmp/multipartBody3915327280393378365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290463532,"filename":"image_01012026_18_38_45_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037735","file1":"1402037720","file0":"1402037717","file4":"1402037788","file5":"1402037789","file3":"1402037773"},"map_files_photo_id_array":[{"photo_id":"1402037789","filename":"file5"},{"photo_id":"1402037735","filename":"file2"},{"photo_id":"1402037788","filename":"file4"},{"photo_id":"1402037720","filename":"file1"},{"photo_id":"1402037717","filename":"file0"},{"photo_id":"1402037773","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402037789":["hashtag1","hashtag2"]},{"1402037735":["hashtag1","hashtag2"]},{"1402037720":["hashtag1","hashtag2"]},{"1402037717":["hashtag1","hashtag2"]},{"1402037788":["hashtag1","hashtag2"]},{"1402037773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402037789, 1402037735, 1402037720, 1402037717, 1402037788, 1402037773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75935959815979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:00:42.355383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_25_3634.jpg', '/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_28_2778.jpg', '/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_30_2615.jpg', '/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_37_2668.jpg', '/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_49_2679.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_15_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_25_3634.jpg
/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_28_2778.jpg
/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_30_2615.jpg
/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_37_2668.jpg
/home/pi/Desktop/images/04112025/18/42/image_04112025_18_42_49_2679.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_15_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":["1402037850","1402037844","1402037846","1402037848","1402037842","1402037839"],"photo_ids_order":["1402037839","1402037842","1402037844","1402037846","1402037848","1402037850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/819e7119f35bf0030cd3f05de94e7397.jpg","text":"TemporaryFile(/tmp/multipartBody1225786761997173507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290504119,"filename":"image_04112025_18_43_15_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9a665eea62c5a2c0d61d448e2811655f.jpg","text":"TemporaryFile(/tmp/multipartBody4991727001466057647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290504119,"filename":"image_04112025_18_42_30_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efcdcd86e179ee32ae396680d9fcc367.jpg","text":"TemporaryFile(/tmp/multipartBody5993508624154838241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290504119,"filename":"image_04112025_18_42_37_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1730f3f31e9c13a0a2c9fac1bef1d60a.jpg","text":"TemporaryFile(/tmp/multipartBody6253489018951706431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290504119,"filename":"image_04112025_18_42_49_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31bebd6fe2cd7fed78ceae924fd5b254.jpg","text":"TemporaryFile(/tmp/multipartBody5500008886237086214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290504119,"filename":"image_04112025_18_42_28_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e7e54e49b89e06f34044de69b17551.jpg","text":"TemporaryFile(/tmp/multipartBody1703390160822122663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290504119,"filename":"image_04112025_18_42_25_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037844","file1":"1402037842","file0":"1402037839","file4":"1402037848","file5":"1402037850","file3":"1402037846"},"map_files_photo_id_array":[{"photo_id":"1402037850","filename":"file5"},{"photo_id":"1402037844","filename":"file2"},{"photo_id":"1402037848","filename":"file4"},{"photo_id":"1402037842","filename":"file1"},{"photo_id":"1402037839","filename":"file0"},{"photo_id":"1402037846","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402037850":["hashtag1","hashtag2"]},{"1402037844":["hashtag1","hashtag2"]},{"1402037846":["hashtag1","hashtag2"]},{"1402037848":["hashtag1","hashtag2"]},{"1402037842":["hashtag1","hashtag2"]},{"1402037839":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402037850, 1402037844, 1402037846, 1402037848, 1402037842, 1402037839)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.75387978553772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:01:32.696340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_19_3591.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_22_2756.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_24_2626.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_28_3643.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_31_2630.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_37_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_19_3591.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_22_2756.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_24_2626.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_28_3643.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_31_2630.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_37_3663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037862","1402037856","1402037861","1402037864","1402037858","1402037863"],"photo_ids_order":["1402037856","1402037858","1402037861","1402037862","1402037863","1402037864"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7d1efedea8c446d9270ec51eadfaefc.jpg","text":"TemporaryFile(/tmp/multipartBody3965739020773417334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290557991,"filename":"image_04112025_18_43_28_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/608043e5b71399d1ad962f827870f233.jpg","text":"TemporaryFile(/tmp/multipartBody6849069413036677208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290557991,"filename":"image_04112025_18_43_19_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45e212811c537540fc95d3c2d24b1893.jpg","text":"TemporaryFile(/tmp/multipartBody3615813545696398028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290557991,"filename":"image_04112025_18_43_24_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27e6c438c7eaea0557585a0675a772ce.jpg","text":"TemporaryFile(/tmp/multipartBody3443295205134909529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290557991,"filename":"image_04112025_18_43_37_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b097d9c82aaec6f8373e23c2270ae858.jpg","text":"TemporaryFile(/tmp/multipartBody6839679252556259709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290557991,"filename":"image_04112025_18_43_22_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/244f6c170d50f337f286dbc897e4dd8c.jpg","text":"TemporaryFile(/tmp/multipartBody2508586003516448066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290557991,"filename":"image_04112025_18_43_31_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037861","file1":"1402037858","file0":"1402037856","file4":"1402037863","file5":"1402037864","file3":"1402037862"},"map_files_photo_id_array":[{"photo_id":"1402037864","filename":"file5"},{"photo_id":"1402037861","filename":"file2"},{"photo_id":"1402037863","filename":"file4"},{"photo_id":"1402037858","filename":"file1"},{"photo_id":"1402037856","filename":"file0"},{"photo_id":"1402037862","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402037862":["hashtag1","hashtag2"]},{"1402037856":["hashtag1","hashtag2"]},{"1402037861":["hashtag1","hashtag2"]},{"1402037864":["hashtag1","hashtag2"]},{"1402037858":["hashtag1","hashtag2"]},{"1402037863":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402037862, 1402037856, 1402037861, 1402037864, 1402037858, 1402037863)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.272193908691406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:02:26.310629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/39/image_01012026_18_39_35_10745.jpg', '/home/pi/Desktop/images/01012026/18/39/image_01012026_18_39_45_9681.jpg', '/home/pi/Desktop/images/01012026/18/39/image_01012026_18_40_04_9700.jpg', '/home/pi/Desktop/images/01012026/18/40/image_01012026_18_40_15_10625.jpg', '/home/pi/Desktop/images/01012026/18/40/image_01012026_18_40_35_10627.jpg', '/home/pi/Desktop/images/01012026/18/40/image_01012026_18_40_45_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/39/image_01012026_18_39_35_10745.jpg
/home/pi/Desktop/images/01012026/18/39/image_01012026_18_39_45_9681.jpg
/home/pi/Desktop/images/01012026/18/39/image_01012026_18_40_04_9700.jpg
/home/pi/Desktop/images/01012026/18/40/image_01012026_18_40_15_10625.jpg
/home/pi/Desktop/images/01012026/18/40/image_01012026_18_40_35_10627.jpg
/home/pi/Desktop/images/01012026/18/40/image_01012026_18_40_45_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":["1402037877","1402037871","1402037873","1402037876","1402037867","1402037869"],"photo_ids_order":["1402037867","1402037869","1402037871","1402037873","1402037876","1402037877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/886f7c09cc7af2d2e98c3f032c6d1c69.jpg","text":"TemporaryFile(/tmp/multipartBody7112944091683003002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290606863,"filename":"image_01012026_18_40_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7d00d5f0149654f878fddbfdceed204.jpg","text":"TemporaryFile(/tmp/multipartBody2067370397408852926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290606863,"filename":"image_01012026_18_40_04_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/467adb47e3214b2dac7001fc94f0ebd7.jpg","text":"TemporaryFile(/tmp/multipartBody4552824604499570634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290606863,"filename":"image_01012026_18_40_15_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76757244a67042556da36cf77bd05461.jpg","text":"TemporaryFile(/tmp/multipartBody2643329705021234671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290606863,"filename":"image_01012026_18_40_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3f0d04e8beeeb49596f61641699cc2b.jpg","text":"TemporaryFile(/tmp/multipartBody5832995328750495878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290606863,"filename":"image_01012026_18_39_35_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b4c7256c0fe9d4a267e8d23e785af99.jpg","text":"TemporaryFile(/tmp/multipartBody6740507712114654651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290606863,"filename":"image_01012026_18_39_45_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037871","file1":"1402037869","file0":"1402037867","file4":"1402037876","file5":"1402037877","file3":"1402037873"},"map_files_photo_id_array":[{"photo_id":"1402037877","filename":"file5"},{"photo_id":"1402037871","filename":"file2"},{"photo_id":"1402037876","filename":"file4"},{"photo_id":"1402037869","filename":"file1"},{"photo_id":"1402037867","filename":"file0"},{"photo_id":"1402037873","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402037877":["hashtag1","hashtag2"]},{"1402037871":["hashtag1","hashtag2"]},{"1402037873":["hashtag1","hashtag2"]},{"1402037876":["hashtag1","hashtag2"]},{"1402037867":["hashtag1","hashtag2"]},{"1402037869":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402037877, 1402037871, 1402037873, 1402037876, 1402037867, 1402037869)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 36.924015522003174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:03:12.225121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_39_2570.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_46_3543.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_48_2699.jpg', '/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_55_3607.jpg', '/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_01_5945.jpg', '/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_03_1975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_39_2570.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_46_3543.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_48_2699.jpg
/home/pi/Desktop/images/04112025/18/43/image_04112025_18_43_55_3607.jpg
/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_01_5945.jpg
/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_03_1975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037883","1402037885","1402037879","1402037878","1402037887","1402037881"],"photo_ids_order":["1402037878","1402037879","1402037881","1402037883","1402037885","1402037887"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e55cb9c0926698641c47961a818e210e.jpg","text":"TemporaryFile(/tmp/multipartBody4237497457795715096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290654105,"filename":"image_04112025_18_43_55_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be563262130a0ac5304473465f2933b8.jpg","text":"TemporaryFile(/tmp/multipartBody2462827520241955917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290654105,"filename":"image_04112025_18_44_01_5945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/047e21cf2edb0e5ed0db119e0669bf53.jpg","text":"TemporaryFile(/tmp/multipartBody9051834206911184428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290654105,"filename":"image_04112025_18_43_46_3543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ce11e8f6f3c37b5db494458f7377972.jpg","text":"TemporaryFile(/tmp/multipartBody5232635103208941774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290654105,"filename":"image_04112025_18_43_39_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/091107aabcd70ff1ed99cbba5ea7cc2d.jpg","text":"TemporaryFile(/tmp/multipartBody993374937269023065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290654105,"filename":"image_04112025_18_44_03_1975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49aef706f9ce7d17fe3a62dec6ca3cb4.jpg","text":"TemporaryFile(/tmp/multipartBody6306466842234531576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290654105,"filename":"image_04112025_18_43_48_2699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037881","file1":"1402037879","file0":"1402037878","file4":"1402037885","file5":"1402037887","file3":"1402037883"},"map_files_photo_id_array":[{"photo_id":"1402037887","filename":"file5"},{"photo_id":"1402037881","filename":"file2"},{"photo_id":"1402037885","filename":"file4"},{"photo_id":"1402037879","filename":"file1"},{"photo_id":"1402037878","filename":"file0"},{"photo_id":"1402037883","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402037883":["hashtag1","hashtag2"]},{"1402037885":["hashtag1","hashtag2"]},{"1402037879":["hashtag1","hashtag2"]},{"1402037878":["hashtag1","hashtag2"]},{"1402037887":["hashtag1","hashtag2"]},{"1402037881":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402037883, 1402037885, 1402037879, 1402037878, 1402037887, 1402037881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05253314971924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:04:02.759946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/40/image_01012026_18_41_05_10670.jpg', '/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_15_10076.jpg', '/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_44_10021.jpg', '/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_55_10607.jpg', '/home/pi/Desktop/images/01012026/18/41/image_01012026_18_42_05_9805.jpg', '/home/pi/Desktop/images/01012026/18/42/image_01012026_18_42_15_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/40/image_01012026_18_41_05_10670.jpg
/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_15_10076.jpg
/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_44_10021.jpg
/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_55_10607.jpg
/home/pi/Desktop/images/01012026/18/41/image_01012026_18_42_05_9805.jpg
/home/pi/Desktop/images/01012026/18/42/image_01012026_18_42_15_9735.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.5969915390014648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:04:12.181244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_04_1555.jpg', '/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_06_1964.jpg', '/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_27_3141.jpg', '/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_29_1709.jpg', '/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_31_1647.jpg', '/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_33_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_04_1555.jpg
/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_06_1964.jpg
/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_27_3141.jpg
/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_29_1709.jpg
/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_31_1647.jpg
/home/pi/Desktop/images/04112025/18/44/image_04112025_18_44_33_2686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037905","1402037898","1402037907","1402037901","1402037896","1402037903"],"photo_ids_order":["1402037896","1402037898","1402037901","1402037903","1402037905","1402037907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65d59ef21a9ad382fcf2dcaa93df494a.jpg","text":"TemporaryFile(/tmp/multipartBody952925304378341151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290713961,"filename":"image_04112025_18_44_31_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f8c347444466fb2761a1fdf8a18c65c.jpg","text":"TemporaryFile(/tmp/multipartBody2074885100498639929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290713961,"filename":"image_04112025_18_44_06_1964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12a6fc3f1627c298ec5b97c4fe805327.jpg","text":"TemporaryFile(/tmp/multipartBody4162274758956111858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290713961,"filename":"image_04112025_18_44_33_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf0f8e29302952363b4d11c31f86a4fd.jpg","text":"TemporaryFile(/tmp/multipartBody1331099760151209166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290713961,"filename":"image_04112025_18_44_27_3141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9411464c16650e95d4664e71887a2579.jpg","text":"TemporaryFile(/tmp/multipartBody361498826944243978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290713961,"filename":"image_04112025_18_44_04_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cffe61946d03ed07c9ac6539d839f063.jpg","text":"TemporaryFile(/tmp/multipartBody8362972807462234875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290713961,"filename":"image_04112025_18_44_29_1709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037901","file1":"1402037898","file0":"1402037896","file4":"1402037905","file5":"1402037907","file3":"1402037903"},"map_files_photo_id_array":[{"photo_id":"1402037907","filename":"file5"},{"photo_id":"1402037901","filename":"file2"},{"photo_id":"1402037905","filename":"file4"},{"photo_id":"1402037898","filename":"file1"},{"photo_id":"1402037896","filename":"file0"},{"photo_id":"1402037903","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402037905":["hashtag1","hashtag2"]},{"1402037898":["hashtag1","hashtag2"]},{"1402037907":["hashtag1","hashtag2"]},{"1402037901":["hashtag1","hashtag2"]},{"1402037896":["hashtag1","hashtag2"]},{"1402037903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402037905, 1402037898, 1402037907, 1402037901, 1402037896, 1402037903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.502246618270874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:05:02.984425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/40/image_01012026_18_41_05_10670.jpg', '/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_15_10076.jpg', '/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_44_10021.jpg', '/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_55_10607.jpg', '/home/pi/Desktop/images/01012026/18/41/image_01012026_18_42_05_9805.jpg', '/home/pi/Desktop/images/01012026/18/42/image_01012026_18_42_15_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/40/image_01012026_18_41_05_10670.jpg
/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_15_10076.jpg
/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_44_10021.jpg
/home/pi/Desktop/images/01012026/18/41/image_01012026_18_41_55_10607.jpg
/home/pi/Desktop/images/01012026/18/41/image_01012026_18_42_05_9805.jpg
/home/pi/Desktop/images/01012026/18/42/image_01012026_18_42_15_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037911","1402037913","1402037912","1402037915","1402037914","1402037917"],"photo_ids_order":["1402037911","1402037912","1402037913","1402037914","1402037915","1402037917"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb8fc534d668aaab0d875dcde7553d46.jpg","text":"TemporaryFile(/tmp/multipartBody8817180581816995530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290763642,"filename":"image_01012026_18_41_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c42881e9045ece06cad0dad9c0798d84.jpg","text":"TemporaryFile(/tmp/multipartBody6486880689244434307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290763642,"filename":"image_01012026_18_41_44_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6095f3aaef90cf269b9f336254e3c031.jpg","text":"TemporaryFile(/tmp/multipartBody8130494064047990443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290763642,"filename":"image_01012026_18_41_15_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b75443535061d90cb85c529a22846232.jpg","text":"TemporaryFile(/tmp/multipartBody6909863269213800171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290763642,"filename":"image_01012026_18_42_05_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48e23aa8d93257b41b8b3228d3cfaafe.jpg","text":"TemporaryFile(/tmp/multipartBody6553383017214194186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290763642,"filename":"image_01012026_18_41_55_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71d18060bb17f46d08bb89dcb653f103.jpg","text":"TemporaryFile(/tmp/multipartBody7549476988374030230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290763642,"filename":"image_01012026_18_42_15_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037913","file1":"1402037912","file0":"1402037911","file4":"1402037915","file5":"1402037917","file3":"1402037914"},"map_files_photo_id_array":[{"photo_id":"1402037917","filename":"file5"},{"photo_id":"1402037913","filename":"file2"},{"photo_id":"1402037915","filename":"file4"},{"photo_id":"1402037912","filename":"file1"},{"photo_id":"1402037911","filename":"file0"},{"photo_id":"1402037914","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402037911":["hashtag1","hashtag2"]},{"1402037913":["hashtag1","hashtag2"]},{"1402037912":["hashtag1","hashtag2"]},{"1402037915":["hashtag1","hashtag2"]},{"1402037914":["hashtag1","hashtag2"]},{"1402037917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402037911, 1402037913, 1402037912, 1402037915, 1402037914, 1402037917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.070882081985474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:05:42.425267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_10_2886.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_12_2870.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_15_2624.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_19_3761.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_22_3285.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_27_2482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_10_2886.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_12_2870.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_15_2624.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_19_3761.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_22_3285.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_27_2482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037926","1402037928","1402037930","1402037927","1402037929","1402037923"],"photo_ids_order":["1402037923","1402037926","1402037927","1402037928","1402037929","1402037930"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e0f2c5081c587ccb91a977a4cf5978d.jpg","text":"TemporaryFile(/tmp/multipartBody2647874541038188286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290804351,"filename":"image_04112025_18_45_12_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5f46360ca6b94709d79cf2bf1cd8bb3.jpg","text":"TemporaryFile(/tmp/multipartBody4687077668984597915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290804351,"filename":"image_04112025_18_45_19_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba10745b8fc9b2e30e88c86cd0fef1ca.jpg","text":"TemporaryFile(/tmp/multipartBody7275437420728480391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290804351,"filename":"image_04112025_18_45_27_2482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8c10a986193e3ba662f7f7a77dc777b.jpg","text":"TemporaryFile(/tmp/multipartBody6293338237846312675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290804351,"filename":"image_04112025_18_45_15_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c43f5e54c56f6e8f2560ab7068b6d513.jpg","text":"TemporaryFile(/tmp/multipartBody7540161613181570225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290804351,"filename":"image_04112025_18_45_22_3285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d221c24b7decc2021504ea1bfe74df0.jpg","text":"TemporaryFile(/tmp/multipartBody1137426602871075653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290804351,"filename":"image_04112025_18_45_10_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037927","file1":"1402037926","file0":"1402037923","file4":"1402037929","file5":"1402037930","file3":"1402037928"},"map_files_photo_id_array":[{"photo_id":"1402037930","filename":"file5"},{"photo_id":"1402037927","filename":"file2"},{"photo_id":"1402037929","filename":"file4"},{"photo_id":"1402037926","filename":"file1"},{"photo_id":"1402037923","filename":"file0"},{"photo_id":"1402037928","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402037926":["hashtag1","hashtag2"]},{"1402037928":["hashtag1","hashtag2"]},{"1402037930":["hashtag1","hashtag2"]},{"1402037927":["hashtag1","hashtag2"]},{"1402037929":["hashtag1","hashtag2"]},{"1402037923":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402037926, 1402037928, 1402037930, 1402037927, 1402037929, 1402037923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.460108280181885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:06:22.604015
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/42/image_01012026_18_42_45_9719.jpg', '/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_01_16190.jpg', '/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_05_3630.jpg', '/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_15_10644.jpg', '/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_25_9610.jpg', '/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_35_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/42/image_01012026_18_42_45_9719.jpg
/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_01_16190.jpg
/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_05_3630.jpg
/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_15_10644.jpg
/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_25_9610.jpg
/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_35_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":["1402037934","1402037942","1402037936","1402037939","1402037932","1402037938"],"photo_ids_order":["1402037932","1402037934","1402037936","1402037938","1402037939","1402037942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7949e8b313a9acb746865f859229d78b.jpg","text":"TemporaryFile(/tmp/multipartBody4007444399233933654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290843250,"filename":"image_01012026_18_43_01_16190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6af276a4ac6a854aff3387ef091677e.jpg","text":"TemporaryFile(/tmp/multipartBody604773712699484725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290843250,"filename":"image_01012026_18_43_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdb746a7b2837bbe9ca621110a0c5772.jpg","text":"TemporaryFile(/tmp/multipartBody1721876291839397098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290843250,"filename":"image_01012026_18_43_05_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf4c2da9c81ea38dc387c6f8617f46e8.jpg","text":"TemporaryFile(/tmp/multipartBody3072424714237916287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290843250,"filename":"image_01012026_18_43_25_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f07019242b566fc6f376112cdec15e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5968620574358814061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290843250,"filename":"image_01012026_18_42_45_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1f46d103f875cb0927929d867615eb9.jpg","text":"TemporaryFile(/tmp/multipartBody6922489554553680698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290843250,"filename":"image_01012026_18_43_15_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037936","file1":"1402037934","file0":"1402037932","file4":"1402037939","file5":"1402037942","file3":"1402037938"},"map_files_photo_id_array":[{"photo_id":"1402037942","filename":"file5"},{"photo_id":"1402037936","filename":"file2"},{"photo_id":"1402037939","filename":"file4"},{"photo_id":"1402037934","filename":"file1"},{"photo_id":"1402037932","filename":"file0"},{"photo_id":"1402037938","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402037934":["hashtag1","hashtag2"]},{"1402037942":["hashtag1","hashtag2"]},{"1402037936":["hashtag1","hashtag2"]},{"1402037939":["hashtag1","hashtag2"]},{"1402037932":["hashtag1","hashtag2"]},{"1402037938":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402037934, 1402037942, 1402037936, 1402037939, 1402037932, 1402037938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48097372055054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:07:03.492944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_45_10661.jpg', '/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_55_9620.jpg', '/home/pi/Desktop/images/01012026/18/43/image_01012026_18_44_05_9750.jpg', '/home/pi/Desktop/images/01012026/18/44/image_01012026_18_44_15_10586.jpg', '/home/pi/Desktop/images/01012026/18/44/image_01012026_18_44_35_9729.jpg', '/home/pi/Desktop/images/01012026/18/44/image_01012026_18_44_45_10564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_45_10661.jpg
/home/pi/Desktop/images/01012026/18/43/image_01012026_18_43_55_9620.jpg
/home/pi/Desktop/images/01012026/18/43/image_01012026_18_44_05_9750.jpg
/home/pi/Desktop/images/01012026/18/44/image_01012026_18_44_15_10586.jpg
/home/pi/Desktop/images/01012026/18/44/image_01012026_18_44_35_9729.jpg
/home/pi/Desktop/images/01012026/18/44/image_01012026_18_44_45_10564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037946","1402037949","1402037948","1402037951","1402037945","1402037944"],"photo_ids_order":["1402037944","1402037945","1402037946","1402037948","1402037949","1402037951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8768acddc1da6ca570612871889f3b19.jpg","text":"TemporaryFile(/tmp/multipartBody8910457512354961144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290884139,"filename":"image_01012026_18_44_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6732c015a29f587bc84ea1eb0d846a74.jpg","text":"TemporaryFile(/tmp/multipartBody2756800828608508498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290884139,"filename":"image_01012026_18_44_35_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e85611f828b61458ba627a172a26038.jpg","text":"TemporaryFile(/tmp/multipartBody1267097396612261769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290884139,"filename":"image_01012026_18_44_15_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f74443c221800526824677a33f42af80.jpg","text":"TemporaryFile(/tmp/multipartBody8145071325933668027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290884139,"filename":"image_01012026_18_44_45_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41ae048c19c6797ddbde490534dfac15.jpg","text":"TemporaryFile(/tmp/multipartBody3639831376546683533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290884139,"filename":"image_01012026_18_43_55_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2d999c4c97cea51b62e47fca9968038.jpg","text":"TemporaryFile(/tmp/multipartBody903376414697096772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290884139,"filename":"image_01012026_18_43_45_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037946","file1":"1402037945","file0":"1402037944","file4":"1402037949","file5":"1402037951","file3":"1402037948"},"map_files_photo_id_array":[{"photo_id":"1402037951","filename":"file5"},{"photo_id":"1402037946","filename":"file2"},{"photo_id":"1402037949","filename":"file4"},{"photo_id":"1402037945","filename":"file1"},{"photo_id":"1402037944","filename":"file0"},{"photo_id":"1402037948","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402037946":["hashtag1","hashtag2"]},{"1402037949":["hashtag1","hashtag2"]},{"1402037948":["hashtag1","hashtag2"]},{"1402037951":["hashtag1","hashtag2"]},{"1402037945":["hashtag1","hashtag2"]},{"1402037944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402037946, 1402037949, 1402037948, 1402037951, 1402037945, 1402037944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73796892166138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:07:42.819996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_30_2750.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_33_3361.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_36_2562.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_40_3664.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_42_2680.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_45_2804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_30_2750.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_33_3361.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_36_2562.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_40_3664.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_42_2680.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_45_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":["1402037961","1402037960","1402037963","1402037957","1402037965","1402037962"],"photo_ids_order":["1402037957","1402037960","1402037961","1402037962","1402037963","1402037965"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b4a2b846e3d302c428eb6aeecbf19e7.jpg","text":"TemporaryFile(/tmp/multipartBody9048449118949907323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290924711,"filename":"image_04112025_18_45_36_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9b415e88584e43493a0e05c4d6d3f71.jpg","text":"TemporaryFile(/tmp/multipartBody7041772185698431764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290924711,"filename":"image_04112025_18_45_33_3361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/121e66f22b31056eb98c8f20b31961c3.jpg","text":"TemporaryFile(/tmp/multipartBody3364079472229057781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290924711,"filename":"image_04112025_18_45_42_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/980b5d5950059e2e9bb2cc3aa5989577.jpg","text":"TemporaryFile(/tmp/multipartBody4218769903752590316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290924711,"filename":"image_04112025_18_45_30_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f450b87faff2b3adcd994de520c95f5.jpg","text":"TemporaryFile(/tmp/multipartBody7058279182988745258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290924711,"filename":"image_04112025_18_45_45_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a9a942ebe00b2bcd01e78aa01ddb73a.jpg","text":"TemporaryFile(/tmp/multipartBody6838749572047732150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290924711,"filename":"image_04112025_18_45_40_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037961","file1":"1402037960","file0":"1402037957","file4":"1402037963","file5":"1402037965","file3":"1402037962"},"map_files_photo_id_array":[{"photo_id":"1402037965","filename":"file5"},{"photo_id":"1402037961","filename":"file2"},{"photo_id":"1402037963","filename":"file4"},{"photo_id":"1402037960","filename":"file1"},{"photo_id":"1402037957","filename":"file0"},{"photo_id":"1402037962","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402037961":["hashtag1","hashtag2"]},{"1402037960":["hashtag1","hashtag2"]},{"1402037963":["hashtag1","hashtag2"]},{"1402037957":["hashtag1","hashtag2"]},{"1402037965":["hashtag1","hashtag2"]},{"1402037962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402037961, 1402037960, 1402037963, 1402037957, 1402037965, 1402037962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81835675239563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:08:21.956073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/44/image_01012026_18_44_55_9664.jpg', '/home/pi/Desktop/images/01012026/18/44/image_01012026_18_45_04_9691.jpg', '/home/pi/Desktop/images/01012026/18/45/image_01012026_18_45_55_9842.jpg', '/home/pi/Desktop/images/01012026/18/45/image_01012026_18_46_05_9673.jpg', '/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_15_10694.jpg', '/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_25_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/44/image_01012026_18_44_55_9664.jpg
/home/pi/Desktop/images/01012026/18/44/image_01012026_18_45_04_9691.jpg
/home/pi/Desktop/images/01012026/18/45/image_01012026_18_45_55_9842.jpg
/home/pi/Desktop/images/01012026/18/45/image_01012026_18_46_05_9673.jpg
/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_15_10694.jpg
/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_25_9716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037970","1402037972","1402037966","1402037977","1402037974","1402037968"],"photo_ids_order":["1402037966","1402037968","1402037970","1402037972","1402037974","1402037977"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b88916b317d01713c6e622cd7c73a948.jpg","text":"TemporaryFile(/tmp/multipartBody6166940180533680477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290962549,"filename":"image_01012026_18_45_55_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5bddf192413eb01e92b6050783a939c.jpg","text":"TemporaryFile(/tmp/multipartBody1378856646136662797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290962549,"filename":"image_01012026_18_46_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27751fd7e5513275e6483c973a714333.jpg","text":"TemporaryFile(/tmp/multipartBody3523296025540572886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290962549,"filename":"image_01012026_18_44_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/301b181a42daf2beaaaea9fc698a336d.jpg","text":"TemporaryFile(/tmp/multipartBody6392783569961006120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290962549,"filename":"image_01012026_18_46_25_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bbfc321e8ecbf38cb168163bf6073a5.jpg","text":"TemporaryFile(/tmp/multipartBody7116025453669939192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290962549,"filename":"image_01012026_18_46_15_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d792093c15fe7b5b82cc2e417a9aaf75.jpg","text":"TemporaryFile(/tmp/multipartBody8899182204960708411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767290962549,"filename":"image_01012026_18_45_04_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037970","file1":"1402037968","file0":"1402037966","file4":"1402037974","file5":"1402037977","file3":"1402037972"},"map_files_photo_id_array":[{"photo_id":"1402037977","filename":"file5"},{"photo_id":"1402037970","filename":"file2"},{"photo_id":"1402037974","filename":"file4"},{"photo_id":"1402037968","filename":"file1"},{"photo_id":"1402037966","filename":"file0"},{"photo_id":"1402037972","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402037970":["hashtag1","hashtag2"]},{"1402037972":["hashtag1","hashtag2"]},{"1402037966":["hashtag1","hashtag2"]},{"1402037977":["hashtag1","hashtag2"]},{"1402037974":["hashtag1","hashtag2"]},{"1402037968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402037970, 1402037972, 1402037966, 1402037977, 1402037974, 1402037968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17077994346619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:09:03.091603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_35_9636.jpg', '/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_44_9710.jpg', '/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_55_10700.jpg', '/home/pi/Desktop/images/01012026/18/46/image_01012026_18_47_05_9763.jpg', '/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_25_10657.jpg', '/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_35_10192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_35_9636.jpg
/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_44_9710.jpg
/home/pi/Desktop/images/01012026/18/46/image_01012026_18_46_55_10700.jpg
/home/pi/Desktop/images/01012026/18/46/image_01012026_18_47_05_9763.jpg
/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_25_10657.jpg
/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_35_10192.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037982","1402037979","1402037984","1402037981","1402037978","1402037980"],"photo_ids_order":["1402037978","1402037979","1402037980","1402037981","1402037982","1402037984"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a20532c5774a1e15e8673af2fe288910.jpg","text":"TemporaryFile(/tmp/multipartBody979610060732414595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291003764,"filename":"image_01012026_18_47_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18d6499b105d68593948a49b9d564eb9.jpg","text":"TemporaryFile(/tmp/multipartBody1032447890502577480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291003764,"filename":"image_01012026_18_46_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1b633ad2ca5a9d31ca1042c9f538798.jpg","text":"TemporaryFile(/tmp/multipartBody8936971691554213414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291003764,"filename":"image_01012026_18_47_35_10192.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df5a4b7c7d7883c110d36945eda5e329.jpg","text":"TemporaryFile(/tmp/multipartBody5636338085974542689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291003764,"filename":"image_01012026_18_47_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6eb55852a14a0a069fa025880effebcb.jpg","text":"TemporaryFile(/tmp/multipartBody2687146451041784145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291003764,"filename":"image_01012026_18_46_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6adcb926966c5db1c66481fdbe409515.jpg","text":"TemporaryFile(/tmp/multipartBody980068298735663804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291003764,"filename":"image_01012026_18_46_55_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037980","file1":"1402037979","file0":"1402037978","file4":"1402037982","file5":"1402037984","file3":"1402037981"},"map_files_photo_id_array":[{"photo_id":"1402037984","filename":"file5"},{"photo_id":"1402037980","filename":"file2"},{"photo_id":"1402037982","filename":"file4"},{"photo_id":"1402037979","filename":"file1"},{"photo_id":"1402037978","filename":"file0"},{"photo_id":"1402037981","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402037982":["hashtag1","hashtag2"]},{"1402037979":["hashtag1","hashtag2"]},{"1402037984":["hashtag1","hashtag2"]},{"1402037981":["hashtag1","hashtag2"]},{"1402037978":["hashtag1","hashtag2"]},{"1402037980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402037982, 1402037979, 1402037984, 1402037981, 1402037978, 1402037980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.626136779785156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:09:42.134697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_49_3537.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_51_2817.jpg', '/home/pi/Desktop/images/04112025/18/45/image_04112025_18_46_00_2702.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_03_2762.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_06_2712.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_10_3738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_49_3537.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_45_51_2817.jpg
/home/pi/Desktop/images/04112025/18/45/image_04112025_18_46_00_2702.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_03_2762.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_06_2712.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_10_3738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402037994","1402037997","1402037990","1402037993","1402037995","1402037992"],"photo_ids_order":["1402037990","1402037992","1402037993","1402037994","1402037995","1402037997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/331bf8cfaaddc2eb11ab1bf07f222536.jpg","text":"TemporaryFile(/tmp/multipartBody6985187552836413328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291044074,"filename":"image_04112025_18_46_03_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b676aefa23cfea955871fd84e7bcf2f.jpg","text":"TemporaryFile(/tmp/multipartBody3632539646111870522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291044074,"filename":"image_04112025_18_46_10_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bff3c6e8ab2f95248dd78c797f7892b.jpg","text":"TemporaryFile(/tmp/multipartBody6979277980531350601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291044074,"filename":"image_04112025_18_45_49_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/378ce333f8eb23bce83b51cbf52d650b.jpg","text":"TemporaryFile(/tmp/multipartBody7972575894479202139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291044074,"filename":"image_04112025_18_46_00_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/535fe10d6e8e935a528d462e760b7234.jpg","text":"TemporaryFile(/tmp/multipartBody2869556231307428489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291044074,"filename":"image_04112025_18_46_06_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0305858f57cefc619fb8391149d7ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1065577024460515117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291044074,"filename":"image_04112025_18_45_51_2817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402037993","file1":"1402037992","file0":"1402037990","file4":"1402037995","file5":"1402037997","file3":"1402037994"},"map_files_photo_id_array":[{"photo_id":"1402037997","filename":"file5"},{"photo_id":"1402037993","filename":"file2"},{"photo_id":"1402037995","filename":"file4"},{"photo_id":"1402037992","filename":"file1"},{"photo_id":"1402037990","filename":"file0"},{"photo_id":"1402037994","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402037994":["hashtag1","hashtag2"]},{"1402037997":["hashtag1","hashtag2"]},{"1402037990":["hashtag1","hashtag2"]},{"1402037993":["hashtag1","hashtag2"]},{"1402037995":["hashtag1","hashtag2"]},{"1402037992":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402037994, 1402037997, 1402037990, 1402037993, 1402037995, 1402037992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72661519050598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:10:22.333339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_45_9665.jpg', '/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_55_9557.jpg', '/home/pi/Desktop/images/01012026/18/47/image_01012026_18_48_04_9905.jpg', '/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_25_9760.jpg', '/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_45_10440.jpg', '/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_55_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_45_9665.jpg
/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_55_9557.jpg
/home/pi/Desktop/images/01012026/18/47/image_01012026_18_48_04_9905.jpg
/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_25_9760.jpg
/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_45_10440.jpg
/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_55_9809.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.4832117557525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:10:32.351953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_12_2675.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_16_4158.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_18_1789.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_21_2646.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_25_3804.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_43_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_12_2675.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_16_4158.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_18_1789.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_21_2646.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_25_3804.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_43_3697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402038012","1402038015","1402038005","1402038014","1402038008","1402038013"],"photo_ids_order":["1402038005","1402038008","1402038012","1402038013","1402038014","1402038015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36063488d47cf03aaf4bb100dc686265.jpg","text":"TemporaryFile(/tmp/multipartBody1629014464397466932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291094225,"filename":"image_04112025_18_46_18_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/474875d35268ed353bd812ae3b3d8bca.jpg","text":"TemporaryFile(/tmp/multipartBody7534438411712440632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291094225,"filename":"image_04112025_18_46_43_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d0aae368c4d35aad7987d14254c098b.jpg","text":"TemporaryFile(/tmp/multipartBody3551268339056057061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291094225,"filename":"image_04112025_18_46_12_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88d4595074194f05e4dc8aec131f5d43.jpg","text":"TemporaryFile(/tmp/multipartBody5249492311632851960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291094225,"filename":"image_04112025_18_46_25_3804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/030b3e2b9bb86cbcd83338323bf40ee4.jpg","text":"TemporaryFile(/tmp/multipartBody1354546333974023138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291094225,"filename":"image_04112025_18_46_16_4158.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e1b03b43132d848717d449b03a99875.jpg","text":"TemporaryFile(/tmp/multipartBody568210362984431438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291094225,"filename":"image_04112025_18_46_21_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038012","file1":"1402038008","file0":"1402038005","file4":"1402038014","file5":"1402038015","file3":"1402038013"},"map_files_photo_id_array":[{"photo_id":"1402038015","filename":"file5"},{"photo_id":"1402038012","filename":"file2"},{"photo_id":"1402038014","filename":"file4"},{"photo_id":"1402038008","filename":"file1"},{"photo_id":"1402038005","filename":"file0"},{"photo_id":"1402038013","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402038012":["hashtag1","hashtag2"]},{"1402038015":["hashtag1","hashtag2"]},{"1402038005":["hashtag1","hashtag2"]},{"1402038014":["hashtag1","hashtag2"]},{"1402038008":["hashtag1","hashtag2"]},{"1402038013":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402038012, 1402038015, 1402038005, 1402038014, 1402038008, 1402038013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94857478141785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:11:12.559974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_45_2680.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_48_2552.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_52_3799.jpg', '/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_55_2889.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_01_3520.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_24_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_45_2680.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_48_2552.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_52_3799.jpg
/home/pi/Desktop/images/04112025/18/46/image_04112025_18_46_55_2889.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_01_3520.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_24_1663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402038021","1402038023","1402038017","1402038016","1402038025","1402038019"],"photo_ids_order":["1402038016","1402038017","1402038019","1402038021","1402038023","1402038025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4621e3fdfad5f779f32c34c1878d73a0.jpg","text":"TemporaryFile(/tmp/multipartBody3343222861957675152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291134316,"filename":"image_04112025_18_46_55_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02b26f2f66b3788f085e13df9e025a8d.jpg","text":"TemporaryFile(/tmp/multipartBody6350040786878942579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291134316,"filename":"image_04112025_18_47_01_3520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ae74c2e072732ad698bb95774b00b7d.jpg","text":"TemporaryFile(/tmp/multipartBody5607316528119662604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291134316,"filename":"image_04112025_18_46_48_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4643b3e0338f1398fc607c3be11748a2.jpg","text":"TemporaryFile(/tmp/multipartBody328788821284172039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291134316,"filename":"image_04112025_18_46_45_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46e5617bdaa66fafa7a97c629117496f.jpg","text":"TemporaryFile(/tmp/multipartBody1981428227750377476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291134316,"filename":"image_04112025_18_47_24_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51332485a3609a577584d895ec56e330.jpg","text":"TemporaryFile(/tmp/multipartBody6544332498638604286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291134316,"filename":"image_04112025_18_46_52_3799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038019","file1":"1402038017","file0":"1402038016","file4":"1402038023","file5":"1402038025","file3":"1402038021"},"map_files_photo_id_array":[{"photo_id":"1402038025","filename":"file5"},{"photo_id":"1402038019","filename":"file2"},{"photo_id":"1402038023","filename":"file4"},{"photo_id":"1402038017","filename":"file1"},{"photo_id":"1402038016","filename":"file0"},{"photo_id":"1402038021","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402038021":["hashtag1","hashtag2"]},{"1402038023":["hashtag1","hashtag2"]},{"1402038017":["hashtag1","hashtag2"]},{"1402038016":["hashtag1","hashtag2"]},{"1402038025":["hashtag1","hashtag2"]},{"1402038019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402038021, 1402038023, 1402038017, 1402038016, 1402038025, 1402038019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21357345581055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:12:03.364734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_45_9665.jpg', '/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_55_9557.jpg', '/home/pi/Desktop/images/01012026/18/47/image_01012026_18_48_04_9905.jpg', '/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_25_9760.jpg', '/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_45_10440.jpg', '/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_55_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_45_9665.jpg
/home/pi/Desktop/images/01012026/18/47/image_01012026_18_47_55_9557.jpg
/home/pi/Desktop/images/01012026/18/47/image_01012026_18_48_04_9905.jpg
/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_25_9760.jpg
/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_45_10440.jpg
/home/pi/Desktop/images/01012026/18/48/image_01012026_18_48_55_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":["1402038030","1402038033","1402038036","1402038032","1402038031","1402038034"],"photo_ids_order":["1402038030","1402038031","1402038032","1402038033","1402038034","1402038036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/276e1809ee4170ca7d6e1da07d70881c.jpg","text":"TemporaryFile(/tmp/multipartBody5411657724326960237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291183963,"filename":"image_01012026_18_47_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1be76d1491d8de33162cc7da5387d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8911369056427839689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291183963,"filename":"image_01012026_18_48_25_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c448928c985b4f83426fcbd3976e92f.jpg","text":"TemporaryFile(/tmp/multipartBody130215351324530639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291183963,"filename":"image_01012026_18_48_55_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0dbb6747b0d913547a0bd30e491f25f.jpg","text":"TemporaryFile(/tmp/multipartBody2986049257156168361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291183963,"filename":"image_01012026_18_48_04_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64bc12268064e21f37af5bbc121ffe03.jpg","text":"TemporaryFile(/tmp/multipartBody2810851392603145509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291183963,"filename":"image_01012026_18_47_55_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/528f394a5faade24cb9891f10b3b7ae0.jpg","text":"TemporaryFile(/tmp/multipartBody4384026933648086218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291183963,"filename":"image_01012026_18_48_45_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038032","file1":"1402038031","file0":"1402038030","file4":"1402038034","file5":"1402038036","file3":"1402038033"},"map_files_photo_id_array":[{"photo_id":"1402038036","filename":"file5"},{"photo_id":"1402038032","filename":"file2"},{"photo_id":"1402038034","filename":"file4"},{"photo_id":"1402038031","filename":"file1"},{"photo_id":"1402038030","filename":"file0"},{"photo_id":"1402038033","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402038030":["hashtag1","hashtag2"]},{"1402038033":["hashtag1","hashtag2"]},{"1402038036":["hashtag1","hashtag2"]},{"1402038032":["hashtag1","hashtag2"]},{"1402038031":["hashtag1","hashtag2"]},{"1402038034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402038030, 1402038033, 1402038036, 1402038032, 1402038031, 1402038034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43749523162842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:12:42.814401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_28_1539.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_29_1634.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_34_2363.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_35_1648.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_42_1596.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_44_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_28_1539.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_29_1634.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_34_2363.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_35_1648.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_42_1596.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_44_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":["1402038042","1402038045","1402038047","1402038044","1402038046","1402038049"],"photo_ids_order":["1402038042","1402038044","1402038045","1402038046","1402038047","1402038049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67a54259379a237d6962f9d15541fa7c.jpg","text":"TemporaryFile(/tmp/multipartBody8004866854190246360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291224662,"filename":"image_04112025_18_47_28_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80889d39e6b75f3cb0e997dcb83e493f.jpg","text":"TemporaryFile(/tmp/multipartBody7985623109931289033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291224662,"filename":"image_04112025_18_47_34_2363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/437832ae012fc38cd9041f3e8f2e65d8.jpg","text":"TemporaryFile(/tmp/multipartBody674275024648364908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291224662,"filename":"image_04112025_18_47_42_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc397b37993b34feefc412a8d19c4a74.jpg","text":"TemporaryFile(/tmp/multipartBody4243266843767842767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291224662,"filename":"image_04112025_18_47_29_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2368a1d1ef5a6abf4bfd017a96ca136.jpg","text":"TemporaryFile(/tmp/multipartBody2164559734529891101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291224662,"filename":"image_04112025_18_47_35_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca3051a7b0f141abc1cb0374b98b69e6.jpg","text":"TemporaryFile(/tmp/multipartBody1798118993215292350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291224662,"filename":"image_04112025_18_47_44_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038045","file1":"1402038044","file0":"1402038042","file4":"1402038047","file5":"1402038049","file3":"1402038046"},"map_files_photo_id_array":[{"photo_id":"1402038049","filename":"file5"},{"photo_id":"1402038045","filename":"file2"},{"photo_id":"1402038047","filename":"file4"},{"photo_id":"1402038044","filename":"file1"},{"photo_id":"1402038042","filename":"file0"},{"photo_id":"1402038046","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402038042":["hashtag1","hashtag2"]},{"1402038045":["hashtag1","hashtag2"]},{"1402038047":["hashtag1","hashtag2"]},{"1402038044":["hashtag1","hashtag2"]},{"1402038046":["hashtag1","hashtag2"]},{"1402038049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402038042, 1402038045, 1402038047, 1402038044, 1402038046, 1402038049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7654824256897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:13:21.948130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/49/image_01012026_18_49_25_10806.jpg', '/home/pi/Desktop/images/01012026/18/49/image_01012026_18_49_35_9825.jpg', '/home/pi/Desktop/images/01012026/18/49/image_01012026_18_49_45_9735.jpg', '/home/pi/Desktop/images/01012026/18/49/image_01012026_18_49_54_9582.jpg', '/home/pi/Desktop/images/01012026/18/49/image_01012026_18_50_05_10660.jpg', '/home/pi/Desktop/images/01012026/18/50/image_01012026_18_50_15_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/49/image_01012026_18_49_25_10806.jpg
/home/pi/Desktop/images/01012026/18/49/image_01012026_18_49_35_9825.jpg
/home/pi/Desktop/images/01012026/18/49/image_01012026_18_49_45_9735.jpg
/home/pi/Desktop/images/01012026/18/49/image_01012026_18_49_54_9582.jpg
/home/pi/Desktop/images/01012026/18/49/image_01012026_18_50_05_10660.jpg
/home/pi/Desktop/images/01012026/18/50/image_01012026_18_50_15_9820.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402038054","1402038056","1402038050","1402038058","1402038052","1402038061"],"photo_ids_order":["1402038050","1402038052","1402038054","1402038056","1402038058","1402038061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9876e0c9cc3ff8807e668052ffcd98cb.jpg","text":"TemporaryFile(/tmp/multipartBody8835202720595019447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291262540,"filename":"image_01012026_18_49_45_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b86e8ed32806840c9818a245342bfa6f.jpg","text":"TemporaryFile(/tmp/multipartBody6045209865812231785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291262540,"filename":"image_01012026_18_49_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ea7bec5e9ab44eb80c743fac0fad125.jpg","text":"TemporaryFile(/tmp/multipartBody5993235571293779688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291262540,"filename":"image_01012026_18_49_25_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65e28fce4a0e6ec5ee91198aeae1781e.jpg","text":"TemporaryFile(/tmp/multipartBody6549108607742530204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291262540,"filename":"image_01012026_18_50_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf34fa60ca925adbcb7f565cf9ef7cf5.jpg","text":"TemporaryFile(/tmp/multipartBody6622244246428147953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291262540,"filename":"image_01012026_18_49_35_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f7bc5e0512a92e39e020ac2f5763f3f.jpg","text":"TemporaryFile(/tmp/multipartBody3697652716529187016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291262540,"filename":"image_01012026_18_50_15_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038054","file1":"1402038052","file0":"1402038050","file4":"1402038058","file5":"1402038061","file3":"1402038056"},"map_files_photo_id_array":[{"photo_id":"1402038061","filename":"file5"},{"photo_id":"1402038054","filename":"file2"},{"photo_id":"1402038058","filename":"file4"},{"photo_id":"1402038052","filename":"file1"},{"photo_id":"1402038050","filename":"file0"},{"photo_id":"1402038056","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402038054":["hashtag1","hashtag2"]},{"1402038056":["hashtag1","hashtag2"]},{"1402038050":["hashtag1","hashtag2"]},{"1402038058":["hashtag1","hashtag2"]},{"1402038052":["hashtag1","hashtag2"]},{"1402038061":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402038054, 1402038056, 1402038050, 1402038058, 1402038052, 1402038061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66235375404358 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:14:02.729970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/50/image_01012026_18_50_25_9645.jpg', '/home/pi/Desktop/images/01012026/18/50/image_01012026_18_50_45_9593.jpg', '/home/pi/Desktop/images/01012026/18/50/image_01012026_18_50_55_10684.jpg', '/home/pi/Desktop/images/01012026/18/50/image_01012026_18_51_05_9657.jpg', '/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_15_9839.jpg', '/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_25_9781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/50/image_01012026_18_50_25_9645.jpg
/home/pi/Desktop/images/01012026/18/50/image_01012026_18_50_45_9593.jpg
/home/pi/Desktop/images/01012026/18/50/image_01012026_18_50_55_10684.jpg
/home/pi/Desktop/images/01012026/18/50/image_01012026_18_51_05_9657.jpg
/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_15_9839.jpg
/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_25_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":["1402038063","1402038065","1402038068","1402038070","1402038064","1402038067"],"photo_ids_order":["1402038063","1402038064","1402038065","1402038067","1402038068","1402038070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d02be0a4ff8fb3d465fa92a87f057f24.jpg","text":"TemporaryFile(/tmp/multipartBody2771618923327193105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291303366,"filename":"image_01012026_18_50_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a61ec21dd32f7be52d1e4eae87fc0124.jpg","text":"TemporaryFile(/tmp/multipartBody8524885934524238851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291303366,"filename":"image_01012026_18_50_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e84e29b280b1205269da350547f9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody3289322459264540071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291303366,"filename":"image_01012026_18_51_15_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/793c03c631360f90cf6ca1d830b2c7d8.jpg","text":"TemporaryFile(/tmp/multipartBody7325757093659852133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291303366,"filename":"image_01012026_18_51_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c00ad3b4eeb90dedca82309a4980ef6.jpg","text":"TemporaryFile(/tmp/multipartBody681040794772660712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291303366,"filename":"image_01012026_18_50_45_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4dea6dbe6855695b7fe5ca7999e3f91.jpg","text":"TemporaryFile(/tmp/multipartBody7896734135965412150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291303366,"filename":"image_01012026_18_51_05_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038065","file1":"1402038064","file0":"1402038063","file4":"1402038068","file5":"1402038070","file3":"1402038067"},"map_files_photo_id_array":[{"photo_id":"1402038070","filename":"file5"},{"photo_id":"1402038065","filename":"file2"},{"photo_id":"1402038068","filename":"file4"},{"photo_id":"1402038064","filename":"file1"},{"photo_id":"1402038063","filename":"file0"},{"photo_id":"1402038067","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402038063":["hashtag1","hashtag2"]},{"1402038065":["hashtag1","hashtag2"]},{"1402038068":["hashtag1","hashtag2"]},{"1402038070":["hashtag1","hashtag2"]},{"1402038064":["hashtag1","hashtag2"]},{"1402038067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402038063, 1402038065, 1402038068, 1402038070, 1402038064, 1402038067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7828266620636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:14:42.146406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_45_1640.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_47_1558.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_51_2828.jpg', '/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_58_3852.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_13_13107.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_19_6154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_45_1640.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_47_1558.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_51_2828.jpg
/home/pi/Desktop/images/04112025/18/47/image_04112025_18_47_58_3852.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_13_13107.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_19_6154.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402038083","1402038080","1402038077","1402038082","1402038079","1402038081"],"photo_ids_order":["1402038077","1402038079","1402038080","1402038081","1402038082","1402038083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e0676b8615452098d1ced25d4928be6.jpg","text":"TemporaryFile(/tmp/multipartBody2334139817942819766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291344034,"filename":"image_04112025_18_48_19_6154.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa44c585c0b34d77e1494bb97ba88483.jpg","text":"TemporaryFile(/tmp/multipartBody3888262598908779964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291344034,"filename":"image_04112025_18_47_51_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4c9889d6f6d39625fa324a0bbdeace7.jpg","text":"TemporaryFile(/tmp/multipartBody5400842952812462734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291344034,"filename":"image_04112025_18_47_45_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c47d46b515104ab92d0d5594044b8a7e.jpg","text":"TemporaryFile(/tmp/multipartBody2010018908686192610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291344034,"filename":"image_04112025_18_48_13_13107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5f9c4f3959a48a67ff54576f552db4b.jpg","text":"TemporaryFile(/tmp/multipartBody8039811379173375245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291344034,"filename":"image_04112025_18_47_47_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edc05577f81a39f5774eabc5c8b964f3.jpg","text":"TemporaryFile(/tmp/multipartBody3434979278009238442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291344034,"filename":"image_04112025_18_47_58_3852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038080","file1":"1402038079","file0":"1402038077","file4":"1402038082","file5":"1402038083","file3":"1402038081"},"map_files_photo_id_array":[{"photo_id":"1402038083","filename":"file5"},{"photo_id":"1402038080","filename":"file2"},{"photo_id":"1402038082","filename":"file4"},{"photo_id":"1402038079","filename":"file1"},{"photo_id":"1402038077","filename":"file0"},{"photo_id":"1402038081","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402038083":["hashtag1","hashtag2"]},{"1402038080":["hashtag1","hashtag2"]},{"1402038077":["hashtag1","hashtag2"]},{"1402038082":["hashtag1","hashtag2"]},{"1402038079":["hashtag1","hashtag2"]},{"1402038081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402038083, 1402038080, 1402038077, 1402038082, 1402038079, 1402038081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32749390602112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:15:22.361394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_35_10624.jpg', '/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_45_9538.jpg', '/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_54_9723.jpg', '/home/pi/Desktop/images/01012026/18/51/image_01012026_18_52_05_10669.jpg', '/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_14_9352.jpg', '/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_25_10797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_35_10624.jpg
/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_45_9538.jpg
/home/pi/Desktop/images/01012026/18/51/image_01012026_18_51_54_9723.jpg
/home/pi/Desktop/images/01012026/18/51/image_01012026_18_52_05_10669.jpg
/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_14_9352.jpg
/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_25_10797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402038084","1402038086","1402038089","1402038097","1402038091","1402038093"],"photo_ids_order":["1402038084","1402038086","1402038089","1402038091","1402038093","1402038097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d49db0b40871c43534af8d002d579bc.jpg","text":"TemporaryFile(/tmp/multipartBody8599368767095491948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291382979,"filename":"image_01012026_18_51_35_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a8006484479d1d610f130194be66e39.jpg","text":"TemporaryFile(/tmp/multipartBody3764772395165352509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291382979,"filename":"image_01012026_18_51_45_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29a49a8fe90ede4e5f411a8fe2c247eb.jpg","text":"TemporaryFile(/tmp/multipartBody3024722204051946154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291382979,"filename":"image_01012026_18_51_54_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f69745cc649fd92b6e71573b6e15b13.jpg","text":"TemporaryFile(/tmp/multipartBody1477140958805877477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291382979,"filename":"image_01012026_18_52_25_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/089f612f638508257cf8d14b4f536845.jpg","text":"TemporaryFile(/tmp/multipartBody8250953324692534122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291382979,"filename":"image_01012026_18_52_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ed68a971003d3674866018a6c99931e.jpg","text":"TemporaryFile(/tmp/multipartBody8898938410829135585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291382979,"filename":"image_01012026_18_52_14_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038089","file1":"1402038086","file0":"1402038084","file4":"1402038093","file5":"1402038097","file3":"1402038091"},"map_files_photo_id_array":[{"photo_id":"1402038097","filename":"file5"},{"photo_id":"1402038089","filename":"file2"},{"photo_id":"1402038093","filename":"file4"},{"photo_id":"1402038086","filename":"file1"},{"photo_id":"1402038084","filename":"file0"},{"photo_id":"1402038091","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402038084":["hashtag1","hashtag2"]},{"1402038086":["hashtag1","hashtag2"]},{"1402038089":["hashtag1","hashtag2"]},{"1402038097":["hashtag1","hashtag2"]},{"1402038091":["hashtag1","hashtag2"]},{"1402038093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402038084, 1402038086, 1402038089, 1402038097, 1402038091, 1402038093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13614845275879 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:16:02.860564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_35_9942.jpg', '/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_45_9781.jpg', '/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_55_9638.jpg', '/home/pi/Desktop/images/01012026/18/52/image_01012026_18_53_05_10457.jpg', '/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_15_10145.jpg', '/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_25_10045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_35_9942.jpg
/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_45_9781.jpg
/home/pi/Desktop/images/01012026/18/52/image_01012026_18_52_55_9638.jpg
/home/pi/Desktop/images/01012026/18/52/image_01012026_18_53_05_10457.jpg
/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_15_10145.jpg
/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_25_10045.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":["1402038099","1402038105","1402038098","1402038102","1402038101","1402038100"],"photo_ids_order":["1402038098","1402038099","1402038100","1402038101","1402038102","1402038105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7254fbea436a177a988ef5a12ce1e417.jpg","text":"TemporaryFile(/tmp/multipartBody8150273447472015635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291423500,"filename":"image_01012026_18_52_45_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5788c440df3d9aac26e2302f48b39215.jpg","text":"TemporaryFile(/tmp/multipartBody3843650009716196410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291423500,"filename":"image_01012026_18_53_25_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13e17a5caf5d04f899c7d9b555c700a0.jpg","text":"TemporaryFile(/tmp/multipartBody2730936965264755629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291423500,"filename":"image_01012026_18_52_35_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf5c729755980804395b333acaa756ed.jpg","text":"TemporaryFile(/tmp/multipartBody7768167154943432981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291423500,"filename":"image_01012026_18_53_15_10145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d15906c838dd67fa02b242ecfefb49c3.jpg","text":"TemporaryFile(/tmp/multipartBody1380482443647802052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291423500,"filename":"image_01012026_18_53_05_10457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a973c9226b1ed7dcb21f7b852305d26.jpg","text":"TemporaryFile(/tmp/multipartBody840708174362953242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291423500,"filename":"image_01012026_18_52_55_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038100","file1":"1402038099","file0":"1402038098","file4":"1402038102","file5":"1402038105","file3":"1402038101"},"map_files_photo_id_array":[{"photo_id":"1402038105","filename":"file5"},{"photo_id":"1402038100","filename":"file2"},{"photo_id":"1402038102","filename":"file4"},{"photo_id":"1402038099","filename":"file1"},{"photo_id":"1402038098","filename":"file0"},{"photo_id":"1402038101","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402038099":["hashtag1","hashtag2"]},{"1402038105":["hashtag1","hashtag2"]},{"1402038098":["hashtag1","hashtag2"]},{"1402038102":["hashtag1","hashtag2"]},{"1402038101":["hashtag1","hashtag2"]},{"1402038100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402038099, 1402038105, 1402038098, 1402038102, 1402038101, 1402038100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55935859680176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:17:03.316920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_35_9691.jpg', '/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_45_9625.jpg', '/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_55_10657.jpg', '/home/pi/Desktop/images/01012026/18/53/image_01012026_18_54_05_9780.jpg', '/home/pi/Desktop/images/01012026/18/54/image_01012026_18_54_25_9706.jpg', '/home/pi/Desktop/images/01012026/18/54/image_01012026_18_54_35_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_35_9691.jpg
/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_45_9625.jpg
/home/pi/Desktop/images/01012026/18/53/image_01012026_18_53_55_10657.jpg
/home/pi/Desktop/images/01012026/18/53/image_01012026_18_54_05_9780.jpg
/home/pi/Desktop/images/01012026/18/54/image_01012026_18_54_25_9706.jpg
/home/pi/Desktop/images/01012026/18/54/image_01012026_18_54_35_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":["1402038111","1402038110","1402038113","1402038112","1402038115","1402038109"],"photo_ids_order":["1402038109","1402038110","1402038111","1402038112","1402038113","1402038115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c43178b55c22cc4fd7916cc18f6d25b.jpg","text":"TemporaryFile(/tmp/multipartBody4949925809999436415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291484265,"filename":"image_01012026_18_53_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a90a62211641e5e3c2cb7de41480e71e.jpg","text":"TemporaryFile(/tmp/multipartBody754266159576377212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291484265,"filename":"image_01012026_18_53_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f706b7e67c22d0611f310cd9c7bcd3fc.jpg","text":"TemporaryFile(/tmp/multipartBody4374907957111523284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291484265,"filename":"image_01012026_18_54_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecddf61750584631c986d37b1240a2bc.jpg","text":"TemporaryFile(/tmp/multipartBody3322885876748807769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291484265,"filename":"image_01012026_18_54_05_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5881ed6f02ac0b6e36b7885265091fcb.jpg","text":"TemporaryFile(/tmp/multipartBody6746925814738648403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291484265,"filename":"image_01012026_18_54_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb0b3c7b23b018a223888274a58e5afc.jpg","text":"TemporaryFile(/tmp/multipartBody938147908515844184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291484265,"filename":"image_01012026_18_53_35_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038111","file1":"1402038110","file0":"1402038109","file4":"1402038113","file5":"1402038115","file3":"1402038112"},"map_files_photo_id_array":[{"photo_id":"1402038115","filename":"file5"},{"photo_id":"1402038111","filename":"file2"},{"photo_id":"1402038113","filename":"file4"},{"photo_id":"1402038110","filename":"file1"},{"photo_id":"1402038109","filename":"file0"},{"photo_id":"1402038112","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402038111":["hashtag1","hashtag2"]},{"1402038110":["hashtag1","hashtag2"]},{"1402038113":["hashtag1","hashtag2"]},{"1402038112":["hashtag1","hashtag2"]},{"1402038115":["hashtag1","hashtag2"]},{"1402038109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402038111, 1402038110, 1402038113, 1402038112, 1402038115, 1402038109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24568843841553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:17:42.629519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_21_1770.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_43_21776.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_45_1729.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_50_1723.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_51_1701.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_53_1783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_21_1770.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_43_21776.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_45_1729.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_50_1723.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_51_1701.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_53_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":["1402038126","1402038129","1402038128","1402038122","1402038125","1402038127"],"photo_ids_order":["1402038122","1402038125","1402038126","1402038127","1402038128","1402038129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e695d34741b8023316f5af255d8adac.jpg","text":"TemporaryFile(/tmp/multipartBody3536302505874849331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291524529,"filename":"image_04112025_18_48_45_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97eafcec559a7b9fca8d6412405ef06d.jpg","text":"TemporaryFile(/tmp/multipartBody2506308764752710174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291524529,"filename":"image_04112025_18_48_53_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8343105fad9493f1ba9ec1f2a0ba0d6e.jpg","text":"TemporaryFile(/tmp/multipartBody5347802886533959163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291524529,"filename":"image_04112025_18_48_51_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/699a19f5e729c5cbe1256114bacee03b.jpg","text":"TemporaryFile(/tmp/multipartBody852606094202259994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291524529,"filename":"image_04112025_18_48_21_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a577799bfed4ad22e49e228db24073ed.jpg","text":"TemporaryFile(/tmp/multipartBody1547289982711031939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291524529,"filename":"image_04112025_18_48_43_21776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/128e56b8421f120827f4782a45342b12.jpg","text":"TemporaryFile(/tmp/multipartBody3264398782662590756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291524529,"filename":"image_04112025_18_48_50_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038126","file1":"1402038125","file0":"1402038122","file4":"1402038128","file5":"1402038129","file3":"1402038127"},"map_files_photo_id_array":[{"photo_id":"1402038129","filename":"file5"},{"photo_id":"1402038126","filename":"file2"},{"photo_id":"1402038128","filename":"file4"},{"photo_id":"1402038125","filename":"file1"},{"photo_id":"1402038122","filename":"file0"},{"photo_id":"1402038127","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402038126":["hashtag1","hashtag2"]},{"1402038129":["hashtag1","hashtag2"]},{"1402038128":["hashtag1","hashtag2"]},{"1402038122":["hashtag1","hashtag2"]},{"1402038125":["hashtag1","hashtag2"]},{"1402038127":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402038126, 1402038129, 1402038128, 1402038122, 1402038125, 1402038127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20929527282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:18:22.791096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/54/image_01012026_18_54_45_9614.jpg', '/home/pi/Desktop/images/01012026/18/54/image_01012026_18_54_55_9825.jpg', '/home/pi/Desktop/images/01012026/18/54/image_01012026_18_55_04_9764.jpg', '/home/pi/Desktop/images/01012026/18/55/image_01012026_18_55_25_9738.jpg', '/home/pi/Desktop/images/01012026/18/55/image_01012026_18_55_34_9596.jpg', '/home/pi/Desktop/images/01012026/18/55/image_01012026_18_55_45_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/54/image_01012026_18_54_45_9614.jpg
/home/pi/Desktop/images/01012026/18/54/image_01012026_18_54_55_9825.jpg
/home/pi/Desktop/images/01012026/18/54/image_01012026_18_55_04_9764.jpg
/home/pi/Desktop/images/01012026/18/55/image_01012026_18_55_25_9738.jpg
/home/pi/Desktop/images/01012026/18/55/image_01012026_18_55_34_9596.jpg
/home/pi/Desktop/images/01012026/18/55/image_01012026_18_55_45_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":["1402038138","1402038134","1402038131","1402038130","1402038142","1402038136"],"photo_ids_order":["1402038130","1402038131","1402038134","1402038136","1402038138","1402038142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4ca82a12b12de6869bcba018e7ae2ef.jpg","text":"TemporaryFile(/tmp/multipartBody3393630609705100658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291563384,"filename":"image_01012026_18_55_34_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4847568c8c83a4767dc121e03b51ac54.jpg","text":"TemporaryFile(/tmp/multipartBody1228984317421491882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291563384,"filename":"image_01012026_18_55_04_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9032df21419744b34da2cdf208f2c8ea.jpg","text":"TemporaryFile(/tmp/multipartBody4038440007974247276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291563384,"filename":"image_01012026_18_54_55_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d55e13c352b1988815de1c55f5ca295a.jpg","text":"TemporaryFile(/tmp/multipartBody6429857959590976401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291563384,"filename":"image_01012026_18_54_45_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00bf1e0168344f077191c3a23ca0d551.jpg","text":"TemporaryFile(/tmp/multipartBody4230294227962605243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291563384,"filename":"image_01012026_18_55_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ead722c6d5b764c5539db6672d0e856.jpg","text":"TemporaryFile(/tmp/multipartBody8635418761778012103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291563384,"filename":"image_01012026_18_55_25_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038134","file1":"1402038131","file0":"1402038130","file4":"1402038138","file5":"1402038142","file3":"1402038136"},"map_files_photo_id_array":[{"photo_id":"1402038142","filename":"file5"},{"photo_id":"1402038134","filename":"file2"},{"photo_id":"1402038138","filename":"file4"},{"photo_id":"1402038131","filename":"file1"},{"photo_id":"1402038130","filename":"file0"},{"photo_id":"1402038136","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402038138":["hashtag1","hashtag2"]},{"1402038134":["hashtag1","hashtag2"]},{"1402038131":["hashtag1","hashtag2"]},{"1402038130":["hashtag1","hashtag2"]},{"1402038142":["hashtag1","hashtag2"]},{"1402038136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402038138, 1402038134, 1402038131, 1402038130, 1402038142, 1402038136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41468167304993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:19:03.215828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/55/image_01012026_18_55_55_9608.jpg', '/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_15_9640.jpg', '/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_25_9618.jpg', '/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_35_10661.jpg', '/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_45_10049.jpg', '/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_55_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/55/image_01012026_18_55_55_9608.jpg
/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_15_9640.jpg
/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_25_9618.jpg
/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_35_10661.jpg
/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_45_10049.jpg
/home/pi/Desktop/images/01012026/18/56/image_01012026_18_56_55_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":["1402038276","1402038147","1402038482","1402038149","1402038378","1402038180"],"photo_ids_order":["1402038147","1402038149","1402038180","1402038276","1402038378","1402038482"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f66ac33b664cfda1a9a83a19ccadad74.jpg","text":"TemporaryFile(/tmp/multipartBody8876206857312461950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291604028,"filename":"image_01012026_18_56_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5ac0ea2f904f4c2df33266e810b0a01.jpg","text":"TemporaryFile(/tmp/multipartBody671101209601255392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291604028,"filename":"image_01012026_18_55_55_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e30b3cb1fd07259045dcc7691a706c49.jpg","text":"TemporaryFile(/tmp/multipartBody6012168337363603683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291604028,"filename":"image_01012026_18_56_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ccb37a250cf2615b5783ef0a675db72f.jpg","text":"TemporaryFile(/tmp/multipartBody6091920344739546296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291604028,"filename":"image_01012026_18_56_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02601b791d07fe81bf78758a53deb537.jpg","text":"TemporaryFile(/tmp/multipartBody3088292231214150169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291604028,"filename":"image_01012026_18_56_45_10049.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2556b5f9dd6b260aa86cbec91aa1154.jpg","text":"TemporaryFile(/tmp/multipartBody6789725575026722181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291604028,"filename":"image_01012026_18_56_25_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038180","file1":"1402038149","file0":"1402038147","file4":"1402038378","file5":"1402038482","file3":"1402038276"},"map_files_photo_id_array":[{"photo_id":"1402038482","filename":"file5"},{"photo_id":"1402038180","filename":"file2"},{"photo_id":"1402038378","filename":"file4"},{"photo_id":"1402038149","filename":"file1"},{"photo_id":"1402038147","filename":"file0"},{"photo_id":"1402038276","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402038276":["hashtag1","hashtag2"]},{"1402038147":["hashtag1","hashtag2"]},{"1402038482":["hashtag1","hashtag2"]},{"1402038149":["hashtag1","hashtag2"]},{"1402038378":["hashtag1","hashtag2"]},{"1402038180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402038276, 1402038147, 1402038482, 1402038149, 1402038378, 1402038180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.43231225013733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:19:42.040255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_55_1551.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_57_1740.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_58_1749.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_49_00_1746.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_02_1859.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_03_1562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_55_1551.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_57_1740.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_58_1749.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_49_00_1746.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_02_1859.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_03_1562.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.7760934829711914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:20:02.668915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_05_10188.jpg', '/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_15_9909.jpg', '/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_25_9853.jpg', '/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_35_10091.jpg', '/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_45_9666.jpg', '/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_55_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_05_10188.jpg
/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_15_9909.jpg
/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_25_9853.jpg
/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_35_10091.jpg
/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_45_9666.jpg
/home/pi/Desktop/images/01012026/18/57/image_01012026_18_57_55_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":["1402039055","1402038965","1402038964","1402039114","1402038967","1402038966"],"photo_ids_order":["1402038964","1402038965","1402038966","1402038967","1402039055","1402039114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa64afca250e1826c9c64c332377a293.jpg","text":"TemporaryFile(/tmp/multipartBody4950833545932037805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291663322,"filename":"image_01012026_18_57_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e79001faac97702178340cebc50b017.jpg","text":"TemporaryFile(/tmp/multipartBody552318815527647230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291663322,"filename":"image_01012026_18_57_15_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf44a069b8b650ccf5003bcb8e87b21e.jpg","text":"TemporaryFile(/tmp/multipartBody5734994139299402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291663322,"filename":"image_01012026_18_57_05_10188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a3a79d03ccdd346fa976cd3ef4a7f8e.jpg","text":"TemporaryFile(/tmp/multipartBody7210003788482751555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291663322,"filename":"image_01012026_18_57_55_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/526c0a1bbf1c54dfc9d5cc100733b6dd.jpg","text":"TemporaryFile(/tmp/multipartBody564929762022608976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291663322,"filename":"image_01012026_18_57_35_10091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93ccfaaf8a1e51bd2325f5c10c640dc2.jpg","text":"TemporaryFile(/tmp/multipartBody2176897928101749841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291663322,"filename":"image_01012026_18_57_25_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402038966","file1":"1402038965","file0":"1402038964","file4":"1402039055","file5":"1402039114","file3":"1402038967"},"map_files_photo_id_array":[{"photo_id":"1402039114","filename":"file5"},{"photo_id":"1402038966","filename":"file2"},{"photo_id":"1402039055","filename":"file4"},{"photo_id":"1402038965","filename":"file1"},{"photo_id":"1402038964","filename":"file0"},{"photo_id":"1402038967","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039055":["hashtag1","hashtag2"]},{"1402038965":["hashtag1","hashtag2"]},{"1402038964":["hashtag1","hashtag2"]},{"1402039114":["hashtag1","hashtag2"]},{"1402038967":["hashtag1","hashtag2"]},{"1402038966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039055, 1402038965, 1402038964, 1402039114, 1402038967, 1402038966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72490215301514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:20:42.223999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_55_1551.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_57_1740.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_58_1749.jpg', '/home/pi/Desktop/images/04112025/18/48/image_04112025_18_49_00_1746.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_02_1859.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_03_1562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_55_1551.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_57_1740.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_48_58_1749.jpg
/home/pi/Desktop/images/04112025/18/48/image_04112025_18_49_00_1746.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_02_1859.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_03_1562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039187","1402039186","1402039189","1402039182","1402039185","1402039188"],"photo_ids_order":["1402039182","1402039185","1402039186","1402039187","1402039188","1402039189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dd9e21c0006935a58d1079c72227487.jpg","text":"TemporaryFile(/tmp/multipartBody7024594529555725316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291703981,"filename":"image_04112025_18_49_00_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/890ae79afdbe150b836a0ced7924710d.jpg","text":"TemporaryFile(/tmp/multipartBody147775357011885823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291703981,"filename":"image_04112025_18_48_58_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d160da1fef003c04ea02fedafd1bc9cb.jpg","text":"TemporaryFile(/tmp/multipartBody6412799583693764182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291703981,"filename":"image_04112025_18_49_03_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77d2e0ba0a62ffdeda8f5314fae4538b.jpg","text":"TemporaryFile(/tmp/multipartBody4020540707285363084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291703981,"filename":"image_04112025_18_48_55_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/882b2ff9a28e619850c4368eef464e87.jpg","text":"TemporaryFile(/tmp/multipartBody8308260834116193372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291703981,"filename":"image_04112025_18_48_57_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c5dd4b93bb782b63bb3100f116756bb.jpg","text":"TemporaryFile(/tmp/multipartBody2919589312249448514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291703981,"filename":"image_04112025_18_49_02_1859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039186","file1":"1402039185","file0":"1402039182","file4":"1402039188","file5":"1402039189","file3":"1402039187"},"map_files_photo_id_array":[{"photo_id":"1402039189","filename":"file5"},{"photo_id":"1402039186","filename":"file2"},{"photo_id":"1402039188","filename":"file4"},{"photo_id":"1402039185","filename":"file1"},{"photo_id":"1402039182","filename":"file0"},{"photo_id":"1402039187","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039187":["hashtag1","hashtag2"]},{"1402039186":["hashtag1","hashtag2"]},{"1402039189":["hashtag1","hashtag2"]},{"1402039182":["hashtag1","hashtag2"]},{"1402039185":["hashtag1","hashtag2"]},{"1402039188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039187, 1402039186, 1402039189, 1402039182, 1402039185, 1402039188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11026430130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:21:22.352297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_05_9489.jpg', '/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_14_9602.jpg', '/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_25_10716.jpg', '/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_35_9602.jpg', '/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_45_10605.jpg', '/home/pi/Desktop/images/01012026/18/59/image_01012026_18_59_25_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_05_9489.jpg
/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_14_9602.jpg
/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_25_10716.jpg
/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_35_9602.jpg
/home/pi/Desktop/images/01012026/18/58/image_01012026_18_58_45_10605.jpg
/home/pi/Desktop/images/01012026/18/59/image_01012026_18_59_25_10673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039193","1402039199","1402039202","1402039195","1402039197","1402039191"],"photo_ids_order":["1402039191","1402039193","1402039195","1402039197","1402039199","1402039202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cd97e73704b051b19838eaab814dff5.jpg","text":"TemporaryFile(/tmp/multipartBody4542338128649111564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291742938,"filename":"image_01012026_18_58_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cae621102b11a9cd71e80e42f02f683.jpg","text":"TemporaryFile(/tmp/multipartBody4396748178735155470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291742938,"filename":"image_01012026_18_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/2026/1/1/efaa202b01aaf2f68160ec10d45b90cc.jpg","text":"TemporaryFile(/tmp/multipartBody2583301061075370446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291742938,"filename":"image_01012026_18_59_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5d006c8afd164890cbbbed752f79984.jpg","text":"TemporaryFile(/tmp/multipartBody2379502736026329336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291742938,"filename":"image_01012026_18_58_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87db072b6e76d96ad10bfcd1a82ea31d.jpg","text":"TemporaryFile(/tmp/multipartBody2671266549034151391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291742938,"filename":"image_01012026_18_58_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ce923329f2106e06864fd840fcf2815.jpg","text":"TemporaryFile(/tmp/multipartBody1318130233878927552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291742938,"filename":"image_01012026_18_58_05_9489.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039195","file1":"1402039193","file0":"1402039191","file4":"1402039199","file5":"1402039202","file3":"1402039197"},"map_files_photo_id_array":[{"photo_id":"1402039202","filename":"file5"},{"photo_id":"1402039195","filename":"file2"},{"photo_id":"1402039199","filename":"file4"},{"photo_id":"1402039193","filename":"file1"},{"photo_id":"1402039191","filename":"file0"},{"photo_id":"1402039197","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039193":["hashtag1","hashtag2"]},{"1402039199":["hashtag1","hashtag2"]},{"1402039202":["hashtag1","hashtag2"]},{"1402039195":["hashtag1","hashtag2"]},{"1402039197":["hashtag1","hashtag2"]},{"1402039191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039193, 1402039199, 1402039202, 1402039195, 1402039197, 1402039191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89451575279236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:22:03.158488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/18/59/image_01012026_18_59_35_9812.jpg', '/home/pi/Desktop/images/01012026/18/59/image_01012026_18_59_54_9580.jpg', '/home/pi/Desktop/images/01012026/19/00/image_01012026_19_00_14_10304.jpg', '/home/pi/Desktop/images/01012026/19/00/image_01012026_19_00_34_9392.jpg', '/home/pi/Desktop/images/01012026/19/00/image_01012026_19_00_54_9432.jpg', '/home/pi/Desktop/images/01012026/19/01/image_01012026_19_01_15_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/18/59/image_01012026_18_59_35_9812.jpg
/home/pi/Desktop/images/01012026/18/59/image_01012026_18_59_54_9580.jpg
/home/pi/Desktop/images/01012026/19/00/image_01012026_19_00_14_10304.jpg
/home/pi/Desktop/images/01012026/19/00/image_01012026_19_00_34_9392.jpg
/home/pi/Desktop/images/01012026/19/00/image_01012026_19_00_54_9432.jpg
/home/pi/Desktop/images/01012026/19/01/image_01012026_19_01_15_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039206","1402039211","1402039208","1402039204","1402039207","1402039209"],"photo_ids_order":["1402039204","1402039206","1402039207","1402039208","1402039209","1402039211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cc0d073d9df22837deccb810a8fba9a.jpg","text":"TemporaryFile(/tmp/multipartBody1931167524979366089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291783766,"filename":"image_01012026_18_59_54_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be4817d5e5afafb0dc010b4e1b9dad6f.jpg","text":"TemporaryFile(/tmp/multipartBody5327007231188807825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291783766,"filename":"image_01012026_19_01_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21d7fa21ead484ac573ea0ede48f86a9.jpg","text":"TemporaryFile(/tmp/multipartBody5390655429969290025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291783766,"filename":"image_01012026_19_00_34_9392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81abac35270ed6b739e0d444059e5034.jpg","text":"TemporaryFile(/tmp/multipartBody4876640849022129014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291783766,"filename":"image_01012026_18_59_35_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02d8a2c7b9d9af826490f281fd5c506c.jpg","text":"TemporaryFile(/tmp/multipartBody6794128475995435582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291783766,"filename":"image_01012026_19_00_14_10304.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5906a8d57f69a91d54102fe602416cf.jpg","text":"TemporaryFile(/tmp/multipartBody4992693601748795271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291783766,"filename":"image_01012026_19_00_54_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039207","file1":"1402039206","file0":"1402039204","file4":"1402039209","file5":"1402039211","file3":"1402039208"},"map_files_photo_id_array":[{"photo_id":"1402039211","filename":"file5"},{"photo_id":"1402039207","filename":"file2"},{"photo_id":"1402039209","filename":"file4"},{"photo_id":"1402039206","filename":"file1"},{"photo_id":"1402039204","filename":"file0"},{"photo_id":"1402039208","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039206":["hashtag1","hashtag2"]},{"1402039211":["hashtag1","hashtag2"]},{"1402039208":["hashtag1","hashtag2"]},{"1402039204":["hashtag1","hashtag2"]},{"1402039207":["hashtag1","hashtag2"]},{"1402039209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039206, 1402039211, 1402039208, 1402039204, 1402039207, 1402039209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.018675327301025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:22:42.715127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_05_1615.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_07_1594.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_08_1564.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_16_1684.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_18_1722.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_20_2224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_05_1615.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_07_1594.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_08_1564.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_16_1684.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_18_1722.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_20_2224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039218","1402039220","1402039217","1402039222","1402039219","1402039221"],"photo_ids_order":["1402039217","1402039218","1402039219","1402039220","1402039221","1402039222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0579fe37c2aca15df51639d84a9135c7.jpg","text":"TemporaryFile(/tmp/multipartBody7645674792011251160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291824640,"filename":"image_04112025_18_49_07_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57fe8eaad6be1a34ba3ab0352b7f6644.jpg","text":"TemporaryFile(/tmp/multipartBody363482767898450580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291824640,"filename":"image_04112025_18_49_16_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e61f9bd0a03526dbdf32cbee5235ad80.jpg","text":"TemporaryFile(/tmp/multipartBody2172251598582354843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291824640,"filename":"image_04112025_18_49_05_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5833d03add3c3d52fc98fdba0e56784.jpg","text":"TemporaryFile(/tmp/multipartBody2891955071879265922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291824640,"filename":"image_04112025_18_49_20_2224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dce54402e10c60ccfdff9fdd1326f875.jpg","text":"TemporaryFile(/tmp/multipartBody6000665553111564583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291824640,"filename":"image_04112025_18_49_08_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4803695140ed71f450b22eef9b545042.jpg","text":"TemporaryFile(/tmp/multipartBody3307614578726756747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291824640,"filename":"image_04112025_18_49_18_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039219","file1":"1402039218","file0":"1402039217","file4":"1402039221","file5":"1402039222","file3":"1402039220"},"map_files_photo_id_array":[{"photo_id":"1402039222","filename":"file5"},{"photo_id":"1402039219","filename":"file2"},{"photo_id":"1402039221","filename":"file4"},{"photo_id":"1402039218","filename":"file1"},{"photo_id":"1402039217","filename":"file0"},{"photo_id":"1402039220","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039218":["hashtag1","hashtag2"]},{"1402039220":["hashtag1","hashtag2"]},{"1402039217":["hashtag1","hashtag2"]},{"1402039222":["hashtag1","hashtag2"]},{"1402039219":["hashtag1","hashtag2"]},{"1402039221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039218, 1402039220, 1402039217, 1402039222, 1402039219, 1402039221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44478440284729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:23:21.857960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/01/image_01012026_19_01_24_9601.jpg', '/home/pi/Desktop/images/01012026/19/01/image_01012026_19_01_34_9627.jpg', '/home/pi/Desktop/images/01012026/19/01/image_01012026_19_01_54_9696.jpg', '/home/pi/Desktop/images/01012026/19/01/image_01012026_19_02_04_9660.jpg', '/home/pi/Desktop/images/01012026/19/02/image_01012026_19_02_14_10165.jpg', '/home/pi/Desktop/images/01012026/19/02/image_01012026_19_02_25_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/01/image_01012026_19_01_24_9601.jpg
/home/pi/Desktop/images/01012026/19/01/image_01012026_19_01_34_9627.jpg
/home/pi/Desktop/images/01012026/19/01/image_01012026_19_01_54_9696.jpg
/home/pi/Desktop/images/01012026/19/01/image_01012026_19_02_04_9660.jpg
/home/pi/Desktop/images/01012026/19/02/image_01012026_19_02_14_10165.jpg
/home/pi/Desktop/images/01012026/19/02/image_01012026_19_02_25_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":["1402039232","1402039229","1402039223","1402039234","1402039225","1402039227"],"photo_ids_order":["1402039223","1402039225","1402039227","1402039229","1402039232","1402039234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a0276669c1727abce5cf5f3bd332ac3.jpg","text":"TemporaryFile(/tmp/multipartBody2857969863561439428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291862437,"filename":"image_01012026_19_02_14_10165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35cbf438fe1989276159f21fe3fe9bc3.jpg","text":"TemporaryFile(/tmp/multipartBody1746283588733328286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291862437,"filename":"image_01012026_19_02_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/213494f358cfe4d085de135cd3a27818.jpg","text":"TemporaryFile(/tmp/multipartBody3009013802710390022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291862437,"filename":"image_01012026_19_01_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ed4174cb224e61e5530483a4b36253e.jpg","text":"TemporaryFile(/tmp/multipartBody4960466098900617297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291862437,"filename":"image_01012026_19_02_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9089bf69d06fbfb0ff24da185fef405.jpg","text":"TemporaryFile(/tmp/multipartBody5058483783191009150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291862437,"filename":"image_01012026_19_01_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40381d00ffb9586b3344cc02bcc1a62e.jpg","text":"TemporaryFile(/tmp/multipartBody5852885669469414891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291862437,"filename":"image_01012026_19_01_54_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039227","file1":"1402039225","file0":"1402039223","file4":"1402039232","file5":"1402039234","file3":"1402039229"},"map_files_photo_id_array":[{"photo_id":"1402039234","filename":"file5"},{"photo_id":"1402039227","filename":"file2"},{"photo_id":"1402039232","filename":"file4"},{"photo_id":"1402039225","filename":"file1"},{"photo_id":"1402039223","filename":"file0"},{"photo_id":"1402039229","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039232":["hashtag1","hashtag2"]},{"1402039229":["hashtag1","hashtag2"]},{"1402039223":["hashtag1","hashtag2"]},{"1402039234":["hashtag1","hashtag2"]},{"1402039225":["hashtag1","hashtag2"]},{"1402039227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039232, 1402039229, 1402039223, 1402039234, 1402039225, 1402039227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32179021835327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:24:02.671157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/02/image_01012026_19_02_34_9609.jpg', '/home/pi/Desktop/images/01012026/19/02/image_01012026_19_02_55_10628.jpg', '/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_14_9720.jpg', '/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_25_10728.jpg', '/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_34_9668.jpg', '/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_44_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/02/image_01012026_19_02_34_9609.jpg
/home/pi/Desktop/images/01012026/19/02/image_01012026_19_02_55_10628.jpg
/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_14_9720.jpg
/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_25_10728.jpg
/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_34_9668.jpg
/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_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":["1402039239","1402039238","1402039241","1402039235","1402039237","1402039236"],"photo_ids_order":["1402039235","1402039236","1402039237","1402039238","1402039239","1402039241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9765539da47625dd96b6c89b1d261a18.jpg","text":"TemporaryFile(/tmp/multipartBody5570690639447370554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291903408,"filename":"image_01012026_19_03_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/effcb28e2404b012f1f6ab32f89c6425.jpg","text":"TemporaryFile(/tmp/multipartBody2853925089282055392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291903408,"filename":"image_01012026_19_03_25_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e06f3b953943fbd6dcc342353fb9499.jpg","text":"TemporaryFile(/tmp/multipartBody4608309427264865319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291903408,"filename":"image_01012026_19_03_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a86f196928eaa8a602ad303b7e96540.jpg","text":"TemporaryFile(/tmp/multipartBody4090119178087267437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291903408,"filename":"image_01012026_19_02_34_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60fe15a45e9144a6007bd9181acfb87a.jpg","text":"TemporaryFile(/tmp/multipartBody3680974418396822699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291903408,"filename":"image_01012026_19_03_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a91fc46b6f3d33f70fd5842ad474db1e.jpg","text":"TemporaryFile(/tmp/multipartBody4369103247834205890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291903408,"filename":"image_01012026_19_02_55_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039237","file1":"1402039236","file0":"1402039235","file4":"1402039239","file5":"1402039241","file3":"1402039238"},"map_files_photo_id_array":[{"photo_id":"1402039241","filename":"file5"},{"photo_id":"1402039237","filename":"file2"},{"photo_id":"1402039239","filename":"file4"},{"photo_id":"1402039236","filename":"file1"},{"photo_id":"1402039235","filename":"file0"},{"photo_id":"1402039238","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039239":["hashtag1","hashtag2"]},{"1402039238":["hashtag1","hashtag2"]},{"1402039241":["hashtag1","hashtag2"]},{"1402039235":["hashtag1","hashtag2"]},{"1402039237":["hashtag1","hashtag2"]},{"1402039236":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039239, 1402039238, 1402039241, 1402039235, 1402039237, 1402039236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.094969272613525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:24:42.143212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_22_1655.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_24_1713.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_27_3659.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_30_2790.jpg', '/home/pi/Desktop/images/04112025/18/49/image_04112025_18_50_00_20432.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_02_1596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_22_1655.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_24_1713.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_27_3659.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_49_30_2790.jpg
/home/pi/Desktop/images/04112025/18/49/image_04112025_18_50_00_20432.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_02_1596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039250","1402039253","1402039247","1402039252","1402039249","1402039251"],"photo_ids_order":["1402039247","1402039249","1402039250","1402039251","1402039252","1402039253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36b54a07ec2ba9a2957339bdb0450a37.jpg","text":"TemporaryFile(/tmp/multipartBody1019362603685611387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291944098,"filename":"image_04112025_18_49_27_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05eb0d3f454616cfc728d4dbd5fd6569.jpg","text":"TemporaryFile(/tmp/multipartBody7909971842433289306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291944098,"filename":"image_04112025_18_50_02_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e9f7634b23e6d286f5707bbca4df841.jpg","text":"TemporaryFile(/tmp/multipartBody4645240122037951537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291944098,"filename":"image_04112025_18_49_22_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c71e819aee3f93dfc39e5f50c43aad5.jpg","text":"TemporaryFile(/tmp/multipartBody1118644548555822179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291944098,"filename":"image_04112025_18_50_00_20432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5d93dd7a2afe58a2ddb44788768d5d1.jpg","text":"TemporaryFile(/tmp/multipartBody6616589277643304358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291944098,"filename":"image_04112025_18_49_24_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f7d808921e6dee2025e2986489ae1c4.jpg","text":"TemporaryFile(/tmp/multipartBody5628094844516335649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291944098,"filename":"image_04112025_18_49_30_2790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039250","file1":"1402039249","file0":"1402039247","file4":"1402039252","file5":"1402039253","file3":"1402039251"},"map_files_photo_id_array":[{"photo_id":"1402039253","filename":"file5"},{"photo_id":"1402039250","filename":"file2"},{"photo_id":"1402039252","filename":"file4"},{"photo_id":"1402039249","filename":"file1"},{"photo_id":"1402039247","filename":"file0"},{"photo_id":"1402039251","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039250":["hashtag1","hashtag2"]},{"1402039253":["hashtag1","hashtag2"]},{"1402039247":["hashtag1","hashtag2"]},{"1402039252":["hashtag1","hashtag2"]},{"1402039249":["hashtag1","hashtag2"]},{"1402039251":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039250, 1402039253, 1402039247, 1402039252, 1402039249, 1402039251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.853033781051636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:25:22.305768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_55_10653.jpg', '/home/pi/Desktop/images/01012026/19/04/image_01012026_19_04_14_9695.jpg', '/home/pi/Desktop/images/01012026/19/04/image_01012026_19_04_25_10652.jpg', '/home/pi/Desktop/images/01012026/19/04/image_01012026_19_04_34_9580.jpg', '/home/pi/Desktop/images/01012026/19/04/image_01012026_19_04_44_9778.jpg', '/home/pi/Desktop/images/01012026/19/05/image_01012026_19_05_14_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/03/image_01012026_19_03_55_10653.jpg
/home/pi/Desktop/images/01012026/19/04/image_01012026_19_04_14_9695.jpg
/home/pi/Desktop/images/01012026/19/04/image_01012026_19_04_25_10652.jpg
/home/pi/Desktop/images/01012026/19/04/image_01012026_19_04_34_9580.jpg
/home/pi/Desktop/images/01012026/19/04/image_01012026_19_04_44_9778.jpg
/home/pi/Desktop/images/01012026/19/05/image_01012026_19_05_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":["1402039262","1402039256","1402039265","1402039258","1402039260","1402039254"],"photo_ids_order":["1402039254","1402039256","1402039258","1402039260","1402039262","1402039265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb8da929e261d58a3990bf81c88a6f59.jpg","text":"TemporaryFile(/tmp/multipartBody7465261298136432646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291982889,"filename":"image_01012026_19_04_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/587f5f52df976d1c891ad5917fab97ff.jpg","text":"TemporaryFile(/tmp/multipartBody4596700298845223406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291982889,"filename":"image_01012026_19_04_14_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e420522b3f7ac487dd987fcfc498f40.jpg","text":"TemporaryFile(/tmp/multipartBody2064571675066347572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291982889,"filename":"image_01012026_19_05_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38cde461262b242c20832b2306965055.jpg","text":"TemporaryFile(/tmp/multipartBody4571797892761748947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291982889,"filename":"image_01012026_19_04_25_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82003c309cf3f5af939f1037c5d006f6.jpg","text":"TemporaryFile(/tmp/multipartBody1597770243950923945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291982889,"filename":"image_01012026_19_04_34_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c78bad3b74413142f682fb2088be646e.jpg","text":"TemporaryFile(/tmp/multipartBody9105829936894334253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767291982889,"filename":"image_01012026_19_03_55_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039258","file1":"1402039256","file0":"1402039254","file4":"1402039262","file5":"1402039265","file3":"1402039260"},"map_files_photo_id_array":[{"photo_id":"1402039265","filename":"file5"},{"photo_id":"1402039258","filename":"file2"},{"photo_id":"1402039262","filename":"file4"},{"photo_id":"1402039256","filename":"file1"},{"photo_id":"1402039254","filename":"file0"},{"photo_id":"1402039260","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039262":["hashtag1","hashtag2"]},{"1402039256":["hashtag1","hashtag2"]},{"1402039265":["hashtag1","hashtag2"]},{"1402039258":["hashtag1","hashtag2"]},{"1402039260":["hashtag1","hashtag2"]},{"1402039254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039262, 1402039256, 1402039265, 1402039258, 1402039260, 1402039254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.491878271102905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:26:02.774001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/05/image_01012026_19_05_35_10615.jpg', '/home/pi/Desktop/images/01012026/19/05/image_01012026_19_05_44_9623.jpg', '/home/pi/Desktop/images/01012026/19/05/image_01012026_19_05_55_10718.jpg', '/home/pi/Desktop/images/01012026/19/05/image_01012026_19_06_05_9711.jpg', '/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_14_9924.jpg', '/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_24_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/05/image_01012026_19_05_35_10615.jpg
/home/pi/Desktop/images/01012026/19/05/image_01012026_19_05_44_9623.jpg
/home/pi/Desktop/images/01012026/19/05/image_01012026_19_05_55_10718.jpg
/home/pi/Desktop/images/01012026/19/05/image_01012026_19_06_05_9711.jpg
/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_14_9924.jpg
/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_24_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":["1402039268","1402039271","1402039270","1402039273","1402039272","1402039269"],"photo_ids_order":["1402039268","1402039269","1402039270","1402039271","1402039272","1402039273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f295c93b7b684c82bf4aae3332c892c2.jpg","text":"TemporaryFile(/tmp/multipartBody2942066627643610748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292023380,"filename":"image_01012026_19_05_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2cc5b963f986ce3ba01433092235b32c.jpg","text":"TemporaryFile(/tmp/multipartBody5082301864023190674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292023380,"filename":"image_01012026_19_06_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9508b20e7d2510085a13db72eefa2cd.jpg","text":"TemporaryFile(/tmp/multipartBody6737345660129555510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292023380,"filename":"image_01012026_19_05_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44d277021e0a7e5140f9bfbde8fa87ec.jpg","text":"TemporaryFile(/tmp/multipartBody4993661454913044379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292023380,"filename":"image_01012026_19_06_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60120b3290c04e06355ff49b1e7cfc65.jpg","text":"TemporaryFile(/tmp/multipartBody1066441006706959321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292023380,"filename":"image_01012026_19_06_14_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03a24bc9662254e985b374bc45a0488a.jpg","text":"TemporaryFile(/tmp/multipartBody901836691536329969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292023380,"filename":"image_01012026_19_05_44_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039270","file1":"1402039269","file0":"1402039268","file4":"1402039272","file5":"1402039273","file3":"1402039271"},"map_files_photo_id_array":[{"photo_id":"1402039273","filename":"file5"},{"photo_id":"1402039270","filename":"file2"},{"photo_id":"1402039272","filename":"file4"},{"photo_id":"1402039269","filename":"file1"},{"photo_id":"1402039268","filename":"file0"},{"photo_id":"1402039271","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039268":["hashtag1","hashtag2"]},{"1402039271":["hashtag1","hashtag2"]},{"1402039270":["hashtag1","hashtag2"]},{"1402039273":["hashtag1","hashtag2"]},{"1402039272":["hashtag1","hashtag2"]},{"1402039269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039268, 1402039271, 1402039270, 1402039273, 1402039272, 1402039269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09946346282959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:26:42.428339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_06_2222.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_07_1678.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_11_1753.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_16_1741.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_17_1555.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_19_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_06_2222.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_07_1678.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_11_1753.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_16_1741.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_17_1555.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_19_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
<Response [200]>
b'{"photo_ids":["1402039289","1402039280","1402039283","1402039291","1402039285","1402039287"],"photo_ids_order":["1402039280","1402039283","1402039285","1402039287","1402039289","1402039291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58f1fa64a4cc9da46440ea8d114481c0.jpg","text":"TemporaryFile(/tmp/multipartBody7019451034640555134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292064312,"filename":"image_04112025_18_50_17_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00b38debba19db6a4e5831cb50f92ac2.jpg","text":"TemporaryFile(/tmp/multipartBody3359522972043428747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292064312,"filename":"image_04112025_18_50_06_2222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/812bd793c90cb8497c6f19140c617eea.jpg","text":"TemporaryFile(/tmp/multipartBody2691308493609612461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292064312,"filename":"image_04112025_18_50_07_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/144ad9821cdfd17bdd5dc947092d964f.jpg","text":"TemporaryFile(/tmp/multipartBody768858320376507779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292064312,"filename":"image_04112025_18_50_19_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08d53b26ff4491b6911ef08d77c475d9.jpg","text":"TemporaryFile(/tmp/multipartBody8576624217440335079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292064312,"filename":"image_04112025_18_50_11_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f02dd1ef25b0cecf49846b0c8570114.jpg","text":"TemporaryFile(/tmp/multipartBody3517710346082323087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292064312,"filename":"image_04112025_18_50_16_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039285","file1":"1402039283","file0":"1402039280","file4":"1402039289","file5":"1402039291","file3":"1402039287"},"map_files_photo_id_array":[{"photo_id":"1402039291","filename":"file5"},{"photo_id":"1402039285","filename":"file2"},{"photo_id":"1402039289","filename":"file4"},{"photo_id":"1402039283","filename":"file1"},{"photo_id":"1402039280","filename":"file0"},{"photo_id":"1402039287","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039289":["hashtag1","hashtag2"]},{"1402039280":["hashtag1","hashtag2"]},{"1402039283":["hashtag1","hashtag2"]},{"1402039291":["hashtag1","hashtag2"]},{"1402039285":["hashtag1","hashtag2"]},{"1402039287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039289, 1402039280, 1402039283, 1402039291, 1402039285, 1402039287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42266631126404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:27:22.751600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_35_10671.jpg', '/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_54_9715.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_14_9581.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_24_9849.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_35_10622.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_44_9545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_35_10671.jpg
/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_54_9715.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_14_9581.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_24_9849.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_35_10622.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_44_9545.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.48523855209350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:27:32.562672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_21_1654.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_23_1762.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_26_1697.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_28_1707.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_29_1719.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_31_1550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_21_1654.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_23_1762.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_26_1697.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_28_1707.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_29_1719.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_31_1550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039311","1402039305","1402039298","1402039310","1402039301","1402039309"],"photo_ids_order":["1402039298","1402039301","1402039305","1402039309","1402039310","1402039311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f163442ad58ce48f29d5e3c554fb670.jpg","text":"TemporaryFile(/tmp/multipartBody1079825109333411810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292114441,"filename":"image_04112025_18_50_31_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6eaebbc7ee0a45b0d1337e3cc9a63f9a.jpg","text":"TemporaryFile(/tmp/multipartBody3488783478261574261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292114441,"filename":"image_04112025_18_50_26_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94f19f84a29a647504eb02db3c8600a1.jpg","text":"TemporaryFile(/tmp/multipartBody123402699128611434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292114441,"filename":"image_04112025_18_50_21_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2648977a7637ca9215d50a4dd149592f.jpg","text":"TemporaryFile(/tmp/multipartBody8060988447177819760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292114441,"filename":"image_04112025_18_50_29_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/635b97e7084fd49fe823792b0719b7eb.jpg","text":"TemporaryFile(/tmp/multipartBody5235890320753466538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292114441,"filename":"image_04112025_18_50_23_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b236ef5510f8411eba824c8080bf50b.jpg","text":"TemporaryFile(/tmp/multipartBody2007500207027184583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292114441,"filename":"image_04112025_18_50_28_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039305","file1":"1402039301","file0":"1402039298","file4":"1402039310","file5":"1402039311","file3":"1402039309"},"map_files_photo_id_array":[{"photo_id":"1402039311","filename":"file5"},{"photo_id":"1402039305","filename":"file2"},{"photo_id":"1402039310","filename":"file4"},{"photo_id":"1402039301","filename":"file1"},{"photo_id":"1402039298","filename":"file0"},{"photo_id":"1402039309","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039311":["hashtag1","hashtag2"]},{"1402039305":["hashtag1","hashtag2"]},{"1402039298":["hashtag1","hashtag2"]},{"1402039310":["hashtag1","hashtag2"]},{"1402039301":["hashtag1","hashtag2"]},{"1402039309":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039311, 1402039305, 1402039298, 1402039310, 1402039301, 1402039309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63268518447876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:28:12.684050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_34_2899.jpg', '/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_37_3127.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_07_3011.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_10_3577.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_13_2609.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_17_3706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_34_2899.jpg
/home/pi/Desktop/images/04112025/18/50/image_04112025_18_50_37_3127.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_07_3011.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_10_3577.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_13_2609.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_17_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":["1402039317","1402039319","1402039313","1402039321","1402039315","1402039312"],"photo_ids_order":["1402039312","1402039313","1402039315","1402039317","1402039319","1402039321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6330d99b6a52a8e2e1a1b06fc4d290cb.jpg","text":"TemporaryFile(/tmp/multipartBody7467733045073797771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292154494,"filename":"image_04112025_18_52_10_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbac4e1b4639730d1cf11beab2c9d859.jpg","text":"TemporaryFile(/tmp/multipartBody2226090018012053353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292154494,"filename":"image_04112025_18_52_13_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e210801d28348aeb547fa156f4eb80c.jpg","text":"TemporaryFile(/tmp/multipartBody6257991661227977248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292154494,"filename":"image_04112025_18_50_37_3127.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f32ce0132960c479135850787bfb69f1.jpg","text":"TemporaryFile(/tmp/multipartBody4845494941257480220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292154494,"filename":"image_04112025_18_52_17_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27e13412c865da03b7ab58062aa1bf8b.jpg","text":"TemporaryFile(/tmp/multipartBody2245861429652998606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292154494,"filename":"image_04112025_18_52_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4171c804feb811e416f8f6c0501eb59.jpg","text":"TemporaryFile(/tmp/multipartBody2367956590564846209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292154494,"filename":"image_04112025_18_50_34_2899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039315","file1":"1402039313","file0":"1402039312","file4":"1402039319","file5":"1402039321","file3":"1402039317"},"map_files_photo_id_array":[{"photo_id":"1402039321","filename":"file5"},{"photo_id":"1402039315","filename":"file2"},{"photo_id":"1402039319","filename":"file4"},{"photo_id":"1402039313","filename":"file1"},{"photo_id":"1402039312","filename":"file0"},{"photo_id":"1402039317","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039317":["hashtag1","hashtag2"]},{"1402039319":["hashtag1","hashtag2"]},{"1402039313":["hashtag1","hashtag2"]},{"1402039321":["hashtag1","hashtag2"]},{"1402039315":["hashtag1","hashtag2"]},{"1402039312":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039317, 1402039319, 1402039313, 1402039321, 1402039315, 1402039312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.1422061920166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:29:03.055744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_35_10671.jpg', '/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_54_9715.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_14_9581.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_24_9849.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_35_10622.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_44_9545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_35_10671.jpg
/home/pi/Desktop/images/01012026/19/06/image_01012026_19_06_54_9715.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_14_9581.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_24_9849.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_35_10622.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_44_9545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039330","1402039324","1402039327","1402039332","1402039326","1402039329"],"photo_ids_order":["1402039324","1402039326","1402039327","1402039329","1402039330","1402039332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4f54f6aff6828bdb1daa31cc4bb0237.jpg","text":"TemporaryFile(/tmp/multipartBody9049267321095748958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292203776,"filename":"image_01012026_19_07_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c0bde98d3814e2953193bd8cea3daa3.jpg","text":"TemporaryFile(/tmp/multipartBody4666282600996375619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292203776,"filename":"image_01012026_19_06_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf7eba5611f3b400120ef70a05ba8755.jpg","text":"TemporaryFile(/tmp/multipartBody4468840717400906429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292203776,"filename":"image_01012026_19_07_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51c34d4103804befa75c6326d228582d.jpg","text":"TemporaryFile(/tmp/multipartBody3388608877374861691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292203776,"filename":"image_01012026_19_07_44_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e395d8f49d076f6287dde839d500a5a.jpg","text":"TemporaryFile(/tmp/multipartBody832706193568433889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292203776,"filename":"image_01012026_19_06_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa89807a6249f0625c1d6b3180f63214.jpg","text":"TemporaryFile(/tmp/multipartBody300371746461074132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292203776,"filename":"image_01012026_19_07_24_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039327","file1":"1402039326","file0":"1402039324","file4":"1402039330","file5":"1402039332","file3":"1402039329"},"map_files_photo_id_array":[{"photo_id":"1402039332","filename":"file5"},{"photo_id":"1402039327","filename":"file2"},{"photo_id":"1402039330","filename":"file4"},{"photo_id":"1402039326","filename":"file1"},{"photo_id":"1402039324","filename":"file0"},{"photo_id":"1402039329","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039330":["hashtag1","hashtag2"]},{"1402039324":["hashtag1","hashtag2"]},{"1402039327":["hashtag1","hashtag2"]},{"1402039332":["hashtag1","hashtag2"]},{"1402039326":["hashtag1","hashtag2"]},{"1402039329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039330, 1402039324, 1402039327, 1402039332, 1402039326, 1402039329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89768981933594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:29:41.942581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_22_2712.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_25_2717.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_29_3800.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_31_2617.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_34_2669.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_37_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_22_2712.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_25_2717.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_29_3800.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_31_2617.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_34_2669.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_37_2805.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.7726047039031982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:30:02.597538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_54_9630.jpg', '/home/pi/Desktop/images/01012026/19/07/image_01012026_19_08_05_10594.jpg', '/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_14_9732.jpg', '/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_24_9652.jpg', '/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_35_10637.jpg', '/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_44_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_07_54_9630.jpg
/home/pi/Desktop/images/01012026/19/07/image_01012026_19_08_05_10594.jpg
/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_14_9732.jpg
/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_24_9652.jpg
/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_35_10637.jpg
/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_44_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":["1402039349","1402039346","1402039345","1402039350","1402039353","1402039347"],"photo_ids_order":["1402039345","1402039346","1402039347","1402039349","1402039350","1402039353"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd0818fd03d2e5c96b44feda7e4cbfb9.jpg","text":"TemporaryFile(/tmp/multipartBody1932311470028604706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292263213,"filename":"image_01012026_19_08_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/953913230dbde0615314b5c91f149e2d.jpg","text":"TemporaryFile(/tmp/multipartBody5997830800892161648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292263213,"filename":"image_01012026_19_08_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/781974b06b8a7b304226ab2640dbda82.jpg","text":"TemporaryFile(/tmp/multipartBody8998918394774304869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292263213,"filename":"image_01012026_19_07_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4343367390fdac0e7913cdc8ae6f094.jpg","text":"TemporaryFile(/tmp/multipartBody6857712155269545347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292263213,"filename":"image_01012026_19_08_35_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93d56276a31d542e439ae3749510a272.jpg","text":"TemporaryFile(/tmp/multipartBody2910112858086950800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292263213,"filename":"image_01012026_19_08_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/869a99774db410a942de45230d6421d1.jpg","text":"TemporaryFile(/tmp/multipartBody5420405161533055628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292263213,"filename":"image_01012026_19_08_14_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039347","file1":"1402039346","file0":"1402039345","file4":"1402039350","file5":"1402039353","file3":"1402039349"},"map_files_photo_id_array":[{"photo_id":"1402039353","filename":"file5"},{"photo_id":"1402039347","filename":"file2"},{"photo_id":"1402039350","filename":"file4"},{"photo_id":"1402039346","filename":"file1"},{"photo_id":"1402039345","filename":"file0"},{"photo_id":"1402039349","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039349":["hashtag1","hashtag2"]},{"1402039346":["hashtag1","hashtag2"]},{"1402039345":["hashtag1","hashtag2"]},{"1402039350":["hashtag1","hashtag2"]},{"1402039353":["hashtag1","hashtag2"]},{"1402039347":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039349, 1402039346, 1402039345, 1402039350, 1402039353, 1402039347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.082640647888184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:30:42.075831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_22_2712.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_25_2717.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_29_3800.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_31_2617.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_34_2669.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_37_2805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_22_2712.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_25_2717.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_29_3800.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_31_2617.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_34_2669.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_37_2805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039361","1402039364","1402039358","1402039360","1402039363","1402039362"],"photo_ids_order":["1402039358","1402039360","1402039361","1402039362","1402039363","1402039364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d85ef9c5f3af2f08efc16f2936401ead.jpg","text":"TemporaryFile(/tmp/multipartBody7484664433034096248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292303850,"filename":"image_04112025_18_52_29_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4552d6555405f3ba89696ddbc4f194a4.jpg","text":"TemporaryFile(/tmp/multipartBody2910548040063878594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292303850,"filename":"image_04112025_18_52_37_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e58dd9c640d97b027973ab049d755883.jpg","text":"TemporaryFile(/tmp/multipartBody2116057465823049401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292303850,"filename":"image_04112025_18_52_22_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92a889edd4569f464783af5f2ef6cd6d.jpg","text":"TemporaryFile(/tmp/multipartBody4714692206008361879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292303850,"filename":"image_04112025_18_52_25_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6117fb90bda3f5bcbdf9d6237013fbfd.jpg","text":"TemporaryFile(/tmp/multipartBody8483374168924067299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292303850,"filename":"image_04112025_18_52_34_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d46f8da0723fa96cd22debc75b27ff77.jpg","text":"TemporaryFile(/tmp/multipartBody8194259358414942596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292303850,"filename":"image_04112025_18_52_31_2617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039361","file1":"1402039360","file0":"1402039358","file4":"1402039363","file5":"1402039364","file3":"1402039362"},"map_files_photo_id_array":[{"photo_id":"1402039364","filename":"file5"},{"photo_id":"1402039361","filename":"file2"},{"photo_id":"1402039363","filename":"file4"},{"photo_id":"1402039360","filename":"file1"},{"photo_id":"1402039358","filename":"file0"},{"photo_id":"1402039362","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039361":["hashtag1","hashtag2"]},{"1402039364":["hashtag1","hashtag2"]},{"1402039358":["hashtag1","hashtag2"]},{"1402039360":["hashtag1","hashtag2"]},{"1402039363":["hashtag1","hashtag2"]},{"1402039362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039361, 1402039364, 1402039358, 1402039360, 1402039363, 1402039362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95417070388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:31:32.320230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_54_17630.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_56_1626.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_58_1756.jpg', '/home/pi/Desktop/images/04112025/18/52/image_04112025_18_53_00_1824.jpg', '/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_01_1617.jpg', '/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_04_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_54_17630.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_56_1626.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_52_58_1756.jpg
/home/pi/Desktop/images/04112025/18/52/image_04112025_18_53_00_1824.jpg
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_01_1617.jpg
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_04_1617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039379","1402039378","1402039369","1402039377","1402039371","1402039374"],"photo_ids_order":["1402039369","1402039371","1402039374","1402039377","1402039378","1402039379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fca830ed283901cf8e8ee872a009296.jpg","text":"TemporaryFile(/tmp/multipartBody3963997821021534272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292354268,"filename":"image_04112025_18_53_04_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de537cf67da296eddcd7ba69f836b382.jpg","text":"TemporaryFile(/tmp/multipartBody51435347574842770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292354268,"filename":"image_04112025_18_53_01_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9671b3340e7a1d224f5b842a4b11fd9b.jpg","text":"TemporaryFile(/tmp/multipartBody7283503444160246929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292354268,"filename":"image_04112025_18_52_54_17630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b25935cf6e5b1a1e07a33da062e117b4.jpg","text":"TemporaryFile(/tmp/multipartBody2866875747867627131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292354268,"filename":"image_04112025_18_53_00_1824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22f5209b20e349acadbd85e54c607edc.jpg","text":"TemporaryFile(/tmp/multipartBody7542833703823530542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292354268,"filename":"image_04112025_18_52_56_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2c320d1580bd3f4f5c764d49e3d3ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2165297626297311187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292354268,"filename":"image_04112025_18_52_58_1756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039374","file1":"1402039371","file0":"1402039369","file4":"1402039378","file5":"1402039379","file3":"1402039377"},"map_files_photo_id_array":[{"photo_id":"1402039379","filename":"file5"},{"photo_id":"1402039374","filename":"file2"},{"photo_id":"1402039378","filename":"file4"},{"photo_id":"1402039371","filename":"file1"},{"photo_id":"1402039369","filename":"file0"},{"photo_id":"1402039377","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039379":["hashtag1","hashtag2"]},{"1402039378":["hashtag1","hashtag2"]},{"1402039369":["hashtag1","hashtag2"]},{"1402039377":["hashtag1","hashtag2"]},{"1402039371":["hashtag1","hashtag2"]},{"1402039374":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039379, 1402039378, 1402039369, 1402039377, 1402039371, 1402039374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.571017026901245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:32:12.565211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_08_1899.jpg', '/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_11_1686.jpg', '/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_16_4808.jpg', '/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_28_2560.jpg', '/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_41_13387.jpg', '/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_55_2545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_08_1899.jpg
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_11_1686.jpg
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_16_4808.jpg
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_28_2560.jpg
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_41_13387.jpg
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_55_2545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039385","1402039387","1402039381","1402039389","1402039380","1402039383"],"photo_ids_order":["1402039380","1402039381","1402039383","1402039385","1402039387","1402039389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b274cf102d66f56d53d796ca8901bb0.jpg","text":"TemporaryFile(/tmp/multipartBody3049588212281252106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292394325,"filename":"image_04112025_18_53_28_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49e5dd294fbee347af05fefa075231b6.jpg","text":"TemporaryFile(/tmp/multipartBody2814559396629638022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292394325,"filename":"image_04112025_18_53_41_13387.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/240c62287151c7a83b7760da1218da39.jpg","text":"TemporaryFile(/tmp/multipartBody7915968010226957615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292394325,"filename":"image_04112025_18_53_11_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ec5ca7cef98580807ca07d8365aaaae.jpg","text":"TemporaryFile(/tmp/multipartBody5418560223708745496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292394325,"filename":"image_04112025_18_53_55_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c7fd148e9cfc8bb8532e422f3f37840.jpg","text":"TemporaryFile(/tmp/multipartBody5945966625291395550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292394325,"filename":"image_04112025_18_53_08_1899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11353a65d7839ff52c68cd34e8d71f60.jpg","text":"TemporaryFile(/tmp/multipartBody4189189774343431291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292394325,"filename":"image_04112025_18_53_16_4808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039383","file1":"1402039381","file0":"1402039380","file4":"1402039387","file5":"1402039389","file3":"1402039385"},"map_files_photo_id_array":[{"photo_id":"1402039389","filename":"file5"},{"photo_id":"1402039383","filename":"file2"},{"photo_id":"1402039387","filename":"file4"},{"photo_id":"1402039381","filename":"file1"},{"photo_id":"1402039380","filename":"file0"},{"photo_id":"1402039385","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039385":["hashtag1","hashtag2"]},{"1402039387":["hashtag1","hashtag2"]},{"1402039381":["hashtag1","hashtag2"]},{"1402039389":["hashtag1","hashtag2"]},{"1402039380":["hashtag1","hashtag2"]},{"1402039383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039385, 1402039387, 1402039381, 1402039389, 1402039380, 1402039383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21573853492737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:33:03.411720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_55_10585.jpg', '/home/pi/Desktop/images/01012026/19/08/image_01012026_19_09_04_9545.jpg', '/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_14_9669.jpg', '/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_25_10655.jpg', '/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_34_9620.jpg', '/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_44_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/08/image_01012026_19_08_55_10585.jpg
/home/pi/Desktop/images/01012026/19/08/image_01012026_19_09_04_9545.jpg
/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_14_9669.jpg
/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_25_10655.jpg
/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_34_9620.jpg
/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_44_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":["1402039394","1402039397","1402039400","1402039393","1402039395","1402039398"],"photo_ids_order":["1402039393","1402039394","1402039395","1402039397","1402039398","1402039400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32ebc1608676acda103c8aae7bba49d8.jpg","text":"TemporaryFile(/tmp/multipartBody7450044287443982341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292444096,"filename":"image_01012026_19_09_04_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6aa0462b6822a73894c3b2f074dbfdc.jpg","text":"TemporaryFile(/tmp/multipartBody4646763247476185330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292444096,"filename":"image_01012026_19_09_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aafebfe017ccb1094d4b133d808d4fe7.jpg","text":"TemporaryFile(/tmp/multipartBody8468951627012261315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292444096,"filename":"image_01012026_19_09_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8df7255679fdffd4c35f9ba757deb069.jpg","text":"TemporaryFile(/tmp/multipartBody980621876783594262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292444096,"filename":"image_01012026_19_08_55_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd755940c235af502f653c3a6face32a.jpg","text":"TemporaryFile(/tmp/multipartBody2968119934119769620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292444096,"filename":"image_01012026_19_09_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1877735a51efcbc6c334da81a46c6175.jpg","text":"TemporaryFile(/tmp/multipartBody313516956868169459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292444096,"filename":"image_01012026_19_09_34_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039395","file1":"1402039394","file0":"1402039393","file4":"1402039398","file5":"1402039400","file3":"1402039397"},"map_files_photo_id_array":[{"photo_id":"1402039400","filename":"file5"},{"photo_id":"1402039395","filename":"file2"},{"photo_id":"1402039398","filename":"file4"},{"photo_id":"1402039394","filename":"file1"},{"photo_id":"1402039393","filename":"file0"},{"photo_id":"1402039397","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039394":["hashtag1","hashtag2"]},{"1402039397":["hashtag1","hashtag2"]},{"1402039400":["hashtag1","hashtag2"]},{"1402039393":["hashtag1","hashtag2"]},{"1402039395":["hashtag1","hashtag2"]},{"1402039398":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039394, 1402039397, 1402039400, 1402039393, 1402039395, 1402039398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55817651748657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:33:42.755238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_58_2678.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_04_3574.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_16_2768.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_19_3562.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_22_2844.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_28_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/53/image_04112025_18_53_58_2678.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_04_3574.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_16_2768.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_19_3562.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_22_2844.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_28_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":["1402039410","1402039412","1402039406","1402039409","1402039411","1402039413"],"photo_ids_order":["1402039406","1402039409","1402039410","1402039411","1402039412","1402039413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb9f0edbf228ce04c2ca3997a1a58202.jpg","text":"TemporaryFile(/tmp/multipartBody3373955119612833944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292484647,"filename":"image_04112025_18_54_16_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44b5506d352fff2e609d1973ec309b0d.jpg","text":"TemporaryFile(/tmp/multipartBody2881552195199623861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292484647,"filename":"image_04112025_18_54_22_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75469a96da68346908bd32d72db6d4ab.jpg","text":"TemporaryFile(/tmp/multipartBody2540273264279894418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292484647,"filename":"image_04112025_18_53_58_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b190ff230dc98dda8bea3777572fb1f.jpg","text":"TemporaryFile(/tmp/multipartBody3049533856764926432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292484647,"filename":"image_04112025_18_54_04_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16ff4f197a85d1e25fa61edd4e5456d8.jpg","text":"TemporaryFile(/tmp/multipartBody5892161459056870478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292484647,"filename":"image_04112025_18_54_19_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f18129a957bf16f1a70742b2899e652.jpg","text":"TemporaryFile(/tmp/multipartBody1033301247955056921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292484647,"filename":"image_04112025_18_54_28_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039410","file1":"1402039409","file0":"1402039406","file4":"1402039412","file5":"1402039413","file3":"1402039411"},"map_files_photo_id_array":[{"photo_id":"1402039413","filename":"file5"},{"photo_id":"1402039410","filename":"file2"},{"photo_id":"1402039412","filename":"file4"},{"photo_id":"1402039409","filename":"file1"},{"photo_id":"1402039406","filename":"file0"},{"photo_id":"1402039411","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039410":["hashtag1","hashtag2"]},{"1402039412":["hashtag1","hashtag2"]},{"1402039406":["hashtag1","hashtag2"]},{"1402039409":["hashtag1","hashtag2"]},{"1402039411":["hashtag1","hashtag2"]},{"1402039413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039410, 1402039412, 1402039406, 1402039409, 1402039411, 1402039413)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.4976167678833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:34:31.924498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_34_2856.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_37_2651.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_39_2687.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_43_3658.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_46_2677.jpg', '/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_49_3600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_34_2856.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_37_2651.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_39_2687.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_43_3658.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_46_2677.jpg
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_49_3600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039422","1402039424","1402039418","1402039420","1402039426","1402039425"],"photo_ids_order":["1402039418","1402039420","1402039422","1402039424","1402039425","1402039426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43f69d72c5ca1ffdadac73f4d1b74b2f.jpg","text":"TemporaryFile(/tmp/multipartBody3691838020630943094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292533796,"filename":"image_04112025_18_54_39_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73d317b7dc11445c5e4e7fb017650f55.jpg","text":"TemporaryFile(/tmp/multipartBody2135874591722759918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292533796,"filename":"image_04112025_18_54_43_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f2513de1c2b50cf495ea577082db044.jpg","text":"TemporaryFile(/tmp/multipartBody3610986754234406367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292533796,"filename":"image_04112025_18_54_34_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a282beae32dd8fa5eae5a5fadab98ffe.jpg","text":"TemporaryFile(/tmp/multipartBody7645424577731770431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292533796,"filename":"image_04112025_18_54_37_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6071ef987ef4f5c7c71e1c71bb337d1.jpg","text":"TemporaryFile(/tmp/multipartBody6788484100933770428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292533796,"filename":"image_04112025_18_54_49_3600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96521677dcabc201be6dabacb0b3ec16.jpg","text":"TemporaryFile(/tmp/multipartBody2634973177847981098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292533796,"filename":"image_04112025_18_54_46_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039422","file1":"1402039420","file0":"1402039418","file4":"1402039425","file5":"1402039426","file3":"1402039424"},"map_files_photo_id_array":[{"photo_id":"1402039426","filename":"file5"},{"photo_id":"1402039422","filename":"file2"},{"photo_id":"1402039425","filename":"file4"},{"photo_id":"1402039420","filename":"file1"},{"photo_id":"1402039418","filename":"file0"},{"photo_id":"1402039424","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039422":["hashtag1","hashtag2"]},{"1402039424":["hashtag1","hashtag2"]},{"1402039418":["hashtag1","hashtag2"]},{"1402039420":["hashtag1","hashtag2"]},{"1402039426":["hashtag1","hashtag2"]},{"1402039425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039422, 1402039424, 1402039418, 1402039420, 1402039426, 1402039425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.054545164108276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:35:12.066165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_55_2607.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_07_3045.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_21_2684.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_25_3670.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_28_2626.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_40_3701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/54/image_04112025_18_54_55_2607.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_07_3045.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_21_2684.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_25_3670.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_28_2626.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_40_3701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039436","1402039430","1402039432","1402039429","1402039434","1402039428"],"photo_ids_order":["1402039428","1402039429","1402039430","1402039432","1402039434","1402039436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2cea9f86528b41013d3094689e268ee0.jpg","text":"TemporaryFile(/tmp/multipartBody2276506158555926891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292573835,"filename":"image_04112025_18_55_40_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/386d5a7563bd0947b9e678cc99e9ed66.jpg","text":"TemporaryFile(/tmp/multipartBody970066434691732095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292573835,"filename":"image_04112025_18_55_21_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6f5fb2e83592f351c1b0006f49bfe56.jpg","text":"TemporaryFile(/tmp/multipartBody3267277132182835098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292573835,"filename":"image_04112025_18_55_25_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1790c483343dcad225a74a96aae6c28.jpg","text":"TemporaryFile(/tmp/multipartBody1792260967568413418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292573835,"filename":"image_04112025_18_55_07_3045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34313894a9df7ad09aec8c35be28f915.jpg","text":"TemporaryFile(/tmp/multipartBody4170467390000005465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292573835,"filename":"image_04112025_18_55_28_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efdb84298c9418115f22dfe0f0348f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2149295983570885826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292573835,"filename":"image_04112025_18_54_55_2607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039430","file1":"1402039429","file0":"1402039428","file4":"1402039434","file5":"1402039436","file3":"1402039432"},"map_files_photo_id_array":[{"photo_id":"1402039436","filename":"file5"},{"photo_id":"1402039430","filename":"file2"},{"photo_id":"1402039434","filename":"file4"},{"photo_id":"1402039429","filename":"file1"},{"photo_id":"1402039428","filename":"file0"},{"photo_id":"1402039432","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039436":["hashtag1","hashtag2"]},{"1402039430":["hashtag1","hashtag2"]},{"1402039432":["hashtag1","hashtag2"]},{"1402039429":["hashtag1","hashtag2"]},{"1402039434":["hashtag1","hashtag2"]},{"1402039428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039436, 1402039430, 1402039432, 1402039429, 1402039434, 1402039428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16255521774292 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:36:02.608303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_55_10633.jpg', '/home/pi/Desktop/images/01012026/19/09/image_01012026_19_10_04_9621.jpg', '/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_15_10589.jpg', '/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_25_9802.jpg', '/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_34_9764.jpg', '/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_44_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/09/image_01012026_19_09_55_10633.jpg
/home/pi/Desktop/images/01012026/19/09/image_01012026_19_10_04_9621.jpg
/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_15_10589.jpg
/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_25_9802.jpg
/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_34_9764.jpg
/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_44_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":["1402039442","1402039445","1402039447","1402039441","1402039444","1402039443"],"photo_ids_order":["1402039441","1402039442","1402039443","1402039444","1402039445","1402039447"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73d23938f0daf302d638a9109c5042b4.jpg","text":"TemporaryFile(/tmp/multipartBody8360346746891856431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292623203,"filename":"image_01012026_19_10_04_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5dd8bbcf3ebcdc846fbdd475cbd5a39.jpg","text":"TemporaryFile(/tmp/multipartBody4948213635567362206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292623203,"filename":"image_01012026_19_10_34_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ce9830a7314161dae8dd498c520eac1.jpg","text":"TemporaryFile(/tmp/multipartBody3539683904074081263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292623203,"filename":"image_01012026_19_10_44_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebf3a73676f3efbb39d57ba3e4958f81.jpg","text":"TemporaryFile(/tmp/multipartBody7687610275657206504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292623203,"filename":"image_01012026_19_09_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66bd110f0348b981e0a7c24592413da7.jpg","text":"TemporaryFile(/tmp/multipartBody5756379784488007397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292623203,"filename":"image_01012026_19_10_25_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fec07f79c4329182c9704153cee64957.jpg","text":"TemporaryFile(/tmp/multipartBody4448870465011316755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292623203,"filename":"image_01012026_19_10_15_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039443","file1":"1402039442","file0":"1402039441","file4":"1402039445","file5":"1402039447","file3":"1402039444"},"map_files_photo_id_array":[{"photo_id":"1402039447","filename":"file5"},{"photo_id":"1402039443","filename":"file2"},{"photo_id":"1402039445","filename":"file4"},{"photo_id":"1402039442","filename":"file1"},{"photo_id":"1402039441","filename":"file0"},{"photo_id":"1402039444","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039442":["hashtag1","hashtag2"]},{"1402039445":["hashtag1","hashtag2"]},{"1402039447":["hashtag1","hashtag2"]},{"1402039441":["hashtag1","hashtag2"]},{"1402039444":["hashtag1","hashtag2"]},{"1402039443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039442, 1402039445, 1402039447, 1402039441, 1402039444, 1402039443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.066333293914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:36:42.255498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_43_2667.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_49_3640.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_52_2729.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_55_2747.jpg', '/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_57_2718.jpg', '/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_09_2815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_43_2667.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_49_3640.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_52_2729.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_55_2747.jpg
/home/pi/Desktop/images/04112025/18/55/image_04112025_18_55_57_2718.jpg
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_09_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":["1402039454","1402039457","1402039453","1402039456","1402039458","1402039455"],"photo_ids_order":["1402039453","1402039454","1402039455","1402039456","1402039457","1402039458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad221c7b1b822c38515dda3060568f43.jpg","text":"TemporaryFile(/tmp/multipartBody6903192138650874288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292664158,"filename":"image_04112025_18_55_49_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4814da9ee4e193abe2f4cb0b744120f.jpg","text":"TemporaryFile(/tmp/multipartBody3822193355034684741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292664158,"filename":"image_04112025_18_55_57_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/579408727b2c74957bf108ecd4993ac5.jpg","text":"TemporaryFile(/tmp/multipartBody6019090715818875405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292664158,"filename":"image_04112025_18_55_43_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e13bf0949be7ee64635408e9e578ad0.jpg","text":"TemporaryFile(/tmp/multipartBody5963619585327650680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292664158,"filename":"image_04112025_18_55_55_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b620a68f9b3a7fe3b19b67a540ba4d17.jpg","text":"TemporaryFile(/tmp/multipartBody6877060515944284016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292664158,"filename":"image_04112025_18_56_09_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f07be9791f01129a8d00c91a4a1f78ac.jpg","text":"TemporaryFile(/tmp/multipartBody51136399408809060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292664158,"filename":"image_04112025_18_55_52_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039455","file1":"1402039454","file0":"1402039453","file4":"1402039457","file5":"1402039458","file3":"1402039456"},"map_files_photo_id_array":[{"photo_id":"1402039458","filename":"file5"},{"photo_id":"1402039455","filename":"file2"},{"photo_id":"1402039457","filename":"file4"},{"photo_id":"1402039454","filename":"file1"},{"photo_id":"1402039453","filename":"file0"},{"photo_id":"1402039456","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039454":["hashtag1","hashtag2"]},{"1402039457":["hashtag1","hashtag2"]},{"1402039453":["hashtag1","hashtag2"]},{"1402039456":["hashtag1","hashtag2"]},{"1402039458":["hashtag1","hashtag2"]},{"1402039455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039454, 1402039457, 1402039453, 1402039456, 1402039458, 1402039455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.323408365249634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:37:22.400028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_55_10681.jpg', '/home/pi/Desktop/images/01012026/19/10/image_01012026_19_11_05_9731.jpg', '/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_14_9637.jpg', '/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_24_9740.jpg', '/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_35_10730.jpg', '/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_44_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/10/image_01012026_19_10_55_10681.jpg
/home/pi/Desktop/images/01012026/19/10/image_01012026_19_11_05_9731.jpg
/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_14_9637.jpg
/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_24_9740.jpg
/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_35_10730.jpg
/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_44_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":["1402039460","1402039463","1402039465","1402039462","1402039470","1402039467"],"photo_ids_order":["1402039460","1402039462","1402039463","1402039465","1402039467","1402039470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a599f386fa6abae36e0d3ce83aa8e977.jpg","text":"TemporaryFile(/tmp/multipartBody2293846577994147823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292702981,"filename":"image_01012026_19_10_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed2f0f70ad5feb82f9d8c7965dd0864d.jpg","text":"TemporaryFile(/tmp/multipartBody8172159280164163537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292702981,"filename":"image_01012026_19_11_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91f42e56ca6ad171e961cc4cea3bc4e8.jpg","text":"TemporaryFile(/tmp/multipartBody3060577932301633854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292702981,"filename":"image_01012026_19_11_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d222ebc5997f9077da6839b079f23c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5446070992874363547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292702981,"filename":"image_01012026_19_11_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6436bf4be0e39fa538a45de4c8c391bf.jpg","text":"TemporaryFile(/tmp/multipartBody1144795939513334733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292702981,"filename":"image_01012026_19_11_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ab528404e9818be2206cdf9be2dab5c.jpg","text":"TemporaryFile(/tmp/multipartBody4313298845764028747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292702981,"filename":"image_01012026_19_11_35_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039463","file1":"1402039462","file0":"1402039460","file4":"1402039467","file5":"1402039470","file3":"1402039465"},"map_files_photo_id_array":[{"photo_id":"1402039470","filename":"file5"},{"photo_id":"1402039463","filename":"file2"},{"photo_id":"1402039467","filename":"file4"},{"photo_id":"1402039462","filename":"file1"},{"photo_id":"1402039460","filename":"file0"},{"photo_id":"1402039465","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039460":["hashtag1","hashtag2"]},{"1402039463":["hashtag1","hashtag2"]},{"1402039465":["hashtag1","hashtag2"]},{"1402039462":["hashtag1","hashtag2"]},{"1402039470":["hashtag1","hashtag2"]},{"1402039467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039460, 1402039463, 1402039465, 1402039462, 1402039470, 1402039467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.246726274490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:38:03.125331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_54_9601.jpg', '/home/pi/Desktop/images/01012026/19/11/image_01012026_19_12_04_9817.jpg', '/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_15_10723.jpg', '/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_24_9693.jpg', '/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_34_9914.jpg', '/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_44_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/11/image_01012026_19_11_54_9601.jpg
/home/pi/Desktop/images/01012026/19/11/image_01012026_19_12_04_9817.jpg
/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_15_10723.jpg
/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_24_9693.jpg
/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_34_9914.jpg
/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_44_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":["1402039475","1402039477","1402039474","1402039476","1402039479","1402039473"],"photo_ids_order":["1402039473","1402039474","1402039475","1402039476","1402039477","1402039479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49cb2fbf07887338b91d93da7ebb692b.jpg","text":"TemporaryFile(/tmp/multipartBody8461843282160574835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292743728,"filename":"image_01012026_19_12_15_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abdcbc1f98685be835eacd82094a076b.jpg","text":"TemporaryFile(/tmp/multipartBody8650084888257060196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292743728,"filename":"image_01012026_19_12_34_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f2b0c1aebb8fd13bd36d82aa915cb35.jpg","text":"TemporaryFile(/tmp/multipartBody3483876133017399322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292743728,"filename":"image_01012026_19_12_04_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/409152188fd3b0b1f7aec857f8fd51c8.jpg","text":"TemporaryFile(/tmp/multipartBody2885503296622830924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292743728,"filename":"image_01012026_19_12_24_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ab2d2fc711e6c1558aedd7e8d5e2a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7418960498191824305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292743728,"filename":"image_01012026_19_12_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9316f636a5a0de6d672964bc3f24563b.jpg","text":"TemporaryFile(/tmp/multipartBody6226782635813421821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292743728,"filename":"image_01012026_19_11_54_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039475","file1":"1402039474","file0":"1402039473","file4":"1402039477","file5":"1402039479","file3":"1402039476"},"map_files_photo_id_array":[{"photo_id":"1402039479","filename":"file5"},{"photo_id":"1402039475","filename":"file2"},{"photo_id":"1402039477","filename":"file4"},{"photo_id":"1402039474","filename":"file1"},{"photo_id":"1402039473","filename":"file0"},{"photo_id":"1402039476","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039475":["hashtag1","hashtag2"]},{"1402039477":["hashtag1","hashtag2"]},{"1402039474":["hashtag1","hashtag2"]},{"1402039476":["hashtag1","hashtag2"]},{"1402039479":["hashtag1","hashtag2"]},{"1402039473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039475, 1402039477, 1402039474, 1402039476, 1402039479, 1402039473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96622157096863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:38:42.603517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_16_2560.jpg', '/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_18_2886.jpg', '/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_21_2862.jpg', '/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_25_3512.jpg', '/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_36_2608.jpg', '/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_40_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_16_2560.jpg
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_18_2886.jpg
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_21_2862.jpg
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_25_3512.jpg
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_36_2608.jpg
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_40_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":["1402039490","1402039487","1402039489","1402039491","1402039488","1402039485"],"photo_ids_order":["1402039485","1402039487","1402039488","1402039489","1402039490","1402039491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4267b6eef3fff7dd96172bdf545eb54.jpg","text":"TemporaryFile(/tmp/multipartBody3192436666698755660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292784495,"filename":"image_04112025_18_56_36_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbbfd3b5c60abe0cedece8fee7e2f073.jpg","text":"TemporaryFile(/tmp/multipartBody585187932161675810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292784495,"filename":"image_04112025_18_56_18_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3bfce9c41253e326709c57d8debd562.jpg","text":"TemporaryFile(/tmp/multipartBody2046209319836460659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292784495,"filename":"image_04112025_18_56_25_3512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb25fa38433360431180216d03761302.jpg","text":"TemporaryFile(/tmp/multipartBody7156235419665389691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292784495,"filename":"image_04112025_18_56_40_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af8dbbc241d21306baa4adfbeda0f541.jpg","text":"TemporaryFile(/tmp/multipartBody1656512039020599097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292784495,"filename":"image_04112025_18_56_21_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4b7486e7398a299111bfb181d8defa4.jpg","text":"TemporaryFile(/tmp/multipartBody7286535963351528046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292784495,"filename":"image_04112025_18_56_16_2560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039488","file1":"1402039487","file0":"1402039485","file4":"1402039490","file5":"1402039491","file3":"1402039489"},"map_files_photo_id_array":[{"photo_id":"1402039491","filename":"file5"},{"photo_id":"1402039488","filename":"file2"},{"photo_id":"1402039490","filename":"file4"},{"photo_id":"1402039487","filename":"file1"},{"photo_id":"1402039485","filename":"file0"},{"photo_id":"1402039489","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039490":["hashtag1","hashtag2"]},{"1402039487":["hashtag1","hashtag2"]},{"1402039489":["hashtag1","hashtag2"]},{"1402039491":["hashtag1","hashtag2"]},{"1402039488":["hashtag1","hashtag2"]},{"1402039485":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039490, 1402039487, 1402039489, 1402039491, 1402039488, 1402039485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53080749511719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:39:22.724532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_55_10644.jpg', '/home/pi/Desktop/images/01012026/19/12/image_01012026_19_13_04_9914.jpg', '/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_14_9631.jpg', '/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_25_10631.jpg', '/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_34_9608.jpg', '/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_44_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/12/image_01012026_19_12_55_10644.jpg
/home/pi/Desktop/images/01012026/19/12/image_01012026_19_13_04_9914.jpg
/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_14_9631.jpg
/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_25_10631.jpg
/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_34_9608.jpg
/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_44_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":["1402039499","1402039503","1402039495","1402039501","1402039497","1402039506"],"photo_ids_order":["1402039495","1402039497","1402039499","1402039501","1402039503","1402039506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa83f27d25e2609fc5455d51e7e0ad7b.jpg","text":"TemporaryFile(/tmp/multipartBody8419243728382727339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292823304,"filename":"image_01012026_19_13_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e866979eb00398748287e9cd417e72b.jpg","text":"TemporaryFile(/tmp/multipartBody2641693294653774976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292823304,"filename":"image_01012026_19_13_34_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0beae9d49fe84a1953da026614402272.jpg","text":"TemporaryFile(/tmp/multipartBody4656588970320583906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292823304,"filename":"image_01012026_19_12_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90c5996dd01e4d10173b8941ec0e644f.jpg","text":"TemporaryFile(/tmp/multipartBody3448950960383080790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292823304,"filename":"image_01012026_19_13_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25f3443763d8f9fa927f01b886d21621.jpg","text":"TemporaryFile(/tmp/multipartBody8217495032314438666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292823304,"filename":"image_01012026_19_13_04_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64420c38f26edc200a66a3db607c3a45.jpg","text":"TemporaryFile(/tmp/multipartBody7516545459969196693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292823304,"filename":"image_01012026_19_13_44_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039499","file1":"1402039497","file0":"1402039495","file4":"1402039503","file5":"1402039506","file3":"1402039501"},"map_files_photo_id_array":[{"photo_id":"1402039506","filename":"file5"},{"photo_id":"1402039499","filename":"file2"},{"photo_id":"1402039503","filename":"file4"},{"photo_id":"1402039497","filename":"file1"},{"photo_id":"1402039495","filename":"file0"},{"photo_id":"1402039501","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039499":["hashtag1","hashtag2"]},{"1402039503":["hashtag1","hashtag2"]},{"1402039495":["hashtag1","hashtag2"]},{"1402039501":["hashtag1","hashtag2"]},{"1402039497":["hashtag1","hashtag2"]},{"1402039506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039499, 1402039503, 1402039495, 1402039501, 1402039497, 1402039506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52517247200012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:40:02.313930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_55_10636.jpg', '/home/pi/Desktop/images/01012026/19/13/image_01012026_19_14_04_9591.jpg', '/home/pi/Desktop/images/01012026/19/14/image_01012026_19_14_14_9729.jpg', '/home/pi/Desktop/images/01012026/19/14/image_01012026_19_14_25_10538.jpg', '/home/pi/Desktop/images/01012026/19/14/image_01012026_19_14_34_9801.jpg', '/home/pi/Desktop/images/01012026/19/14/image_01012026_19_14_55_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/13/image_01012026_19_13_55_10636.jpg
/home/pi/Desktop/images/01012026/19/13/image_01012026_19_14_04_9591.jpg
/home/pi/Desktop/images/01012026/19/14/image_01012026_19_14_14_9729.jpg
/home/pi/Desktop/images/01012026/19/14/image_01012026_19_14_25_10538.jpg
/home/pi/Desktop/images/01012026/19/14/image_01012026_19_14_34_9801.jpg
/home/pi/Desktop/images/01012026/19/14/image_01012026_19_14_55_10732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039509","1402039511","1402039514","1402039508","1402039516","1402039512"],"photo_ids_order":["1402039508","1402039509","1402039511","1402039512","1402039514","1402039516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/283f59a2b7094c87c6859e6bab38c027.jpg","text":"TemporaryFile(/tmp/multipartBody2018332532154833117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292862932,"filename":"image_01012026_19_14_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a571a841f9220172d724cef640dbc85.jpg","text":"TemporaryFile(/tmp/multipartBody1974227484933539420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292862932,"filename":"image_01012026_19_14_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc5d7abfcacefe631264ab002d5a0b21.jpg","text":"TemporaryFile(/tmp/multipartBody4746652330413699994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292862932,"filename":"image_01012026_19_14_34_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fc58dbbcfc47e4da7bfa9f04cd023bd.jpg","text":"TemporaryFile(/tmp/multipartBody7392175327705549134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292862932,"filename":"image_01012026_19_13_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dba99a8459a7baa19b5ede9ad72a0b37.jpg","text":"TemporaryFile(/tmp/multipartBody6337517702264010268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292862932,"filename":"image_01012026_19_14_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46d6fcb65c323011d700799f3316714c.jpg","text":"TemporaryFile(/tmp/multipartBody2999520681424720040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292862932,"filename":"image_01012026_19_14_25_10538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039511","file1":"1402039509","file0":"1402039508","file4":"1402039514","file5":"1402039516","file3":"1402039512"},"map_files_photo_id_array":[{"photo_id":"1402039516","filename":"file5"},{"photo_id":"1402039511","filename":"file2"},{"photo_id":"1402039514","filename":"file4"},{"photo_id":"1402039509","filename":"file1"},{"photo_id":"1402039508","filename":"file0"},{"photo_id":"1402039512","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039509":["hashtag1","hashtag2"]},{"1402039511":["hashtag1","hashtag2"]},{"1402039514":["hashtag1","hashtag2"]},{"1402039508":["hashtag1","hashtag2"]},{"1402039516":["hashtag1","hashtag2"]},{"1402039512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039509, 1402039511, 1402039514, 1402039508, 1402039516, 1402039512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.659757137298584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:40:41.931213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_49_3631.jpg', '/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_54_2754.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_01_3459.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_04_2832.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_07_2711.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_10_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_49_3631.jpg
/home/pi/Desktop/images/04112025/18/56/image_04112025_18_56_54_2754.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_01_3459.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_04_2832.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_07_2711.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_10_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039529","1402039526","1402039522","1402039525","1402039524","1402039527"],"photo_ids_order":["1402039522","1402039524","1402039525","1402039526","1402039527","1402039529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed53aef29cff7158fe65bf7ddc596155.jpg","text":"TemporaryFile(/tmp/multipartBody2219768600608449180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292903816,"filename":"image_04112025_18_57_10_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7171c0f2b70a68386b9a2d526648ae1a.jpg","text":"TemporaryFile(/tmp/multipartBody7824252010380374064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292903816,"filename":"image_04112025_18_57_04_2832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f7e6ad8db0d0282d0f5c8b267d648d8.jpg","text":"TemporaryFile(/tmp/multipartBody7616842204034864166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292903816,"filename":"image_04112025_18_56_49_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5b8cf1a7aa480c29f0ef5468b00f314.jpg","text":"TemporaryFile(/tmp/multipartBody1278057185857281878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292903816,"filename":"image_04112025_18_57_01_3459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25e2fc0a5aca4f7dbfa09ef8cdfa6618.jpg","text":"TemporaryFile(/tmp/multipartBody647560433909182663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292903816,"filename":"image_04112025_18_56_54_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c135a68835528261b41f0a4ec0ae9cf.jpg","text":"TemporaryFile(/tmp/multipartBody3042609626279846349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292903816,"filename":"image_04112025_18_57_07_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039525","file1":"1402039524","file0":"1402039522","file4":"1402039527","file5":"1402039529","file3":"1402039526"},"map_files_photo_id_array":[{"photo_id":"1402039529","filename":"file5"},{"photo_id":"1402039525","filename":"file2"},{"photo_id":"1402039527","filename":"file4"},{"photo_id":"1402039524","filename":"file1"},{"photo_id":"1402039522","filename":"file0"},{"photo_id":"1402039526","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039529":["hashtag1","hashtag2"]},{"1402039526":["hashtag1","hashtag2"]},{"1402039522":["hashtag1","hashtag2"]},{"1402039525":["hashtag1","hashtag2"]},{"1402039524":["hashtag1","hashtag2"]},{"1402039527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039529, 1402039526, 1402039522, 1402039525, 1402039524, 1402039527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.636149644851685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:41:22.266196
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/14/image_01012026_19_15_04_9564.jpg', '/home/pi/Desktop/images/01012026/19/15/image_01012026_19_15_14_9671.jpg', '/home/pi/Desktop/images/01012026/19/15/image_01012026_19_15_25_10676.jpg', '/home/pi/Desktop/images/01012026/19/15/image_01012026_19_15_34_9698.jpg', '/home/pi/Desktop/images/01012026/19/15/image_01012026_19_16_05_9690.jpg', '/home/pi/Desktop/images/01012026/19/16/image_01012026_19_16_14_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/14/image_01012026_19_15_04_9564.jpg
/home/pi/Desktop/images/01012026/19/15/image_01012026_19_15_14_9671.jpg
/home/pi/Desktop/images/01012026/19/15/image_01012026_19_15_25_10676.jpg
/home/pi/Desktop/images/01012026/19/15/image_01012026_19_15_34_9698.jpg
/home/pi/Desktop/images/01012026/19/15/image_01012026_19_16_05_9690.jpg
/home/pi/Desktop/images/01012026/19/16/image_01012026_19_16_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":["1402039538","1402039532","1402039540","1402039534","1402039536","1402039530"],"photo_ids_order":["1402039530","1402039532","1402039534","1402039536","1402039538","1402039540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/814d704b42740fa621ae2f4e1b35f29f.jpg","text":"TemporaryFile(/tmp/multipartBody6430045433099522079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292942879,"filename":"image_01012026_19_16_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e63ee42530f241fb25cd4dd0c88144ef.jpg","text":"TemporaryFile(/tmp/multipartBody6539562149108476605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292942879,"filename":"image_01012026_19_15_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c5adf469571a437e97e77228cd21460.jpg","text":"TemporaryFile(/tmp/multipartBody6473352578546324915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292942879,"filename":"image_01012026_19_16_14_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45f6309546640852679593cd49241153.jpg","text":"TemporaryFile(/tmp/multipartBody301247271634700475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292942879,"filename":"image_01012026_19_15_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe20d35ed6a6126cdee6684d2157aaf4.jpg","text":"TemporaryFile(/tmp/multipartBody7028048706872121724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292942879,"filename":"image_01012026_19_15_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7198c8799ef21fbfb18257d217159ff.jpg","text":"TemporaryFile(/tmp/multipartBody125128467455232299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292942879,"filename":"image_01012026_19_15_04_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039534","file1":"1402039532","file0":"1402039530","file4":"1402039538","file5":"1402039540","file3":"1402039536"},"map_files_photo_id_array":[{"photo_id":"1402039540","filename":"file5"},{"photo_id":"1402039534","filename":"file2"},{"photo_id":"1402039538","filename":"file4"},{"photo_id":"1402039532","filename":"file1"},{"photo_id":"1402039530","filename":"file0"},{"photo_id":"1402039536","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039538":["hashtag1","hashtag2"]},{"1402039532":["hashtag1","hashtag2"]},{"1402039540":["hashtag1","hashtag2"]},{"1402039534":["hashtag1","hashtag2"]},{"1402039536":["hashtag1","hashtag2"]},{"1402039530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039538, 1402039532, 1402039540, 1402039534, 1402039536, 1402039530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95384955406189 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:42:02.801162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/16/image_01012026_19_16_24_9707.jpg', '/home/pi/Desktop/images/01012026/19/16/image_01012026_19_16_35_10749.jpg', '/home/pi/Desktop/images/01012026/19/16/image_01012026_19_16_44_9680.jpg', '/home/pi/Desktop/images/01012026/19/17/image_01012026_19_17_14_9846.jpg', '/home/pi/Desktop/images/01012026/19/17/image_01012026_19_17_35_10669.jpg', '/home/pi/Desktop/images/01012026/19/17/image_01012026_19_17_44_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/16/image_01012026_19_16_24_9707.jpg
/home/pi/Desktop/images/01012026/19/16/image_01012026_19_16_35_10749.jpg
/home/pi/Desktop/images/01012026/19/16/image_01012026_19_16_44_9680.jpg
/home/pi/Desktop/images/01012026/19/17/image_01012026_19_17_14_9846.jpg
/home/pi/Desktop/images/01012026/19/17/image_01012026_19_17_35_10669.jpg
/home/pi/Desktop/images/01012026/19/17/image_01012026_19_17_44_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":["1402039547","1402039544","1402039546","1402039549","1402039543","1402039542"],"photo_ids_order":["1402039542","1402039543","1402039544","1402039546","1402039547","1402039549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ea1446d7d6c4c79aace0f21035f617d.jpg","text":"TemporaryFile(/tmp/multipartBody2394588516204809321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292983392,"filename":"image_01012026_19_17_35_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2aa38d04b71ed41f472c47e5c5348060.jpg","text":"TemporaryFile(/tmp/multipartBody2238644556373672528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292983392,"filename":"image_01012026_19_16_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/096cff26e95e222bcc966e945aa84e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2367406910631389557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292983392,"filename":"image_01012026_19_17_14_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aaaedece474acea9166dfecf36c2dd5e.jpg","text":"TemporaryFile(/tmp/multipartBody3754633822712942542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292983392,"filename":"image_01012026_19_17_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60761435c5660ad312387046bb48eed3.jpg","text":"TemporaryFile(/tmp/multipartBody2086390412791723446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292983392,"filename":"image_01012026_19_16_35_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d76f7148b41c9c4bb0f58cc67d2e000.jpg","text":"TemporaryFile(/tmp/multipartBody1596955923868283230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767292983392,"filename":"image_01012026_19_16_24_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039544","file1":"1402039543","file0":"1402039542","file4":"1402039547","file5":"1402039549","file3":"1402039546"},"map_files_photo_id_array":[{"photo_id":"1402039549","filename":"file5"},{"photo_id":"1402039544","filename":"file2"},{"photo_id":"1402039547","filename":"file4"},{"photo_id":"1402039543","filename":"file1"},{"photo_id":"1402039542","filename":"file0"},{"photo_id":"1402039546","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039547":["hashtag1","hashtag2"]},{"1402039544":["hashtag1","hashtag2"]},{"1402039546":["hashtag1","hashtag2"]},{"1402039549":["hashtag1","hashtag2"]},{"1402039543":["hashtag1","hashtag2"]},{"1402039542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039547, 1402039544, 1402039546, 1402039549, 1402039543, 1402039542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72740340232849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:42:42.444855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_16_3809.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_21_2629.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_25_3592.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_28_2602.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_37_2687.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_46_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_16_3809.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_21_2629.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_25_3592.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_28_2602.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_37_2687.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_46_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":["1402039556","1402039559","1402039558","1402039560","1402039554","1402039557"],"photo_ids_order":["1402039554","1402039556","1402039557","1402039558","1402039559","1402039560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0fbb4fc6eabbfb0cae90f016b7421005.jpg","text":"TemporaryFile(/tmp/multipartBody5999034700103563333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293024347,"filename":"image_04112025_18_57_21_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc40b9bda033b1da48f60560b03950d5.jpg","text":"TemporaryFile(/tmp/multipartBody546244043895121442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293024347,"filename":"image_04112025_18_57_37_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80211ad784aec284b6bebbd4c3335938.jpg","text":"TemporaryFile(/tmp/multipartBody5536355018623742822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293024347,"filename":"image_04112025_18_57_28_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/909cf00c5068e527f859b6abbd3d57a8.jpg","text":"TemporaryFile(/tmp/multipartBody3448559757370292189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293024347,"filename":"image_04112025_18_57_46_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7840fc2639f028c5da14fc3b7e4cd6a3.jpg","text":"TemporaryFile(/tmp/multipartBody8597371385625467146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293024347,"filename":"image_04112025_18_57_16_3809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35dffa0f3a47a21eadea850c16b5ea39.jpg","text":"TemporaryFile(/tmp/multipartBody69159773321337313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293024347,"filename":"image_04112025_18_57_25_3592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039557","file1":"1402039556","file0":"1402039554","file4":"1402039559","file5":"1402039560","file3":"1402039558"},"map_files_photo_id_array":[{"photo_id":"1402039560","filename":"file5"},{"photo_id":"1402039557","filename":"file2"},{"photo_id":"1402039559","filename":"file4"},{"photo_id":"1402039556","filename":"file1"},{"photo_id":"1402039554","filename":"file0"},{"photo_id":"1402039558","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039556":["hashtag1","hashtag2"]},{"1402039559":["hashtag1","hashtag2"]},{"1402039558":["hashtag1","hashtag2"]},{"1402039560":["hashtag1","hashtag2"]},{"1402039554":["hashtag1","hashtag2"]},{"1402039557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039556, 1402039559, 1402039558, 1402039560, 1402039554, 1402039557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95931696891785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:43:22.571833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/17/image_01012026_19_17_54_9766.jpg', '/home/pi/Desktop/images/01012026/19/17/image_01012026_19_18_05_10519.jpg', '/home/pi/Desktop/images/01012026/19/18/image_01012026_19_18_15_9721.jpg', '/home/pi/Desktop/images/01012026/19/18/image_01012026_19_18_24_9708.jpg', '/home/pi/Desktop/images/01012026/19/18/image_01012026_19_18_44_10562.jpg', '/home/pi/Desktop/images/01012026/19/18/image_01012026_19_18_54_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/17/image_01012026_19_17_54_9766.jpg
/home/pi/Desktop/images/01012026/19/17/image_01012026_19_18_05_10519.jpg
/home/pi/Desktop/images/01012026/19/18/image_01012026_19_18_15_9721.jpg
/home/pi/Desktop/images/01012026/19/18/image_01012026_19_18_24_9708.jpg
/home/pi/Desktop/images/01012026/19/18/image_01012026_19_18_44_10562.jpg
/home/pi/Desktop/images/01012026/19/18/image_01012026_19_18_54_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":["1402039568","1402039562","1402039570","1402039564","1402039572","1402039566"],"photo_ids_order":["1402039562","1402039564","1402039566","1402039568","1402039570","1402039572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/627e2e06880a8fc10c66e9c1d151f096.jpg","text":"TemporaryFile(/tmp/multipartBody3917404833792387179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293063180,"filename":"image_01012026_19_18_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7fc28180b21a26af9abf09ea79bf80e.jpg","text":"TemporaryFile(/tmp/multipartBody2196014328028545830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293063180,"filename":"image_01012026_19_17_54_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c74a6802aa296850f9a0e497b387340.jpg","text":"TemporaryFile(/tmp/multipartBody2123858673624813374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293063180,"filename":"image_01012026_19_18_44_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c16c23c1ed0a26ca9617b4062807f65.jpg","text":"TemporaryFile(/tmp/multipartBody1468100348264100277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293063180,"filename":"image_01012026_19_18_05_10519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26b6e6a05d73073976a415c9eaad2cd3.jpg","text":"TemporaryFile(/tmp/multipartBody3751385278345357722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293063180,"filename":"image_01012026_19_18_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bc47655886672e51d2e3dbc3a51a262.jpg","text":"TemporaryFile(/tmp/multipartBody5793768437223525287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293063180,"filename":"image_01012026_19_18_15_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039566","file1":"1402039564","file0":"1402039562","file4":"1402039570","file5":"1402039572","file3":"1402039568"},"map_files_photo_id_array":[{"photo_id":"1402039572","filename":"file5"},{"photo_id":"1402039566","filename":"file2"},{"photo_id":"1402039570","filename":"file4"},{"photo_id":"1402039564","filename":"file1"},{"photo_id":"1402039562","filename":"file0"},{"photo_id":"1402039568","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039568":["hashtag1","hashtag2"]},{"1402039562":["hashtag1","hashtag2"]},{"1402039570":["hashtag1","hashtag2"]},{"1402039564":["hashtag1","hashtag2"]},{"1402039572":["hashtag1","hashtag2"]},{"1402039566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039568, 1402039562, 1402039570, 1402039564, 1402039572, 1402039566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80395030975342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:44:02.386203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/18/image_01012026_19_19_05_10672.jpg', '/home/pi/Desktop/images/01012026/19/19/image_01012026_19_19_24_9569.jpg', '/home/pi/Desktop/images/01012026/19/19/image_01012026_19_19_35_10726.jpg', '/home/pi/Desktop/images/01012026/19/19/image_01012026_19_19_44_9694.jpg', '/home/pi/Desktop/images/01012026/19/19/image_01012026_19_19_54_9682.jpg', '/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_14_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/18/image_01012026_19_19_05_10672.jpg
/home/pi/Desktop/images/01012026/19/19/image_01012026_19_19_24_9569.jpg
/home/pi/Desktop/images/01012026/19/19/image_01012026_19_19_35_10726.jpg
/home/pi/Desktop/images/01012026/19/19/image_01012026_19_19_44_9694.jpg
/home/pi/Desktop/images/01012026/19/19/image_01012026_19_19_54_9682.jpg
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_14_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":["1402039580","1402039582","1402039576","1402039579","1402039575","1402039578"],"photo_ids_order":["1402039575","1402039576","1402039578","1402039579","1402039580","1402039582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe1da3098bbde508978113edcdb9e9fc.jpg","text":"TemporaryFile(/tmp/multipartBody967025863576098000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293103045,"filename":"image_01012026_19_19_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ad5ee81c846445ea2c09465a843fe85.jpg","text":"TemporaryFile(/tmp/multipartBody8918382058258430079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293103045,"filename":"image_01012026_19_20_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c863c84dd76b216fa75d2906ad58096.jpg","text":"TemporaryFile(/tmp/multipartBody7708558196224051422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293103045,"filename":"image_01012026_19_19_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3d3ff581abcf29ee1b155cfa5878b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7878654859147192124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293103045,"filename":"image_01012026_19_19_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/599ebfd9d773fe0e53e9ddab5d63179f.jpg","text":"TemporaryFile(/tmp/multipartBody1035331882439326221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293103045,"filename":"image_01012026_19_19_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/693e28ddf4ca2a033c3aec025e2324ae.jpg","text":"TemporaryFile(/tmp/multipartBody3332115725879072351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293103045,"filename":"image_01012026_19_19_35_10726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039578","file1":"1402039576","file0":"1402039575","file4":"1402039580","file5":"1402039582","file3":"1402039579"},"map_files_photo_id_array":[{"photo_id":"1402039582","filename":"file5"},{"photo_id":"1402039578","filename":"file2"},{"photo_id":"1402039580","filename":"file4"},{"photo_id":"1402039576","filename":"file1"},{"photo_id":"1402039575","filename":"file0"},{"photo_id":"1402039579","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039580":["hashtag1","hashtag2"]},{"1402039582":["hashtag1","hashtag2"]},{"1402039576":["hashtag1","hashtag2"]},{"1402039579":["hashtag1","hashtag2"]},{"1402039575":["hashtag1","hashtag2"]},{"1402039578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039580, 1402039582, 1402039576, 1402039579, 1402039575, 1402039578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.875410079956055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:44:41.909843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_52_3677.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_55_2905.jpg', '/home/pi/Desktop/images/04112025/18/57/image_04112025_18_58_00_2646.jpg', '/home/pi/Desktop/images/04112025/18/58/image_04112025_18_58_04_3558.jpg', '/home/pi/Desktop/images/04112025/18/58/image_04112025_18_58_55_3656.jpg', '/home/pi/Desktop/images/04112025/18/58/image_04112025_18_58_57_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_52_3677.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_57_55_2905.jpg
/home/pi/Desktop/images/04112025/18/57/image_04112025_18_58_00_2646.jpg
/home/pi/Desktop/images/04112025/18/58/image_04112025_18_58_04_3558.jpg
/home/pi/Desktop/images/04112025/18/58/image_04112025_18_58_55_3656.jpg
/home/pi/Desktop/images/04112025/18/58/image_04112025_18_58_57_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":["1402039592","1402039595","1402039589","1402039594","1402039591","1402039593"],"photo_ids_order":["1402039589","1402039591","1402039592","1402039593","1402039594","1402039595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80525c1e7fcb2912912fd89489edae09.jpg","text":"TemporaryFile(/tmp/multipartBody6133074667831885480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293143819,"filename":"image_04112025_18_58_00_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/950851048f55607f5b599a997fdc9269.jpg","text":"TemporaryFile(/tmp/multipartBody2284109151243316742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293143819,"filename":"image_04112025_18_58_57_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44e79922a09665b3f568f982e892f282.jpg","text":"TemporaryFile(/tmp/multipartBody2048917216411988016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293143819,"filename":"image_04112025_18_57_52_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/375c5a3cf50048f07c843895c1594b38.jpg","text":"TemporaryFile(/tmp/multipartBody8537468534278465994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293143819,"filename":"image_04112025_18_58_55_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e91b7c92440659b3ba6f5bd98cee039.jpg","text":"TemporaryFile(/tmp/multipartBody5325855854966277531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293143819,"filename":"image_04112025_18_57_55_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab0f3b0ab0d5f9dbcd9cf00fb3aa3b84.jpg","text":"TemporaryFile(/tmp/multipartBody4575745305226063113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293143819,"filename":"image_04112025_18_58_04_3558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039592","file1":"1402039591","file0":"1402039589","file4":"1402039594","file5":"1402039595","file3":"1402039593"},"map_files_photo_id_array":[{"photo_id":"1402039595","filename":"file5"},{"photo_id":"1402039592","filename":"file2"},{"photo_id":"1402039594","filename":"file4"},{"photo_id":"1402039591","filename":"file1"},{"photo_id":"1402039589","filename":"file0"},{"photo_id":"1402039593","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039592":["hashtag1","hashtag2"]},{"1402039595":["hashtag1","hashtag2"]},{"1402039589":["hashtag1","hashtag2"]},{"1402039594":["hashtag1","hashtag2"]},{"1402039591":["hashtag1","hashtag2"]},{"1402039593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039592, 1402039595, 1402039589, 1402039594, 1402039591, 1402039593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42221403121948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:45:22.094004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_24_9754.jpg', '/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_45_9713.jpg', '/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_54_9605.jpg', '/home/pi/Desktop/images/01012026/19/20/image_01012026_19_21_05_10662.jpg', '/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_15_9735.jpg', '/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_24_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_24_9754.jpg
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_45_9713.jpg
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_54_9605.jpg
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_21_05_10662.jpg
/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_15_9735.jpg
/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_24_9791.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.4784433841705322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:45:32.056376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_04_3709.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_12_2802.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_16_3888.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_19_2711.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_21_2695.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_28_3544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_04_3709.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_12_2802.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_16_3888.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_19_2711.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_21_2695.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_28_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":["1402039614","1402039602","1402039613","1402039612","1402039609","1402039605"],"photo_ids_order":["1402039602","1402039605","1402039609","1402039612","1402039613","1402039614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28a71588843e7a35d8d119a295f2cac3.jpg","text":"TemporaryFile(/tmp/multipartBody2425860854421262650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293193937,"filename":"image_04112025_18_59_28_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59181da1e515bfd2dfeadbf9a1c86d51.jpg","text":"TemporaryFile(/tmp/multipartBody5122523978490162355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293193937,"filename":"image_04112025_18_59_04_3709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce4f9429df8d3935f95674567c325153.jpg","text":"TemporaryFile(/tmp/multipartBody4403816499658243192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293193937,"filename":"image_04112025_18_59_21_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6bb4ba6b4eae3b82fbf76d86b629eb16.jpg","text":"TemporaryFile(/tmp/multipartBody1554196005685865821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293193937,"filename":"image_04112025_18_59_19_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/177f73426ea078be248de653e746d520.jpg","text":"TemporaryFile(/tmp/multipartBody7901246535728532983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293193937,"filename":"image_04112025_18_59_16_3888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46076b5d7ae699a56506204ad3d64cb2.jpg","text":"TemporaryFile(/tmp/multipartBody8727257030890893997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293193937,"filename":"image_04112025_18_59_12_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039609","file1":"1402039605","file0":"1402039602","file4":"1402039613","file5":"1402039614","file3":"1402039612"},"map_files_photo_id_array":[{"photo_id":"1402039614","filename":"file5"},{"photo_id":"1402039609","filename":"file2"},{"photo_id":"1402039613","filename":"file4"},{"photo_id":"1402039605","filename":"file1"},{"photo_id":"1402039602","filename":"file0"},{"photo_id":"1402039612","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039614":["hashtag1","hashtag2"]},{"1402039602":["hashtag1","hashtag2"]},{"1402039613":["hashtag1","hashtag2"]},{"1402039612":["hashtag1","hashtag2"]},{"1402039609":["hashtag1","hashtag2"]},{"1402039605":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039614, 1402039602, 1402039613, 1402039612, 1402039609, 1402039605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.391255140304565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:46:12.234723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_30_2719.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_37_3551.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_52_3715.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_54_2608.jpg', '/home/pi/Desktop/images/04112025/18/59/image_04112025_19_00_00_2915.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_30_2719.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_37_3551.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_52_3715.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_18_59_54_2608.jpg
/home/pi/Desktop/images/04112025/18/59/image_04112025_19_00_00_2915.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_08_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":["1402039622","1402039616","1402039619","1402039615","1402039618","1402039623"],"photo_ids_order":["1402039615","1402039616","1402039618","1402039619","1402039622","1402039623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f217d275ac9a1972f5bb33475ada7058.jpg","text":"TemporaryFile(/tmp/multipartBody111152500686584181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293233996,"filename":"image_04112025_19_00_00_2915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e73dfdd545632a95564f052539ed2def.jpg","text":"TemporaryFile(/tmp/multipartBody8217551744385556135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293233996,"filename":"image_04112025_18_59_37_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3a706191597e64318662d2d812539847.jpg","text":"TemporaryFile(/tmp/multipartBody1402956800908236548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293233996,"filename":"image_04112025_18_59_54_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ec0707743ae05ae52314e364e9a9d97.jpg","text":"TemporaryFile(/tmp/multipartBody6148209637270018721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293233996,"filename":"image_04112025_18_59_30_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25e87eba75a9cec8fd5f08991890f4fb.jpg","text":"TemporaryFile(/tmp/multipartBody1757062110697186934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293233996,"filename":"image_04112025_18_59_52_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3584b02d95092e228a29e383218ddb2a.jpg","text":"TemporaryFile(/tmp/multipartBody358730271744441678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293233996,"filename":"image_04112025_19_00_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039618","file1":"1402039616","file0":"1402039615","file4":"1402039622","file5":"1402039623","file3":"1402039619"},"map_files_photo_id_array":[{"photo_id":"1402039623","filename":"file5"},{"photo_id":"1402039618","filename":"file2"},{"photo_id":"1402039622","filename":"file4"},{"photo_id":"1402039616","filename":"file1"},{"photo_id":"1402039615","filename":"file0"},{"photo_id":"1402039619","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039622":["hashtag1","hashtag2"]},{"1402039616":["hashtag1","hashtag2"]},{"1402039619":["hashtag1","hashtag2"]},{"1402039615":["hashtag1","hashtag2"]},{"1402039618":["hashtag1","hashtag2"]},{"1402039623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039622, 1402039616, 1402039619, 1402039615, 1402039618, 1402039623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.076706409454346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:47:03.162580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_24_9754.jpg', '/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_45_9713.jpg', '/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_54_9605.jpg', '/home/pi/Desktop/images/01012026/19/20/image_01012026_19_21_05_10662.jpg', '/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_15_9735.jpg', '/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_24_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_24_9754.jpg
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_45_9713.jpg
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_20_54_9605.jpg
/home/pi/Desktop/images/01012026/19/20/image_01012026_19_21_05_10662.jpg
/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_15_9735.jpg
/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_24_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":["1402039629","1402039634","1402039631","1402039630","1402039627","1402039632"],"photo_ids_order":["1402039627","1402039629","1402039630","1402039631","1402039632","1402039634"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e58f9d39725dec65885451da80bdcec.jpg","text":"TemporaryFile(/tmp/multipartBody4220625120676822304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293283802,"filename":"image_01012026_19_20_45_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf48cc5865340cf53ca4a9f640e28a63.jpg","text":"TemporaryFile(/tmp/multipartBody3930892728888585383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293283802,"filename":"image_01012026_19_21_24_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e7ae4661bc9139be28654acd873d9a5.jpg","text":"TemporaryFile(/tmp/multipartBody6195367652834027737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293283802,"filename":"image_01012026_19_21_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a291592a79ebdccc904d5ab565b108a.jpg","text":"TemporaryFile(/tmp/multipartBody2860372988955650973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293283802,"filename":"image_01012026_19_20_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/675e5e6cfdeb179d411190b3314551a2.jpg","text":"TemporaryFile(/tmp/multipartBody2742078500663090321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293283802,"filename":"image_01012026_19_20_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/774d2ced2c60a343dcb88348e9cde7c0.jpg","text":"TemporaryFile(/tmp/multipartBody3925274897704488186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293283802,"filename":"image_01012026_19_21_15_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039630","file1":"1402039629","file0":"1402039627","file4":"1402039632","file5":"1402039634","file3":"1402039631"},"map_files_photo_id_array":[{"photo_id":"1402039634","filename":"file5"},{"photo_id":"1402039630","filename":"file2"},{"photo_id":"1402039632","filename":"file4"},{"photo_id":"1402039629","filename":"file1"},{"photo_id":"1402039627","filename":"file0"},{"photo_id":"1402039631","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039629":["hashtag1","hashtag2"]},{"1402039634":["hashtag1","hashtag2"]},{"1402039631":["hashtag1","hashtag2"]},{"1402039630":["hashtag1","hashtag2"]},{"1402039627":["hashtag1","hashtag2"]},{"1402039632":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039629, 1402039634, 1402039631, 1402039630, 1402039627, 1402039632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.791571378707886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:47:42.513708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_14_2544.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_17_2753.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_20_3759.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_23_2788.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_26_2648.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_35_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_14_2544.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_17_2753.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_20_3759.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_23_2788.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_26_2648.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_35_2658.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.7961065769195557 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:48:03.194923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_34_9573.jpg', '/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_54_9630.jpg', '/home/pi/Desktop/images/01012026/19/21/image_01012026_19_22_05_10598.jpg', '/home/pi/Desktop/images/01012026/19/22/image_01012026_19_22_24_9882.jpg', '/home/pi/Desktop/images/01012026/19/22/image_01012026_19_22_34_9632.jpg', '/home/pi/Desktop/images/01012026/19/22/image_01012026_19_22_45_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_34_9573.jpg
/home/pi/Desktop/images/01012026/19/21/image_01012026_19_21_54_9630.jpg
/home/pi/Desktop/images/01012026/19/21/image_01012026_19_22_05_10598.jpg
/home/pi/Desktop/images/01012026/19/22/image_01012026_19_22_24_9882.jpg
/home/pi/Desktop/images/01012026/19/22/image_01012026_19_22_34_9632.jpg
/home/pi/Desktop/images/01012026/19/22/image_01012026_19_22_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":["1402039652","1402039646","1402039649","1402039651","1402039654","1402039648"],"photo_ids_order":["1402039646","1402039648","1402039649","1402039651","1402039652","1402039654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c08f4e57b315516d304faebd83ba8bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8923600030744090128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293343821,"filename":"image_01012026_19_22_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c762811fc929322f580d69db28502f3.jpg","text":"TemporaryFile(/tmp/multipartBody2925359187514618709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293343821,"filename":"image_01012026_19_21_34_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0ec81ca74359d96e92a76f7af0f4ee8.jpg","text":"TemporaryFile(/tmp/multipartBody7886645103666151212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293343821,"filename":"image_01012026_19_22_05_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9eebe5a9b6dd4ffccbcfefd03782a28.jpg","text":"TemporaryFile(/tmp/multipartBody1751216847131304777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293343821,"filename":"image_01012026_19_22_24_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13ad342df70a36056c76ffc0813a70e0.jpg","text":"TemporaryFile(/tmp/multipartBody5706513809137609239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293343821,"filename":"image_01012026_19_22_45_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1739fd56a4611070059c8af163d58448.jpg","text":"TemporaryFile(/tmp/multipartBody8943298837169428931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293343821,"filename":"image_01012026_19_21_54_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039649","file1":"1402039648","file0":"1402039646","file4":"1402039652","file5":"1402039654","file3":"1402039651"},"map_files_photo_id_array":[{"photo_id":"1402039654","filename":"file5"},{"photo_id":"1402039649","filename":"file2"},{"photo_id":"1402039652","filename":"file4"},{"photo_id":"1402039648","filename":"file1"},{"photo_id":"1402039646","filename":"file0"},{"photo_id":"1402039651","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039652":["hashtag1","hashtag2"]},{"1402039646":["hashtag1","hashtag2"]},{"1402039649":["hashtag1","hashtag2"]},{"1402039651":["hashtag1","hashtag2"]},{"1402039654":["hashtag1","hashtag2"]},{"1402039648":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039652, 1402039646, 1402039649, 1402039651, 1402039654, 1402039648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.03019571304321 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:48:42.722352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_14_2544.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_17_2753.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_20_3759.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_23_2788.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_26_2648.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_35_2658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_14_2544.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_17_2753.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_20_3759.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_23_2788.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_26_2648.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_35_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":["1402039664","1402039661","1402039663","1402039662","1402039665","1402039659"],"photo_ids_order":["1402039659","1402039661","1402039662","1402039663","1402039664","1402039665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d588525584c94d12fe3b848211fd2260.jpg","text":"TemporaryFile(/tmp/multipartBody6175905294388967226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293384468,"filename":"image_04112025_19_00_26_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e087a0678dba06f9111f280249ad0806.jpg","text":"TemporaryFile(/tmp/multipartBody3445965832661451396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293384468,"filename":"image_04112025_19_00_17_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f63b0a82793cbde4212b6eb303caa64d.jpg","text":"TemporaryFile(/tmp/multipartBody234119923723873811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293384468,"filename":"image_04112025_19_00_23_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6098d3868687b6b044a771afeacefcad.jpg","text":"TemporaryFile(/tmp/multipartBody9043203075050910953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293384468,"filename":"image_04112025_19_00_20_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05e73dbd808356c6e2f143741c7bdc4d.jpg","text":"TemporaryFile(/tmp/multipartBody3263187862521108312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293384468,"filename":"image_04112025_19_00_35_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48ccf8e614b5da4ca41cc9dba236266e.jpg","text":"TemporaryFile(/tmp/multipartBody5650502219583555738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293384468,"filename":"image_04112025_19_00_14_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039662","file1":"1402039661","file0":"1402039659","file4":"1402039664","file5":"1402039665","file3":"1402039663"},"map_files_photo_id_array":[{"photo_id":"1402039665","filename":"file5"},{"photo_id":"1402039662","filename":"file2"},{"photo_id":"1402039664","filename":"file4"},{"photo_id":"1402039661","filename":"file1"},{"photo_id":"1402039659","filename":"file0"},{"photo_id":"1402039663","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039664":["hashtag1","hashtag2"]},{"1402039661":["hashtag1","hashtag2"]},{"1402039663":["hashtag1","hashtag2"]},{"1402039662":["hashtag1","hashtag2"]},{"1402039665":["hashtag1","hashtag2"]},{"1402039659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039664, 1402039661, 1402039663, 1402039662, 1402039665, 1402039659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48244261741638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:49:22.068369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/22/image_01012026_19_22_54_9652.jpg', '/home/pi/Desktop/images/01012026/19/22/image_01012026_19_23_04_9657.jpg', '/home/pi/Desktop/images/01012026/19/23/image_01012026_19_23_15_10674.jpg', '/home/pi/Desktop/images/01012026/19/23/image_01012026_19_23_34_9782.jpg', '/home/pi/Desktop/images/01012026/19/23/image_01012026_19_23_44_9648.jpg', '/home/pi/Desktop/images/01012026/19/23/image_01012026_19_23_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/22/image_01012026_19_22_54_9652.jpg
/home/pi/Desktop/images/01012026/19/22/image_01012026_19_23_04_9657.jpg
/home/pi/Desktop/images/01012026/19/23/image_01012026_19_23_15_10674.jpg
/home/pi/Desktop/images/01012026/19/23/image_01012026_19_23_34_9782.jpg
/home/pi/Desktop/images/01012026/19/23/image_01012026_19_23_44_9648.jpg
/home/pi/Desktop/images/01012026/19/23/image_01012026_19_23_55_10631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039670","1402039669","1402039672","1402039666","1402039674","1402039677"],"photo_ids_order":["1402039666","1402039669","1402039670","1402039672","1402039674","1402039677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56bee2dd3d44c98e35a5a2da24b2cba2.jpg","text":"TemporaryFile(/tmp/multipartBody2092537032116097064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293422678,"filename":"image_01012026_19_23_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95aad56a0d8362c9513013b57e0ffa2a.jpg","text":"TemporaryFile(/tmp/multipartBody6021500706941603422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293422678,"filename":"image_01012026_19_23_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d349506300a040fb5ca17798b5b22a2.jpg","text":"TemporaryFile(/tmp/multipartBody5801334003388815726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293422678,"filename":"image_01012026_19_23_34_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc4a8049158f4282b6313bed01254c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1029245004807799036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293422678,"filename":"image_01012026_19_22_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77ea54d0aa1b7f9ee5018cbe957c50f0.jpg","text":"TemporaryFile(/tmp/multipartBody1151535743575164186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293422678,"filename":"image_01012026_19_23_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b5b8f6c7cc29b0702077295b9172213.jpg","text":"TemporaryFile(/tmp/multipartBody2489948673277750781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293422678,"filename":"image_01012026_19_23_55_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039670","file1":"1402039669","file0":"1402039666","file4":"1402039674","file5":"1402039677","file3":"1402039672"},"map_files_photo_id_array":[{"photo_id":"1402039677","filename":"file5"},{"photo_id":"1402039670","filename":"file2"},{"photo_id":"1402039674","filename":"file4"},{"photo_id":"1402039669","filename":"file1"},{"photo_id":"1402039666","filename":"file0"},{"photo_id":"1402039672","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039670":["hashtag1","hashtag2"]},{"1402039669":["hashtag1","hashtag2"]},{"1402039672":["hashtag1","hashtag2"]},{"1402039666":["hashtag1","hashtag2"]},{"1402039674":["hashtag1","hashtag2"]},{"1402039677":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039670, 1402039669, 1402039672, 1402039666, 1402039674, 1402039677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56584286689758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:50:02.546696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_14_9697.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_24_9793.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_35_10847.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_44_9542.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_54_9773.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_25_05_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_14_9697.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_24_9793.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_35_10847.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_44_9542.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_54_9773.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_25_05_10577.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.5285167694091797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:50:11.980267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_38_3617.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_41_2709.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_47_2783.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_50_3670.jpg', '/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_53_2595.jpg', '/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_11_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_38_3617.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_41_2709.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_47_2783.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_50_3670.jpg
/home/pi/Desktop/images/04112025/19/00/image_04112025_19_00_53_2595.jpg
/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_11_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":["1402039691","1402039685","1402039694","1402039687","1402039689","1402039683"],"photo_ids_order":["1402039683","1402039685","1402039687","1402039689","1402039691","1402039694"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca55a050281be375f378ec24f790d1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8989081542889246061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293473788,"filename":"image_04112025_19_00_53_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/121c1fe9f5befa51e2b996e56b3a57fb.jpg","text":"TemporaryFile(/tmp/multipartBody2577690903588423527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293473788,"filename":"image_04112025_19_00_41_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fad01bad52be724c0893ca2e2ce950dd.jpg","text":"TemporaryFile(/tmp/multipartBody8262670660234339956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293473788,"filename":"image_04112025_19_01_11_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/225264c1e7472d899de490b58f72c60d.jpg","text":"TemporaryFile(/tmp/multipartBody4015688338961776058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293473788,"filename":"image_04112025_19_00_47_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a067ed7bd1b748116dd9982de08b418f.jpg","text":"TemporaryFile(/tmp/multipartBody2224418313677836474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293473788,"filename":"image_04112025_19_00_50_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/646b58db2cc87f4a3cc81f3ff3b24bfc.jpg","text":"TemporaryFile(/tmp/multipartBody2132267825826620914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293473788,"filename":"image_04112025_19_00_38_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039687","file1":"1402039685","file0":"1402039683","file4":"1402039691","file5":"1402039694","file3":"1402039689"},"map_files_photo_id_array":[{"photo_id":"1402039694","filename":"file5"},{"photo_id":"1402039687","filename":"file2"},{"photo_id":"1402039691","filename":"file4"},{"photo_id":"1402039685","filename":"file1"},{"photo_id":"1402039683","filename":"file0"},{"photo_id":"1402039689","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039691":["hashtag1","hashtag2"]},{"1402039685":["hashtag1","hashtag2"]},{"1402039694":["hashtag1","hashtag2"]},{"1402039687":["hashtag1","hashtag2"]},{"1402039689":["hashtag1","hashtag2"]},{"1402039683":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039691, 1402039685, 1402039694, 1402039687, 1402039689, 1402039683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9847354888916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:51:02.791769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_14_9697.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_24_9793.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_35_10847.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_44_9542.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_54_9773.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_25_05_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_14_9697.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_24_9793.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_35_10847.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_44_9542.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_54_9773.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_25_05_10577.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.5960259437561035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:51:12.299930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_20_2613.jpg', '/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_26_3597.jpg', '/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_29_2729.jpg', '/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_41_11594.jpg', '/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_42_1669.jpg', '/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_53_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_20_2613.jpg
/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_26_3597.jpg
/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_29_2729.jpg
/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_41_11594.jpg
/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_42_1669.jpg
/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_53_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":["1402039701","1402039703","1402039712","1402039706","1402039708","1402039710"],"photo_ids_order":["1402039701","1402039703","1402039706","1402039708","1402039710","1402039712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c13d2cac09a3405dc50a256bcc9379e.jpg","text":"TemporaryFile(/tmp/multipartBody818128793351596596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293534075,"filename":"image_04112025_19_01_20_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b43a727c36def637515a4163cf4c3f8f.jpg","text":"TemporaryFile(/tmp/multipartBody6086448155630183218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293534075,"filename":"image_04112025_19_01_26_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d0b86474ac40e78d3c8c6e2337dda46.jpg","text":"TemporaryFile(/tmp/multipartBody1466235454429229660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293534075,"filename":"image_04112025_19_01_53_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f3bfba4ae637b44846f7708dd738ec9.jpg","text":"TemporaryFile(/tmp/multipartBody4920901337866623009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293534075,"filename":"image_04112025_19_01_29_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3972b2fdfafbf55bb12c4365bcd73bf6.jpg","text":"TemporaryFile(/tmp/multipartBody1155593622394823357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293534075,"filename":"image_04112025_19_01_41_11594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db46eaa8951cffe0a0e8b07eddec8d8d.jpg","text":"TemporaryFile(/tmp/multipartBody3487396338198452734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293534075,"filename":"image_04112025_19_01_42_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039706","file1":"1402039703","file0":"1402039701","file4":"1402039710","file5":"1402039712","file3":"1402039708"},"map_files_photo_id_array":[{"photo_id":"1402039712","filename":"file5"},{"photo_id":"1402039706","filename":"file2"},{"photo_id":"1402039710","filename":"file4"},{"photo_id":"1402039703","filename":"file1"},{"photo_id":"1402039701","filename":"file0"},{"photo_id":"1402039708","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039701":["hashtag1","hashtag2"]},{"1402039703":["hashtag1","hashtag2"]},{"1402039712":["hashtag1","hashtag2"]},{"1402039706":["hashtag1","hashtag2"]},{"1402039708":["hashtag1","hashtag2"]},{"1402039710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039701, 1402039703, 1402039712, 1402039706, 1402039708, 1402039710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.812150716781616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:52:02.840478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_14_9697.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_24_9793.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_35_10847.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_44_9542.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_54_9773.jpg', '/home/pi/Desktop/images/01012026/19/24/image_01012026_19_25_05_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_14_9697.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_24_9793.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_35_10847.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_44_9542.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_24_54_9773.jpg
/home/pi/Desktop/images/01012026/19/24/image_01012026_19_25_05_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":["1402039721","1402039718","1402039723","1402039720","1402039717","1402039719"],"photo_ids_order":["1402039717","1402039718","1402039719","1402039720","1402039721","1402039723"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7336c06e256b63ce6d17328d1a40e77f.jpg","text":"TemporaryFile(/tmp/multipartBody5299226410488485668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293583481,"filename":"image_01012026_19_24_54_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe07997ef8cea4a17739c38f82f62d38.jpg","text":"TemporaryFile(/tmp/multipartBody2704703588533696140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293583481,"filename":"image_01012026_19_24_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebbe7334521c654131a3461fceb055d1.jpg","text":"TemporaryFile(/tmp/multipartBody3692150721735212933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293583481,"filename":"image_01012026_19_25_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d922e1add27e1a1e9f3dae2d9f0af4ae.jpg","text":"TemporaryFile(/tmp/multipartBody7378685763286986905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293583481,"filename":"image_01012026_19_24_44_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecd4683d2a7ea07ba7251c4374519a54.jpg","text":"TemporaryFile(/tmp/multipartBody6720257636130877461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293583481,"filename":"image_01012026_19_24_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15f5c1512b21d4c1e2f690ca1102e04b.jpg","text":"TemporaryFile(/tmp/multipartBody2977663028265324527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293583481,"filename":"image_01012026_19_24_35_10847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039719","file1":"1402039718","file0":"1402039717","file4":"1402039721","file5":"1402039723","file3":"1402039720"},"map_files_photo_id_array":[{"photo_id":"1402039723","filename":"file5"},{"photo_id":"1402039719","filename":"file2"},{"photo_id":"1402039721","filename":"file4"},{"photo_id":"1402039718","filename":"file1"},{"photo_id":"1402039717","filename":"file0"},{"photo_id":"1402039720","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039721":["hashtag1","hashtag2"]},{"1402039718":["hashtag1","hashtag2"]},{"1402039723":["hashtag1","hashtag2"]},{"1402039720":["hashtag1","hashtag2"]},{"1402039717":["hashtag1","hashtag2"]},{"1402039719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039721, 1402039718, 1402039723, 1402039720, 1402039717, 1402039719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70347714424133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:52:42.363589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_55_1693.jpg', '/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_21_1603.jpg', '/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_22_1662.jpg', '/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_27_4324.jpg', '/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_28_1583.jpg', '/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_32_1909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/01/image_04112025_19_01_55_1693.jpg
/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_21_1603.jpg
/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_22_1662.jpg
/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_27_4324.jpg
/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_28_1583.jpg
/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_32_1909.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039733","1402039732","1402039735","1402039729","1402039734","1402039731"],"photo_ids_order":["1402039729","1402039731","1402039732","1402039733","1402039734","1402039735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81f31dda911d6180a982611ee41a0bfe.jpg","text":"TemporaryFile(/tmp/multipartBody8542786421930994750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293624252,"filename":"image_04112025_19_02_27_4324.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dd6fa1d804e920578c61d880485ddfe.jpg","text":"TemporaryFile(/tmp/multipartBody3967768602487642351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293624252,"filename":"image_04112025_19_02_22_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b468f2eda73d020712f8710cd3a21ab9.jpg","text":"TemporaryFile(/tmp/multipartBody8830075316353924516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293624252,"filename":"image_04112025_19_02_32_1909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b810c4c59b5af73ad602423b16ac532e.jpg","text":"TemporaryFile(/tmp/multipartBody1636161489728262638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293624252,"filename":"image_04112025_19_01_55_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b86f8578a31cbb827a76aa93ae9e9065.jpg","text":"TemporaryFile(/tmp/multipartBody4207995320592612078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293624252,"filename":"image_04112025_19_02_28_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f7ac31529ba88888fffb53a938573c2.jpg","text":"TemporaryFile(/tmp/multipartBody3735858635588427595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293624252,"filename":"image_04112025_19_02_21_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039732","file1":"1402039731","file0":"1402039729","file4":"1402039734","file5":"1402039735","file3":"1402039733"},"map_files_photo_id_array":[{"photo_id":"1402039735","filename":"file5"},{"photo_id":"1402039732","filename":"file2"},{"photo_id":"1402039734","filename":"file4"},{"photo_id":"1402039731","filename":"file1"},{"photo_id":"1402039729","filename":"file0"},{"photo_id":"1402039733","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039733":["hashtag1","hashtag2"]},{"1402039732":["hashtag1","hashtag2"]},{"1402039735":["hashtag1","hashtag2"]},{"1402039729":["hashtag1","hashtag2"]},{"1402039734":["hashtag1","hashtag2"]},{"1402039731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039733, 1402039732, 1402039735, 1402039729, 1402039734, 1402039731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35439610481262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:53:22.611763
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_14_9814.jpg', '/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_24_9642.jpg', '/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_35_10563.jpg', '/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_44_9623.jpg', '/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_55_10542.jpg', '/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_14_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_14_9814.jpg
/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_24_9642.jpg
/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_35_10563.jpg
/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_44_9623.jpg
/home/pi/Desktop/images/01012026/19/25/image_01012026_19_25_55_10542.jpg
/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_14_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039745","1402039742","1402039738","1402039747","1402039740","1402039737"],"photo_ids_order":["1402039737","1402039738","1402039740","1402039742","1402039745","1402039747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe3476f315e5e6d7b9562ac3e69c9f92.jpg","text":"TemporaryFile(/tmp/multipartBody1124623153316512858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293663188,"filename":"image_01012026_19_25_55_10542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54185234053486975e6b906558d8a079.jpg","text":"TemporaryFile(/tmp/multipartBody1219148174464791145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293663188,"filename":"image_01012026_19_25_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9f3affb58c03176725b777ca935040f.jpg","text":"TemporaryFile(/tmp/multipartBody3595909842768074823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293663188,"filename":"image_01012026_19_25_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7072b07164d3f9310665a991d16be262.jpg","text":"TemporaryFile(/tmp/multipartBody3440165642190743098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293663188,"filename":"image_01012026_19_26_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08edb521b770e27454359d4ef7a1a940.jpg","text":"TemporaryFile(/tmp/multipartBody7432087643776581750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293663188,"filename":"image_01012026_19_25_35_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3c33630a14922cc68016ccf9b950609.jpg","text":"TemporaryFile(/tmp/multipartBody2256590957621256056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293663188,"filename":"image_01012026_19_25_14_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039740","file1":"1402039738","file0":"1402039737","file4":"1402039745","file5":"1402039747","file3":"1402039742"},"map_files_photo_id_array":[{"photo_id":"1402039747","filename":"file5"},{"photo_id":"1402039740","filename":"file2"},{"photo_id":"1402039745","filename":"file4"},{"photo_id":"1402039738","filename":"file1"},{"photo_id":"1402039737","filename":"file0"},{"photo_id":"1402039742","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039745":["hashtag1","hashtag2"]},{"1402039742":["hashtag1","hashtag2"]},{"1402039738":["hashtag1","hashtag2"]},{"1402039747":["hashtag1","hashtag2"]},{"1402039740":["hashtag1","hashtag2"]},{"1402039737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039745, 1402039742, 1402039738, 1402039747, 1402039740, 1402039737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48628616333008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:54:03.655884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_25_10697.jpg', '/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_34_9641.jpg', '/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_44_9617.jpg', '/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_55_10693.jpg', '/home/pi/Desktop/images/01012026/19/26/image_01012026_19_27_04_9539.jpg', '/home/pi/Desktop/images/01012026/19/27/image_01012026_19_27_14_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_25_10697.jpg
/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_34_9641.jpg
/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_44_9617.jpg
/home/pi/Desktop/images/01012026/19/26/image_01012026_19_26_55_10693.jpg
/home/pi/Desktop/images/01012026/19/26/image_01012026_19_27_04_9539.jpg
/home/pi/Desktop/images/01012026/19/27/image_01012026_19_27_14_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":["1402039751","1402039754","1402039748","1402039750","1402039752","1402039749"],"photo_ids_order":["1402039748","1402039749","1402039750","1402039751","1402039752","1402039754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c43cf0c740b13f528ecc636f6ecc98c.jpg","text":"TemporaryFile(/tmp/multipartBody7059511107256480721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293704326,"filename":"image_01012026_19_26_55_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf4a3a6cbb4c2ce67e91e229251a5168.jpg","text":"TemporaryFile(/tmp/multipartBody3728695074779178701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293704326,"filename":"image_01012026_19_27_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96b33a876bbb5891d679c4487324cc00.jpg","text":"TemporaryFile(/tmp/multipartBody1159764211229691863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293704326,"filename":"image_01012026_19_26_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b99a7761724f2ff3a1f6c48d1dab0b1c.jpg","text":"TemporaryFile(/tmp/multipartBody7270333765409982380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293704326,"filename":"image_01012026_19_26_44_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b5fc4231acd14983d74640a7fdbc23a.jpg","text":"TemporaryFile(/tmp/multipartBody9087566731001416878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293704326,"filename":"image_01012026_19_27_04_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4353dfc586dbeba8e601549a8df868f3.jpg","text":"TemporaryFile(/tmp/multipartBody3808231748781127105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293704326,"filename":"image_01012026_19_26_34_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039750","file1":"1402039749","file0":"1402039748","file4":"1402039752","file5":"1402039754","file3":"1402039751"},"map_files_photo_id_array":[{"photo_id":"1402039754","filename":"file5"},{"photo_id":"1402039750","filename":"file2"},{"photo_id":"1402039752","filename":"file4"},{"photo_id":"1402039749","filename":"file1"},{"photo_id":"1402039748","filename":"file0"},{"photo_id":"1402039751","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039751":["hashtag1","hashtag2"]},{"1402039754":["hashtag1","hashtag2"]},{"1402039748":["hashtag1","hashtag2"]},{"1402039750":["hashtag1","hashtag2"]},{"1402039752":["hashtag1","hashtag2"]},{"1402039749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039751, 1402039754, 1402039748, 1402039750, 1402039752, 1402039749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.908527135849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:54:42.787507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_35_2675.jpg', '/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_47_3835.jpg', '/home/pi/Desktop/images/04112025/19/03/image_04112025_19_03_05_3643.jpg', '/home/pi/Desktop/images/04112025/19/03/image_04112025_19_03_38_3589.jpg', '/home/pi/Desktop/images/04112025/19/03/image_04112025_19_03_53_2678.jpg', '/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_02_2828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_35_2675.jpg
/home/pi/Desktop/images/04112025/19/02/image_04112025_19_02_47_3835.jpg
/home/pi/Desktop/images/04112025/19/03/image_04112025_19_03_05_3643.jpg
/home/pi/Desktop/images/04112025/19/03/image_04112025_19_03_38_3589.jpg
/home/pi/Desktop/images/04112025/19/03/image_04112025_19_03_53_2678.jpg
/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_02_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":["1402039763","1402039760","1402039762","1402039765","1402039767","1402039764"],"photo_ids_order":["1402039760","1402039762","1402039763","1402039764","1402039765","1402039767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f0096422b070544e1f8fbacb2b1ee53.jpg","text":"TemporaryFile(/tmp/multipartBody8888953514251098409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293744675,"filename":"image_04112025_19_03_05_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ef33027d3bc145731021596e8abedc3.jpg","text":"TemporaryFile(/tmp/multipartBody7967910215845755796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293744675,"filename":"image_04112025_19_02_35_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ceecf92c0c9e4abf9f5b82b97b97b745.jpg","text":"TemporaryFile(/tmp/multipartBody799938186671818320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293744675,"filename":"image_04112025_19_02_47_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cff6db54ae16e538f5351f6092ddf0e1.jpg","text":"TemporaryFile(/tmp/multipartBody3866915232427030927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293744675,"filename":"image_04112025_19_03_53_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aba395544a0115411c599d7eaa798c90.jpg","text":"TemporaryFile(/tmp/multipartBody9189186564824746415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293744675,"filename":"image_04112025_19_04_02_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca5bedc00a64348dd46709e0d9bcff71.jpg","text":"TemporaryFile(/tmp/multipartBody5609969228297115113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293744675,"filename":"image_04112025_19_03_38_3589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039763","file1":"1402039762","file0":"1402039760","file4":"1402039765","file5":"1402039767","file3":"1402039764"},"map_files_photo_id_array":[{"photo_id":"1402039767","filename":"file5"},{"photo_id":"1402039763","filename":"file2"},{"photo_id":"1402039765","filename":"file4"},{"photo_id":"1402039762","filename":"file1"},{"photo_id":"1402039760","filename":"file0"},{"photo_id":"1402039764","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039763":["hashtag1","hashtag2"]},{"1402039760":["hashtag1","hashtag2"]},{"1402039762":["hashtag1","hashtag2"]},{"1402039765":["hashtag1","hashtag2"]},{"1402039767":["hashtag1","hashtag2"]},{"1402039764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039763, 1402039760, 1402039762, 1402039765, 1402039767, 1402039764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61499333381653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:55:21.982010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/27/image_01012026_19_27_34_9710.jpg', '/home/pi/Desktop/images/01012026/19/27/image_01012026_19_27_44_9646.jpg', '/home/pi/Desktop/images/01012026/19/27/image_01012026_19_27_55_10628.jpg', '/home/pi/Desktop/images/01012026/19/27/image_01012026_19_28_04_9662.jpg', '/home/pi/Desktop/images/01012026/19/28/image_01012026_19_28_14_9817.jpg', '/home/pi/Desktop/images/01012026/19/28/image_01012026_19_28_35_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/27/image_01012026_19_27_34_9710.jpg
/home/pi/Desktop/images/01012026/19/27/image_01012026_19_27_44_9646.jpg
/home/pi/Desktop/images/01012026/19/27/image_01012026_19_27_55_10628.jpg
/home/pi/Desktop/images/01012026/19/27/image_01012026_19_28_04_9662.jpg
/home/pi/Desktop/images/01012026/19/28/image_01012026_19_28_14_9817.jpg
/home/pi/Desktop/images/01012026/19/28/image_01012026_19_28_35_10806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039778","1402039775","1402039769","1402039777","1402039771","1402039773"],"photo_ids_order":["1402039769","1402039771","1402039773","1402039775","1402039777","1402039778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8fc068c787e0b74f2ee421861295ba1.jpg","text":"TemporaryFile(/tmp/multipartBody7697717735414136534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293782566,"filename":"image_01012026_19_28_35_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7550f307752976bcc08e86b9b063f93d.jpg","text":"TemporaryFile(/tmp/multipartBody5716735879903150106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293782566,"filename":"image_01012026_19_28_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9a995ccef413b0909fb3f3c23478ff8.jpg","text":"TemporaryFile(/tmp/multipartBody4241720326741293497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293782566,"filename":"image_01012026_19_27_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/042cc22d2d6bb3da9f870d19a3faf89a.jpg","text":"TemporaryFile(/tmp/multipartBody3348619960403312837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293782566,"filename":"image_01012026_19_28_14_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/181a672d23cf1ff248fbdacc1ea41fb0.jpg","text":"TemporaryFile(/tmp/multipartBody692908169039721494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293782566,"filename":"image_01012026_19_27_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9703a40ec166ad255b9c6022146d70cb.jpg","text":"TemporaryFile(/tmp/multipartBody2576193589729827465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293782566,"filename":"image_01012026_19_27_55_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039773","file1":"1402039771","file0":"1402039769","file4":"1402039777","file5":"1402039778","file3":"1402039775"},"map_files_photo_id_array":[{"photo_id":"1402039778","filename":"file5"},{"photo_id":"1402039773","filename":"file2"},{"photo_id":"1402039777","filename":"file4"},{"photo_id":"1402039771","filename":"file1"},{"photo_id":"1402039769","filename":"file0"},{"photo_id":"1402039775","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039778":["hashtag1","hashtag2"]},{"1402039775":["hashtag1","hashtag2"]},{"1402039769":["hashtag1","hashtag2"]},{"1402039777":["hashtag1","hashtag2"]},{"1402039771":["hashtag1","hashtag2"]},{"1402039773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039778, 1402039775, 1402039769, 1402039777, 1402039771, 1402039773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99520468711853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:56:02.684421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/28/image_01012026_19_28_45_9749.jpg', '/home/pi/Desktop/images/01012026/19/29/image_01012026_19_29_15_10698.jpg', '/home/pi/Desktop/images/01012026/19/29/image_01012026_19_29_34_9541.jpg', '/home/pi/Desktop/images/01012026/19/29/image_01012026_19_29_45_10706.jpg', '/home/pi/Desktop/images/01012026/19/29/image_01012026_19_29_55_10010.jpg', '/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/28/image_01012026_19_28_45_9749.jpg
/home/pi/Desktop/images/01012026/19/29/image_01012026_19_29_15_10698.jpg
/home/pi/Desktop/images/01012026/19/29/image_01012026_19_29_34_9541.jpg
/home/pi/Desktop/images/01012026/19/29/image_01012026_19_29_45_10706.jpg
/home/pi/Desktop/images/01012026/19/29/image_01012026_19_29_55_10010.jpg
/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_14_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039781","1402039780","1402039783","1402039785","1402039779","1402039782"],"photo_ids_order":["1402039779","1402039780","1402039781","1402039782","1402039783","1402039785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcb7689c885ed12cedf9294d3d5bf4b9.jpg","text":"TemporaryFile(/tmp/multipartBody3126120626241111985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293823302,"filename":"image_01012026_19_29_34_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8700f0c8cfd638573eaca46874a9195d.jpg","text":"TemporaryFile(/tmp/multipartBody3511047755002185098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293823302,"filename":"image_01012026_19_29_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4fea046f0909a317ff2cf1a37896fee.jpg","text":"TemporaryFile(/tmp/multipartBody263543626169881523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293823302,"filename":"image_01012026_19_29_55_10010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01bb0af778b260f680e0c831d2043512.jpg","text":"TemporaryFile(/tmp/multipartBody2456174783085200304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293823302,"filename":"image_01012026_19_30_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4f0ccd4e46cbfdceee14d3e4a30710c.jpg","text":"TemporaryFile(/tmp/multipartBody2575740194912801845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293823302,"filename":"image_01012026_19_28_45_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf4e1dd19bd8f39d29b80005c360d405.jpg","text":"TemporaryFile(/tmp/multipartBody4370082843258694041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293823302,"filename":"image_01012026_19_29_45_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039781","file1":"1402039780","file0":"1402039779","file4":"1402039783","file5":"1402039785","file3":"1402039782"},"map_files_photo_id_array":[{"photo_id":"1402039785","filename":"file5"},{"photo_id":"1402039781","filename":"file2"},{"photo_id":"1402039783","filename":"file4"},{"photo_id":"1402039780","filename":"file1"},{"photo_id":"1402039779","filename":"file0"},{"photo_id":"1402039782","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039781":["hashtag1","hashtag2"]},{"1402039780":["hashtag1","hashtag2"]},{"1402039783":["hashtag1","hashtag2"]},{"1402039785":["hashtag1","hashtag2"]},{"1402039779":["hashtag1","hashtag2"]},{"1402039782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039781, 1402039780, 1402039783, 1402039785, 1402039779, 1402039782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.621522426605225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:56:42.186218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_08_3624.jpg', '/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_15_1651.jpg', '/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_17_1642.jpg', '/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_50_2691.jpg', '/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_52_2626.jpg', '/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_23_3676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_08_3624.jpg
/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_15_1651.jpg
/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_17_1642.jpg
/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_50_2691.jpg
/home/pi/Desktop/images/04112025/19/04/image_04112025_19_04_52_2626.jpg
/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_23_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":["1402039796","1402039790","1402039795","1402039798","1402039797","1402039794"],"photo_ids_order":["1402039790","1402039794","1402039795","1402039796","1402039797","1402039798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/255f4a1042e308bdf1d968c06febcded.jpg","text":"TemporaryFile(/tmp/multipartBody748362129821054842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293864151,"filename":"image_04112025_19_04_50_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12b62db66bf2961674fae0194e02c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody7348528588579504510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293864151,"filename":"image_04112025_19_04_08_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82031141f52ceea169907a975343f483.jpg","text":"TemporaryFile(/tmp/multipartBody1519389595973662507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293864151,"filename":"image_04112025_19_04_17_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80f9830a0d500c6a5623d546efa7feb4.jpg","text":"TemporaryFile(/tmp/multipartBody4158710094196059367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293864151,"filename":"image_04112025_19_05_23_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07ef9ced5c17cc729f4ba1c4bbc1b9dd.jpg","text":"TemporaryFile(/tmp/multipartBody2665231690218477863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293864151,"filename":"image_04112025_19_04_52_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fd21a786ce26c5fd7534625477ad82d.jpg","text":"TemporaryFile(/tmp/multipartBody5405533859903020858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293864151,"filename":"image_04112025_19_04_15_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039795","file1":"1402039794","file0":"1402039790","file4":"1402039797","file5":"1402039798","file3":"1402039796"},"map_files_photo_id_array":[{"photo_id":"1402039798","filename":"file5"},{"photo_id":"1402039795","filename":"file2"},{"photo_id":"1402039797","filename":"file4"},{"photo_id":"1402039794","filename":"file1"},{"photo_id":"1402039790","filename":"file0"},{"photo_id":"1402039796","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039796":["hashtag1","hashtag2"]},{"1402039790":["hashtag1","hashtag2"]},{"1402039795":["hashtag1","hashtag2"]},{"1402039798":["hashtag1","hashtag2"]},{"1402039797":["hashtag1","hashtag2"]},{"1402039794":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039796, 1402039790, 1402039795, 1402039798, 1402039797, 1402039794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.759387493133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 19:57:22.352883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_25_10782.jpg', '/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_35_9697.jpg', '/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_44_9528.jpg', '/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_55_10591.jpg', '/home/pi/Desktop/images/01012026/19/31/image_01012026_19_31_25_9632.jpg', '/home/pi/Desktop/images/01012026/19/31/image_01012026_19_31_34_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_25_10782.jpg
/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_35_9697.jpg
/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_44_9528.jpg
/home/pi/Desktop/images/01012026/19/30/image_01012026_19_30_55_10591.jpg
/home/pi/Desktop/images/01012026/19/31/image_01012026_19_31_25_9632.jpg
/home/pi/Desktop/images/01012026/19/31/image_01012026_19_31_34_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":["1402039809","1402039805","1402039813","1402039807","1402039801","1402039803"],"photo_ids_order":["1402039801","1402039803","1402039805","1402039807","1402039809","1402039813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/468165585dd9e31dacb3512cb66d9ec4.jpg","text":"TemporaryFile(/tmp/multipartBody3653458527784521836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293902942,"filename":"image_01012026_19_31_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49d8ddc8bf954110cb9265f90e5ed029.jpg","text":"TemporaryFile(/tmp/multipartBody8317140622998993988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293902942,"filename":"image_01012026_19_30_44_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2d228648b680e2ffe39eef774b1dabd.jpg","text":"TemporaryFile(/tmp/multipartBody2951025180743289011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293902942,"filename":"image_01012026_19_31_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef9e558ab8cdaf676305c90c5d6a4814.jpg","text":"TemporaryFile(/tmp/multipartBody733982271889610158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293902942,"filename":"image_01012026_19_30_55_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b66a0a28efaae21b5a2b8f02aa73c213.jpg","text":"TemporaryFile(/tmp/multipartBody1176881224565327313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293902942,"filename":"image_01012026_19_30_25_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3faedb4e6522c4104cf0e64f27fe4bf3.jpg","text":"TemporaryFile(/tmp/multipartBody6496722714916049862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767293902942,"filename":"image_01012026_19_30_35_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039805","file1":"1402039803","file0":"1402039801","file4":"1402039809","file5":"1402039813","file3":"1402039807"},"map_files_photo_id_array":[{"photo_id":"1402039813","filename":"file5"},{"photo_id":"1402039805","filename":"file2"},{"photo_id":"1402039809","filename":"file4"},{"photo_id":"1402039803","filename":"file1"},{"photo_id":"1402039801","filename":"file0"},{"photo_id":"1402039807","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039809":["hashtag1","hashtag2"]},{"1402039805":["hashtag1","hashtag2"]},{"1402039813":["hashtag1","hashtag2"]},{"1402039807":["hashtag1","hashtag2"]},{"1402039801":["hashtag1","hashtag2"]},{"1402039803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039809, 1402039805, 1402039813, 1402039807, 1402039801, 1402039803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.031646728515625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 19:59:03.807748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/31/image_01012026_19_31_45_10710.jpg', '/home/pi/Desktop/images/01012026/19/32/image_01012026_19_32_15_10661.jpg', '/home/pi/Desktop/images/01012026/19/32/image_01012026_19_32_25_9688.jpg', '/home/pi/Desktop/images/01012026/19/32/image_01012026_19_32_45_10731.jpg', '/home/pi/Desktop/images/01012026/19/32/image_01012026_19_32_55_9544.jpg', '/home/pi/Desktop/images/01012026/19/32/image_01012026_19_33_04_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/31/image_01012026_19_31_45_10710.jpg
/home/pi/Desktop/images/01012026/19/32/image_01012026_19_32_15_10661.jpg
/home/pi/Desktop/images/01012026/19/32/image_01012026_19_32_25_9688.jpg
/home/pi/Desktop/images/01012026/19/32/image_01012026_19_32_45_10731.jpg
/home/pi/Desktop/images/01012026/19/32/image_01012026_19_32_55_9544.jpg
/home/pi/Desktop/images/01012026/19/32/image_01012026_19_33_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":["1402039827","1402039823","1402039825","1402039821","1402039815","1402039818"],"photo_ids_order":["1402039815","1402039818","1402039821","1402039823","1402039825","1402039827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9625fc406ccf5ca780be6b9e4e709125.jpg","text":"TemporaryFile(/tmp/multipartBody539609451141057999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294004565,"filename":"image_01012026_19_33_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/179db2f4bf98936f543d95b1e5413506.jpg","text":"TemporaryFile(/tmp/multipartBody955245241800488999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294004565,"filename":"image_01012026_19_32_45_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34714a9a79736b722bd24919c99e5fa1.jpg","text":"TemporaryFile(/tmp/multipartBody910254868203412131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294004565,"filename":"image_01012026_19_32_55_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/258cd7dcb15e5bfe5f9ddc2d381af75b.jpg","text":"TemporaryFile(/tmp/multipartBody1732390159596061917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294004565,"filename":"image_01012026_19_32_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a784f12ac7e208787d5f60bdd475e92b.jpg","text":"TemporaryFile(/tmp/multipartBody2578938396307889262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294004565,"filename":"image_01012026_19_31_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4e294db84c6f58f17c58cff25681eee.jpg","text":"TemporaryFile(/tmp/multipartBody9086349399252288011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294004565,"filename":"image_01012026_19_32_15_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039821","file1":"1402039818","file0":"1402039815","file4":"1402039825","file5":"1402039827","file3":"1402039823"},"map_files_photo_id_array":[{"photo_id":"1402039827","filename":"file5"},{"photo_id":"1402039821","filename":"file2"},{"photo_id":"1402039825","filename":"file4"},{"photo_id":"1402039818","filename":"file1"},{"photo_id":"1402039815","filename":"file0"},{"photo_id":"1402039823","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039827":["hashtag1","hashtag2"]},{"1402039823":["hashtag1","hashtag2"]},{"1402039825":["hashtag1","hashtag2"]},{"1402039821":["hashtag1","hashtag2"]},{"1402039815":["hashtag1","hashtag2"]},{"1402039818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039827, 1402039823, 1402039825, 1402039821, 1402039815, 1402039818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41578435897827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 19:59:42.769055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_41_3631.jpg', '/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_46_2745.jpg', '/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_53_3788.jpg', '/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_58_2748.jpg', '/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_04_2745.jpg', '/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_08_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_41_3631.jpg
/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_46_2745.jpg
/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_53_3788.jpg
/home/pi/Desktop/images/04112025/19/05/image_04112025_19_05_58_2748.jpg
/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_04_2745.jpg
/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_08_3626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402039841","1402039835","1402039837","1402039833","1402039839","1402039830"],"photo_ids_order":["1402039830","1402039833","1402039835","1402039837","1402039839","1402039841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20867ed1802c3bd21fc61a1a2a7e9126.jpg","text":"TemporaryFile(/tmp/multipartBody2590251789231013293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294044666,"filename":"image_04112025_19_06_08_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b657a5c4436d0a112fd22c6a5f0662c.jpg","text":"TemporaryFile(/tmp/multipartBody3324968219833287448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294044666,"filename":"image_04112025_19_05_53_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/947ff529364994d68f0cf61365aca26b.jpg","text":"TemporaryFile(/tmp/multipartBody7746950383172033011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294044666,"filename":"image_04112025_19_05_58_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7dc57fd8bc92eeae4740a77f38ad519.jpg","text":"TemporaryFile(/tmp/multipartBody3965451510169186609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294044666,"filename":"image_04112025_19_05_46_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba7409fa68c7180ba5a756986326066b.jpg","text":"TemporaryFile(/tmp/multipartBody3736278844942530889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294044666,"filename":"image_04112025_19_06_04_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/deb9c1c2b695afddd0ee6ca334236a06.jpg","text":"TemporaryFile(/tmp/multipartBody6661904263675059067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294044666,"filename":"image_04112025_19_05_41_3631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039835","file1":"1402039833","file0":"1402039830","file4":"1402039839","file5":"1402039841","file3":"1402039837"},"map_files_photo_id_array":[{"photo_id":"1402039841","filename":"file5"},{"photo_id":"1402039835","filename":"file2"},{"photo_id":"1402039839","filename":"file4"},{"photo_id":"1402039833","filename":"file1"},{"photo_id":"1402039830","filename":"file0"},{"photo_id":"1402039837","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402039841":["hashtag1","hashtag2"]},{"1402039835":["hashtag1","hashtag2"]},{"1402039837":["hashtag1","hashtag2"]},{"1402039833":["hashtag1","hashtag2"]},{"1402039839":["hashtag1","hashtag2"]},{"1402039830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402039841, 1402039835, 1402039837, 1402039833, 1402039839, 1402039830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.74306845664978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:00:21.909294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/33/image_01012026_19_33_15_10749.jpg', '/home/pi/Desktop/images/01012026/19/33/image_01012026_19_33_24_9549.jpg', '/home/pi/Desktop/images/01012026/19/33/image_01012026_19_33_34_9662.jpg', '/home/pi/Desktop/images/01012026/19/33/image_01012026_19_33_45_10761.jpg', '/home/pi/Desktop/images/01012026/19/33/image_01012026_19_34_04_9675.jpg', '/home/pi/Desktop/images/01012026/19/34/image_01012026_19_34_25_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/33/image_01012026_19_33_15_10749.jpg
/home/pi/Desktop/images/01012026/19/33/image_01012026_19_33_24_9549.jpg
/home/pi/Desktop/images/01012026/19/33/image_01012026_19_33_34_9662.jpg
/home/pi/Desktop/images/01012026/19/33/image_01012026_19_33_45_10761.jpg
/home/pi/Desktop/images/01012026/19/33/image_01012026_19_34_04_9675.jpg
/home/pi/Desktop/images/01012026/19/34/image_01012026_19_34_25_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":["1402039847","1402039849","1402039852","1402039851","1402039842","1402039845"],"photo_ids_order":["1402039842","1402039845","1402039847","1402039849","1402039851","1402039852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76d400ec46d3ba4ed4775effc1e2b03d.jpg","text":"TemporaryFile(/tmp/multipartBody8447158222767912999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294082491,"filename":"image_01012026_19_33_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2519649e08754851b039354c76a9bfc4.jpg","text":"TemporaryFile(/tmp/multipartBody3163765350657803633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294082491,"filename":"image_01012026_19_33_45_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94299fb2bb9940c424a85ec9760c26c8.jpg","text":"TemporaryFile(/tmp/multipartBody3213775330100129518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294082491,"filename":"image_01012026_19_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/2026/1/1/8966e97d5a80cdaf666a1a45537cb0d4.jpg","text":"TemporaryFile(/tmp/multipartBody4537548869490383156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294082491,"filename":"image_01012026_19_34_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb724d478d73598521d0e4906db0501a.jpg","text":"TemporaryFile(/tmp/multipartBody9006399246168352848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294082491,"filename":"image_01012026_19_33_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53d522dba95880a96b4b511778569b8a.jpg","text":"TemporaryFile(/tmp/multipartBody3730181868406994025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294082491,"filename":"image_01012026_19_33_24_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402039847","file1":"1402039845","file0":"1402039842","file4":"1402039851","file5":"1402039852","file3":"1402039849"},"map_files_photo_id_array":[{"photo_id":"1402039852","filename":"file5"},{"photo_id":"1402039847","filename":"file2"},{"photo_id":"1402039851","filename":"file4"},{"photo_id":"1402039845","filename":"file1"},{"photo_id":"1402039842","filename":"file0"},{"photo_id":"1402039849","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402039847":["hashtag1","hashtag2"]},{"1402039849":["hashtag1","hashtag2"]},{"1402039852":["hashtag1","hashtag2"]},{"1402039851":["hashtag1","hashtag2"]},{"1402039842":["hashtag1","hashtag2"]},{"1402039845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402039847, 1402039849, 1402039852, 1402039851, 1402039842, 1402039845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45237350463867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:01:02.833842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/34/image_01012026_19_34_34_9639.jpg', '/home/pi/Desktop/images/01012026/19/34/image_01012026_19_34_45_10717.jpg', '/home/pi/Desktop/images/01012026/19/34/image_01012026_19_34_55_9787.jpg', '/home/pi/Desktop/images/01012026/19/34/image_01012026_19_35_05_9877.jpg', '/home/pi/Desktop/images/01012026/19/35/image_01012026_19_35_14_9760.jpg', '/home/pi/Desktop/images/01012026/19/35/image_01012026_19_35_35_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/34/image_01012026_19_34_34_9639.jpg
/home/pi/Desktop/images/01012026/19/34/image_01012026_19_34_45_10717.jpg
/home/pi/Desktop/images/01012026/19/34/image_01012026_19_34_55_9787.jpg
/home/pi/Desktop/images/01012026/19/34/image_01012026_19_35_05_9877.jpg
/home/pi/Desktop/images/01012026/19/35/image_01012026_19_35_14_9760.jpg
/home/pi/Desktop/images/01012026/19/35/image_01012026_19_35_35_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":["1402040247","1402040360","1402040452","1402040281","1402040176","1402040413"],"photo_ids_order":["1402040176","1402040247","1402040281","1402040360","1402040413","1402040452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63744694473f3ee35b05c6f12258755c.jpg","text":"TemporaryFile(/tmp/multipartBody3420019948502863939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294126122,"filename":"image_01012026_19_34_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f36e2ea1ee6d73c81113da7d768615b7.jpg","text":"TemporaryFile(/tmp/multipartBody7586360045181915989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294126122,"filename":"image_01012026_19_35_05_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77999eafea7e5b7916d48bb241943984.jpg","text":"TemporaryFile(/tmp/multipartBody7485394473147412964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294126122,"filename":"image_01012026_19_35_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edc5671117bfa2ff9d511479e0d17410.jpg","text":"TemporaryFile(/tmp/multipartBody32309832586307276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294126122,"filename":"image_01012026_19_34_55_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe63db9ec7ffc21ab12878a99e500e42.jpg","text":"TemporaryFile(/tmp/multipartBody2190477880501159664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294126122,"filename":"image_01012026_19_34_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/905154ce4a7ee9bf5c1d9b8c31678605.jpg","text":"TemporaryFile(/tmp/multipartBody2192136172415604597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294126122,"filename":"image_01012026_19_35_14_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402040281","file1":"1402040247","file0":"1402040176","file4":"1402040413","file5":"1402040452","file3":"1402040360"},"map_files_photo_id_array":[{"photo_id":"1402040452","filename":"file5"},{"photo_id":"1402040281","filename":"file2"},{"photo_id":"1402040413","filename":"file4"},{"photo_id":"1402040247","filename":"file1"},{"photo_id":"1402040176","filename":"file0"},{"photo_id":"1402040360","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402040247":["hashtag1","hashtag2"]},{"1402040360":["hashtag1","hashtag2"]},{"1402040452":["hashtag1","hashtag2"]},{"1402040281":["hashtag1","hashtag2"]},{"1402040176":["hashtag1","hashtag2"]},{"1402040413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402040247, 1402040360, 1402040452, 1402040281, 1402040176, 1402040413)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.71859431266785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:02:02.753298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/35/image_01012026_19_35_55_10653.jpg', '/home/pi/Desktop/images/01012026/19/35/image_01012026_19_36_05_9592.jpg', '/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_14_9639.jpg', '/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_25_10570.jpg', '/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_35_9736.jpg', '/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_44_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/35/image_01012026_19_35_55_10653.jpg
/home/pi/Desktop/images/01012026/19/35/image_01012026_19_36_05_9592.jpg
/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_14_9639.jpg
/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_25_10570.jpg
/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_35_9736.jpg
/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_44_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402040829","1402040757","1402040861","1402040720","1402040895","1402040793"],"photo_ids_order":["1402040720","1402040757","1402040793","1402040829","1402040861","1402040895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/721b243f8b50d4b81b52801cea08a87a.jpg","text":"TemporaryFile(/tmp/multipartBody7161241256945104724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294183364,"filename":"image_01012026_19_36_25_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbd0bda2300752ff5f17e17b8ac48cff.jpg","text":"TemporaryFile(/tmp/multipartBody2429067463589813042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294183364,"filename":"image_01012026_19_36_05_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/605fc8afb0c598c64e34d5737a5bb02d.jpg","text":"TemporaryFile(/tmp/multipartBody1183478765922201425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294183364,"filename":"image_01012026_19_36_35_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b02ba6bcabeb9d96e5105dfca1ab7f1.jpg","text":"TemporaryFile(/tmp/multipartBody4486579193018477727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294183364,"filename":"image_01012026_19_35_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba2628e6feb534c51b77bc1cd9710cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6760006554766093492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294183364,"filename":"image_01012026_19_36_44_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5582bb1cef47b687a93b9c05a70bc97f.jpg","text":"TemporaryFile(/tmp/multipartBody8926673850952898000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294183364,"filename":"image_01012026_19_36_14_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402040793","file1":"1402040757","file0":"1402040720","file4":"1402040861","file5":"1402040895","file3":"1402040829"},"map_files_photo_id_array":[{"photo_id":"1402040895","filename":"file5"},{"photo_id":"1402040793","filename":"file2"},{"photo_id":"1402040861","filename":"file4"},{"photo_id":"1402040757","filename":"file1"},{"photo_id":"1402040720","filename":"file0"},{"photo_id":"1402040829","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402040829":["hashtag1","hashtag2"]},{"1402040757":["hashtag1","hashtag2"]},{"1402040861":["hashtag1","hashtag2"]},{"1402040720":["hashtag1","hashtag2"]},{"1402040895":["hashtag1","hashtag2"]},{"1402040793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402040829, 1402040757, 1402040861, 1402040720, 1402040895, 1402040793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.810179710388184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:02:42.367713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_31_2785.jpg', '/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_38_3861.jpg', '/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_41_2661.jpg', '/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_43_2579.jpg', '/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_52_2606.jpg', '/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_59_3594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_31_2785.jpg
/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_38_3861.jpg
/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_41_2661.jpg
/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_43_2579.jpg
/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_52_2606.jpg
/home/pi/Desktop/images/04112025/19/06/image_04112025_19_06_59_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402040901","1402040904","1402040906","1402040903","1402040905","1402040908"],"photo_ids_order":["1402040901","1402040903","1402040904","1402040905","1402040906","1402040908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/32a36861d7321b0b26d23755e485a18a.jpg","text":"TemporaryFile(/tmp/multipartBody1796484400324429394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294224276,"filename":"image_04112025_19_06_31_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23159b20aaab505aca4483cbe3cf7fbb.jpg","text":"TemporaryFile(/tmp/multipartBody7233540616309532535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294224276,"filename":"image_04112025_19_06_41_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a426d6ebe4979ba3e19583d14a4ea4bd.jpg","text":"TemporaryFile(/tmp/multipartBody2352587581489465366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294224276,"filename":"image_04112025_19_06_52_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/619cacb6644fda5e0a5b311f889dd094.jpg","text":"TemporaryFile(/tmp/multipartBody1192305632589053942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294224276,"filename":"image_04112025_19_06_38_3861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54894e9f4475efc36edddd77652c582f.jpg","text":"TemporaryFile(/tmp/multipartBody301534822796807213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294224276,"filename":"image_04112025_19_06_43_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6dc9943768dfdd376d271785a1e9958.jpg","text":"TemporaryFile(/tmp/multipartBody1179211805610651712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294224276,"filename":"image_04112025_19_06_59_3594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402040904","file1":"1402040903","file0":"1402040901","file4":"1402040906","file5":"1402040908","file3":"1402040905"},"map_files_photo_id_array":[{"photo_id":"1402040908","filename":"file5"},{"photo_id":"1402040904","filename":"file2"},{"photo_id":"1402040906","filename":"file4"},{"photo_id":"1402040903","filename":"file1"},{"photo_id":"1402040901","filename":"file0"},{"photo_id":"1402040905","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402040901":["hashtag1","hashtag2"]},{"1402040904":["hashtag1","hashtag2"]},{"1402040906":["hashtag1","hashtag2"]},{"1402040903":["hashtag1","hashtag2"]},{"1402040905":["hashtag1","hashtag2"]},{"1402040908":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402040901, 1402040904, 1402040906, 1402040903, 1402040905, 1402040908)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 52.460227489471436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:03:42.518786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_07_8331.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_10_3179.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_26_2981.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_29_2722.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_34_2795.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_38_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_07_8331.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_10_3179.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_26_2981.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_29_2722.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_34_2795.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_38_3667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402041506","1402041419","1402041454","1402041625","1402041384","1402041570"],"photo_ids_order":["1402041384","1402041419","1402041454","1402041506","1402041570","1402041625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a78d6240a2dfb215a1cc6e5720e9c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody2411070155477844837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294284434,"filename":"image_04112025_19_07_29_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44513802b595896598958008aac698af.jpg","text":"TemporaryFile(/tmp/multipartBody3468277062384608621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294284434,"filename":"image_04112025_19_07_10_3179.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cd91dce3440b270fe03e1d5963b61aa.jpg","text":"TemporaryFile(/tmp/multipartBody4781657213909812761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294284434,"filename":"image_04112025_19_07_26_2981.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16f0f7206e756fc37c98a56210fa2ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7645158701732155421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294284434,"filename":"image_04112025_19_07_38_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b382699b65df5d293e30e51f7b1b4baf.jpg","text":"TemporaryFile(/tmp/multipartBody888211968755497601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294284434,"filename":"image_04112025_19_07_07_8331.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/810abfc71f05d765253db45cdad59c80.jpg","text":"TemporaryFile(/tmp/multipartBody2563276483269055588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294284434,"filename":"image_04112025_19_07_34_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402041454","file1":"1402041419","file0":"1402041384","file4":"1402041570","file5":"1402041625","file3":"1402041506"},"map_files_photo_id_array":[{"photo_id":"1402041625","filename":"file5"},{"photo_id":"1402041454","filename":"file2"},{"photo_id":"1402041570","filename":"file4"},{"photo_id":"1402041419","filename":"file1"},{"photo_id":"1402041384","filename":"file0"},{"photo_id":"1402041506","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402041506":["hashtag1","hashtag2"]},{"1402041419":["hashtag1","hashtag2"]},{"1402041454":["hashtag1","hashtag2"]},{"1402041625":["hashtag1","hashtag2"]},{"1402041384":["hashtag1","hashtag2"]},{"1402041570":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402041506, 1402041419, 1402041454, 1402041625, 1402041384, 1402041570)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.77737045288086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:04:32.651996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_40_2702.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_43_2726.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_47_3724.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_49_2609.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_52_2770.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_56_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_40_2702.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_43_2726.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_47_3724.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_49_2609.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_52_2770.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_56_3675.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.707770586013794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:04:42.594298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_40_2702.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_43_2726.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_47_3724.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_49_2609.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_52_2770.jpg', '/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_56_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_40_2702.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_43_2726.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_47_3724.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_49_2609.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_52_2770.jpg
/home/pi/Desktop/images/04112025/19/07/image_04112025_19_07_56_3675.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402041869","1402041929","1402041964","1402041892","1402042000","1402041868"],"photo_ids_order":["1402041868","1402041869","1402041892","1402041929","1402041964","1402042000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/909b34e270d74a4e94d6c130cfad9410.jpg","text":"TemporaryFile(/tmp/multipartBody7305874986504252891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294354269,"filename":"image_04112025_19_07_43_2726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b50416603b1ef3604467f0e53545be91.jpg","text":"TemporaryFile(/tmp/multipartBody6608607431319619175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294354269,"filename":"image_04112025_19_07_49_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f32c2faed6aa220545e56844ed094b6.jpg","text":"TemporaryFile(/tmp/multipartBody7014821772097535923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294354269,"filename":"image_04112025_19_07_52_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cc7ca990774f20bfdbc7f54c75bd5fd.jpg","text":"TemporaryFile(/tmp/multipartBody481556947295140656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294354269,"filename":"image_04112025_19_07_47_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf0444f68b43bd1912e6a95a5394e13c.jpg","text":"TemporaryFile(/tmp/multipartBody8159522127932111438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294354269,"filename":"image_04112025_19_07_56_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e22af345baa7cc757d351d0f8b50b371.jpg","text":"TemporaryFile(/tmp/multipartBody5955294912384798835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294354269,"filename":"image_04112025_19_07_40_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402041892","file1":"1402041869","file0":"1402041868","file4":"1402041964","file5":"1402042000","file3":"1402041929"},"map_files_photo_id_array":[{"photo_id":"1402042000","filename":"file5"},{"photo_id":"1402041892","filename":"file2"},{"photo_id":"1402041964","filename":"file4"},{"photo_id":"1402041869","filename":"file1"},{"photo_id":"1402041868","filename":"file0"},{"photo_id":"1402041929","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402041869":["hashtag1","hashtag2"]},{"1402041929":["hashtag1","hashtag2"]},{"1402041964":["hashtag1","hashtag2"]},{"1402041892":["hashtag1","hashtag2"]},{"1402042000":["hashtag1","hashtag2"]},{"1402041868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402041869, 1402041929, 1402041964, 1402041892, 1402042000, 1402041868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.26444220542908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:05:31.838277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_01_2743.jpg', '/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_04_2552.jpg', '/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_26_1819.jpg', '/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_31_2768.jpg', '/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_37_2734.jpg', '/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_43_2870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_01_2743.jpg
/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_04_2552.jpg
/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_26_1819.jpg
/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_31_2768.jpg
/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_37_2734.jpg
/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_43_2870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402042123","1402042135","1402042086","1402042047","1402042134","1402042097"],"photo_ids_order":["1402042047","1402042086","1402042097","1402042123","1402042134","1402042135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de6e71141fbb68ac80bd8215aea8c06a.jpg","text":"TemporaryFile(/tmp/multipartBody2920131175085422597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294393743,"filename":"image_04112025_19_08_31_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1a196406e45bdf46c952d37b1e2b88e.jpg","text":"TemporaryFile(/tmp/multipartBody544369813181462012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294393743,"filename":"image_04112025_19_08_43_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/796998822bc589192ad3597576b7e644.jpg","text":"TemporaryFile(/tmp/multipartBody2447207411797858026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294393743,"filename":"image_04112025_19_08_04_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fefae3186e6a9b14b4330022c6a0278.jpg","text":"TemporaryFile(/tmp/multipartBody3151866786724076279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294393743,"filename":"image_04112025_19_08_01_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8dd868cfc92f4e9f2c1fa23c5e7946d.jpg","text":"TemporaryFile(/tmp/multipartBody8371171178356682979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294393743,"filename":"image_04112025_19_08_37_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1962cde93c857be8d678547ecb0ce0d.jpg","text":"TemporaryFile(/tmp/multipartBody139824270616881643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294393743,"filename":"image_04112025_19_08_26_1819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402042097","file1":"1402042086","file0":"1402042047","file4":"1402042134","file5":"1402042135","file3":"1402042123"},"map_files_photo_id_array":[{"photo_id":"1402042135","filename":"file5"},{"photo_id":"1402042097","filename":"file2"},{"photo_id":"1402042134","filename":"file4"},{"photo_id":"1402042086","filename":"file1"},{"photo_id":"1402042047","filename":"file0"},{"photo_id":"1402042123","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402042123":["hashtag1","hashtag2"]},{"1402042135":["hashtag1","hashtag2"]},{"1402042086":["hashtag1","hashtag2"]},{"1402042047":["hashtag1","hashtag2"]},{"1402042134":["hashtag1","hashtag2"]},{"1402042097":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402042123, 1402042135, 1402042086, 1402042047, 1402042134, 1402042097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45773887634277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:06:12.070814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_47_3664.jpg', '/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_52_2652.jpg', '/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_19_3658.jpg', '/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_22_2854.jpg', '/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_43_2716.jpg', '/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_46_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_47_3664.jpg
/home/pi/Desktop/images/04112025/19/08/image_04112025_19_08_52_2652.jpg
/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_19_3658.jpg
/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_22_2854.jpg
/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_43_2716.jpg
/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_46_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402042286","1402042360","1402042395","1402042213","1402042248","1402042323"],"photo_ids_order":["1402042213","1402042248","1402042286","1402042323","1402042360","1402042395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f64897521b7ec1fb9952f9215a8bd956.jpg","text":"TemporaryFile(/tmp/multipartBody7025632434556774607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294433854,"filename":"image_04112025_19_09_19_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d6b9f2f108054e2bebd93d4231e66a69.jpg","text":"TemporaryFile(/tmp/multipartBody1923693572003020932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294433854,"filename":"image_04112025_19_09_43_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e8433e4fbb7ae9299c7367a78cee9b4.jpg","text":"TemporaryFile(/tmp/multipartBody8934406079362275887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294433854,"filename":"image_04112025_19_09_46_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce2c5c7b36d7305befad7413352df791.jpg","text":"TemporaryFile(/tmp/multipartBody3220591568770238418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294433854,"filename":"image_04112025_19_08_47_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b7f6abaa9e90d42135aacbdb05b6657.jpg","text":"TemporaryFile(/tmp/multipartBody1638809093234861492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294433854,"filename":"image_04112025_19_08_52_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e89d73d5634a6e0201645791aaa7c6c4.jpg","text":"TemporaryFile(/tmp/multipartBody2552991662395690952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294433854,"filename":"image_04112025_19_09_22_2854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402042286","file1":"1402042248","file0":"1402042213","file4":"1402042360","file5":"1402042395","file3":"1402042323"},"map_files_photo_id_array":[{"photo_id":"1402042395","filename":"file5"},{"photo_id":"1402042286","filename":"file2"},{"photo_id":"1402042360","filename":"file4"},{"photo_id":"1402042248","filename":"file1"},{"photo_id":"1402042213","filename":"file0"},{"photo_id":"1402042323","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402042286":["hashtag1","hashtag2"]},{"1402042360":["hashtag1","hashtag2"]},{"1402042395":["hashtag1","hashtag2"]},{"1402042213":["hashtag1","hashtag2"]},{"1402042248":["hashtag1","hashtag2"]},{"1402042323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402042286, 1402042360, 1402042395, 1402042213, 1402042248, 1402042323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31384468078613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:07:03.067454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_55_10697.jpg', '/home/pi/Desktop/images/01012026/19/36/image_01012026_19_37_05_9736.jpg', '/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_14_9629.jpg', '/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_25_10666.jpg', '/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_35_9679.jpg', '/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_44_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/36/image_01012026_19_36_55_10697.jpg
/home/pi/Desktop/images/01012026/19/36/image_01012026_19_37_05_9736.jpg
/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_14_9629.jpg
/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_25_10666.jpg
/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_35_9679.jpg
/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_44_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402042655","1402042750","1402042692","1402042935","1402042620","1402042844"],"photo_ids_order":["1402042620","1402042655","1402042692","1402042750","1402042844","1402042935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/381ead3395782d650e77549a3bbabf62.jpg","text":"TemporaryFile(/tmp/multipartBody186163989375332572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294483714,"filename":"image_01012026_19_37_05_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb57d0a1a04aaeea07475214c4fc270a.jpg","text":"TemporaryFile(/tmp/multipartBody2171096472766589235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294483714,"filename":"image_01012026_19_37_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d9d14d41cddbb1d4f94122407ac2581.jpg","text":"TemporaryFile(/tmp/multipartBody212599992265892208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294483714,"filename":"image_01012026_19_37_14_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/408167fe92b14bade16e5728ef12aaff.jpg","text":"TemporaryFile(/tmp/multipartBody4534960013698501891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294483714,"filename":"image_01012026_19_37_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b57930c5ceda2614b0c8414afe1ec30a.jpg","text":"TemporaryFile(/tmp/multipartBody5757990041222282593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294483714,"filename":"image_01012026_19_36_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fb680dbfeb0262d0ae04f53f5446b2d.jpg","text":"TemporaryFile(/tmp/multipartBody809777476937358167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294483714,"filename":"image_01012026_19_37_35_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402042692","file1":"1402042655","file0":"1402042620","file4":"1402042844","file5":"1402042935","file3":"1402042750"},"map_files_photo_id_array":[{"photo_id":"1402042935","filename":"file5"},{"photo_id":"1402042692","filename":"file2"},{"photo_id":"1402042844","filename":"file4"},{"photo_id":"1402042655","filename":"file1"},{"photo_id":"1402042620","filename":"file0"},{"photo_id":"1402042750","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402042655":["hashtag1","hashtag2"]},{"1402042750":["hashtag1","hashtag2"]},{"1402042692":["hashtag1","hashtag2"]},{"1402042935":["hashtag1","hashtag2"]},{"1402042620":["hashtag1","hashtag2"]},{"1402042844":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402042655, 1402042750, 1402042692, 1402042935, 1402042620, 1402042844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.89094042778015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:07:42.463653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_52_2713.jpg', '/home/pi/Desktop/images/04112025/19/10/image_04112025_19_10_01_2601.jpg', '/home/pi/Desktop/images/04112025/19/10/image_04112025_19_10_04_2631.jpg', '/home/pi/Desktop/images/04112025/19/10/image_04112025_19_10_08_3871.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_19_2571.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_25_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/09/image_04112025_19_09_52_2713.jpg
/home/pi/Desktop/images/04112025/19/10/image_04112025_19_10_01_2601.jpg
/home/pi/Desktop/images/04112025/19/10/image_04112025_19_10_04_2631.jpg
/home/pi/Desktop/images/04112025/19/10/image_04112025_19_10_08_3871.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_19_2571.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_25_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402043306","1402043167","1402043240","1402043138","1402043438","1402043204"],"photo_ids_order":["1402043138","1402043167","1402043204","1402043240","1402043306","1402043438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62d8af8b1e2c402ef5aa880837ea7e1e.jpg","text":"TemporaryFile(/tmp/multipartBody6460595259135875705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294524384,"filename":"image_04112025_19_11_19_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfc0aee23576c3a3412fa13efeeaec4d.jpg","text":"TemporaryFile(/tmp/multipartBody2666193062104518984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294524384,"filename":"image_04112025_19_10_01_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e4c0c8b917bd7530e5efe1a241644a6.jpg","text":"TemporaryFile(/tmp/multipartBody7017296715119039439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294524384,"filename":"image_04112025_19_10_08_3871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d5e88022eb58537e2c1f62acbb9986b.jpg","text":"TemporaryFile(/tmp/multipartBody8156820776562892160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294524384,"filename":"image_04112025_19_09_52_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac783410fac963f4a77783a58e0f25a1.jpg","text":"TemporaryFile(/tmp/multipartBody3829538456275120922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294524384,"filename":"image_04112025_19_11_25_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5414912f722f6857f47f94e9863fa987.jpg","text":"TemporaryFile(/tmp/multipartBody4093950757397728351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294524384,"filename":"image_04112025_19_10_04_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402043204","file1":"1402043167","file0":"1402043138","file4":"1402043306","file5":"1402043438","file3":"1402043240"},"map_files_photo_id_array":[{"photo_id":"1402043438","filename":"file5"},{"photo_id":"1402043204","filename":"file2"},{"photo_id":"1402043306","filename":"file4"},{"photo_id":"1402043167","filename":"file1"},{"photo_id":"1402043138","filename":"file0"},{"photo_id":"1402043240","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402043306":["hashtag1","hashtag2"]},{"1402043167":["hashtag1","hashtag2"]},{"1402043240":["hashtag1","hashtag2"]},{"1402043138":["hashtag1","hashtag2"]},{"1402043438":["hashtag1","hashtag2"]},{"1402043204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402043306, 1402043167, 1402043240, 1402043138, 1402043438, 1402043204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00528860092163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:08:22.666854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_55_10699.jpg', '/home/pi/Desktop/images/01012026/19/37/image_01012026_19_38_05_9533.jpg', '/home/pi/Desktop/images/01012026/19/38/image_01012026_19_38_14_9850.jpg', '/home/pi/Desktop/images/01012026/19/38/image_01012026_19_38_24_9741.jpg', '/home/pi/Desktop/images/01012026/19/38/image_01012026_19_38_44_9731.jpg', '/home/pi/Desktop/images/01012026/19/38/image_01012026_19_38_54_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/37/image_01012026_19_37_55_10699.jpg
/home/pi/Desktop/images/01012026/19/37/image_01012026_19_38_05_9533.jpg
/home/pi/Desktop/images/01012026/19/38/image_01012026_19_38_14_9850.jpg
/home/pi/Desktop/images/01012026/19/38/image_01012026_19_38_24_9741.jpg
/home/pi/Desktop/images/01012026/19/38/image_01012026_19_38_44_9731.jpg
/home/pi/Desktop/images/01012026/19/38/image_01012026_19_38_54_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402043606","1402043758","1402043652","1402043798","1402043837","1402043711"],"photo_ids_order":["1402043606","1402043652","1402043711","1402043758","1402043798","1402043837"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1627e207af32e04530b2f0cadfda868f.jpg","text":"TemporaryFile(/tmp/multipartBody568622980011047905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294563255,"filename":"image_01012026_19_37_55_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23c2ab84e158c0d2de9376bc8344a7c0.jpg","text":"TemporaryFile(/tmp/multipartBody5265677227639444996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294563255,"filename":"image_01012026_19_38_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6aee62897a7bcda0b9638f9e9f5355a.jpg","text":"TemporaryFile(/tmp/multipartBody6276616958094308107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294563255,"filename":"image_01012026_19_38_05_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e1ee1ac90064b43ec1822a7e87195ca.jpg","text":"TemporaryFile(/tmp/multipartBody6326410786571365618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294563255,"filename":"image_01012026_19_38_44_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a77d91e91e066ee647aeac25f1e5c157.jpg","text":"TemporaryFile(/tmp/multipartBody6131293788115377396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294563255,"filename":"image_01012026_19_38_54_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64d75eb09d0757f58fb0ae77050ca548.jpg","text":"TemporaryFile(/tmp/multipartBody2124673233978302718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294563255,"filename":"image_01012026_19_38_14_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402043711","file1":"1402043652","file0":"1402043606","file4":"1402043798","file5":"1402043837","file3":"1402043758"},"map_files_photo_id_array":[{"photo_id":"1402043837","filename":"file5"},{"photo_id":"1402043711","filename":"file2"},{"photo_id":"1402043798","filename":"file4"},{"photo_id":"1402043652","filename":"file1"},{"photo_id":"1402043606","filename":"file0"},{"photo_id":"1402043758","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402043606":["hashtag1","hashtag2"]},{"1402043758":["hashtag1","hashtag2"]},{"1402043652":["hashtag1","hashtag2"]},{"1402043798":["hashtag1","hashtag2"]},{"1402043837":["hashtag1","hashtag2"]},{"1402043711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402043606, 1402043758, 1402043652, 1402043798, 1402043837, 1402043711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98422312736511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:09:03.883254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/38/image_01012026_19_39_05_10790.jpg', '/home/pi/Desktop/images/01012026/19/39/image_01012026_19_39_15_9723.jpg', '/home/pi/Desktop/images/01012026/19/39/image_01012026_19_39_24_9744.jpg', '/home/pi/Desktop/images/01012026/19/39/image_01012026_19_39_35_10595.jpg', '/home/pi/Desktop/images/01012026/19/39/image_01012026_19_40_04_9567.jpg', '/home/pi/Desktop/images/01012026/19/40/image_01012026_19_40_25_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/38/image_01012026_19_39_05_10790.jpg
/home/pi/Desktop/images/01012026/19/39/image_01012026_19_39_15_9723.jpg
/home/pi/Desktop/images/01012026/19/39/image_01012026_19_39_24_9744.jpg
/home/pi/Desktop/images/01012026/19/39/image_01012026_19_39_35_10595.jpg
/home/pi/Desktop/images/01012026/19/39/image_01012026_19_40_04_9567.jpg
/home/pi/Desktop/images/01012026/19/40/image_01012026_19_40_25_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":["1402043986","1402043974","1402043991","1402043988","1402043985","1402043984"],"photo_ids_order":["1402043974","1402043984","1402043985","1402043986","1402043988","1402043991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8383ba298ff7b54246616b6b2a302a81.jpg","text":"TemporaryFile(/tmp/multipartBody7024864942303297101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294604695,"filename":"image_01012026_19_39_35_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/610af5671f078987b8d240ea8d70dcea.jpg","text":"TemporaryFile(/tmp/multipartBody9083610082361579606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294604695,"filename":"image_01012026_19_39_05_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64cc681424e1e16f921c61da4cd716b0.jpg","text":"TemporaryFile(/tmp/multipartBody4055101881051992425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294604695,"filename":"image_01012026_19_40_25_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/891d1af022e60c46a42cc4a176a47c7c.jpg","text":"TemporaryFile(/tmp/multipartBody297374726304359065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294604695,"filename":"image_01012026_19_40_04_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e0c8456489fcb03faf67bbfcae00193.jpg","text":"TemporaryFile(/tmp/multipartBody4566842009746997024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294604695,"filename":"image_01012026_19_39_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2775306d6a2384fc557e27e8a663cec5.jpg","text":"TemporaryFile(/tmp/multipartBody6986094947457475667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294604695,"filename":"image_01012026_19_39_15_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402043985","file1":"1402043984","file0":"1402043974","file4":"1402043988","file5":"1402043991","file3":"1402043986"},"map_files_photo_id_array":[{"photo_id":"1402043991","filename":"file5"},{"photo_id":"1402043985","filename":"file2"},{"photo_id":"1402043988","filename":"file4"},{"photo_id":"1402043984","filename":"file1"},{"photo_id":"1402043974","filename":"file0"},{"photo_id":"1402043986","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402043986":["hashtag1","hashtag2"]},{"1402043974":["hashtag1","hashtag2"]},{"1402043991":["hashtag1","hashtag2"]},{"1402043988":["hashtag1","hashtag2"]},{"1402043985":["hashtag1","hashtag2"]},{"1402043984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402043986, 1402043974, 1402043991, 1402043988, 1402043985, 1402043984)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.139310121536255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:10:02.470012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 20:10:11.876757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_34_2877.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_36_2830.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_46_3645.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_49_2697.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_58_2585.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_04_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_34_2877.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_36_2830.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_46_3645.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_49_2697.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_58_2585.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_04_3548.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.6966276168823242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:10:21.946238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/40/image_01012026_19_40_34_9594.jpg', '/home/pi/Desktop/images/01012026/19/40/image_01012026_19_40_55_9728.jpg', '/home/pi/Desktop/images/01012026/19/40/image_01012026_19_41_05_10561.jpg', '/home/pi/Desktop/images/01012026/19/41/image_01012026_19_41_15_9687.jpg', '/home/pi/Desktop/images/01012026/19/41/image_01012026_19_41_45_9698.jpg', '/home/pi/Desktop/images/01012026/19/41/image_01012026_19_41_54_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/40/image_01012026_19_40_34_9594.jpg
/home/pi/Desktop/images/01012026/19/40/image_01012026_19_40_55_9728.jpg
/home/pi/Desktop/images/01012026/19/40/image_01012026_19_41_05_10561.jpg
/home/pi/Desktop/images/01012026/19/41/image_01012026_19_41_15_9687.jpg
/home/pi/Desktop/images/01012026/19/41/image_01012026_19_41_45_9698.jpg
/home/pi/Desktop/images/01012026/19/41/image_01012026_19_41_54_9704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044166","1402044160","1402044171","1402044170","1402044175","1402044163"],"photo_ids_order":["1402044160","1402044163","1402044166","1402044170","1402044171","1402044175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/495a886d6a3e8ee12d643fff029f6637.jpg","text":"TemporaryFile(/tmp/multipartBody2702288678445023483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294682533,"filename":"image_01012026_19_41_05_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a719d258c857e6f9bf1e9ec10271ef4.jpg","text":"TemporaryFile(/tmp/multipartBody3158904837597006238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294682533,"filename":"image_01012026_19_40_34_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9291cd7635ba8174381266a840561d0.jpg","text":"TemporaryFile(/tmp/multipartBody8356657117557097862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294682533,"filename":"image_01012026_19_41_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ebadf81c748b98b6398e69becf07860.jpg","text":"TemporaryFile(/tmp/multipartBody8221072540386371736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294682533,"filename":"image_01012026_19_41_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38da3f5a24439d91e5d98f14b9f29185.jpg","text":"TemporaryFile(/tmp/multipartBody2551869161523478059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294682533,"filename":"image_01012026_19_41_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f19264f115da6a8dd73f76f3dcaef27.jpg","text":"TemporaryFile(/tmp/multipartBody9214259549960411946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294682533,"filename":"image_01012026_19_40_55_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044166","file1":"1402044163","file0":"1402044160","file4":"1402044171","file5":"1402044175","file3":"1402044170"},"map_files_photo_id_array":[{"photo_id":"1402044175","filename":"file5"},{"photo_id":"1402044166","filename":"file2"},{"photo_id":"1402044171","filename":"file4"},{"photo_id":"1402044163","filename":"file1"},{"photo_id":"1402044160","filename":"file0"},{"photo_id":"1402044170","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044166":["hashtag1","hashtag2"]},{"1402044160":["hashtag1","hashtag2"]},{"1402044171":["hashtag1","hashtag2"]},{"1402044170":["hashtag1","hashtag2"]},{"1402044175":["hashtag1","hashtag2"]},{"1402044163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044166, 1402044160, 1402044171, 1402044170, 1402044175, 1402044163)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.822940826416016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:11:12.314732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_34_2877.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_36_2830.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_46_3645.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_49_2697.jpg', '/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_58_2585.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_04_3548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_34_2877.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_36_2830.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_46_3645.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_49_2697.jpg
/home/pi/Desktop/images/04112025/19/11/image_04112025_19_11_58_2585.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_04_3548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044183","1402044177","1402044179","1402044176","1402044181","1402044178"],"photo_ids_order":["1402044176","1402044177","1402044178","1402044179","1402044181","1402044183"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8fb5cbd058f18f1cd89c482227943d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5162436244800055232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294733953,"filename":"image_04112025_19_12_04_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/721675413fb5a3a47d2382ed6ca08ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8080033013774026344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294733953,"filename":"image_04112025_19_11_36_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/443bd6b3a963c8928fe142306bf98337.jpg","text":"TemporaryFile(/tmp/multipartBody3685993013047316380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294733953,"filename":"image_04112025_19_11_49_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3a0ca5def85799a11b669894e05312e.jpg","text":"TemporaryFile(/tmp/multipartBody5974584399494356207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294733953,"filename":"image_04112025_19_11_34_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b65867467979d62a97a2955d27e03b2.jpg","text":"TemporaryFile(/tmp/multipartBody1480533670077328048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294733953,"filename":"image_04112025_19_11_58_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/529d7a2c6b388a5c5b5794ca55b35c36.jpg","text":"TemporaryFile(/tmp/multipartBody3984222117618022896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294733953,"filename":"image_04112025_19_11_46_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044178","file1":"1402044177","file0":"1402044176","file4":"1402044181","file5":"1402044183","file3":"1402044179"},"map_files_photo_id_array":[{"photo_id":"1402044183","filename":"file5"},{"photo_id":"1402044178","filename":"file2"},{"photo_id":"1402044181","filename":"file4"},{"photo_id":"1402044177","filename":"file1"},{"photo_id":"1402044176","filename":"file0"},{"photo_id":"1402044179","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044183":["hashtag1","hashtag2"]},{"1402044177":["hashtag1","hashtag2"]},{"1402044179":["hashtag1","hashtag2"]},{"1402044176":["hashtag1","hashtag2"]},{"1402044181":["hashtag1","hashtag2"]},{"1402044178":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044183, 1402044177, 1402044179, 1402044176, 1402044181, 1402044178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2094144821167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:12:03.117937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/41/image_01012026_19_42_05_10588.jpg', '/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_15_9624.jpg', '/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_24_9747.jpg', '/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_35_10638.jpg', '/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_45_9644.jpg', '/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_54_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/41/image_01012026_19_42_05_10588.jpg
/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_15_9624.jpg
/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_24_9747.jpg
/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_35_10638.jpg
/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_45_9644.jpg
/home/pi/Desktop/images/01012026/19/42/image_01012026_19_42_54_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":["1402044198","1402044202","1402044195","1402044194","1402044200","1402044196"],"photo_ids_order":["1402044194","1402044195","1402044196","1402044198","1402044200","1402044202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df9ef602c649c8f3c3b7f063c514b378.jpg","text":"TemporaryFile(/tmp/multipartBody3100986372450705716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294786411,"filename":"image_01012026_19_42_35_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec3d8903c737f2654e110910b723f383.jpg","text":"TemporaryFile(/tmp/multipartBody6656122457146480876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294786411,"filename":"image_01012026_19_42_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86ca6a78b7c50513522f78e74fb5cd46.jpg","text":"TemporaryFile(/tmp/multipartBody8623509995937080287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294786411,"filename":"image_01012026_19_42_15_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d622e0d12174a8ddd70976520663a1b.jpg","text":"TemporaryFile(/tmp/multipartBody1129335652553605136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294786411,"filename":"image_01012026_19_42_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01fc95677c51e0d264136ed47f8e8ca7.jpg","text":"TemporaryFile(/tmp/multipartBody2492376811882504603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294786411,"filename":"image_01012026_19_42_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/373904eff39865e15bc2566009891437.jpg","text":"TemporaryFile(/tmp/multipartBody6405300907473007160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294786411,"filename":"image_01012026_19_42_24_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044196","file1":"1402044195","file0":"1402044194","file4":"1402044200","file5":"1402044202","file3":"1402044198"},"map_files_photo_id_array":[{"photo_id":"1402044202","filename":"file5"},{"photo_id":"1402044196","filename":"file2"},{"photo_id":"1402044200","filename":"file4"},{"photo_id":"1402044195","filename":"file1"},{"photo_id":"1402044194","filename":"file0"},{"photo_id":"1402044198","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044198":["hashtag1","hashtag2"]},{"1402044202":["hashtag1","hashtag2"]},{"1402044195":["hashtag1","hashtag2"]},{"1402044194":["hashtag1","hashtag2"]},{"1402044200":["hashtag1","hashtag2"]},{"1402044196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044198, 1402044202, 1402044195, 1402044194, 1402044200, 1402044196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81359314918518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:12:42.746191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_07_2638.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_10_2697.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_12_2817.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_16_3575.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_19_2770.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_25_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_07_2638.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_10_2697.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_12_2817.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_16_3575.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_19_2770.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_25_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":["1402044211","1402044208","1402044210","1402044209","1402044212","1402044206"],"photo_ids_order":["1402044206","1402044208","1402044209","1402044210","1402044211","1402044212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2fe48d03f4ce4de9c1966f9e1952bc0c.jpg","text":"TemporaryFile(/tmp/multipartBody4484898493589402239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294824523,"filename":"image_04112025_19_12_19_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4fdf8889803b730d4f9c00fc1cdfbb1.jpg","text":"TemporaryFile(/tmp/multipartBody3645534837078592669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294824523,"filename":"image_04112025_19_12_10_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a26401be1b44943638128fde33819f3.jpg","text":"TemporaryFile(/tmp/multipartBody7663090117858604815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294824523,"filename":"image_04112025_19_12_16_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1db546de31de81085a99fcaa34e7d7e6.jpg","text":"TemporaryFile(/tmp/multipartBody4264059166159937010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294824523,"filename":"image_04112025_19_12_12_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c262e5d8dabb11ef88909644927b8cab.jpg","text":"TemporaryFile(/tmp/multipartBody4990755355598692216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294824523,"filename":"image_04112025_19_12_25_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c939047e0f6b1e79cffc74a37f4e55a9.jpg","text":"TemporaryFile(/tmp/multipartBody7096663403149181731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294824523,"filename":"image_04112025_19_12_07_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044209","file1":"1402044208","file0":"1402044206","file4":"1402044211","file5":"1402044212","file3":"1402044210"},"map_files_photo_id_array":[{"photo_id":"1402044212","filename":"file5"},{"photo_id":"1402044209","filename":"file2"},{"photo_id":"1402044211","filename":"file4"},{"photo_id":"1402044208","filename":"file1"},{"photo_id":"1402044206","filename":"file0"},{"photo_id":"1402044210","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044211":["hashtag1","hashtag2"]},{"1402044208":["hashtag1","hashtag2"]},{"1402044210":["hashtag1","hashtag2"]},{"1402044209":["hashtag1","hashtag2"]},{"1402044212":["hashtag1","hashtag2"]},{"1402044206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044211, 1402044208, 1402044210, 1402044209, 1402044212, 1402044206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36556601524353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:13:21.971741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/42/image_01012026_19_43_05_10708.jpg', '/home/pi/Desktop/images/01012026/19/43/image_01012026_19_43_15_9691.jpg', '/home/pi/Desktop/images/01012026/19/43/image_01012026_19_43_24_9706.jpg', '/home/pi/Desktop/images/01012026/19/43/image_01012026_19_43_55_9754.jpg', '/home/pi/Desktop/images/01012026/19/43/image_01012026_19_44_04_9729.jpg', '/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_15_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/42/image_01012026_19_43_05_10708.jpg
/home/pi/Desktop/images/01012026/19/43/image_01012026_19_43_15_9691.jpg
/home/pi/Desktop/images/01012026/19/43/image_01012026_19_43_24_9706.jpg
/home/pi/Desktop/images/01012026/19/43/image_01012026_19_43_55_9754.jpg
/home/pi/Desktop/images/01012026/19/43/image_01012026_19_44_04_9729.jpg
/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_15_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044220","1402044217","1402044222","1402044225","1402044213","1402044215"],"photo_ids_order":["1402044213","1402044215","1402044217","1402044220","1402044222","1402044225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/838d0881a69d06b063da5d5df52d688c.jpg","text":"TemporaryFile(/tmp/multipartBody2029126717345194415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294862530,"filename":"image_01012026_19_43_55_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3a93e405e76c487ed4d98ebebfa6ff1.jpg","text":"TemporaryFile(/tmp/multipartBody4962710050807427219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294862530,"filename":"image_01012026_19_43_24_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89d15eb341b39a6baa722d34fe33e6e7.jpg","text":"TemporaryFile(/tmp/multipartBody2878465965169927666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294862530,"filename":"image_01012026_19_44_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef861b13c3fe474ace3afa37ec099fa1.jpg","text":"TemporaryFile(/tmp/multipartBody586638422712313643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294862530,"filename":"image_01012026_19_44_15_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d9e5f90331b56db93711343e6b62ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5409491238718454638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294862530,"filename":"image_01012026_19_43_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd0b7f92c43f20f860ee6330866580ae.jpg","text":"TemporaryFile(/tmp/multipartBody7165559603293620446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294862530,"filename":"image_01012026_19_43_15_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044217","file1":"1402044215","file0":"1402044213","file4":"1402044222","file5":"1402044225","file3":"1402044220"},"map_files_photo_id_array":[{"photo_id":"1402044225","filename":"file5"},{"photo_id":"1402044217","filename":"file2"},{"photo_id":"1402044222","filename":"file4"},{"photo_id":"1402044215","filename":"file1"},{"photo_id":"1402044213","filename":"file0"},{"photo_id":"1402044220","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044220":["hashtag1","hashtag2"]},{"1402044217":["hashtag1","hashtag2"]},{"1402044222":["hashtag1","hashtag2"]},{"1402044225":["hashtag1","hashtag2"]},{"1402044213":["hashtag1","hashtag2"]},{"1402044215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044220, 1402044217, 1402044222, 1402044225, 1402044213, 1402044215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.68847894668579 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:14:12.375829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_46_3566.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_49_2588.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_52_3741.jpg', '/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_59_6875.jpg', '/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_01_1663.jpg', '/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_02_1642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_46_3566.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_49_2588.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_52_3741.jpg
/home/pi/Desktop/images/04112025/19/12/image_04112025_19_12_59_6875.jpg
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_01_1663.jpg
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_02_1642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044232","1402044234","1402044237","1402044231","1402044239","1402044230"],"photo_ids_order":["1402044230","1402044231","1402044232","1402044234","1402044237","1402044239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61e20af5b214c095a964fca36d160fb3.jpg","text":"TemporaryFile(/tmp/multipartBody7917521000945543826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294914160,"filename":"image_04112025_19_12_52_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/940d814933aae0162500a2e39ef7d93b.jpg","text":"TemporaryFile(/tmp/multipartBody8514949457589927512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294914160,"filename":"image_04112025_19_12_59_6875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/291c98b87024ddef49b23eaa0ec3078e.jpg","text":"TemporaryFile(/tmp/multipartBody8817611339624804863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294914160,"filename":"image_04112025_19_13_01_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74e1bd56e1678581a803eb756738a352.jpg","text":"TemporaryFile(/tmp/multipartBody7859395549364659267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294914160,"filename":"image_04112025_19_12_49_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33c44ab0b5f7138ef40286177a280f23.jpg","text":"TemporaryFile(/tmp/multipartBody4457510544538551189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294914160,"filename":"image_04112025_19_13_02_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8cccb3fae92f7b3f3ebf9094b273d2f6.jpg","text":"TemporaryFile(/tmp/multipartBody6262422689145478577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294914160,"filename":"image_04112025_19_12_46_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044232","file1":"1402044231","file0":"1402044230","file4":"1402044237","file5":"1402044239","file3":"1402044234"},"map_files_photo_id_array":[{"photo_id":"1402044239","filename":"file5"},{"photo_id":"1402044232","filename":"file2"},{"photo_id":"1402044237","filename":"file4"},{"photo_id":"1402044231","filename":"file1"},{"photo_id":"1402044230","filename":"file0"},{"photo_id":"1402044234","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044232":["hashtag1","hashtag2"]},{"1402044234":["hashtag1","hashtag2"]},{"1402044237":["hashtag1","hashtag2"]},{"1402044231":["hashtag1","hashtag2"]},{"1402044239":["hashtag1","hashtag2"]},{"1402044230":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044232, 1402044234, 1402044237, 1402044231, 1402044239, 1402044230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27092504501343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:15:13.866546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
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 15
2026-01-01 20:15:33.258933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_25_9619.jpg', '/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_34_9671.jpg', '/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_45_10563.jpg', '/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_55_9646.jpg', '/home/pi/Desktop/images/01012026/19/44/image_01012026_19_45_04_9718.jpg', '/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_15_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_25_9619.jpg
/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_34_9671.jpg
/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_45_10563.jpg
/home/pi/Desktop/images/01012026/19/44/image_01012026_19_44_55_9646.jpg
/home/pi/Desktop/images/01012026/19/44/image_01012026_19_45_04_9718.jpg
/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_15_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":["1402044253","1402044247","1402044255","1402044249","1402044251","1402044256"],"photo_ids_order":["1402044247","1402044249","1402044251","1402044253","1402044255","1402044256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e7b24f2e6ade38a004f7e60d9d9abdb.jpg","text":"TemporaryFile(/tmp/multipartBody6767627359819115367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294993818,"filename":"image_01012026_19_44_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfe9969f24fa4e0027900710734ddee8.jpg","text":"TemporaryFile(/tmp/multipartBody8871381539903206124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294993818,"filename":"image_01012026_19_44_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d6fb088b0259cf3a6db96497c4b8b6d.jpg","text":"TemporaryFile(/tmp/multipartBody8321447564756465040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294993818,"filename":"image_01012026_19_45_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/814aab4913817bea6a928dcf0c9c3e02.jpg","text":"TemporaryFile(/tmp/multipartBody4568451370211726925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294993818,"filename":"image_01012026_19_44_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e5e582766ea0bcdc53e5d6ef772372e.jpg","text":"TemporaryFile(/tmp/multipartBody2706082462412132177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294993818,"filename":"image_01012026_19_44_45_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9bbe5a244d5409bf22107bbf6967114a.jpg","text":"TemporaryFile(/tmp/multipartBody3456336201975344557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767294993818,"filename":"image_01012026_19_45_15_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044251","file1":"1402044249","file0":"1402044247","file4":"1402044255","file5":"1402044256","file3":"1402044253"},"map_files_photo_id_array":[{"photo_id":"1402044256","filename":"file5"},{"photo_id":"1402044251","filename":"file2"},{"photo_id":"1402044255","filename":"file4"},{"photo_id":"1402044249","filename":"file1"},{"photo_id":"1402044247","filename":"file0"},{"photo_id":"1402044253","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044253":["hashtag1","hashtag2"]},{"1402044247":["hashtag1","hashtag2"]},{"1402044255":["hashtag1","hashtag2"]},{"1402044249":["hashtag1","hashtag2"]},{"1402044251":["hashtag1","hashtag2"]},{"1402044256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044253, 1402044247, 1402044255, 1402044249, 1402044251, 1402044256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12605690956116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:16:12.472017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_28_2707.jpg', '/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_34_3645.jpg', '/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_40_2737.jpg', '/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_43_2895.jpg', '/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_49_3697.jpg', '/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_52_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_28_2707.jpg
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_34_3645.jpg
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_40_2737.jpg
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_43_2895.jpg
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_49_3697.jpg
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_52_2843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044265","1402044264","1402044258","1402044257","1402044260","1402044262"],"photo_ids_order":["1402044257","1402044258","1402044260","1402044262","1402044264","1402044265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/043db51d70378a7b6ffceabd5faec99c.jpg","text":"TemporaryFile(/tmp/multipartBody7573244614175516089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295034449,"filename":"image_04112025_19_13_52_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7caf858d0d56f3f68f92cc849f3899d5.jpg","text":"TemporaryFile(/tmp/multipartBody5378881805833065195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295034449,"filename":"image_04112025_19_13_49_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73a3296c49a00e6f0ed45da6cae844d1.jpg","text":"TemporaryFile(/tmp/multipartBody8124704732660657682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295034449,"filename":"image_04112025_19_13_34_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7dc9fbc0531c2baef107fde3ff0cb19.jpg","text":"TemporaryFile(/tmp/multipartBody8049431129641707282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295034449,"filename":"image_04112025_19_13_28_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1edef8c7b1ed65f14703bb823f89ad7a.jpg","text":"TemporaryFile(/tmp/multipartBody5357507420928201555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295034449,"filename":"image_04112025_19_13_40_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a1f501ab8c636895e78013b916fbc7f.jpg","text":"TemporaryFile(/tmp/multipartBody8098851346740077640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295034449,"filename":"image_04112025_19_13_43_2895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044260","file1":"1402044258","file0":"1402044257","file4":"1402044264","file5":"1402044265","file3":"1402044262"},"map_files_photo_id_array":[{"photo_id":"1402044265","filename":"file5"},{"photo_id":"1402044260","filename":"file2"},{"photo_id":"1402044264","filename":"file4"},{"photo_id":"1402044258","filename":"file1"},{"photo_id":"1402044257","filename":"file0"},{"photo_id":"1402044262","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044265":["hashtag1","hashtag2"]},{"1402044264":["hashtag1","hashtag2"]},{"1402044258":["hashtag1","hashtag2"]},{"1402044257":["hashtag1","hashtag2"]},{"1402044260":["hashtag1","hashtag2"]},{"1402044262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044265, 1402044264, 1402044258, 1402044257, 1402044260, 1402044262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.707438230514526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:17:03.306450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_25_9691.jpg', '/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_34_9751.jpg', '/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_44_9702.jpg', '/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_55_10642.jpg', '/home/pi/Desktop/images/01012026/19/45/image_01012026_19_46_04_9571.jpg', '/home/pi/Desktop/images/01012026/19/46/image_01012026_19_46_15_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_25_9691.jpg
/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_34_9751.jpg
/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_44_9702.jpg
/home/pi/Desktop/images/01012026/19/45/image_01012026_19_45_55_10642.jpg
/home/pi/Desktop/images/01012026/19/45/image_01012026_19_46_04_9571.jpg
/home/pi/Desktop/images/01012026/19/46/image_01012026_19_46_15_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":["1402044271","1402044279","1402044273","1402044276","1402044274","1402044277"],"photo_ids_order":["1402044271","1402044273","1402044274","1402044276","1402044277","1402044279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60eefb65997af5a3366d7b86a0d79740.jpg","text":"TemporaryFile(/tmp/multipartBody9163053270277401127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295083984,"filename":"image_01012026_19_45_25_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85e52cd610ee0583d487e638f00ce319.jpg","text":"TemporaryFile(/tmp/multipartBody2260599620805467746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295083984,"filename":"image_01012026_19_46_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12f803f22cffaae784d324e07972a9db.jpg","text":"TemporaryFile(/tmp/multipartBody2194559875475103120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295083984,"filename":"image_01012026_19_45_34_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fbf1a3a39cdcfb66302891204df6ca6a.jpg","text":"TemporaryFile(/tmp/multipartBody3684046808786605874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295083984,"filename":"image_01012026_19_45_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf60dba6870d5922d5fd4be20bb0ce37.jpg","text":"TemporaryFile(/tmp/multipartBody8907314487110449282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295083984,"filename":"image_01012026_19_45_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c65f9de3f766b1ee572b5a5063511ab.jpg","text":"TemporaryFile(/tmp/multipartBody9133376982846600910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295083984,"filename":"image_01012026_19_46_04_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044274","file1":"1402044273","file0":"1402044271","file4":"1402044277","file5":"1402044279","file3":"1402044276"},"map_files_photo_id_array":[{"photo_id":"1402044279","filename":"file5"},{"photo_id":"1402044274","filename":"file2"},{"photo_id":"1402044277","filename":"file4"},{"photo_id":"1402044273","filename":"file1"},{"photo_id":"1402044271","filename":"file0"},{"photo_id":"1402044276","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044271":["hashtag1","hashtag2"]},{"1402044279":["hashtag1","hashtag2"]},{"1402044273":["hashtag1","hashtag2"]},{"1402044276":["hashtag1","hashtag2"]},{"1402044274":["hashtag1","hashtag2"]},{"1402044277":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044271, 1402044279, 1402044273, 1402044276, 1402044274, 1402044277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.119773387908936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:17:42.714851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_58_3569.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_01_2633.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_04_2825.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_06_2709.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_10_3642.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_13_2614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/13/image_04112025_19_13_58_3569.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_01_2633.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_04_2825.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_06_2709.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_10_3642.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_13_2614.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044291","1402044285","1402044288","1402044290","1402044287","1402044289"],"photo_ids_order":["1402044285","1402044287","1402044288","1402044289","1402044290","1402044291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68ea4c821dd8c82d68056c4bfcdd02ce.jpg","text":"TemporaryFile(/tmp/multipartBody8756439540835517303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295124653,"filename":"image_04112025_19_14_13_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8d43fbf86f3039f536d91583bf1477b.jpg","text":"TemporaryFile(/tmp/multipartBody2365809854754833518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295124653,"filename":"image_04112025_19_13_58_3569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a21990180155163c5d388a6f28aae849.jpg","text":"TemporaryFile(/tmp/multipartBody2926448051509711126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295124653,"filename":"image_04112025_19_14_04_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d519579c2fb69892a95a2d8766aac36.jpg","text":"TemporaryFile(/tmp/multipartBody3260136420833563982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295124653,"filename":"image_04112025_19_14_10_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa812ee429c75b2bc8f2eb1ddb2dec15.jpg","text":"TemporaryFile(/tmp/multipartBody7265435707635802833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295124653,"filename":"image_04112025_19_14_01_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e2c523013d95f31cd4c8bbfa5cca9fc.jpg","text":"TemporaryFile(/tmp/multipartBody5235068029922289985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295124653,"filename":"image_04112025_19_14_06_2709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044288","file1":"1402044287","file0":"1402044285","file4":"1402044290","file5":"1402044291","file3":"1402044289"},"map_files_photo_id_array":[{"photo_id":"1402044291","filename":"file5"},{"photo_id":"1402044288","filename":"file2"},{"photo_id":"1402044290","filename":"file4"},{"photo_id":"1402044287","filename":"file1"},{"photo_id":"1402044285","filename":"file0"},{"photo_id":"1402044289","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044291":["hashtag1","hashtag2"]},{"1402044285":["hashtag1","hashtag2"]},{"1402044288":["hashtag1","hashtag2"]},{"1402044290":["hashtag1","hashtag2"]},{"1402044287":["hashtag1","hashtag2"]},{"1402044289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044291, 1402044285, 1402044288, 1402044290, 1402044287, 1402044289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.73285365104675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:18:31.879781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_15_2795.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_31_2706.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_33_2696.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_40_2874.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_51_1627.jpg', '/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_57_1656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_15_2795.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_31_2706.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_33_2696.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_40_2874.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_51_1627.jpg
/home/pi/Desktop/images/04112025/19/14/image_04112025_19_14_57_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":["1402044297","1402044301","1402044303","1402044299","1402044302","1402044295"],"photo_ids_order":["1402044295","1402044297","1402044299","1402044301","1402044302","1402044303"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4216f9e001bc357eb9ef5b2ac081f99e.jpg","text":"TemporaryFile(/tmp/multipartBody7896996025380150111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295173905,"filename":"image_04112025_19_14_31_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4eda4c55d42bb17cc6166b9a04d1c7e1.jpg","text":"TemporaryFile(/tmp/multipartBody4641011629495297820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295173905,"filename":"image_04112025_19_14_40_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27a92eff303c74c037eb60fff471da3d.jpg","text":"TemporaryFile(/tmp/multipartBody4352132176298181146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295173905,"filename":"image_04112025_19_14_57_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70ecdf492bccc23dab65a4be9b7f73ef.jpg","text":"TemporaryFile(/tmp/multipartBody1125114252228590356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295173905,"filename":"image_04112025_19_14_33_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/507c3664076eed97a9d5cb719f4edc22.jpg","text":"TemporaryFile(/tmp/multipartBody1995487889970538855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295173905,"filename":"image_04112025_19_14_51_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb0aef41d6f8039d6bc708465d6b5d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8315834688400961474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295173905,"filename":"image_04112025_19_14_15_2795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044299","file1":"1402044297","file0":"1402044295","file4":"1402044302","file5":"1402044303","file3":"1402044301"},"map_files_photo_id_array":[{"photo_id":"1402044303","filename":"file5"},{"photo_id":"1402044299","filename":"file2"},{"photo_id":"1402044302","filename":"file4"},{"photo_id":"1402044297","filename":"file1"},{"photo_id":"1402044295","filename":"file0"},{"photo_id":"1402044301","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044297":["hashtag1","hashtag2"]},{"1402044301":["hashtag1","hashtag2"]},{"1402044303":["hashtag1","hashtag2"]},{"1402044299":["hashtag1","hashtag2"]},{"1402044302":["hashtag1","hashtag2"]},{"1402044295":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044297, 1402044301, 1402044303, 1402044299, 1402044302, 1402044295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07193899154663 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:19:12.052237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_15_2620.jpg', '/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_22_2704.jpg', '/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_28_3684.jpg', '/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_31_2640.jpg', '/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_47_9945.jpg', '/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_50_1645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_15_2620.jpg
/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_22_2704.jpg
/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_28_3684.jpg
/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_31_2640.jpg
/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_47_9945.jpg
/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_50_1645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044310","1402044307","1402044312","1402044306","1402044309","1402044314"],"photo_ids_order":["1402044306","1402044307","1402044309","1402044310","1402044312","1402044314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e494af2ea61ab3ae9c2b1309180595a1.jpg","text":"TemporaryFile(/tmp/multipartBody1897350389304157304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295213851,"filename":"image_04112025_19_15_31_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d03066075c68eabacbf3004dee52bf51.jpg","text":"TemporaryFile(/tmp/multipartBody3364806896155999310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295213851,"filename":"image_04112025_19_15_22_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a2f45c1669ea576d6efbb361ab5819d.jpg","text":"TemporaryFile(/tmp/multipartBody3291445773206150321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295213851,"filename":"image_04112025_19_15_47_9945.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61bf0aa1fc55ad6d47b0100d33dff93b.jpg","text":"TemporaryFile(/tmp/multipartBody3289398519695399259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295213851,"filename":"image_04112025_19_15_15_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47c625c19e2491dc7a8e05c039d9ccc3.jpg","text":"TemporaryFile(/tmp/multipartBody2370482962844649841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295213851,"filename":"image_04112025_19_15_28_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b959bd85fc84f2747f6d6450d6788c7.jpg","text":"TemporaryFile(/tmp/multipartBody6779748365845694323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295213851,"filename":"image_04112025_19_15_50_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044309","file1":"1402044307","file0":"1402044306","file4":"1402044312","file5":"1402044314","file3":"1402044310"},"map_files_photo_id_array":[{"photo_id":"1402044314","filename":"file5"},{"photo_id":"1402044309","filename":"file2"},{"photo_id":"1402044312","filename":"file4"},{"photo_id":"1402044307","filename":"file1"},{"photo_id":"1402044306","filename":"file0"},{"photo_id":"1402044310","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044310":["hashtag1","hashtag2"]},{"1402044307":["hashtag1","hashtag2"]},{"1402044312":["hashtag1","hashtag2"]},{"1402044306":["hashtag1","hashtag2"]},{"1402044309":["hashtag1","hashtag2"]},{"1402044314":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044310, 1402044307, 1402044312, 1402044306, 1402044309, 1402044314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42990756034851 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:20:02.721141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/46/image_01012026_19_46_25_9616.jpg', '/home/pi/Desktop/images/01012026/19/46/image_01012026_19_46_34_9500.jpg', '/home/pi/Desktop/images/01012026/19/46/image_01012026_19_46_55_9709.jpg', '/home/pi/Desktop/images/01012026/19/46/image_01012026_19_47_04_9604.jpg', '/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_15_10746.jpg', '/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_24_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/46/image_01012026_19_46_25_9616.jpg
/home/pi/Desktop/images/01012026/19/46/image_01012026_19_46_34_9500.jpg
/home/pi/Desktop/images/01012026/19/46/image_01012026_19_46_55_9709.jpg
/home/pi/Desktop/images/01012026/19/46/image_01012026_19_47_04_9604.jpg
/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_15_10746.jpg
/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_24_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044322","1402044319","1402044321","1402044324","1402044318","1402044320"],"photo_ids_order":["1402044318","1402044319","1402044320","1402044321","1402044322","1402044324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ef849a42b8427257b52ecf017572d43.jpg","text":"TemporaryFile(/tmp/multipartBody6587006242080944468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295263383,"filename":"image_01012026_19_47_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1d8527f675bb4e544ae33a8306c8681.jpg","text":"TemporaryFile(/tmp/multipartBody8243965967573577543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295263383,"filename":"image_01012026_19_46_34_9500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf7646891235028e52d3b366fb3c793f.jpg","text":"TemporaryFile(/tmp/multipartBody5070917674278254479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295263383,"filename":"image_01012026_19_47_04_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d49658dc46be413d8159592b510a65c.jpg","text":"TemporaryFile(/tmp/multipartBody1295825780769743921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295263383,"filename":"image_01012026_19_47_24_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c56bc9d19941bfffaac217cad6336f71.jpg","text":"TemporaryFile(/tmp/multipartBody5884696227840127043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295263383,"filename":"image_01012026_19_46_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bde3167bc8f520e32ba2658f9c0280cd.jpg","text":"TemporaryFile(/tmp/multipartBody8052052185820953502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295263383,"filename":"image_01012026_19_46_55_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044320","file1":"1402044319","file0":"1402044318","file4":"1402044322","file5":"1402044324","file3":"1402044321"},"map_files_photo_id_array":[{"photo_id":"1402044324","filename":"file5"},{"photo_id":"1402044320","filename":"file2"},{"photo_id":"1402044322","filename":"file4"},{"photo_id":"1402044319","filename":"file1"},{"photo_id":"1402044318","filename":"file0"},{"photo_id":"1402044321","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044322":["hashtag1","hashtag2"]},{"1402044319":["hashtag1","hashtag2"]},{"1402044321":["hashtag1","hashtag2"]},{"1402044324":["hashtag1","hashtag2"]},{"1402044318":["hashtag1","hashtag2"]},{"1402044320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044322, 1402044319, 1402044321, 1402044324, 1402044318, 1402044320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87871170043945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:20:42.288872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_52_1721.jpg', '/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_54_1692.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_01_2804.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_06_2789.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_10_3765.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_13_2691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_52_1721.jpg
/home/pi/Desktop/images/04112025/19/15/image_04112025_19_15_54_1692.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_01_2804.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_06_2789.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_10_3765.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_13_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":["1402044331","1402044334","1402044333","1402044330","1402044332","1402044335"],"photo_ids_order":["1402044330","1402044331","1402044332","1402044333","1402044334","1402044335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef24d09aad6ab822e8b730cb2e2f4ace.jpg","text":"TemporaryFile(/tmp/multipartBody2371525682478090469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295304187,"filename":"image_04112025_19_15_54_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91d93e4d64cb121da8c2da9da6db1718.jpg","text":"TemporaryFile(/tmp/multipartBody6807646258941818054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295304187,"filename":"image_04112025_19_16_10_3765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da851f1fb9248987febc56c7bfdd856b.jpg","text":"TemporaryFile(/tmp/multipartBody3642032801425706837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295304187,"filename":"image_04112025_19_16_06_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd0471ada103ac0436587e7dd55b5d5f.jpg","text":"TemporaryFile(/tmp/multipartBody9074911609789157035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295304187,"filename":"image_04112025_19_15_52_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be78cc282b0f06598e50c15fb7b78b26.jpg","text":"TemporaryFile(/tmp/multipartBody8233272509880239622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295304187,"filename":"image_04112025_19_16_01_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7cc7ef29d230e02b1490138dec6d81cf.jpg","text":"TemporaryFile(/tmp/multipartBody8978390776228228031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295304187,"filename":"image_04112025_19_16_13_2691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044332","file1":"1402044331","file0":"1402044330","file4":"1402044334","file5":"1402044335","file3":"1402044333"},"map_files_photo_id_array":[{"photo_id":"1402044335","filename":"file5"},{"photo_id":"1402044332","filename":"file2"},{"photo_id":"1402044334","filename":"file4"},{"photo_id":"1402044331","filename":"file1"},{"photo_id":"1402044330","filename":"file0"},{"photo_id":"1402044333","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044331":["hashtag1","hashtag2"]},{"1402044334":["hashtag1","hashtag2"]},{"1402044333":["hashtag1","hashtag2"]},{"1402044330":["hashtag1","hashtag2"]},{"1402044332":["hashtag1","hashtag2"]},{"1402044335":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044331, 1402044334, 1402044333, 1402044330, 1402044332, 1402044335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.38301086425781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:21:22.362769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_34_9642.jpg', '/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_45_10698.jpg', '/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_54_9631.jpg', '/home/pi/Desktop/images/01012026/19/47/image_01012026_19_48_04_9626.jpg', '/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_15_10704.jpg', '/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_24_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_34_9642.jpg
/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_45_10698.jpg
/home/pi/Desktop/images/01012026/19/47/image_01012026_19_47_54_9631.jpg
/home/pi/Desktop/images/01012026/19/47/image_01012026_19_48_04_9626.jpg
/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_15_10704.jpg
/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_24_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":["1402044337","1402044348","1402044342","1402044344","1402044338","1402044340"],"photo_ids_order":["1402044337","1402044338","1402044340","1402044342","1402044344","1402044348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7658bbf86734bef0a6a6feeffea27208.jpg","text":"TemporaryFile(/tmp/multipartBody6469915762805125424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295342949,"filename":"image_01012026_19_47_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/636a42a4bf6b18253ae3506dee35e300.jpg","text":"TemporaryFile(/tmp/multipartBody9125890252241068036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295342949,"filename":"image_01012026_19_48_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36253e2d546a73fbbd9ab1bc422681bc.jpg","text":"TemporaryFile(/tmp/multipartBody8607350868687676762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295342949,"filename":"image_01012026_19_48_04_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61c8a650bbbd059faf72cbef4ac0769d.jpg","text":"TemporaryFile(/tmp/multipartBody7554075253387846999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295342949,"filename":"image_01012026_19_48_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8a30756ac550941a6754be52727205a.jpg","text":"TemporaryFile(/tmp/multipartBody6694567265823626324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295342949,"filename":"image_01012026_19_47_45_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9998c0908634471115f6d589dd64e4cd.jpg","text":"TemporaryFile(/tmp/multipartBody4505618085911765958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295342949,"filename":"image_01012026_19_47_54_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044340","file1":"1402044338","file0":"1402044337","file4":"1402044344","file5":"1402044348","file3":"1402044342"},"map_files_photo_id_array":[{"photo_id":"1402044348","filename":"file5"},{"photo_id":"1402044340","filename":"file2"},{"photo_id":"1402044344","filename":"file4"},{"photo_id":"1402044338","filename":"file1"},{"photo_id":"1402044337","filename":"file0"},{"photo_id":"1402044342","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044337":["hashtag1","hashtag2"]},{"1402044348":["hashtag1","hashtag2"]},{"1402044342":["hashtag1","hashtag2"]},{"1402044344":["hashtag1","hashtag2"]},{"1402044338":["hashtag1","hashtag2"]},{"1402044340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044337, 1402044348, 1402044342, 1402044344, 1402044338, 1402044340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.208399534225464 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:22:03.103579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_34_9613.jpg', '/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_45_10780.jpg', '/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_55_9744.jpg', '/home/pi/Desktop/images/01012026/19/48/image_01012026_19_49_04_9834.jpg', '/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_14_9753.jpg', '/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_25_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_34_9613.jpg
/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_45_10780.jpg
/home/pi/Desktop/images/01012026/19/48/image_01012026_19_48_55_9744.jpg
/home/pi/Desktop/images/01012026/19/48/image_01012026_19_49_04_9834.jpg
/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_14_9753.jpg
/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_25_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":["1402044358","1402044360","1402044354","1402044356","1402044359","1402044355"],"photo_ids_order":["1402044354","1402044355","1402044356","1402044358","1402044359","1402044360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05c9339d9b3c55620fe4786b9f427a49.jpg","text":"TemporaryFile(/tmp/multipartBody7959713488631845990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295383732,"filename":"image_01012026_19_49_04_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7b2ee261bfb5349a5eb392f9c4150da.jpg","text":"TemporaryFile(/tmp/multipartBody7878345473134052854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295383732,"filename":"image_01012026_19_49_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14fbe1500d24a98f928311feb6479a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8110342572285470423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295383732,"filename":"image_01012026_19_48_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c5aae2586a7ad1559813df148b69a0c.jpg","text":"TemporaryFile(/tmp/multipartBody955788256995929817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295383732,"filename":"image_01012026_19_48_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33963367744d37e8b6595c5346fd586b.jpg","text":"TemporaryFile(/tmp/multipartBody4525882472601258544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295383732,"filename":"image_01012026_19_49_14_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c2342487287777c6ff7f94f8b70e2cc.jpg","text":"TemporaryFile(/tmp/multipartBody7577454288701356428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295383732,"filename":"image_01012026_19_48_45_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044356","file1":"1402044355","file0":"1402044354","file4":"1402044359","file5":"1402044360","file3":"1402044358"},"map_files_photo_id_array":[{"photo_id":"1402044360","filename":"file5"},{"photo_id":"1402044356","filename":"file2"},{"photo_id":"1402044359","filename":"file4"},{"photo_id":"1402044355","filename":"file1"},{"photo_id":"1402044354","filename":"file0"},{"photo_id":"1402044358","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044358":["hashtag1","hashtag2"]},{"1402044360":["hashtag1","hashtag2"]},{"1402044354":["hashtag1","hashtag2"]},{"1402044356":["hashtag1","hashtag2"]},{"1402044359":["hashtag1","hashtag2"]},{"1402044355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044358, 1402044360, 1402044354, 1402044356, 1402044359, 1402044355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.861549377441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:22:42.711014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_15_2631.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_22_3720.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_34_1786.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_39_2645.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_45_2669.jpg', '/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_58_3390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_15_2631.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_22_3720.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_34_1786.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_39_2645.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_45_2669.jpg
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_16_58_3390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044375","1402044369","1402044377","1402044371","1402044373","1402044367"],"photo_ids_order":["1402044367","1402044369","1402044371","1402044373","1402044375","1402044377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e17ed367909dcde653d0303d8f3899a0.jpg","text":"TemporaryFile(/tmp/multipartBody9159103222047313381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295424614,"filename":"image_04112025_19_16_45_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b839611eb1ee4bf5ff1e9fdd3800b92.jpg","text":"TemporaryFile(/tmp/multipartBody8052943708665456090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295424614,"filename":"image_04112025_19_16_22_3720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23b0337f75d9b147161ebcbea24d1cdb.jpg","text":"TemporaryFile(/tmp/multipartBody3585420568015046573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295424614,"filename":"image_04112025_19_16_58_3390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d896b368f4dcc45fae4c7312966192c4.jpg","text":"TemporaryFile(/tmp/multipartBody3128917815711209016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295424614,"filename":"image_04112025_19_16_34_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e9264b6f936add0b09057fd2632c75.jpg","text":"TemporaryFile(/tmp/multipartBody4459203801295588384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295424614,"filename":"image_04112025_19_16_39_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b344019f0617c95ad5583ed789e81b49.jpg","text":"TemporaryFile(/tmp/multipartBody8543297311087584814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295424614,"filename":"image_04112025_19_16_15_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044371","file1":"1402044369","file0":"1402044367","file4":"1402044375","file5":"1402044377","file3":"1402044373"},"map_files_photo_id_array":[{"photo_id":"1402044377","filename":"file5"},{"photo_id":"1402044371","filename":"file2"},{"photo_id":"1402044375","filename":"file4"},{"photo_id":"1402044369","filename":"file1"},{"photo_id":"1402044367","filename":"file0"},{"photo_id":"1402044373","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044375":["hashtag1","hashtag2"]},{"1402044369":["hashtag1","hashtag2"]},{"1402044377":["hashtag1","hashtag2"]},{"1402044371":["hashtag1","hashtag2"]},{"1402044373":["hashtag1","hashtag2"]},{"1402044367":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044375, 1402044369, 1402044377, 1402044371, 1402044373, 1402044367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09600257873535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:23:21.888499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_34_9569.jpg', '/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_44_9722.jpg', '/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_54_9907.jpg', '/home/pi/Desktop/images/01012026/19/49/image_01012026_19_50_05_10725.jpg', '/home/pi/Desktop/images/01012026/19/50/image_01012026_19_50_15_9755.jpg', '/home/pi/Desktop/images/01012026/19/50/image_01012026_19_50_24_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_34_9569.jpg
/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_44_9722.jpg
/home/pi/Desktop/images/01012026/19/49/image_01012026_19_49_54_9907.jpg
/home/pi/Desktop/images/01012026/19/49/image_01012026_19_50_05_10725.jpg
/home/pi/Desktop/images/01012026/19/50/image_01012026_19_50_15_9755.jpg
/home/pi/Desktop/images/01012026/19/50/image_01012026_19_50_24_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":["1402044378","1402044387","1402044389","1402044380","1402044385","1402044382"],"photo_ids_order":["1402044378","1402044380","1402044382","1402044385","1402044387","1402044389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d22ba25d25aae2f0210e449b0f2f50f4.jpg","text":"TemporaryFile(/tmp/multipartBody4953404796651218112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295462492,"filename":"image_01012026_19_49_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e74aa7277fe91a930bc1c9a8726e12d.jpg","text":"TemporaryFile(/tmp/multipartBody7310605033835404310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295462492,"filename":"image_01012026_19_50_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f2e95ddc76c83a9764f171e1d6cd92e5.jpg","text":"TemporaryFile(/tmp/multipartBody3584157298873127490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295462492,"filename":"image_01012026_19_50_24_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7643c113a522c01549d637d57a290ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8255476136988595113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295462492,"filename":"image_01012026_19_49_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a381b57344e2601adfbeca37544da66e.jpg","text":"TemporaryFile(/tmp/multipartBody646850672366545884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295462492,"filename":"image_01012026_19_50_05_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76fe008449fbdca1e6944efbdd675652.jpg","text":"TemporaryFile(/tmp/multipartBody6106693879122304719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295462492,"filename":"image_01012026_19_49_54_9907.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044382","file1":"1402044380","file0":"1402044378","file4":"1402044387","file5":"1402044389","file3":"1402044385"},"map_files_photo_id_array":[{"photo_id":"1402044389","filename":"file5"},{"photo_id":"1402044382","filename":"file2"},{"photo_id":"1402044387","filename":"file4"},{"photo_id":"1402044380","filename":"file1"},{"photo_id":"1402044378","filename":"file0"},{"photo_id":"1402044385","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044378":["hashtag1","hashtag2"]},{"1402044387":["hashtag1","hashtag2"]},{"1402044389":["hashtag1","hashtag2"]},{"1402044380":["hashtag1","hashtag2"]},{"1402044385":["hashtag1","hashtag2"]},{"1402044382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044378, 1402044387, 1402044389, 1402044380, 1402044385, 1402044382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8584246635437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:24:02.717711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/50/image_01012026_19_50_45_10640.jpg', '/home/pi/Desktop/images/01012026/19/50/image_01012026_19_50_54_9618.jpg', '/home/pi/Desktop/images/01012026/19/50/image_01012026_19_51_05_10614.jpg', '/home/pi/Desktop/images/01012026/19/51/image_01012026_19_51_15_9731.jpg', '/home/pi/Desktop/images/01012026/19/51/image_01012026_19_51_24_9705.jpg', '/home/pi/Desktop/images/01012026/19/51/image_01012026_19_51_45_10566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/50/image_01012026_19_50_45_10640.jpg
/home/pi/Desktop/images/01012026/19/50/image_01012026_19_50_54_9618.jpg
/home/pi/Desktop/images/01012026/19/50/image_01012026_19_51_05_10614.jpg
/home/pi/Desktop/images/01012026/19/51/image_01012026_19_51_15_9731.jpg
/home/pi/Desktop/images/01012026/19/51/image_01012026_19_51_24_9705.jpg
/home/pi/Desktop/images/01012026/19/51/image_01012026_19_51_45_10566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044396","1402044399","1402044393","1402044391","1402044394","1402044397"],"photo_ids_order":["1402044391","1402044393","1402044394","1402044396","1402044397","1402044399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b2d0bec5ce69cc9bc56a459f8bd78a5.jpg","text":"TemporaryFile(/tmp/multipartBody5179158895349866639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295503449,"filename":"image_01012026_19_51_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f65cc372ac3ef8fa059f8f3a41ba479e.jpg","text":"TemporaryFile(/tmp/multipartBody3007584115777065020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295503449,"filename":"image_01012026_19_51_45_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6bc97c29ffd82de9e3c2c9d15fae74ed.jpg","text":"TemporaryFile(/tmp/multipartBody5608678046185750529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295503449,"filename":"image_01012026_19_50_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e80f68084a9ea7146f7095de76dd7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5047508249988272738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295503449,"filename":"image_01012026_19_50_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b933e4c1d49f97cce08e06a18a6963bf.jpg","text":"TemporaryFile(/tmp/multipartBody7160873818577282677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295503449,"filename":"image_01012026_19_51_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37bddc881e7c71c74672ac96ea5746a2.jpg","text":"TemporaryFile(/tmp/multipartBody4789006446588841703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295503449,"filename":"image_01012026_19_51_24_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044394","file1":"1402044393","file0":"1402044391","file4":"1402044397","file5":"1402044399","file3":"1402044396"},"map_files_photo_id_array":[{"photo_id":"1402044399","filename":"file5"},{"photo_id":"1402044394","filename":"file2"},{"photo_id":"1402044397","filename":"file4"},{"photo_id":"1402044393","filename":"file1"},{"photo_id":"1402044391","filename":"file0"},{"photo_id":"1402044396","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044396":["hashtag1","hashtag2"]},{"1402044399":["hashtag1","hashtag2"]},{"1402044393":["hashtag1","hashtag2"]},{"1402044391":["hashtag1","hashtag2"]},{"1402044394":["hashtag1","hashtag2"]},{"1402044397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044396, 1402044399, 1402044393, 1402044391, 1402044394, 1402044397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29271602630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:24:42.139209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/16/image_04112025_19_17_01_2640.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_03_2743.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_10_3664.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_12_2657.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_16_3585.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_19_2817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/16/image_04112025_19_17_01_2640.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_03_2743.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_10_3664.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_12_2657.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_16_3585.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_19_2817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044406","1402044409","1402044411","1402044408","1402044407","1402044404"],"photo_ids_order":["1402044404","1402044406","1402044407","1402044408","1402044409","1402044411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d953f849da3c3de3b4bc921b806a95f6.jpg","text":"TemporaryFile(/tmp/multipartBody4974308191897337071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295544042,"filename":"image_04112025_19_17_03_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/175ed433c7dfa0bd821a4810cb52fddd.jpg","text":"TemporaryFile(/tmp/multipartBody759922332274110483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295544042,"filename":"image_04112025_19_17_16_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54abc7f96bab6fe66b28f46f00e82fe1.jpg","text":"TemporaryFile(/tmp/multipartBody1240113518408734270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295544042,"filename":"image_04112025_19_17_19_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef42da01fa8872a4973c6da0468e2995.jpg","text":"TemporaryFile(/tmp/multipartBody6265416969214314820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295544042,"filename":"image_04112025_19_17_12_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc02997180c568efb6526619d7bd462b.jpg","text":"TemporaryFile(/tmp/multipartBody8239187655710347903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295544042,"filename":"image_04112025_19_17_10_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77621985caa64bd87f37707e994b3b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7566173508615664254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295544042,"filename":"image_04112025_19_17_01_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044407","file1":"1402044406","file0":"1402044404","file4":"1402044409","file5":"1402044411","file3":"1402044408"},"map_files_photo_id_array":[{"photo_id":"1402044411","filename":"file5"},{"photo_id":"1402044407","filename":"file2"},{"photo_id":"1402044409","filename":"file4"},{"photo_id":"1402044406","filename":"file1"},{"photo_id":"1402044404","filename":"file0"},{"photo_id":"1402044408","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044406":["hashtag1","hashtag2"]},{"1402044409":["hashtag1","hashtag2"]},{"1402044411":["hashtag1","hashtag2"]},{"1402044408":["hashtag1","hashtag2"]},{"1402044407":["hashtag1","hashtag2"]},{"1402044404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044406, 1402044409, 1402044411, 1402044408, 1402044407, 1402044404)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.55344200134277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:25:32.398199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_24_2618.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_28_3668.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_30_2636.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_33_2662.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_37_3556.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_39_2676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_24_2618.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_28_3668.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_30_2636.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_33_2662.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_37_3556.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_39_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":["1402044424","1402044415","1402044420","1402044423","1402044417","1402044422"],"photo_ids_order":["1402044415","1402044417","1402044420","1402044422","1402044423","1402044424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/258d534786ee644ed60f2ed2c2dea49e.jpg","text":"TemporaryFile(/tmp/multipartBody5877295077818430894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295594313,"filename":"image_04112025_19_17_39_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22343e1f79305abc4b3203a8a43cee4a.jpg","text":"TemporaryFile(/tmp/multipartBody9011854726685771349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295594313,"filename":"image_04112025_19_17_24_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8678213d416b9177019f8184b18d09f4.jpg","text":"TemporaryFile(/tmp/multipartBody3768096650260849031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295594313,"filename":"image_04112025_19_17_30_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dcee4b4bfa4b95593b869230e18e9d2.jpg","text":"TemporaryFile(/tmp/multipartBody3886733795367724449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295594313,"filename":"image_04112025_19_17_37_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93151e375b1ef3b1c692b7b8bb9e6fd0.jpg","text":"TemporaryFile(/tmp/multipartBody3433248294332527461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295594313,"filename":"image_04112025_19_17_28_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81b7579ddd8f800ffc6adc5d49e8ffcd.jpg","text":"TemporaryFile(/tmp/multipartBody6134505958515979497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295594313,"filename":"image_04112025_19_17_33_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044420","file1":"1402044417","file0":"1402044415","file4":"1402044423","file5":"1402044424","file3":"1402044422"},"map_files_photo_id_array":[{"photo_id":"1402044424","filename":"file5"},{"photo_id":"1402044420","filename":"file2"},{"photo_id":"1402044423","filename":"file4"},{"photo_id":"1402044417","filename":"file1"},{"photo_id":"1402044415","filename":"file0"},{"photo_id":"1402044422","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044424":["hashtag1","hashtag2"]},{"1402044415":["hashtag1","hashtag2"]},{"1402044420":["hashtag1","hashtag2"]},{"1402044423":["hashtag1","hashtag2"]},{"1402044417":["hashtag1","hashtag2"]},{"1402044422":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044424, 1402044415, 1402044420, 1402044423, 1402044417, 1402044422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30715227127075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:26:12.425918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_42_2786.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_46_3702.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_51_2563.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_54_2853.jpg', '/home/pi/Desktop/images/04112025/19/17/image_04112025_19_18_00_2704.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_03_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_42_2786.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_46_3702.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_51_2563.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_17_54_2853.jpg
/home/pi/Desktop/images/04112025/19/17/image_04112025_19_18_00_2704.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_03_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044430","1402044432","1402044426","1402044425","1402044434","1402044428"],"photo_ids_order":["1402044425","1402044426","1402044428","1402044430","1402044432","1402044434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a419fbfa683b8cf38445af071bd19aa0.jpg","text":"TemporaryFile(/tmp/multipartBody2496434529838326376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295634218,"filename":"image_04112025_19_17_54_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1307492d1e239a348d53a7c9eb792bcf.jpg","text":"TemporaryFile(/tmp/multipartBody2356523174677658680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295634218,"filename":"image_04112025_19_18_00_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dc5291b0077bdf1b05385c24642367a.jpg","text":"TemporaryFile(/tmp/multipartBody4607300088723473946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295634218,"filename":"image_04112025_19_17_46_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8280a82e5c1d9a8fa0aa9ba2347d14d.jpg","text":"TemporaryFile(/tmp/multipartBody3493041184835374652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295634218,"filename":"image_04112025_19_17_42_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac895aca4a29f680fbe679f5a5268de1.jpg","text":"TemporaryFile(/tmp/multipartBody6200219567504801419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295634218,"filename":"image_04112025_19_18_03_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0199b71b06813b2ea52624cd675b4d09.jpg","text":"TemporaryFile(/tmp/multipartBody7804564104547327446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295634218,"filename":"image_04112025_19_17_51_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044428","file1":"1402044426","file0":"1402044425","file4":"1402044432","file5":"1402044434","file3":"1402044430"},"map_files_photo_id_array":[{"photo_id":"1402044434","filename":"file5"},{"photo_id":"1402044428","filename":"file2"},{"photo_id":"1402044432","filename":"file4"},{"photo_id":"1402044426","filename":"file1"},{"photo_id":"1402044425","filename":"file0"},{"photo_id":"1402044430","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044430":["hashtag1","hashtag2"]},{"1402044432":["hashtag1","hashtag2"]},{"1402044426":["hashtag1","hashtag2"]},{"1402044425":["hashtag1","hashtag2"]},{"1402044434":["hashtag1","hashtag2"]},{"1402044428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044430, 1402044432, 1402044426, 1402044425, 1402044434, 1402044428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26073169708252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:27:03.317374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/51/image_01012026_19_51_55_9826.jpg', '/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_15_10728.jpg', '/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_25_9777.jpg', '/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_34_9604.jpg', '/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_45_10603.jpg', '/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/51/image_01012026_19_51_55_9826.jpg
/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_15_10728.jpg
/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_25_9777.jpg
/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_34_9604.jpg
/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_45_10603.jpg
/home/pi/Desktop/images/01012026/19/52/image_01012026_19_52_54_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402044442","1402044441","1402044444","1402044443","1402044446","1402044440"],"photo_ids_order":["1402044440","1402044441","1402044442","1402044443","1402044444","1402044446"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9729977d1f7e22d8e83f70c1b020922e.jpg","text":"TemporaryFile(/tmp/multipartBody4555197259560549185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295683981,"filename":"image_01012026_19_52_25_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/298092de29a1e71548f0edfbf542fd3b.jpg","text":"TemporaryFile(/tmp/multipartBody4270165665864624236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295683981,"filename":"image_01012026_19_52_15_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3640e5222d9581607ebd2a8479378d0.jpg","text":"TemporaryFile(/tmp/multipartBody8665729995695727750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295683981,"filename":"image_01012026_19_52_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dabf71458807962f2642e7fd3617bd6a.jpg","text":"TemporaryFile(/tmp/multipartBody3367403331568790619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295683981,"filename":"image_01012026_19_52_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01951486809e530a722161b3fe5d1775.jpg","text":"TemporaryFile(/tmp/multipartBody1165956512079516163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295683981,"filename":"image_01012026_19_52_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab9f7ffedc336cb2aea7835ac0d27932.jpg","text":"TemporaryFile(/tmp/multipartBody7067748393636791469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295683981,"filename":"image_01012026_19_51_55_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044442","file1":"1402044441","file0":"1402044440","file4":"1402044444","file5":"1402044446","file3":"1402044443"},"map_files_photo_id_array":[{"photo_id":"1402044446","filename":"file5"},{"photo_id":"1402044442","filename":"file2"},{"photo_id":"1402044444","filename":"file4"},{"photo_id":"1402044441","filename":"file1"},{"photo_id":"1402044440","filename":"file0"},{"photo_id":"1402044443","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044442":["hashtag1","hashtag2"]},{"1402044441":["hashtag1","hashtag2"]},{"1402044444":["hashtag1","hashtag2"]},{"1402044443":["hashtag1","hashtag2"]},{"1402044446":["hashtag1","hashtag2"]},{"1402044440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044442, 1402044441, 1402044444, 1402044443, 1402044446, 1402044440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.327255964279175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:28:02.770902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/52/image_01012026_19_53_04_9865.jpg', '/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_14_10052.jpg', '/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_25_10634.jpg', '/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_35_9738.jpg', '/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_44_9697.jpg', '/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_54_9932.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/52/image_01012026_19_53_04_9865.jpg
/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_14_10052.jpg
/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_25_10634.jpg
/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_35_9738.jpg
/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_44_9697.jpg
/home/pi/Desktop/images/01012026/19/53/image_01012026_19_53_54_9932.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044457","1402044459","1402044456","1402044461","1402044455","1402044454"],"photo_ids_order":["1402044454","1402044455","1402044456","1402044457","1402044459","1402044461"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8db9fdbcb66ad5d68fac4fbf4d839b7.jpg","text":"TemporaryFile(/tmp/multipartBody2644139622840322472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295743434,"filename":"image_01012026_19_53_35_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21da6caaaeef63ccaca43463c887000e.jpg","text":"TemporaryFile(/tmp/multipartBody4069564908799368291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295743434,"filename":"image_01012026_19_53_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4874d1d405e69a7a4ab57496dfe4ccc.jpg","text":"TemporaryFile(/tmp/multipartBody507144603505599782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295743434,"filename":"image_01012026_19_53_25_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f555b999a3b81d9738c285e11f5a751.jpg","text":"TemporaryFile(/tmp/multipartBody8466456711417509393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295743434,"filename":"image_01012026_19_53_54_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2302a39d18d2bce6adb00541408ea0cc.jpg","text":"TemporaryFile(/tmp/multipartBody1409088268481807383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295743434,"filename":"image_01012026_19_53_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36e77ea2d852fe289764b85407f3c600.jpg","text":"TemporaryFile(/tmp/multipartBody1325860923627215543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295743434,"filename":"image_01012026_19_53_04_9865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044456","file1":"1402044455","file0":"1402044454","file4":"1402044459","file5":"1402044461","file3":"1402044457"},"map_files_photo_id_array":[{"photo_id":"1402044461","filename":"file5"},{"photo_id":"1402044456","filename":"file2"},{"photo_id":"1402044459","filename":"file4"},{"photo_id":"1402044455","filename":"file1"},{"photo_id":"1402044454","filename":"file0"},{"photo_id":"1402044457","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044457":["hashtag1","hashtag2"]},{"1402044459":["hashtag1","hashtag2"]},{"1402044456":["hashtag1","hashtag2"]},{"1402044461":["hashtag1","hashtag2"]},{"1402044455":["hashtag1","hashtag2"]},{"1402044454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044457, 1402044459, 1402044456, 1402044461, 1402044455, 1402044454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.637675762176514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:28:42.372788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_07_3759.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_18_2745.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_38_1748.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_44_1817.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_46_1727.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_47_1697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_07_3759.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_18_2745.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_38_1748.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_44_1817.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_46_1727.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_47_1697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044471","1402044468","1402044473","1402044470","1402044466","1402044469"],"photo_ids_order":["1402044466","1402044468","1402044469","1402044470","1402044471","1402044473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0a6e64fa443c6b65de153c58e277c4f.jpg","text":"TemporaryFile(/tmp/multipartBody4753868070082540564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295784258,"filename":"image_04112025_19_18_46_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/309dd8d2ec554a605e92c87f3a8d917a.jpg","text":"TemporaryFile(/tmp/multipartBody5010217259297117691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295784258,"filename":"image_04112025_19_18_18_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4eeb3132d4706d9062dba6125c5ed485.jpg","text":"TemporaryFile(/tmp/multipartBody1919157694742362669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295784258,"filename":"image_04112025_19_18_47_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be66be4422fb92827c73509e0bbcb68d.jpg","text":"TemporaryFile(/tmp/multipartBody5408523244030685280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295784258,"filename":"image_04112025_19_18_44_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b89fe9612fd8b34b8143c36da78dae62.jpg","text":"TemporaryFile(/tmp/multipartBody5607035831988178866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295784258,"filename":"image_04112025_19_18_07_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31eb34a4a093b969b6ae6f4593370462.jpg","text":"TemporaryFile(/tmp/multipartBody4472038121227537065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295784258,"filename":"image_04112025_19_18_38_1748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044469","file1":"1402044468","file0":"1402044466","file4":"1402044471","file5":"1402044473","file3":"1402044470"},"map_files_photo_id_array":[{"photo_id":"1402044473","filename":"file5"},{"photo_id":"1402044469","filename":"file2"},{"photo_id":"1402044471","filename":"file4"},{"photo_id":"1402044468","filename":"file1"},{"photo_id":"1402044466","filename":"file0"},{"photo_id":"1402044470","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044471":["hashtag1","hashtag2"]},{"1402044468":["hashtag1","hashtag2"]},{"1402044473":["hashtag1","hashtag2"]},{"1402044470":["hashtag1","hashtag2"]},{"1402044466":["hashtag1","hashtag2"]},{"1402044469":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044471, 1402044468, 1402044473, 1402044470, 1402044466, 1402044469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40647292137146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:29:22.512761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/53/image_01012026_19_54_04_9855.jpg', '/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_15_10728.jpg', '/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_25_9881.jpg', '/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_35_9739.jpg', '/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_44_9581.jpg', '/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_55_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/53/image_01012026_19_54_04_9855.jpg
/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_15_10728.jpg
/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_25_9881.jpg
/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_35_9739.jpg
/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_44_9581.jpg
/home/pi/Desktop/images/01012026/19/54/image_01012026_19_54_55_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":["1402044477","1402044480","1402044488","1402044482","1402044485","1402044475"],"photo_ids_order":["1402044475","1402044477","1402044480","1402044482","1402044485","1402044488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac94b78621936a1fc0f09e95104413fe.jpg","text":"TemporaryFile(/tmp/multipartBody7590305845693182254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295823110,"filename":"image_01012026_19_54_15_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46455e9212cdf22566786e29d2c3446a.jpg","text":"TemporaryFile(/tmp/multipartBody4301613705751745685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295823110,"filename":"image_01012026_19_54_25_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25ed6a31f8c9d18160b388f84976aac8.jpg","text":"TemporaryFile(/tmp/multipartBody4571112802646885839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295823110,"filename":"image_01012026_19_54_55_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30f8527340a04b0119342d778733b9bb.jpg","text":"TemporaryFile(/tmp/multipartBody1392960407914307853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295823110,"filename":"image_01012026_19_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/2026/1/1/35d94f785dbd064b4ae93cdc663ef1c4.jpg","text":"TemporaryFile(/tmp/multipartBody8584857295303731381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295823110,"filename":"image_01012026_19_54_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c716d3932431093835d9edad85c55a2.jpg","text":"TemporaryFile(/tmp/multipartBody4288788307067793112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295823110,"filename":"image_01012026_19_54_04_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044480","file1":"1402044477","file0":"1402044475","file4":"1402044485","file5":"1402044488","file3":"1402044482"},"map_files_photo_id_array":[{"photo_id":"1402044488","filename":"file5"},{"photo_id":"1402044480","filename":"file2"},{"photo_id":"1402044485","filename":"file4"},{"photo_id":"1402044477","filename":"file1"},{"photo_id":"1402044475","filename":"file0"},{"photo_id":"1402044482","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044477":["hashtag1","hashtag2"]},{"1402044480":["hashtag1","hashtag2"]},{"1402044488":["hashtag1","hashtag2"]},{"1402044482":["hashtag1","hashtag2"]},{"1402044485":["hashtag1","hashtag2"]},{"1402044475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044477, 1402044480, 1402044488, 1402044482, 1402044485, 1402044475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.847312688827515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:30:03.177329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/54/image_01012026_19_55_05_9717.jpg', '/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_14_9674.jpg', '/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_25_10539.jpg', '/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_35_9708.jpg', '/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_45_10532.jpg', '/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/54/image_01012026_19_55_05_9717.jpg
/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_14_9674.jpg
/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_25_10539.jpg
/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_35_9708.jpg
/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_45_10532.jpg
/home/pi/Desktop/images/01012026/19/55/image_01012026_19_55_55_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":["1402044492","1402044491","1402044494","1402044490","1402044493","1402044496"],"photo_ids_order":["1402044490","1402044491","1402044492","1402044493","1402044494","1402044496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3061f271f9ef4518768489f466bbdcd9.jpg","text":"TemporaryFile(/tmp/multipartBody5150590591750628297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295863856,"filename":"image_01012026_19_55_25_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89189fa12e8391a926954f68c9503dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2267909634254484423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295863856,"filename":"image_01012026_19_55_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca1d71b9707a2af627e62d6b7bd197d6.jpg","text":"TemporaryFile(/tmp/multipartBody4005215120835091637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295863856,"filename":"image_01012026_19_55_45_10532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23c729da476d1aff384f3e576b90f45e.jpg","text":"TemporaryFile(/tmp/multipartBody5391516352241599606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295863856,"filename":"image_01012026_19_55_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/748c4776da60b032853d5fce799f6ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2583077567643292865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295863856,"filename":"image_01012026_19_55_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ef8748e16302c011ff3b5248bbd8400.jpg","text":"TemporaryFile(/tmp/multipartBody7404989973724176323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295863856,"filename":"image_01012026_19_55_55_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044492","file1":"1402044491","file0":"1402044490","file4":"1402044494","file5":"1402044496","file3":"1402044493"},"map_files_photo_id_array":[{"photo_id":"1402044496","filename":"file5"},{"photo_id":"1402044492","filename":"file2"},{"photo_id":"1402044494","filename":"file4"},{"photo_id":"1402044491","filename":"file1"},{"photo_id":"1402044490","filename":"file0"},{"photo_id":"1402044493","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044492":["hashtag1","hashtag2"]},{"1402044491":["hashtag1","hashtag2"]},{"1402044494":["hashtag1","hashtag2"]},{"1402044490":["hashtag1","hashtag2"]},{"1402044493":["hashtag1","hashtag2"]},{"1402044496":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044492, 1402044491, 1402044494, 1402044490, 1402044493, 1402044496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.27270269393921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:30:42.730748
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_51_3537.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_53_1729.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_54_1762.jpg', '/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_56_1604.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_03_2629.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_07_3551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_51_3537.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_53_1729.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_54_1762.jpg
/home/pi/Desktop/images/04112025/19/18/image_04112025_19_18_56_1604.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_03_2629.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_07_3551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044505","1402044507","1402044501","1402044504","1402044506","1402044503"],"photo_ids_order":["1402044501","1402044503","1402044504","1402044505","1402044506","1402044507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b470c1f95c5a13c8e51548eb85e8ebb8.jpg","text":"TemporaryFile(/tmp/multipartBody8257917425114253367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295904628,"filename":"image_04112025_19_18_56_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea825c44e9e5214627c753dc4344d734.jpg","text":"TemporaryFile(/tmp/multipartBody2994223955348076926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295904628,"filename":"image_04112025_19_19_07_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34a0d1fb6eba47de9e4cefc77fbec29d.jpg","text":"TemporaryFile(/tmp/multipartBody65946167295158989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295904628,"filename":"image_04112025_19_18_51_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e09815d040bf4768f0edd151960b5e89.jpg","text":"TemporaryFile(/tmp/multipartBody195363646610474733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295904628,"filename":"image_04112025_19_18_54_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/565ce73f08f11b06c34d8fba06dbbfb6.jpg","text":"TemporaryFile(/tmp/multipartBody4820315595539078139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295904628,"filename":"image_04112025_19_19_03_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e48a41e1776d68a7c9557d6a9b0f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody2970157954988581558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295904628,"filename":"image_04112025_19_18_53_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044504","file1":"1402044503","file0":"1402044501","file4":"1402044506","file5":"1402044507","file3":"1402044505"},"map_files_photo_id_array":[{"photo_id":"1402044507","filename":"file5"},{"photo_id":"1402044504","filename":"file2"},{"photo_id":"1402044506","filename":"file4"},{"photo_id":"1402044503","filename":"file1"},{"photo_id":"1402044501","filename":"file0"},{"photo_id":"1402044505","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044505":["hashtag1","hashtag2"]},{"1402044507":["hashtag1","hashtag2"]},{"1402044501":["hashtag1","hashtag2"]},{"1402044504":["hashtag1","hashtag2"]},{"1402044506":["hashtag1","hashtag2"]},{"1402044503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044505, 1402044507, 1402044501, 1402044504, 1402044506, 1402044503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04040837287903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:31:21.906877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/55/image_01012026_19_56_05_9835.jpg', '/home/pi/Desktop/images/01012026/19/56/image_01012026_19_56_14_9829.jpg', '/home/pi/Desktop/images/01012026/19/56/image_01012026_19_56_35_10756.jpg', '/home/pi/Desktop/images/01012026/19/56/image_01012026_19_56_44_9548.jpg', '/home/pi/Desktop/images/01012026/19/56/image_01012026_19_56_55_10659.jpg', '/home/pi/Desktop/images/01012026/19/56/image_01012026_19_57_05_9912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/55/image_01012026_19_56_05_9835.jpg
/home/pi/Desktop/images/01012026/19/56/image_01012026_19_56_14_9829.jpg
/home/pi/Desktop/images/01012026/19/56/image_01012026_19_56_35_10756.jpg
/home/pi/Desktop/images/01012026/19/56/image_01012026_19_56_44_9548.jpg
/home/pi/Desktop/images/01012026/19/56/image_01012026_19_56_55_10659.jpg
/home/pi/Desktop/images/01012026/19/56/image_01012026_19_57_05_9912.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044520","1402044517","1402044511","1402044513","1402044515","1402044509"],"photo_ids_order":["1402044509","1402044511","1402044513","1402044515","1402044517","1402044520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df8920fff71dc8d0f3e094d89b2d847d.jpg","text":"TemporaryFile(/tmp/multipartBody1647122446629303552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295942501,"filename":"image_01012026_19_57_05_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c09ab1bf8ca1270ad9cac23b184fa194.jpg","text":"TemporaryFile(/tmp/multipartBody6336382975727336675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295942501,"filename":"image_01012026_19_56_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11e68db97dde3f0913cf91c322913eb4.jpg","text":"TemporaryFile(/tmp/multipartBody7617125306953594366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295942501,"filename":"image_01012026_19_56_14_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d13e4fabbf493511583bd5addc3cdda.jpg","text":"TemporaryFile(/tmp/multipartBody6874073727726335772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295942501,"filename":"image_01012026_19_56_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ab94c55bd706f79e9cf8049f50705b0.jpg","text":"TemporaryFile(/tmp/multipartBody1896429284297607138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295942501,"filename":"image_01012026_19_56_44_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bf0fd1919f336cf9a504e8195e2f126.jpg","text":"TemporaryFile(/tmp/multipartBody3299268015757419590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295942501,"filename":"image_01012026_19_56_05_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044513","file1":"1402044511","file0":"1402044509","file4":"1402044517","file5":"1402044520","file3":"1402044515"},"map_files_photo_id_array":[{"photo_id":"1402044520","filename":"file5"},{"photo_id":"1402044513","filename":"file2"},{"photo_id":"1402044517","filename":"file4"},{"photo_id":"1402044511","filename":"file1"},{"photo_id":"1402044509","filename":"file0"},{"photo_id":"1402044515","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044520":["hashtag1","hashtag2"]},{"1402044517":["hashtag1","hashtag2"]},{"1402044511":["hashtag1","hashtag2"]},{"1402044513":["hashtag1","hashtag2"]},{"1402044515":["hashtag1","hashtag2"]},{"1402044509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044520, 1402044517, 1402044511, 1402044513, 1402044515, 1402044509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.522676944732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:32:02.514260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_15_9648.jpg', '/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_24_9641.jpg', '/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_35_10577.jpg', '/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_45_9703.jpg', '/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_55_10533.jpg', '/home/pi/Desktop/images/01012026/19/57/image_01012026_19_58_05_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_15_9648.jpg
/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_24_9641.jpg
/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_35_10577.jpg
/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_45_9703.jpg
/home/pi/Desktop/images/01012026/19/57/image_01012026_19_57_55_10533.jpg
/home/pi/Desktop/images/01012026/19/57/image_01012026_19_58_05_9560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044529","1402044523","1402044526","1402044525","1402044524","1402044527"],"photo_ids_order":["1402044523","1402044524","1402044525","1402044526","1402044527","1402044529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57b7dc099c9a8289df56df75b4a80525.jpg","text":"TemporaryFile(/tmp/multipartBody1253939592137142916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295983121,"filename":"image_01012026_19_58_05_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b2accc4be054309224cbc791a4c6ac1a.jpg","text":"TemporaryFile(/tmp/multipartBody4733564263943201543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295983121,"filename":"image_01012026_19_57_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb0cc383dd2702566dc601b3f179567f.jpg","text":"TemporaryFile(/tmp/multipartBody6389192042060131087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295983121,"filename":"image_01012026_19_57_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e99ce07d60ba7a9adeb80bd35a5a388.jpg","text":"TemporaryFile(/tmp/multipartBody1721689210729080713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295983121,"filename":"image_01012026_19_57_35_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8eb6076aa716d81519f104cf92f11a14.jpg","text":"TemporaryFile(/tmp/multipartBody4054193143161662198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295983121,"filename":"image_01012026_19_57_24_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14c3e49d7b55fb1a0a6b69abe4d8361a.jpg","text":"TemporaryFile(/tmp/multipartBody8953771775145529432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767295983121,"filename":"image_01012026_19_57_55_10533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044525","file1":"1402044524","file0":"1402044523","file4":"1402044527","file5":"1402044529","file3":"1402044526"},"map_files_photo_id_array":[{"photo_id":"1402044529","filename":"file5"},{"photo_id":"1402044525","filename":"file2"},{"photo_id":"1402044527","filename":"file4"},{"photo_id":"1402044524","filename":"file1"},{"photo_id":"1402044523","filename":"file0"},{"photo_id":"1402044526","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044529":["hashtag1","hashtag2"]},{"1402044523":["hashtag1","hashtag2"]},{"1402044526":["hashtag1","hashtag2"]},{"1402044525":["hashtag1","hashtag2"]},{"1402044524":["hashtag1","hashtag2"]},{"1402044527":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044529, 1402044523, 1402044526, 1402044525, 1402044524, 1402044527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52443718910217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:32:42.084330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_09_2822.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_12_2539.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_15_3617.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_24_2623.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_28_3739.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_30_2841.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_09_2822.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_12_2539.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_15_3617.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_24_2623.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_28_3739.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_30_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":["1402044535","1402044538","1402044534","1402044537","1402044536","1402044539"],"photo_ids_order":["1402044534","1402044535","1402044536","1402044537","1402044538","1402044539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2a5afc66f958e47a2238c4a95767bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3162109120883659388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296024000,"filename":"image_04112025_19_19_12_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/688d4049a0b7e7f9b2c1e9349cb6efb2.jpg","text":"TemporaryFile(/tmp/multipartBody3574198575508614205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296024000,"filename":"image_04112025_19_19_28_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e170fb7368fc00a3bdba1fde51d961f.jpg","text":"TemporaryFile(/tmp/multipartBody2650720604672776187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296024000,"filename":"image_04112025_19_19_09_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de0401533bcf37e26cf2c85441dcebd9.jpg","text":"TemporaryFile(/tmp/multipartBody904382605685371596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296024000,"filename":"image_04112025_19_19_24_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d04b5583bb939e45da9de76b93c389f.jpg","text":"TemporaryFile(/tmp/multipartBody6744327993739817910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296024000,"filename":"image_04112025_19_19_15_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb4dec0849bbffbcad97c76990a8bf67.jpg","text":"TemporaryFile(/tmp/multipartBody1924506843888559228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296024000,"filename":"image_04112025_19_19_30_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044536","file1":"1402044535","file0":"1402044534","file4":"1402044538","file5":"1402044539","file3":"1402044537"},"map_files_photo_id_array":[{"photo_id":"1402044539","filename":"file5"},{"photo_id":"1402044536","filename":"file2"},{"photo_id":"1402044538","filename":"file4"},{"photo_id":"1402044535","filename":"file1"},{"photo_id":"1402044534","filename":"file0"},{"photo_id":"1402044537","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044535":["hashtag1","hashtag2"]},{"1402044538":["hashtag1","hashtag2"]},{"1402044534":["hashtag1","hashtag2"]},{"1402044537":["hashtag1","hashtag2"]},{"1402044536":["hashtag1","hashtag2"]},{"1402044539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044535, 1402044538, 1402044534, 1402044537, 1402044536, 1402044539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81062364578247 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:33:22.226106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/58/image_01012026_19_58_14_9724.jpg', '/home/pi/Desktop/images/01012026/19/58/image_01012026_19_58_25_10611.jpg', '/home/pi/Desktop/images/01012026/19/58/image_01012026_19_58_35_9567.jpg', '/home/pi/Desktop/images/01012026/19/58/image_01012026_19_59_04_9629.jpg', '/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_14_9742.jpg', '/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_25_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/58/image_01012026_19_58_14_9724.jpg
/home/pi/Desktop/images/01012026/19/58/image_01012026_19_58_25_10611.jpg
/home/pi/Desktop/images/01012026/19/58/image_01012026_19_58_35_9567.jpg
/home/pi/Desktop/images/01012026/19/58/image_01012026_19_59_04_9629.jpg
/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_14_9742.jpg
/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_25_10581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044544","1402044546","1402044540","1402044542","1402044551","1402044548"],"photo_ids_order":["1402044540","1402044542","1402044544","1402044546","1402044548","1402044551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08fe9aafacc2f3bbae9fa5e95e118d8d.jpg","text":"TemporaryFile(/tmp/multipartBody4847713006830133529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296062825,"filename":"image_01012026_19_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/2026/1/1/d549dce0c35f8fca71d834cc7afe51b7.jpg","text":"TemporaryFile(/tmp/multipartBody1099534739788062107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296062825,"filename":"image_01012026_19_59_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/928175c88d2f10d7d3dd734a18304736.jpg","text":"TemporaryFile(/tmp/multipartBody7404212215937343947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296062825,"filename":"image_01012026_19_58_14_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da0df6cc28d8100fcef52150eb45f475.jpg","text":"TemporaryFile(/tmp/multipartBody1945207678933166984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296062825,"filename":"image_01012026_19_58_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69cba633d5a6f7db8ac8c609b16daf3f.jpg","text":"TemporaryFile(/tmp/multipartBody1412952997966804781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296062825,"filename":"image_01012026_19_59_25_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83b63fea605612571ebd8ba424631a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7845399786767393602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296062825,"filename":"image_01012026_19_59_14_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044544","file1":"1402044542","file0":"1402044540","file4":"1402044548","file5":"1402044551","file3":"1402044546"},"map_files_photo_id_array":[{"photo_id":"1402044551","filename":"file5"},{"photo_id":"1402044544","filename":"file2"},{"photo_id":"1402044548","filename":"file4"},{"photo_id":"1402044542","filename":"file1"},{"photo_id":"1402044540","filename":"file0"},{"photo_id":"1402044546","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044544":["hashtag1","hashtag2"]},{"1402044546":["hashtag1","hashtag2"]},{"1402044540":["hashtag1","hashtag2"]},{"1402044542":["hashtag1","hashtag2"]},{"1402044551":["hashtag1","hashtag2"]},{"1402044548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044544, 1402044546, 1402044540, 1402044542, 1402044551, 1402044548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.831701040267944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:34:03.104884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_35_9825.jpg', '/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_44_9704.jpg', '/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_55_10674.jpg', '/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_14_9703.jpg', '/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_24_10052.jpg', '/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_35_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_35_9825.jpg
/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_44_9704.jpg
/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_55_10674.jpg
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_14_9703.jpg
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_24_10052.jpg
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_35_10539.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.643162727355957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:34:12.329312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_33_2709.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_36_2571.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_39_3609.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_42_2678.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_48_2847.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_54_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_33_2709.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_36_2571.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_39_3609.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_42_2678.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_48_2847.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_54_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044556","1402044561","1402044558","1402044567","1402044563","1402044565"],"photo_ids_order":["1402044556","1402044558","1402044561","1402044563","1402044565","1402044567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41f6caf7f62fc5afb8d7ddb81c6c3831.jpg","text":"TemporaryFile(/tmp/multipartBody6982677716492132242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296114152,"filename":"image_04112025_19_19_33_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9d79c21ed4c16107d8a8b4f2cb861f8.jpg","text":"TemporaryFile(/tmp/multipartBody6780991155050857352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296114152,"filename":"image_04112025_19_19_39_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/106f683ddfc8c5163881eda939c3b944.jpg","text":"TemporaryFile(/tmp/multipartBody6855789618873344234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296114152,"filename":"image_04112025_19_19_36_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/354e5824ae0f04ae86a024c8ebf0a285.jpg","text":"TemporaryFile(/tmp/multipartBody7139750836075601371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296114152,"filename":"image_04112025_19_19_54_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4809b693f91f1fab6a955bba3a23ef12.jpg","text":"TemporaryFile(/tmp/multipartBody1509658013483303677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296114152,"filename":"image_04112025_19_19_42_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91d52d66e34774289f11134cfbe4c01f.jpg","text":"TemporaryFile(/tmp/multipartBody2663439586663322645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296114152,"filename":"image_04112025_19_19_48_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044561","file1":"1402044558","file0":"1402044556","file4":"1402044565","file5":"1402044567","file3":"1402044563"},"map_files_photo_id_array":[{"photo_id":"1402044567","filename":"file5"},{"photo_id":"1402044561","filename":"file2"},{"photo_id":"1402044565","filename":"file4"},{"photo_id":"1402044558","filename":"file1"},{"photo_id":"1402044556","filename":"file0"},{"photo_id":"1402044563","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044556":["hashtag1","hashtag2"]},{"1402044561":["hashtag1","hashtag2"]},{"1402044558":["hashtag1","hashtag2"]},{"1402044567":["hashtag1","hashtag2"]},{"1402044563":["hashtag1","hashtag2"]},{"1402044565":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044556, 1402044561, 1402044558, 1402044567, 1402044563, 1402044565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.71425223350525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:35:03.326687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_35_9825.jpg', '/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_44_9704.jpg', '/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_55_10674.jpg', '/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_14_9703.jpg', '/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_24_10052.jpg', '/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_35_10539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_35_9825.jpg
/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_44_9704.jpg
/home/pi/Desktop/images/01012026/19/59/image_01012026_19_59_55_10674.jpg
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_14_9703.jpg
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_24_10052.jpg
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_35_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":["1402044577","1402044573","1402044572","1402044575","1402044571","1402044574"],"photo_ids_order":["1402044571","1402044572","1402044573","1402044574","1402044575","1402044577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59523e2b41fc71ea6b4cf3aa5282f60a.jpg","text":"TemporaryFile(/tmp/multipartBody5200041364704152520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296163979,"filename":"image_01012026_20_00_35_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a82176988a91d5869872ea423e55d2bb.jpg","text":"TemporaryFile(/tmp/multipartBody1100604119770978327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296163979,"filename":"image_01012026_19_59_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/879c95c7218640cffd59fb0fc6487e1a.jpg","text":"TemporaryFile(/tmp/multipartBody8426205523489397170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296163979,"filename":"image_01012026_19_59_44_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c32e0fe0ab780d7103111ae8183fa610.jpg","text":"TemporaryFile(/tmp/multipartBody3652636133281081764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296163979,"filename":"image_01012026_20_00_24_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/549e9b0287d594d63dc9d3b069073c40.jpg","text":"TemporaryFile(/tmp/multipartBody8073364869609775366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296163979,"filename":"image_01012026_19_59_35_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35d3908c5cb7192a65799f507ebb8ea6.jpg","text":"TemporaryFile(/tmp/multipartBody8927170062712568333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296163979,"filename":"image_01012026_20_00_14_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044573","file1":"1402044572","file0":"1402044571","file4":"1402044575","file5":"1402044577","file3":"1402044574"},"map_files_photo_id_array":[{"photo_id":"1402044577","filename":"file5"},{"photo_id":"1402044573","filename":"file2"},{"photo_id":"1402044575","filename":"file4"},{"photo_id":"1402044572","filename":"file1"},{"photo_id":"1402044571","filename":"file0"},{"photo_id":"1402044574","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044577":["hashtag1","hashtag2"]},{"1402044573":["hashtag1","hashtag2"]},{"1402044572":["hashtag1","hashtag2"]},{"1402044575":["hashtag1","hashtag2"]},{"1402044571":["hashtag1","hashtag2"]},{"1402044574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044577, 1402044573, 1402044572, 1402044575, 1402044571, 1402044574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81643891334534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:35:42.590776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_57_3625.jpg', '/home/pi/Desktop/images/04112025/19/19/image_04112025_19_20_00_2785.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_03_2786.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_06_2782.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_12_2609.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_15_2699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_19_57_3625.jpg
/home/pi/Desktop/images/04112025/19/19/image_04112025_19_20_00_2785.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_03_2786.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_06_2782.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_12_2609.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_15_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":["1402044588","1402044590","1402044587","1402044583","1402044586","1402044589"],"photo_ids_order":["1402044583","1402044586","1402044587","1402044588","1402044589","1402044590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b52d6dc1db65d92b556570dd3fd5d678.jpg","text":"TemporaryFile(/tmp/multipartBody4817908166118522190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296204498,"filename":"image_04112025_19_20_06_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/821222bfbdcebe1877cd9860b9ad1905.jpg","text":"TemporaryFile(/tmp/multipartBody8606590141109682542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296204498,"filename":"image_04112025_19_20_15_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2639cda551ccb865a8d2130f0ddae87f.jpg","text":"TemporaryFile(/tmp/multipartBody1454057223397258851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296204498,"filename":"image_04112025_19_20_03_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35b44c33d51e6639f4cb0ef598ed0cee.jpg","text":"TemporaryFile(/tmp/multipartBody3997506584540177582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296204498,"filename":"image_04112025_19_19_57_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17fdc9abc1856d2fe56b0bd4b3582290.jpg","text":"TemporaryFile(/tmp/multipartBody2901949808482575730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296204498,"filename":"image_04112025_19_20_00_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90ddd386899c4281b8206ba23d2c94ae.jpg","text":"TemporaryFile(/tmp/multipartBody5226901633375149102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296204498,"filename":"image_04112025_19_20_12_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044587","file1":"1402044586","file0":"1402044583","file4":"1402044589","file5":"1402044590","file3":"1402044588"},"map_files_photo_id_array":[{"photo_id":"1402044590","filename":"file5"},{"photo_id":"1402044587","filename":"file2"},{"photo_id":"1402044589","filename":"file4"},{"photo_id":"1402044586","filename":"file1"},{"photo_id":"1402044583","filename":"file0"},{"photo_id":"1402044588","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044588":["hashtag1","hashtag2"]},{"1402044590":["hashtag1","hashtag2"]},{"1402044587":["hashtag1","hashtag2"]},{"1402044583":["hashtag1","hashtag2"]},{"1402044586":["hashtag1","hashtag2"]},{"1402044589":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044588, 1402044590, 1402044587, 1402044583, 1402044586, 1402044589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50921940803528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:36:22.748332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_45_9839.jpg', '/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_54_9540.jpg', '/home/pi/Desktop/images/01012026/20/00/image_01012026_20_01_05_10743.jpg', '/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_15_9807.jpg', '/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_24_9647.jpg', '/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_34_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_45_9839.jpg
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_00_54_9540.jpg
/home/pi/Desktop/images/01012026/20/00/image_01012026_20_01_05_10743.jpg
/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_15_9807.jpg
/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_24_9647.jpg
/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_34_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":["1402044594","1402044600","1402044596","1402044598","1402044602","1402044592"],"photo_ids_order":["1402044592","1402044594","1402044596","1402044598","1402044600","1402044602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d8e1cab02880828d1bd791cc26516ab.jpg","text":"TemporaryFile(/tmp/multipartBody6025254586764429997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296243389,"filename":"image_01012026_20_00_54_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe3e68da66573584c91f01ddd732fe24.jpg","text":"TemporaryFile(/tmp/multipartBody3671141021037464544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296243389,"filename":"image_01012026_20_01_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e46147c929be887f36a9ed7a070851f.jpg","text":"TemporaryFile(/tmp/multipartBody6924446649282883378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296243389,"filename":"image_01012026_20_01_05_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7194ab9daa93aca735e257d63516c49a.jpg","text":"TemporaryFile(/tmp/multipartBody4948573658822764371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296243389,"filename":"image_01012026_20_01_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25d7cbc57c6ac086e29f0e414ef23af5.jpg","text":"TemporaryFile(/tmp/multipartBody4953954543552195930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296243389,"filename":"image_01012026_20_01_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cc827c943f3d585a2f6fa277ab1d33a.jpg","text":"TemporaryFile(/tmp/multipartBody5452288669581905946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296243389,"filename":"image_01012026_20_00_45_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044596","file1":"1402044594","file0":"1402044592","file4":"1402044600","file5":"1402044602","file3":"1402044598"},"map_files_photo_id_array":[{"photo_id":"1402044602","filename":"file5"},{"photo_id":"1402044596","filename":"file2"},{"photo_id":"1402044600","filename":"file4"},{"photo_id":"1402044594","filename":"file1"},{"photo_id":"1402044592","filename":"file0"},{"photo_id":"1402044598","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044594":["hashtag1","hashtag2"]},{"1402044600":["hashtag1","hashtag2"]},{"1402044596":["hashtag1","hashtag2"]},{"1402044598":["hashtag1","hashtag2"]},{"1402044602":["hashtag1","hashtag2"]},{"1402044592":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044594, 1402044600, 1402044596, 1402044598, 1402044602, 1402044592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8263099193573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:37:02.627655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_45_10552.jpg', '/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_54_9781.jpg', '/home/pi/Desktop/images/01012026/20/01/image_01012026_20_02_04_9599.jpg', '/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_15_10610.jpg', '/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_24_9784.jpg', '/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_34_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_45_10552.jpg
/home/pi/Desktop/images/01012026/20/01/image_01012026_20_01_54_9781.jpg
/home/pi/Desktop/images/01012026/20/01/image_01012026_20_02_04_9599.jpg
/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_15_10610.jpg
/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_24_9784.jpg
/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_34_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":["1402044604","1402044607","1402044606","1402044609","1402044603","1402044605"],"photo_ids_order":["1402044603","1402044604","1402044605","1402044606","1402044607","1402044609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35eb62a4a500c46c8d880aa74b70505e.jpg","text":"TemporaryFile(/tmp/multipartBody5897424364827339920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296283315,"filename":"image_01012026_20_01_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c51e1f06bffee9850fc0df9dfeff1a7.jpg","text":"TemporaryFile(/tmp/multipartBody342979091367933400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296283315,"filename":"image_01012026_20_02_24_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d80f9d951e8bb167536e64fc207b2aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8827250713031561972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296283315,"filename":"image_01012026_20_02_15_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/015b2901414dd8e759b7b934006c3951.jpg","text":"TemporaryFile(/tmp/multipartBody3380578374477923388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296283315,"filename":"image_01012026_20_02_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44025467d291a4fc0117872433c99f78.jpg","text":"TemporaryFile(/tmp/multipartBody2225053529965110492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296283315,"filename":"image_01012026_20_01_45_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29973a08ca616ff538e3d219180a7fb5.jpg","text":"TemporaryFile(/tmp/multipartBody8816969011263125102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296283315,"filename":"image_01012026_20_02_04_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044605","file1":"1402044604","file0":"1402044603","file4":"1402044607","file5":"1402044609","file3":"1402044606"},"map_files_photo_id_array":[{"photo_id":"1402044609","filename":"file5"},{"photo_id":"1402044605","filename":"file2"},{"photo_id":"1402044607","filename":"file4"},{"photo_id":"1402044604","filename":"file1"},{"photo_id":"1402044603","filename":"file0"},{"photo_id":"1402044606","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044604":["hashtag1","hashtag2"]},{"1402044607":["hashtag1","hashtag2"]},{"1402044606":["hashtag1","hashtag2"]},{"1402044609":["hashtag1","hashtag2"]},{"1402044603":["hashtag1","hashtag2"]},{"1402044605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044604, 1402044607, 1402044606, 1402044609, 1402044603, 1402044605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40114498138428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:37:41.989487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_18_3541.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_24_2536.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_27_3770.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_30_2512.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_34_3586.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_36_2887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_18_3541.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_24_2536.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_27_3770.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_30_2512.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_34_3586.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_36_2887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044622","1402044619","1402044621","1402044615","1402044618","1402044620"],"photo_ids_order":["1402044615","1402044618","1402044619","1402044620","1402044621","1402044622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce0ed376514097b13387b9d764fd7055.jpg","text":"TemporaryFile(/tmp/multipartBody4628468850450823963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296323886,"filename":"image_04112025_19_20_36_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63d21e3029b8e992d87765c4e75a9c01.jpg","text":"TemporaryFile(/tmp/multipartBody173158884332908161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296323886,"filename":"image_04112025_19_20_27_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b1cd71ca772f1e87ae69d5f3b2c7860.jpg","text":"TemporaryFile(/tmp/multipartBody5442840930251827668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296323886,"filename":"image_04112025_19_20_34_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ded81a1a7e943051bbb3975ed59a6bb.jpg","text":"TemporaryFile(/tmp/multipartBody1977996706512512692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296323886,"filename":"image_04112025_19_20_18_3541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa55e88df92859f649ab259e16fe377e.jpg","text":"TemporaryFile(/tmp/multipartBody2080860814876567160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296323886,"filename":"image_04112025_19_20_24_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eaf83c3826735308b68eb176190c076d.jpg","text":"TemporaryFile(/tmp/multipartBody6787425031117359768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296323886,"filename":"image_04112025_19_20_30_2512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044619","file1":"1402044618","file0":"1402044615","file4":"1402044621","file5":"1402044622","file3":"1402044620"},"map_files_photo_id_array":[{"photo_id":"1402044622","filename":"file5"},{"photo_id":"1402044619","filename":"file2"},{"photo_id":"1402044621","filename":"file4"},{"photo_id":"1402044618","filename":"file1"},{"photo_id":"1402044615","filename":"file0"},{"photo_id":"1402044620","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044622":["hashtag1","hashtag2"]},{"1402044619":["hashtag1","hashtag2"]},{"1402044621":["hashtag1","hashtag2"]},{"1402044615":["hashtag1","hashtag2"]},{"1402044618":["hashtag1","hashtag2"]},{"1402044620":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044622, 1402044619, 1402044621, 1402044615, 1402044618, 1402044620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53041481971741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:38:22.167645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_55_9824.jpg', '/home/pi/Desktop/images/01012026/20/02/image_01012026_20_03_04_9730.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_14_9823.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_25_10843.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_34_9319.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_45_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_55_9824.jpg
/home/pi/Desktop/images/01012026/20/02/image_01012026_20_03_04_9730.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_14_9823.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_25_10843.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_34_9319.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_45_10645.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.48798084259033203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:38:32.171555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_39_2702.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_45_3630.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_48_2679.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_51_2642.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_54_2822.jpg', '/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_57_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_39_2702.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_45_3630.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_48_2679.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_51_2642.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_54_2822.jpg
/home/pi/Desktop/images/04112025/19/20/image_04112025_19_20_57_3728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044640","1402044631","1402044639","1402044636","1402044641","1402044629"],"photo_ids_order":["1402044629","1402044631","1402044636","1402044639","1402044640","1402044641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3013358a145b26e89266919c71610577.jpg","text":"TemporaryFile(/tmp/multipartBody3343940421537514778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296374067,"filename":"image_04112025_19_20_54_2822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3fc98346067c541a227e2a5b26e3e84.jpg","text":"TemporaryFile(/tmp/multipartBody6615505496077931184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296374067,"filename":"image_04112025_19_20_45_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8daafe73467e71ad08197a324d397a0a.jpg","text":"TemporaryFile(/tmp/multipartBody7583943072205822807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296374067,"filename":"image_04112025_19_20_51_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e15e7705b13c06211cddc8215968ca69.jpg","text":"TemporaryFile(/tmp/multipartBody3216193919199076449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296374067,"filename":"image_04112025_19_20_48_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c23842a106230afc599af869d220a0c8.jpg","text":"TemporaryFile(/tmp/multipartBody8637166505283514163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296374067,"filename":"image_04112025_19_20_57_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a67e44ce1cda47ed4c057a2f7ca9eef.jpg","text":"TemporaryFile(/tmp/multipartBody5569370855872854898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296374067,"filename":"image_04112025_19_20_39_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044636","file1":"1402044631","file0":"1402044629","file4":"1402044640","file5":"1402044641","file3":"1402044639"},"map_files_photo_id_array":[{"photo_id":"1402044641","filename":"file5"},{"photo_id":"1402044636","filename":"file2"},{"photo_id":"1402044640","filename":"file4"},{"photo_id":"1402044631","filename":"file1"},{"photo_id":"1402044629","filename":"file0"},{"photo_id":"1402044639","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044640":["hashtag1","hashtag2"]},{"1402044631":["hashtag1","hashtag2"]},{"1402044639":["hashtag1","hashtag2"]},{"1402044636":["hashtag1","hashtag2"]},{"1402044641":["hashtag1","hashtag2"]},{"1402044629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044640, 1402044631, 1402044639, 1402044636, 1402044641, 1402044629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.092490673065186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:39:12.230441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_03_2665.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_06_3654.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_09_2542.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_15_2812.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_18_2517.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_24_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_03_2665.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_06_3654.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_09_2542.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_15_2812.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_18_2517.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_24_3758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044649","1402044642","1402044651","1402044645","1402044644","1402044647"],"photo_ids_order":["1402044642","1402044644","1402044645","1402044647","1402044649","1402044651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e041d10cea525d802ec928a309b1ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2684064074943719018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296414013,"filename":"image_04112025_19_21_18_2517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21fcbb71bac0d0d9aa5864f3a3257f41.jpg","text":"TemporaryFile(/tmp/multipartBody7229547428084125201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296414013,"filename":"image_04112025_19_21_03_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8e0278256b5bf164a2a619385372cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7376621327321363996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296414013,"filename":"image_04112025_19_21_24_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7bb543d1eb832ccf5ca363b59aaf9567.jpg","text":"TemporaryFile(/tmp/multipartBody8917997330545871389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296414013,"filename":"image_04112025_19_21_09_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79d2845a9ae7d6bbe9f363f12538420a.jpg","text":"TemporaryFile(/tmp/multipartBody3363845976483180943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296414013,"filename":"image_04112025_19_21_06_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89061c681a312a716b1e469b792c77a1.jpg","text":"TemporaryFile(/tmp/multipartBody1107588813469021234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296414013,"filename":"image_04112025_19_21_15_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044645","file1":"1402044644","file0":"1402044642","file4":"1402044649","file5":"1402044651","file3":"1402044647"},"map_files_photo_id_array":[{"photo_id":"1402044651","filename":"file5"},{"photo_id":"1402044645","filename":"file2"},{"photo_id":"1402044649","filename":"file4"},{"photo_id":"1402044644","filename":"file1"},{"photo_id":"1402044642","filename":"file0"},{"photo_id":"1402044647","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044649":["hashtag1","hashtag2"]},{"1402044642":["hashtag1","hashtag2"]},{"1402044651":["hashtag1","hashtag2"]},{"1402044645":["hashtag1","hashtag2"]},{"1402044644":["hashtag1","hashtag2"]},{"1402044647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044649, 1402044642, 1402044651, 1402044645, 1402044644, 1402044647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49350380897522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:40:02.924952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_55_9824.jpg', '/home/pi/Desktop/images/01012026/20/02/image_01012026_20_03_04_9730.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_14_9823.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_25_10843.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_34_9319.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_45_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/02/image_01012026_20_02_55_9824.jpg
/home/pi/Desktop/images/01012026/20/02/image_01012026_20_03_04_9730.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_14_9823.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_25_10843.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_34_9319.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_45_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":["1402044661","1402044660","1402044663","1402044657","1402044656","1402044658"],"photo_ids_order":["1402044656","1402044657","1402044658","1402044660","1402044661","1402044663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6081614f951e8b738e8d8d743f42a7f.jpg","text":"TemporaryFile(/tmp/multipartBody2352979159215582915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296463573,"filename":"image_01012026_20_03_34_9319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d10e7600d10633d428aaa38c4733c8d8.jpg","text":"TemporaryFile(/tmp/multipartBody787331572169545043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296463573,"filename":"image_01012026_20_03_25_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/882798d0f2fb9fb02f1b00b0860ea77d.jpg","text":"TemporaryFile(/tmp/multipartBody5827818022424530286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296463573,"filename":"image_01012026_20_03_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/839972bd8c8a51c3227ec84cb100fd85.jpg","text":"TemporaryFile(/tmp/multipartBody7583464760421590293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296463573,"filename":"image_01012026_20_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/2026/1/1/0844b2889ae687069b640eac1cdf4d24.jpg","text":"TemporaryFile(/tmp/multipartBody6122143946136601550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296463573,"filename":"image_01012026_20_02_55_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6c9be81fb20f3a5b5ff93cbdee1305c.jpg","text":"TemporaryFile(/tmp/multipartBody8649513679997433060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296463573,"filename":"image_01012026_20_03_14_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044658","file1":"1402044657","file0":"1402044656","file4":"1402044661","file5":"1402044663","file3":"1402044660"},"map_files_photo_id_array":[{"photo_id":"1402044663","filename":"file5"},{"photo_id":"1402044658","filename":"file2"},{"photo_id":"1402044661","filename":"file4"},{"photo_id":"1402044657","filename":"file1"},{"photo_id":"1402044656","filename":"file0"},{"photo_id":"1402044660","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044661":["hashtag1","hashtag2"]},{"1402044660":["hashtag1","hashtag2"]},{"1402044663":["hashtag1","hashtag2"]},{"1402044657":["hashtag1","hashtag2"]},{"1402044656":["hashtag1","hashtag2"]},{"1402044658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044661, 1402044660, 1402044663, 1402044657, 1402044656, 1402044658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39761972427368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:40:42.448237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_27_2619.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_33_2666.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_36_3695.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_39_2736.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_42_2600.jpg', '/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_47_5077.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_27_2619.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_33_2666.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_36_3695.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_39_2736.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_42_2600.jpg
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_47_5077.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044669","1402044671","1402044674","1402044668","1402044670","1402044667"],"photo_ids_order":["1402044667","1402044668","1402044669","1402044670","1402044671","1402044674"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d010d3d6fa2f173ec0058f2e423b7c33.jpg","text":"TemporaryFile(/tmp/multipartBody3832004032899368742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296504343,"filename":"image_04112025_19_21_36_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2d33cc46de3c499824bf9da7624804e.jpg","text":"TemporaryFile(/tmp/multipartBody6757576038660339194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296504343,"filename":"image_04112025_19_21_42_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e798ce57e4d3a9a68206a830041c91d.jpg","text":"TemporaryFile(/tmp/multipartBody6000444309921431336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296504343,"filename":"image_04112025_19_21_47_5077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e1ebed0c09741259463046079772cfc.jpg","text":"TemporaryFile(/tmp/multipartBody7918377499406745627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296504343,"filename":"image_04112025_19_21_33_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a19dcbf8175ae953bb29ffce6983324f.jpg","text":"TemporaryFile(/tmp/multipartBody171919908919019671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296504343,"filename":"image_04112025_19_21_39_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c1fd0d902f8afc82159c00de3cf5d7e6.jpg","text":"TemporaryFile(/tmp/multipartBody3516511787522402544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296504343,"filename":"image_04112025_19_21_27_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044669","file1":"1402044668","file0":"1402044667","file4":"1402044671","file5":"1402044674","file3":"1402044670"},"map_files_photo_id_array":[{"photo_id":"1402044674","filename":"file5"},{"photo_id":"1402044669","filename":"file2"},{"photo_id":"1402044671","filename":"file4"},{"photo_id":"1402044668","filename":"file1"},{"photo_id":"1402044667","filename":"file0"},{"photo_id":"1402044670","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044669":["hashtag1","hashtag2"]},{"1402044671":["hashtag1","hashtag2"]},{"1402044674":["hashtag1","hashtag2"]},{"1402044668":["hashtag1","hashtag2"]},{"1402044670":["hashtag1","hashtag2"]},{"1402044667":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044669, 1402044671, 1402044674, 1402044668, 1402044670, 1402044667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.272855043411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:41:22.642926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_55_9728.jpg', '/home/pi/Desktop/images/01012026/20/03/image_01012026_20_04_05_9829.jpg', '/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_14_9766.jpg', '/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_25_10660.jpg', '/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_34_9499.jpg', '/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_45_10548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_03_55_9728.jpg
/home/pi/Desktop/images/01012026/20/03/image_01012026_20_04_05_9829.jpg
/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_14_9766.jpg
/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_25_10660.jpg
/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_34_9499.jpg
/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_45_10548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044681","1402044675","1402044678","1402044686","1402044683","1402044679"],"photo_ids_order":["1402044675","1402044678","1402044679","1402044681","1402044683","1402044686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf12347ac73923fb0bb54784f5047aa0.jpg","text":"TemporaryFile(/tmp/multipartBody4767077442035728585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296543245,"filename":"image_01012026_20_04_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9621676a5e9fe518803d0452eea3e44.jpg","text":"TemporaryFile(/tmp/multipartBody6417521362047940939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296543245,"filename":"image_01012026_20_03_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c18a39aa326f5ddd15adb8efcf2c1771.jpg","text":"TemporaryFile(/tmp/multipartBody8738185020429482121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296543245,"filename":"image_01012026_20_04_05_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fa327fcd1f45b630ecdb1fdbfdcd96a.jpg","text":"TemporaryFile(/tmp/multipartBody5794045865769548112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296543245,"filename":"image_01012026_20_04_45_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e45494c8e6275acb8711a895c1a8583.jpg","text":"TemporaryFile(/tmp/multipartBody2915449452213416982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296543245,"filename":"image_01012026_20_04_34_9499.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adb15cc6f2ad308e1c8ca2713ff71826.jpg","text":"TemporaryFile(/tmp/multipartBody7910790524420273157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296543245,"filename":"image_01012026_20_04_14_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044679","file1":"1402044678","file0":"1402044675","file4":"1402044683","file5":"1402044686","file3":"1402044681"},"map_files_photo_id_array":[{"photo_id":"1402044686","filename":"file5"},{"photo_id":"1402044679","filename":"file2"},{"photo_id":"1402044683","filename":"file4"},{"photo_id":"1402044678","filename":"file1"},{"photo_id":"1402044675","filename":"file0"},{"photo_id":"1402044681","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044681":["hashtag1","hashtag2"]},{"1402044675":["hashtag1","hashtag2"]},{"1402044678":["hashtag1","hashtag2"]},{"1402044686":["hashtag1","hashtag2"]},{"1402044683":["hashtag1","hashtag2"]},{"1402044679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044681, 1402044675, 1402044678, 1402044686, 1402044683, 1402044679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34672737121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:42:03.266951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_55_9717.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_05_9776.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_14_9567.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_25_10752.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_34_9547.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_44_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_55_9717.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_05_9776.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_14_9567.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_25_10752.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_34_9547.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_44_9774.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.5175521373748779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:42:12.851677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_50_2954.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_01_1576.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_03_1709.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_09_2699.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_12_2677.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_15_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/21/image_04112025_19_21_50_2954.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_01_1576.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_03_1709.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_09_2699.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_12_2677.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_15_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":["1402044703","1402044693","1402044699","1402044695","1402044697","1402044701"],"photo_ids_order":["1402044693","1402044695","1402044697","1402044699","1402044701","1402044703"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d43a4c3d0ba2a4cdaa3e4e3a6a4332f.jpg","text":"TemporaryFile(/tmp/multipartBody666576157882391977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296594613,"filename":"image_04112025_19_22_15_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5be1bcf63fc3e4c6df9bf4079cdca12c.jpg","text":"TemporaryFile(/tmp/multipartBody6991352885311526371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296594613,"filename":"image_04112025_19_21_50_2954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8319f86a693d9c793ead05035822d10a.jpg","text":"TemporaryFile(/tmp/multipartBody7860042208318692900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296594613,"filename":"image_04112025_19_22_09_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/194e04dadd541325d3f245fe2a2d1826.jpg","text":"TemporaryFile(/tmp/multipartBody1505923259479806186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296594613,"filename":"image_04112025_19_22_01_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/547383d7f9ca3626ca9906cebd99554f.jpg","text":"TemporaryFile(/tmp/multipartBody7845338754612724655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296594613,"filename":"image_04112025_19_22_03_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/573a9046bbfed9c1734de2a7e7f16503.jpg","text":"TemporaryFile(/tmp/multipartBody4469056210739632812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296594613,"filename":"image_04112025_19_22_12_2677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044697","file1":"1402044695","file0":"1402044693","file4":"1402044701","file5":"1402044703","file3":"1402044699"},"map_files_photo_id_array":[{"photo_id":"1402044703","filename":"file5"},{"photo_id":"1402044697","filename":"file2"},{"photo_id":"1402044701","filename":"file4"},{"photo_id":"1402044695","filename":"file1"},{"photo_id":"1402044693","filename":"file0"},{"photo_id":"1402044699","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044703":["hashtag1","hashtag2"]},{"1402044693":["hashtag1","hashtag2"]},{"1402044699":["hashtag1","hashtag2"]},{"1402044695":["hashtag1","hashtag2"]},{"1402044697":["hashtag1","hashtag2"]},{"1402044701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044703, 1402044693, 1402044699, 1402044695, 1402044697, 1402044701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37219762802124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:43:02.675372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_55_9717.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_05_9776.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_14_9567.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_25_10752.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_34_9547.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_44_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/04/image_01012026_20_04_55_9717.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_05_9776.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_14_9567.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_25_10752.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_34_9547.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_44_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044709","1402044712","1402044714","1402044708","1402044710","1402044707"],"photo_ids_order":["1402044707","1402044708","1402044709","1402044710","1402044712","1402044714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b1b79fc5a120e6287fb72cf974f053b.jpg","text":"TemporaryFile(/tmp/multipartBody5084733618090849799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296643337,"filename":"image_01012026_20_05_14_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d83ada502621ee9a026b424c9a87f558.jpg","text":"TemporaryFile(/tmp/multipartBody5932745012952010673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296643337,"filename":"image_01012026_20_05_34_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcee955f638a7a0947072fb064271633.jpg","text":"TemporaryFile(/tmp/multipartBody1485413645706998385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296643337,"filename":"image_01012026_20_05_44_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1e1546be34b06f27a25460405136476.jpg","text":"TemporaryFile(/tmp/multipartBody1497660760018260504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296643337,"filename":"image_01012026_20_05_05_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6410ed6b40c4472c104413e5445997a8.jpg","text":"TemporaryFile(/tmp/multipartBody3860573476446143545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296643337,"filename":"image_01012026_20_05_25_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0381690195bc5e871f715fb65964f40.jpg","text":"TemporaryFile(/tmp/multipartBody8707076214294357474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296643337,"filename":"image_01012026_20_04_55_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044709","file1":"1402044708","file0":"1402044707","file4":"1402044712","file5":"1402044714","file3":"1402044710"},"map_files_photo_id_array":[{"photo_id":"1402044714","filename":"file5"},{"photo_id":"1402044709","filename":"file2"},{"photo_id":"1402044712","filename":"file4"},{"photo_id":"1402044708","filename":"file1"},{"photo_id":"1402044707","filename":"file0"},{"photo_id":"1402044710","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044709":["hashtag1","hashtag2"]},{"1402044712":["hashtag1","hashtag2"]},{"1402044714":["hashtag1","hashtag2"]},{"1402044708":["hashtag1","hashtag2"]},{"1402044710":["hashtag1","hashtag2"]},{"1402044707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044709, 1402044712, 1402044714, 1402044708, 1402044710, 1402044707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.269559383392334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:43:41.982205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_18_2606.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_20_2631.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_24_3598.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_27_2704.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_32_4836.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_36_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_18_2606.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_20_2631.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_24_3598.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_27_2704.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_32_4836.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_36_1532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044724","1402044723","1402044726","1402044720","1402044722","1402044725"],"photo_ids_order":["1402044720","1402044722","1402044723","1402044724","1402044725","1402044726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/288c6881a38fd95944adc8d469b06410.jpg","text":"TemporaryFile(/tmp/multipartBody4363880274433103407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296683908,"filename":"image_04112025_19_22_27_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02c6dd9a9683e7efda22f61ae23915fd.jpg","text":"TemporaryFile(/tmp/multipartBody4894602702487640095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296683908,"filename":"image_04112025_19_22_24_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ac56546384016b698363511cc908808.jpg","text":"TemporaryFile(/tmp/multipartBody8766275059910169610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296683908,"filename":"image_04112025_19_22_36_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d3d838e1f8cc19117f8bb9b90a64703.jpg","text":"TemporaryFile(/tmp/multipartBody8790867833057595280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296683908,"filename":"image_04112025_19_22_18_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14f7cd36ddd6a5ea717c1699d1f828f0.jpg","text":"TemporaryFile(/tmp/multipartBody1347770290000912717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296683908,"filename":"image_04112025_19_22_20_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb620bd187748c52d3fec8670beda843.jpg","text":"TemporaryFile(/tmp/multipartBody7662370204311365844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296683908,"filename":"image_04112025_19_22_32_4836.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044723","file1":"1402044722","file0":"1402044720","file4":"1402044725","file5":"1402044726","file3":"1402044724"},"map_files_photo_id_array":[{"photo_id":"1402044726","filename":"file5"},{"photo_id":"1402044723","filename":"file2"},{"photo_id":"1402044725","filename":"file4"},{"photo_id":"1402044722","filename":"file1"},{"photo_id":"1402044720","filename":"file0"},{"photo_id":"1402044724","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044724":["hashtag1","hashtag2"]},{"1402044723":["hashtag1","hashtag2"]},{"1402044726":["hashtag1","hashtag2"]},{"1402044720":["hashtag1","hashtag2"]},{"1402044722":["hashtag1","hashtag2"]},{"1402044725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044724, 1402044723, 1402044726, 1402044720, 1402044722, 1402044725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61263585090637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:44:22.147724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_54_10305.jpg', '/home/pi/Desktop/images/01012026/20/05/image_01012026_20_06_04_9717.jpg', '/home/pi/Desktop/images/01012026/20/06/image_01012026_20_06_15_10615.jpg', '/home/pi/Desktop/images/01012026/20/06/image_01012026_20_06_25_9738.jpg', '/home/pi/Desktop/images/01012026/20/06/image_01012026_20_06_34_9798.jpg', '/home/pi/Desktop/images/01012026/20/06/image_01012026_20_06_45_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_05_54_10305.jpg
/home/pi/Desktop/images/01012026/20/05/image_01012026_20_06_04_9717.jpg
/home/pi/Desktop/images/01012026/20/06/image_01012026_20_06_15_10615.jpg
/home/pi/Desktop/images/01012026/20/06/image_01012026_20_06_25_9738.jpg
/home/pi/Desktop/images/01012026/20/06/image_01012026_20_06_34_9798.jpg
/home/pi/Desktop/images/01012026/20/06/image_01012026_20_06_45_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044736","1402044738","1402044732","1402044729","1402044740","1402044743"],"photo_ids_order":["1402044729","1402044732","1402044736","1402044738","1402044740","1402044743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ef3ff76843a8b87174422085f5a94a0.jpg","text":"TemporaryFile(/tmp/multipartBody2857403449039236018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296722752,"filename":"image_01012026_20_06_15_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c397522ef8a1829bc0d8eef3e8ee68f0.jpg","text":"TemporaryFile(/tmp/multipartBody6629387498439776691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296722752,"filename":"image_01012026_20_06_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3587988500d88a5c29f48d51639ec67.jpg","text":"TemporaryFile(/tmp/multipartBody9089354945118908225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296722752,"filename":"image_01012026_20_06_04_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3b624bde7c5bca0098ee3cb133acded.jpg","text":"TemporaryFile(/tmp/multipartBody8993887619870114918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296722752,"filename":"image_01012026_20_05_54_10305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9db445fc7e29749430d4577bb187f878.jpg","text":"TemporaryFile(/tmp/multipartBody232122334181051465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296722752,"filename":"image_01012026_20_06_34_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c2e0c92c657f1d04e2efed4b1ba4582.jpg","text":"TemporaryFile(/tmp/multipartBody8923617311225759047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296722752,"filename":"image_01012026_20_06_45_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044736","file1":"1402044732","file0":"1402044729","file4":"1402044740","file5":"1402044743","file3":"1402044738"},"map_files_photo_id_array":[{"photo_id":"1402044743","filename":"file5"},{"photo_id":"1402044736","filename":"file2"},{"photo_id":"1402044740","filename":"file4"},{"photo_id":"1402044732","filename":"file1"},{"photo_id":"1402044729","filename":"file0"},{"photo_id":"1402044738","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044736":["hashtag1","hashtag2"]},{"1402044738":["hashtag1","hashtag2"]},{"1402044732":["hashtag1","hashtag2"]},{"1402044729":["hashtag1","hashtag2"]},{"1402044740":["hashtag1","hashtag2"]},{"1402044743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044736, 1402044738, 1402044732, 1402044729, 1402044740, 1402044743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69593548774719 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:45:03.164978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/06/image_01012026_20_07_04_9766.jpg', '/home/pi/Desktop/images/01012026/20/07/image_01012026_20_07_15_10588.jpg', '/home/pi/Desktop/images/01012026/20/07/image_01012026_20_07_25_9774.jpg', '/home/pi/Desktop/images/01012026/20/07/image_01012026_20_07_45_10556.jpg', '/home/pi/Desktop/images/01012026/20/07/image_01012026_20_07_55_9841.jpg', '/home/pi/Desktop/images/01012026/20/07/image_01012026_20_08_05_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/06/image_01012026_20_07_04_9766.jpg
/home/pi/Desktop/images/01012026/20/07/image_01012026_20_07_15_10588.jpg
/home/pi/Desktop/images/01012026/20/07/image_01012026_20_07_25_9774.jpg
/home/pi/Desktop/images/01012026/20/07/image_01012026_20_07_45_10556.jpg
/home/pi/Desktop/images/01012026/20/07/image_01012026_20_07_55_9841.jpg
/home/pi/Desktop/images/01012026/20/07/image_01012026_20_08_05_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":["1402044748","1402044744","1402044749","1402044746","1402044751","1402044745"],"photo_ids_order":["1402044744","1402044745","1402044746","1402044748","1402044749","1402044751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87108250f5c0b79f46b3a7757484f83a.jpg","text":"TemporaryFile(/tmp/multipartBody442294750729407108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296763882,"filename":"image_01012026_20_07_45_10556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7f7eba66cef86b18db7a8478948e018.jpg","text":"TemporaryFile(/tmp/multipartBody6776393105474474596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296763882,"filename":"image_01012026_20_07_04_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9244989c84657f40245c06cfaed9b555.jpg","text":"TemporaryFile(/tmp/multipartBody4857153888874665483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296763882,"filename":"image_01012026_20_07_55_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc647cf7d092822ce977a7536165ed2a.jpg","text":"TemporaryFile(/tmp/multipartBody3785953180327996320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296763882,"filename":"image_01012026_20_07_25_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4cf8ef0200c5f27e404dd5c19ed5203c.jpg","text":"TemporaryFile(/tmp/multipartBody2017629985356062644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296763882,"filename":"image_01012026_20_08_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26b788852ecd76fdba129d8ae8c7dbb8.jpg","text":"TemporaryFile(/tmp/multipartBody6742812406727001700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296763882,"filename":"image_01012026_20_07_15_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044746","file1":"1402044745","file0":"1402044744","file4":"1402044749","file5":"1402044751","file3":"1402044748"},"map_files_photo_id_array":[{"photo_id":"1402044751","filename":"file5"},{"photo_id":"1402044746","filename":"file2"},{"photo_id":"1402044749","filename":"file4"},{"photo_id":"1402044745","filename":"file1"},{"photo_id":"1402044744","filename":"file0"},{"photo_id":"1402044748","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044748":["hashtag1","hashtag2"]},{"1402044744":["hashtag1","hashtag2"]},{"1402044749":["hashtag1","hashtag2"]},{"1402044746":["hashtag1","hashtag2"]},{"1402044751":["hashtag1","hashtag2"]},{"1402044745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044748, 1402044744, 1402044749, 1402044746, 1402044751, 1402044745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.680771827697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:45:42.415916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_42_2562.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_48_2747.jpg', '/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_51_2561.jpg', '/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_12_21685.jpg', '/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_14_1882.jpg', '/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_16_1779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_42_2562.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_48_2747.jpg
/home/pi/Desktop/images/04112025/19/22/image_04112025_19_22_51_2561.jpg
/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_12_21685.jpg
/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_14_1882.jpg
/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_16_1779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044760","1402044762","1402044761","1402044764","1402044763","1402044757"],"photo_ids_order":["1402044757","1402044760","1402044761","1402044762","1402044763","1402044764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d52134e60f7db26cdbf75e10f0bacdba.jpg","text":"TemporaryFile(/tmp/multipartBody3099503998423757314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296804347,"filename":"image_04112025_19_22_48_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee3ea94d976aa1ccd4802af974b329e2.jpg","text":"TemporaryFile(/tmp/multipartBody3636386454884612969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296804347,"filename":"image_04112025_19_23_12_21685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8fae1216fecff57a2d5c26cd03a03ec.jpg","text":"TemporaryFile(/tmp/multipartBody7171964906470125629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296804347,"filename":"image_04112025_19_22_51_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f731bdc7dd24783e0be82d6bca537af.jpg","text":"TemporaryFile(/tmp/multipartBody5754538175564658210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296804347,"filename":"image_04112025_19_23_16_1779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa02eceb7cd2807ce65f1dafdcb67f58.jpg","text":"TemporaryFile(/tmp/multipartBody67714828222790217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296804347,"filename":"image_04112025_19_23_14_1882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2e47b76e4d6d3df61d6fb87606d86b4.jpg","text":"TemporaryFile(/tmp/multipartBody464019313855090818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296804347,"filename":"image_04112025_19_22_42_2562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044761","file1":"1402044760","file0":"1402044757","file4":"1402044763","file5":"1402044764","file3":"1402044762"},"map_files_photo_id_array":[{"photo_id":"1402044764","filename":"file5"},{"photo_id":"1402044761","filename":"file2"},{"photo_id":"1402044763","filename":"file4"},{"photo_id":"1402044760","filename":"file1"},{"photo_id":"1402044757","filename":"file0"},{"photo_id":"1402044762","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044760":["hashtag1","hashtag2"]},{"1402044762":["hashtag1","hashtag2"]},{"1402044761":["hashtag1","hashtag2"]},{"1402044764":["hashtag1","hashtag2"]},{"1402044763":["hashtag1","hashtag2"]},{"1402044757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044760, 1402044762, 1402044761, 1402044764, 1402044763, 1402044757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.444273710250854 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
2026-01-01 20:46:32.539325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_41_25345.jpg', '/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_44_1632.jpg', '/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_58_12076.jpg', '/home/pi/Desktop/images/04112025/19/23/image_04112025_19_24_00_1740.jpg', '/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_05_3169.jpg', '/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_10_1881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_41_25345.jpg
/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_44_1632.jpg
/home/pi/Desktop/images/04112025/19/23/image_04112025_19_23_58_12076.jpg
/home/pi/Desktop/images/04112025/19/23/image_04112025_19_24_00_1740.jpg
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_05_3169.jpg
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_10_1881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044768","1402044777","1402044770","1402044773","1402044776","1402044775"],"photo_ids_order":["1402044768","1402044770","1402044773","1402044775","1402044776","1402044777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aeb38c29469325f30cc3f7974236273b.jpg","text":"TemporaryFile(/tmp/multipartBody4838166793851373519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296854361,"filename":"image_04112025_19_23_41_25345.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6abe1c2e0e150c67b7f1d64cee32e4c4.jpg","text":"TemporaryFile(/tmp/multipartBody1158751775486961384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296854361,"filename":"image_04112025_19_24_10_1881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/146dab6ed4e91d3a9069f61a374a4039.jpg","text":"TemporaryFile(/tmp/multipartBody7807632925160696820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296854361,"filename":"image_04112025_19_23_44_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/302dd2d58c0b8223d52b1fe98abf9aa5.jpg","text":"TemporaryFile(/tmp/multipartBody8914450348751022673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296854361,"filename":"image_04112025_19_23_58_12076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd37b5ddac83944937f657a8a345a010.jpg","text":"TemporaryFile(/tmp/multipartBody6620185089688792580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296854361,"filename":"image_04112025_19_24_05_3169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dc6b7b73a53259fec7737047602ee208.jpg","text":"TemporaryFile(/tmp/multipartBody1927803129402950247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296854361,"filename":"image_04112025_19_24_00_1740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044773","file1":"1402044770","file0":"1402044768","file4":"1402044776","file5":"1402044777","file3":"1402044775"},"map_files_photo_id_array":[{"photo_id":"1402044777","filename":"file5"},{"photo_id":"1402044773","filename":"file2"},{"photo_id":"1402044776","filename":"file4"},{"photo_id":"1402044770","filename":"file1"},{"photo_id":"1402044768","filename":"file0"},{"photo_id":"1402044775","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044768":["hashtag1","hashtag2"]},{"1402044777":["hashtag1","hashtag2"]},{"1402044770":["hashtag1","hashtag2"]},{"1402044773":["hashtag1","hashtag2"]},{"1402044776":["hashtag1","hashtag2"]},{"1402044775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044768, 1402044777, 1402044770, 1402044773, 1402044776, 1402044775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.019938468933105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:47:12.408504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_11_1609.jpg', '/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_15_1734.jpg', '/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_21_5837.jpg', '/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_26_1781.jpg', '/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_29_3594.jpg', '/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_44_5645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_11_1609.jpg
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_15_1734.jpg
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_21_5837.jpg
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_26_1781.jpg
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_29_3594.jpg
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_44_5645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044783","1402044785","1402044779","1402044781","1402044778","1402044787"],"photo_ids_order":["1402044778","1402044779","1402044781","1402044783","1402044785","1402044787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d125da801db01afe4d2e7b88e1905c9.jpg","text":"TemporaryFile(/tmp/multipartBody3230659883032181171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296894202,"filename":"image_04112025_19_24_26_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04436a072d5aacbc57fc06cf7d568090.jpg","text":"TemporaryFile(/tmp/multipartBody1203982648214888315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296894202,"filename":"image_04112025_19_24_29_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b65eed7d457919b662da374a688e78bd.jpg","text":"TemporaryFile(/tmp/multipartBody9171541980631798666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296894202,"filename":"image_04112025_19_24_15_1734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ed53b60d952fc20838c3500b2e719d8.jpg","text":"TemporaryFile(/tmp/multipartBody309605583219189271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296894202,"filename":"image_04112025_19_24_21_5837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13893a1da474f837da5836052c602815.jpg","text":"TemporaryFile(/tmp/multipartBody7964964814334508476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296894202,"filename":"image_04112025_19_24_11_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23b37c460012eed8c31976ca5bedbb96.jpg","text":"TemporaryFile(/tmp/multipartBody45253630387402010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296894202,"filename":"image_04112025_19_24_44_5645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044781","file1":"1402044779","file0":"1402044778","file4":"1402044785","file5":"1402044787","file3":"1402044783"},"map_files_photo_id_array":[{"photo_id":"1402044787","filename":"file5"},{"photo_id":"1402044781","filename":"file2"},{"photo_id":"1402044785","filename":"file4"},{"photo_id":"1402044779","filename":"file1"},{"photo_id":"1402044778","filename":"file0"},{"photo_id":"1402044783","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044783":["hashtag1","hashtag2"]},{"1402044785":["hashtag1","hashtag2"]},{"1402044779":["hashtag1","hashtag2"]},{"1402044781":["hashtag1","hashtag2"]},{"1402044778":["hashtag1","hashtag2"]},{"1402044787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044783, 1402044785, 1402044779, 1402044781, 1402044778, 1402044787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93386197090149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:48:08.882957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_14_9691.jpg', '/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_25_10730.jpg', '/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_35_9724.jpg', '/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_44_9578.jpg', '/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_55_10740.jpg', '/home/pi/Desktop/images/01012026/20/08/image_01012026_20_09_05_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_14_9691.jpg
/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_25_10730.jpg
/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_35_9724.jpg
/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_44_9578.jpg
/home/pi/Desktop/images/01012026/20/08/image_01012026_20_08_55_10740.jpg
/home/pi/Desktop/images/01012026/20/08/image_01012026_20_09_05_9931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044795","1402044797","1402044791","1402044793","1402044799","1402044790"],"photo_ids_order":["1402044790","1402044791","1402044793","1402044795","1402044797","1402044799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad6f8495b61359e20495423af3e99c7a.jpg","text":"TemporaryFile(/tmp/multipartBody3819492685291972118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296951318,"filename":"image_01012026_20_08_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba5bd8291ceeafb09928513e848ce19e.jpg","text":"TemporaryFile(/tmp/multipartBody3925209069689440731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296951318,"filename":"image_01012026_20_08_55_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edef8e6c55e59181c72fcd763db30cf0.jpg","text":"TemporaryFile(/tmp/multipartBody549255785794310583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296951318,"filename":"image_01012026_20_08_25_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8726306971de7205698b42b4e800d0f8.jpg","text":"TemporaryFile(/tmp/multipartBody1135002491091926105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296951318,"filename":"image_01012026_20_08_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad267eca60546381edb41228c923c57f.jpg","text":"TemporaryFile(/tmp/multipartBody4193665253782208260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296951318,"filename":"image_01012026_20_09_05_9931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/beedb44066104b9a42fff51ba0923709.jpg","text":"TemporaryFile(/tmp/multipartBody7841282560955475445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767296951318,"filename":"image_01012026_20_08_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044793","file1":"1402044791","file0":"1402044790","file4":"1402044797","file5":"1402044799","file3":"1402044795"},"map_files_photo_id_array":[{"photo_id":"1402044799","filename":"file5"},{"photo_id":"1402044793","filename":"file2"},{"photo_id":"1402044797","filename":"file4"},{"photo_id":"1402044791","filename":"file1"},{"photo_id":"1402044790","filename":"file0"},{"photo_id":"1402044795","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044795":["hashtag1","hashtag2"]},{"1402044797":["hashtag1","hashtag2"]},{"1402044791":["hashtag1","hashtag2"]},{"1402044793":["hashtag1","hashtag2"]},{"1402044799":["hashtag1","hashtag2"]},{"1402044790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044795, 1402044797, 1402044791, 1402044793, 1402044799, 1402044790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6266770362854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:49:03.871592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_15_9732.jpg', '/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_24_9714.jpg', '/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_35_10668.jpg', '/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_44_9394.jpg', '/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_54_9647.jpg', '/home/pi/Desktop/images/01012026/20/09/image_01012026_20_10_05_10802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_15_9732.jpg
/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_24_9714.jpg
/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_35_10668.jpg
/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_44_9394.jpg
/home/pi/Desktop/images/01012026/20/09/image_01012026_20_09_54_9647.jpg
/home/pi/Desktop/images/01012026/20/09/image_01012026_20_10_05_10802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044808","1402044805","1402044810","1402044804","1402044807","1402044806"],"photo_ids_order":["1402044804","1402044805","1402044806","1402044807","1402044808","1402044810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8dc8e0e03f86c47c16a6a606fdaa34b.jpg","text":"TemporaryFile(/tmp/multipartBody5817812955459031194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297004618,"filename":"image_01012026_20_09_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/722fbc6c4428eac1d25e3312e852deb3.jpg","text":"TemporaryFile(/tmp/multipartBody7078012272343675546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297004618,"filename":"image_01012026_20_09_24_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ae840739bd5c27a09192bf9352955fb.jpg","text":"TemporaryFile(/tmp/multipartBody2055430645803024551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297004618,"filename":"image_01012026_20_10_05_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ca9e1ed12d3f75fdca39f7505a1d2b1.jpg","text":"TemporaryFile(/tmp/multipartBody6845965651620592476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297004618,"filename":"image_01012026_20_09_15_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/612146a865ece3be02bca0944787f2bb.jpg","text":"TemporaryFile(/tmp/multipartBody948895059281914766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297004618,"filename":"image_01012026_20_09_44_9394.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/16d13ff0d1c4616101b99ff5ee67bf00.jpg","text":"TemporaryFile(/tmp/multipartBody6711797618699102805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297004618,"filename":"image_01012026_20_09_35_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044806","file1":"1402044805","file0":"1402044804","file4":"1402044808","file5":"1402044810","file3":"1402044807"},"map_files_photo_id_array":[{"photo_id":"1402044810","filename":"file5"},{"photo_id":"1402044806","filename":"file2"},{"photo_id":"1402044808","filename":"file4"},{"photo_id":"1402044805","filename":"file1"},{"photo_id":"1402044804","filename":"file0"},{"photo_id":"1402044807","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044808":["hashtag1","hashtag2"]},{"1402044805":["hashtag1","hashtag2"]},{"1402044810":["hashtag1","hashtag2"]},{"1402044804":["hashtag1","hashtag2"]},{"1402044807":["hashtag1","hashtag2"]},{"1402044806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044808, 1402044805, 1402044810, 1402044804, 1402044807, 1402044806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.229124784469604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:49:42.774304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_59_12935.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_05_6014.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_14_8779.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_16_1865.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_19_1619.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_21_1860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/24/image_04112025_19_24_59_12935.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_05_6014.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_14_8779.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_16_1865.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_19_1619.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_21_1860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044820","1402044822","1402044819","1402044816","1402044821","1402044818"],"photo_ids_order":["1402044816","1402044818","1402044819","1402044820","1402044821","1402044822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f5076cb19930472e78a08fe1dd2127a.jpg","text":"TemporaryFile(/tmp/multipartBody3062333066401903131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297044557,"filename":"image_04112025_19_25_16_1865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d62baeff0848b00402dfc6e99e920817.jpg","text":"TemporaryFile(/tmp/multipartBody5274998047335322187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297044557,"filename":"image_04112025_19_25_21_1860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f147b15349756a302fa5e95d931377c3.jpg","text":"TemporaryFile(/tmp/multipartBody1548282028271279440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297044557,"filename":"image_04112025_19_25_14_8779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff05ca2b6b3d7cff45e8eef1b2771038.jpg","text":"TemporaryFile(/tmp/multipartBody3707263871194735985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297044557,"filename":"image_04112025_19_24_59_12935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e5666b37a8fb18e54113f96308f1f00.jpg","text":"TemporaryFile(/tmp/multipartBody5232421013446616760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297044557,"filename":"image_04112025_19_25_19_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89faafc4cdd9d492dfa703860539d168.jpg","text":"TemporaryFile(/tmp/multipartBody1194979270079812471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297044557,"filename":"image_04112025_19_25_05_6014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044819","file1":"1402044818","file0":"1402044816","file4":"1402044821","file5":"1402044822","file3":"1402044820"},"map_files_photo_id_array":[{"photo_id":"1402044822","filename":"file5"},{"photo_id":"1402044819","filename":"file2"},{"photo_id":"1402044821","filename":"file4"},{"photo_id":"1402044818","filename":"file1"},{"photo_id":"1402044816","filename":"file0"},{"photo_id":"1402044820","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044820":["hashtag1","hashtag2"]},{"1402044822":["hashtag1","hashtag2"]},{"1402044819":["hashtag1","hashtag2"]},{"1402044816":["hashtag1","hashtag2"]},{"1402044821":["hashtag1","hashtag2"]},{"1402044818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044820, 1402044822, 1402044819, 1402044816, 1402044821, 1402044818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37102174758911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:50:22.049116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_15_9762.jpg', '/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_25_9940.jpg', '/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_34_9593.jpg', '/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_45_10654.jpg', '/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_55_9826.jpg', '/home/pi/Desktop/images/01012026/20/10/image_01012026_20_11_04_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_15_9762.jpg
/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_25_9940.jpg
/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_34_9593.jpg
/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_45_10654.jpg
/home/pi/Desktop/images/01012026/20/10/image_01012026_20_10_55_9826.jpg
/home/pi/Desktop/images/01012026/20/10/image_01012026_20_11_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":["1402044832","1402044826","1402044835","1402044828","1402044830","1402044824"],"photo_ids_order":["1402044824","1402044826","1402044828","1402044830","1402044832","1402044835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e88c23a10d7146ad0c7f4b2932c90c70.jpg","text":"TemporaryFile(/tmp/multipartBody7818226374680868154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297082684,"filename":"image_01012026_20_10_55_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47f6bb3ccacfcdfdffb80cc96ebce4b6.jpg","text":"TemporaryFile(/tmp/multipartBody2498562974023298873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297082684,"filename":"image_01012026_20_10_25_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ac3b72f1c9ef3459e9afaf70672b748.jpg","text":"TemporaryFile(/tmp/multipartBody5006767253425849779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297082684,"filename":"image_01012026_20_11_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6cabbe9cab7e41a4728c24f4a96a314.jpg","text":"TemporaryFile(/tmp/multipartBody7810822145284832318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297082684,"filename":"image_01012026_20_10_34_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a33b1e12ad4fd0bfbb4e4c091caa53cd.jpg","text":"TemporaryFile(/tmp/multipartBody3947338015618083523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297082684,"filename":"image_01012026_20_10_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7af055eb9c1808e50d5f4a7266bd4dce.jpg","text":"TemporaryFile(/tmp/multipartBody7804752352916122112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297082684,"filename":"image_01012026_20_10_15_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044828","file1":"1402044826","file0":"1402044824","file4":"1402044832","file5":"1402044835","file3":"1402044830"},"map_files_photo_id_array":[{"photo_id":"1402044835","filename":"file5"},{"photo_id":"1402044828","filename":"file2"},{"photo_id":"1402044832","filename":"file4"},{"photo_id":"1402044826","filename":"file1"},{"photo_id":"1402044824","filename":"file0"},{"photo_id":"1402044830","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044832":["hashtag1","hashtag2"]},{"1402044826":["hashtag1","hashtag2"]},{"1402044835":["hashtag1","hashtag2"]},{"1402044828":["hashtag1","hashtag2"]},{"1402044830":["hashtag1","hashtag2"]},{"1402044824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044832, 1402044826, 1402044835, 1402044828, 1402044830, 1402044824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64461803436279 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:51:03.038249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_14_9864.jpg', '/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_25_10655.jpg', '/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_35_9743.jpg', '/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_44_9597.jpg', '/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_55_10665.jpg', '/home/pi/Desktop/images/01012026/20/11/image_01012026_20_12_04_9591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_14_9864.jpg
/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_25_10655.jpg
/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_35_9743.jpg
/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_44_9597.jpg
/home/pi/Desktop/images/01012026/20/11/image_01012026_20_11_55_10665.jpg
/home/pi/Desktop/images/01012026/20/11/image_01012026_20_12_04_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":["1402044840","1402044837","1402044842","1402044836","1402044839","1402044838"],"photo_ids_order":["1402044836","1402044837","1402044838","1402044839","1402044840","1402044842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbd5c4224e6948f098a8033d8bf20ed2.jpg","text":"TemporaryFile(/tmp/multipartBody1597163292422702591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297123742,"filename":"image_01012026_20_11_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/000fda4338b33a66b0a6519b7af514e7.jpg","text":"TemporaryFile(/tmp/multipartBody54369207323851450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297123742,"filename":"image_01012026_20_11_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c7e53d44c86fdc95346e60f1d555732.jpg","text":"TemporaryFile(/tmp/multipartBody8908664573816652298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297123742,"filename":"image_01012026_20_12_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7a06517b92812f98da126815775da2a.jpg","text":"TemporaryFile(/tmp/multipartBody7245948669135986785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297123742,"filename":"image_01012026_20_11_14_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3216a94c61320c8610b2ae9a3ed6079d.jpg","text":"TemporaryFile(/tmp/multipartBody9030484853045243118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297123742,"filename":"image_01012026_20_11_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48ef3515895ec4ccab9bed89209468bb.jpg","text":"TemporaryFile(/tmp/multipartBody7439953279728658164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297123742,"filename":"image_01012026_20_11_35_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044838","file1":"1402044837","file0":"1402044836","file4":"1402044840","file5":"1402044842","file3":"1402044839"},"map_files_photo_id_array":[{"photo_id":"1402044842","filename":"file5"},{"photo_id":"1402044838","filename":"file2"},{"photo_id":"1402044840","filename":"file4"},{"photo_id":"1402044837","filename":"file1"},{"photo_id":"1402044836","filename":"file0"},{"photo_id":"1402044839","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044840":["hashtag1","hashtag2"]},{"1402044837":["hashtag1","hashtag2"]},{"1402044842":["hashtag1","hashtag2"]},{"1402044836":["hashtag1","hashtag2"]},{"1402044839":["hashtag1","hashtag2"]},{"1402044838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044840, 1402044837, 1402044842, 1402044836, 1402044839, 1402044838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83720946311951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:51:42.364463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_30_1650.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_32_1820.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_35_3513.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_41_3631.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_52_1524.jpg', '/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_54_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_30_1650.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_32_1820.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_35_3513.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_41_3631.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_52_1524.jpg
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_54_1717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044853","1402044855","1402044852","1402044851","1402044854","1402044848"],"photo_ids_order":["1402044848","1402044851","1402044852","1402044853","1402044854","1402044855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9834e9d15cd51de74a08c7a47dc537c.jpg","text":"TemporaryFile(/tmp/multipartBody7756574483811877800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297164281,"filename":"image_04112025_19_25_41_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8784358101dc088dde740264df7f6396.jpg","text":"TemporaryFile(/tmp/multipartBody2947958026359065639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297164281,"filename":"image_04112025_19_25_54_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29fcd4f7b1c03a521dced0cbdb6d4415.jpg","text":"TemporaryFile(/tmp/multipartBody215424057190277180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297164281,"filename":"image_04112025_19_25_35_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/621ae5583780d71e8920b7da3e2bf972.jpg","text":"TemporaryFile(/tmp/multipartBody4964066114450925690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297164281,"filename":"image_04112025_19_25_32_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1712a3c87e1280afbae5dc17427a5121.jpg","text":"TemporaryFile(/tmp/multipartBody7818372872781614830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297164281,"filename":"image_04112025_19_25_52_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97b99be8495d8e64d14db5d470a2164c.jpg","text":"TemporaryFile(/tmp/multipartBody10491444983265150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297164281,"filename":"image_04112025_19_25_30_1650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044852","file1":"1402044851","file0":"1402044848","file4":"1402044854","file5":"1402044855","file3":"1402044853"},"map_files_photo_id_array":[{"photo_id":"1402044855","filename":"file5"},{"photo_id":"1402044852","filename":"file2"},{"photo_id":"1402044854","filename":"file4"},{"photo_id":"1402044851","filename":"file1"},{"photo_id":"1402044848","filename":"file0"},{"photo_id":"1402044853","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044853":["hashtag1","hashtag2"]},{"1402044855":["hashtag1","hashtag2"]},{"1402044852":["hashtag1","hashtag2"]},{"1402044851":["hashtag1","hashtag2"]},{"1402044854":["hashtag1","hashtag2"]},{"1402044848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044853, 1402044855, 1402044852, 1402044851, 1402044854, 1402044848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74351477622986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:52:22.569852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_14_9580.jpg', '/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_24_10262.jpg', '/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_35_10634.jpg', '/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_45_9733.jpg', '/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_54_9608.jpg', '/home/pi/Desktop/images/01012026/20/12/image_01012026_20_13_04_10011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_14_9580.jpg
/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_24_10262.jpg
/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_35_10634.jpg
/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_45_9733.jpg
/home/pi/Desktop/images/01012026/20/12/image_01012026_20_12_54_9608.jpg
/home/pi/Desktop/images/01012026/20/12/image_01012026_20_13_04_10011.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044868","1402044861","1402044863","1402044857","1402044865","1402044859"],"photo_ids_order":["1402044857","1402044859","1402044861","1402044863","1402044865","1402044868"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44ac233e8a0bd278f613d73253896a01.jpg","text":"TemporaryFile(/tmp/multipartBody4458690184295096764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297203180,"filename":"image_01012026_20_13_04_10011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5560dfd2cd5aa2d46f646dda89ccc75.jpg","text":"TemporaryFile(/tmp/multipartBody680285345506488752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297203180,"filename":"image_01012026_20_12_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acfb4af302c44970847debf26f03b555.jpg","text":"TemporaryFile(/tmp/multipartBody8915794422256708138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297203180,"filename":"image_01012026_20_12_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d692a1d093074b6ecee7bd3cda51ec4.jpg","text":"TemporaryFile(/tmp/multipartBody3227684286706843483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297203180,"filename":"image_01012026_20_12_14_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b027b25bd0861ef6f18efd892e055092.jpg","text":"TemporaryFile(/tmp/multipartBody5360341586244364660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297203180,"filename":"image_01012026_20_12_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/764a573504c0fdeaeeb740ec30da249e.jpg","text":"TemporaryFile(/tmp/multipartBody6803152012631520205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297203180,"filename":"image_01012026_20_12_24_10262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044861","file1":"1402044859","file0":"1402044857","file4":"1402044865","file5":"1402044868","file3":"1402044863"},"map_files_photo_id_array":[{"photo_id":"1402044868","filename":"file5"},{"photo_id":"1402044861","filename":"file2"},{"photo_id":"1402044865","filename":"file4"},{"photo_id":"1402044859","filename":"file1"},{"photo_id":"1402044857","filename":"file0"},{"photo_id":"1402044863","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044868":["hashtag1","hashtag2"]},{"1402044861":["hashtag1","hashtag2"]},{"1402044863":["hashtag1","hashtag2"]},{"1402044857":["hashtag1","hashtag2"]},{"1402044865":["hashtag1","hashtag2"]},{"1402044859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044868, 1402044861, 1402044863, 1402044857, 1402044865, 1402044859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04316282272339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:53:03.569620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/13/image_01012026_20_13_14_9889.jpg', '/home/pi/Desktop/images/01012026/20/13/image_01012026_20_13_25_10687.jpg', '/home/pi/Desktop/images/01012026/20/13/image_01012026_20_13_35_9827.jpg', '/home/pi/Desktop/images/01012026/20/13/image_01012026_20_13_55_10728.jpg', '/home/pi/Desktop/images/01012026/20/13/image_01012026_20_14_05_9552.jpg', '/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_14_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/13/image_01012026_20_13_14_9889.jpg
/home/pi/Desktop/images/01012026/20/13/image_01012026_20_13_25_10687.jpg
/home/pi/Desktop/images/01012026/20/13/image_01012026_20_13_35_9827.jpg
/home/pi/Desktop/images/01012026/20/13/image_01012026_20_13_55_10728.jpg
/home/pi/Desktop/images/01012026/20/13/image_01012026_20_14_05_9552.jpg
/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_14_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":["1402044873","1402044875","1402044869","1402044874","1402044877","1402044871"],"photo_ids_order":["1402044869","1402044871","1402044873","1402044874","1402044875","1402044877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5bdc16354d98f354b4cf88aa303b6599.jpg","text":"TemporaryFile(/tmp/multipartBody6348329998377790776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297244248,"filename":"image_01012026_20_13_35_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc4e5a7af1afeb081ab2f823aaa009a1.jpg","text":"TemporaryFile(/tmp/multipartBody3348692820161353904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297244248,"filename":"image_01012026_20_14_05_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e4a6829e57471c4daa1d23cfd631be4.jpg","text":"TemporaryFile(/tmp/multipartBody9195102111835823324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297244248,"filename":"image_01012026_20_13_14_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2857bedd771eb181c53ed872c00d2b81.jpg","text":"TemporaryFile(/tmp/multipartBody7398577263218349843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297244248,"filename":"image_01012026_20_13_55_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74731d8ba397059eb86c3a4318c7e2ab.jpg","text":"TemporaryFile(/tmp/multipartBody7029339453899421991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297244248,"filename":"image_01012026_20_14_14_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24e3fe89d83348cf084133f84053b42e.jpg","text":"TemporaryFile(/tmp/multipartBody8608659056953870282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297244248,"filename":"image_01012026_20_13_25_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044873","file1":"1402044871","file0":"1402044869","file4":"1402044875","file5":"1402044877","file3":"1402044874"},"map_files_photo_id_array":[{"photo_id":"1402044877","filename":"file5"},{"photo_id":"1402044873","filename":"file2"},{"photo_id":"1402044875","filename":"file4"},{"photo_id":"1402044871","filename":"file1"},{"photo_id":"1402044869","filename":"file0"},{"photo_id":"1402044874","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044873":["hashtag1","hashtag2"]},{"1402044875":["hashtag1","hashtag2"]},{"1402044869":["hashtag1","hashtag2"]},{"1402044874":["hashtag1","hashtag2"]},{"1402044877":["hashtag1","hashtag2"]},{"1402044871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044873, 1402044875, 1402044869, 1402044874, 1402044877, 1402044871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2174334526062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:53:42.818432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_56_1709.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_06_1554.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_26_9058.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_33_1773.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_39_1664.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_44_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/25/image_04112025_19_25_56_1709.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_06_1554.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_26_9058.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_33_1773.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_39_1664.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_44_1608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044885","1402044888","1402044884","1402044887","1402044883","1402044886"],"photo_ids_order":["1402044883","1402044884","1402044885","1402044886","1402044887","1402044888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/972eaca076eee48a61b54887a0a2d323.jpg","text":"TemporaryFile(/tmp/multipartBody164376387365050970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297284737,"filename":"image_04112025_19_26_26_9058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84dec48f2fd864f66c9f81b6f4e28be4.jpg","text":"TemporaryFile(/tmp/multipartBody6628000172548217328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297284737,"filename":"image_04112025_19_26_44_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87a348a2e8ea9b28245025dc9c8beafe.jpg","text":"TemporaryFile(/tmp/multipartBody6438316502492332083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297284737,"filename":"image_04112025_19_26_06_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02fa0d16244beabdd7b32da802a0c38d.jpg","text":"TemporaryFile(/tmp/multipartBody4365803690449358542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297284737,"filename":"image_04112025_19_26_39_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f5851d37bda622d2fefd435125b8c71.jpg","text":"TemporaryFile(/tmp/multipartBody824695486634639828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297284737,"filename":"image_04112025_19_25_56_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1be181224f264a2c1afe26dc829262d3.jpg","text":"TemporaryFile(/tmp/multipartBody2479729285418318791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297284737,"filename":"image_04112025_19_26_33_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044885","file1":"1402044884","file0":"1402044883","file4":"1402044887","file5":"1402044888","file3":"1402044886"},"map_files_photo_id_array":[{"photo_id":"1402044888","filename":"file5"},{"photo_id":"1402044885","filename":"file2"},{"photo_id":"1402044887","filename":"file4"},{"photo_id":"1402044884","filename":"file1"},{"photo_id":"1402044883","filename":"file0"},{"photo_id":"1402044886","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044885":["hashtag1","hashtag2"]},{"1402044888":["hashtag1","hashtag2"]},{"1402044884":["hashtag1","hashtag2"]},{"1402044887":["hashtag1","hashtag2"]},{"1402044883":["hashtag1","hashtag2"]},{"1402044886":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044885, 1402044888, 1402044884, 1402044887, 1402044883, 1402044886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0217342376709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:54:22.129964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_25_10551.jpg', '/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_35_9632.jpg', '/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_45_9920.jpg', '/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_54_9624.jpg', '/home/pi/Desktop/images/01012026/20/14/image_01012026_20_15_05_10618.jpg', '/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_15_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_25_10551.jpg
/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_35_9632.jpg
/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_45_9920.jpg
/home/pi/Desktop/images/01012026/20/14/image_01012026_20_14_54_9624.jpg
/home/pi/Desktop/images/01012026/20/14/image_01012026_20_15_05_10618.jpg
/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_15_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":["1402044891","1402044897","1402044900","1402044893","1402044895","1402044889"],"photo_ids_order":["1402044889","1402044891","1402044893","1402044895","1402044897","1402044900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/665c76f15e211a2121493aedc449d43d.jpg","text":"TemporaryFile(/tmp/multipartBody2593760147450501114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297322729,"filename":"image_01012026_20_14_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9fb071c97568827f01500ffe3bd874c4.jpg","text":"TemporaryFile(/tmp/multipartBody4281762332811191307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297322729,"filename":"image_01012026_20_15_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a02d7d645cf6d8cc4a73ac71cee382cf.jpg","text":"TemporaryFile(/tmp/multipartBody134122671815039029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297322729,"filename":"image_01012026_20_15_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/940eaac54b2c8244102a9d9f5211afab.jpg","text":"TemporaryFile(/tmp/multipartBody654093991037871705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297322729,"filename":"image_01012026_20_14_45_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e1f7bda339bd4a768e3727c82f3d28b.jpg","text":"TemporaryFile(/tmp/multipartBody4701792614289859556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297322729,"filename":"image_01012026_20_14_54_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d45881e3c10b84c6047378fa149fc90c.jpg","text":"TemporaryFile(/tmp/multipartBody4015975755983401800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297322729,"filename":"image_01012026_20_14_25_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044893","file1":"1402044891","file0":"1402044889","file4":"1402044897","file5":"1402044900","file3":"1402044895"},"map_files_photo_id_array":[{"photo_id":"1402044900","filename":"file5"},{"photo_id":"1402044893","filename":"file2"},{"photo_id":"1402044897","filename":"file4"},{"photo_id":"1402044891","filename":"file1"},{"photo_id":"1402044889","filename":"file0"},{"photo_id":"1402044895","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044891":["hashtag1","hashtag2"]},{"1402044897":["hashtag1","hashtag2"]},{"1402044900":["hashtag1","hashtag2"]},{"1402044893":["hashtag1","hashtag2"]},{"1402044895":["hashtag1","hashtag2"]},{"1402044889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044891, 1402044897, 1402044900, 1402044893, 1402044895, 1402044889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97290396690369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:55:02.994878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_24_9754.jpg', '/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_34_9822.jpg', '/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_45_10608.jpg', '/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_54_9765.jpg', '/home/pi/Desktop/images/01012026/20/15/image_01012026_20_16_04_9795.jpg', '/home/pi/Desktop/images/01012026/20/16/image_01012026_20_16_15_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_24_9754.jpg
/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_34_9822.jpg
/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_45_10608.jpg
/home/pi/Desktop/images/01012026/20/15/image_01012026_20_15_54_9765.jpg
/home/pi/Desktop/images/01012026/20/15/image_01012026_20_16_04_9795.jpg
/home/pi/Desktop/images/01012026/20/16/image_01012026_20_16_15_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044904","1402044903","1402044906","1402044908","1402044902","1402044905"],"photo_ids_order":["1402044902","1402044903","1402044904","1402044905","1402044906","1402044908"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/518923e08cae86efffc6ba37794b49e9.jpg","text":"TemporaryFile(/tmp/multipartBody5632360525284364057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297363651,"filename":"image_01012026_20_15_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8df51515853c28f5601026de8f7504e.jpg","text":"TemporaryFile(/tmp/multipartBody6278933586377568145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297363651,"filename":"image_01012026_20_15_34_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13a9074de2c0cc97e0dcdc583a9fe32c.jpg","text":"TemporaryFile(/tmp/multipartBody3053404663862323559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297363651,"filename":"image_01012026_20_16_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c662b063e9548ea76f6bae19b1c8a1ab.jpg","text":"TemporaryFile(/tmp/multipartBody8082396818493154175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297363651,"filename":"image_01012026_20_16_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88c3a5fc7f7f73213fd4b3abe665d0a9.jpg","text":"TemporaryFile(/tmp/multipartBody8078852865432138489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297363651,"filename":"image_01012026_20_15_24_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd818ed296b9bdb6231bb270ebffc599.jpg","text":"TemporaryFile(/tmp/multipartBody164709623932673135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297363651,"filename":"image_01012026_20_15_54_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044904","file1":"1402044903","file0":"1402044902","file4":"1402044906","file5":"1402044908","file3":"1402044905"},"map_files_photo_id_array":[{"photo_id":"1402044908","filename":"file5"},{"photo_id":"1402044904","filename":"file2"},{"photo_id":"1402044906","filename":"file4"},{"photo_id":"1402044903","filename":"file1"},{"photo_id":"1402044902","filename":"file0"},{"photo_id":"1402044905","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044904":["hashtag1","hashtag2"]},{"1402044903":["hashtag1","hashtag2"]},{"1402044906":["hashtag1","hashtag2"]},{"1402044908":["hashtag1","hashtag2"]},{"1402044902":["hashtag1","hashtag2"]},{"1402044905":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044904, 1402044903, 1402044906, 1402044908, 1402044902, 1402044905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96511912345886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:55:42.166149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_46_1883.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_49_1686.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_51_1668.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_53_1727.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_58_1647.jpg', '/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_59_1557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_46_1883.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_49_1686.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_51_1668.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_53_1727.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_58_1647.jpg
/home/pi/Desktop/images/04112025/19/26/image_04112025_19_26_59_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":["1402044919","1402044921","1402044918","1402044920","1402044914","1402044917"],"photo_ids_order":["1402044914","1402044917","1402044918","1402044919","1402044920","1402044921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abc4920238f1ea490455e916dfbf54d0.jpg","text":"TemporaryFile(/tmp/multipartBody2551155709094055059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297404073,"filename":"image_04112025_19_26_53_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b41474895fe78d9cc0b20e59b839109e.jpg","text":"TemporaryFile(/tmp/multipartBody3024670406095542142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297404073,"filename":"image_04112025_19_26_59_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b22d943e12c408fb7ba619f1d3de9503.jpg","text":"TemporaryFile(/tmp/multipartBody2799974191107661070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297404073,"filename":"image_04112025_19_26_51_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1556ae08ad3d8cef48e6de0ce073ea00.jpg","text":"TemporaryFile(/tmp/multipartBody1959994529869963990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297404073,"filename":"image_04112025_19_26_58_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd6b9890061701c46e22d9b97d3cc9be.jpg","text":"TemporaryFile(/tmp/multipartBody3536204924160558599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297404073,"filename":"image_04112025_19_26_46_1883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/db7432619fcf076803ca8406291ec344.jpg","text":"TemporaryFile(/tmp/multipartBody1642456482218471928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297404073,"filename":"image_04112025_19_26_49_1686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044918","file1":"1402044917","file0":"1402044914","file4":"1402044920","file5":"1402044921","file3":"1402044919"},"map_files_photo_id_array":[{"photo_id":"1402044921","filename":"file5"},{"photo_id":"1402044918","filename":"file2"},{"photo_id":"1402044920","filename":"file4"},{"photo_id":"1402044917","filename":"file1"},{"photo_id":"1402044914","filename":"file0"},{"photo_id":"1402044919","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044919":["hashtag1","hashtag2"]},{"1402044921":["hashtag1","hashtag2"]},{"1402044918":["hashtag1","hashtag2"]},{"1402044920":["hashtag1","hashtag2"]},{"1402044914":["hashtag1","hashtag2"]},{"1402044917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044919, 1402044921, 1402044918, 1402044920, 1402044914, 1402044917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.115983963012695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 20:56:22.358299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/16/image_01012026_20_16_25_9668.jpg', '/home/pi/Desktop/images/01012026/20/16/image_01012026_20_16_45_10580.jpg', '/home/pi/Desktop/images/01012026/20/16/image_01012026_20_16_55_9636.jpg', '/home/pi/Desktop/images/01012026/20/16/image_01012026_20_17_04_9632.jpg', '/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_15_10653.jpg', '/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_25_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/16/image_01012026_20_16_25_9668.jpg
/home/pi/Desktop/images/01012026/20/16/image_01012026_20_16_45_10580.jpg
/home/pi/Desktop/images/01012026/20/16/image_01012026_20_16_55_9636.jpg
/home/pi/Desktop/images/01012026/20/16/image_01012026_20_17_04_9632.jpg
/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_15_10653.jpg
/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_25_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":["1402044925","1402044934","1402044922","1402044927","1402044929","1402044923"],"photo_ids_order":["1402044922","1402044923","1402044925","1402044927","1402044929","1402044934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80f7014522301939e92d70ccc388374f.jpg","text":"TemporaryFile(/tmp/multipartBody3555143744596531846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297442969,"filename":"image_01012026_20_16_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/136583aff1d45e153f9443bb3a5dd6d3.jpg","text":"TemporaryFile(/tmp/multipartBody589433024675589536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297442969,"filename":"image_01012026_20_17_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7399b4c8e0f7c01c47c3aadfcd53a2fe.jpg","text":"TemporaryFile(/tmp/multipartBody1362099866321791439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297442969,"filename":"image_01012026_20_16_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba615a4ed798425617fd1b3425448664.jpg","text":"TemporaryFile(/tmp/multipartBody9181624975910381919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297442969,"filename":"image_01012026_20_17_04_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99c0ef0ae4dc2bdc2de868373f6a052a.jpg","text":"TemporaryFile(/tmp/multipartBody1589040487811683602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297442969,"filename":"image_01012026_20_17_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ee8a469b34ffe250af4104f5b989173.jpg","text":"TemporaryFile(/tmp/multipartBody5359838159250833509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297442969,"filename":"image_01012026_20_16_45_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044925","file1":"1402044923","file0":"1402044922","file4":"1402044929","file5":"1402044934","file3":"1402044927"},"map_files_photo_id_array":[{"photo_id":"1402044934","filename":"file5"},{"photo_id":"1402044925","filename":"file2"},{"photo_id":"1402044929","filename":"file4"},{"photo_id":"1402044923","filename":"file1"},{"photo_id":"1402044922","filename":"file0"},{"photo_id":"1402044927","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044925":["hashtag1","hashtag2"]},{"1402044934":["hashtag1","hashtag2"]},{"1402044922":["hashtag1","hashtag2"]},{"1402044927":["hashtag1","hashtag2"]},{"1402044929":["hashtag1","hashtag2"]},{"1402044923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044925, 1402044934, 1402044922, 1402044927, 1402044929, 1402044923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34465503692627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:57:03.121646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_34_9531.jpg', '/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_45_10783.jpg', '/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_55_9761.jpg', '/home/pi/Desktop/images/01012026/20/17/image_01012026_20_18_04_9742.jpg', '/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_15_10578.jpg', '/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_25_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_34_9531.jpg
/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_45_10783.jpg
/home/pi/Desktop/images/01012026/20/17/image_01012026_20_17_55_9761.jpg
/home/pi/Desktop/images/01012026/20/17/image_01012026_20_18_04_9742.jpg
/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_15_10578.jpg
/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_25_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":["1402044946","1402044948","1402044942","1402044939","1402044950","1402044944"],"photo_ids_order":["1402044939","1402044942","1402044944","1402044946","1402044948","1402044950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd4c609e49c83105458aedfe377b0919.jpg","text":"TemporaryFile(/tmp/multipartBody3338942427610517811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297483767,"filename":"image_01012026_20_18_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/418c988254c9e3fffc1fd23eb9e44c9c.jpg","text":"TemporaryFile(/tmp/multipartBody5502165530221210368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297483767,"filename":"image_01012026_20_18_15_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3250a9dc98852408ed5a80689ab80a2.jpg","text":"TemporaryFile(/tmp/multipartBody3837926574454696657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297483767,"filename":"image_01012026_20_17_45_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1c368a55efb3defe914e46af092f259.jpg","text":"TemporaryFile(/tmp/multipartBody1049054508447126568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297483767,"filename":"image_01012026_20_17_34_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/acb5d453a3667ae4b068ad8c45af9f60.jpg","text":"TemporaryFile(/tmp/multipartBody3240170700212813717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297483767,"filename":"image_01012026_20_18_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10509d8060b8f9a9f92a5a38e0a35870.jpg","text":"TemporaryFile(/tmp/multipartBody3523082089784763979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297483767,"filename":"image_01012026_20_17_55_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044944","file1":"1402044942","file0":"1402044939","file4":"1402044948","file5":"1402044950","file3":"1402044946"},"map_files_photo_id_array":[{"photo_id":"1402044950","filename":"file5"},{"photo_id":"1402044944","filename":"file2"},{"photo_id":"1402044948","filename":"file4"},{"photo_id":"1402044942","filename":"file1"},{"photo_id":"1402044939","filename":"file0"},{"photo_id":"1402044946","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402044946":["hashtag1","hashtag2"]},{"1402044948":["hashtag1","hashtag2"]},{"1402044942":["hashtag1","hashtag2"]},{"1402044939":["hashtag1","hashtag2"]},{"1402044950":["hashtag1","hashtag2"]},{"1402044944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402044946, 1402044948, 1402044942, 1402044939, 1402044950, 1402044944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48455810546875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 20:57:42.519347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_06_1745.jpg', '/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_10_1741.jpg', '/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_13_1744.jpg', '/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_26_1607.jpg', '/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_28_1641.jpg', '/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_31_1541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_06_1745.jpg
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_10_1741.jpg
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_13_1744.jpg
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_26_1607.jpg
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_28_1641.jpg
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_31_1541.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402044960","1402044962","1402044956","1402044982","1402044961","1402044958"],"photo_ids_order":["1402044956","1402044958","1402044960","1402044961","1402044962","1402044982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce7ab9ade2d09e002f8fc291116b89da.jpg","text":"TemporaryFile(/tmp/multipartBody1562959377703492714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297534833,"filename":"image_04112025_19_27_13_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4b7662aa2483373a87d346184c081b5.jpg","text":"TemporaryFile(/tmp/multipartBody7765410722596613093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297534833,"filename":"image_04112025_19_27_28_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ef9ecb4130b18877ab9bc5a296d21f6.jpg","text":"TemporaryFile(/tmp/multipartBody3564993093105299188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297534833,"filename":"image_04112025_19_27_06_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6a17783b75a5d497a369a459f2dafed.jpg","text":"TemporaryFile(/tmp/multipartBody1031318825467223789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297534833,"filename":"image_04112025_19_27_31_1541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/feb09fa5cb8a6febef84201b40f53418.jpg","text":"TemporaryFile(/tmp/multipartBody1299015878767349714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297534833,"filename":"image_04112025_19_27_26_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca347de5178f36d1d527660fdaa4cc7b.jpg","text":"TemporaryFile(/tmp/multipartBody2842341988994218122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297534833,"filename":"image_04112025_19_27_10_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402044960","file1":"1402044958","file0":"1402044956","file4":"1402044962","file5":"1402044982","file3":"1402044961"},"map_files_photo_id_array":[{"photo_id":"1402044982","filename":"file5"},{"photo_id":"1402044960","filename":"file2"},{"photo_id":"1402044962","filename":"file4"},{"photo_id":"1402044958","filename":"file1"},{"photo_id":"1402044956","filename":"file0"},{"photo_id":"1402044961","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402044960":["hashtag1","hashtag2"]},{"1402044962":["hashtag1","hashtag2"]},{"1402044956":["hashtag1","hashtag2"]},{"1402044982":["hashtag1","hashtag2"]},{"1402044961":["hashtag1","hashtag2"]},{"1402044958":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402044960, 1402044962, 1402044956, 1402044982, 1402044961, 1402044958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.389331340789795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 20:59:03.786077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_35_9818.jpg', '/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_44_9648.jpg', '/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_55_10638.jpg', '/home/pi/Desktop/images/01012026/20/18/image_01012026_20_19_04_9576.jpg', '/home/pi/Desktop/images/01012026/20/19/image_01012026_20_19_14_9754.jpg', '/home/pi/Desktop/images/01012026/20/19/image_01012026_20_19_55_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_35_9818.jpg
/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_44_9648.jpg
/home/pi/Desktop/images/01012026/20/18/image_01012026_20_18_55_10638.jpg
/home/pi/Desktop/images/01012026/20/18/image_01012026_20_19_04_9576.jpg
/home/pi/Desktop/images/01012026/20/19/image_01012026_20_19_14_9754.jpg
/home/pi/Desktop/images/01012026/20/19/image_01012026_20_19_55_9664.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":["1402045374","1402045386","1402045370","1402045372","1402045366","1402045360"],"photo_ids_order":["1402045360","1402045366","1402045370","1402045372","1402045374","1402045386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34e2ab9291c2bd491c01a41cb6e8e539.jpg","text":"TemporaryFile(/tmp/multipartBody3074264592483916504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297604575,"filename":"image_01012026_20_19_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4235b96bac87fe215a4e9f0f3a623bc.jpg","text":"TemporaryFile(/tmp/multipartBody6286000739368401577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297604575,"filename":"image_01012026_20_19_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c55e5e49f5d48b20dfb10bdf5cf327da.jpg","text":"TemporaryFile(/tmp/multipartBody7206623976565594090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297604575,"filename":"image_01012026_20_18_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7bd4bc9fb43dfef1d7aced2f4ecc475f.jpg","text":"TemporaryFile(/tmp/multipartBody1116834994410502609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297604575,"filename":"image_01012026_20_19_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75071239b9ce7436e7aceb92b5ef3bb0.jpg","text":"TemporaryFile(/tmp/multipartBody1982634247322213266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297604575,"filename":"image_01012026_20_18_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba44d31bd795ffe55fef08b7ad6fedc1.jpg","text":"TemporaryFile(/tmp/multipartBody8154730932475868023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297604575,"filename":"image_01012026_20_18_35_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402045370","file1":"1402045366","file0":"1402045360","file4":"1402045374","file5":"1402045386","file3":"1402045372"},"map_files_photo_id_array":[{"photo_id":"1402045386","filename":"file5"},{"photo_id":"1402045370","filename":"file2"},{"photo_id":"1402045374","filename":"file4"},{"photo_id":"1402045366","filename":"file1"},{"photo_id":"1402045360","filename":"file0"},{"photo_id":"1402045372","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402045374":["hashtag1","hashtag2"]},{"1402045386":["hashtag1","hashtag2"]},{"1402045370":["hashtag1","hashtag2"]},{"1402045372":["hashtag1","hashtag2"]},{"1402045366":["hashtag1","hashtag2"]},{"1402045360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402045374, 1402045386, 1402045370, 1402045372, 1402045366, 1402045360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.83274555206299 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:00:02.371066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/19/image_01012026_20_20_04_9718.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_15_10618.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_25_9849.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_35_9958.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_45_9711.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_54_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/19/image_01012026_20_20_04_9718.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_15_10618.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_25_9849.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_35_9958.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_45_9711.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_54_9548.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.5032122135162354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:00:11.921601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_33_1691.jpg', '/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_38_2663.jpg', '/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_44_3578.jpg', '/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_47_2598.jpg', '/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_27_3778.jpg', '/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_29_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_33_1691.jpg
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_38_2663.jpg
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_44_3578.jpg
/home/pi/Desktop/images/04112025/19/27/image_04112025_19_27_47_2598.jpg
/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_27_3778.jpg
/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_29_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046052","1402045974","1402046074","1402046011","1402045936","1402046076"],"photo_ids_order":["1402045936","1402045974","1402046011","1402046052","1402046074","1402046076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/65d66900d135f4f771222299cf7ac04d.jpg","text":"TemporaryFile(/tmp/multipartBody2925834662743910301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297673711,"filename":"image_04112025_19_27_47_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b45c96e90bd6ee518943835614a6c24.jpg","text":"TemporaryFile(/tmp/multipartBody7491804373075897856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297673711,"filename":"image_04112025_19_27_38_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ee54cca84a0bd32931383000ff95d20.jpg","text":"TemporaryFile(/tmp/multipartBody6623322076445119824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297673711,"filename":"image_04112025_19_28_27_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8fe28dca01fec43cc9aefc98c4dd92d.jpg","text":"TemporaryFile(/tmp/multipartBody1466791042101257332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297673711,"filename":"image_04112025_19_27_44_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bc68e2246bfc74aba7960cec73c5848.jpg","text":"TemporaryFile(/tmp/multipartBody19768714376158745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297673711,"filename":"image_04112025_19_27_33_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/495a701f18490e050892e87a301de3a3.jpg","text":"TemporaryFile(/tmp/multipartBody677548346603752302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297673711,"filename":"image_04112025_19_28_29_2745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046011","file1":"1402045974","file0":"1402045936","file4":"1402046074","file5":"1402046076","file3":"1402046052"},"map_files_photo_id_array":[{"photo_id":"1402046076","filename":"file5"},{"photo_id":"1402046011","filename":"file2"},{"photo_id":"1402046074","filename":"file4"},{"photo_id":"1402045974","filename":"file1"},{"photo_id":"1402045936","filename":"file0"},{"photo_id":"1402046052","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046052":["hashtag1","hashtag2"]},{"1402045974":["hashtag1","hashtag2"]},{"1402046074":["hashtag1","hashtag2"]},{"1402046011":["hashtag1","hashtag2"]},{"1402045936":["hashtag1","hashtag2"]},{"1402046076":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046052, 1402045974, 1402046074, 1402046011, 1402045936, 1402046076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34049153327942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:01:02.813617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/19/image_01012026_20_20_04_9718.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_15_10618.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_25_9849.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_35_9958.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_45_9711.jpg', '/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_54_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/19/image_01012026_20_20_04_9718.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_15_10618.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_25_9849.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_35_9958.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_45_9711.jpg
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_20_54_9548.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":["1402046205","1402046208","1402046202","1402046210","1402046185","1402046206"],"photo_ids_order":["1402046185","1402046202","1402046205","1402046206","1402046208","1402046210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cf52397ce620dac985238974dafddc7.jpg","text":"TemporaryFile(/tmp/multipartBody873614568054458028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297727770,"filename":"image_01012026_20_20_25_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/786b183c1d4c533da03ce6aec138475e.jpg","text":"TemporaryFile(/tmp/multipartBody5605326142151300442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297727770,"filename":"image_01012026_20_20_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7e0baee9fd2237c47d869dfd44499cd.jpg","text":"TemporaryFile(/tmp/multipartBody4393334129309916524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297727770,"filename":"image_01012026_20_20_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d7f3367e5110a1c43906c8b033b3b741.jpg","text":"TemporaryFile(/tmp/multipartBody936860131766136793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297727770,"filename":"image_01012026_20_20_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3826d330413220312eb6fff8a0bbb4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5665436377020402108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297727770,"filename":"image_01012026_20_20_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ffa04e4b8f1260a6bf54afb17b9a077.jpg","text":"TemporaryFile(/tmp/multipartBody1022419744124009118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297727770,"filename":"image_01012026_20_20_35_9958.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046205","file1":"1402046202","file0":"1402046185","file4":"1402046208","file5":"1402046210","file3":"1402046206"},"map_files_photo_id_array":[{"photo_id":"1402046210","filename":"file5"},{"photo_id":"1402046205","filename":"file2"},{"photo_id":"1402046208","filename":"file4"},{"photo_id":"1402046202","filename":"file1"},{"photo_id":"1402046185","filename":"file0"},{"photo_id":"1402046206","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046205":["hashtag1","hashtag2"]},{"1402046208":["hashtag1","hashtag2"]},{"1402046202":["hashtag1","hashtag2"]},{"1402046210":["hashtag1","hashtag2"]},{"1402046185":["hashtag1","hashtag2"]},{"1402046206":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046205, 1402046208, 1402046202, 1402046210, 1402046185, 1402046206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.78329563140869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:02:02.908283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/20/image_01012026_20_21_05_10691.jpg', '/home/pi/Desktop/images/01012026/20/21/image_01012026_20_21_15_9827.jpg', '/home/pi/Desktop/images/01012026/20/21/image_01012026_20_21_35_10774.jpg', '/home/pi/Desktop/images/01012026/20/21/image_01012026_20_21_45_9641.jpg', '/home/pi/Desktop/images/01012026/20/21/image_01012026_20_21_55_9985.jpg', '/home/pi/Desktop/images/01012026/20/21/image_01012026_20_22_04_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/20/image_01012026_20_21_05_10691.jpg
/home/pi/Desktop/images/01012026/20/21/image_01012026_20_21_15_9827.jpg
/home/pi/Desktop/images/01012026/20/21/image_01012026_20_21_35_10774.jpg
/home/pi/Desktop/images/01012026/20/21/image_01012026_20_21_45_9641.jpg
/home/pi/Desktop/images/01012026/20/21/image_01012026_20_21_55_9985.jpg
/home/pi/Desktop/images/01012026/20/21/image_01012026_20_22_04_9788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046220","1402046217","1402046222","1402046216","1402046219","1402046218"],"photo_ids_order":["1402046216","1402046217","1402046218","1402046219","1402046220","1402046222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9d728ca89c490d31ff7e0ec4c5f2a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7447273070429515911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297783541,"filename":"image_01012026_20_21_55_9985.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39a76fad6489220d970a9c663c9d807a.jpg","text":"TemporaryFile(/tmp/multipartBody7178392793129494523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297783541,"filename":"image_01012026_20_21_15_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4b9e267812110c71c97c4d50319eab9.jpg","text":"TemporaryFile(/tmp/multipartBody3704094685882710935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297783541,"filename":"image_01012026_20_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/2026/1/1/c438e63b39a0394dbef9d2c17f6b09e9.jpg","text":"TemporaryFile(/tmp/multipartBody8503198522288848701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297783541,"filename":"image_01012026_20_21_05_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab053ab041ce6d70d5bde7b86276862e.jpg","text":"TemporaryFile(/tmp/multipartBody4904223620810656511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297783541,"filename":"image_01012026_20_21_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba1e2cc24adc8652389d953ce97b18d7.jpg","text":"TemporaryFile(/tmp/multipartBody8800339172247015791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297783541,"filename":"image_01012026_20_21_35_10774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046218","file1":"1402046217","file0":"1402046216","file4":"1402046220","file5":"1402046222","file3":"1402046219"},"map_files_photo_id_array":[{"photo_id":"1402046222","filename":"file5"},{"photo_id":"1402046218","filename":"file2"},{"photo_id":"1402046220","filename":"file4"},{"photo_id":"1402046217","filename":"file1"},{"photo_id":"1402046216","filename":"file0"},{"photo_id":"1402046219","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046220":["hashtag1","hashtag2"]},{"1402046217":["hashtag1","hashtag2"]},{"1402046222":["hashtag1","hashtag2"]},{"1402046216":["hashtag1","hashtag2"]},{"1402046219":["hashtag1","hashtag2"]},{"1402046218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046220, 1402046217, 1402046222, 1402046216, 1402046219, 1402046218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64223265647888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:02:42.453338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_32_2608.jpg', '/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_38_2554.jpg', '/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_42_3544.jpg', '/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_44_2607.jpg', '/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_56_2579.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_03_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_32_2608.jpg
/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_38_2554.jpg
/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_42_3544.jpg
/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_44_2607.jpg
/home/pi/Desktop/images/04112025/19/28/image_04112025_19_28_56_2579.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_03_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046232","1402046235","1402046228","1402046231","1402046230","1402046233"],"photo_ids_order":["1402046228","1402046230","1402046231","1402046232","1402046233","1402046235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e15e9de3e0d4a03a37307fac7d820b1.jpg","text":"TemporaryFile(/tmp/multipartBody764485367223803304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297824410,"filename":"image_04112025_19_28_44_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecbd56f6a982c1c190be7b93da4582d4.jpg","text":"TemporaryFile(/tmp/multipartBody5869635945329921910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297824410,"filename":"image_04112025_19_29_03_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d843dfebe48647e6112d36d221d1139.jpg","text":"TemporaryFile(/tmp/multipartBody3381863784655301126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297824410,"filename":"image_04112025_19_28_32_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e5d7cf0dcc8d341583d610f61581ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3375571983787900173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297824410,"filename":"image_04112025_19_28_42_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4df2ea7f13217e54af45d9743df5ce3.jpg","text":"TemporaryFile(/tmp/multipartBody5879310159830791819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297824410,"filename":"image_04112025_19_28_38_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e084fdad3b61e2921e666a73278dd351.jpg","text":"TemporaryFile(/tmp/multipartBody2828852500428432072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297824410,"filename":"image_04112025_19_28_56_2579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046231","file1":"1402046230","file0":"1402046228","file4":"1402046233","file5":"1402046235","file3":"1402046232"},"map_files_photo_id_array":[{"photo_id":"1402046235","filename":"file5"},{"photo_id":"1402046231","filename":"file2"},{"photo_id":"1402046233","filename":"file4"},{"photo_id":"1402046230","filename":"file1"},{"photo_id":"1402046228","filename":"file0"},{"photo_id":"1402046232","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046232":["hashtag1","hashtag2"]},{"1402046235":["hashtag1","hashtag2"]},{"1402046228":["hashtag1","hashtag2"]},{"1402046231":["hashtag1","hashtag2"]},{"1402046230":["hashtag1","hashtag2"]},{"1402046233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046232, 1402046235, 1402046228, 1402046231, 1402046230, 1402046233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.379146099090576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:03:22.702502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_14_9609.jpg', '/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_25_10675.jpg', '/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_34_9625.jpg', '/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_45_10598.jpg', '/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_55_9693.jpg', '/home/pi/Desktop/images/01012026/20/22/image_01012026_20_23_04_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_14_9609.jpg
/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_25_10675.jpg
/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_34_9625.jpg
/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_45_10598.jpg
/home/pi/Desktop/images/01012026/20/22/image_01012026_20_22_55_9693.jpg
/home/pi/Desktop/images/01012026/20/22/image_01012026_20_23_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":["1402046247","1402046245","1402046239","1402046248","1402046242","1402046241"],"photo_ids_order":["1402046239","1402046241","1402046242","1402046245","1402046247","1402046248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95a1cf932b2132369546ddb58a5ad161.jpg","text":"TemporaryFile(/tmp/multipartBody5438433615212619316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297863324,"filename":"image_01012026_20_22_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a416f456d87bad519c9b4aaaa1c2a051.jpg","text":"TemporaryFile(/tmp/multipartBody5294651515832660863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297863324,"filename":"image_01012026_20_22_45_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a18c25339d745902acbf9ae41528db7.jpg","text":"TemporaryFile(/tmp/multipartBody8277861880233646683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297863324,"filename":"image_01012026_20_22_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f881b24bfe1d596637bb7cc8c29b901f.jpg","text":"TemporaryFile(/tmp/multipartBody7825877707404054544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297863324,"filename":"image_01012026_20_23_04_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4e2dac033a08ae0cdae7b4405564f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6934577633638494385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297863324,"filename":"image_01012026_20_22_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60ace45a655bd0662a8bddc64a83a6bb.jpg","text":"TemporaryFile(/tmp/multipartBody5579676938755538425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297863324,"filename":"image_01012026_20_22_25_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046242","file1":"1402046241","file0":"1402046239","file4":"1402046247","file5":"1402046248","file3":"1402046245"},"map_files_photo_id_array":[{"photo_id":"1402046248","filename":"file5"},{"photo_id":"1402046242","filename":"file2"},{"photo_id":"1402046247","filename":"file4"},{"photo_id":"1402046241","filename":"file1"},{"photo_id":"1402046239","filename":"file0"},{"photo_id":"1402046245","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046247":["hashtag1","hashtag2"]},{"1402046245":["hashtag1","hashtag2"]},{"1402046239":["hashtag1","hashtag2"]},{"1402046248":["hashtag1","hashtag2"]},{"1402046242":["hashtag1","hashtag2"]},{"1402046241":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046247, 1402046245, 1402046239, 1402046248, 1402046242, 1402046241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03822302818298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:04:02.571199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_15_10735.jpg', '/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_25_9659.jpg', '/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_34_9737.jpg', '/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_44_9682.jpg', '/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_55_10646.jpg', '/home/pi/Desktop/images/01012026/20/23/image_01012026_20_24_04_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_15_10735.jpg
/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_25_9659.jpg
/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_34_9737.jpg
/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_44_9682.jpg
/home/pi/Desktop/images/01012026/20/23/image_01012026_20_23_55_10646.jpg
/home/pi/Desktop/images/01012026/20/23/image_01012026_20_24_04_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":["1402046250","1402046253","1402046252","1402046251","1402046254","1402046256"],"photo_ids_order":["1402046250","1402046251","1402046252","1402046253","1402046254","1402046256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74e86a044520a95b4ae47b121e482b88.jpg","text":"TemporaryFile(/tmp/multipartBody5476592022129713210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297903263,"filename":"image_01012026_20_23_15_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffa367c0646566bc6af7baeaa132550c.jpg","text":"TemporaryFile(/tmp/multipartBody3389857509049998486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297903263,"filename":"image_01012026_20_23_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d760d7dfee05f91fb86650194475dcd.jpg","text":"TemporaryFile(/tmp/multipartBody5055809755305485069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297903263,"filename":"image_01012026_20_23_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3c34f70d8eacb2aabc31f9d844cb0abd.jpg","text":"TemporaryFile(/tmp/multipartBody3380868958093115843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297903263,"filename":"image_01012026_20_23_25_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bde7a3f635f5db40e12d7869ce48f611.jpg","text":"TemporaryFile(/tmp/multipartBody7193754944132939031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297903263,"filename":"image_01012026_20_23_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dff31b92efc3ebb62502bdc8b44c524.jpg","text":"TemporaryFile(/tmp/multipartBody1812904658156900762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297903263,"filename":"image_01012026_20_24_04_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046252","file1":"1402046251","file0":"1402046250","file4":"1402046254","file5":"1402046256","file3":"1402046253"},"map_files_photo_id_array":[{"photo_id":"1402046256","filename":"file5"},{"photo_id":"1402046252","filename":"file2"},{"photo_id":"1402046254","filename":"file4"},{"photo_id":"1402046251","filename":"file1"},{"photo_id":"1402046250","filename":"file0"},{"photo_id":"1402046253","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046250":["hashtag1","hashtag2"]},{"1402046253":["hashtag1","hashtag2"]},{"1402046252":["hashtag1","hashtag2"]},{"1402046251":["hashtag1","hashtag2"]},{"1402046254":["hashtag1","hashtag2"]},{"1402046256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046250, 1402046253, 1402046252, 1402046251, 1402046254, 1402046256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51968860626221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:04:41.922105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_05_2708.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_12_3605.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_17_2675.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_20_2716.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_26_1865.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_38_2893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_05_2708.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_12_3605.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_17_2675.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_20_2716.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_26_1865.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_38_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":["1402046265","1402046264","1402046267","1402046266","1402046268","1402046262"],"photo_ids_order":["1402046262","1402046264","1402046265","1402046266","1402046267","1402046268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73e2e3cbc0479b5ad62a0db2b202e410.jpg","text":"TemporaryFile(/tmp/multipartBody5189394018853875380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297943870,"filename":"image_04112025_19_29_17_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5291b0f6bb3ce320713a6c7ae6991b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6841438998520472779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297943870,"filename":"image_04112025_19_29_12_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd51d92f645309c9ab05f18ecbaf6875.jpg","text":"TemporaryFile(/tmp/multipartBody363895413561387846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297943870,"filename":"image_04112025_19_29_26_1865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef1e7658f63282b1ed9f17f47087fc50.jpg","text":"TemporaryFile(/tmp/multipartBody9198146630094432184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297943870,"filename":"image_04112025_19_29_20_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c508dc71e926cfb8286d061087e38b93.jpg","text":"TemporaryFile(/tmp/multipartBody7872304955116273026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297943870,"filename":"image_04112025_19_29_38_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c81bf5b80b7f56dbc652dd26f803531a.jpg","text":"TemporaryFile(/tmp/multipartBody1958506773621736261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297943870,"filename":"image_04112025_19_29_05_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046265","file1":"1402046264","file0":"1402046262","file4":"1402046267","file5":"1402046268","file3":"1402046266"},"map_files_photo_id_array":[{"photo_id":"1402046268","filename":"file5"},{"photo_id":"1402046265","filename":"file2"},{"photo_id":"1402046267","filename":"file4"},{"photo_id":"1402046264","filename":"file1"},{"photo_id":"1402046262","filename":"file0"},{"photo_id":"1402046266","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046265":["hashtag1","hashtag2"]},{"1402046264":["hashtag1","hashtag2"]},{"1402046267":["hashtag1","hashtag2"]},{"1402046266":["hashtag1","hashtag2"]},{"1402046268":["hashtag1","hashtag2"]},{"1402046262":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046265, 1402046264, 1402046267, 1402046266, 1402046268, 1402046262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52823352813721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:05:22.096807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/24/image_01012026_20_24_14_9752.jpg', '/home/pi/Desktop/images/01012026/20/24/image_01012026_20_24_25_10631.jpg', '/home/pi/Desktop/images/01012026/20/24/image_01012026_20_24_35_9772.jpg', '/home/pi/Desktop/images/01012026/20/24/image_01012026_20_24_44_9580.jpg', '/home/pi/Desktop/images/01012026/20/24/image_01012026_20_25_04_9567.jpg', '/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_15_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/24/image_01012026_20_24_14_9752.jpg
/home/pi/Desktop/images/01012026/20/24/image_01012026_20_24_25_10631.jpg
/home/pi/Desktop/images/01012026/20/24/image_01012026_20_24_35_9772.jpg
/home/pi/Desktop/images/01012026/20/24/image_01012026_20_24_44_9580.jpg
/home/pi/Desktop/images/01012026/20/24/image_01012026_20_25_04_9567.jpg
/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_15_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046270","1402046276","1402046278","1402046272","1402046280","1402046274"],"photo_ids_order":["1402046270","1402046272","1402046274","1402046276","1402046278","1402046280"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cece5cab9307c3d864ebfd44f316e00d.jpg","text":"TemporaryFile(/tmp/multipartBody4332443028828854193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297982693,"filename":"image_01012026_20_24_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a74b171a73a452822a9278d66702219f.jpg","text":"TemporaryFile(/tmp/multipartBody2640032046264215725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297982693,"filename":"image_01012026_20_24_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/33ad0ade42491f19d2c1b0617af6321d.jpg","text":"TemporaryFile(/tmp/multipartBody65935747158062266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297982693,"filename":"image_01012026_20_25_04_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ade35aa62e684e3fc12184e65d43076f.jpg","text":"TemporaryFile(/tmp/multipartBody4645484463751353156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297982693,"filename":"image_01012026_20_24_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51422f8bca01952ead46ceebe8ab8676.jpg","text":"TemporaryFile(/tmp/multipartBody424718060821709618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297982693,"filename":"image_01012026_20_25_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f582d8ab4311f4ccfbf54578b8255d05.jpg","text":"TemporaryFile(/tmp/multipartBody6621821584151765706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767297982693,"filename":"image_01012026_20_24_35_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046274","file1":"1402046272","file0":"1402046270","file4":"1402046278","file5":"1402046280","file3":"1402046276"},"map_files_photo_id_array":[{"photo_id":"1402046280","filename":"file5"},{"photo_id":"1402046274","filename":"file2"},{"photo_id":"1402046278","filename":"file4"},{"photo_id":"1402046272","filename":"file1"},{"photo_id":"1402046270","filename":"file0"},{"photo_id":"1402046276","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046270":["hashtag1","hashtag2"]},{"1402046276":["hashtag1","hashtag2"]},{"1402046278":["hashtag1","hashtag2"]},{"1402046272":["hashtag1","hashtag2"]},{"1402046280":["hashtag1","hashtag2"]},{"1402046274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046270, 1402046276, 1402046278, 1402046272, 1402046280, 1402046274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85974097251892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:06:02.718240
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_25_9674.jpg', '/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_34_9666.jpg', '/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_45_10677.jpg', '/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_55_9752.jpg', '/home/pi/Desktop/images/01012026/20/25/image_01012026_20_26_05_9700.jpg', '/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_14_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_25_9674.jpg
/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_34_9666.jpg
/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_45_10677.jpg
/home/pi/Desktop/images/01012026/20/25/image_01012026_20_25_55_9752.jpg
/home/pi/Desktop/images/01012026/20/25/image_01012026_20_26_05_9700.jpg
/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_14_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046282","1402046285","1402046288","1402046284","1402046286","1402046283"],"photo_ids_order":["1402046282","1402046283","1402046284","1402046285","1402046286","1402046288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa5b87607515e6d59e4ebb04b8fc4e11.jpg","text":"TemporaryFile(/tmp/multipartBody18855868271246962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298023330,"filename":"image_01012026_20_25_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6963437b878841b2a787bb3e95acadf1.jpg","text":"TemporaryFile(/tmp/multipartBody1543530833984831680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298023330,"filename":"image_01012026_20_25_55_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9283a82803dc67d47b8d4e9c937f0088.jpg","text":"TemporaryFile(/tmp/multipartBody3877714865533002634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298023330,"filename":"image_01012026_20_26_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab574dc9c68ec240b1f8850255581762.jpg","text":"TemporaryFile(/tmp/multipartBody5085322092615265163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298023330,"filename":"image_01012026_20_25_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74b0fc32b1e1df89722624f72b412492.jpg","text":"TemporaryFile(/tmp/multipartBody8549300536720687789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298023330,"filename":"image_01012026_20_26_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/83827b0766f4270f9fec297685e2f94d.jpg","text":"TemporaryFile(/tmp/multipartBody3551084610101624515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298023330,"filename":"image_01012026_20_25_34_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046284","file1":"1402046283","file0":"1402046282","file4":"1402046286","file5":"1402046288","file3":"1402046285"},"map_files_photo_id_array":[{"photo_id":"1402046288","filename":"file5"},{"photo_id":"1402046284","filename":"file2"},{"photo_id":"1402046286","filename":"file4"},{"photo_id":"1402046283","filename":"file1"},{"photo_id":"1402046282","filename":"file0"},{"photo_id":"1402046285","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046282":["hashtag1","hashtag2"]},{"1402046285":["hashtag1","hashtag2"]},{"1402046288":["hashtag1","hashtag2"]},{"1402046284":["hashtag1","hashtag2"]},{"1402046286":["hashtag1","hashtag2"]},{"1402046283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046282, 1402046285, 1402046288, 1402046284, 1402046286, 1402046283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.120640993118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:06:42.306380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_41_3634.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_47_2702.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_53_2574.jpg', '/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_56_2796.jpg', '/home/pi/Desktop/images/04112025/19/30/image_04112025_19_30_46_2883.jpg', '/home/pi/Desktop/images/04112025/19/30/image_04112025_19_30_50_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_41_3634.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_47_2702.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_53_2574.jpg
/home/pi/Desktop/images/04112025/19/29/image_04112025_19_29_56_2796.jpg
/home/pi/Desktop/images/04112025/19/30/image_04112025_19_30_46_2883.jpg
/home/pi/Desktop/images/04112025/19/30/image_04112025_19_30_50_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":["1402046297","1402046301","1402046294","1402046296","1402046299","1402046298"],"photo_ids_order":["1402046294","1402046296","1402046297","1402046298","1402046299","1402046301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a402ae04a836639396ffdb468953f7c6.jpg","text":"TemporaryFile(/tmp/multipartBody8540315673214413572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298064211,"filename":"image_04112025_19_29_53_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/603f53247a89004fef106588c7996539.jpg","text":"TemporaryFile(/tmp/multipartBody5562926399476867841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298064211,"filename":"image_04112025_19_30_50_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff9ed2a643f99a084df29e09a3fb8220.jpg","text":"TemporaryFile(/tmp/multipartBody9204805308208182727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298064211,"filename":"image_04112025_19_29_41_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf3a47623840d17f947052de96232400.jpg","text":"TemporaryFile(/tmp/multipartBody852739796273807738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298064211,"filename":"image_04112025_19_29_47_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/522d4dc94f21ef12a944cfed72cc2781.jpg","text":"TemporaryFile(/tmp/multipartBody1557328004391083273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298064211,"filename":"image_04112025_19_30_46_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bd5659717f3af280a2248e8bc9e86ce.jpg","text":"TemporaryFile(/tmp/multipartBody7643746402724894132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298064211,"filename":"image_04112025_19_29_56_2796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046297","file1":"1402046296","file0":"1402046294","file4":"1402046299","file5":"1402046301","file3":"1402046298"},"map_files_photo_id_array":[{"photo_id":"1402046301","filename":"file5"},{"photo_id":"1402046297","filename":"file2"},{"photo_id":"1402046299","filename":"file4"},{"photo_id":"1402046296","filename":"file1"},{"photo_id":"1402046294","filename":"file0"},{"photo_id":"1402046298","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046297":["hashtag1","hashtag2"]},{"1402046301":["hashtag1","hashtag2"]},{"1402046294":["hashtag1","hashtag2"]},{"1402046296":["hashtag1","hashtag2"]},{"1402046299":["hashtag1","hashtag2"]},{"1402046298":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046297, 1402046301, 1402046294, 1402046296, 1402046299, 1402046298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0543429851532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:07:22.489848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_25_10817.jpg', '/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_35_9824.jpg', '/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_45_9616.jpg', '/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_54_9612.jpg', '/home/pi/Desktop/images/01012026/20/26/image_01012026_20_27_05_10715.jpg', '/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_15_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_25_10817.jpg
/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_35_9824.jpg
/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_45_9616.jpg
/home/pi/Desktop/images/01012026/20/26/image_01012026_20_26_54_9612.jpg
/home/pi/Desktop/images/01012026/20/26/image_01012026_20_27_05_10715.jpg
/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_15_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046310","1402046307","1402046309","1402046303","1402046311","1402046305"],"photo_ids_order":["1402046303","1402046305","1402046307","1402046309","1402046310","1402046311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb5c28fda12c4f1ba2d86086560aa2d0.jpg","text":"TemporaryFile(/tmp/multipartBody8402035619797640488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298103091,"filename":"image_01012026_20_27_05_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/498804be4a6411471a2171668a24c9e6.jpg","text":"TemporaryFile(/tmp/multipartBody1013307071732196351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298103091,"filename":"image_01012026_20_26_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e03b44105f96d0adb2dd7f336179568.jpg","text":"TemporaryFile(/tmp/multipartBody1189441856239391690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298103091,"filename":"image_01012026_20_26_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e496bc46acfbeef4b02ef5e1a67d5c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3475875929527241986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298103091,"filename":"image_01012026_20_26_25_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c0212db6b0d11fc850eb50905289c5d.jpg","text":"TemporaryFile(/tmp/multipartBody6524764641459561723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298103091,"filename":"image_01012026_20_27_15_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46461e9a269f5d07e7f9e48cddc803af.jpg","text":"TemporaryFile(/tmp/multipartBody8772589645100336654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298103091,"filename":"image_01012026_20_26_35_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046307","file1":"1402046305","file0":"1402046303","file4":"1402046310","file5":"1402046311","file3":"1402046309"},"map_files_photo_id_array":[{"photo_id":"1402046311","filename":"file5"},{"photo_id":"1402046307","filename":"file2"},{"photo_id":"1402046310","filename":"file4"},{"photo_id":"1402046305","filename":"file1"},{"photo_id":"1402046303","filename":"file0"},{"photo_id":"1402046309","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046310":["hashtag1","hashtag2"]},{"1402046307":["hashtag1","hashtag2"]},{"1402046309":["hashtag1","hashtag2"]},{"1402046303":["hashtag1","hashtag2"]},{"1402046311":["hashtag1","hashtag2"]},{"1402046305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046310, 1402046307, 1402046309, 1402046303, 1402046311, 1402046305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0747857093811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:08:03.035862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_24_9702.jpg', '/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_35_10672.jpg', '/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_45_9755.jpg', '/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_55_9747.jpg', '/home/pi/Desktop/images/01012026/20/28/image_01012026_20_28_35_9856.jpg', '/home/pi/Desktop/images/01012026/20/28/image_01012026_20_28_44_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_24_9702.jpg
/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_35_10672.jpg
/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_45_9755.jpg
/home/pi/Desktop/images/01012026/20/27/image_01012026_20_27_55_9747.jpg
/home/pi/Desktop/images/01012026/20/28/image_01012026_20_28_35_9856.jpg
/home/pi/Desktop/images/01012026/20/28/image_01012026_20_28_44_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":["1402046322","1402046319","1402046313","1402046315","1402046320","1402046317"],"photo_ids_order":["1402046313","1402046315","1402046317","1402046319","1402046320","1402046322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71e2bfb698ffef84fed0812eebfec717.jpg","text":"TemporaryFile(/tmp/multipartBody2170658553653361344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298143666,"filename":"image_01012026_20_28_44_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ade5c6ab355c7ccadd658614e2a920d8.jpg","text":"TemporaryFile(/tmp/multipartBody3303000763669571635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298143666,"filename":"image_01012026_20_27_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18b92a437a6afd0067cd26132d59dd99.jpg","text":"TemporaryFile(/tmp/multipartBody2315385806554492912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298143666,"filename":"image_01012026_20_27_24_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c02da64647cd03854fa9975fa4da1cc2.jpg","text":"TemporaryFile(/tmp/multipartBody2187741162739085818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298143666,"filename":"image_01012026_20_27_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/343098c59e7d4a3a497b086cff53a823.jpg","text":"TemporaryFile(/tmp/multipartBody2504763235785141121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298143666,"filename":"image_01012026_20_28_35_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/156a26b4443ef6a35508725b4ced7ca4.jpg","text":"TemporaryFile(/tmp/multipartBody4025323222553577679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298143666,"filename":"image_01012026_20_27_45_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046317","file1":"1402046315","file0":"1402046313","file4":"1402046320","file5":"1402046322","file3":"1402046319"},"map_files_photo_id_array":[{"photo_id":"1402046322","filename":"file5"},{"photo_id":"1402046317","filename":"file2"},{"photo_id":"1402046320","filename":"file4"},{"photo_id":"1402046315","filename":"file1"},{"photo_id":"1402046313","filename":"file0"},{"photo_id":"1402046319","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046322":["hashtag1","hashtag2"]},{"1402046319":["hashtag1","hashtag2"]},{"1402046313":["hashtag1","hashtag2"]},{"1402046315":["hashtag1","hashtag2"]},{"1402046320":["hashtag1","hashtag2"]},{"1402046317":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046322, 1402046319, 1402046313, 1402046315, 1402046320, 1402046317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98089790344238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:08:42.656730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/30/image_04112025_19_30_56_2628.jpg', '/home/pi/Desktop/images/04112025/19/30/image_04112025_19_30_59_3391.jpg', '/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_02_2647.jpg', '/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_23_2707.jpg', '/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_26_2967.jpg', '/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_28_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/30/image_04112025_19_30_56_2628.jpg
/home/pi/Desktop/images/04112025/19/30/image_04112025_19_30_59_3391.jpg
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_02_2647.jpg
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_23_2707.jpg
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_26_2967.jpg
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_28_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":["1402046331","1402046328","1402046327","1402046330","1402046332","1402046329"],"photo_ids_order":["1402046327","1402046328","1402046329","1402046330","1402046331","1402046332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c12e3d860a0de393a1ec70e9ae9450d.jpg","text":"TemporaryFile(/tmp/multipartBody5553222538886770542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298184614,"filename":"image_04112025_19_31_26_2967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b2cc2818192dcb055b751135704f0e0.jpg","text":"TemporaryFile(/tmp/multipartBody522320241668198452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298184614,"filename":"image_04112025_19_30_59_3391.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d4caf3e422dafd895271605542e86da.jpg","text":"TemporaryFile(/tmp/multipartBody7007125728769947008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298184614,"filename":"image_04112025_19_30_56_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d31127d7da81a4985dd77a1d8c95f0ef.jpg","text":"TemporaryFile(/tmp/multipartBody5112641086383695236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298184614,"filename":"image_04112025_19_31_23_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f06e0be639174d5e488aba8f2cd0890f.jpg","text":"TemporaryFile(/tmp/multipartBody956795502982533396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298184614,"filename":"image_04112025_19_31_28_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd99f5c2597e597469b286c4f27f1fa5.jpg","text":"TemporaryFile(/tmp/multipartBody5085811018051842339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298184614,"filename":"image_04112025_19_31_02_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046329","file1":"1402046328","file0":"1402046327","file4":"1402046331","file5":"1402046332","file3":"1402046330"},"map_files_photo_id_array":[{"photo_id":"1402046332","filename":"file5"},{"photo_id":"1402046329","filename":"file2"},{"photo_id":"1402046331","filename":"file4"},{"photo_id":"1402046328","filename":"file1"},{"photo_id":"1402046327","filename":"file0"},{"photo_id":"1402046330","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046331":["hashtag1","hashtag2"]},{"1402046328":["hashtag1","hashtag2"]},{"1402046327":["hashtag1","hashtag2"]},{"1402046330":["hashtag1","hashtag2"]},{"1402046332":["hashtag1","hashtag2"]},{"1402046329":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046331, 1402046328, 1402046327, 1402046330, 1402046332, 1402046329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94310283660889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:09:26.328654
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/28/image_01012026_20_28_54_9798.jpg', '/home/pi/Desktop/images/01012026/20/28/image_01012026_20_29_05_10630.jpg', '/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_14_9624.jpg', '/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_24_9779.jpg', '/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_35_10629.jpg', '/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_44_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/28/image_01012026_20_28_54_9798.jpg
/home/pi/Desktop/images/01012026/20/28/image_01012026_20_29_05_10630.jpg
/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_14_9624.jpg
/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_24_9779.jpg
/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_35_10629.jpg
/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_44_9585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046343","1402046346","1402046334","1402046336","1402046338","1402046340"],"photo_ids_order":["1402046334","1402046336","1402046338","1402046340","1402046343","1402046346"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fea2d274ade5ae5bd6b37cedc30b09f.jpg","text":"TemporaryFile(/tmp/multipartBody8978487650326068126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298226924,"filename":"image_01012026_20_29_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d59569d8977f294daa6b8b82e1e458d6.jpg","text":"TemporaryFile(/tmp/multipartBody3882694811234837045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298226924,"filename":"image_01012026_20_29_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a260d31fef3984b1ad1bde8b739ab3e8.jpg","text":"TemporaryFile(/tmp/multipartBody7628619385868690277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298226924,"filename":"image_01012026_20_28_54_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd06108ad16c40e0ced1ff11aa3bd38e.jpg","text":"TemporaryFile(/tmp/multipartBody920040352598602620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298226924,"filename":"image_01012026_20_29_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36bb3b552c2b0ce10b36cba7f020ba3c.jpg","text":"TemporaryFile(/tmp/multipartBody7524392655746626903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298226924,"filename":"image_01012026_20_29_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86c48fb7f0a49638e2305773e434a327.jpg","text":"TemporaryFile(/tmp/multipartBody84783390040441291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298226924,"filename":"image_01012026_20_29_24_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046338","file1":"1402046336","file0":"1402046334","file4":"1402046343","file5":"1402046346","file3":"1402046340"},"map_files_photo_id_array":[{"photo_id":"1402046346","filename":"file5"},{"photo_id":"1402046338","filename":"file2"},{"photo_id":"1402046343","filename":"file4"},{"photo_id":"1402046336","filename":"file1"},{"photo_id":"1402046334","filename":"file0"},{"photo_id":"1402046340","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046343":["hashtag1","hashtag2"]},{"1402046346":["hashtag1","hashtag2"]},{"1402046334":["hashtag1","hashtag2"]},{"1402046336":["hashtag1","hashtag2"]},{"1402046338":["hashtag1","hashtag2"]},{"1402046340":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046343, 1402046346, 1402046334, 1402046336, 1402046338, 1402046340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.696898221969604 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
2026-01-01 21:10:12.518886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_31_2759.jpg', '/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_35_3816.jpg', '/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_44_3697.jpg', '/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_47_2663.jpg', '/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_56_3626.jpg', '/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_19_2697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_31_2759.jpg
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_35_3816.jpg
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_44_3697.jpg
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_47_2663.jpg
/home/pi/Desktop/images/04112025/19/31/image_04112025_19_31_56_3626.jpg
/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_19_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":["1402046352","1402046354","1402046348","1402046356","1402046350","1402046347"],"photo_ids_order":["1402046347","1402046348","1402046350","1402046352","1402046354","1402046356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8390ffcbd1bfaf110b771b2f334bc3ed.jpg","text":"TemporaryFile(/tmp/multipartBody819314738596147232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298274338,"filename":"image_04112025_19_31_47_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/991c20acc372d9d52769ab2b43520795.jpg","text":"TemporaryFile(/tmp/multipartBody5403347117200711914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298274338,"filename":"image_04112025_19_31_56_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca035a20088f53c3702af1932d6e0eab.jpg","text":"TemporaryFile(/tmp/multipartBody7288535378904109357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298274338,"filename":"image_04112025_19_31_35_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76c9691d58b9205b9c1e1e6f5142feeb.jpg","text":"TemporaryFile(/tmp/multipartBody8118331969008929455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298274338,"filename":"image_04112025_19_32_19_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/538ee48743564c32085f586f86a26e18.jpg","text":"TemporaryFile(/tmp/multipartBody8065659485858021273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298274338,"filename":"image_04112025_19_31_44_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/12bb3760bfa18aa110477a218461667e.jpg","text":"TemporaryFile(/tmp/multipartBody7566641138662602747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298274338,"filename":"image_04112025_19_31_31_2759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046350","file1":"1402046348","file0":"1402046347","file4":"1402046354","file5":"1402046356","file3":"1402046352"},"map_files_photo_id_array":[{"photo_id":"1402046356","filename":"file5"},{"photo_id":"1402046350","filename":"file2"},{"photo_id":"1402046354","filename":"file4"},{"photo_id":"1402046348","filename":"file1"},{"photo_id":"1402046347","filename":"file0"},{"photo_id":"1402046352","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046352":["hashtag1","hashtag2"]},{"1402046354":["hashtag1","hashtag2"]},{"1402046348":["hashtag1","hashtag2"]},{"1402046356":["hashtag1","hashtag2"]},{"1402046350":["hashtag1","hashtag2"]},{"1402046347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046352, 1402046354, 1402046348, 1402046356, 1402046350, 1402046347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.705435037612915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:11:03.344537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_54_9776.jpg', '/home/pi/Desktop/images/01012026/20/29/image_01012026_20_30_05_10572.jpg', '/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_15_9831.jpg', '/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_24_9596.jpg', '/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_35_10790.jpg', '/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_45_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/29/image_01012026_20_29_54_9776.jpg
/home/pi/Desktop/images/01012026/20/29/image_01012026_20_30_05_10572.jpg
/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_15_9831.jpg
/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_24_9596.jpg
/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_35_10790.jpg
/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_45_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":["1402046364","1402046363","1402046366","1402046360","1402046362","1402046361"],"photo_ids_order":["1402046360","1402046361","1402046362","1402046363","1402046364","1402046366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a600f143098af1055f8ad0667b16a48b.jpg","text":"TemporaryFile(/tmp/multipartBody1796612996997458991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298324029,"filename":"image_01012026_20_30_35_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3f44637937d84c478991695276dc711.jpg","text":"TemporaryFile(/tmp/multipartBody833065824253369966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298324029,"filename":"image_01012026_20_30_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/707454450a52437c5dc10f88ac60bb4b.jpg","text":"TemporaryFile(/tmp/multipartBody7101932730789133514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298324029,"filename":"image_01012026_20_30_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/429b8ed30725c36e5e40b106f5abcf84.jpg","text":"TemporaryFile(/tmp/multipartBody2681302871495447728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298324029,"filename":"image_01012026_20_29_54_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3562d09a751f7ab113cda8f351e6a2e3.jpg","text":"TemporaryFile(/tmp/multipartBody2964494987675183709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298324029,"filename":"image_01012026_20_30_15_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac3d1c15736dd9419e71d94ef7645ffc.jpg","text":"TemporaryFile(/tmp/multipartBody6202844297500486169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298324029,"filename":"image_01012026_20_30_05_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046362","file1":"1402046361","file0":"1402046360","file4":"1402046364","file5":"1402046366","file3":"1402046363"},"map_files_photo_id_array":[{"photo_id":"1402046366","filename":"file5"},{"photo_id":"1402046362","filename":"file2"},{"photo_id":"1402046364","filename":"file4"},{"photo_id":"1402046361","filename":"file1"},{"photo_id":"1402046360","filename":"file0"},{"photo_id":"1402046363","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046364":["hashtag1","hashtag2"]},{"1402046363":["hashtag1","hashtag2"]},{"1402046366":["hashtag1","hashtag2"]},{"1402046360":["hashtag1","hashtag2"]},{"1402046362":["hashtag1","hashtag2"]},{"1402046361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046364, 1402046363, 1402046366, 1402046360, 1402046362, 1402046361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55791234970093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:11:42.714588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_23_3746.jpg', '/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_37_2662.jpg', '/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_41_3586.jpg', '/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_43_2646.jpg', '/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_49_2693.jpg', '/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_55_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_23_3746.jpg
/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_37_2662.jpg
/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_41_3586.jpg
/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_43_2646.jpg
/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_49_2693.jpg
/home/pi/Desktop/images/04112025/19/32/image_04112025_19_32_55_2684.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":["1402046378","1402046372","1402046375","1402046374","1402046379","1402046376"],"photo_ids_order":["1402046372","1402046374","1402046375","1402046376","1402046378","1402046379"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5987fd2a9e4d1ddbd143d27de857f22.jpg","text":"TemporaryFile(/tmp/multipartBody3550427604573630243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298364623,"filename":"image_04112025_19_32_49_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/752fa43cde423a478903a03c6922a6b1.jpg","text":"TemporaryFile(/tmp/multipartBody6664048688569528052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298364623,"filename":"image_04112025_19_32_23_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/391b6dfd25369e16ebfd57e1691ff87e.jpg","text":"TemporaryFile(/tmp/multipartBody325070660407363477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298364623,"filename":"image_04112025_19_32_41_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81fd40597e1c1263f27a39814bf7e19f.jpg","text":"TemporaryFile(/tmp/multipartBody1178044207048003613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298364623,"filename":"image_04112025_19_32_37_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2717532068ac71cfb627e7582e5c5032.jpg","text":"TemporaryFile(/tmp/multipartBody4903374272048727303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298364623,"filename":"image_04112025_19_32_55_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/050c6993ee327e60f032577547936ade.jpg","text":"TemporaryFile(/tmp/multipartBody2419090572658696565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298364623,"filename":"image_04112025_19_32_43_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046375","file1":"1402046374","file0":"1402046372","file4":"1402046378","file5":"1402046379","file3":"1402046376"},"map_files_photo_id_array":[{"photo_id":"1402046379","filename":"file5"},{"photo_id":"1402046375","filename":"file2"},{"photo_id":"1402046378","filename":"file4"},{"photo_id":"1402046374","filename":"file1"},{"photo_id":"1402046372","filename":"file0"},{"photo_id":"1402046376","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046378":["hashtag1","hashtag2"]},{"1402046372":["hashtag1","hashtag2"]},{"1402046375":["hashtag1","hashtag2"]},{"1402046374":["hashtag1","hashtag2"]},{"1402046379":["hashtag1","hashtag2"]},{"1402046376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046378, 1402046372, 1402046375, 1402046374, 1402046379, 1402046376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.2397346496582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:12:31.856822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_29_1764.jpg', '/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_31_1656.jpg', '/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_33_1586.jpg', '/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_38_1608.jpg', '/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_43_2829.jpg', '/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_50_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_29_1764.jpg
/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_31_1656.jpg
/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_33_1586.jpg
/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_38_1608.jpg
/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_43_2829.jpg
/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_50_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046390","1402046387","1402046392","1402046383","1402046385","1402046394"],"photo_ids_order":["1402046383","1402046385","1402046387","1402046390","1402046392","1402046394"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86370ce6ea1f3596326d86c61dcd9a90.jpg","text":"TemporaryFile(/tmp/multipartBody4320853678899146063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298413723,"filename":"image_04112025_19_34_38_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/517908bebc09e1fa65ac8d0d597217bb.jpg","text":"TemporaryFile(/tmp/multipartBody6165451923171828049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298413723,"filename":"image_04112025_19_34_33_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/440d7a5bf05f5cf3509b3279969af387.jpg","text":"TemporaryFile(/tmp/multipartBody1729049665604988802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298413723,"filename":"image_04112025_19_34_43_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05531cd334d916ad3bf854404de50e18.jpg","text":"TemporaryFile(/tmp/multipartBody2228176476211923952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298413723,"filename":"image_04112025_19_34_29_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf57992ca095adb4d03241b2d6860661.jpg","text":"TemporaryFile(/tmp/multipartBody1613370692293482633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298413723,"filename":"image_04112025_19_34_31_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5560b0671f247a407682b950209add48.jpg","text":"TemporaryFile(/tmp/multipartBody1456226631039754824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298413723,"filename":"image_04112025_19_34_50_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046387","file1":"1402046385","file0":"1402046383","file4":"1402046392","file5":"1402046394","file3":"1402046390"},"map_files_photo_id_array":[{"photo_id":"1402046394","filename":"file5"},{"photo_id":"1402046387","filename":"file2"},{"photo_id":"1402046392","filename":"file4"},{"photo_id":"1402046385","filename":"file1"},{"photo_id":"1402046383","filename":"file0"},{"photo_id":"1402046390","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046390":["hashtag1","hashtag2"]},{"1402046387":["hashtag1","hashtag2"]},{"1402046392":["hashtag1","hashtag2"]},{"1402046383":["hashtag1","hashtag2"]},{"1402046385":["hashtag1","hashtag2"]},{"1402046394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046390, 1402046387, 1402046392, 1402046383, 1402046385, 1402046394)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.04397177696228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:13:22.051707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_54_9755.jpg', '/home/pi/Desktop/images/01012026/20/30/image_01012026_20_31_05_10650.jpg', '/home/pi/Desktop/images/01012026/20/31/image_01012026_20_31_15_9672.jpg', '/home/pi/Desktop/images/01012026/20/31/image_01012026_20_31_24_9722.jpg', '/home/pi/Desktop/images/01012026/20/31/image_01012026_20_31_54_9637.jpg', '/home/pi/Desktop/images/01012026/20/32/image_01012026_20_32_15_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/30/image_01012026_20_30_54_9755.jpg
/home/pi/Desktop/images/01012026/20/30/image_01012026_20_31_05_10650.jpg
/home/pi/Desktop/images/01012026/20/31/image_01012026_20_31_15_9672.jpg
/home/pi/Desktop/images/01012026/20/31/image_01012026_20_31_24_9722.jpg
/home/pi/Desktop/images/01012026/20/31/image_01012026_20_31_54_9637.jpg
/home/pi/Desktop/images/01012026/20/32/image_01012026_20_32_15_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":["1402046403","1402046399","1402046408","1402046405","1402046397","1402046401"],"photo_ids_order":["1402046397","1402046399","1402046401","1402046403","1402046405","1402046408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/456f3a96c77d8a83b951ffa753ef693f.jpg","text":"TemporaryFile(/tmp/multipartBody2603244785755528815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298462611,"filename":"image_01012026_20_31_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c976c4cbb64cd7d947b3b1f3d6a33a26.jpg","text":"TemporaryFile(/tmp/multipartBody6766086633091791744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298462611,"filename":"image_01012026_20_31_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7cc0026cc65ad390faee127bc6a3ac7.jpg","text":"TemporaryFile(/tmp/multipartBody6122013210047493146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298462611,"filename":"image_01012026_20_32_15_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/658445f695e89ff1bd659d53e3fb6849.jpg","text":"TemporaryFile(/tmp/multipartBody4184615443451143307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298462611,"filename":"image_01012026_20_31_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/400e4ba8e2e4d83797ed90e832c9637d.jpg","text":"TemporaryFile(/tmp/multipartBody139006180018206534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298462611,"filename":"image_01012026_20_30_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c01949dfb327ad793333c7bfeb4ad62.jpg","text":"TemporaryFile(/tmp/multipartBody6838199116546884887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298462611,"filename":"image_01012026_20_31_15_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046401","file1":"1402046399","file0":"1402046397","file4":"1402046405","file5":"1402046408","file3":"1402046403"},"map_files_photo_id_array":[{"photo_id":"1402046408","filename":"file5"},{"photo_id":"1402046401","filename":"file2"},{"photo_id":"1402046405","filename":"file4"},{"photo_id":"1402046399","filename":"file1"},{"photo_id":"1402046397","filename":"file0"},{"photo_id":"1402046403","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046403":["hashtag1","hashtag2"]},{"1402046399":["hashtag1","hashtag2"]},{"1402046408":["hashtag1","hashtag2"]},{"1402046405":["hashtag1","hashtag2"]},{"1402046397":["hashtag1","hashtag2"]},{"1402046401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046403, 1402046399, 1402046408, 1402046405, 1402046397, 1402046401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.34486484527588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:14:04.517143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/32/image_01012026_20_32_34_9735.jpg', '/home/pi/Desktop/images/01012026/20/32/image_01012026_20_32_45_10700.jpg', '/home/pi/Desktop/images/01012026/20/32/image_01012026_20_33_05_10653.jpg', '/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_15_9651.jpg', '/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_24_9703.jpg', '/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_35_10569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/32/image_01012026_20_32_34_9735.jpg
/home/pi/Desktop/images/01012026/20/32/image_01012026_20_32_45_10700.jpg
/home/pi/Desktop/images/01012026/20/32/image_01012026_20_33_05_10653.jpg
/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_15_9651.jpg
/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_24_9703.jpg
/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_35_10569.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":["1402046412","1402046415","1402046414","1402046417","1402046411","1402046419"],"photo_ids_order":["1402046411","1402046412","1402046414","1402046415","1402046417","1402046419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0332f27784365d8c454cba93a8f41c49.jpg","text":"TemporaryFile(/tmp/multipartBody7126555629735551365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298508153,"filename":"image_01012026_20_32_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85aab109abcf2ea3c566f56a47044e25.jpg","text":"TemporaryFile(/tmp/multipartBody8288109826264270583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298508153,"filename":"image_01012026_20_33_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0e4afb10df32d8f14fd4b4d3d92abd1.jpg","text":"TemporaryFile(/tmp/multipartBody3951114406321088506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298508153,"filename":"image_01012026_20_33_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72b543fe1ee079c44cae0223cb3b94b9.jpg","text":"TemporaryFile(/tmp/multipartBody8619470132026766028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298508153,"filename":"image_01012026_20_33_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93e9af3f3eab15e0588e6fcdb4ce459b.jpg","text":"TemporaryFile(/tmp/multipartBody2236399583012954297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298508153,"filename":"image_01012026_20_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/2026/1/1/3f5087c3df36b6afb532a275ab825afe.jpg","text":"TemporaryFile(/tmp/multipartBody5491063343420698142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298508153,"filename":"image_01012026_20_33_35_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046414","file1":"1402046412","file0":"1402046411","file4":"1402046417","file5":"1402046419","file3":"1402046415"},"map_files_photo_id_array":[{"photo_id":"1402046419","filename":"file5"},{"photo_id":"1402046414","filename":"file2"},{"photo_id":"1402046417","filename":"file4"},{"photo_id":"1402046412","filename":"file1"},{"photo_id":"1402046411","filename":"file0"},{"photo_id":"1402046415","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046412":["hashtag1","hashtag2"]},{"1402046415":["hashtag1","hashtag2"]},{"1402046414":["hashtag1","hashtag2"]},{"1402046417":["hashtag1","hashtag2"]},{"1402046411":["hashtag1","hashtag2"]},{"1402046419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046412, 1402046415, 1402046414, 1402046417, 1402046411, 1402046419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.834986448287964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:15:03.164139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_45_9659.jpg', '/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_54_9712.jpg', '/home/pi/Desktop/images/01012026/20/33/image_01012026_20_34_04_9786.jpg', '/home/pi/Desktop/images/01012026/20/34/image_01012026_20_34_15_10633.jpg', '/home/pi/Desktop/images/01012026/20/34/image_01012026_20_34_24_9654.jpg', '/home/pi/Desktop/images/01012026/20/34/image_01012026_20_34_45_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_45_9659.jpg
/home/pi/Desktop/images/01012026/20/33/image_01012026_20_33_54_9712.jpg
/home/pi/Desktop/images/01012026/20/33/image_01012026_20_34_04_9786.jpg
/home/pi/Desktop/images/01012026/20/34/image_01012026_20_34_15_10633.jpg
/home/pi/Desktop/images/01012026/20/34/image_01012026_20_34_24_9654.jpg
/home/pi/Desktop/images/01012026/20/34/image_01012026_20_34_45_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046430","1402046433","1402046427","1402046426","1402046425","1402046428"],"photo_ids_order":["1402046425","1402046426","1402046427","1402046428","1402046430","1402046433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34eae965551bb486e18207746b0ea60e.jpg","text":"TemporaryFile(/tmp/multipartBody3111513322031055987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298563794,"filename":"image_01012026_20_34_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2785c61923e7dda2e195204cd034443f.jpg","text":"TemporaryFile(/tmp/multipartBody164091175109460582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298563794,"filename":"image_01012026_20_34_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fe52d8a6c107f7a26d876bbbb84dc6e.jpg","text":"TemporaryFile(/tmp/multipartBody3883152269801758643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298563794,"filename":"image_01012026_20_34_04_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d767921dca94df6cf73ef95492906eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2430657043570201195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298563794,"filename":"image_01012026_20_33_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d033104c5c844a4f08764cb011e2eca1.jpg","text":"TemporaryFile(/tmp/multipartBody2690681671524463184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298563794,"filename":"image_01012026_20_33_45_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96d6137b110fc97ec41467a390e62681.jpg","text":"TemporaryFile(/tmp/multipartBody3906110341807355525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298563794,"filename":"image_01012026_20_34_15_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046427","file1":"1402046426","file0":"1402046425","file4":"1402046430","file5":"1402046433","file3":"1402046428"},"map_files_photo_id_array":[{"photo_id":"1402046433","filename":"file5"},{"photo_id":"1402046427","filename":"file2"},{"photo_id":"1402046430","filename":"file4"},{"photo_id":"1402046426","filename":"file1"},{"photo_id":"1402046425","filename":"file0"},{"photo_id":"1402046428","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046430":["hashtag1","hashtag2"]},{"1402046433":["hashtag1","hashtag2"]},{"1402046427":["hashtag1","hashtag2"]},{"1402046426":["hashtag1","hashtag2"]},{"1402046425":["hashtag1","hashtag2"]},{"1402046428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046430, 1402046433, 1402046427, 1402046426, 1402046425, 1402046428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89947557449341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:15:42.445562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_52_2536.jpg', '/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_07_2994.jpg', '/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_10_3535.jpg', '/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_22_2730.jpg', '/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_25_3754.jpg', '/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_31_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/34/image_04112025_19_34_52_2536.jpg
/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_07_2994.jpg
/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_10_3535.jpg
/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_22_2730.jpg
/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_25_3754.jpg
/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_31_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046442","1402046445","1402046439","1402046444","1402046441","1402046443"],"photo_ids_order":["1402046439","1402046441","1402046442","1402046443","1402046444","1402046445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b994d1ecc9585946a648a3d353db311d.jpg","text":"TemporaryFile(/tmp/multipartBody2357631263031575583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298604343,"filename":"image_04112025_19_35_10_3535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d5b642677dbbb854c02c84b8d5796f6.jpg","text":"TemporaryFile(/tmp/multipartBody8083381209345881268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298604343,"filename":"image_04112025_19_35_31_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bd0a0b1c67f2ff80b84f430e6806b27.jpg","text":"TemporaryFile(/tmp/multipartBody599950837120397480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298604343,"filename":"image_04112025_19_34_52_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6585ce9bcc10e78dc0815271ac99280d.jpg","text":"TemporaryFile(/tmp/multipartBody6098341461862792621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298604343,"filename":"image_04112025_19_35_25_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc35f5a295c9e89766752db91571b710.jpg","text":"TemporaryFile(/tmp/multipartBody6899241641600512590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298604343,"filename":"image_04112025_19_35_07_2994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/092d6877e3a61eba5e3a650408356936.jpg","text":"TemporaryFile(/tmp/multipartBody5946351370771556856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298604343,"filename":"image_04112025_19_35_22_2730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046442","file1":"1402046441","file0":"1402046439","file4":"1402046444","file5":"1402046445","file3":"1402046443"},"map_files_photo_id_array":[{"photo_id":"1402046445","filename":"file5"},{"photo_id":"1402046442","filename":"file2"},{"photo_id":"1402046444","filename":"file4"},{"photo_id":"1402046441","filename":"file1"},{"photo_id":"1402046439","filename":"file0"},{"photo_id":"1402046443","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046442":["hashtag1","hashtag2"]},{"1402046445":["hashtag1","hashtag2"]},{"1402046439":["hashtag1","hashtag2"]},{"1402046444":["hashtag1","hashtag2"]},{"1402046441":["hashtag1","hashtag2"]},{"1402046443":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046442, 1402046445, 1402046439, 1402046444, 1402046441, 1402046443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30319046974182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:16:22.636867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/34/image_01012026_20_34_54_9714.jpg', '/home/pi/Desktop/images/01012026/20/34/image_01012026_20_35_04_9714.jpg', '/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_15_10650.jpg', '/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_25_9718.jpg', '/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_34_9762.jpg', '/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_44_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/34/image_01012026_20_34_54_9714.jpg
/home/pi/Desktop/images/01012026/20/34/image_01012026_20_35_04_9714.jpg
/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_15_10650.jpg
/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_25_9718.jpg
/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_34_9762.jpg
/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_44_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":["1402046457","1402046453","1402046455","1402046449","1402046451","1402046460"],"photo_ids_order":["1402046449","1402046451","1402046453","1402046455","1402046457","1402046460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd03f62fb256878cfeb090c2429d1380.jpg","text":"TemporaryFile(/tmp/multipartBody2006634901493272617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298643269,"filename":"image_01012026_20_35_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/959ddbbba40017973b61b5b91067afc2.jpg","text":"TemporaryFile(/tmp/multipartBody3313236464135334859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298643269,"filename":"image_01012026_20_35_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01dc9a3577b4c9994b214e6c1e0c214b.jpg","text":"TemporaryFile(/tmp/multipartBody6028857988873548886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298643269,"filename":"image_01012026_20_35_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e4605f00497143a0e4f53e4129ce895.jpg","text":"TemporaryFile(/tmp/multipartBody2400589449890735424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298643269,"filename":"image_01012026_20_34_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/67c63a909eeaf51d8b27490c623e25d5.jpg","text":"TemporaryFile(/tmp/multipartBody7406987999293449995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298643269,"filename":"image_01012026_20_35_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dd6dbe527f2805dc8704677fe48b968.jpg","text":"TemporaryFile(/tmp/multipartBody9203228895244026143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298643269,"filename":"image_01012026_20_35_44_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046453","file1":"1402046451","file0":"1402046449","file4":"1402046457","file5":"1402046460","file3":"1402046455"},"map_files_photo_id_array":[{"photo_id":"1402046460","filename":"file5"},{"photo_id":"1402046453","filename":"file2"},{"photo_id":"1402046457","filename":"file4"},{"photo_id":"1402046451","filename":"file1"},{"photo_id":"1402046449","filename":"file0"},{"photo_id":"1402046455","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046457":["hashtag1","hashtag2"]},{"1402046453":["hashtag1","hashtag2"]},{"1402046455":["hashtag1","hashtag2"]},{"1402046449":["hashtag1","hashtag2"]},{"1402046451":["hashtag1","hashtag2"]},{"1402046460":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046457, 1402046453, 1402046455, 1402046449, 1402046451, 1402046460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15430998802185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:17:02.782773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_55_10750.jpg', '/home/pi/Desktop/images/01012026/20/35/image_01012026_20_36_05_9666.jpg', '/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_14_9766.jpg', '/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_25_10655.jpg', '/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_35_9712.jpg', '/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_44_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/35/image_01012026_20_35_55_10750.jpg
/home/pi/Desktop/images/01012026/20/35/image_01012026_20_36_05_9666.jpg
/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_14_9766.jpg
/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_25_10655.jpg
/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_35_9712.jpg
/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_44_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":["1402046463","1402046462","1402046465","1402046461","1402046464","1402046467"],"photo_ids_order":["1402046461","1402046462","1402046463","1402046464","1402046465","1402046467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b27997441c648b7711b17fe26d772ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7010517038284311602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298683436,"filename":"image_01012026_20_36_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8eb1eb4be3c084239c2a7a5c44f43334.jpg","text":"TemporaryFile(/tmp/multipartBody451334550316020307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298683436,"filename":"image_01012026_20_36_05_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e82dd75f5d0a656eee64c41264016621.jpg","text":"TemporaryFile(/tmp/multipartBody7275716195080992026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298683436,"filename":"image_01012026_20_36_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3b6fda87ed0da764f73e4d7c9164e9e.jpg","text":"TemporaryFile(/tmp/multipartBody12625987964071149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298683436,"filename":"image_01012026_20_35_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bebbb738b6ad37482f15efe54f56ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8042549312942521331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298683436,"filename":"image_01012026_20_36_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2458d3ca2f20f321a243335399cd5bbc.jpg","text":"TemporaryFile(/tmp/multipartBody4680486694718023278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298683436,"filename":"image_01012026_20_36_44_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046463","file1":"1402046462","file0":"1402046461","file4":"1402046465","file5":"1402046467","file3":"1402046464"},"map_files_photo_id_array":[{"photo_id":"1402046467","filename":"file5"},{"photo_id":"1402046463","filename":"file2"},{"photo_id":"1402046465","filename":"file4"},{"photo_id":"1402046462","filename":"file1"},{"photo_id":"1402046461","filename":"file0"},{"photo_id":"1402046464","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046463":["hashtag1","hashtag2"]},{"1402046462":["hashtag1","hashtag2"]},{"1402046465":["hashtag1","hashtag2"]},{"1402046461":["hashtag1","hashtag2"]},{"1402046464":["hashtag1","hashtag2"]},{"1402046467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046463, 1402046462, 1402046465, 1402046461, 1402046464, 1402046467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02000641822815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:17:42.023459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_58_2588.jpg', '/home/pi/Desktop/images/04112025/19/35/image_04112025_19_36_01_3691.jpg', '/home/pi/Desktop/images/04112025/19/36/image_04112025_19_36_16_3674.jpg', '/home/pi/Desktop/images/04112025/19/36/image_04112025_19_36_23_3505.jpg', '/home/pi/Desktop/images/04112025/19/36/image_04112025_19_36_40_2785.jpg', '/home/pi/Desktop/images/04112025/19/36/image_04112025_19_36_43_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/35/image_04112025_19_35_58_2588.jpg
/home/pi/Desktop/images/04112025/19/35/image_04112025_19_36_01_3691.jpg
/home/pi/Desktop/images/04112025/19/36/image_04112025_19_36_16_3674.jpg
/home/pi/Desktop/images/04112025/19/36/image_04112025_19_36_23_3505.jpg
/home/pi/Desktop/images/04112025/19/36/image_04112025_19_36_40_2785.jpg
/home/pi/Desktop/images/04112025/19/36/image_04112025_19_36_43_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046477","1402046473","1402046476","1402046479","1402046478","1402046475"],"photo_ids_order":["1402046473","1402046475","1402046476","1402046477","1402046478","1402046479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/306c94fc2b0438ae865c141bd41e9541.jpg","text":"TemporaryFile(/tmp/multipartBody6285941154301390040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298723907,"filename":"image_04112025_19_36_23_3505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42881d356c3eeb5095b354cecbc976bd.jpg","text":"TemporaryFile(/tmp/multipartBody2929167847704731051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298723907,"filename":"image_04112025_19_35_58_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4031a57ea3fb279740cb45d85c5f0553.jpg","text":"TemporaryFile(/tmp/multipartBody8891298208642502532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298723907,"filename":"image_04112025_19_36_16_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8a62b18fdeaaf9be6caf4866fa765d5.jpg","text":"TemporaryFile(/tmp/multipartBody6194653625886752620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298723907,"filename":"image_04112025_19_36_43_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30afab1132ebe8e4c681282a5e2687f7.jpg","text":"TemporaryFile(/tmp/multipartBody5032942399847775817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298723907,"filename":"image_04112025_19_36_40_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6c558ae4d2bfccb4ee4aa3ad682a6cd.jpg","text":"TemporaryFile(/tmp/multipartBody7073032650060537810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298723907,"filename":"image_04112025_19_36_01_3691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046476","file1":"1402046475","file0":"1402046473","file4":"1402046478","file5":"1402046479","file3":"1402046477"},"map_files_photo_id_array":[{"photo_id":"1402046479","filename":"file5"},{"photo_id":"1402046476","filename":"file2"},{"photo_id":"1402046478","filename":"file4"},{"photo_id":"1402046475","filename":"file1"},{"photo_id":"1402046473","filename":"file0"},{"photo_id":"1402046477","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046477":["hashtag1","hashtag2"]},{"1402046473":["hashtag1","hashtag2"]},{"1402046476":["hashtag1","hashtag2"]},{"1402046479":["hashtag1","hashtag2"]},{"1402046478":["hashtag1","hashtag2"]},{"1402046475":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046477, 1402046473, 1402046476, 1402046479, 1402046478, 1402046475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.435749769210815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:18:22.272739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_55_10722.jpg', '/home/pi/Desktop/images/01012026/20/36/image_01012026_20_37_05_9719.jpg', '/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_14_9570.jpg', '/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_24_9817.jpg', '/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_35_10566.jpg', '/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_44_9536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/36/image_01012026_20_36_55_10722.jpg
/home/pi/Desktop/images/01012026/20/36/image_01012026_20_37_05_9719.jpg
/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_14_9570.jpg
/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_24_9817.jpg
/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_35_10566.jpg
/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_44_9536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046480","1402046492","1402046486","1402046488","1402046482","1402046484"],"photo_ids_order":["1402046480","1402046482","1402046484","1402046486","1402046488","1402046492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a32e6cf4383c1af5855ce334cc8f2e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4272323875154132015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298762862,"filename":"image_01012026_20_36_55_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d86cca318ab172c01937376bc7924a3e.jpg","text":"TemporaryFile(/tmp/multipartBody970189255089686980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298762862,"filename":"image_01012026_20_37_44_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/375ef8c1e642863da880e7ef5d96a27b.jpg","text":"TemporaryFile(/tmp/multipartBody7745425157005725901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298762862,"filename":"image_01012026_20_37_24_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56e755ab84999e1fbc65b388302063bb.jpg","text":"TemporaryFile(/tmp/multipartBody1946619992405377758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298762862,"filename":"image_01012026_20_37_35_10566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5acf2ea0fadce5534fd44589c0b2e588.jpg","text":"TemporaryFile(/tmp/multipartBody5731550202322182997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298762862,"filename":"image_01012026_20_37_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29caa01e56994490faba91b54ad5d7d3.jpg","text":"TemporaryFile(/tmp/multipartBody8261597482903023043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298762862,"filename":"image_01012026_20_37_14_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046484","file1":"1402046482","file0":"1402046480","file4":"1402046488","file5":"1402046492","file3":"1402046486"},"map_files_photo_id_array":[{"photo_id":"1402046492","filename":"file5"},{"photo_id":"1402046484","filename":"file2"},{"photo_id":"1402046488","filename":"file4"},{"photo_id":"1402046482","filename":"file1"},{"photo_id":"1402046480","filename":"file0"},{"photo_id":"1402046486","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046480":["hashtag1","hashtag2"]},{"1402046492":["hashtag1","hashtag2"]},{"1402046486":["hashtag1","hashtag2"]},{"1402046488":["hashtag1","hashtag2"]},{"1402046482":["hashtag1","hashtag2"]},{"1402046484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046480, 1402046492, 1402046486, 1402046488, 1402046482, 1402046484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.864397287368774 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
2026-01-01 21:19:12.800981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_29_1667.jpg', '/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_31_1689.jpg', '/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_32_1673.jpg', '/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_37_1744.jpg', '/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_41_1628.jpg', '/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_42_1619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_29_1667.jpg
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_31_1689.jpg
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_32_1673.jpg
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_37_1744.jpg
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_41_1628.jpg
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_42_1619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046502","1402046508","1402046498","1402046504","1402046506","1402046500"],"photo_ids_order":["1402046498","1402046500","1402046502","1402046504","1402046506","1402046508"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60bb2f3034f52a00d6c45b710c1927c6.jpg","text":"TemporaryFile(/tmp/multipartBody8284094876738526076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298814578,"filename":"image_04112025_19_37_32_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea0d8dda2b9dcb65c1f079fc7c17ebe7.jpg","text":"TemporaryFile(/tmp/multipartBody8473277278559360684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298814578,"filename":"image_04112025_19_37_42_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/193e176c14e81a0873f2ee411c8a8170.jpg","text":"TemporaryFile(/tmp/multipartBody3626448301682049384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298814578,"filename":"image_04112025_19_37_29_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5796bd3e2cf6d383dcef64fc262eca7.jpg","text":"TemporaryFile(/tmp/multipartBody521182974536886279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298814578,"filename":"image_04112025_19_37_37_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/957453a32cde0dcd749cf2b4060f695a.jpg","text":"TemporaryFile(/tmp/multipartBody8867956678732252831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298814578,"filename":"image_04112025_19_37_41_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef353e167cd061568c9d1695998f5f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7369902052363645463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298814578,"filename":"image_04112025_19_37_31_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046502","file1":"1402046500","file0":"1402046498","file4":"1402046506","file5":"1402046508","file3":"1402046504"},"map_files_photo_id_array":[{"photo_id":"1402046508","filename":"file5"},{"photo_id":"1402046502","filename":"file2"},{"photo_id":"1402046506","filename":"file4"},{"photo_id":"1402046500","filename":"file1"},{"photo_id":"1402046498","filename":"file0"},{"photo_id":"1402046504","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046502":["hashtag1","hashtag2"]},{"1402046508":["hashtag1","hashtag2"]},{"1402046498":["hashtag1","hashtag2"]},{"1402046504":["hashtag1","hashtag2"]},{"1402046506":["hashtag1","hashtag2"]},{"1402046500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046502, 1402046508, 1402046498, 1402046504, 1402046506, 1402046500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.98238468170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:20:02.464511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_55_10681.jpg', '/home/pi/Desktop/images/01012026/20/37/image_01012026_20_38_04_9619.jpg', '/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_14_9605.jpg', '/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_25_10707.jpg', '/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_35_9841.jpg', '/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_44_9599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/37/image_01012026_20_37_55_10681.jpg
/home/pi/Desktop/images/01012026/20/37/image_01012026_20_38_04_9619.jpg
/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_14_9605.jpg
/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_25_10707.jpg
/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_35_9841.jpg
/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_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":["1402046514","1402046513","1402046516","1402046519","1402046512","1402046515"],"photo_ids_order":["1402046512","1402046513","1402046514","1402046515","1402046516","1402046519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b4b15e8eae5e6193326aa02a391d4ba1.jpg","text":"TemporaryFile(/tmp/multipartBody331737999133059430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298863086,"filename":"image_01012026_20_38_14_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5da07682801c10c65d662a97e6a07df6.jpg","text":"TemporaryFile(/tmp/multipartBody686323239176144857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298863086,"filename":"image_01012026_20_38_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d1adb66c1e47b010ce9660a0a3c03da.jpg","text":"TemporaryFile(/tmp/multipartBody9139104439234034731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298863086,"filename":"image_01012026_20_38_35_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1c98d700cbd9d0f3b6d347e671665c7.jpg","text":"TemporaryFile(/tmp/multipartBody1118143539088696690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298863086,"filename":"image_01012026_20_38_44_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/adc1e7ff22dd2f3b331e4af38cb90781.jpg","text":"TemporaryFile(/tmp/multipartBody2781933231393309270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298863086,"filename":"image_01012026_20_37_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0bc65f6e41eeed0083822bc26197461.jpg","text":"TemporaryFile(/tmp/multipartBody3239511966119258427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298863086,"filename":"image_01012026_20_38_25_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046514","file1":"1402046513","file0":"1402046512","file4":"1402046516","file5":"1402046519","file3":"1402046515"},"map_files_photo_id_array":[{"photo_id":"1402046519","filename":"file5"},{"photo_id":"1402046514","filename":"file2"},{"photo_id":"1402046516","filename":"file4"},{"photo_id":"1402046513","filename":"file1"},{"photo_id":"1402046512","filename":"file0"},{"photo_id":"1402046515","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046514":["hashtag1","hashtag2"]},{"1402046513":["hashtag1","hashtag2"]},{"1402046516":["hashtag1","hashtag2"]},{"1402046519":["hashtag1","hashtag2"]},{"1402046512":["hashtag1","hashtag2"]},{"1402046515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046514, 1402046513, 1402046516, 1402046519, 1402046512, 1402046515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.350486516952515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:20:42.031562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_46_1663.jpg', '/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_52_2818.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_04_2783.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_23_18898.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_43_1586.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_48_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_46_1663.jpg
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_52_2818.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_04_2783.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_23_18898.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_43_1586.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_48_1753.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.841979742050171 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:21:02.810171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_55_10705.jpg', '/home/pi/Desktop/images/01012026/20/38/image_01012026_20_39_05_9727.jpg', '/home/pi/Desktop/images/01012026/20/39/image_01012026_20_39_14_9520.jpg', '/home/pi/Desktop/images/01012026/20/39/image_01012026_20_39_35_9761.jpg', '/home/pi/Desktop/images/01012026/20/39/image_01012026_20_39_44_9643.jpg', '/home/pi/Desktop/images/01012026/20/39/image_01012026_20_39_55_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/38/image_01012026_20_38_55_10705.jpg
/home/pi/Desktop/images/01012026/20/38/image_01012026_20_39_05_9727.jpg
/home/pi/Desktop/images/01012026/20/39/image_01012026_20_39_14_9520.jpg
/home/pi/Desktop/images/01012026/20/39/image_01012026_20_39_35_9761.jpg
/home/pi/Desktop/images/01012026/20/39/image_01012026_20_39_44_9643.jpg
/home/pi/Desktop/images/01012026/20/39/image_01012026_20_39_55_10738.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":["1402046541","1402046531","1402046534","1402046536","1402046539","1402046533"],"photo_ids_order":["1402046531","1402046533","1402046534","1402046536","1402046539","1402046541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4cb99ec5d8643322de78a6f465c0b9e1.jpg","text":"TemporaryFile(/tmp/multipartBody2017430086738051218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298926950,"filename":"image_01012026_20_39_55_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e697783cfe4c1f4c6b0bafc16bd9f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8051341934048020674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298926950,"filename":"image_01012026_20_38_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46729b392a6e2cbc9ed8bf2e3f933ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2926726781258520459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298926950,"filename":"image_01012026_20_39_14_9520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b355276892009a48a292b908a17c084b.jpg","text":"TemporaryFile(/tmp/multipartBody4927649526141809889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298926950,"filename":"image_01012026_20_39_35_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbe959ca690462f69868189c87ee65c5.jpg","text":"TemporaryFile(/tmp/multipartBody510831709948997595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298926950,"filename":"image_01012026_20_39_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/84b368e372a260f1eb4c6d9c9a2f6ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1064462947720098799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298926950,"filename":"image_01012026_20_39_05_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046534","file1":"1402046533","file0":"1402046531","file4":"1402046539","file5":"1402046541","file3":"1402046536"},"map_files_photo_id_array":[{"photo_id":"1402046541","filename":"file5"},{"photo_id":"1402046534","filename":"file2"},{"photo_id":"1402046539","filename":"file4"},{"photo_id":"1402046533","filename":"file1"},{"photo_id":"1402046531","filename":"file0"},{"photo_id":"1402046536","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046541":["hashtag1","hashtag2"]},{"1402046531":["hashtag1","hashtag2"]},{"1402046534":["hashtag1","hashtag2"]},{"1402046536":["hashtag1","hashtag2"]},{"1402046539":["hashtag1","hashtag2"]},{"1402046533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046541, 1402046531, 1402046534, 1402046536, 1402046539, 1402046533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.74721121788025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:22:10.016484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/39/image_01012026_20_40_05_9817.jpg', '/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_15_9910.jpg', '/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_24_9694.jpg', '/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_34_9687.jpg', '/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_45_10871.jpg', '/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_55_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/39/image_01012026_20_40_05_9817.jpg
/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_15_9910.jpg
/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_24_9694.jpg
/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_34_9687.jpg
/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_45_10871.jpg
/home/pi/Desktop/images/01012026/20/40/image_01012026_20_40_55_9739.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":["1402046556","1402046558","1402046549","1402046554","1402046548","1402046551"],"photo_ids_order":["1402046548","1402046549","1402046551","1402046554","1402046556","1402046558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb3e27be4b68f448ef874568d31afdc2.jpg","text":"TemporaryFile(/tmp/multipartBody822928374164507289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298993187,"filename":"image_01012026_20_40_45_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7758bfe86cf954413a0966d73e630465.jpg","text":"TemporaryFile(/tmp/multipartBody2843639228598373368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298993187,"filename":"image_01012026_20_40_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91fd3b75526c5b7fb8f54060f268f57c.jpg","text":"TemporaryFile(/tmp/multipartBody2672782957652037682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298993187,"filename":"image_01012026_20_40_15_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/238267c42ed275bc14305bfe4e1597c3.jpg","text":"TemporaryFile(/tmp/multipartBody4841701507209612343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298993187,"filename":"image_01012026_20_40_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c9ba38729a68c1a6775eedc19581712.jpg","text":"TemporaryFile(/tmp/multipartBody7758199394883775495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298993187,"filename":"image_01012026_20_40_05_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebb97f9d1f44014a75227094b683e633.jpg","text":"TemporaryFile(/tmp/multipartBody1792472924340799600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767298993187,"filename":"image_01012026_20_40_24_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046551","file1":"1402046549","file0":"1402046548","file4":"1402046556","file5":"1402046558","file3":"1402046554"},"map_files_photo_id_array":[{"photo_id":"1402046558","filename":"file5"},{"photo_id":"1402046551","filename":"file2"},{"photo_id":"1402046556","filename":"file4"},{"photo_id":"1402046549","filename":"file1"},{"photo_id":"1402046548","filename":"file0"},{"photo_id":"1402046554","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046556":["hashtag1","hashtag2"]},{"1402046558":["hashtag1","hashtag2"]},{"1402046549":["hashtag1","hashtag2"]},{"1402046554":["hashtag1","hashtag2"]},{"1402046548":["hashtag1","hashtag2"]},{"1402046551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046556, 1402046558, 1402046549, 1402046554, 1402046548, 1402046551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.69954061508179 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:23:04.750055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 21:23:14.080259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_46_1663.jpg', '/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_52_2818.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_04_2783.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_23_18898.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_43_1586.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_48_1753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_46_1663.jpg
/home/pi/Desktop/images/04112025/19/37/image_04112025_19_37_52_2818.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_04_2783.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_23_18898.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_43_1586.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_48_1753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046570","1402046572","1402046563","1402046565","1402046574","1402046568"],"photo_ids_order":["1402046563","1402046565","1402046568","1402046570","1402046572","1402046574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed0c5b5639a1ee5708aeb64dcc23a410.jpg","text":"TemporaryFile(/tmp/multipartBody1124784207355709017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299055711,"filename":"image_04112025_19_38_23_18898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c1cd9605b0db93d3fef9e07fb16394a.jpg","text":"TemporaryFile(/tmp/multipartBody5632523637486588806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299055711,"filename":"image_04112025_19_38_43_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/681daf6b7540c07fc037b3532bee3710.jpg","text":"TemporaryFile(/tmp/multipartBody2318408104317881774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299055711,"filename":"image_04112025_19_37_46_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3207cc5cd3d012ca1ad9eff145d11560.jpg","text":"TemporaryFile(/tmp/multipartBody5284081131500201000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299055711,"filename":"image_04112025_19_37_52_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75f2f27129e16d4a26c5eb7e6583cbe3.jpg","text":"TemporaryFile(/tmp/multipartBody81558454676291958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299055711,"filename":"image_04112025_19_38_48_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0753948c733944e7a68806f758b53f80.jpg","text":"TemporaryFile(/tmp/multipartBody3315314402408972639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299055711,"filename":"image_04112025_19_38_04_2783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046568","file1":"1402046565","file0":"1402046563","file4":"1402046572","file5":"1402046574","file3":"1402046570"},"map_files_photo_id_array":[{"photo_id":"1402046574","filename":"file5"},{"photo_id":"1402046568","filename":"file2"},{"photo_id":"1402046572","filename":"file4"},{"photo_id":"1402046565","filename":"file1"},{"photo_id":"1402046563","filename":"file0"},{"photo_id":"1402046570","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046570":["hashtag1","hashtag2"]},{"1402046572":["hashtag1","hashtag2"]},{"1402046563":["hashtag1","hashtag2"]},{"1402046565":["hashtag1","hashtag2"]},{"1402046574":["hashtag1","hashtag2"]},{"1402046568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046570, 1402046572, 1402046563, 1402046565, 1402046574, 1402046568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.78284955024719 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
2026-01-01 21:24:12.815149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_54_1820.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_56_1646.jpg', '/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_58_1648.jpg', '/home/pi/Desktop/images/04112025/19/39/image_04112025_19_39_03_1674.jpg', '/home/pi/Desktop/images/04112025/19/39/image_04112025_19_39_12_2641.jpg', '/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_20_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_54_1820.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_56_1646.jpg
/home/pi/Desktop/images/04112025/19/38/image_04112025_19_38_58_1648.jpg
/home/pi/Desktop/images/04112025/19/39/image_04112025_19_39_03_1674.jpg
/home/pi/Desktop/images/04112025/19/39/image_04112025_19_39_12_2641.jpg
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_20_1638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046588","1402046579","1402046590","1402046583","1402046586","1402046580"],"photo_ids_order":["1402046579","1402046580","1402046583","1402046586","1402046588","1402046590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b13acc73af7db2d127af74c0c862ceb0.jpg","text":"TemporaryFile(/tmp/multipartBody4504621392946373928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299114726,"filename":"image_04112025_19_39_12_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3acc84a05d25a68077ac3fef31e20a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2752419237682232961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299114726,"filename":"image_04112025_19_38_54_1820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f71caedc014d48922c93261ad86dcfd.jpg","text":"TemporaryFile(/tmp/multipartBody7676077206661089654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299114726,"filename":"image_04112025_19_43_20_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4732c2b30b05dd1966acc173c279defa.jpg","text":"TemporaryFile(/tmp/multipartBody3239409845269239477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299114726,"filename":"image_04112025_19_38_58_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9bd102884bc1530fab49cfb28a6fc75.jpg","text":"TemporaryFile(/tmp/multipartBody6896101198754040221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299114726,"filename":"image_04112025_19_39_03_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd2168fb82bbe9e2809b4b887825789c.jpg","text":"TemporaryFile(/tmp/multipartBody571434150048551425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299114726,"filename":"image_04112025_19_38_56_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046583","file1":"1402046580","file0":"1402046579","file4":"1402046588","file5":"1402046590","file3":"1402046586"},"map_files_photo_id_array":[{"photo_id":"1402046590","filename":"file5"},{"photo_id":"1402046583","filename":"file2"},{"photo_id":"1402046588","filename":"file4"},{"photo_id":"1402046580","filename":"file1"},{"photo_id":"1402046579","filename":"file0"},{"photo_id":"1402046586","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046588":["hashtag1","hashtag2"]},{"1402046579":["hashtag1","hashtag2"]},{"1402046590":["hashtag1","hashtag2"]},{"1402046583":["hashtag1","hashtag2"]},{"1402046586":["hashtag1","hashtag2"]},{"1402046580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046588, 1402046579, 1402046590, 1402046583, 1402046586, 1402046580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.402671098709106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:25:03.435092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/40/image_01012026_20_41_04_9747.jpg', '/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_15_10579.jpg', '/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_25_9765.jpg', '/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_35_9863.jpg', '/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_44_9652.jpg', '/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_55_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/40/image_01012026_20_41_04_9747.jpg
/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_15_10579.jpg
/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_25_9765.jpg
/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_35_9863.jpg
/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_44_9652.jpg
/home/pi/Desktop/images/01012026/20/41/image_01012026_20_41_55_10685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046601","1402046594","1402046603","1402046596","1402046595","1402046598"],"photo_ids_order":["1402046594","1402046595","1402046596","1402046598","1402046601","1402046603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bcaf22d26372e9b87279a80c8ef1e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody5712171101450002408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299164140,"filename":"image_01012026_20_41_44_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6fb4e43ce49f78ac00ae1c7ac3628dae.jpg","text":"TemporaryFile(/tmp/multipartBody8226390599216095127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299164140,"filename":"image_01012026_20_41_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a630fc9a6b25f741d10bf5ef1b5f1bf5.jpg","text":"TemporaryFile(/tmp/multipartBody3486959425693322809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299164140,"filename":"image_01012026_20_41_55_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/18d54ff5e4c301b6f50a5d7a5498c511.jpg","text":"TemporaryFile(/tmp/multipartBody7389506115061202877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299164140,"filename":"image_01012026_20_41_25_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99828d211b72145fe3086d3d56d1d4ac.jpg","text":"TemporaryFile(/tmp/multipartBody1171899562924820192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299164140,"filename":"image_01012026_20_41_15_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09ea13b392c63ad75f495e5d69001540.jpg","text":"TemporaryFile(/tmp/multipartBody4035572378870129092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299164140,"filename":"image_01012026_20_41_35_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046596","file1":"1402046595","file0":"1402046594","file4":"1402046601","file5":"1402046603","file3":"1402046598"},"map_files_photo_id_array":[{"photo_id":"1402046603","filename":"file5"},{"photo_id":"1402046596","filename":"file2"},{"photo_id":"1402046601","filename":"file4"},{"photo_id":"1402046595","filename":"file1"},{"photo_id":"1402046594","filename":"file0"},{"photo_id":"1402046598","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046601":["hashtag1","hashtag2"]},{"1402046594":["hashtag1","hashtag2"]},{"1402046603":["hashtag1","hashtag2"]},{"1402046596":["hashtag1","hashtag2"]},{"1402046595":["hashtag1","hashtag2"]},{"1402046598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046601, 1402046594, 1402046603, 1402046596, 1402046595, 1402046598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62562370300293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:25:42.821769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_22_1882.jpg', '/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_32_4234.jpg', '/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_33_1631.jpg', '/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_37_3649.jpg', '/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_39_2567.jpg', '/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_42_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_22_1882.jpg
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_32_4234.jpg
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_33_1631.jpg
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_37_3649.jpg
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_39_2567.jpg
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_42_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046613","1402046612","1402046615","1402046609","1402046611","1402046614"],"photo_ids_order":["1402046609","1402046611","1402046612","1402046613","1402046614","1402046615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4479afe9087bf77420250ac3c594a50e.jpg","text":"TemporaryFile(/tmp/multipartBody465469190663780138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299204755,"filename":"image_04112025_19_43_37_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5956218b693614ae80a0075424446c97.jpg","text":"TemporaryFile(/tmp/multipartBody6364634234324575725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299204755,"filename":"image_04112025_19_43_33_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ca41b361cc5754293afd8eca0c8a819.jpg","text":"TemporaryFile(/tmp/multipartBody1211543763455489664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299204755,"filename":"image_04112025_19_43_42_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8fb7fb7429be056c282a522c07d603aa.jpg","text":"TemporaryFile(/tmp/multipartBody2851713567645617043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299204755,"filename":"image_04112025_19_43_22_1882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06553f1a9b520c372ed8d2ef457e81ad.jpg","text":"TemporaryFile(/tmp/multipartBody6868223355348954044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299204755,"filename":"image_04112025_19_43_32_4234.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aef9dbca10eee8e02dfe4ccedc51ed80.jpg","text":"TemporaryFile(/tmp/multipartBody9172873655051282622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299204755,"filename":"image_04112025_19_43_39_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046612","file1":"1402046611","file0":"1402046609","file4":"1402046614","file5":"1402046615","file3":"1402046613"},"map_files_photo_id_array":[{"photo_id":"1402046615","filename":"file5"},{"photo_id":"1402046612","filename":"file2"},{"photo_id":"1402046614","filename":"file4"},{"photo_id":"1402046611","filename":"file1"},{"photo_id":"1402046609","filename":"file0"},{"photo_id":"1402046613","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046613":["hashtag1","hashtag2"]},{"1402046612":["hashtag1","hashtag2"]},{"1402046615":["hashtag1","hashtag2"]},{"1402046609":["hashtag1","hashtag2"]},{"1402046611":["hashtag1","hashtag2"]},{"1402046614":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046613, 1402046612, 1402046615, 1402046609, 1402046611, 1402046614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.070284605026245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:26:32.027629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_49_3756.jpg', '/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_54_2726.jpg', '/home/pi/Desktop/images/04112025/19/43/image_04112025_19_44_01_3592.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_03_2666.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_06_2795.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_13_1622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_49_3756.jpg
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_43_54_2726.jpg
/home/pi/Desktop/images/04112025/19/43/image_04112025_19_44_01_3592.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_03_2666.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_06_2795.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_13_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":["1402046628","1402046625","1402046630","1402046621","1402046629","1402046623"],"photo_ids_order":["1402046621","1402046623","1402046625","1402046628","1402046629","1402046630"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6911249b52837124299fdc2efedf8ea.jpg","text":"TemporaryFile(/tmp/multipartBody5501758669315641671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299253908,"filename":"image_04112025_19_44_03_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee3a8fbf7548efd960353f248324b0ec.jpg","text":"TemporaryFile(/tmp/multipartBody3424965606135369873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299253908,"filename":"image_04112025_19_44_01_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ce50d37d95a5e335a876487632c3605.jpg","text":"TemporaryFile(/tmp/multipartBody6880627453852588545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299253908,"filename":"image_04112025_19_44_13_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e48c0fc12d7b341f457ed48d14169ebf.jpg","text":"TemporaryFile(/tmp/multipartBody3169877255076264181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299253908,"filename":"image_04112025_19_43_49_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3488d5b7c8ace81199ce9f0e69255b57.jpg","text":"TemporaryFile(/tmp/multipartBody65187525901840136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299253908,"filename":"image_04112025_19_44_06_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04688f30304f89a0692d3e621dfc1ba2.jpg","text":"TemporaryFile(/tmp/multipartBody896841957227076979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299253908,"filename":"image_04112025_19_43_54_2726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046625","file1":"1402046623","file0":"1402046621","file4":"1402046629","file5":"1402046630","file3":"1402046628"},"map_files_photo_id_array":[{"photo_id":"1402046630","filename":"file5"},{"photo_id":"1402046625","filename":"file2"},{"photo_id":"1402046629","filename":"file4"},{"photo_id":"1402046623","filename":"file1"},{"photo_id":"1402046621","filename":"file0"},{"photo_id":"1402046628","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046628":["hashtag1","hashtag2"]},{"1402046625":["hashtag1","hashtag2"]},{"1402046630":["hashtag1","hashtag2"]},{"1402046621":["hashtag1","hashtag2"]},{"1402046629":["hashtag1","hashtag2"]},{"1402046623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046628, 1402046625, 1402046630, 1402046621, 1402046629, 1402046623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.002883434295654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:27:12.163373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_22_1667.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_23_1647.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_25_1713.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_43_1654.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_47_1577.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_49_1791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_22_1667.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_23_1647.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_25_1713.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_43_1654.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_47_1577.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_49_1791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046634","1402046637","1402046642","1402046639","1402046632","1402046631"],"photo_ids_order":["1402046631","1402046632","1402046634","1402046637","1402046639","1402046642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87a53fd896a9d422c7b87f84e0685c1a.jpg","text":"TemporaryFile(/tmp/multipartBody8126458630985430505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299293953,"filename":"image_04112025_19_44_25_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/984dbcd60565e5f3a4b36281e9ed37c5.jpg","text":"TemporaryFile(/tmp/multipartBody5131855338062113124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299293953,"filename":"image_04112025_19_44_43_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce77d42578d0dac70c7efe1e871692ca.jpg","text":"TemporaryFile(/tmp/multipartBody4709126122917390876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299293953,"filename":"image_04112025_19_44_49_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0bbd4cfed6b9ecd2e6509d352806169.jpg","text":"TemporaryFile(/tmp/multipartBody3038795806373821808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299293953,"filename":"image_04112025_19_44_47_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4dad75e6c9299fd1d3a9474783381839.jpg","text":"TemporaryFile(/tmp/multipartBody252103607872859663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299293953,"filename":"image_04112025_19_44_23_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b010e66ee14ff548f63829535a62f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7810318398636864712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299293953,"filename":"image_04112025_19_44_22_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046634","file1":"1402046632","file0":"1402046631","file4":"1402046639","file5":"1402046642","file3":"1402046637"},"map_files_photo_id_array":[{"photo_id":"1402046642","filename":"file5"},{"photo_id":"1402046634","filename":"file2"},{"photo_id":"1402046639","filename":"file4"},{"photo_id":"1402046632","filename":"file1"},{"photo_id":"1402046631","filename":"file0"},{"photo_id":"1402046637","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046634":["hashtag1","hashtag2"]},{"1402046637":["hashtag1","hashtag2"]},{"1402046642":["hashtag1","hashtag2"]},{"1402046639":["hashtag1","hashtag2"]},{"1402046632":["hashtag1","hashtag2"]},{"1402046631":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046634, 1402046637, 1402046642, 1402046639, 1402046632, 1402046631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82641792297363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:28:02.782465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/41/image_01012026_20_42_05_9608.jpg', '/home/pi/Desktop/images/01012026/20/42/image_01012026_20_42_14_9702.jpg', '/home/pi/Desktop/images/01012026/20/42/image_01012026_20_42_35_9700.jpg', '/home/pi/Desktop/images/01012026/20/42/image_01012026_20_42_44_9702.jpg', '/home/pi/Desktop/images/01012026/20/42/image_01012026_20_43_05_9881.jpg', '/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_15_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/41/image_01012026_20_42_05_9608.jpg
/home/pi/Desktop/images/01012026/20/42/image_01012026_20_42_14_9702.jpg
/home/pi/Desktop/images/01012026/20/42/image_01012026_20_42_35_9700.jpg
/home/pi/Desktop/images/01012026/20/42/image_01012026_20_42_44_9702.jpg
/home/pi/Desktop/images/01012026/20/42/image_01012026_20_43_05_9881.jpg
/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_15_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":["1402046649","1402046651","1402046654","1402046648","1402046650","1402046652"],"photo_ids_order":["1402046648","1402046649","1402046650","1402046651","1402046652","1402046654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24ce7c95c1d0679d6680b0c00a0d3ea6.jpg","text":"TemporaryFile(/tmp/multipartBody2793604340822264516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299343395,"filename":"image_01012026_20_42_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbde56002ae4d1df1ce1ae1f86cd26c2.jpg","text":"TemporaryFile(/tmp/multipartBody1374242717272899093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299343395,"filename":"image_01012026_20_42_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f4ca9fc2cb6213768dbe5211ac9d485d.jpg","text":"TemporaryFile(/tmp/multipartBody1504533297819272690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299343395,"filename":"image_01012026_20_43_15_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28daacb0bab2a7964f189e6ea5810190.jpg","text":"TemporaryFile(/tmp/multipartBody2253260229788866503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299343395,"filename":"image_01012026_20_42_05_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ea3a0a4f3c935a0c6e19abb2d4519f6.jpg","text":"TemporaryFile(/tmp/multipartBody4707246809990700451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299343395,"filename":"image_01012026_20_42_35_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ee7f7146730301174d9b5156d242dd8.jpg","text":"TemporaryFile(/tmp/multipartBody1339263756007364618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299343395,"filename":"image_01012026_20_43_05_9881.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046650","file1":"1402046649","file0":"1402046648","file4":"1402046652","file5":"1402046654","file3":"1402046651"},"map_files_photo_id_array":[{"photo_id":"1402046654","filename":"file5"},{"photo_id":"1402046650","filename":"file2"},{"photo_id":"1402046652","filename":"file4"},{"photo_id":"1402046649","filename":"file1"},{"photo_id":"1402046648","filename":"file0"},{"photo_id":"1402046651","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046649":["hashtag1","hashtag2"]},{"1402046651":["hashtag1","hashtag2"]},{"1402046654":["hashtag1","hashtag2"]},{"1402046648":["hashtag1","hashtag2"]},{"1402046650":["hashtag1","hashtag2"]},{"1402046652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046649, 1402046651, 1402046654, 1402046648, 1402046650, 1402046652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37942624092102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:28:42.342139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_52_1732.jpg', '/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_58_3722.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_01_2684.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_10_9568.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_12_1650.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_13_1595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_52_1732.jpg
/home/pi/Desktop/images/04112025/19/44/image_04112025_19_44_58_3722.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_01_2684.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_10_9568.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_12_1650.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_13_1595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046660","1402046663","1402046666","1402046665","1402046662","1402046664"],"photo_ids_order":["1402046660","1402046662","1402046663","1402046664","1402046665","1402046666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79050b5e95d262cc0a39da9b95bc121a.jpg","text":"TemporaryFile(/tmp/multipartBody2560787995236593434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299384240,"filename":"image_04112025_19_44_52_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a52bf4f739db9423702dfd645dd6c0f.jpg","text":"TemporaryFile(/tmp/multipartBody552586974795544867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299384240,"filename":"image_04112025_19_45_01_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5788044c10441f907b7f5a2187ed4ee.jpg","text":"TemporaryFile(/tmp/multipartBody346269113523103984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299384240,"filename":"image_04112025_19_45_13_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1469565f661524fc6a25bd1b51cb0813.jpg","text":"TemporaryFile(/tmp/multipartBody4020208717237320514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299384240,"filename":"image_04112025_19_45_12_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25fd433c719504c2b2ac537f07dde957.jpg","text":"TemporaryFile(/tmp/multipartBody1063270999497127122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299384240,"filename":"image_04112025_19_44_58_3722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f0190be38df9d455f94f1d3d620185d.jpg","text":"TemporaryFile(/tmp/multipartBody1039577956063194462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299384240,"filename":"image_04112025_19_45_10_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046663","file1":"1402046662","file0":"1402046660","file4":"1402046665","file5":"1402046666","file3":"1402046664"},"map_files_photo_id_array":[{"photo_id":"1402046666","filename":"file5"},{"photo_id":"1402046663","filename":"file2"},{"photo_id":"1402046665","filename":"file4"},{"photo_id":"1402046662","filename":"file1"},{"photo_id":"1402046660","filename":"file0"},{"photo_id":"1402046664","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046660":["hashtag1","hashtag2"]},{"1402046663":["hashtag1","hashtag2"]},{"1402046666":["hashtag1","hashtag2"]},{"1402046665":["hashtag1","hashtag2"]},{"1402046662":["hashtag1","hashtag2"]},{"1402046664":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046660, 1402046663, 1402046666, 1402046665, 1402046662, 1402046664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.185460805892944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:29:22.675171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_24_9623.jpg', '/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_35_10577.jpg', '/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_44_9754.jpg', '/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_54_9726.jpg', '/home/pi/Desktop/images/01012026/20/43/image_01012026_20_44_05_10591.jpg', '/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_15_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_24_9623.jpg
/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_35_10577.jpg
/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_44_9754.jpg
/home/pi/Desktop/images/01012026/20/43/image_01012026_20_43_54_9726.jpg
/home/pi/Desktop/images/01012026/20/43/image_01012026_20_44_05_10591.jpg
/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_15_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":["1402046669","1402046684","1402046672","1402046676","1402046679","1402046673"],"photo_ids_order":["1402046669","1402046672","1402046673","1402046676","1402046679","1402046684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59fb1c4463746c385b557001486a0201.jpg","text":"TemporaryFile(/tmp/multipartBody9106664684401363314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299423270,"filename":"image_01012026_20_43_24_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f922f7c967ba9f8f5a9e60f7ddfd7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5390621735942393443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299423270,"filename":"image_01012026_20_44_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf07674541ab80476402229ad7aafd7c.jpg","text":"TemporaryFile(/tmp/multipartBody5078309464988390541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299423270,"filename":"image_01012026_20_43_35_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa528c51cf634bebd2c13a872131d8df.jpg","text":"TemporaryFile(/tmp/multipartBody3904893269112445097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299423270,"filename":"image_01012026_20_43_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e349996cfd155f8f4de7c9beedb5bec.jpg","text":"TemporaryFile(/tmp/multipartBody7619740987043199790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299423270,"filename":"image_01012026_20_44_05_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e885deba952166b4df70cba7d89a8b55.jpg","text":"TemporaryFile(/tmp/multipartBody63220930213183626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299423270,"filename":"image_01012026_20_43_44_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046673","file1":"1402046672","file0":"1402046669","file4":"1402046679","file5":"1402046684","file3":"1402046676"},"map_files_photo_id_array":[{"photo_id":"1402046684","filename":"file5"},{"photo_id":"1402046673","filename":"file2"},{"photo_id":"1402046679","filename":"file4"},{"photo_id":"1402046672","filename":"file1"},{"photo_id":"1402046669","filename":"file0"},{"photo_id":"1402046676","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046669":["hashtag1","hashtag2"]},{"1402046684":["hashtag1","hashtag2"]},{"1402046672":["hashtag1","hashtag2"]},{"1402046676":["hashtag1","hashtag2"]},{"1402046679":["hashtag1","hashtag2"]},{"1402046673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046669, 1402046684, 1402046672, 1402046676, 1402046679, 1402046673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.394378423690796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:30:03.153022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_24_9722.jpg', '/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_35_10629.jpg', '/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_44_9634.jpg', '/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_54_9617.jpg', '/home/pi/Desktop/images/01012026/20/44/image_01012026_20_45_05_10614.jpg', '/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_14_9546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_24_9722.jpg
/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_35_10629.jpg
/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_44_9634.jpg
/home/pi/Desktop/images/01012026/20/44/image_01012026_20_44_54_9617.jpg
/home/pi/Desktop/images/01012026/20/44/image_01012026_20_45_05_10614.jpg
/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_14_9546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046693","1402046696","1402046690","1402046694","1402046691","1402046688"],"photo_ids_order":["1402046688","1402046690","1402046691","1402046693","1402046694","1402046696"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8ea4ccb8628a035759a299a7f7557bb.jpg","text":"TemporaryFile(/tmp/multipartBody2566104836099906442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299463782,"filename":"image_01012026_20_44_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e4834f1d6d87ab5496b583819ddadc05.jpg","text":"TemporaryFile(/tmp/multipartBody1671631816936254954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299463782,"filename":"image_01012026_20_45_14_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/590cc55b4ff7e3bf50b14f872be99c49.jpg","text":"TemporaryFile(/tmp/multipartBody6550791067607813002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299463782,"filename":"image_01012026_20_44_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb4aa4f56fad596b41415a4c2aa1f6e1.jpg","text":"TemporaryFile(/tmp/multipartBody6754820009243165063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299463782,"filename":"image_01012026_20_45_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4e2211502b5c1764e6975e3f4520fe9.jpg","text":"TemporaryFile(/tmp/multipartBody7990096661521327693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299463782,"filename":"image_01012026_20_44_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/291ace0b31c21b52d733833880d6bb73.jpg","text":"TemporaryFile(/tmp/multipartBody3193664246098840569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299463782,"filename":"image_01012026_20_44_24_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046691","file1":"1402046690","file0":"1402046688","file4":"1402046694","file5":"1402046696","file3":"1402046693"},"map_files_photo_id_array":[{"photo_id":"1402046696","filename":"file5"},{"photo_id":"1402046691","filename":"file2"},{"photo_id":"1402046694","filename":"file4"},{"photo_id":"1402046690","filename":"file1"},{"photo_id":"1402046688","filename":"file0"},{"photo_id":"1402046693","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046693":["hashtag1","hashtag2"]},{"1402046696":["hashtag1","hashtag2"]},{"1402046690":["hashtag1","hashtag2"]},{"1402046694":["hashtag1","hashtag2"]},{"1402046691":["hashtag1","hashtag2"]},{"1402046688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046693, 1402046696, 1402046690, 1402046694, 1402046691, 1402046688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96495509147644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:30:42.695637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_15_1579.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_17_1842.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_21_2715.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_30_2718.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_41_10303.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_47_6661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_15_1579.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_17_1842.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_21_2715.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_30_2718.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_41_10303.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_47_6661.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.8457515239715576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:31:02.442994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_25_10659.jpg', '/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_35_9704.jpg', '/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_44_9711.jpg', '/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_55_10696.jpg', '/home/pi/Desktop/images/01012026/20/46/image_01012026_20_46_14_9741.jpg', '/home/pi/Desktop/images/01012026/20/46/image_01012026_20_46_35_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_25_10659.jpg
/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_35_9704.jpg
/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_44_9711.jpg
/home/pi/Desktop/images/01012026/20/45/image_01012026_20_45_55_10696.jpg
/home/pi/Desktop/images/01012026/20/46/image_01012026_20_46_14_9741.jpg
/home/pi/Desktop/images/01012026/20/46/image_01012026_20_46_35_10633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046715","1402046709","1402046711","1402046710","1402046713","1402046707"],"photo_ids_order":["1402046707","1402046709","1402046710","1402046711","1402046713","1402046715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d58e16ca4f5b53a8147227080b86fd5.jpg","text":"TemporaryFile(/tmp/multipartBody5600714274567813926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299523155,"filename":"image_01012026_20_46_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7933e267596dad1f62d4b3c94cbb254.jpg","text":"TemporaryFile(/tmp/multipartBody4972051349688207662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299523155,"filename":"image_01012026_20_45_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8368afcce010527b4dd0ecbb567b45dd.jpg","text":"TemporaryFile(/tmp/multipartBody8274183645765072838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299523155,"filename":"image_01012026_20_45_55_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a26e8128bf1cf0d3526eb773078b3901.jpg","text":"TemporaryFile(/tmp/multipartBody1403544832504267504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299523155,"filename":"image_01012026_20_45_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/82fdf7709576b406366764732d862cd7.jpg","text":"TemporaryFile(/tmp/multipartBody8089763395089761406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299523155,"filename":"image_01012026_20_46_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b98dbddc36df6a9bc8804c64f144039.jpg","text":"TemporaryFile(/tmp/multipartBody6084797590969632793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299523155,"filename":"image_01012026_20_45_25_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046710","file1":"1402046709","file0":"1402046707","file4":"1402046713","file5":"1402046715","file3":"1402046711"},"map_files_photo_id_array":[{"photo_id":"1402046715","filename":"file5"},{"photo_id":"1402046710","filename":"file2"},{"photo_id":"1402046713","filename":"file4"},{"photo_id":"1402046709","filename":"file1"},{"photo_id":"1402046707","filename":"file0"},{"photo_id":"1402046711","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046715":["hashtag1","hashtag2"]},{"1402046709":["hashtag1","hashtag2"]},{"1402046711":["hashtag1","hashtag2"]},{"1402046710":["hashtag1","hashtag2"]},{"1402046713":["hashtag1","hashtag2"]},{"1402046707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046715, 1402046709, 1402046711, 1402046710, 1402046713, 1402046707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65461754798889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:31:41.924017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_15_1579.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_17_1842.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_21_2715.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_30_2718.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_41_10303.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_47_6661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_15_1579.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_17_1842.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_21_2715.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_30_2718.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_41_10303.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_47_6661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046727","1402046721","1402046724","1402046726","1402046728","1402046725"],"photo_ids_order":["1402046721","1402046724","1402046725","1402046726","1402046727","1402046728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e01c29f8d427250139bae4736c08af21.jpg","text":"TemporaryFile(/tmp/multipartBody2417487702499171720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299563819,"filename":"image_04112025_19_45_41_10303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cad495cee6d617fd255f13945dbb145c.jpg","text":"TemporaryFile(/tmp/multipartBody3642590977622738815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299563819,"filename":"image_04112025_19_45_15_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35a8a2e54647e1dbe7eae5dda48d52d6.jpg","text":"TemporaryFile(/tmp/multipartBody4533156882415556753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299563819,"filename":"image_04112025_19_45_17_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae771a2817e2538c6b8c20c15cce59a9.jpg","text":"TemporaryFile(/tmp/multipartBody2713062258061061263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299563819,"filename":"image_04112025_19_45_30_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3cde0c694a30a6d15de6c3fb97fbcd1.jpg","text":"TemporaryFile(/tmp/multipartBody6546942128893983270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299563819,"filename":"image_04112025_19_45_47_6661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/269d52cd71587eea55f72b6b63d82fc7.jpg","text":"TemporaryFile(/tmp/multipartBody3659934202323739175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299563819,"filename":"image_04112025_19_45_21_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046725","file1":"1402046724","file0":"1402046721","file4":"1402046727","file5":"1402046728","file3":"1402046726"},"map_files_photo_id_array":[{"photo_id":"1402046728","filename":"file5"},{"photo_id":"1402046725","filename":"file2"},{"photo_id":"1402046727","filename":"file4"},{"photo_id":"1402046724","filename":"file1"},{"photo_id":"1402046721","filename":"file0"},{"photo_id":"1402046726","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046727":["hashtag1","hashtag2"]},{"1402046721":["hashtag1","hashtag2"]},{"1402046724":["hashtag1","hashtag2"]},{"1402046726":["hashtag1","hashtag2"]},{"1402046728":["hashtag1","hashtag2"]},{"1402046725":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046727, 1402046721, 1402046724, 1402046726, 1402046728, 1402046725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28119468688965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:32:22.089559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/46/image_01012026_20_46_44_9647.jpg', '/home/pi/Desktop/images/01012026/20/46/image_01012026_20_46_54_9759.jpg', '/home/pi/Desktop/images/01012026/20/46/image_01012026_20_47_05_10706.jpg', '/home/pi/Desktop/images/01012026/20/47/image_01012026_20_48_05_10646.jpg', '/home/pi/Desktop/images/01012026/20/48/image_01012026_20_48_24_9768.jpg', '/home/pi/Desktop/images/01012026/20/48/image_01012026_20_48_35_10541.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/46/image_01012026_20_46_44_9647.jpg
/home/pi/Desktop/images/01012026/20/46/image_01012026_20_46_54_9759.jpg
/home/pi/Desktop/images/01012026/20/46/image_01012026_20_47_05_10706.jpg
/home/pi/Desktop/images/01012026/20/47/image_01012026_20_48_05_10646.jpg
/home/pi/Desktop/images/01012026/20/48/image_01012026_20_48_24_9768.jpg
/home/pi/Desktop/images/01012026/20/48/image_01012026_20_48_35_10541.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046736","1402046741","1402046738","1402046732","1402046734","1402046730"],"photo_ids_order":["1402046730","1402046732","1402046734","1402046736","1402046738","1402046741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/903de6f6ca22acbef5bf282a6c35fbc5.jpg","text":"TemporaryFile(/tmp/multipartBody8221911933615644363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299602685,"filename":"image_01012026_20_48_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e861a183109a6ce2076de78c95da6c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3660990078344535385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299602685,"filename":"image_01012026_20_48_35_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f42351e76c9d203097545c84e94e5547.jpg","text":"TemporaryFile(/tmp/multipartBody1433450185684900107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299602685,"filename":"image_01012026_20_48_24_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2357b271a50f208c4e50888251b9be31.jpg","text":"TemporaryFile(/tmp/multipartBody3907615023866066602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299602685,"filename":"image_01012026_20_46_54_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc6a9bd36c2d37a08551276536ab503e.jpg","text":"TemporaryFile(/tmp/multipartBody3665219042697781491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299602685,"filename":"image_01012026_20_47_05_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0c7d05695cf45f10a6d17c05acece86.jpg","text":"TemporaryFile(/tmp/multipartBody455742555066461357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299602685,"filename":"image_01012026_20_46_44_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046734","file1":"1402046732","file0":"1402046730","file4":"1402046738","file5":"1402046741","file3":"1402046736"},"map_files_photo_id_array":[{"photo_id":"1402046741","filename":"file5"},{"photo_id":"1402046734","filename":"file2"},{"photo_id":"1402046738","filename":"file4"},{"photo_id":"1402046732","filename":"file1"},{"photo_id":"1402046730","filename":"file0"},{"photo_id":"1402046736","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046736":["hashtag1","hashtag2"]},{"1402046741":["hashtag1","hashtag2"]},{"1402046738":["hashtag1","hashtag2"]},{"1402046732":["hashtag1","hashtag2"]},{"1402046734":["hashtag1","hashtag2"]},{"1402046730":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046736, 1402046741, 1402046738, 1402046732, 1402046734, 1402046730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.469154596328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:33:03.037144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/48/image_01012026_20_48_44_9705.jpg', '/home/pi/Desktop/images/01012026/20/48/image_01012026_20_48_54_9750.jpg', '/home/pi/Desktop/images/01012026/20/48/image_01012026_20_49_05_10703.jpg', '/home/pi/Desktop/images/01012026/20/49/image_01012026_20_49_14_9475.jpg', '/home/pi/Desktop/images/01012026/20/49/image_01012026_20_49_24_9781.jpg', '/home/pi/Desktop/images/01012026/20/49/image_01012026_20_49_35_10774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/48/image_01012026_20_48_44_9705.jpg
/home/pi/Desktop/images/01012026/20/48/image_01012026_20_48_54_9750.jpg
/home/pi/Desktop/images/01012026/20/48/image_01012026_20_49_05_10703.jpg
/home/pi/Desktop/images/01012026/20/49/image_01012026_20_49_14_9475.jpg
/home/pi/Desktop/images/01012026/20/49/image_01012026_20_49_24_9781.jpg
/home/pi/Desktop/images/01012026/20/49/image_01012026_20_49_35_10774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046748","1402046750","1402046744","1402046746","1402046743","1402046745"],"photo_ids_order":["1402046743","1402046744","1402046745","1402046746","1402046748","1402046750"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63ac1d15b97be39629b32807a32db50f.jpg","text":"TemporaryFile(/tmp/multipartBody7981218927883831210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299643680,"filename":"image_01012026_20_49_24_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e76e8eb8a8ec85588f3958a9e09917f.jpg","text":"TemporaryFile(/tmp/multipartBody9060504568651331014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299643680,"filename":"image_01012026_20_49_35_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9cfaecd972597070be2f9a19cf0f2ad.jpg","text":"TemporaryFile(/tmp/multipartBody3854305234046208962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299643680,"filename":"image_01012026_20_48_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d66925182bec278e431077a524573bc7.jpg","text":"TemporaryFile(/tmp/multipartBody8294449352634201597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299643680,"filename":"image_01012026_20_49_14_9475.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0e3f4e98a29a2d0207ce92dc4d59c6a.jpg","text":"TemporaryFile(/tmp/multipartBody7639277609002550183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299643680,"filename":"image_01012026_20_48_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b619560ba15d4bbf04828d52612efa31.jpg","text":"TemporaryFile(/tmp/multipartBody8187272823624292675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299643680,"filename":"image_01012026_20_49_05_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046745","file1":"1402046744","file0":"1402046743","file4":"1402046748","file5":"1402046750","file3":"1402046746"},"map_files_photo_id_array":[{"photo_id":"1402046750","filename":"file5"},{"photo_id":"1402046745","filename":"file2"},{"photo_id":"1402046748","filename":"file4"},{"photo_id":"1402046744","filename":"file1"},{"photo_id":"1402046743","filename":"file0"},{"photo_id":"1402046746","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046748":["hashtag1","hashtag2"]},{"1402046750":["hashtag1","hashtag2"]},{"1402046744":["hashtag1","hashtag2"]},{"1402046746":["hashtag1","hashtag2"]},{"1402046743":["hashtag1","hashtag2"]},{"1402046745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046748, 1402046750, 1402046744, 1402046746, 1402046743, 1402046745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.160335063934326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:33:42.337063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_49_1786.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_52_1662.jpg', '/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_54_1891.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_02_1562.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_10_3974.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_11_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_49_1786.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_52_1662.jpg
/home/pi/Desktop/images/04112025/19/45/image_04112025_19_45_54_1891.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_02_1562.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_10_3974.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_11_1721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046760","1402046762","1402046764","1402046761","1402046763","1402046757"],"photo_ids_order":["1402046757","1402046760","1402046761","1402046762","1402046763","1402046764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8224d61cc93af7b2066b85b51bdbb3a1.jpg","text":"TemporaryFile(/tmp/multipartBody7058054763822281930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299684335,"filename":"image_04112025_19_45_52_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23aa55da36fa2257796f6b26c256985e.jpg","text":"TemporaryFile(/tmp/multipartBody2184094087665366926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299684335,"filename":"image_04112025_19_46_02_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5abe06b4d0fda2ffeb9956e5ed1a82ae.jpg","text":"TemporaryFile(/tmp/multipartBody2771595304862326176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299684335,"filename":"image_04112025_19_46_11_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ff429d1e43164586bc91714ee68ae78.jpg","text":"TemporaryFile(/tmp/multipartBody3824552274204601143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299684335,"filename":"image_04112025_19_45_54_1891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/668db1b81c68e4f8d3c15631bb878c7e.jpg","text":"TemporaryFile(/tmp/multipartBody2083973911249006512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299684335,"filename":"image_04112025_19_46_10_3974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef1e3c11e40e72d749017e694e55e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody6918653793745578576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299684335,"filename":"image_04112025_19_45_49_1786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046761","file1":"1402046760","file0":"1402046757","file4":"1402046763","file5":"1402046764","file3":"1402046762"},"map_files_photo_id_array":[{"photo_id":"1402046764","filename":"file5"},{"photo_id":"1402046761","filename":"file2"},{"photo_id":"1402046763","filename":"file4"},{"photo_id":"1402046760","filename":"file1"},{"photo_id":"1402046757","filename":"file0"},{"photo_id":"1402046762","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046760":["hashtag1","hashtag2"]},{"1402046762":["hashtag1","hashtag2"]},{"1402046764":["hashtag1","hashtag2"]},{"1402046761":["hashtag1","hashtag2"]},{"1402046763":["hashtag1","hashtag2"]},{"1402046757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046760, 1402046762, 1402046764, 1402046761, 1402046763, 1402046757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09358048439026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:34:22.558751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/49/image_01012026_20_49_45_9583.jpg', '/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_15_9746.jpg', '/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_24_9808.jpg', '/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_35_10577.jpg', '/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_45_9715.jpg', '/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/49/image_01012026_20_49_45_9583.jpg
/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_15_9746.jpg
/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_24_9808.jpg
/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_35_10577.jpg
/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_45_9715.jpg
/home/pi/Desktop/images/01012026/20/50/image_01012026_20_50_54_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046774","1402046770","1402046767","1402046776","1402046778","1402046772"],"photo_ids_order":["1402046767","1402046770","1402046772","1402046774","1402046776","1402046778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae116b1d9a4d3be24588edf9ee3a4faa.jpg","text":"TemporaryFile(/tmp/multipartBody8279509438222016997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299723193,"filename":"image_01012026_20_50_35_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/20ea9842e5c4942f23bc28e2fecdbb27.jpg","text":"TemporaryFile(/tmp/multipartBody5073583373274741948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299723193,"filename":"image_01012026_20_50_15_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abe621b66a98a4cfadff3f05d21f60f9.jpg","text":"TemporaryFile(/tmp/multipartBody5499203115689946822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299723193,"filename":"image_01012026_20_49_45_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d599a996eb28cdbb61aca0b99f35fea.jpg","text":"TemporaryFile(/tmp/multipartBody5190847017614198616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299723193,"filename":"image_01012026_20_50_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c995c5564ce4516c58e4bad4d11f732.jpg","text":"TemporaryFile(/tmp/multipartBody1200761789154497972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299723193,"filename":"image_01012026_20_50_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08a50f87ff1c4e46837ffdb19aef7373.jpg","text":"TemporaryFile(/tmp/multipartBody2559674038851976775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299723193,"filename":"image_01012026_20_50_24_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046772","file1":"1402046770","file0":"1402046767","file4":"1402046776","file5":"1402046778","file3":"1402046774"},"map_files_photo_id_array":[{"photo_id":"1402046778","filename":"file5"},{"photo_id":"1402046772","filename":"file2"},{"photo_id":"1402046776","filename":"file4"},{"photo_id":"1402046770","filename":"file1"},{"photo_id":"1402046767","filename":"file0"},{"photo_id":"1402046774","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046774":["hashtag1","hashtag2"]},{"1402046770":["hashtag1","hashtag2"]},{"1402046767":["hashtag1","hashtag2"]},{"1402046776":["hashtag1","hashtag2"]},{"1402046778":["hashtag1","hashtag2"]},{"1402046772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046774, 1402046770, 1402046767, 1402046776, 1402046778, 1402046772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97267961502075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:35:03.245129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/50/image_01012026_20_51_05_10748.jpg', '/home/pi/Desktop/images/01012026/20/51/image_01012026_20_51_15_9747.jpg', '/home/pi/Desktop/images/01012026/20/51/image_01012026_20_51_24_9607.jpg', '/home/pi/Desktop/images/01012026/20/51/image_01012026_20_51_34_9702.jpg', '/home/pi/Desktop/images/01012026/20/51/image_01012026_20_51_45_10668.jpg', '/home/pi/Desktop/images/01012026/20/51/image_01012026_20_52_04_9737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/50/image_01012026_20_51_05_10748.jpg
/home/pi/Desktop/images/01012026/20/51/image_01012026_20_51_15_9747.jpg
/home/pi/Desktop/images/01012026/20/51/image_01012026_20_51_24_9607.jpg
/home/pi/Desktop/images/01012026/20/51/image_01012026_20_51_34_9702.jpg
/home/pi/Desktop/images/01012026/20/51/image_01012026_20_51_45_10668.jpg
/home/pi/Desktop/images/01012026/20/51/image_01012026_20_52_04_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":["1402046780","1402046782","1402046779","1402046788","1402046781","1402046784"],"photo_ids_order":["1402046779","1402046780","1402046781","1402046782","1402046784","1402046788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1506c806deadefe0cafc7aebefc53976.jpg","text":"TemporaryFile(/tmp/multipartBody5915665734940728676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299763884,"filename":"image_01012026_20_51_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f0c750c3812aad7282f628b5e216327.jpg","text":"TemporaryFile(/tmp/multipartBody4425529295166647537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299763884,"filename":"image_01012026_20_51_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6491acd10c815d5703ce0a4645652f13.jpg","text":"TemporaryFile(/tmp/multipartBody5719073070170922641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299763884,"filename":"image_01012026_20_51_05_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4fa9c87ee41490ba04cdaad09e0bd1f6.jpg","text":"TemporaryFile(/tmp/multipartBody5206860687558149148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299763884,"filename":"image_01012026_20_52_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dea98f73375160ad3456e0da2d8588d.jpg","text":"TemporaryFile(/tmp/multipartBody9168359866984101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299763884,"filename":"image_01012026_20_51_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d95338bbe009d57a5afb18c3f74bace.jpg","text":"TemporaryFile(/tmp/multipartBody934882942514220844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299763884,"filename":"image_01012026_20_51_45_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046781","file1":"1402046780","file0":"1402046779","file4":"1402046784","file5":"1402046788","file3":"1402046782"},"map_files_photo_id_array":[{"photo_id":"1402046788","filename":"file5"},{"photo_id":"1402046781","filename":"file2"},{"photo_id":"1402046784","filename":"file4"},{"photo_id":"1402046780","filename":"file1"},{"photo_id":"1402046779","filename":"file0"},{"photo_id":"1402046782","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046780":["hashtag1","hashtag2"]},{"1402046782":["hashtag1","hashtag2"]},{"1402046779":["hashtag1","hashtag2"]},{"1402046788":["hashtag1","hashtag2"]},{"1402046781":["hashtag1","hashtag2"]},{"1402046784":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046780, 1402046782, 1402046779, 1402046788, 1402046781, 1402046784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24871230125427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:35:42.675030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_15_1595.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_21_1714.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_27_4003.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_28_1524.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_33_4374.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_35_1803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_15_1595.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_21_1714.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_27_4003.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_28_1524.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_33_4374.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_35_1803.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046798","1402046797","1402046800","1402046793","1402046796","1402046799"],"photo_ids_order":["1402046793","1402046796","1402046797","1402046798","1402046799","1402046800"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfbb6497ac2970e43309f26d4b5d1dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4847006454690994754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299804615,"filename":"image_04112025_19_46_28_1524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af34d62e6a1bc81f0db4b0d706261150.jpg","text":"TemporaryFile(/tmp/multipartBody3392233728414249432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299804615,"filename":"image_04112025_19_46_27_4003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fffaaf609dad227d913ea71c619d245b.jpg","text":"TemporaryFile(/tmp/multipartBody6366642405058759526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299804615,"filename":"image_04112025_19_46_35_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ad9363f39a869540197849b6c9392f6.jpg","text":"TemporaryFile(/tmp/multipartBody506710189497218506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299804615,"filename":"image_04112025_19_46_15_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dc6a86c0d591b2b106acf65cdf95c35.jpg","text":"TemporaryFile(/tmp/multipartBody9148463328411316826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299804615,"filename":"image_04112025_19_46_21_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/19ab4a70e17120e11bc309cd01d58b0b.jpg","text":"TemporaryFile(/tmp/multipartBody4590399581442589496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299804615,"filename":"image_04112025_19_46_33_4374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046797","file1":"1402046796","file0":"1402046793","file4":"1402046799","file5":"1402046800","file3":"1402046798"},"map_files_photo_id_array":[{"photo_id":"1402046800","filename":"file5"},{"photo_id":"1402046797","filename":"file2"},{"photo_id":"1402046799","filename":"file4"},{"photo_id":"1402046796","filename":"file1"},{"photo_id":"1402046793","filename":"file0"},{"photo_id":"1402046798","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046798":["hashtag1","hashtag2"]},{"1402046797":["hashtag1","hashtag2"]},{"1402046800":["hashtag1","hashtag2"]},{"1402046793":["hashtag1","hashtag2"]},{"1402046796":["hashtag1","hashtag2"]},{"1402046799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046798, 1402046797, 1402046800, 1402046793, 1402046796, 1402046799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.286292552948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:36:21.852587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/52/image_01012026_20_52_25_9624.jpg', '/home/pi/Desktop/images/01012026/20/52/image_01012026_20_52_34_9760.jpg', '/home/pi/Desktop/images/01012026/20/52/image_01012026_20_53_04_9614.jpg', '/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_14_9856.jpg', '/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_25_10833.jpg', '/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_35_9526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/52/image_01012026_20_52_25_9624.jpg
/home/pi/Desktop/images/01012026/20/52/image_01012026_20_52_34_9760.jpg
/home/pi/Desktop/images/01012026/20/52/image_01012026_20_53_04_9614.jpg
/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_14_9856.jpg
/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_25_10833.jpg
/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_35_9526.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046811","1402046814","1402046802","1402046805","1402046807","1402046809"],"photo_ids_order":["1402046802","1402046805","1402046807","1402046809","1402046811","1402046814"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79dc0a0b19a5e66a5bf6a67a54518677.jpg","text":"TemporaryFile(/tmp/multipartBody4394037563719321586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299842449,"filename":"image_01012026_20_53_25_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4823aa602ebe015020f895c3f8b51cd2.jpg","text":"TemporaryFile(/tmp/multipartBody9195499787621071282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299842449,"filename":"image_01012026_20_53_35_9526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cf214e0dd7fb779c5b7f8aad337aaa8.jpg","text":"TemporaryFile(/tmp/multipartBody6456728901221000970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299842449,"filename":"image_01012026_20_52_25_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8da93eaef93d57c2402ed7f78887295a.jpg","text":"TemporaryFile(/tmp/multipartBody8844921388671991875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299842449,"filename":"image_01012026_20_52_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb01d8f27c64e19cdb522a316fed27d9.jpg","text":"TemporaryFile(/tmp/multipartBody2978201400325313211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299842449,"filename":"image_01012026_20_53_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d581ca2cca2ee1489f74ce272bd0e0fe.jpg","text":"TemporaryFile(/tmp/multipartBody7928046751299032623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299842449,"filename":"image_01012026_20_53_14_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046807","file1":"1402046805","file0":"1402046802","file4":"1402046811","file5":"1402046814","file3":"1402046809"},"map_files_photo_id_array":[{"photo_id":"1402046814","filename":"file5"},{"photo_id":"1402046807","filename":"file2"},{"photo_id":"1402046811","filename":"file4"},{"photo_id":"1402046805","filename":"file1"},{"photo_id":"1402046802","filename":"file0"},{"photo_id":"1402046809","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046811":["hashtag1","hashtag2"]},{"1402046814":["hashtag1","hashtag2"]},{"1402046802":["hashtag1","hashtag2"]},{"1402046805":["hashtag1","hashtag2"]},{"1402046807":["hashtag1","hashtag2"]},{"1402046809":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046811, 1402046814, 1402046802, 1402046805, 1402046807, 1402046809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14338254928589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:37:02.612568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_44_9641.jpg', '/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_55_10654.jpg', '/home/pi/Desktop/images/01012026/20/53/image_01012026_20_54_05_9762.jpg', '/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_14_9645.jpg', '/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_25_10727.jpg', '/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_35_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_44_9641.jpg
/home/pi/Desktop/images/01012026/20/53/image_01012026_20_53_55_10654.jpg
/home/pi/Desktop/images/01012026/20/53/image_01012026_20_54_05_9762.jpg
/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_14_9645.jpg
/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_25_10727.jpg
/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_35_9764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046823","1402046817","1402046816","1402046819","1402046821","1402046818"],"photo_ids_order":["1402046816","1402046817","1402046818","1402046819","1402046821","1402046823"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aac2581aa87e1114988cfda7f242d0b7.jpg","text":"TemporaryFile(/tmp/multipartBody3984206489653130940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299883272,"filename":"image_01012026_20_54_35_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ff8ab780a464af3b58562e795df1368.jpg","text":"TemporaryFile(/tmp/multipartBody7138937591902543946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299883272,"filename":"image_01012026_20_53_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb724561db905f5628e837609fb141ee.jpg","text":"TemporaryFile(/tmp/multipartBody5466394107280503756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299883272,"filename":"image_01012026_20_53_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afc1e1c47e38259557a3b98f28b49681.jpg","text":"TemporaryFile(/tmp/multipartBody8174464542858192205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299883272,"filename":"image_01012026_20_54_14_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f6f1df90cf95ffaa16361de83b5b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody6857730900286088718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299883272,"filename":"image_01012026_20_54_25_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/811f3596d819bbaf8e4688ae27d55062.jpg","text":"TemporaryFile(/tmp/multipartBody3270988511243285004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299883272,"filename":"image_01012026_20_54_05_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046818","file1":"1402046817","file0":"1402046816","file4":"1402046821","file5":"1402046823","file3":"1402046819"},"map_files_photo_id_array":[{"photo_id":"1402046823","filename":"file5"},{"photo_id":"1402046818","filename":"file2"},{"photo_id":"1402046821","filename":"file4"},{"photo_id":"1402046817","filename":"file1"},{"photo_id":"1402046816","filename":"file0"},{"photo_id":"1402046819","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046823":["hashtag1","hashtag2"]},{"1402046817":["hashtag1","hashtag2"]},{"1402046816":["hashtag1","hashtag2"]},{"1402046819":["hashtag1","hashtag2"]},{"1402046821":["hashtag1","hashtag2"]},{"1402046818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046823, 1402046817, 1402046816, 1402046819, 1402046821, 1402046818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.916136026382446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:37:42.160962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_36_1732.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_39_2656.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_42_2876.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_46_3739.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_48_2802.jpg', '/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_51_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_36_1732.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_39_2656.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_42_2876.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_46_3739.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_48_2802.jpg
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_51_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046832","1402046835","1402046829","1402046834","1402046831","1402046833"],"photo_ids_order":["1402046829","1402046831","1402046832","1402046833","1402046834","1402046835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d29729df886946491c8419a1351d77f.jpg","text":"TemporaryFile(/tmp/multipartBody4884099894701916598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299924045,"filename":"image_04112025_19_46_42_2876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bbc18d20f22984c2bf9e143c2bdcdb2.jpg","text":"TemporaryFile(/tmp/multipartBody5453744318527058197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299924045,"filename":"image_04112025_19_46_51_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89b2351f47200893372b867037e3f103.jpg","text":"TemporaryFile(/tmp/multipartBody6603054525099858145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299924045,"filename":"image_04112025_19_46_36_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/baac1be34d921bc3d7d8761e7e51c3fe.jpg","text":"TemporaryFile(/tmp/multipartBody5777502521202736599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299924045,"filename":"image_04112025_19_46_48_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58892c81560203b063e112ba2b1679fb.jpg","text":"TemporaryFile(/tmp/multipartBody7703870520744649317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299924045,"filename":"image_04112025_19_46_39_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2b77e8c829603a2b78672ad448aa6ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4846707013430745767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299924045,"filename":"image_04112025_19_46_46_3739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046832","file1":"1402046831","file0":"1402046829","file4":"1402046834","file5":"1402046835","file3":"1402046833"},"map_files_photo_id_array":[{"photo_id":"1402046835","filename":"file5"},{"photo_id":"1402046832","filename":"file2"},{"photo_id":"1402046834","filename":"file4"},{"photo_id":"1402046831","filename":"file1"},{"photo_id":"1402046829","filename":"file0"},{"photo_id":"1402046833","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046832":["hashtag1","hashtag2"]},{"1402046835":["hashtag1","hashtag2"]},{"1402046829":["hashtag1","hashtag2"]},{"1402046834":["hashtag1","hashtag2"]},{"1402046831":["hashtag1","hashtag2"]},{"1402046833":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046832, 1402046835, 1402046829, 1402046834, 1402046831, 1402046833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45267295837402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:38:22.283146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_45_9901.jpg', '/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_54_9663.jpg', '/home/pi/Desktop/images/01012026/20/54/image_01012026_20_55_05_10645.jpg', '/home/pi/Desktop/images/01012026/20/55/image_01012026_20_55_15_9631.jpg', '/home/pi/Desktop/images/01012026/20/55/image_01012026_20_55_24_9732.jpg', '/home/pi/Desktop/images/01012026/20/55/image_01012026_20_55_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_45_9901.jpg
/home/pi/Desktop/images/01012026/20/54/image_01012026_20_54_54_9663.jpg
/home/pi/Desktop/images/01012026/20/54/image_01012026_20_55_05_10645.jpg
/home/pi/Desktop/images/01012026/20/55/image_01012026_20_55_15_9631.jpg
/home/pi/Desktop/images/01012026/20/55/image_01012026_20_55_24_9732.jpg
/home/pi/Desktop/images/01012026/20/55/image_01012026_20_55_35_10736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046847","1402046841","1402046843","1402046836","1402046844","1402046838"],"photo_ids_order":["1402046836","1402046838","1402046841","1402046843","1402046844","1402046847"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/974b1c6015e812bd9e52d0cce43f8595.jpg","text":"TemporaryFile(/tmp/multipartBody6531755575108783012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299962879,"filename":"image_01012026_20_55_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1835f4077661e87d222b5a001073909c.jpg","text":"TemporaryFile(/tmp/multipartBody9078932002561161057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299962879,"filename":"image_01012026_20_55_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42767d74c6acdfbb03fff2a63858d295.jpg","text":"TemporaryFile(/tmp/multipartBody2166816938538878808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299962879,"filename":"image_01012026_20_55_15_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0e7fc727a68f699ef679ead9074a6dd7.jpg","text":"TemporaryFile(/tmp/multipartBody4281419270771980033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299962879,"filename":"image_01012026_20_54_45_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f8c157cc87147f4f66e658c699dfc4b.jpg","text":"TemporaryFile(/tmp/multipartBody6548421092300272742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299962879,"filename":"image_01012026_20_55_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c168f89127b2ab0665dcf983f233315e.jpg","text":"TemporaryFile(/tmp/multipartBody5822339948747713601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767299962879,"filename":"image_01012026_20_54_54_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046841","file1":"1402046838","file0":"1402046836","file4":"1402046844","file5":"1402046847","file3":"1402046843"},"map_files_photo_id_array":[{"photo_id":"1402046847","filename":"file5"},{"photo_id":"1402046841","filename":"file2"},{"photo_id":"1402046844","filename":"file4"},{"photo_id":"1402046838","filename":"file1"},{"photo_id":"1402046836","filename":"file0"},{"photo_id":"1402046843","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046847":["hashtag1","hashtag2"]},{"1402046841":["hashtag1","hashtag2"]},{"1402046843":["hashtag1","hashtag2"]},{"1402046836":["hashtag1","hashtag2"]},{"1402046844":["hashtag1","hashtag2"]},{"1402046838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046847, 1402046841, 1402046843, 1402046836, 1402046844, 1402046838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75224566459656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:39:03.550315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/55/image_01012026_20_55_55_9768.jpg', '/home/pi/Desktop/images/01012026/20/56/image_01012026_20_56_14_9615.jpg', '/home/pi/Desktop/images/01012026/20/56/image_01012026_20_56_25_10819.jpg', '/home/pi/Desktop/images/01012026/20/56/image_01012026_20_56_35_9687.jpg', '/home/pi/Desktop/images/01012026/20/56/image_01012026_20_56_55_10552.jpg', '/home/pi/Desktop/images/01012026/20/56/image_01012026_20_57_05_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/55/image_01012026_20_55_55_9768.jpg
/home/pi/Desktop/images/01012026/20/56/image_01012026_20_56_14_9615.jpg
/home/pi/Desktop/images/01012026/20/56/image_01012026_20_56_25_10819.jpg
/home/pi/Desktop/images/01012026/20/56/image_01012026_20_56_35_9687.jpg
/home/pi/Desktop/images/01012026/20/56/image_01012026_20_56_55_10552.jpg
/home/pi/Desktop/images/01012026/20/56/image_01012026_20_57_05_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":["1402046852","1402046855","1402046849","1402046851","1402046854","1402046857"],"photo_ids_order":["1402046849","1402046851","1402046852","1402046854","1402046855","1402046857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04eeaa586f5d9a3002f9a12ebb01c8d3.jpg","text":"TemporaryFile(/tmp/multipartBody7007162801449373628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300004312,"filename":"image_01012026_20_56_25_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26a1266222359839609d5def0415182b.jpg","text":"TemporaryFile(/tmp/multipartBody2013282209129171816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300004312,"filename":"image_01012026_20_56_55_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7a6adcaf5554b86331c2dcdf5d2ce6c.jpg","text":"TemporaryFile(/tmp/multipartBody7240497850890776391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300004312,"filename":"image_01012026_20_55_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2ec7ce997f4e2b8eb970f00885cb32ec.jpg","text":"TemporaryFile(/tmp/multipartBody2302921982044838818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300004312,"filename":"image_01012026_20_56_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/da4678017932594e3598a8536095682e.jpg","text":"TemporaryFile(/tmp/multipartBody2192484084591791340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300004312,"filename":"image_01012026_20_56_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1dce4ce770baebb634ca3b1a39f324a.jpg","text":"TemporaryFile(/tmp/multipartBody6405722594666819654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300004312,"filename":"image_01012026_20_57_05_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046852","file1":"1402046851","file0":"1402046849","file4":"1402046855","file5":"1402046857","file3":"1402046854"},"map_files_photo_id_array":[{"photo_id":"1402046857","filename":"file5"},{"photo_id":"1402046852","filename":"file2"},{"photo_id":"1402046855","filename":"file4"},{"photo_id":"1402046851","filename":"file1"},{"photo_id":"1402046849","filename":"file0"},{"photo_id":"1402046854","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046852":["hashtag1","hashtag2"]},{"1402046855":["hashtag1","hashtag2"]},{"1402046849":["hashtag1","hashtag2"]},{"1402046851":["hashtag1","hashtag2"]},{"1402046854":["hashtag1","hashtag2"]},{"1402046857":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046852, 1402046855, 1402046849, 1402046851, 1402046854, 1402046857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.830328941345215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:39:42.589481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_57_2598.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_03_6094.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_09_5907.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_11_1765.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_29_18415.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_31_1712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/46/image_04112025_19_46_57_2598.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_03_6094.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_09_5907.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_11_1765.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_29_18415.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_31_1712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046868","1402046867","1402046863","1402046866","1402046869","1402046865"],"photo_ids_order":["1402046863","1402046865","1402046866","1402046867","1402046868","1402046869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0c165966cac3103a78136d9e252eb98e.jpg","text":"TemporaryFile(/tmp/multipartBody2763840952407845900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300044497,"filename":"image_04112025_19_47_29_18415.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17cf055fa14aeed06dde3ef618b8b96b.jpg","text":"TemporaryFile(/tmp/multipartBody3348213276611044596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300044497,"filename":"image_04112025_19_47_11_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b282dc3861607ede1cb5d5a7bf3ad25.jpg","text":"TemporaryFile(/tmp/multipartBody8993569663873397134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300044497,"filename":"image_04112025_19_46_57_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1cdbeeecbd53ac3d06ce5fa62ca5332a.jpg","text":"TemporaryFile(/tmp/multipartBody4691045124264895947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300044497,"filename":"image_04112025_19_47_09_5907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de8e637c05a0cf9108be3550e380f2ea.jpg","text":"TemporaryFile(/tmp/multipartBody3552924854094807647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300044497,"filename":"image_04112025_19_47_31_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdba10ad9f2304dfa59e1b83fe41d7d6.jpg","text":"TemporaryFile(/tmp/multipartBody1064488689121743781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300044497,"filename":"image_04112025_19_47_03_6094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046866","file1":"1402046865","file0":"1402046863","file4":"1402046868","file5":"1402046869","file3":"1402046867"},"map_files_photo_id_array":[{"photo_id":"1402046869","filename":"file5"},{"photo_id":"1402046866","filename":"file2"},{"photo_id":"1402046868","filename":"file4"},{"photo_id":"1402046865","filename":"file1"},{"photo_id":"1402046863","filename":"file0"},{"photo_id":"1402046867","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046868":["hashtag1","hashtag2"]},{"1402046867":["hashtag1","hashtag2"]},{"1402046863":["hashtag1","hashtag2"]},{"1402046866":["hashtag1","hashtag2"]},{"1402046869":["hashtag1","hashtag2"]},{"1402046865":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046868, 1402046867, 1402046863, 1402046866, 1402046869, 1402046865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83993363380432 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:40:22.758188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/57/image_01012026_20_57_14_9668.jpg', '/home/pi/Desktop/images/01012026/20/57/image_01012026_20_57_25_10641.jpg', '/home/pi/Desktop/images/01012026/20/57/image_01012026_20_57_35_9678.jpg', '/home/pi/Desktop/images/01012026/20/57/image_01012026_20_57_44_9608.jpg', '/home/pi/Desktop/images/01012026/20/57/image_01012026_20_58_05_9746.jpg', '/home/pi/Desktop/images/01012026/20/58/image_01012026_20_58_15_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/57/image_01012026_20_57_14_9668.jpg
/home/pi/Desktop/images/01012026/20/57/image_01012026_20_57_25_10641.jpg
/home/pi/Desktop/images/01012026/20/57/image_01012026_20_57_35_9678.jpg
/home/pi/Desktop/images/01012026/20/57/image_01012026_20_57_44_9608.jpg
/home/pi/Desktop/images/01012026/20/57/image_01012026_20_58_05_9746.jpg
/home/pi/Desktop/images/01012026/20/58/image_01012026_20_58_15_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046879","1402046881","1402046884","1402046872","1402046875","1402046877"],"photo_ids_order":["1402046872","1402046875","1402046877","1402046879","1402046881","1402046884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/163f371b8016252938f1fa294e5f8af6.jpg","text":"TemporaryFile(/tmp/multipartBody6555389168889136990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300083430,"filename":"image_01012026_20_57_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/775a241f32380f1b0d2ce36f6a4caac0.jpg","text":"TemporaryFile(/tmp/multipartBody1790034995345093259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300083430,"filename":"image_01012026_20_58_05_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b906398369ffeee057124d216b22586.jpg","text":"TemporaryFile(/tmp/multipartBody8928388940612586134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300083430,"filename":"image_01012026_20_58_15_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a80d27a9d4208dbf632b0e9ca41c7bb1.jpg","text":"TemporaryFile(/tmp/multipartBody8262917671237387794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300083430,"filename":"image_01012026_20_57_14_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d090387bf11da01cdd3ba61de954d927.jpg","text":"TemporaryFile(/tmp/multipartBody5898643682257973754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300083430,"filename":"image_01012026_20_57_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/085817a5c0b828d7795ac174f1bf914a.jpg","text":"TemporaryFile(/tmp/multipartBody6723834467991155120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300083430,"filename":"image_01012026_20_57_35_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046877","file1":"1402046875","file0":"1402046872","file4":"1402046881","file5":"1402046884","file3":"1402046879"},"map_files_photo_id_array":[{"photo_id":"1402046884","filename":"file5"},{"photo_id":"1402046877","filename":"file2"},{"photo_id":"1402046881","filename":"file4"},{"photo_id":"1402046875","filename":"file1"},{"photo_id":"1402046872","filename":"file0"},{"photo_id":"1402046879","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046879":["hashtag1","hashtag2"]},{"1402046881":["hashtag1","hashtag2"]},{"1402046884":["hashtag1","hashtag2"]},{"1402046872":["hashtag1","hashtag2"]},{"1402046875":["hashtag1","hashtag2"]},{"1402046877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046879, 1402046881, 1402046884, 1402046872, 1402046875, 1402046877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77061867713928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:41:02.579416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/58/image_01012026_20_58_24_9568.jpg', '/home/pi/Desktop/images/01012026/20/58/image_01012026_20_58_35_10696.jpg', '/home/pi/Desktop/images/01012026/20/58/image_01012026_20_58_55_10119.jpg', '/home/pi/Desktop/images/01012026/20/58/image_01012026_20_59_04_9595.jpg', '/home/pi/Desktop/images/01012026/20/59/image_01012026_20_59_14_9938.jpg', '/home/pi/Desktop/images/01012026/20/59/image_01012026_20_59_34_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/58/image_01012026_20_58_24_9568.jpg
/home/pi/Desktop/images/01012026/20/58/image_01012026_20_58_35_10696.jpg
/home/pi/Desktop/images/01012026/20/58/image_01012026_20_58_55_10119.jpg
/home/pi/Desktop/images/01012026/20/58/image_01012026_20_59_04_9595.jpg
/home/pi/Desktop/images/01012026/20/59/image_01012026_20_59_14_9938.jpg
/home/pi/Desktop/images/01012026/20/59/image_01012026_20_59_34_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":["1402046891","1402046885","1402046888","1402046887","1402046886","1402046889"],"photo_ids_order":["1402046885","1402046886","1402046887","1402046888","1402046889","1402046891"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcd5613735a3e3c0e0c00e095d056d9e.jpg","text":"TemporaryFile(/tmp/multipartBody8289420913454290271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300123217,"filename":"image_01012026_20_59_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f266a54612519d3f427fea8060763f79.jpg","text":"TemporaryFile(/tmp/multipartBody4921117680483488996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300123217,"filename":"image_01012026_20_58_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab61cbd9d55c3e794e8acbf23fd86f99.jpg","text":"TemporaryFile(/tmp/multipartBody7506504526843463998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300123217,"filename":"image_01012026_20_59_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce85e45bbe20e9752d69d759c8b7116f.jpg","text":"TemporaryFile(/tmp/multipartBody6148530346493982846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300123217,"filename":"image_01012026_20_58_55_10119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5be6cead047a38c05ded370eb40e30c7.jpg","text":"TemporaryFile(/tmp/multipartBody623759190337177349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300123217,"filename":"image_01012026_20_58_35_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f041ea5c30a2f34d15c19b4221afb17d.jpg","text":"TemporaryFile(/tmp/multipartBody6796550180394010731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300123217,"filename":"image_01012026_20_59_14_9938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046887","file1":"1402046886","file0":"1402046885","file4":"1402046889","file5":"1402046891","file3":"1402046888"},"map_files_photo_id_array":[{"photo_id":"1402046891","filename":"file5"},{"photo_id":"1402046887","filename":"file2"},{"photo_id":"1402046889","filename":"file4"},{"photo_id":"1402046886","filename":"file1"},{"photo_id":"1402046885","filename":"file0"},{"photo_id":"1402046888","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046891":["hashtag1","hashtag2"]},{"1402046885":["hashtag1","hashtag2"]},{"1402046888":["hashtag1","hashtag2"]},{"1402046887":["hashtag1","hashtag2"]},{"1402046886":["hashtag1","hashtag2"]},{"1402046889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046891, 1402046885, 1402046888, 1402046887, 1402046886, 1402046889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.119046449661255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:41:41.974446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_33_1605.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_34_1626.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_44_9925.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_48_1687.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_49_1799.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_51_1743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_33_1605.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_34_1626.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_44_9925.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_48_1687.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_49_1799.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_51_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":["1402046897","1402046901","1402046904","1402046903","1402046900","1402046902"],"photo_ids_order":["1402046897","1402046900","1402046901","1402046902","1402046903","1402046904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/614f70468b703078d5067215a1dedec9.jpg","text":"TemporaryFile(/tmp/multipartBody8130077890114446286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300163884,"filename":"image_04112025_19_47_33_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/834ec2a620095d5fa8698cb8aa8f8d95.jpg","text":"TemporaryFile(/tmp/multipartBody4560484497677142813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300163884,"filename":"image_04112025_19_47_44_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df7f60f76840e81cdf6928ad246b3a17.jpg","text":"TemporaryFile(/tmp/multipartBody7268008428262503152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300163884,"filename":"image_04112025_19_47_51_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09e288f2134471a5d6c43d4d29cdd093.jpg","text":"TemporaryFile(/tmp/multipartBody3165902416991587391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300163884,"filename":"image_04112025_19_47_49_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d605328e7878ee223601290e03268fe.jpg","text":"TemporaryFile(/tmp/multipartBody181335830517569275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300163884,"filename":"image_04112025_19_47_34_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f425f01c1ac206e247631af8b85ce21f.jpg","text":"TemporaryFile(/tmp/multipartBody3395330708748877799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300163884,"filename":"image_04112025_19_47_48_1687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046901","file1":"1402046900","file0":"1402046897","file4":"1402046903","file5":"1402046904","file3":"1402046902"},"map_files_photo_id_array":[{"photo_id":"1402046904","filename":"file5"},{"photo_id":"1402046901","filename":"file2"},{"photo_id":"1402046903","filename":"file4"},{"photo_id":"1402046900","filename":"file1"},{"photo_id":"1402046897","filename":"file0"},{"photo_id":"1402046902","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046897":["hashtag1","hashtag2"]},{"1402046901":["hashtag1","hashtag2"]},{"1402046904":["hashtag1","hashtag2"]},{"1402046903":["hashtag1","hashtag2"]},{"1402046900":["hashtag1","hashtag2"]},{"1402046902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046897, 1402046901, 1402046904, 1402046903, 1402046900, 1402046902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16552424430847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:42:22.137584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/20/59/image_01012026_20_59_55_10576.jpg', '/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_15_10055.jpg', '/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_26_10655.jpg', '/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_35_9805.jpg', '/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_45_9716.jpg', '/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_56_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/20/59/image_01012026_20_59_55_10576.jpg
/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_15_10055.jpg
/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_26_10655.jpg
/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_35_9805.jpg
/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_45_9716.jpg
/home/pi/Desktop/images/01012026/21/00/image_01012026_21_00_56_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":["1402046916","1402046912","1402046906","1402046909","1402046914","1402046908"],"photo_ids_order":["1402046906","1402046908","1402046909","1402046912","1402046914","1402046916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07a393becd1fd84f4f8c9317ab123dd7.jpg","text":"TemporaryFile(/tmp/multipartBody361185622399512665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300202767,"filename":"image_01012026_21_00_56_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3975d732907e6391ca1c7db33883a1f8.jpg","text":"TemporaryFile(/tmp/multipartBody7532647177826865434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300202767,"filename":"image_01012026_21_00_35_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b52185c6ed0666c419c811afe9e4bb92.jpg","text":"TemporaryFile(/tmp/multipartBody2100656328770526962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300202767,"filename":"image_01012026_20_59_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9abfc388d40dedd968833592d2bf54be.jpg","text":"TemporaryFile(/tmp/multipartBody5864796420688908450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300202767,"filename":"image_01012026_21_00_26_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2740306dc2ea104ce2283cdeeead088e.jpg","text":"TemporaryFile(/tmp/multipartBody834893871416731543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300202767,"filename":"image_01012026_21_00_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48fc9817d17a8574e34e82abc48b95f3.jpg","text":"TemporaryFile(/tmp/multipartBody3988757665426010552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300202767,"filename":"image_01012026_21_00_15_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046909","file1":"1402046908","file0":"1402046906","file4":"1402046914","file5":"1402046916","file3":"1402046912"},"map_files_photo_id_array":[{"photo_id":"1402046916","filename":"file5"},{"photo_id":"1402046909","filename":"file2"},{"photo_id":"1402046914","filename":"file4"},{"photo_id":"1402046908","filename":"file1"},{"photo_id":"1402046906","filename":"file0"},{"photo_id":"1402046912","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046916":["hashtag1","hashtag2"]},{"1402046912":["hashtag1","hashtag2"]},{"1402046906":["hashtag1","hashtag2"]},{"1402046909":["hashtag1","hashtag2"]},{"1402046914":["hashtag1","hashtag2"]},{"1402046908":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046916, 1402046912, 1402046906, 1402046909, 1402046914, 1402046908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4940230846405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:43:02.926876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_15_9810.jpg', '/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_26_10628.jpg', '/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_35_9632.jpg', '/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_45_9688.jpg', '/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_56_10821.jpg', '/home/pi/Desktop/images/01012026/21/01/image_01012026_21_02_05_9525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_15_9810.jpg
/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_26_10628.jpg
/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_35_9632.jpg
/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_45_9688.jpg
/home/pi/Desktop/images/01012026/21/01/image_01012026_21_01_56_10821.jpg
/home/pi/Desktop/images/01012026/21/01/image_01012026_21_02_05_9525.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046919","1402046922","1402046921","1402046924","1402046918","1402046917"],"photo_ids_order":["1402046917","1402046918","1402046919","1402046921","1402046922","1402046924"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e34091e38e80f8f1d0de1f10cb0917f.jpg","text":"TemporaryFile(/tmp/multipartBody7473337030242495301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300243614,"filename":"image_01012026_21_01_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62495d7d37e4b4a1384637d7eec06f3d.jpg","text":"TemporaryFile(/tmp/multipartBody179605581742222212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300243614,"filename":"image_01012026_21_01_56_10821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a305bcaac4ec702518aac7757205ec3.jpg","text":"TemporaryFile(/tmp/multipartBody219067957574749646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300243614,"filename":"image_01012026_21_01_45_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bf3c05fcf877be1357b264f7cf627bf.jpg","text":"TemporaryFile(/tmp/multipartBody7032346680096826259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300243614,"filename":"image_01012026_21_02_05_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed8bce2863f2addd47c26ae52a23777f.jpg","text":"TemporaryFile(/tmp/multipartBody1356954836350681501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300243614,"filename":"image_01012026_21_01_26_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d96ed5a4161a00ea462b4e2c849fad3.jpg","text":"TemporaryFile(/tmp/multipartBody1546585202297780899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300243614,"filename":"image_01012026_21_01_15_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046919","file1":"1402046918","file0":"1402046917","file4":"1402046922","file5":"1402046924","file3":"1402046921"},"map_files_photo_id_array":[{"photo_id":"1402046924","filename":"file5"},{"photo_id":"1402046919","filename":"file2"},{"photo_id":"1402046922","filename":"file4"},{"photo_id":"1402046918","filename":"file1"},{"photo_id":"1402046917","filename":"file0"},{"photo_id":"1402046921","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046919":["hashtag1","hashtag2"]},{"1402046922":["hashtag1","hashtag2"]},{"1402046921":["hashtag1","hashtag2"]},{"1402046924":["hashtag1","hashtag2"]},{"1402046918":["hashtag1","hashtag2"]},{"1402046917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046919, 1402046922, 1402046921, 1402046924, 1402046918, 1402046917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54403233528137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:43:42.366945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_55_1742.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_58_1557.jpg', '/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_59_1594.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_01_1648.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_03_1688.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_04_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_55_1742.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_58_1557.jpg
/home/pi/Desktop/images/04112025/19/47/image_04112025_19_47_59_1594.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_01_1648.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_03_1688.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_04_1716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046934","1402046933","1402046936","1402046930","1402046935","1402046937"],"photo_ids_order":["1402046930","1402046933","1402046934","1402046935","1402046936","1402046937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76c08cd0f0746ba088ec915492a2ba93.jpg","text":"TemporaryFile(/tmp/multipartBody1847773289808885686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300284269,"filename":"image_04112025_19_47_59_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d56a7cdda53a81f8916e62af84787cfa.jpg","text":"TemporaryFile(/tmp/multipartBody5651216805425948707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300284269,"filename":"image_04112025_19_47_58_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eaf8b9dd14e777ca78ca984977b63201.jpg","text":"TemporaryFile(/tmp/multipartBody2570851501949397513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300284269,"filename":"image_04112025_19_48_03_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad8bad8202e1f8f0d20d38b064ded6f6.jpg","text":"TemporaryFile(/tmp/multipartBody856978750003980324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300284269,"filename":"image_04112025_19_47_55_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c6c13cd5f0ca2cd5abce02415774a64.jpg","text":"TemporaryFile(/tmp/multipartBody6728801331462331926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300284269,"filename":"image_04112025_19_48_01_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89f94b393362ee414cf4e831c166ff40.jpg","text":"TemporaryFile(/tmp/multipartBody5887386734966082291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300284269,"filename":"image_04112025_19_48_04_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046934","file1":"1402046933","file0":"1402046930","file4":"1402046936","file5":"1402046937","file3":"1402046935"},"map_files_photo_id_array":[{"photo_id":"1402046937","filename":"file5"},{"photo_id":"1402046934","filename":"file2"},{"photo_id":"1402046936","filename":"file4"},{"photo_id":"1402046933","filename":"file1"},{"photo_id":"1402046930","filename":"file0"},{"photo_id":"1402046935","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046934":["hashtag1","hashtag2"]},{"1402046933":["hashtag1","hashtag2"]},{"1402046936":["hashtag1","hashtag2"]},{"1402046930":["hashtag1","hashtag2"]},{"1402046935":["hashtag1","hashtag2"]},{"1402046937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046934, 1402046933, 1402046936, 1402046930, 1402046935, 1402046937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38458800315857 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:44:22.640609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_15_9641.jpg', '/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_26_10553.jpg', '/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_35_9812.jpg', '/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_45_9545.jpg', '/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_56_10720.jpg', '/home/pi/Desktop/images/01012026/21/02/image_01012026_21_03_05_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_15_9641.jpg
/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_26_10553.jpg
/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_35_9812.jpg
/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_45_9545.jpg
/home/pi/Desktop/images/01012026/21/02/image_01012026_21_02_56_10720.jpg
/home/pi/Desktop/images/01012026/21/02/image_01012026_21_03_05_9561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046946","1402046951","1402046948","1402046945","1402046941","1402046943"],"photo_ids_order":["1402046941","1402046943","1402046945","1402046946","1402046948","1402046951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd7939c51895e39ebfaad2c2e60873c5.jpg","text":"TemporaryFile(/tmp/multipartBody6000669708155430680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300323231,"filename":"image_01012026_21_02_45_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/711ba879c9cd48dbf167f5f477b38d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3185859579704969441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300323231,"filename":"image_01012026_21_03_05_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3f6d3b58912479c17f74a70b4b258e7.jpg","text":"TemporaryFile(/tmp/multipartBody7709287711000721791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300323231,"filename":"image_01012026_21_02_56_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee7cf12bc310a6dbb7b20b12ae69b508.jpg","text":"TemporaryFile(/tmp/multipartBody5065762106105276186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300323231,"filename":"image_01012026_21_02_35_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/366679819ad5fcf1d5ea099a680b962b.jpg","text":"TemporaryFile(/tmp/multipartBody1581401825141392029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300323231,"filename":"image_01012026_21_02_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24a2ecf2cce42281aa08f97b1fd34a5a.jpg","text":"TemporaryFile(/tmp/multipartBody4266764528969828985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300323231,"filename":"image_01012026_21_02_26_10553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046945","file1":"1402046943","file0":"1402046941","file4":"1402046948","file5":"1402046951","file3":"1402046946"},"map_files_photo_id_array":[{"photo_id":"1402046951","filename":"file5"},{"photo_id":"1402046945","filename":"file2"},{"photo_id":"1402046948","filename":"file4"},{"photo_id":"1402046943","filename":"file1"},{"photo_id":"1402046941","filename":"file0"},{"photo_id":"1402046946","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046946":["hashtag1","hashtag2"]},{"1402046951":["hashtag1","hashtag2"]},{"1402046948":["hashtag1","hashtag2"]},{"1402046945":["hashtag1","hashtag2"]},{"1402046941":["hashtag1","hashtag2"]},{"1402046943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046946, 1402046951, 1402046948, 1402046945, 1402046941, 1402046943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97792148590088 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:45:03.396167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/03/image_01012026_21_03_15_9805.jpg', '/home/pi/Desktop/images/01012026/21/03/image_01012026_21_03_26_10575.jpg', '/home/pi/Desktop/images/01012026/21/03/image_01012026_21_03_36_9867.jpg', '/home/pi/Desktop/images/01012026/21/03/image_01012026_21_03_55_9940.jpg', '/home/pi/Desktop/images/01012026/21/03/image_01012026_21_04_06_10756.jpg', '/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_16_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/03/image_01012026_21_03_15_9805.jpg
/home/pi/Desktop/images/01012026/21/03/image_01012026_21_03_26_10575.jpg
/home/pi/Desktop/images/01012026/21/03/image_01012026_21_03_36_9867.jpg
/home/pi/Desktop/images/01012026/21/03/image_01012026_21_03_55_9940.jpg
/home/pi/Desktop/images/01012026/21/03/image_01012026_21_04_06_10756.jpg
/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_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":["1402046954","1402046957","1402046959","1402046953","1402046956","1402046955"],"photo_ids_order":["1402046953","1402046954","1402046955","1402046956","1402046957","1402046959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed1e66b4c84abd39dcf692e055607f2b.jpg","text":"TemporaryFile(/tmp/multipartBody6137981610273282026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300364058,"filename":"image_01012026_21_03_26_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edb5b74c0fc13f911f3d12ec72207a5f.jpg","text":"TemporaryFile(/tmp/multipartBody9087475315357646978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300364058,"filename":"image_01012026_21_04_06_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/728202a374cc753e89225b3a8586aa07.jpg","text":"TemporaryFile(/tmp/multipartBody2162580968864184857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300364058,"filename":"image_01012026_21_04_16_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d10e051983ff4b15e0c85d3ea25c520.jpg","text":"TemporaryFile(/tmp/multipartBody8062622432518462470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300364058,"filename":"image_01012026_21_03_15_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5767de62058e39e0360fe0e3a5e8ab42.jpg","text":"TemporaryFile(/tmp/multipartBody6205960515686979991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300364058,"filename":"image_01012026_21_03_55_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5127185e3000af52f4b67cd55a79c432.jpg","text":"TemporaryFile(/tmp/multipartBody7235914759541504030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300364058,"filename":"image_01012026_21_03_36_9867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046955","file1":"1402046954","file0":"1402046953","file4":"1402046957","file5":"1402046959","file3":"1402046956"},"map_files_photo_id_array":[{"photo_id":"1402046959","filename":"file5"},{"photo_id":"1402046955","filename":"file2"},{"photo_id":"1402046957","filename":"file4"},{"photo_id":"1402046954","filename":"file1"},{"photo_id":"1402046953","filename":"file0"},{"photo_id":"1402046956","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046954":["hashtag1","hashtag2"]},{"1402046957":["hashtag1","hashtag2"]},{"1402046959":["hashtag1","hashtag2"]},{"1402046953":["hashtag1","hashtag2"]},{"1402046956":["hashtag1","hashtag2"]},{"1402046955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046954, 1402046957, 1402046959, 1402046953, 1402046956, 1402046955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5602388381958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:45:42.711879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_06_1685.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_08_1658.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_13_5570.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_15_1738.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_23_6262.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_29_5933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_06_1685.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_08_1658.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_13_5570.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_15_1738.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_23_6262.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_29_5933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046972","1402046969","1402046971","1402046965","1402046968","1402046970"],"photo_ids_order":["1402046965","1402046968","1402046969","1402046970","1402046971","1402046972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab26aab4ae036ed807b1105a5953a1e4.jpg","text":"TemporaryFile(/tmp/multipartBody3808841369874296430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300404632,"filename":"image_04112025_19_48_29_5933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b464d031745a6efa300da494add80c0.jpg","text":"TemporaryFile(/tmp/multipartBody6537851840757587241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300404632,"filename":"image_04112025_19_48_13_5570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5967d685af9e6c09307d4b3c9d6d4a42.jpg","text":"TemporaryFile(/tmp/multipartBody7341799497966458166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300404632,"filename":"image_04112025_19_48_23_6262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22bd3c2c72b6f0a3565fda9e8d94fbc8.jpg","text":"TemporaryFile(/tmp/multipartBody1004826402966025913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300404632,"filename":"image_04112025_19_48_06_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/be943609d67b7425fc1ab19b3d168959.jpg","text":"TemporaryFile(/tmp/multipartBody4486683767784685550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300404632,"filename":"image_04112025_19_48_08_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ae76258894748101bf21b0d2c11c36d.jpg","text":"TemporaryFile(/tmp/multipartBody5276989244555818498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300404632,"filename":"image_04112025_19_48_15_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046969","file1":"1402046968","file0":"1402046965","file4":"1402046971","file5":"1402046972","file3":"1402046970"},"map_files_photo_id_array":[{"photo_id":"1402046972","filename":"file5"},{"photo_id":"1402046969","filename":"file2"},{"photo_id":"1402046971","filename":"file4"},{"photo_id":"1402046968","filename":"file1"},{"photo_id":"1402046965","filename":"file0"},{"photo_id":"1402046970","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402046972":["hashtag1","hashtag2"]},{"1402046969":["hashtag1","hashtag2"]},{"1402046971":["hashtag1","hashtag2"]},{"1402046965":["hashtag1","hashtag2"]},{"1402046968":["hashtag1","hashtag2"]},{"1402046970":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402046972, 1402046969, 1402046971, 1402046965, 1402046968, 1402046970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03439807891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:46:21.883455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_25_9533.jpg', '/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_36_10714.jpg', '/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_46_9707.jpg', '/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_55_9589.jpg', '/home/pi/Desktop/images/01012026/21/05/image_01012026_21_05_25_9749.jpg', '/home/pi/Desktop/images/01012026/21/05/image_01012026_21_05_35_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_25_9533.jpg
/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_36_10714.jpg
/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_46_9707.jpg
/home/pi/Desktop/images/01012026/21/04/image_01012026_21_04_55_9589.jpg
/home/pi/Desktop/images/01012026/21/05/image_01012026_21_05_25_9749.jpg
/home/pi/Desktop/images/01012026/21/05/image_01012026_21_05_35_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402046978","1402046975","1402046980","1402046985","1402046973","1402046982"],"photo_ids_order":["1402046973","1402046975","1402046978","1402046980","1402046982","1402046985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ae48ab9744e91e169343a7cd53053a2.jpg","text":"TemporaryFile(/tmp/multipartBody4742848901675052725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300442479,"filename":"image_01012026_21_04_46_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9936f49148858a5d1fa473ee924912a7.jpg","text":"TemporaryFile(/tmp/multipartBody8547874698891441898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300442479,"filename":"image_01012026_21_04_36_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0387db561120e63f928e49cfc8d9ad50.jpg","text":"TemporaryFile(/tmp/multipartBody1870321271589551793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300442479,"filename":"image_01012026_21_04_55_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d67986c5d72250a00a7b0b8d0438b15b.jpg","text":"TemporaryFile(/tmp/multipartBody1881401904318612565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300442479,"filename":"image_01012026_21_05_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/02d1ea243d6f83bbdf060383f8ef41dd.jpg","text":"TemporaryFile(/tmp/multipartBody6549525563264628582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300442479,"filename":"image_01012026_21_04_25_9533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/756df738a7ec45977c7cda580ec26f19.jpg","text":"TemporaryFile(/tmp/multipartBody1731195578335889922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300442479,"filename":"image_01012026_21_05_25_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046978","file1":"1402046975","file0":"1402046973","file4":"1402046982","file5":"1402046985","file3":"1402046980"},"map_files_photo_id_array":[{"photo_id":"1402046985","filename":"file5"},{"photo_id":"1402046978","filename":"file2"},{"photo_id":"1402046982","filename":"file4"},{"photo_id":"1402046975","filename":"file1"},{"photo_id":"1402046973","filename":"file0"},{"photo_id":"1402046980","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046978":["hashtag1","hashtag2"]},{"1402046975":["hashtag1","hashtag2"]},{"1402046980":["hashtag1","hashtag2"]},{"1402046985":["hashtag1","hashtag2"]},{"1402046973":["hashtag1","hashtag2"]},{"1402046982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046978, 1402046975, 1402046980, 1402046985, 1402046973, 1402046982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78885078430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:47:02.718647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/05/image_01012026_21_05_46_10592.jpg', '/home/pi/Desktop/images/01012026/21/05/image_01012026_21_05_55_9739.jpg', '/home/pi/Desktop/images/01012026/21/05/image_01012026_21_06_05_9642.jpg', '/home/pi/Desktop/images/01012026/21/06/image_01012026_21_06_16_10684.jpg', '/home/pi/Desktop/images/01012026/21/06/image_01012026_21_06_25_9719.jpg', '/home/pi/Desktop/images/01012026/21/06/image_01012026_21_06_35_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/05/image_01012026_21_05_46_10592.jpg
/home/pi/Desktop/images/01012026/21/05/image_01012026_21_05_55_9739.jpg
/home/pi/Desktop/images/01012026/21/05/image_01012026_21_06_05_9642.jpg
/home/pi/Desktop/images/01012026/21/06/image_01012026_21_06_16_10684.jpg
/home/pi/Desktop/images/01012026/21/06/image_01012026_21_06_25_9719.jpg
/home/pi/Desktop/images/01012026/21/06/image_01012026_21_06_35_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":["1402046990","1402046987","1402046989","1402046992","1402046986","1402046988"],"photo_ids_order":["1402046986","1402046987","1402046988","1402046989","1402046990","1402046992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80642c91c890586ea47d8716dc0e0030.jpg","text":"TemporaryFile(/tmp/multipartBody8229452424818672892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300483361,"filename":"image_01012026_21_06_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc32808c7e6ce8477fc7d51772c7116d.jpg","text":"TemporaryFile(/tmp/multipartBody5972958071783973977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300483361,"filename":"image_01012026_21_05_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a7d8c60be36d7b0d092d8d3162a03e2e.jpg","text":"TemporaryFile(/tmp/multipartBody8999367946843886504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300483361,"filename":"image_01012026_21_06_16_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b02b46d956bdb745f026e08a7640a91.jpg","text":"TemporaryFile(/tmp/multipartBody3143162804409944254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300483361,"filename":"image_01012026_21_06_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c0d8f6ea3ec0ca0e85b37abe60d84c21.jpg","text":"TemporaryFile(/tmp/multipartBody5732628781884188937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300483361,"filename":"image_01012026_21_05_46_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b1fc42d2e66037e9041248c7dc06ea72.jpg","text":"TemporaryFile(/tmp/multipartBody4888803466973865422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300483361,"filename":"image_01012026_21_06_05_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402046988","file1":"1402046987","file0":"1402046986","file4":"1402046990","file5":"1402046992","file3":"1402046989"},"map_files_photo_id_array":[{"photo_id":"1402046992","filename":"file5"},{"photo_id":"1402046988","filename":"file2"},{"photo_id":"1402046990","filename":"file4"},{"photo_id":"1402046987","filename":"file1"},{"photo_id":"1402046986","filename":"file0"},{"photo_id":"1402046989","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402046990":["hashtag1","hashtag2"]},{"1402046987":["hashtag1","hashtag2"]},{"1402046989":["hashtag1","hashtag2"]},{"1402046992":["hashtag1","hashtag2"]},{"1402046986":["hashtag1","hashtag2"]},{"1402046988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402046990, 1402046987, 1402046989, 1402046992, 1402046986, 1402046988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.95268487930298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:47:42.059010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_32_1584.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_34_1565.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_58_11947.jpg', '/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_59_1638.jpg', '/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_01_1648.jpg', '/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_06_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_32_1584.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_34_1565.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_58_11947.jpg
/home/pi/Desktop/images/04112025/19/48/image_04112025_19_48_59_1638.jpg
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_01_1648.jpg
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_06_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047000","1402047003","1402047002","1402047005","1402047001","1402046997"],"photo_ids_order":["1402046997","1402047000","1402047001","1402047002","1402047003","1402047005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a357b5841cc3ece0c8063a4d5dc834c2.jpg","text":"TemporaryFile(/tmp/multipartBody3715771145260060093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300523964,"filename":"image_04112025_19_48_34_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ea641da16262c1c966b2e373aa4f3c8.jpg","text":"TemporaryFile(/tmp/multipartBody2227225511219088028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300523964,"filename":"image_04112025_19_49_01_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c3cabec667ee5fe57c263ae4d2e0f72.jpg","text":"TemporaryFile(/tmp/multipartBody511613460137854760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300523964,"filename":"image_04112025_19_48_59_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbbced45ec2f353ebfa961e057889520.jpg","text":"TemporaryFile(/tmp/multipartBody2614816291686835541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300523964,"filename":"image_04112025_19_49_06_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07802676c242bd4c43235d064d30042c.jpg","text":"TemporaryFile(/tmp/multipartBody7081872483720207542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300523964,"filename":"image_04112025_19_48_58_11947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/502be316770ba8d9d51c0c2648794e50.jpg","text":"TemporaryFile(/tmp/multipartBody5491887267376672848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300523964,"filename":"image_04112025_19_48_32_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047001","file1":"1402047000","file0":"1402046997","file4":"1402047003","file5":"1402047005","file3":"1402047002"},"map_files_photo_id_array":[{"photo_id":"1402047005","filename":"file5"},{"photo_id":"1402047001","filename":"file2"},{"photo_id":"1402047003","filename":"file4"},{"photo_id":"1402047000","filename":"file1"},{"photo_id":"1402046997","filename":"file0"},{"photo_id":"1402047002","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402047000":["hashtag1","hashtag2"]},{"1402047003":["hashtag1","hashtag2"]},{"1402047002":["hashtag1","hashtag2"]},{"1402047005":["hashtag1","hashtag2"]},{"1402047001":["hashtag1","hashtag2"]},{"1402046997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402047000, 1402047003, 1402047002, 1402047005, 1402047001, 1402046997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05610513687134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:48:22.214488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/06/image_01012026_21_06_56_10594.jpg', '/home/pi/Desktop/images/01012026/21/06/image_01012026_21_07_05_9625.jpg', '/home/pi/Desktop/images/01012026/21/07/image_01012026_21_07_26_10589.jpg', '/home/pi/Desktop/images/01012026/21/07/image_01012026_21_07_35_9582.jpg', '/home/pi/Desktop/images/01012026/21/07/image_01012026_21_07_46_10674.jpg', '/home/pi/Desktop/images/01012026/21/07/image_01012026_21_07_56_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/06/image_01012026_21_06_56_10594.jpg
/home/pi/Desktop/images/01012026/21/06/image_01012026_21_07_05_9625.jpg
/home/pi/Desktop/images/01012026/21/07/image_01012026_21_07_26_10589.jpg
/home/pi/Desktop/images/01012026/21/07/image_01012026_21_07_35_9582.jpg
/home/pi/Desktop/images/01012026/21/07/image_01012026_21_07_46_10674.jpg
/home/pi/Desktop/images/01012026/21/07/image_01012026_21_07_56_9843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047015","1402047009","1402047011","1402047013","1402047007","1402047018"],"photo_ids_order":["1402047007","1402047009","1402047011","1402047013","1402047015","1402047018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb30741a00e07fd8c4173642808b2dee.jpg","text":"TemporaryFile(/tmp/multipartBody6921169234286660860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300562844,"filename":"image_01012026_21_07_46_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a00a41683a8f885b3b68fa60412a8e82.jpg","text":"TemporaryFile(/tmp/multipartBody1036610268559434784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300562844,"filename":"image_01012026_21_07_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d1fbd54707faacce260693c1d66822c.jpg","text":"TemporaryFile(/tmp/multipartBody6550778120643595103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300562844,"filename":"image_01012026_21_07_26_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9b745bb66247ceefc722db7b9ba56a1.jpg","text":"TemporaryFile(/tmp/multipartBody146977785132241175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300562844,"filename":"image_01012026_21_07_35_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7aceb98c407204805e695bd1557181f.jpg","text":"TemporaryFile(/tmp/multipartBody1747879309425865302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300562844,"filename":"image_01012026_21_06_56_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ade46ce0f6d856cb8fca1038d58dba08.jpg","text":"TemporaryFile(/tmp/multipartBody5831360426834301610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300562844,"filename":"image_01012026_21_07_56_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047011","file1":"1402047009","file0":"1402047007","file4":"1402047015","file5":"1402047018","file3":"1402047013"},"map_files_photo_id_array":[{"photo_id":"1402047018","filename":"file5"},{"photo_id":"1402047011","filename":"file2"},{"photo_id":"1402047015","filename":"file4"},{"photo_id":"1402047009","filename":"file1"},{"photo_id":"1402047007","filename":"file0"},{"photo_id":"1402047013","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047015":["hashtag1","hashtag2"]},{"1402047009":["hashtag1","hashtag2"]},{"1402047011":["hashtag1","hashtag2"]},{"1402047013":["hashtag1","hashtag2"]},{"1402047007":["hashtag1","hashtag2"]},{"1402047018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047015, 1402047009, 1402047011, 1402047013, 1402047007, 1402047018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01890540122986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:49:03.398256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_15_9653.jpg', '/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_26_10746.jpg', '/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_36_9936.jpg', '/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_46_9630.jpg', '/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_55_9786.jpg', '/home/pi/Desktop/images/01012026/21/08/image_01012026_21_09_05_9899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_15_9653.jpg
/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_26_10746.jpg
/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_36_9936.jpg
/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_46_9630.jpg
/home/pi/Desktop/images/01012026/21/08/image_01012026_21_08_55_9786.jpg
/home/pi/Desktop/images/01012026/21/08/image_01012026_21_09_05_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":["1402047021","1402047020","1402047025","1402047022","1402047024","1402047027"],"photo_ids_order":["1402047020","1402047021","1402047022","1402047024","1402047025","1402047027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7a78215e7bf5bdb41e9dced148ef299.jpg","text":"TemporaryFile(/tmp/multipartBody3149237555607385239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300604164,"filename":"image_01012026_21_08_26_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8bb6cf0d415668c65ebdfbc69b603bd7.jpg","text":"TemporaryFile(/tmp/multipartBody6067839255378914815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300604164,"filename":"image_01012026_21_08_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79368eabf39c550de4b5fc83c1f647cf.jpg","text":"TemporaryFile(/tmp/multipartBody4589709057178886032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300604164,"filename":"image_01012026_21_08_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4d2a5e07690e7301f5dfa61d6003cf38.jpg","text":"TemporaryFile(/tmp/multipartBody6544894069946381087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300604164,"filename":"image_01012026_21_08_36_9936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27ee8946214ff250c2a34e5d19ed64e5.jpg","text":"TemporaryFile(/tmp/multipartBody5625565914978068856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300604164,"filename":"image_01012026_21_08_46_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/04525548d66816ccee24b90b59a9b71e.jpg","text":"TemporaryFile(/tmp/multipartBody5018050640923712025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300604164,"filename":"image_01012026_21_09_05_9899.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047022","file1":"1402047021","file0":"1402047020","file4":"1402047025","file5":"1402047027","file3":"1402047024"},"map_files_photo_id_array":[{"photo_id":"1402047027","filename":"file5"},{"photo_id":"1402047022","filename":"file2"},{"photo_id":"1402047025","filename":"file4"},{"photo_id":"1402047021","filename":"file1"},{"photo_id":"1402047020","filename":"file0"},{"photo_id":"1402047024","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047021":["hashtag1","hashtag2"]},{"1402047020":["hashtag1","hashtag2"]},{"1402047025":["hashtag1","hashtag2"]},{"1402047022":["hashtag1","hashtag2"]},{"1402047024":["hashtag1","hashtag2"]},{"1402047027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047021, 1402047020, 1402047025, 1402047022, 1402047024, 1402047027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.332736015319824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:49:42.423042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_09_1655.jpg', '/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_11_1667.jpg', '/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_14_1702.jpg', '/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_19_1660.jpg', '/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_24_1722.jpg', '/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_26_1958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_09_1655.jpg
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_11_1667.jpg
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_14_1702.jpg
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_19_1660.jpg
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_24_1722.jpg
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_26_1958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047038","1402047040","1402047037","1402047036","1402047039","1402047033"],"photo_ids_order":["1402047033","1402047036","1402047037","1402047038","1402047039","1402047040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c1889f882289c543f9c4e7cdf699934.jpg","text":"TemporaryFile(/tmp/multipartBody8612401839305453302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300644330,"filename":"image_04112025_19_49_19_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e65d61b66b076af3299876ce85fa6b6c.jpg","text":"TemporaryFile(/tmp/multipartBody8435812121206607946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300644330,"filename":"image_04112025_19_49_26_1958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/934d85870d144855f3ecc76106a07ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3280880308662845240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300644330,"filename":"image_04112025_19_49_14_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c2989209b8d3b7c4a4e5e29201324c2.jpg","text":"TemporaryFile(/tmp/multipartBody4321031225876873682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300644330,"filename":"image_04112025_19_49_11_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f13d6f988ad3c1699125e26602f50812.jpg","text":"TemporaryFile(/tmp/multipartBody6184096587899843660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300644330,"filename":"image_04112025_19_49_24_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0510beacea9643295ad9ff4939591fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7184990466332321784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300644330,"filename":"image_04112025_19_49_09_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047037","file1":"1402047036","file0":"1402047033","file4":"1402047039","file5":"1402047040","file3":"1402047038"},"map_files_photo_id_array":[{"photo_id":"1402047040","filename":"file5"},{"photo_id":"1402047037","filename":"file2"},{"photo_id":"1402047039","filename":"file4"},{"photo_id":"1402047036","filename":"file1"},{"photo_id":"1402047033","filename":"file0"},{"photo_id":"1402047038","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402047038":["hashtag1","hashtag2"]},{"1402047040":["hashtag1","hashtag2"]},{"1402047037":["hashtag1","hashtag2"]},{"1402047036":["hashtag1","hashtag2"]},{"1402047039":["hashtag1","hashtag2"]},{"1402047033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402047038, 1402047040, 1402047037, 1402047036, 1402047039, 1402047033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.163427114486694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:50:22.624366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_16_10693.jpg', '/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_26_9694.jpg', '/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_35_9513.jpg', '/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_46_10641.jpg', '/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_55_9579.jpg', '/home/pi/Desktop/images/01012026/21/09/image_01012026_21_10_05_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_16_10693.jpg
/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_26_9694.jpg
/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_35_9513.jpg
/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_46_10641.jpg
/home/pi/Desktop/images/01012026/21/09/image_01012026_21_09_55_9579.jpg
/home/pi/Desktop/images/01012026/21/09/image_01012026_21_10_05_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047047","1402047041","1402047043","1402047052","1402047049","1402047045"],"photo_ids_order":["1402047041","1402047043","1402047045","1402047047","1402047049","1402047052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8da607abfa1eb2495864a963820c40dd.jpg","text":"TemporaryFile(/tmp/multipartBody6656470398982104542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300683215,"filename":"image_01012026_21_09_46_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dedd47a889dd5db0d093da40ef98c4a2.jpg","text":"TemporaryFile(/tmp/multipartBody2495818665967416670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300683215,"filename":"image_01012026_21_09_16_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8da77fcfbfece53542e4fa539946bbc8.jpg","text":"TemporaryFile(/tmp/multipartBody9208159236268902770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300683215,"filename":"image_01012026_21_09_26_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/71d6fc24eb9cefdea1d1e664b6ecd6cf.jpg","text":"TemporaryFile(/tmp/multipartBody426796159721375710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300683215,"filename":"image_01012026_21_10_05_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fc0046a5ef634e1af097813107690fb.jpg","text":"TemporaryFile(/tmp/multipartBody6500573722694505611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300683215,"filename":"image_01012026_21_09_55_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/800d4fbf8da4ba01e49f1f007dd79420.jpg","text":"TemporaryFile(/tmp/multipartBody7701671676458283567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300683215,"filename":"image_01012026_21_09_35_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047045","file1":"1402047043","file0":"1402047041","file4":"1402047049","file5":"1402047052","file3":"1402047047"},"map_files_photo_id_array":[{"photo_id":"1402047052","filename":"file5"},{"photo_id":"1402047045","filename":"file2"},{"photo_id":"1402047049","filename":"file4"},{"photo_id":"1402047043","filename":"file1"},{"photo_id":"1402047041","filename":"file0"},{"photo_id":"1402047047","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047047":["hashtag1","hashtag2"]},{"1402047041":["hashtag1","hashtag2"]},{"1402047043":["hashtag1","hashtag2"]},{"1402047052":["hashtag1","hashtag2"]},{"1402047049":["hashtag1","hashtag2"]},{"1402047045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047047, 1402047041, 1402047043, 1402047052, 1402047049, 1402047045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86533284187317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:51:03.418359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/10/image_01012026_21_10_15_9919.jpg', '/home/pi/Desktop/images/01012026/21/10/image_01012026_21_10_37_11006.jpg', '/home/pi/Desktop/images/01012026/21/10/image_01012026_21_10_45_8612.jpg', '/home/pi/Desktop/images/01012026/21/10/image_01012026_21_10_55_9618.jpg', '/home/pi/Desktop/images/01012026/21/10/image_01012026_21_11_06_10832.jpg', '/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_16_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/10/image_01012026_21_10_15_9919.jpg
/home/pi/Desktop/images/01012026/21/10/image_01012026_21_10_37_11006.jpg
/home/pi/Desktop/images/01012026/21/10/image_01012026_21_10_45_8612.jpg
/home/pi/Desktop/images/01012026/21/10/image_01012026_21_10_55_9618.jpg
/home/pi/Desktop/images/01012026/21/10/image_01012026_21_11_06_10832.jpg
/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_16_9749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047056","1402047058","1402047055","1402047060","1402047054","1402047057"],"photo_ids_order":["1402047054","1402047055","1402047056","1402047057","1402047058","1402047060"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e30caa76a4180cb92c2b6a847fbc716.jpg","text":"TemporaryFile(/tmp/multipartBody7306999902519606768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300724070,"filename":"image_01012026_21_10_45_8612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c141503ef9c60bc6955c7c74aba28d2.jpg","text":"TemporaryFile(/tmp/multipartBody6289714315369529207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300724070,"filename":"image_01012026_21_11_06_10832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23255c1b511e550440944dfe0af5f3cf.jpg","text":"TemporaryFile(/tmp/multipartBody5569774869629915273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300724070,"filename":"image_01012026_21_10_37_11006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/438d8de6f84eb3979d555faad5c2628e.jpg","text":"TemporaryFile(/tmp/multipartBody6616771200360807338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300724070,"filename":"image_01012026_21_11_16_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b78bc488a25b7c844aefda4f82d698a5.jpg","text":"TemporaryFile(/tmp/multipartBody9187873832943926310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300724070,"filename":"image_01012026_21_10_15_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/678149582b6cbbbbb1e1277da76afcac.jpg","text":"TemporaryFile(/tmp/multipartBody283154381815214875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300724070,"filename":"image_01012026_21_10_55_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047056","file1":"1402047055","file0":"1402047054","file4":"1402047058","file5":"1402047060","file3":"1402047057"},"map_files_photo_id_array":[{"photo_id":"1402047060","filename":"file5"},{"photo_id":"1402047056","filename":"file2"},{"photo_id":"1402047058","filename":"file4"},{"photo_id":"1402047055","filename":"file1"},{"photo_id":"1402047054","filename":"file0"},{"photo_id":"1402047057","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047056":["hashtag1","hashtag2"]},{"1402047058":["hashtag1","hashtag2"]},{"1402047055":["hashtag1","hashtag2"]},{"1402047060":["hashtag1","hashtag2"]},{"1402047054":["hashtag1","hashtag2"]},{"1402047057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047056, 1402047058, 1402047055, 1402047060, 1402047054, 1402047057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7566556930542 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:51:42.873907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_30_2628.jpg', '/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_39_2630.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_04_13566.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_08_1675.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_10_1759.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_11_1875.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_30_2628.jpg
/home/pi/Desktop/images/04112025/19/49/image_04112025_19_49_39_2630.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_04_13566.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_08_1675.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_10_1759.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_11_1875.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047071","1402047070","1402047073","1402047072","1402047066","1402047069"],"photo_ids_order":["1402047066","1402047069","1402047070","1402047071","1402047072","1402047073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c94d47f18118c4b45850509715875acf.jpg","text":"TemporaryFile(/tmp/multipartBody8237920540255660454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300764775,"filename":"image_04112025_19_50_08_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c87a6c57b8a1844f68048130a2cdaf9.jpg","text":"TemporaryFile(/tmp/multipartBody2792854446660643110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300764775,"filename":"image_04112025_19_50_04_13566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb8203538cc098915e3fba006c202b47.jpg","text":"TemporaryFile(/tmp/multipartBody7340747451056619089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300764775,"filename":"image_04112025_19_50_11_1875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bd2a3ef966a23561418299b4cd03e55.jpg","text":"TemporaryFile(/tmp/multipartBody2483584789195594249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300764775,"filename":"image_04112025_19_50_10_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e71e76961d7b8d71a296832272c3a4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7188344698809119406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300764775,"filename":"image_04112025_19_49_30_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d814f0a2dc0db9feb4ea2e229f09f531.jpg","text":"TemporaryFile(/tmp/multipartBody24481010582500785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300764775,"filename":"image_04112025_19_49_39_2630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047070","file1":"1402047069","file0":"1402047066","file4":"1402047072","file5":"1402047073","file3":"1402047071"},"map_files_photo_id_array":[{"photo_id":"1402047073","filename":"file5"},{"photo_id":"1402047070","filename":"file2"},{"photo_id":"1402047072","filename":"file4"},{"photo_id":"1402047069","filename":"file1"},{"photo_id":"1402047066","filename":"file0"},{"photo_id":"1402047071","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402047071":["hashtag1","hashtag2"]},{"1402047070":["hashtag1","hashtag2"]},{"1402047073":["hashtag1","hashtag2"]},{"1402047072":["hashtag1","hashtag2"]},{"1402047066":["hashtag1","hashtag2"]},{"1402047069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402047071, 1402047070, 1402047073, 1402047072, 1402047066, 1402047069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61744046211243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:52:22.037025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_25_9624.jpg', '/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_36_10715.jpg', '/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_46_9674.jpg', '/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_55_9650.jpg', '/home/pi/Desktop/images/01012026/21/11/image_01012026_21_12_06_10615.jpg', '/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_16_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_25_9624.jpg
/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_36_10715.jpg
/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_46_9674.jpg
/home/pi/Desktop/images/01012026/21/11/image_01012026_21_11_55_9650.jpg
/home/pi/Desktop/images/01012026/21/11/image_01012026_21_12_06_10615.jpg
/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_16_9855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047077","1402047080","1402047082","1402047076","1402047084","1402047087"],"photo_ids_order":["1402047076","1402047077","1402047080","1402047082","1402047084","1402047087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f175c592ec1f0d041164b4ea3abe6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6568612765327479454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300802626,"filename":"image_01012026_21_11_36_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42773432ac9fca76827e704d5e7c829a.jpg","text":"TemporaryFile(/tmp/multipartBody4243830419256335848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300802626,"filename":"image_01012026_21_11_46_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a52d3d44c7d83f24e735f23dca53edf5.jpg","text":"TemporaryFile(/tmp/multipartBody3603666233369031597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300802626,"filename":"image_01012026_21_11_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c29944e7be2b440db285994afa22af3.jpg","text":"TemporaryFile(/tmp/multipartBody7655032760231986940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300802626,"filename":"image_01012026_21_11_25_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94413897b245434fe65c9d4b17f53499.jpg","text":"TemporaryFile(/tmp/multipartBody3871120232030786292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300802626,"filename":"image_01012026_21_12_06_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1906a104a5a1b05e64e10b9ce81b028f.jpg","text":"TemporaryFile(/tmp/multipartBody7161151511216888172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300802626,"filename":"image_01012026_21_12_16_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047080","file1":"1402047077","file0":"1402047076","file4":"1402047084","file5":"1402047087","file3":"1402047082"},"map_files_photo_id_array":[{"photo_id":"1402047087","filename":"file5"},{"photo_id":"1402047080","filename":"file2"},{"photo_id":"1402047084","filename":"file4"},{"photo_id":"1402047077","filename":"file1"},{"photo_id":"1402047076","filename":"file0"},{"photo_id":"1402047082","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047077":["hashtag1","hashtag2"]},{"1402047080":["hashtag1","hashtag2"]},{"1402047082":["hashtag1","hashtag2"]},{"1402047076":["hashtag1","hashtag2"]},{"1402047084":["hashtag1","hashtag2"]},{"1402047087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047077, 1402047080, 1402047082, 1402047076, 1402047084, 1402047087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37203526496887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:53:02.967037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_25_9632.jpg', '/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_36_10392.jpg', '/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_45_9565.jpg', '/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_55_9741.jpg', '/home/pi/Desktop/images/01012026/21/12/image_01012026_21_13_06_10643.jpg', '/home/pi/Desktop/images/01012026/21/13/image_01012026_21_13_15_9521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_25_9632.jpg
/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_36_10392.jpg
/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_45_9565.jpg
/home/pi/Desktop/images/01012026/21/12/image_01012026_21_12_55_9741.jpg
/home/pi/Desktop/images/01012026/21/12/image_01012026_21_13_06_10643.jpg
/home/pi/Desktop/images/01012026/21/13/image_01012026_21_13_15_9521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047092","1402047089","1402047088","1402047090","1402047093","1402047095"],"photo_ids_order":["1402047088","1402047089","1402047090","1402047092","1402047093","1402047095"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f6f9521a4bfd8ea3e2efbbdc32fad7c.jpg","text":"TemporaryFile(/tmp/multipartBody6902305600754816422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300843647,"filename":"image_01012026_21_12_55_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2db9eba98bc162f2758deb82c06dc226.jpg","text":"TemporaryFile(/tmp/multipartBody2024446080519358973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300843647,"filename":"image_01012026_21_12_36_10392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94117b4c49f72f75b33922dbec1ef4cc.jpg","text":"TemporaryFile(/tmp/multipartBody216889733958303531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300843647,"filename":"image_01012026_21_12_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72ab1a17ee1d536aa3f48f06dccbb3ad.jpg","text":"TemporaryFile(/tmp/multipartBody2384740675489457456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300843647,"filename":"image_01012026_21_12_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0ae2e0c35d22eb3f9d58d8e438cdf248.jpg","text":"TemporaryFile(/tmp/multipartBody6342467999151371204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300843647,"filename":"image_01012026_21_13_06_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8f160170b9c2b9ee03a4204491371a0.jpg","text":"TemporaryFile(/tmp/multipartBody2528536154765847201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300843647,"filename":"image_01012026_21_13_15_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047090","file1":"1402047089","file0":"1402047088","file4":"1402047093","file5":"1402047095","file3":"1402047092"},"map_files_photo_id_array":[{"photo_id":"1402047095","filename":"file5"},{"photo_id":"1402047090","filename":"file2"},{"photo_id":"1402047093","filename":"file4"},{"photo_id":"1402047089","filename":"file1"},{"photo_id":"1402047088","filename":"file0"},{"photo_id":"1402047092","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047092":["hashtag1","hashtag2"]},{"1402047089":["hashtag1","hashtag2"]},{"1402047088":["hashtag1","hashtag2"]},{"1402047090":["hashtag1","hashtag2"]},{"1402047093":["hashtag1","hashtag2"]},{"1402047095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047092, 1402047089, 1402047088, 1402047090, 1402047093, 1402047095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.930344581604004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:53:42.199177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_21_1760.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_23_1748.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_28_1548.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_29_1579.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_33_1620.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_42_2710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_21_1760.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_23_1748.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_28_1548.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_29_1579.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_33_1620.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_42_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":["1402047108","1402047101","1402047104","1402047107","1402047106","1402047105"],"photo_ids_order":["1402047101","1402047104","1402047105","1402047106","1402047107","1402047108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d85b71be34772cbdc53d6c6785d29363.jpg","text":"TemporaryFile(/tmp/multipartBody3278086531183326657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300884087,"filename":"image_04112025_19_50_42_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64c3b554a3a34d19e2bde556fb4c2da5.jpg","text":"TemporaryFile(/tmp/multipartBody7955911157039619187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300884087,"filename":"image_04112025_19_50_21_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3545a29ae8dcf6954c97f0c4d1521d1a.jpg","text":"TemporaryFile(/tmp/multipartBody4350141491184840192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300884087,"filename":"image_04112025_19_50_23_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2324cc65032aaf35f1311e4a96807164.jpg","text":"TemporaryFile(/tmp/multipartBody8113896210414959340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300884087,"filename":"image_04112025_19_50_33_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e61f49b6cf0c537ce4e0320fd5746360.jpg","text":"TemporaryFile(/tmp/multipartBody2413287890829041017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300884087,"filename":"image_04112025_19_50_29_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8e9c53996bd414a6d643e6643d3b0554.jpg","text":"TemporaryFile(/tmp/multipartBody878721115063420356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300884087,"filename":"image_04112025_19_50_28_1548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047105","file1":"1402047104","file0":"1402047101","file4":"1402047107","file5":"1402047108","file3":"1402047106"},"map_files_photo_id_array":[{"photo_id":"1402047108","filename":"file5"},{"photo_id":"1402047105","filename":"file2"},{"photo_id":"1402047107","filename":"file4"},{"photo_id":"1402047104","filename":"file1"},{"photo_id":"1402047101","filename":"file0"},{"photo_id":"1402047106","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402047108":["hashtag1","hashtag2"]},{"1402047101":["hashtag1","hashtag2"]},{"1402047104":["hashtag1","hashtag2"]},{"1402047107":["hashtag1","hashtag2"]},{"1402047106":["hashtag1","hashtag2"]},{"1402047105":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402047108, 1402047101, 1402047104, 1402047107, 1402047106, 1402047105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.694435596466064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:54:22.441694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/13/image_01012026_21_13_26_10594.jpg', '/home/pi/Desktop/images/01012026/21/13/image_01012026_21_13_36_9804.jpg', '/home/pi/Desktop/images/01012026/21/13/image_01012026_21_13_55_7771.jpg', '/home/pi/Desktop/images/01012026/21/13/image_01012026_21_14_05_9740.jpg', '/home/pi/Desktop/images/01012026/21/14/image_01012026_21_14_26_9831.jpg', '/home/pi/Desktop/images/01012026/21/14/image_01012026_21_14_35_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/13/image_01012026_21_13_26_10594.jpg
/home/pi/Desktop/images/01012026/21/13/image_01012026_21_13_36_9804.jpg
/home/pi/Desktop/images/01012026/21/13/image_01012026_21_13_55_7771.jpg
/home/pi/Desktop/images/01012026/21/13/image_01012026_21_14_05_9740.jpg
/home/pi/Desktop/images/01012026/21/14/image_01012026_21_14_26_9831.jpg
/home/pi/Desktop/images/01012026/21/14/image_01012026_21_14_35_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047114","1402047122","1402047116","1402047110","1402047112","1402047118"],"photo_ids_order":["1402047110","1402047112","1402047114","1402047116","1402047118","1402047122"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38ddcb6527b9d843e321444dfe20757d.jpg","text":"TemporaryFile(/tmp/multipartBody6705571126562565525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300923033,"filename":"image_01012026_21_13_55_7771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a93f7dbafda43b11870089d833a1a6b.jpg","text":"TemporaryFile(/tmp/multipartBody66238304257301673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300923033,"filename":"image_01012026_21_14_35_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97087550daaa17873bac64999340b642.jpg","text":"TemporaryFile(/tmp/multipartBody2726039777672912371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300923033,"filename":"image_01012026_21_14_05_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22d81a3f2ccef8a1506b63dd944a7ac2.jpg","text":"TemporaryFile(/tmp/multipartBody8485021208561556524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300923033,"filename":"image_01012026_21_13_26_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bd62156be50eaf7d1f919eef8992a68.jpg","text":"TemporaryFile(/tmp/multipartBody1800697052187163959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300923033,"filename":"image_01012026_21_13_36_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4025c96dba647b60ef4254bd4af7e8c6.jpg","text":"TemporaryFile(/tmp/multipartBody4689497490095678031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300923033,"filename":"image_01012026_21_14_26_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047114","file1":"1402047112","file0":"1402047110","file4":"1402047118","file5":"1402047122","file3":"1402047116"},"map_files_photo_id_array":[{"photo_id":"1402047122","filename":"file5"},{"photo_id":"1402047114","filename":"file2"},{"photo_id":"1402047118","filename":"file4"},{"photo_id":"1402047112","filename":"file1"},{"photo_id":"1402047110","filename":"file0"},{"photo_id":"1402047116","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047114":["hashtag1","hashtag2"]},{"1402047122":["hashtag1","hashtag2"]},{"1402047116":["hashtag1","hashtag2"]},{"1402047110":["hashtag1","hashtag2"]},{"1402047112":["hashtag1","hashtag2"]},{"1402047118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047114, 1402047122, 1402047116, 1402047110, 1402047112, 1402047118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78414988517761 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:55:03.414841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/14/image_01012026_21_14_46_10559.jpg', '/home/pi/Desktop/images/01012026/21/14/image_01012026_21_15_06_10766.jpg', '/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_16_9674.jpg', '/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_25_9756.jpg', '/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_35_9698.jpg', '/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_46_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/14/image_01012026_21_14_46_10559.jpg
/home/pi/Desktop/images/01012026/21/14/image_01012026_21_15_06_10766.jpg
/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_16_9674.jpg
/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_25_9756.jpg
/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_35_9698.jpg
/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_46_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047134","1402047130","1402047133","1402047127","1402047136","1402047132"],"photo_ids_order":["1402047127","1402047130","1402047132","1402047133","1402047134","1402047136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2abeec9769d0baa0af6c7f0a8d4aca51.jpg","text":"TemporaryFile(/tmp/multipartBody5273949438701437532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300964131,"filename":"image_01012026_21_15_35_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61393e465ce09419acd340e0d16f26c3.jpg","text":"TemporaryFile(/tmp/multipartBody9024414880686457559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300964131,"filename":"image_01012026_21_15_06_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90ffedc9846cabecb672f81e6a4e7433.jpg","text":"TemporaryFile(/tmp/multipartBody8033938177970299980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300964131,"filename":"image_01012026_21_15_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/626dfe842fb7c6610116e5668599bf0e.jpg","text":"TemporaryFile(/tmp/multipartBody2173716773865594299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300964131,"filename":"image_01012026_21_14_46_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f169337a702dde2f0b69e44cce5eb8c.jpg","text":"TemporaryFile(/tmp/multipartBody6541617135520921324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300964131,"filename":"image_01012026_21_15_46_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9df5a49328e6ad09e9b43842fdd9ec7.jpg","text":"TemporaryFile(/tmp/multipartBody6196565409953190009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767300964131,"filename":"image_01012026_21_15_16_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047132","file1":"1402047130","file0":"1402047127","file4":"1402047134","file5":"1402047136","file3":"1402047133"},"map_files_photo_id_array":[{"photo_id":"1402047136","filename":"file5"},{"photo_id":"1402047132","filename":"file2"},{"photo_id":"1402047134","filename":"file4"},{"photo_id":"1402047130","filename":"file1"},{"photo_id":"1402047127","filename":"file0"},{"photo_id":"1402047133","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047134":["hashtag1","hashtag2"]},{"1402047130":["hashtag1","hashtag2"]},{"1402047133":["hashtag1","hashtag2"]},{"1402047127":["hashtag1","hashtag2"]},{"1402047136":["hashtag1","hashtag2"]},{"1402047132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047134, 1402047130, 1402047133, 1402047127, 1402047136, 1402047132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64793872833252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:55:42.627202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_45_2713.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_48_3640.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_51_2734.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_54_2552.jpg', '/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_59_2826.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_06_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_45_2713.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_48_3640.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_51_2734.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_54_2552.jpg
/home/pi/Desktop/images/04112025/19/50/image_04112025_19_50_59_2826.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_06_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":["1402047146","1402047143","1402047145","1402047147","1402047141","1402047144"],"photo_ids_order":["1402047141","1402047143","1402047144","1402047145","1402047146","1402047147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/872201d1a004b0759228f63d60158f5f.jpg","text":"TemporaryFile(/tmp/multipartBody4604202741455470949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301004525,"filename":"image_04112025_19_50_59_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a71f1b7a82e094c8989acad9e92a1b8.jpg","text":"TemporaryFile(/tmp/multipartBody8375741982437570468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301004525,"filename":"image_04112025_19_50_48_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23c476e3abda24aecd876b7094d9f1d9.jpg","text":"TemporaryFile(/tmp/multipartBody3522322784225233868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301004525,"filename":"image_04112025_19_50_54_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edd16f4d885afab9dff51578af4c7b01.jpg","text":"TemporaryFile(/tmp/multipartBody4325438757535653486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301004525,"filename":"image_04112025_19_51_06_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/26417a2b5734a8132dc2165c2db21768.jpg","text":"TemporaryFile(/tmp/multipartBody7319135933622358417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301004525,"filename":"image_04112025_19_50_45_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f1227db0e01f1490972f596aaf79ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody2643035637757579229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301004525,"filename":"image_04112025_19_50_51_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047144","file1":"1402047143","file0":"1402047141","file4":"1402047146","file5":"1402047147","file3":"1402047145"},"map_files_photo_id_array":[{"photo_id":"1402047147","filename":"file5"},{"photo_id":"1402047144","filename":"file2"},{"photo_id":"1402047146","filename":"file4"},{"photo_id":"1402047143","filename":"file1"},{"photo_id":"1402047141","filename":"file0"},{"photo_id":"1402047145","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402047146":["hashtag1","hashtag2"]},{"1402047143":["hashtag1","hashtag2"]},{"1402047145":["hashtag1","hashtag2"]},{"1402047147":["hashtag1","hashtag2"]},{"1402047141":["hashtag1","hashtag2"]},{"1402047144":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402047146, 1402047143, 1402047145, 1402047147, 1402047141, 1402047144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42791986465454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 21:56:22.821267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_56_9755.jpg', '/home/pi/Desktop/images/01012026/21/15/image_01012026_21_16_05_9759.jpg', '/home/pi/Desktop/images/01012026/21/16/image_01012026_21_16_25_9671.jpg', '/home/pi/Desktop/images/01012026/21/16/image_01012026_21_16_36_10696.jpg', '/home/pi/Desktop/images/01012026/21/16/image_01012026_21_16_55_9655.jpg', '/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_15_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/15/image_01012026_21_15_56_9755.jpg
/home/pi/Desktop/images/01012026/21/15/image_01012026_21_16_05_9759.jpg
/home/pi/Desktop/images/01012026/21/16/image_01012026_21_16_25_9671.jpg
/home/pi/Desktop/images/01012026/21/16/image_01012026_21_16_36_10696.jpg
/home/pi/Desktop/images/01012026/21/16/image_01012026_21_16_55_9655.jpg
/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_15_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":["1402047155","1402047149","1402047160","1402047157","1402047151","1402047153"],"photo_ids_order":["1402047149","1402047151","1402047153","1402047155","1402047157","1402047160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/01cc8891d322df81701434046a149dd3.jpg","text":"TemporaryFile(/tmp/multipartBody3381954554967377378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301043479,"filename":"image_01012026_21_16_36_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/154ac3e92a0904a3fd3eb3db50bce44b.jpg","text":"TemporaryFile(/tmp/multipartBody2267274566421635143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301043479,"filename":"image_01012026_21_15_56_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/009c993ca98e89e3d7ca543a983dce70.jpg","text":"TemporaryFile(/tmp/multipartBody4587742043554364888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301043479,"filename":"image_01012026_21_17_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6fc85d9c021e8772d53f31608193479.jpg","text":"TemporaryFile(/tmp/multipartBody6527634405014015313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301043479,"filename":"image_01012026_21_16_55_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1eff9f16ffcb6641317f13ec6f2d76b0.jpg","text":"TemporaryFile(/tmp/multipartBody8326593517789410299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301043479,"filename":"image_01012026_21_16_05_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8f9cf683cd6a5e32d1f83fabe4aabe9.jpg","text":"TemporaryFile(/tmp/multipartBody5724262573146356742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301043479,"filename":"image_01012026_21_16_25_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047153","file1":"1402047151","file0":"1402047149","file4":"1402047157","file5":"1402047160","file3":"1402047155"},"map_files_photo_id_array":[{"photo_id":"1402047160","filename":"file5"},{"photo_id":"1402047153","filename":"file2"},{"photo_id":"1402047157","filename":"file4"},{"photo_id":"1402047151","filename":"file1"},{"photo_id":"1402047149","filename":"file0"},{"photo_id":"1402047155","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047155":["hashtag1","hashtag2"]},{"1402047149":["hashtag1","hashtag2"]},{"1402047160":["hashtag1","hashtag2"]},{"1402047157":["hashtag1","hashtag2"]},{"1402047151":["hashtag1","hashtag2"]},{"1402047153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047155, 1402047149, 1402047160, 1402047157, 1402047151, 1402047153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04282736778259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:57:02.661997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_25_9567.jpg', '/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_36_10600.jpg', '/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_48_12068.jpg', '/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_56_7960.jpg', '/home/pi/Desktop/images/01012026/21/17/image_01012026_21_18_05_9548.jpg', '/home/pi/Desktop/images/01012026/21/18/image_01012026_21_18_16_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_25_9567.jpg
/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_36_10600.jpg
/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_48_12068.jpg
/home/pi/Desktop/images/01012026/21/17/image_01012026_21_17_56_7960.jpg
/home/pi/Desktop/images/01012026/21/17/image_01012026_21_18_05_9548.jpg
/home/pi/Desktop/images/01012026/21/18/image_01012026_21_18_16_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047164","1402047167","1402047161","1402047163","1402047165","1402047162"],"photo_ids_order":["1402047161","1402047162","1402047163","1402047164","1402047165","1402047167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a9e05771142fd98e96c32dcc0e894d9.jpg","text":"TemporaryFile(/tmp/multipartBody1865835800859567449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301083343,"filename":"image_01012026_21_17_56_7960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/090d02631465804043bdd4fd45b77321.jpg","text":"TemporaryFile(/tmp/multipartBody7404866425164696585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301083343,"filename":"image_01012026_21_18_16_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b37bf7195776289233eeff29bcb5fa28.jpg","text":"TemporaryFile(/tmp/multipartBody5564059164789984681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301083343,"filename":"image_01012026_21_17_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/957ab0347c08414a87a5c2cebe092df8.jpg","text":"TemporaryFile(/tmp/multipartBody5438508827615263049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301083343,"filename":"image_01012026_21_17_48_12068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4cdc3e02b69f009463476476e779050.jpg","text":"TemporaryFile(/tmp/multipartBody6234731736715778240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301083343,"filename":"image_01012026_21_18_05_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03c31abc41e4baa1d5d21b6be0582d8e.jpg","text":"TemporaryFile(/tmp/multipartBody5605350265164972411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301083343,"filename":"image_01012026_21_17_36_10600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047163","file1":"1402047162","file0":"1402047161","file4":"1402047165","file5":"1402047167","file3":"1402047164"},"map_files_photo_id_array":[{"photo_id":"1402047167","filename":"file5"},{"photo_id":"1402047163","filename":"file2"},{"photo_id":"1402047165","filename":"file4"},{"photo_id":"1402047162","filename":"file1"},{"photo_id":"1402047161","filename":"file0"},{"photo_id":"1402047164","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047164":["hashtag1","hashtag2"]},{"1402047167":["hashtag1","hashtag2"]},{"1402047161":["hashtag1","hashtag2"]},{"1402047163":["hashtag1","hashtag2"]},{"1402047165":["hashtag1","hashtag2"]},{"1402047162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047164, 1402047167, 1402047161, 1402047163, 1402047165, 1402047162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86445736885071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:57:42.003002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_08_2654.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_18_3746.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_21_2703.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_23_2643.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_30_6748.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_33_3189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_08_2654.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_18_3746.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_21_2703.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_23_2643.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_30_6748.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_33_3189.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.7989020347595215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 21:59:03.279284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/18/image_01012026_21_18_45_10066.jpg', '/home/pi/Desktop/images/01012026/21/18/image_01012026_21_18_56_10642.jpg', '/home/pi/Desktop/images/01012026/21/18/image_01012026_21_19_06_9701.jpg', '/home/pi/Desktop/images/01012026/21/19/image_01012026_21_19_15_9571.jpg', '/home/pi/Desktop/images/01012026/21/19/image_01012026_21_19_26_10656.jpg', '/home/pi/Desktop/images/01012026/21/19/image_01012026_21_19_36_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/18/image_01012026_21_18_45_10066.jpg
/home/pi/Desktop/images/01012026/21/18/image_01012026_21_18_56_10642.jpg
/home/pi/Desktop/images/01012026/21/18/image_01012026_21_19_06_9701.jpg
/home/pi/Desktop/images/01012026/21/19/image_01012026_21_19_15_9571.jpg
/home/pi/Desktop/images/01012026/21/19/image_01012026_21_19_26_10656.jpg
/home/pi/Desktop/images/01012026/21/19/image_01012026_21_19_36_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047191","1402047188","1402047190","1402047183","1402047186","1402047180"],"photo_ids_order":["1402047180","1402047183","1402047186","1402047188","1402047190","1402047191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1aa7e213f850bd48b0127f16736a861d.jpg","text":"TemporaryFile(/tmp/multipartBody7491342992315169606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301204051,"filename":"image_01012026_21_19_36_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e99d5cd47941d5377557ecc42c8bf13e.jpg","text":"TemporaryFile(/tmp/multipartBody6177877397880363075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301204051,"filename":"image_01012026_21_19_15_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecdc4adf08affa9a6514ca1699671380.jpg","text":"TemporaryFile(/tmp/multipartBody2770079290888101262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301204051,"filename":"image_01012026_21_19_26_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68dc4709561313cbd3de423ccca417e2.jpg","text":"TemporaryFile(/tmp/multipartBody2920076431932289907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301204051,"filename":"image_01012026_21_18_56_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6233f1c82ac85ddc1911b9a354022f23.jpg","text":"TemporaryFile(/tmp/multipartBody2036769994135241802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301204051,"filename":"image_01012026_21_19_06_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d3e0880ffb34e434e044113c886bb8a4.jpg","text":"TemporaryFile(/tmp/multipartBody7231057938319456293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301204051,"filename":"image_01012026_21_18_45_10066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047186","file1":"1402047183","file0":"1402047180","file4":"1402047190","file5":"1402047191","file3":"1402047188"},"map_files_photo_id_array":[{"photo_id":"1402047191","filename":"file5"},{"photo_id":"1402047186","filename":"file2"},{"photo_id":"1402047190","filename":"file4"},{"photo_id":"1402047183","filename":"file1"},{"photo_id":"1402047180","filename":"file0"},{"photo_id":"1402047188","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047191":["hashtag1","hashtag2"]},{"1402047188":["hashtag1","hashtag2"]},{"1402047190":["hashtag1","hashtag2"]},{"1402047183":["hashtag1","hashtag2"]},{"1402047186":["hashtag1","hashtag2"]},{"1402047180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047191, 1402047188, 1402047190, 1402047183, 1402047186, 1402047180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14197134971619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 21:59:42.350075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_08_2654.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_18_3746.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_21_2703.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_23_2643.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_30_6748.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_33_3189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_08_2654.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_18_3746.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_21_2703.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_23_2643.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_30_6748.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_33_3189.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047207","1402047199","1402047203","1402047196","1402047205","1402047201"],"photo_ids_order":["1402047196","1402047199","1402047201","1402047203","1402047205","1402047207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94fa3a48759054c271238fc40e636c45.jpg","text":"TemporaryFile(/tmp/multipartBody3939400377001241939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301244103,"filename":"image_04112025_19_51_33_3189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aff55cbc5f6bd69ea800270063207835.jpg","text":"TemporaryFile(/tmp/multipartBody2825127716412428259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301244103,"filename":"image_04112025_19_51_18_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14d3692aa2d60435efa1d757098db48d.jpg","text":"TemporaryFile(/tmp/multipartBody2209697856697663759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301244103,"filename":"image_04112025_19_51_23_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e8cc9f8a0c63908f30ceec7fdbe67c8.jpg","text":"TemporaryFile(/tmp/multipartBody4435856345607613327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301244103,"filename":"image_04112025_19_51_08_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/134d641ab6e407831ef0756c6a927d87.jpg","text":"TemporaryFile(/tmp/multipartBody4806912477816474085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301244103,"filename":"image_04112025_19_51_30_6748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b02ae48b9e09edf837023a537b5cba54.jpg","text":"TemporaryFile(/tmp/multipartBody2143948978278820693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301244103,"filename":"image_04112025_19_51_21_2703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047201","file1":"1402047199","file0":"1402047196","file4":"1402047205","file5":"1402047207","file3":"1402047203"},"map_files_photo_id_array":[{"photo_id":"1402047207","filename":"file5"},{"photo_id":"1402047201","filename":"file2"},{"photo_id":"1402047205","filename":"file4"},{"photo_id":"1402047199","filename":"file1"},{"photo_id":"1402047196","filename":"file0"},{"photo_id":"1402047203","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402047207":["hashtag1","hashtag2"]},{"1402047199":["hashtag1","hashtag2"]},{"1402047203":["hashtag1","hashtag2"]},{"1402047196":["hashtag1","hashtag2"]},{"1402047205":["hashtag1","hashtag2"]},{"1402047201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402047207, 1402047199, 1402047203, 1402047196, 1402047205, 1402047201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05168867111206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:00:22.486002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/19/image_01012026_21_19_46_9793.jpg', '/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_03_17077.jpg', '/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_05_2611.jpg', '/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_16_10663.jpg', '/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_25_9616.jpg', '/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_35_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/19/image_01012026_21_19_46_9793.jpg
/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_03_17077.jpg
/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_05_2611.jpg
/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_16_10663.jpg
/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_25_9616.jpg
/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_35_9610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402047478","1402047289","1402047364","1402047439","1402047403","1402047324"],"photo_ids_order":["1402047289","1402047324","1402047364","1402047403","1402047439","1402047478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b23d139ca90f0553ccaea723e6daba58.jpg","text":"TemporaryFile(/tmp/multipartBody3657889911899433501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301283075,"filename":"image_01012026_21_20_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2af148c6a171ba8b7d332655a0ea8e33.jpg","text":"TemporaryFile(/tmp/multipartBody3131218888107023987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301283075,"filename":"image_01012026_21_19_46_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dde0a38712aff3619b3f294122173f06.jpg","text":"TemporaryFile(/tmp/multipartBody1958108717755877406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301283075,"filename":"image_01012026_21_20_05_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffa441b421c4c0697a6b610887731cc2.jpg","text":"TemporaryFile(/tmp/multipartBody7081776501270701076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301283075,"filename":"image_01012026_21_20_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62bfdd18428a5cf0f5336f23bc0c13b7.jpg","text":"TemporaryFile(/tmp/multipartBody7547447768897914636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301283075,"filename":"image_01012026_21_20_16_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/69b409144dd561f86d063c17648f3287.jpg","text":"TemporaryFile(/tmp/multipartBody8560715418465745178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301283075,"filename":"image_01012026_21_20_03_17077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047364","file1":"1402047324","file0":"1402047289","file4":"1402047439","file5":"1402047478","file3":"1402047403"},"map_files_photo_id_array":[{"photo_id":"1402047478","filename":"file5"},{"photo_id":"1402047364","filename":"file2"},{"photo_id":"1402047439","filename":"file4"},{"photo_id":"1402047324","filename":"file1"},{"photo_id":"1402047289","filename":"file0"},{"photo_id":"1402047403","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047478":["hashtag1","hashtag2"]},{"1402047289":["hashtag1","hashtag2"]},{"1402047364":["hashtag1","hashtag2"]},{"1402047439":["hashtag1","hashtag2"]},{"1402047403":["hashtag1","hashtag2"]},{"1402047324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047478, 1402047289, 1402047364, 1402047439, 1402047403, 1402047324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17711877822876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:01:03.455041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_56_9733.jpg', '/home/pi/Desktop/images/01012026/21/20/image_01012026_21_21_05_9649.jpg', '/home/pi/Desktop/images/01012026/21/21/image_01012026_21_21_26_9690.jpg', '/home/pi/Desktop/images/01012026/21/21/image_01012026_21_21_35_9632.jpg', '/home/pi/Desktop/images/01012026/21/21/image_01012026_21_21_46_10633.jpg', '/home/pi/Desktop/images/01012026/21/21/image_01012026_21_21_56_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/20/image_01012026_21_20_56_9733.jpg
/home/pi/Desktop/images/01012026/21/20/image_01012026_21_21_05_9649.jpg
/home/pi/Desktop/images/01012026/21/21/image_01012026_21_21_26_9690.jpg
/home/pi/Desktop/images/01012026/21/21/image_01012026_21_21_35_9632.jpg
/home/pi/Desktop/images/01012026/21/21/image_01012026_21_21_46_10633.jpg
/home/pi/Desktop/images/01012026/21/21/image_01012026_21_21_56_9790.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":["1402047812","1402047763","1402047619","1402047706","1402047657","1402047810"],"photo_ids_order":["1402047619","1402047657","1402047706","1402047763","1402047810","1402047812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/127c1e958e43ba01c304bc5a9679f40e.jpg","text":"TemporaryFile(/tmp/multipartBody4551739628902108956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301324109,"filename":"image_01012026_21_21_56_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/193c7ac48e4854e31bdfeeef22b6eb1a.jpg","text":"TemporaryFile(/tmp/multipartBody3410364288820126203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301324109,"filename":"image_01012026_21_21_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27ef5c73dfdba2aa95f7dac25130abe8.jpg","text":"TemporaryFile(/tmp/multipartBody5207693256730942217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301324109,"filename":"image_01012026_21_20_56_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cbe1d672ed75458ed14960f6f7e87ca.jpg","text":"TemporaryFile(/tmp/multipartBody2557194808213784846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301324109,"filename":"image_01012026_21_21_26_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/654718880987eb5a9806c4f36e2005b6.jpg","text":"TemporaryFile(/tmp/multipartBody8402271713072055676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301324109,"filename":"image_01012026_21_21_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40db513ab429c74b571efade246dc92c.jpg","text":"TemporaryFile(/tmp/multipartBody266186731002275868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301324109,"filename":"image_01012026_21_21_46_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047706","file1":"1402047657","file0":"1402047619","file4":"1402047810","file5":"1402047812","file3":"1402047763"},"map_files_photo_id_array":[{"photo_id":"1402047812","filename":"file5"},{"photo_id":"1402047706","filename":"file2"},{"photo_id":"1402047810","filename":"file4"},{"photo_id":"1402047657","filename":"file1"},{"photo_id":"1402047619","filename":"file0"},{"photo_id":"1402047763","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047812":["hashtag1","hashtag2"]},{"1402047763":["hashtag1","hashtag2"]},{"1402047619":["hashtag1","hashtag2"]},{"1402047706":["hashtag1","hashtag2"]},{"1402047657":["hashtag1","hashtag2"]},{"1402047810":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047812, 1402047763, 1402047619, 1402047706, 1402047657, 1402047810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.44357967376709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:02:02.211691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_05_9289.jpg', '/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_16_10809.jpg', '/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_26_9768.jpg', '/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_35_9633.jpg', '/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_46_10712.jpg', '/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_56_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_05_9289.jpg
/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_16_10809.jpg
/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_26_9768.jpg
/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_35_9633.jpg
/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_46_10712.jpg
/home/pi/Desktop/images/01012026/21/22/image_01012026_21_22_56_9797.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":["1402047986","1402047950","1402047872","1402047911","1402047999","1402047834"],"photo_ids_order":["1402047834","1402047872","1402047911","1402047950","1402047986","1402047999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79d938df74ce4b4b324fff247cf815e6.jpg","text":"TemporaryFile(/tmp/multipartBody3301668682663478411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301383876,"filename":"image_01012026_21_22_46_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5a5e73fa0ebc9c62bae829401294548.jpg","text":"TemporaryFile(/tmp/multipartBody6267111278676330104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301383876,"filename":"image_01012026_21_22_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0eef3d38a0c63694384477d088fd22e.jpg","text":"TemporaryFile(/tmp/multipartBody6004788195924181103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301383876,"filename":"image_01012026_21_22_16_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d959955ca64e9de6ea8d6979708414cd.jpg","text":"TemporaryFile(/tmp/multipartBody8825118835416909854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301383876,"filename":"image_01012026_21_22_26_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f06953794b9fb3be089baeaa5d52d48e.jpg","text":"TemporaryFile(/tmp/multipartBody5016739368766642040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301383876,"filename":"image_01012026_21_22_56_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce4a213269506040648d0e822ba09b94.jpg","text":"TemporaryFile(/tmp/multipartBody8049963355359071145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301383876,"filename":"image_01012026_21_22_05_9289.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402047911","file1":"1402047872","file0":"1402047834","file4":"1402047986","file5":"1402047999","file3":"1402047950"},"map_files_photo_id_array":[{"photo_id":"1402047999","filename":"file5"},{"photo_id":"1402047911","filename":"file2"},{"photo_id":"1402047986","filename":"file4"},{"photo_id":"1402047872","filename":"file1"},{"photo_id":"1402047834","filename":"file0"},{"photo_id":"1402047950","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402047986":["hashtag1","hashtag2"]},{"1402047950":["hashtag1","hashtag2"]},{"1402047872":["hashtag1","hashtag2"]},{"1402047911":["hashtag1","hashtag2"]},{"1402047999":["hashtag1","hashtag2"]},{"1402047834":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402047986, 1402047950, 1402047872, 1402047911, 1402047999, 1402047834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.30797290802002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:03:02.816922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/22/image_01012026_21_23_05_9688.jpg', '/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_16_10310.jpg', '/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_25_9798.jpg', '/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_35_9647.jpg', '/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_46_10734.jpg', '/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_55_9151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/22/image_01012026_21_23_05_9688.jpg
/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_16_10310.jpg
/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_25_9798.jpg
/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_35_9647.jpg
/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_46_10734.jpg
/home/pi/Desktop/images/01012026/21/23/image_01012026_21_23_55_9151.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402048099","1402048252","1402048177","1402048215","1402048289","1402048136"],"photo_ids_order":["1402048099","1402048136","1402048177","1402048215","1402048252","1402048289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d28c9138327d9cbcd961acffb963db36.jpg","text":"TemporaryFile(/tmp/multipartBody3966003219475707991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301444244,"filename":"image_01012026_21_23_05_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/24115f22c9dc9aa069676cef0d119387.jpg","text":"TemporaryFile(/tmp/multipartBody5891493733965356994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301444244,"filename":"image_01012026_21_23_46_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb67c39f14fe7e0a52b0cf39990c6f7a.jpg","text":"TemporaryFile(/tmp/multipartBody5127380305717371149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301444244,"filename":"image_01012026_21_23_25_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e970b045738f20a2d075f6a0577ab5f8.jpg","text":"TemporaryFile(/tmp/multipartBody8078605716506045481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301444244,"filename":"image_01012026_21_23_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/218b7f297ba48e04a664973579cbdcfe.jpg","text":"TemporaryFile(/tmp/multipartBody525373838425847117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301444244,"filename":"image_01012026_21_23_55_9151.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d614063d6c139f2d51ddd503dfe46b57.jpg","text":"TemporaryFile(/tmp/multipartBody9108784935086068288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301444244,"filename":"image_01012026_21_23_16_10310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402048177","file1":"1402048136","file0":"1402048099","file4":"1402048252","file5":"1402048289","file3":"1402048215"},"map_files_photo_id_array":[{"photo_id":"1402048289","filename":"file5"},{"photo_id":"1402048177","filename":"file2"},{"photo_id":"1402048252","filename":"file4"},{"photo_id":"1402048136","filename":"file1"},{"photo_id":"1402048099","filename":"file0"},{"photo_id":"1402048215","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402048099":["hashtag1","hashtag2"]},{"1402048252":["hashtag1","hashtag2"]},{"1402048177":["hashtag1","hashtag2"]},{"1402048215":["hashtag1","hashtag2"]},{"1402048289":["hashtag1","hashtag2"]},{"1402048136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402048099, 1402048252, 1402048177, 1402048215, 1402048289, 1402048136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42594885826111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:03:42.121799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_37_1924.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_39_1538.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_42_3673.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_45_2988.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_48_2566.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_50_2576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_37_1924.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_39_1538.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_42_3673.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_45_2988.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_48_2566.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_50_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":["1402048436","1402048624","1402048549","1402048513","1402048476","1402048586"],"photo_ids_order":["1402048436","1402048476","1402048513","1402048549","1402048586","1402048624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97ef8bcdcf967d595f5153d7bab25d6f.jpg","text":"TemporaryFile(/tmp/multipartBody2094976852860348579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301484057,"filename":"image_04112025_19_51_37_1924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94d048edbca16b564a474f1fabeebf49.jpg","text":"TemporaryFile(/tmp/multipartBody6912543555462738473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301484057,"filename":"image_04112025_19_51_50_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3af93618bfbb747747cbec3d1be977dc.jpg","text":"TemporaryFile(/tmp/multipartBody8596218680960165266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301484057,"filename":"image_04112025_19_51_45_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f923f324ba2a6cf2a5435dc69e265a2.jpg","text":"TemporaryFile(/tmp/multipartBody6460836159731265001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301484057,"filename":"image_04112025_19_51_42_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe74a383dbf878185c3d8b3583e89dd8.jpg","text":"TemporaryFile(/tmp/multipartBody2760427612121655967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301484057,"filename":"image_04112025_19_51_39_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/17263accde5fe928ed7b8a7dd2a86d66.jpg","text":"TemporaryFile(/tmp/multipartBody2546102452542351046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301484057,"filename":"image_04112025_19_51_48_2566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402048513","file1":"1402048476","file0":"1402048436","file4":"1402048586","file5":"1402048624","file3":"1402048549"},"map_files_photo_id_array":[{"photo_id":"1402048624","filename":"file5"},{"photo_id":"1402048513","filename":"file2"},{"photo_id":"1402048586","filename":"file4"},{"photo_id":"1402048476","filename":"file1"},{"photo_id":"1402048436","filename":"file0"},{"photo_id":"1402048549","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402048436":["hashtag1","hashtag2"]},{"1402048624":["hashtag1","hashtag2"]},{"1402048549":["hashtag1","hashtag2"]},{"1402048513":["hashtag1","hashtag2"]},{"1402048476":["hashtag1","hashtag2"]},{"1402048586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402048436, 1402048624, 1402048549, 1402048513, 1402048476, 1402048586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24675750732422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:04:22.372551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/23/image_01012026_21_24_06_10665.jpg', '/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_25_9680.jpg', '/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_36_10571.jpg', '/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_46_10278.jpg', '/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_15_9654.jpg', '/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_35_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/23/image_01012026_21_24_06_10665.jpg
/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_25_9680.jpg
/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_36_10571.jpg
/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_46_10278.jpg
/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_15_9654.jpg
/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_35_9828.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.522580623626709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:04:32.321044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_54_3643.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_57_2830.jpg', '/home/pi/Desktop/images/04112025/19/51/image_04112025_19_52_00_2743.jpg', '/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_06_2716.jpg', '/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_09_3552.jpg', '/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_12_2636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_54_3643.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_51_57_2830.jpg
/home/pi/Desktop/images/04112025/19/51/image_04112025_19_52_00_2743.jpg
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_06_2716.jpg
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_09_3552.jpg
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_12_2636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402048712","1402048709","1402048716","1402048793","1402048719","1402048757"],"photo_ids_order":["1402048709","1402048712","1402048716","1402048719","1402048757","1402048793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89a508f7bef849870ed0789653fb1d90.jpg","text":"TemporaryFile(/tmp/multipartBody2137610150746965885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301534237,"filename":"image_04112025_19_51_57_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9265d7413958f3d81ccd7fb12630a5eb.jpg","text":"TemporaryFile(/tmp/multipartBody5937898094685208507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301534237,"filename":"image_04112025_19_51_54_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5c114d69b16db659c866c7bdf08d7da.jpg","text":"TemporaryFile(/tmp/multipartBody2398198379187794242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301534237,"filename":"image_04112025_19_52_00_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f387713543df84ba579f106f417e47d2.jpg","text":"TemporaryFile(/tmp/multipartBody4702788844815732593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301534237,"filename":"image_04112025_19_52_12_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/93d4c8b5fbb66aeaab2a539d33b8e763.jpg","text":"TemporaryFile(/tmp/multipartBody6193453078574007272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301534237,"filename":"image_04112025_19_52_06_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/249a179faacc40495615372a64be3010.jpg","text":"TemporaryFile(/tmp/multipartBody3516396086307790712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301534237,"filename":"image_04112025_19_52_09_3552.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402048716","file1":"1402048712","file0":"1402048709","file4":"1402048757","file5":"1402048793","file3":"1402048719"},"map_files_photo_id_array":[{"photo_id":"1402048793","filename":"file5"},{"photo_id":"1402048716","filename":"file2"},{"photo_id":"1402048757","filename":"file4"},{"photo_id":"1402048712","filename":"file1"},{"photo_id":"1402048709","filename":"file0"},{"photo_id":"1402048719","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402048712":["hashtag1","hashtag2"]},{"1402048709":["hashtag1","hashtag2"]},{"1402048716":["hashtag1","hashtag2"]},{"1402048793":["hashtag1","hashtag2"]},{"1402048719":["hashtag1","hashtag2"]},{"1402048757":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402048712, 1402048709, 1402048716, 1402048793, 1402048719, 1402048757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.808005809783936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:05:12.537533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_30_2813.jpg', '/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_38_6218.jpg', '/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_42_3129.jpg', '/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_43_1715.jpg', '/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_48_2656.jpg', '/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_50_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_30_2813.jpg
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_38_6218.jpg
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_42_3129.jpg
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_43_1715.jpg
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_48_2656.jpg
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_50_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402049312","1402049050","1402049181","1402048903","1402048896","1402049444"],"photo_ids_order":["1402048896","1402048903","1402049050","1402049181","1402049312","1402049444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/255c4a2f3cdf4ab0a2e4cc075850df01.jpg","text":"TemporaryFile(/tmp/multipartBody3874284915429753935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301574327,"filename":"image_04112025_19_52_48_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba8080c546bef9f6deff8fe4efd36571.jpg","text":"TemporaryFile(/tmp/multipartBody7907487345374835248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301574327,"filename":"image_04112025_19_52_42_3129.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb4f2e1e666d1d884bf8ac95cf577ecd.jpg","text":"TemporaryFile(/tmp/multipartBody7012697253613302068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301574327,"filename":"image_04112025_19_52_43_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77ae192255e0366178a0831daa54c4da.jpg","text":"TemporaryFile(/tmp/multipartBody4679524781888156942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301574327,"filename":"image_04112025_19_52_38_6218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/902a50720d4e19ebe46e2315e963bad2.jpg","text":"TemporaryFile(/tmp/multipartBody6848166259926285595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301574327,"filename":"image_04112025_19_52_30_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38ad35e1128e9d409cde16c5034a337d.jpg","text":"TemporaryFile(/tmp/multipartBody7978944199877829339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301574327,"filename":"image_04112025_19_52_50_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402049050","file1":"1402048903","file0":"1402048896","file4":"1402049312","file5":"1402049444","file3":"1402049181"},"map_files_photo_id_array":[{"photo_id":"1402049444","filename":"file5"},{"photo_id":"1402049050","filename":"file2"},{"photo_id":"1402049312","filename":"file4"},{"photo_id":"1402048903","filename":"file1"},{"photo_id":"1402048896","filename":"file0"},{"photo_id":"1402049181","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402049312":["hashtag1","hashtag2"]},{"1402049050":["hashtag1","hashtag2"]},{"1402049181":["hashtag1","hashtag2"]},{"1402048903":["hashtag1","hashtag2"]},{"1402048896":["hashtag1","hashtag2"]},{"1402049444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402049312, 1402049050, 1402049181, 1402048903, 1402048896, 1402049444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28910160064697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:06:03.152314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/23/image_01012026_21_24_06_10665.jpg', '/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_25_9680.jpg', '/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_36_10571.jpg', '/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_46_10278.jpg', '/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_15_9654.jpg', '/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_35_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/23/image_01012026_21_24_06_10665.jpg
/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_25_9680.jpg
/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_36_10571.jpg
/home/pi/Desktop/images/01012026/21/24/image_01012026_21_24_46_10278.jpg
/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_15_9654.jpg
/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_35_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":["1402050484","1402050196","1402050337","1402050115","1402050078","1402050039"],"photo_ids_order":["1402050039","1402050078","1402050115","1402050196","1402050337","1402050484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb521a3ed371047b8eda116b6fe13d75.jpg","text":"TemporaryFile(/tmp/multipartBody8964080741526830514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301623775,"filename":"image_01012026_21_25_35_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1317798ad72ae03fc0285ddbe53e6934.jpg","text":"TemporaryFile(/tmp/multipartBody4110463821063668485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301623775,"filename":"image_01012026_21_24_46_10278.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b6d45b7a3d0e9e03e47a02625b0026e0.jpg","text":"TemporaryFile(/tmp/multipartBody7257159748938694807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301623775,"filename":"image_01012026_21_25_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f21040add13b9c0a503d520d0b3581e5.jpg","text":"TemporaryFile(/tmp/multipartBody764196881127465088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301623775,"filename":"image_01012026_21_24_36_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e67d96ed785c73c1a24b49eb6b505b1.jpg","text":"TemporaryFile(/tmp/multipartBody3206356001926026831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301623775,"filename":"image_01012026_21_24_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fa9e48e7b8661570e09043d43d2d2cf.jpg","text":"TemporaryFile(/tmp/multipartBody5800367461632862685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301623775,"filename":"image_01012026_21_24_06_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402050115","file1":"1402050078","file0":"1402050039","file4":"1402050337","file5":"1402050484","file3":"1402050196"},"map_files_photo_id_array":[{"photo_id":"1402050484","filename":"file5"},{"photo_id":"1402050115","filename":"file2"},{"photo_id":"1402050337","filename":"file4"},{"photo_id":"1402050078","filename":"file1"},{"photo_id":"1402050039","filename":"file0"},{"photo_id":"1402050196","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402050484":["hashtag1","hashtag2"]},{"1402050196":["hashtag1","hashtag2"]},{"1402050337":["hashtag1","hashtag2"]},{"1402050115":["hashtag1","hashtag2"]},{"1402050078":["hashtag1","hashtag2"]},{"1402050039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402050484, 1402050196, 1402050337, 1402050115, 1402050078, 1402050039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.225247859954834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:06:42.633579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_54_3578.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_03_2677.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_08_4816.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_11_3045.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_15_2773.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_18_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/52/image_04112025_19_52_54_3578.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_03_2677.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_08_4816.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_11_3045.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_15_2773.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_18_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402051194","1402051108","1402051009","1402050924","1402051070","1402051250"],"photo_ids_order":["1402050924","1402051009","1402051070","1402051108","1402051194","1402051250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8cd5920f50a4759b12b4c757ae40e0e.jpg","text":"TemporaryFile(/tmp/multipartBody5959611030697333076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301664550,"filename":"image_04112025_19_53_15_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdca09544b996ba5b3da1094e7fe0c14.jpg","text":"TemporaryFile(/tmp/multipartBody3589518538921892179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301664550,"filename":"image_04112025_19_53_11_3045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/864a7e7f0fb4625d481b8edf93c8e2a1.jpg","text":"TemporaryFile(/tmp/multipartBody6347987431610347796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301664550,"filename":"image_04112025_19_53_03_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91aee6a88dc44892e694ba5f6d0cd8c9.jpg","text":"TemporaryFile(/tmp/multipartBody3160420282328969232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301664550,"filename":"image_04112025_19_52_54_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/baa3e5bbbe8be0bc89f16202a606f436.jpg","text":"TemporaryFile(/tmp/multipartBody6097932731078670171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301664550,"filename":"image_04112025_19_53_08_4816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c26bc0a132508b9c17e5a35a4074fc4f.jpg","text":"TemporaryFile(/tmp/multipartBody612852554390580551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301664550,"filename":"image_04112025_19_53_18_2718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402051070","file1":"1402051009","file0":"1402050924","file4":"1402051194","file5":"1402051250","file3":"1402051108"},"map_files_photo_id_array":[{"photo_id":"1402051250","filename":"file5"},{"photo_id":"1402051070","filename":"file2"},{"photo_id":"1402051194","filename":"file4"},{"photo_id":"1402051009","filename":"file1"},{"photo_id":"1402050924","filename":"file0"},{"photo_id":"1402051108","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402051194":["hashtag1","hashtag2"]},{"1402051108":["hashtag1","hashtag2"]},{"1402051009":["hashtag1","hashtag2"]},{"1402050924":["hashtag1","hashtag2"]},{"1402051070":["hashtag1","hashtag2"]},{"1402051250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402051194, 1402051108, 1402051009, 1402050924, 1402051070, 1402051250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.63733744621277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:07:32.856378
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_20_2687.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_41_1643.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_43_1630.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_45_1638.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_55_3223.jpg', '/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_57_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_20_2687.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_41_1643.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_43_1630.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_45_1638.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_55_3223.jpg
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_53_57_1752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402051384","1402051387","1402051389","1402051379","1402051388","1402051381"],"photo_ids_order":["1402051379","1402051381","1402051384","1402051387","1402051388","1402051389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c7a22037a0906e6fc2bbb7fd0ef10056.jpg","text":"TemporaryFile(/tmp/multipartBody8826530676597527262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301714636,"filename":"image_04112025_19_53_43_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f92aa366408703cddabb10abf81136a.jpg","text":"TemporaryFile(/tmp/multipartBody1795115351076826114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301714636,"filename":"image_04112025_19_53_45_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/340d37399e2a63fb62c1396fcc5eb8c6.jpg","text":"TemporaryFile(/tmp/multipartBody7893995425109618771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301714636,"filename":"image_04112025_19_53_57_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e7b45c00bcb7397207163a68631ba36.jpg","text":"TemporaryFile(/tmp/multipartBody2940532537619192847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301714636,"filename":"image_04112025_19_53_20_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9138cd69cc33858f88aa728ff8452d78.jpg","text":"TemporaryFile(/tmp/multipartBody4389735095424820294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301714636,"filename":"image_04112025_19_53_55_3223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b131210a7e68aac5f59fe506e802390d.jpg","text":"TemporaryFile(/tmp/multipartBody8491455329536925448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301714636,"filename":"image_04112025_19_53_41_1643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402051384","file1":"1402051381","file0":"1402051379","file4":"1402051388","file5":"1402051389","file3":"1402051387"},"map_files_photo_id_array":[{"photo_id":"1402051389","filename":"file5"},{"photo_id":"1402051384","filename":"file2"},{"photo_id":"1402051388","filename":"file4"},{"photo_id":"1402051381","filename":"file1"},{"photo_id":"1402051379","filename":"file0"},{"photo_id":"1402051387","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402051384":["hashtag1","hashtag2"]},{"1402051387":["hashtag1","hashtag2"]},{"1402051389":["hashtag1","hashtag2"]},{"1402051379":["hashtag1","hashtag2"]},{"1402051388":["hashtag1","hashtag2"]},{"1402051381":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402051384, 1402051387, 1402051389, 1402051379, 1402051388, 1402051381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.79914379119873 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:08:22.023570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_56_10604.jpg', '/home/pi/Desktop/images/01012026/21/25/image_01012026_21_26_05_9549.jpg', '/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_15_9747.jpg', '/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_25_9787.jpg', '/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_36_10648.jpg', '/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_45_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/25/image_01012026_21_25_56_10604.jpg
/home/pi/Desktop/images/01012026/21/25/image_01012026_21_26_05_9549.jpg
/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_15_9747.jpg
/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_25_9787.jpg
/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_36_10648.jpg
/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_45_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":["1402051636","1402051639","1402051573","1402051533","1402051614","1402051634"],"photo_ids_order":["1402051533","1402051573","1402051614","1402051634","1402051636","1402051639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/362e31fb5705a1507a345b39944b53df.jpg","text":"TemporaryFile(/tmp/multipartBody7992719108691700153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301762637,"filename":"image_01012026_21_26_36_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4a9fb13610d8e28b1e9412f476193c5.jpg","text":"TemporaryFile(/tmp/multipartBody2315465295060625561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301762637,"filename":"image_01012026_21_26_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e721fd1a3cf5cd155bde0b8dfc6ac09c.jpg","text":"TemporaryFile(/tmp/multipartBody4916568665619758198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301762637,"filename":"image_01012026_21_26_05_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64ed23812da5c5e5ad61765c30dabf45.jpg","text":"TemporaryFile(/tmp/multipartBody5468134194816739815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301762637,"filename":"image_01012026_21_25_56_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/875f8dd3b8eb860a7f0d81c9342395b8.jpg","text":"TemporaryFile(/tmp/multipartBody5297119794713642437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301762637,"filename":"image_01012026_21_26_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f4c5de283f4483fa81772bf576b473a.jpg","text":"TemporaryFile(/tmp/multipartBody1020447438895202271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301762637,"filename":"image_01012026_21_26_25_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402051614","file1":"1402051573","file0":"1402051533","file4":"1402051636","file5":"1402051639","file3":"1402051634"},"map_files_photo_id_array":[{"photo_id":"1402051639","filename":"file5"},{"photo_id":"1402051614","filename":"file2"},{"photo_id":"1402051636","filename":"file4"},{"photo_id":"1402051573","filename":"file1"},{"photo_id":"1402051533","filename":"file0"},{"photo_id":"1402051634","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402051636":["hashtag1","hashtag2"]},{"1402051639":["hashtag1","hashtag2"]},{"1402051573":["hashtag1","hashtag2"]},{"1402051533":["hashtag1","hashtag2"]},{"1402051614":["hashtag1","hashtag2"]},{"1402051634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402051636, 1402051639, 1402051573, 1402051533, 1402051614, 1402051634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.861135959625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:09:03.164838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_56_10595.jpg', '/home/pi/Desktop/images/01012026/21/26/image_01012026_21_27_05_9576.jpg', '/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_15_9707.jpg', '/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_26_10794.jpg', '/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_36_9770.jpg', '/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_45_9523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/26/image_01012026_21_26_56_10595.jpg
/home/pi/Desktop/images/01012026/21/26/image_01012026_21_27_05_9576.jpg
/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_15_9707.jpg
/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_26_10794.jpg
/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_36_9770.jpg
/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_45_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":["1402051706","1402051756","1402051741","1402051759","1402051755","1402051757"],"photo_ids_order":["1402051706","1402051741","1402051755","1402051756","1402051757","1402051759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8dd2563c2c5d0a522d959c0be5f4afb.jpg","text":"TemporaryFile(/tmp/multipartBody895001714499828355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301803953,"filename":"image_01012026_21_26_56_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a37b06a5b68f7af0d1db4c4ec10526c.jpg","text":"TemporaryFile(/tmp/multipartBody5821455063156223616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301803953,"filename":"image_01012026_21_27_26_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c2b45f04d726ba1f388a2ac05e66a49f.jpg","text":"TemporaryFile(/tmp/multipartBody716575935966700286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301803953,"filename":"image_01012026_21_27_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30694651c0c1e294958dca6f46e797d7.jpg","text":"TemporaryFile(/tmp/multipartBody3638228390453694909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301803953,"filename":"image_01012026_21_27_45_9523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cccbeabefeff130d65d50f7e251d6243.jpg","text":"TemporaryFile(/tmp/multipartBody3234644495449569756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301803953,"filename":"image_01012026_21_27_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff86ace97f7228f9e697e139dd7a31aa.jpg","text":"TemporaryFile(/tmp/multipartBody3416116181713174451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301803953,"filename":"image_01012026_21_27_36_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402051755","file1":"1402051741","file0":"1402051706","file4":"1402051757","file5":"1402051759","file3":"1402051756"},"map_files_photo_id_array":[{"photo_id":"1402051759","filename":"file5"},{"photo_id":"1402051755","filename":"file2"},{"photo_id":"1402051757","filename":"file4"},{"photo_id":"1402051741","filename":"file1"},{"photo_id":"1402051706","filename":"file0"},{"photo_id":"1402051756","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402051706":["hashtag1","hashtag2"]},{"1402051756":["hashtag1","hashtag2"]},{"1402051741":["hashtag1","hashtag2"]},{"1402051759":["hashtag1","hashtag2"]},{"1402051755":["hashtag1","hashtag2"]},{"1402051757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402051706, 1402051756, 1402051741, 1402051759, 1402051755, 1402051757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36609888076782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:09:42.300097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/53/image_04112025_19_54_00_3091.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_02_1682.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_04_1868.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_05_1659.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_13_4190.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_30_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/53/image_04112025_19_54_00_3091.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_02_1682.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_04_1868.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_05_1659.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_13_4190.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_30_1629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402051768","1402051770","1402051764","1402051767","1402051769","1402051766"],"photo_ids_order":["1402051764","1402051766","1402051767","1402051768","1402051769","1402051770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fa3c96a6482194b3fa61141706444904.jpg","text":"TemporaryFile(/tmp/multipartBody6426358945288350572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301844206,"filename":"image_04112025_19_54_05_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c51d73d97437b7c128c5c7a432d86ee3.jpg","text":"TemporaryFile(/tmp/multipartBody3549366419784005534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301844206,"filename":"image_04112025_19_54_30_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d68791a9d972188a6658ae6cc153d30c.jpg","text":"TemporaryFile(/tmp/multipartBody5927208170253720625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301844206,"filename":"image_04112025_19_54_00_3091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c5760a3b101fd753b8eca4abd5c0b3e.jpg","text":"TemporaryFile(/tmp/multipartBody6201878309842614033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301844206,"filename":"image_04112025_19_54_04_1868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63620944c8645f3580020a6c6c60286a.jpg","text":"TemporaryFile(/tmp/multipartBody6378752891850351252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301844206,"filename":"image_04112025_19_54_13_4190.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b96376c1df4be75da417b03fe518dc46.jpg","text":"TemporaryFile(/tmp/multipartBody9015650550730652725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301844206,"filename":"image_04112025_19_54_02_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402051767","file1":"1402051766","file0":"1402051764","file4":"1402051769","file5":"1402051770","file3":"1402051768"},"map_files_photo_id_array":[{"photo_id":"1402051770","filename":"file5"},{"photo_id":"1402051767","filename":"file2"},{"photo_id":"1402051769","filename":"file4"},{"photo_id":"1402051766","filename":"file1"},{"photo_id":"1402051764","filename":"file0"},{"photo_id":"1402051768","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402051768":["hashtag1","hashtag2"]},{"1402051770":["hashtag1","hashtag2"]},{"1402051764":["hashtag1","hashtag2"]},{"1402051767":["hashtag1","hashtag2"]},{"1402051769":["hashtag1","hashtag2"]},{"1402051766":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402051768, 1402051770, 1402051764, 1402051767, 1402051769, 1402051766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86575698852539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:10:22.459098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_55_9727.jpg', '/home/pi/Desktop/images/01012026/21/27/image_01012026_21_28_06_10812.jpg', '/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_15_9636.jpg', '/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_25_9777.jpg', '/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_35_9857.jpg', '/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_46_10530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/27/image_01012026_21_27_55_9727.jpg
/home/pi/Desktop/images/01012026/21/27/image_01012026_21_28_06_10812.jpg
/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_15_9636.jpg
/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_25_9777.jpg
/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_35_9857.jpg
/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_46_10530.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402051780","1402051774","1402051783","1402051776","1402051778","1402051772"],"photo_ids_order":["1402051772","1402051774","1402051776","1402051778","1402051780","1402051783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af000cd0ea44ec1ba538f195bb0a9cce.jpg","text":"TemporaryFile(/tmp/multipartBody7085752508061571286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301883050,"filename":"image_01012026_21_28_35_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/175e3c61afd554f34f7fac23c1e8c1b0.jpg","text":"TemporaryFile(/tmp/multipartBody2620360205157428144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301883050,"filename":"image_01012026_21_28_06_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3ea613aa4d0b112b0725facb9e67109.jpg","text":"TemporaryFile(/tmp/multipartBody3544434227019872992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301883050,"filename":"image_01012026_21_28_46_10530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/299f95571cdfc763ca7c2970e8200596.jpg","text":"TemporaryFile(/tmp/multipartBody6001241943258281242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301883050,"filename":"image_01012026_21_28_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78ee3c49885d4cd27effd4075cc5280f.jpg","text":"TemporaryFile(/tmp/multipartBody6795816812931334815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301883050,"filename":"image_01012026_21_28_25_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f9db6efc75d310ee22812e10b3236270.jpg","text":"TemporaryFile(/tmp/multipartBody3149486410010575846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301883050,"filename":"image_01012026_21_27_55_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402051776","file1":"1402051774","file0":"1402051772","file4":"1402051780","file5":"1402051783","file3":"1402051778"},"map_files_photo_id_array":[{"photo_id":"1402051783","filename":"file5"},{"photo_id":"1402051776","filename":"file2"},{"photo_id":"1402051780","filename":"file4"},{"photo_id":"1402051774","filename":"file1"},{"photo_id":"1402051772","filename":"file0"},{"photo_id":"1402051778","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402051780":["hashtag1","hashtag2"]},{"1402051774":["hashtag1","hashtag2"]},{"1402051783":["hashtag1","hashtag2"]},{"1402051776":["hashtag1","hashtag2"]},{"1402051778":["hashtag1","hashtag2"]},{"1402051772":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402051780, 1402051774, 1402051783, 1402051776, 1402051778, 1402051772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.555197954177856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:11:03.321850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_55_9781.jpg', '/home/pi/Desktop/images/01012026/21/28/image_01012026_21_29_05_9942.jpg', '/home/pi/Desktop/images/01012026/21/29/image_01012026_21_29_15_9662.jpg', '/home/pi/Desktop/images/01012026/21/29/image_01012026_21_29_26_10595.jpg', '/home/pi/Desktop/images/01012026/21/29/image_01012026_21_29_45_9681.jpg', '/home/pi/Desktop/images/01012026/21/30/image_01012026_21_30_15_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/28/image_01012026_21_28_55_9781.jpg
/home/pi/Desktop/images/01012026/21/28/image_01012026_21_29_05_9942.jpg
/home/pi/Desktop/images/01012026/21/29/image_01012026_21_29_15_9662.jpg
/home/pi/Desktop/images/01012026/21/29/image_01012026_21_29_26_10595.jpg
/home/pi/Desktop/images/01012026/21/29/image_01012026_21_29_45_9681.jpg
/home/pi/Desktop/images/01012026/21/30/image_01012026_21_30_15_10053.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":["1402051791","1402051793","1402051787","1402051790","1402051784","1402051786"],"photo_ids_order":["1402051784","1402051786","1402051787","1402051790","1402051791","1402051793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/231fdc1d91613ec2048e12d2e974bb63.jpg","text":"TemporaryFile(/tmp/multipartBody6321030470901801360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301924242,"filename":"image_01012026_21_29_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca6d0eb10944d85bd4685a7bfbdb5fc1.jpg","text":"TemporaryFile(/tmp/multipartBody8168738742059233019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301924242,"filename":"image_01012026_21_30_15_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de7acff947966ec44cc96ab406adc67c.jpg","text":"TemporaryFile(/tmp/multipartBody3338477716693217682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301924242,"filename":"image_01012026_21_29_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf902f1a6582b4fced5227f65853ed39.jpg","text":"TemporaryFile(/tmp/multipartBody7282924771134341898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301924242,"filename":"image_01012026_21_29_26_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc8747d6c4541265625b4a5c12051afe.jpg","text":"TemporaryFile(/tmp/multipartBody6028478187011837675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301924242,"filename":"image_01012026_21_28_55_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/790b5284deedf2b35123b947fe9b3600.jpg","text":"TemporaryFile(/tmp/multipartBody4957943605653525949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301924242,"filename":"image_01012026_21_29_05_9942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402051787","file1":"1402051786","file0":"1402051784","file4":"1402051791","file5":"1402051793","file3":"1402051790"},"map_files_photo_id_array":[{"photo_id":"1402051793","filename":"file5"},{"photo_id":"1402051787","filename":"file2"},{"photo_id":"1402051791","filename":"file4"},{"photo_id":"1402051786","filename":"file1"},{"photo_id":"1402051784","filename":"file0"},{"photo_id":"1402051790","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402051791":["hashtag1","hashtag2"]},{"1402051793":["hashtag1","hashtag2"]},{"1402051787":["hashtag1","hashtag2"]},{"1402051790":["hashtag1","hashtag2"]},{"1402051784":["hashtag1","hashtag2"]},{"1402051786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402051791, 1402051793, 1402051787, 1402051790, 1402051784, 1402051786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.6556236743927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:12:02.363555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/30/image_01012026_21_30_25_10675.jpg', '/home/pi/Desktop/images/01012026/21/30/image_01012026_21_30_35_9654.jpg', '/home/pi/Desktop/images/01012026/21/30/image_01012026_21_30_55_10650.jpg', '/home/pi/Desktop/images/01012026/21/30/image_01012026_21_31_05_9610.jpg', '/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_14_9541.jpg', '/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_25_10598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/30/image_01012026_21_30_25_10675.jpg
/home/pi/Desktop/images/01012026/21/30/image_01012026_21_30_35_9654.jpg
/home/pi/Desktop/images/01012026/21/30/image_01012026_21_30_55_10650.jpg
/home/pi/Desktop/images/01012026/21/30/image_01012026_21_31_05_9610.jpg
/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_14_9541.jpg
/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_25_10598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402051801","1402051800","1402051799","1402051811","1402051913","1402051798"],"photo_ids_order":["1402051798","1402051799","1402051800","1402051801","1402051811","1402051913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e5067a423eba58d4243d45e8428e84a.jpg","text":"TemporaryFile(/tmp/multipartBody2472127523292500527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301982988,"filename":"image_01012026_21_31_05_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c9d108f9417a296f07288583c0537499.jpg","text":"TemporaryFile(/tmp/multipartBody5801747863191901370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301982988,"filename":"image_01012026_21_30_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9dd06950e0105fa255b72346b73f2d7.jpg","text":"TemporaryFile(/tmp/multipartBody7887785684699157972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301982988,"filename":"image_01012026_21_30_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61ece718adb07f93b8de6a020f1957bd.jpg","text":"TemporaryFile(/tmp/multipartBody537400990444216451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301982988,"filename":"image_01012026_21_31_14_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e23477c5d3a43d82343e105057a1affb.jpg","text":"TemporaryFile(/tmp/multipartBody4343234077899564452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301982988,"filename":"image_01012026_21_31_25_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50cd35fb2d010a996973615a66ce6168.jpg","text":"TemporaryFile(/tmp/multipartBody1546752075325724949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767301982988,"filename":"image_01012026_21_30_25_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402051800","file1":"1402051799","file0":"1402051798","file4":"1402051811","file5":"1402051913","file3":"1402051801"},"map_files_photo_id_array":[{"photo_id":"1402051913","filename":"file5"},{"photo_id":"1402051800","filename":"file2"},{"photo_id":"1402051811","filename":"file4"},{"photo_id":"1402051799","filename":"file1"},{"photo_id":"1402051798","filename":"file0"},{"photo_id":"1402051801","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402051801":["hashtag1","hashtag2"]},{"1402051800":["hashtag1","hashtag2"]},{"1402051799":["hashtag1","hashtag2"]},{"1402051811":["hashtag1","hashtag2"]},{"1402051913":["hashtag1","hashtag2"]},{"1402051798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402051801, 1402051800, 1402051799, 1402051811, 1402051913, 1402051798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.538169145584106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:12:41.832869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_31_1903.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_38_1786.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_39_1685.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_41_1783.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_44_1576.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_46_1683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_31_1903.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_38_1786.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_39_1685.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_41_1783.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_44_1576.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_46_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":["1402052370","1402052372","1402052366","1402052368","1402052371","1402052365"],"photo_ids_order":["1402052365","1402052366","1402052368","1402052370","1402052371","1402052372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/398e2e97def510bef005f3c7de05a1cd.jpg","text":"TemporaryFile(/tmp/multipartBody5332503472102136519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302023737,"filename":"image_04112025_19_54_41_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/866d567f344e85dc0c11eaefc67b1a15.jpg","text":"TemporaryFile(/tmp/multipartBody8115756421612528004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302023737,"filename":"image_04112025_19_54_46_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/358c98431c364d2f088b563755d4fc74.jpg","text":"TemporaryFile(/tmp/multipartBody1240253089636982196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302023737,"filename":"image_04112025_19_54_38_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce7b3a47ab993880e8bab361818de545.jpg","text":"TemporaryFile(/tmp/multipartBody9175839310617215397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302023737,"filename":"image_04112025_19_54_39_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68aa19a2dd820dcfa3e81290acc51735.jpg","text":"TemporaryFile(/tmp/multipartBody3601999062583861327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302023737,"filename":"image_04112025_19_54_44_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/721207ee87b9418c315b32c63f8b1cf1.jpg","text":"TemporaryFile(/tmp/multipartBody5482843172177668761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302023737,"filename":"image_04112025_19_54_31_1903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402052368","file1":"1402052366","file0":"1402052365","file4":"1402052371","file5":"1402052372","file3":"1402052370"},"map_files_photo_id_array":[{"photo_id":"1402052372","filename":"file5"},{"photo_id":"1402052368","filename":"file2"},{"photo_id":"1402052371","filename":"file4"},{"photo_id":"1402052366","filename":"file1"},{"photo_id":"1402052365","filename":"file0"},{"photo_id":"1402052370","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402052370":["hashtag1","hashtag2"]},{"1402052372":["hashtag1","hashtag2"]},{"1402052366":["hashtag1","hashtag2"]},{"1402052368":["hashtag1","hashtag2"]},{"1402052371":["hashtag1","hashtag2"]},{"1402052365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402052370, 1402052372, 1402052366, 1402052368, 1402052371, 1402052365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87060880661011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:13:21.989018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_35_9816.jpg', '/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_45_9728.jpg', '/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_55_10571.jpg', '/home/pi/Desktop/images/01012026/21/31/image_01012026_21_32_05_9680.jpg', '/home/pi/Desktop/images/01012026/21/32/image_01012026_21_32_15_10594.jpg', '/home/pi/Desktop/images/01012026/21/32/image_01012026_21_32_25_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_35_9816.jpg
/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_45_9728.jpg
/home/pi/Desktop/images/01012026/21/31/image_01012026_21_31_55_10571.jpg
/home/pi/Desktop/images/01012026/21/31/image_01012026_21_32_05_9680.jpg
/home/pi/Desktop/images/01012026/21/32/image_01012026_21_32_15_10594.jpg
/home/pi/Desktop/images/01012026/21/32/image_01012026_21_32_25_9727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402052530","1402052568","1402052529","1402052573","1402052579","1402052575"],"photo_ids_order":["1402052529","1402052530","1402052568","1402052573","1402052575","1402052579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63c72c06a0505b8c557e31f87c5870c9.jpg","text":"TemporaryFile(/tmp/multipartBody7400790257585527529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302062580,"filename":"image_01012026_21_31_45_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39798aa9d54815a97b3de1037886b656.jpg","text":"TemporaryFile(/tmp/multipartBody647903365225016041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302062580,"filename":"image_01012026_21_31_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9edfc92145a03f76d1492bf76f4c86ea.jpg","text":"TemporaryFile(/tmp/multipartBody8200241943447581045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302062580,"filename":"image_01012026_21_31_35_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/412f521ddae431b0b4c0c3d4db9ff026.jpg","text":"TemporaryFile(/tmp/multipartBody4722966806412695705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302062580,"filename":"image_01012026_21_32_05_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/455c8542ded7177cfb1594c536793890.jpg","text":"TemporaryFile(/tmp/multipartBody8927044735796181521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302062580,"filename":"image_01012026_21_32_25_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03ddaaa7aca36cf139149f9eb0185bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3546615893097148193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302062580,"filename":"image_01012026_21_32_15_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402052568","file1":"1402052530","file0":"1402052529","file4":"1402052575","file5":"1402052579","file3":"1402052573"},"map_files_photo_id_array":[{"photo_id":"1402052579","filename":"file5"},{"photo_id":"1402052568","filename":"file2"},{"photo_id":"1402052575","filename":"file4"},{"photo_id":"1402052530","filename":"file1"},{"photo_id":"1402052529","filename":"file0"},{"photo_id":"1402052573","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402052530":["hashtag1","hashtag2"]},{"1402052568":["hashtag1","hashtag2"]},{"1402052529":["hashtag1","hashtag2"]},{"1402052573":["hashtag1","hashtag2"]},{"1402052579":["hashtag1","hashtag2"]},{"1402052575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402052530, 1402052568, 1402052529, 1402052573, 1402052579, 1402052575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62600111961365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:14:02.713691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/32/image_01012026_21_32_35_9621.jpg', '/home/pi/Desktop/images/01012026/21/32/image_01012026_21_32_55_10744.jpg', '/home/pi/Desktop/images/01012026/21/32/image_01012026_21_33_05_9738.jpg', '/home/pi/Desktop/images/01012026/21/33/image_01012026_21_33_15_9696.jpg', '/home/pi/Desktop/images/01012026/21/33/image_01012026_21_33_35_10716.jpg', '/home/pi/Desktop/images/01012026/21/33/image_01012026_21_33_45_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/32/image_01012026_21_32_35_9621.jpg
/home/pi/Desktop/images/01012026/21/32/image_01012026_21_32_55_10744.jpg
/home/pi/Desktop/images/01012026/21/32/image_01012026_21_33_05_9738.jpg
/home/pi/Desktop/images/01012026/21/33/image_01012026_21_33_15_9696.jpg
/home/pi/Desktop/images/01012026/21/33/image_01012026_21_33_35_10716.jpg
/home/pi/Desktop/images/01012026/21/33/image_01012026_21_33_45_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":["1402052589","1402052592","1402052586","1402052594","1402052590","1402052593"],"photo_ids_order":["1402052586","1402052589","1402052590","1402052592","1402052593","1402052594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99fc44e42289f0297688bd923be1f15e.jpg","text":"TemporaryFile(/tmp/multipartBody453289465798361528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302103326,"filename":"image_01012026_21_32_55_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dfb7ed6bfc1040fe3087417622caf62.jpg","text":"TemporaryFile(/tmp/multipartBody8091585566087888114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302103326,"filename":"image_01012026_21_33_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbd4fe11da8dc5a778285a8db19fadb1.jpg","text":"TemporaryFile(/tmp/multipartBody4316788812594709751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302103326,"filename":"image_01012026_21_32_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7ec5293c67633ebda77eb641ce616ee.jpg","text":"TemporaryFile(/tmp/multipartBody7350972954057602069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302103326,"filename":"image_01012026_21_33_45_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f24f4e08f9751972964ad48e3aec46d.jpg","text":"TemporaryFile(/tmp/multipartBody2271850893566619218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302103326,"filename":"image_01012026_21_33_05_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af105486ef58f53397aeec4419cb3beb.jpg","text":"TemporaryFile(/tmp/multipartBody3281197433908238040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302103326,"filename":"image_01012026_21_33_35_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402052590","file1":"1402052589","file0":"1402052586","file4":"1402052593","file5":"1402052594","file3":"1402052592"},"map_files_photo_id_array":[{"photo_id":"1402052594","filename":"file5"},{"photo_id":"1402052590","filename":"file2"},{"photo_id":"1402052593","filename":"file4"},{"photo_id":"1402052589","filename":"file1"},{"photo_id":"1402052586","filename":"file0"},{"photo_id":"1402052592","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402052589":["hashtag1","hashtag2"]},{"1402052592":["hashtag1","hashtag2"]},{"1402052586":["hashtag1","hashtag2"]},{"1402052594":["hashtag1","hashtag2"]},{"1402052590":["hashtag1","hashtag2"]},{"1402052593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402052589, 1402052592, 1402052586, 1402052594, 1402052590, 1402052593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.559175968170166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:14:42.328212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_50_2827.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_53_2662.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_57_3812.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_59_2662.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_02_2763.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_07_4894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_50_2827.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_53_2662.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_57_3812.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_59_2662.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_02_2763.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_07_4894.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.9559986591339111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:15:03.184692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/33/image_01012026_21_33_55_9588.jpg', '/home/pi/Desktop/images/01012026/21/33/image_01012026_21_34_05_10604.jpg', '/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_15_9596.jpg', '/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_25_10666.jpg', '/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_35_9582.jpg', '/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_45_9531.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/33/image_01012026_21_33_55_9588.jpg
/home/pi/Desktop/images/01012026/21/33/image_01012026_21_34_05_10604.jpg
/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_15_9596.jpg
/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_25_10666.jpg
/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_35_9582.jpg
/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_45_9531.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402052605","1402052601","1402052604","1402052607","1402052606","1402052603"],"photo_ids_order":["1402052601","1402052603","1402052604","1402052605","1402052606","1402052607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b08e00eb8dde41c72dc712a637fabb51.jpg","text":"TemporaryFile(/tmp/multipartBody4933246529192380772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302163819,"filename":"image_01012026_21_34_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/005e37cdf126d130c3277cde0563e866.jpg","text":"TemporaryFile(/tmp/multipartBody4140940298048026622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302163819,"filename":"image_01012026_21_33_55_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/762a4d5f3d2f9696be7d04af3b4f611f.jpg","text":"TemporaryFile(/tmp/multipartBody8331627374149879879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302163819,"filename":"image_01012026_21_34_15_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6a4cddbbc39606bdb35e36dc4a1f47f.jpg","text":"TemporaryFile(/tmp/multipartBody6497826992805447962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302163819,"filename":"image_01012026_21_34_45_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f34a076063771bcbfe6fb668fead666a.jpg","text":"TemporaryFile(/tmp/multipartBody5483041698307541880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302163819,"filename":"image_01012026_21_34_35_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c16f6f60b0f1eac7f6529a453c64cb2c.jpg","text":"TemporaryFile(/tmp/multipartBody8468454177229759511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302163819,"filename":"image_01012026_21_34_05_10604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402052604","file1":"1402052603","file0":"1402052601","file4":"1402052606","file5":"1402052607","file3":"1402052605"},"map_files_photo_id_array":[{"photo_id":"1402052607","filename":"file5"},{"photo_id":"1402052604","filename":"file2"},{"photo_id":"1402052606","filename":"file4"},{"photo_id":"1402052603","filename":"file1"},{"photo_id":"1402052601","filename":"file0"},{"photo_id":"1402052605","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402052605":["hashtag1","hashtag2"]},{"1402052601":["hashtag1","hashtag2"]},{"1402052604":["hashtag1","hashtag2"]},{"1402052607":["hashtag1","hashtag2"]},{"1402052606":["hashtag1","hashtag2"]},{"1402052603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402052605, 1402052601, 1402052604, 1402052607, 1402052606, 1402052603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.188281536102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:15:42.608943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_50_2827.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_53_2662.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_57_3812.jpg', '/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_59_2662.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_02_2763.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_07_4894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_50_2827.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_53_2662.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_57_3812.jpg
/home/pi/Desktop/images/04112025/19/54/image_04112025_19_54_59_2662.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_02_2763.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_07_4894.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402052754","1402052628","1402052666","1402052810","1402052705","1402052609"],"photo_ids_order":["1402052609","1402052628","1402052666","1402052705","1402052754","1402052810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5eab5c65abc2ccb8a188881663b29d9.jpg","text":"TemporaryFile(/tmp/multipartBody9064218373458603084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302204264,"filename":"image_04112025_19_55_02_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ae92f2335ac29edede3f8074388dc612.jpg","text":"TemporaryFile(/tmp/multipartBody2726549373482858202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302204264,"filename":"image_04112025_19_54_53_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dffde8bf23b96548f4a02ee5660f6eee.jpg","text":"TemporaryFile(/tmp/multipartBody60637434786037692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302204264,"filename":"image_04112025_19_54_57_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d054d4fcfa8e4e9ad0b72bf19bf19e63.jpg","text":"TemporaryFile(/tmp/multipartBody4310152306511279549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302204264,"filename":"image_04112025_19_55_07_4894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99bfdec25b63ed1a37ba7b715f72fff3.jpg","text":"TemporaryFile(/tmp/multipartBody3185543028900444031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302204264,"filename":"image_04112025_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/2026/1/1/887c6abdfae60bb0d7ee693cd89aefcf.jpg","text":"TemporaryFile(/tmp/multipartBody1121570330492075638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302204264,"filename":"image_04112025_19_54_50_2827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402052666","file1":"1402052628","file0":"1402052609","file4":"1402052754","file5":"1402052810","file3":"1402052705"},"map_files_photo_id_array":[{"photo_id":"1402052810","filename":"file5"},{"photo_id":"1402052666","filename":"file2"},{"photo_id":"1402052754","filename":"file4"},{"photo_id":"1402052628","filename":"file1"},{"photo_id":"1402052609","filename":"file0"},{"photo_id":"1402052705","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402052754":["hashtag1","hashtag2"]},{"1402052628":["hashtag1","hashtag2"]},{"1402052666":["hashtag1","hashtag2"]},{"1402052810":["hashtag1","hashtag2"]},{"1402052705":["hashtag1","hashtag2"]},{"1402052609":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402052754, 1402052628, 1402052666, 1402052810, 1402052705, 1402052609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.778637170791626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:16:31.877242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_10_2608.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_16_6237.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_18_1717.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_19_1612.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_21_1676.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_24_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_10_2608.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_16_6237.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_18_1717.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_19_1612.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_21_1676.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_24_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402053191","1402053068","1402052993","1402053107","1402053151","1402053031"],"photo_ids_order":["1402052993","1402053031","1402053068","1402053107","1402053151","1402053191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eae91df6e969f2d18fb87415215829f0.jpg","text":"TemporaryFile(/tmp/multipartBody439372673376588268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302253959,"filename":"image_04112025_19_55_24_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99215ecbcecc8991d782de6230294181.jpg","text":"TemporaryFile(/tmp/multipartBody3252142656383889091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302253959,"filename":"image_04112025_19_55_18_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0dd23f4fde891488f6e868ebc8281405.jpg","text":"TemporaryFile(/tmp/multipartBody4907264026888211356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302253959,"filename":"image_04112025_19_55_10_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd63851e5d9bd0016634d4c95fd9334b.jpg","text":"TemporaryFile(/tmp/multipartBody3249447136513916248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302253959,"filename":"image_04112025_19_55_19_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d70642ef5947627c68450635a2ca7c94.jpg","text":"TemporaryFile(/tmp/multipartBody8024233450944443256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302253959,"filename":"image_04112025_19_55_21_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed13baaec3b276748466bb8e3e5b0f23.jpg","text":"TemporaryFile(/tmp/multipartBody5847796453929744465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302253959,"filename":"image_04112025_19_55_16_6237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402053068","file1":"1402053031","file0":"1402052993","file4":"1402053151","file5":"1402053191","file3":"1402053107"},"map_files_photo_id_array":[{"photo_id":"1402053191","filename":"file5"},{"photo_id":"1402053068","filename":"file2"},{"photo_id":"1402053151","filename":"file4"},{"photo_id":"1402053031","filename":"file1"},{"photo_id":"1402052993","filename":"file0"},{"photo_id":"1402053107","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402053191":["hashtag1","hashtag2"]},{"1402053068":["hashtag1","hashtag2"]},{"1402052993":["hashtag1","hashtag2"]},{"1402053107":["hashtag1","hashtag2"]},{"1402053151":["hashtag1","hashtag2"]},{"1402053031":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402053191, 1402053068, 1402052993, 1402053107, 1402053151, 1402053031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50075054168701 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:17:22.035869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_55_10562.jpg', '/home/pi/Desktop/images/01012026/21/34/image_01012026_21_35_05_9578.jpg', '/home/pi/Desktop/images/01012026/21/35/image_01012026_21_35_25_10639.jpg', '/home/pi/Desktop/images/01012026/21/35/image_01012026_21_35_35_9552.jpg', '/home/pi/Desktop/images/01012026/21/35/image_01012026_21_35_45_10748.jpg', '/home/pi/Desktop/images/01012026/21/35/image_01012026_21_35_55_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/34/image_01012026_21_34_55_10562.jpg
/home/pi/Desktop/images/01012026/21/34/image_01012026_21_35_05_9578.jpg
/home/pi/Desktop/images/01012026/21/35/image_01012026_21_35_25_10639.jpg
/home/pi/Desktop/images/01012026/21/35/image_01012026_21_35_35_9552.jpg
/home/pi/Desktop/images/01012026/21/35/image_01012026_21_35_45_10748.jpg
/home/pi/Desktop/images/01012026/21/35/image_01012026_21_35_55_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":["1402053409","1402053411","1402053410","1402053413","1402053407","1402053376"],"photo_ids_order":["1402053376","1402053407","1402053409","1402053410","1402053411","1402053413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bcdb5918c1991a84796684b318e6ae2.jpg","text":"TemporaryFile(/tmp/multipartBody721319277588927620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302302610,"filename":"image_01012026_21_35_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/efcd9dc06e3a5bc7f626d23be29e30b6.jpg","text":"TemporaryFile(/tmp/multipartBody7279230701873075134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302302610,"filename":"image_01012026_21_35_45_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b772f189047a78f13b8c00217db00e8.jpg","text":"TemporaryFile(/tmp/multipartBody9157573225505523661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302302610,"filename":"image_01012026_21_35_35_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddb9ac7af7a4b7dd43ae751db68f0227.jpg","text":"TemporaryFile(/tmp/multipartBody1345527489988971304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302302610,"filename":"image_01012026_21_35_55_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3edef04c66ef4b9b3d9d74287e2284b.jpg","text":"TemporaryFile(/tmp/multipartBody4321443068385179126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302302610,"filename":"image_01012026_21_35_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81ff10bfbb28a90b472bce0baf5a922a.jpg","text":"TemporaryFile(/tmp/multipartBody5126980908059840440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302302610,"filename":"image_01012026_21_34_55_10562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402053409","file1":"1402053407","file0":"1402053376","file4":"1402053411","file5":"1402053413","file3":"1402053410"},"map_files_photo_id_array":[{"photo_id":"1402053413","filename":"file5"},{"photo_id":"1402053409","filename":"file2"},{"photo_id":"1402053411","filename":"file4"},{"photo_id":"1402053407","filename":"file1"},{"photo_id":"1402053376","filename":"file0"},{"photo_id":"1402053410","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402053409":["hashtag1","hashtag2"]},{"1402053411":["hashtag1","hashtag2"]},{"1402053410":["hashtag1","hashtag2"]},{"1402053413":["hashtag1","hashtag2"]},{"1402053407":["hashtag1","hashtag2"]},{"1402053376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402053409, 1402053411, 1402053410, 1402053413, 1402053407, 1402053376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.015244245529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:18:02.651211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/36/image_01012026_21_36_15_9722.jpg', '/home/pi/Desktop/images/01012026/21/36/image_01012026_21_36_35_9668.jpg', '/home/pi/Desktop/images/01012026/21/36/image_01012026_21_36_45_9726.jpg', '/home/pi/Desktop/images/01012026/21/36/image_01012026_21_37_05_9919.jpg', '/home/pi/Desktop/images/01012026/21/37/image_01012026_21_38_05_10708.jpg', '/home/pi/Desktop/images/01012026/21/38/image_01012026_21_38_45_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/36/image_01012026_21_36_15_9722.jpg
/home/pi/Desktop/images/01012026/21/36/image_01012026_21_36_35_9668.jpg
/home/pi/Desktop/images/01012026/21/36/image_01012026_21_36_45_9726.jpg
/home/pi/Desktop/images/01012026/21/36/image_01012026_21_37_05_9919.jpg
/home/pi/Desktop/images/01012026/21/37/image_01012026_21_38_05_10708.jpg
/home/pi/Desktop/images/01012026/21/38/image_01012026_21_38_45_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402053741","1402053813","1402053434","1402053664","1402053591","1402053517"],"photo_ids_order":["1402053434","1402053517","1402053591","1402053664","1402053741","1402053813"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2dfd3cda0df8fe0f89f5331de266ba7d.jpg","text":"TemporaryFile(/tmp/multipartBody202488725200570702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302343355,"filename":"image_01012026_21_38_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5564536dd628fb88d9b8cfa1be474918.jpg","text":"TemporaryFile(/tmp/multipartBody1930465813339012023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302343355,"filename":"image_01012026_21_38_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/329963d6b36c39bd65d0cb3948fdf2d7.jpg","text":"TemporaryFile(/tmp/multipartBody851420682866320397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302343355,"filename":"image_01012026_21_36_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4c2c19b47810b75f4c7727ff06aef7b.jpg","text":"TemporaryFile(/tmp/multipartBody3794263697951938929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302343355,"filename":"image_01012026_21_37_05_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e6a3e9da47c1e39d1334b4f3a9ef684.jpg","text":"TemporaryFile(/tmp/multipartBody882530211929585984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302343355,"filename":"image_01012026_21_36_45_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c9044d0360016d9abf1cca70e90ce06.jpg","text":"TemporaryFile(/tmp/multipartBody3765005808328028933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302343355,"filename":"image_01012026_21_36_35_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402053591","file1":"1402053517","file0":"1402053434","file4":"1402053741","file5":"1402053813","file3":"1402053664"},"map_files_photo_id_array":[{"photo_id":"1402053813","filename":"file5"},{"photo_id":"1402053591","filename":"file2"},{"photo_id":"1402053741","filename":"file4"},{"photo_id":"1402053517","filename":"file1"},{"photo_id":"1402053434","filename":"file0"},{"photo_id":"1402053664","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402053741":["hashtag1","hashtag2"]},{"1402053813":["hashtag1","hashtag2"]},{"1402053434":["hashtag1","hashtag2"]},{"1402053664":["hashtag1","hashtag2"]},{"1402053591":["hashtag1","hashtag2"]},{"1402053517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402053741, 1402053813, 1402053434, 1402053664, 1402053591, 1402053517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12024712562561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:18:42.263821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_29_5153.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_35_1647.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_39_3610.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_41_2563.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_44_2850.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_48_3530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_29_5153.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_35_1647.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_39_3610.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_41_2563.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_44_2850.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_48_3530.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":["1402054289","1402054061","1402054330","1402054369","1402054164","1402054239"],"photo_ids_order":["1402054061","1402054164","1402054239","1402054289","1402054330","1402054369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b465672a62b263e6338ce66881e80e2d.jpg","text":"TemporaryFile(/tmp/multipartBody4872803194493843333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302391058,"filename":"image_04112025_19_55_41_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e98bc45ca63999338a87fa7b2a737d.jpg","text":"TemporaryFile(/tmp/multipartBody2649033971541014045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302391058,"filename":"image_04112025_19_55_29_5153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4482c4903a3bf65f03e916e3cb3ccd3f.jpg","text":"TemporaryFile(/tmp/multipartBody9022465698738871141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302391058,"filename":"image_04112025_19_55_44_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4b69728872d4fe16fe2a084c26ca21a3.jpg","text":"TemporaryFile(/tmp/multipartBody485499181450474798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302391058,"filename":"image_04112025_19_55_48_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c83d5fc3d913f7db930b378f5efca5d7.jpg","text":"TemporaryFile(/tmp/multipartBody4326355954172446479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302391058,"filename":"image_04112025_19_55_35_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6104104be75ebe5eac10506ab6a9c21f.jpg","text":"TemporaryFile(/tmp/multipartBody4077169160810198597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302391058,"filename":"image_04112025_19_55_39_3610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402054239","file1":"1402054164","file0":"1402054061","file4":"1402054330","file5":"1402054369","file3":"1402054289"},"map_files_photo_id_array":[{"photo_id":"1402054369","filename":"file5"},{"photo_id":"1402054239","filename":"file2"},{"photo_id":"1402054330","filename":"file4"},{"photo_id":"1402054164","filename":"file1"},{"photo_id":"1402054061","filename":"file0"},{"photo_id":"1402054289","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402054289":["hashtag1","hashtag2"]},{"1402054061":["hashtag1","hashtag2"]},{"1402054330":["hashtag1","hashtag2"]},{"1402054369":["hashtag1","hashtag2"]},{"1402054164":["hashtag1","hashtag2"]},{"1402054239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402054289, 1402054061, 1402054330, 1402054369, 1402054164, 1402054239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.72937369346619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:19:42.460536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_50_2723.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_53_2699.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_56_3282.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_05_2705.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_08_2576.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_18_10196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_50_2723.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_53_2699.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_56_3282.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_05_2705.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_08_2576.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_18_10196.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.8370864391326904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:20:03.102185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/38/image_01012026_21_38_55_9773.jpg', '/home/pi/Desktop/images/01012026/21/38/image_01012026_21_39_05_9593.jpg', '/home/pi/Desktop/images/01012026/21/39/image_01012026_21_39_25_9606.jpg', '/home/pi/Desktop/images/01012026/21/39/image_01012026_21_39_35_9757.jpg', '/home/pi/Desktop/images/01012026/21/39/image_01012026_21_39_45_10716.jpg', '/home/pi/Desktop/images/01012026/21/39/image_01012026_21_39_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/38/image_01012026_21_38_55_9773.jpg
/home/pi/Desktop/images/01012026/21/38/image_01012026_21_39_05_9593.jpg
/home/pi/Desktop/images/01012026/21/39/image_01012026_21_39_25_9606.jpg
/home/pi/Desktop/images/01012026/21/39/image_01012026_21_39_35_9757.jpg
/home/pi/Desktop/images/01012026/21/39/image_01012026_21_39_45_10716.jpg
/home/pi/Desktop/images/01012026/21/39/image_01012026_21_39_55_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1402054538","1402054537","1402054540","1402054615","1402054575","1402054542"],"photo_ids_order":["1402054537","1402054538","1402054540","1402054542","1402054575","1402054615"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d9b26f87833f2a42a6d1a5d211fce825.jpg","text":"TemporaryFile(/tmp/multipartBody5895139906287737642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302464031,"filename":"image_01012026_21_39_05_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34bdb20e17cc7c5db78c8224960cc3c9.jpg","text":"TemporaryFile(/tmp/multipartBody5692414208715605575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302464031,"filename":"image_01012026_21_38_55_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cba4fc34fc38ef48aa6df034daec9fa5.jpg","text":"TemporaryFile(/tmp/multipartBody6018124010344536173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302464031,"filename":"image_01012026_21_39_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abc950bc650ec9cd9866a283a494e3a5.jpg","text":"TemporaryFile(/tmp/multipartBody6311139088176694775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302464031,"filename":"image_01012026_21_39_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/25c563977b7b602af514cfc77ca0453b.jpg","text":"TemporaryFile(/tmp/multipartBody6074699337762542966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302464031,"filename":"image_01012026_21_39_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ddacac3b8035f5f3464e6b0140d58434.jpg","text":"TemporaryFile(/tmp/multipartBody6808308409513607502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302464031,"filename":"image_01012026_21_39_35_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402054540","file1":"1402054538","file0":"1402054537","file4":"1402054575","file5":"1402054615","file3":"1402054542"},"map_files_photo_id_array":[{"photo_id":"1402054615","filename":"file5"},{"photo_id":"1402054540","filename":"file2"},{"photo_id":"1402054575","filename":"file4"},{"photo_id":"1402054538","filename":"file1"},{"photo_id":"1402054537","filename":"file0"},{"photo_id":"1402054542","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402054538":["hashtag1","hashtag2"]},{"1402054537":["hashtag1","hashtag2"]},{"1402054540":["hashtag1","hashtag2"]},{"1402054615":["hashtag1","hashtag2"]},{"1402054575":["hashtag1","hashtag2"]},{"1402054542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402054538, 1402054537, 1402054540, 1402054615, 1402054575, 1402054542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.735109090805054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:21:03.058541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/39/image_01012026_21_40_05_9725.jpg', '/home/pi/Desktop/images/01012026/21/40/image_01012026_21_40_15_9806.jpg', '/home/pi/Desktop/images/01012026/21/40/image_01012026_21_40_25_10553.jpg', '/home/pi/Desktop/images/01012026/21/40/image_01012026_21_40_35_9773.jpg', '/home/pi/Desktop/images/01012026/21/40/image_01012026_21_40_45_9655.jpg', '/home/pi/Desktop/images/01012026/21/41/image_01012026_21_41_15_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/39/image_01012026_21_40_05_9725.jpg
/home/pi/Desktop/images/01012026/21/40/image_01012026_21_40_15_9806.jpg
/home/pi/Desktop/images/01012026/21/40/image_01012026_21_40_25_10553.jpg
/home/pi/Desktop/images/01012026/21/40/image_01012026_21_40_35_9773.jpg
/home/pi/Desktop/images/01012026/21/40/image_01012026_21_40_45_9655.jpg
/home/pi/Desktop/images/01012026/21/41/image_01012026_21_41_15_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":["1402054856","1402054798","1402054885","1402054888","1402054846","1402054837"],"photo_ids_order":["1402054798","1402054837","1402054846","1402054856","1402054885","1402054888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36b56c9ab41321228646f30b615db531.jpg","text":"TemporaryFile(/tmp/multipartBody6800700923306150627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302523698,"filename":"image_01012026_21_40_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fd2f33aea45ebf0da16aade7c6b9ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3142479225547493182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302523698,"filename":"image_01012026_21_40_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/319ffff8c20cfb0f18d4c4930fcfde51.jpg","text":"TemporaryFile(/tmp/multipartBody3647171500208101963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302523698,"filename":"image_01012026_21_40_45_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e90771375bd6ee3fb5494e6bd648ae41.jpg","text":"TemporaryFile(/tmp/multipartBody911307122344512297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302523698,"filename":"image_01012026_21_41_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/976afd839557f3fbc3fd5a411bc7303f.jpg","text":"TemporaryFile(/tmp/multipartBody3185777834116293857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302523698,"filename":"image_01012026_21_40_25_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d29bd3a0be5e0151d8fb1b39a3bce27.jpg","text":"TemporaryFile(/tmp/multipartBody7986552510446518302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302523698,"filename":"image_01012026_21_40_15_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402054846","file1":"1402054837","file0":"1402054798","file4":"1402054885","file5":"1402054888","file3":"1402054856"},"map_files_photo_id_array":[{"photo_id":"1402054888","filename":"file5"},{"photo_id":"1402054846","filename":"file2"},{"photo_id":"1402054885","filename":"file4"},{"photo_id":"1402054837","filename":"file1"},{"photo_id":"1402054798","filename":"file0"},{"photo_id":"1402054856","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402054856":["hashtag1","hashtag2"]},{"1402054798":["hashtag1","hashtag2"]},{"1402054885":["hashtag1","hashtag2"]},{"1402054888":["hashtag1","hashtag2"]},{"1402054846":["hashtag1","hashtag2"]},{"1402054837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402054856, 1402054798, 1402054885, 1402054888, 1402054846, 1402054837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7627067565918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:21:42.475388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_50_2723.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_53_2699.jpg', '/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_56_3282.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_05_2705.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_08_2576.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_18_10196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_50_2723.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_53_2699.jpg
/home/pi/Desktop/images/04112025/19/55/image_04112025_19_55_56_3282.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_05_2705.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_08_2576.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_18_10196.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402054898","1402054897","1402054901","1402054894","1402054900","1402054899"],"photo_ids_order":["1402054894","1402054897","1402054898","1402054899","1402054900","1402054901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/def03f697b0dfb0432bfc31a23e042d8.jpg","text":"TemporaryFile(/tmp/multipartBody3611726799054913113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302564253,"filename":"image_04112025_19_55_56_3282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8b0c124e1703ad57a017361ed31fe408.jpg","text":"TemporaryFile(/tmp/multipartBody4871927812832302764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302564253,"filename":"image_04112025_19_55_53_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c1913e6991df0b785f9e1fdb3c809ff.jpg","text":"TemporaryFile(/tmp/multipartBody4174187857215490335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302564253,"filename":"image_04112025_19_56_18_10196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd4a6cb803bac387c86b9145116df0a3.jpg","text":"TemporaryFile(/tmp/multipartBody551719601100190746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302564253,"filename":"image_04112025_19_55_50_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0cf48a3d20cf1075fa04def8e73323fb.jpg","text":"TemporaryFile(/tmp/multipartBody3935523392924635644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302564253,"filename":"image_04112025_19_56_08_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c30fc4c3530df877b6ef34e9aca45f2c.jpg","text":"TemporaryFile(/tmp/multipartBody6768330119806768100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302564253,"filename":"image_04112025_19_56_05_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402054898","file1":"1402054897","file0":"1402054894","file4":"1402054900","file5":"1402054901","file3":"1402054899"},"map_files_photo_id_array":[{"photo_id":"1402054901","filename":"file5"},{"photo_id":"1402054898","filename":"file2"},{"photo_id":"1402054900","filename":"file4"},{"photo_id":"1402054897","filename":"file1"},{"photo_id":"1402054894","filename":"file0"},{"photo_id":"1402054899","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402054898":["hashtag1","hashtag2"]},{"1402054897":["hashtag1","hashtag2"]},{"1402054901":["hashtag1","hashtag2"]},{"1402054894":["hashtag1","hashtag2"]},{"1402054900":["hashtag1","hashtag2"]},{"1402054899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402054898, 1402054897, 1402054901, 1402054894, 1402054900, 1402054899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.190593957901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:22:22.605336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/41/image_01012026_21_41_35_9845.jpg', '/home/pi/Desktop/images/01012026/21/41/image_01012026_21_41_45_9735.jpg', '/home/pi/Desktop/images/01012026/21/41/image_01012026_21_41_55_9933.jpg', '/home/pi/Desktop/images/01012026/21/41/image_01012026_21_42_05_10618.jpg', '/home/pi/Desktop/images/01012026/21/42/image_01012026_21_42_15_9717.jpg', '/home/pi/Desktop/images/01012026/21/42/image_01012026_21_42_25_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/41/image_01012026_21_41_35_9845.jpg
/home/pi/Desktop/images/01012026/21/41/image_01012026_21_41_45_9735.jpg
/home/pi/Desktop/images/01012026/21/41/image_01012026_21_41_55_9933.jpg
/home/pi/Desktop/images/01012026/21/41/image_01012026_21_42_05_10618.jpg
/home/pi/Desktop/images/01012026/21/42/image_01012026_21_42_15_9717.jpg
/home/pi/Desktop/images/01012026/21/42/image_01012026_21_42_25_9962.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402054914","1402054905","1402054907","1402054909","1402054903","1402054911"],"photo_ids_order":["1402054903","1402054905","1402054907","1402054909","1402054911","1402054914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6dc33cdd78c1bdc8a65bb9478c62ac4.jpg","text":"TemporaryFile(/tmp/multipartBody5531300715043129083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302603235,"filename":"image_01012026_21_42_25_9962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebaf6eb13437d2bd6933dfce75078066.jpg","text":"TemporaryFile(/tmp/multipartBody4855486502680068961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302603235,"filename":"image_01012026_21_41_45_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b6e3b2f3970ba6717a9a66f138b1009.jpg","text":"TemporaryFile(/tmp/multipartBody8456317811024219298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302603235,"filename":"image_01012026_21_41_55_9933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2cdc758328491a1da8b42063126c88b.jpg","text":"TemporaryFile(/tmp/multipartBody8034290388821933667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302603235,"filename":"image_01012026_21_42_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f8dd36e45f68446bb313e3c627116bc2.jpg","text":"TemporaryFile(/tmp/multipartBody4719154356752302161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302603235,"filename":"image_01012026_21_41_35_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fd42ec6e655b9de562f52cbdbd283155.jpg","text":"TemporaryFile(/tmp/multipartBody2421482412731286073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302603235,"filename":"image_01012026_21_42_15_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402054907","file1":"1402054905","file0":"1402054903","file4":"1402054911","file5":"1402054914","file3":"1402054909"},"map_files_photo_id_array":[{"photo_id":"1402054914","filename":"file5"},{"photo_id":"1402054907","filename":"file2"},{"photo_id":"1402054911","filename":"file4"},{"photo_id":"1402054905","filename":"file1"},{"photo_id":"1402054903","filename":"file0"},{"photo_id":"1402054909","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402054914":["hashtag1","hashtag2"]},{"1402054905":["hashtag1","hashtag2"]},{"1402054907":["hashtag1","hashtag2"]},{"1402054909":["hashtag1","hashtag2"]},{"1402054903":["hashtag1","hashtag2"]},{"1402054911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402054914, 1402054905, 1402054907, 1402054909, 1402054903, 1402054911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90266156196594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:23:02.597416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/42/image_01012026_21_42_45_10671.jpg', '/home/pi/Desktop/images/01012026/21/42/image_01012026_21_42_55_9820.jpg', '/home/pi/Desktop/images/01012026/21/43/image_01012026_21_43_15_10652.jpg', '/home/pi/Desktop/images/01012026/21/43/image_01012026_21_43_35_9603.jpg', '/home/pi/Desktop/images/01012026/21/43/image_01012026_21_43_45_10621.jpg', '/home/pi/Desktop/images/01012026/21/43/image_01012026_21_44_04_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/42/image_01012026_21_42_45_10671.jpg
/home/pi/Desktop/images/01012026/21/42/image_01012026_21_42_55_9820.jpg
/home/pi/Desktop/images/01012026/21/43/image_01012026_21_43_15_10652.jpg
/home/pi/Desktop/images/01012026/21/43/image_01012026_21_43_35_9603.jpg
/home/pi/Desktop/images/01012026/21/43/image_01012026_21_43_45_10621.jpg
/home/pi/Desktop/images/01012026/21/43/image_01012026_21_44_04_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":["1402055528","1402055429","1402055335","1402055229","1402055622","1402055127"],"photo_ids_order":["1402055127","1402055229","1402055335","1402055429","1402055528","1402055622"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c978fde32e14db486d26e618642c12b3.jpg","text":"TemporaryFile(/tmp/multipartBody8585133905009640182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302643252,"filename":"image_01012026_21_43_45_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa3c3ee7a61f64f657a5123f5e84e04d.jpg","text":"TemporaryFile(/tmp/multipartBody3517431900347313775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302643252,"filename":"image_01012026_21_43_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5799a8afc43479587dc248c571ccea51.jpg","text":"TemporaryFile(/tmp/multipartBody971328630433935178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302643252,"filename":"image_01012026_21_43_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99ea9b9c78c7863cdbbab97e3eba6947.jpg","text":"TemporaryFile(/tmp/multipartBody6856976177716797356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302643252,"filename":"image_01012026_21_42_55_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d348df7260ff5bf42d945fbcbddba4f.jpg","text":"TemporaryFile(/tmp/multipartBody9084348182486401916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302643252,"filename":"image_01012026_21_44_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a89e09ecf48898001c1ebc0a8398495.jpg","text":"TemporaryFile(/tmp/multipartBody3943229115965600077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302643252,"filename":"image_01012026_21_42_45_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402055335","file1":"1402055229","file0":"1402055127","file4":"1402055528","file5":"1402055622","file3":"1402055429"},"map_files_photo_id_array":[{"photo_id":"1402055622","filename":"file5"},{"photo_id":"1402055335","filename":"file2"},{"photo_id":"1402055528","filename":"file4"},{"photo_id":"1402055229","filename":"file1"},{"photo_id":"1402055127","filename":"file0"},{"photo_id":"1402055429","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402055528":["hashtag1","hashtag2"]},{"1402055429":["hashtag1","hashtag2"]},{"1402055335":["hashtag1","hashtag2"]},{"1402055229":["hashtag1","hashtag2"]},{"1402055622":["hashtag1","hashtag2"]},{"1402055127":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402055528, 1402055429, 1402055335, 1402055229, 1402055622, 1402055127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37504196166992 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:23:41.818296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_20_1596.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_23_1711.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_25_1624.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_26_1674.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_29_2613.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_33_3831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_20_1596.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_23_1711.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_25_1624.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_26_1674.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_29_2613.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_33_3831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402055993","1402055992","1402055991","1402055994","1402055988","1402055990"],"photo_ids_order":["1402055988","1402055990","1402055991","1402055992","1402055993","1402055994"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3fef2d5a28419828cafed8bc4d2a8d87.jpg","text":"TemporaryFile(/tmp/multipartBody625870978762101861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302683706,"filename":"image_04112025_19_56_29_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f48ac3180432b482cfc5637bb892b1c.jpg","text":"TemporaryFile(/tmp/multipartBody6045489197998344263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302683706,"filename":"image_04112025_19_56_26_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/456374ffbbc6cd4af118f18d316b59a6.jpg","text":"TemporaryFile(/tmp/multipartBody1000944858474892596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302683706,"filename":"image_04112025_19_56_25_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e779d8e9f3918de23fc6453864fb23b.jpg","text":"TemporaryFile(/tmp/multipartBody6881543181151019124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302683706,"filename":"image_04112025_19_56_33_3831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a10a2881bd7e92690ea413419b2302f6.jpg","text":"TemporaryFile(/tmp/multipartBody3213959024769451769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302683706,"filename":"image_04112025_19_56_20_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/634b516fbba1f7807158dc2bd9bc3807.jpg","text":"TemporaryFile(/tmp/multipartBody7230179096472268310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302683706,"filename":"image_04112025_19_56_23_1711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402055991","file1":"1402055990","file0":"1402055988","file4":"1402055993","file5":"1402055994","file3":"1402055992"},"map_files_photo_id_array":[{"photo_id":"1402055994","filename":"file5"},{"photo_id":"1402055991","filename":"file2"},{"photo_id":"1402055993","filename":"file4"},{"photo_id":"1402055990","filename":"file1"},{"photo_id":"1402055988","filename":"file0"},{"photo_id":"1402055992","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402055993":["hashtag1","hashtag2"]},{"1402055992":["hashtag1","hashtag2"]},{"1402055991":["hashtag1","hashtag2"]},{"1402055994":["hashtag1","hashtag2"]},{"1402055988":["hashtag1","hashtag2"]},{"1402055990":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402055993, 1402055992, 1402055991, 1402055994, 1402055988, 1402055990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.518872022628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:24:21.964231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/44/image_01012026_21_44_25_9785.jpg', '/home/pi/Desktop/images/01012026/21/44/image_01012026_21_44_35_9581.jpg', '/home/pi/Desktop/images/01012026/21/44/image_01012026_21_44_45_10733.jpg', '/home/pi/Desktop/images/01012026/21/44/image_01012026_21_44_55_9671.jpg', '/home/pi/Desktop/images/01012026/21/45/image_01012026_21_45_15_9772.jpg', '/home/pi/Desktop/images/01012026/21/45/image_01012026_21_45_25_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/44/image_01012026_21_44_25_9785.jpg
/home/pi/Desktop/images/01012026/21/44/image_01012026_21_44_35_9581.jpg
/home/pi/Desktop/images/01012026/21/44/image_01012026_21_44_45_10733.jpg
/home/pi/Desktop/images/01012026/21/44/image_01012026_21_44_55_9671.jpg
/home/pi/Desktop/images/01012026/21/45/image_01012026_21_45_15_9772.jpg
/home/pi/Desktop/images/01012026/21/45/image_01012026_21_45_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":["1402056254","1402056256","1402055995","1402056099","1402056001","1402056197"],"photo_ids_order":["1402055995","1402056001","1402056099","1402056197","1402056254","1402056256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/910986b5fd3e63e61760496cb7a7bdb2.jpg","text":"TemporaryFile(/tmp/multipartBody3152837121597165498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302722590,"filename":"image_01012026_21_45_15_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8ed0d0cfc85c57ac18a8f6507fa5fa9.jpg","text":"TemporaryFile(/tmp/multipartBody8519624378425975031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302722590,"filename":"image_01012026_21_45_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87581cffce65030bd93244dbe2b22419.jpg","text":"TemporaryFile(/tmp/multipartBody929533493476130872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302722590,"filename":"image_01012026_21_44_25_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79136882b2694c3c55aff877c93208eb.jpg","text":"TemporaryFile(/tmp/multipartBody1857102398704817669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302722590,"filename":"image_01012026_21_44_45_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e19b2522e938af88788393a34bb9c16b.jpg","text":"TemporaryFile(/tmp/multipartBody6360438179238617275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302722590,"filename":"image_01012026_21_44_35_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0f06693f099d4fd3ba41f41c9a3afefc.jpg","text":"TemporaryFile(/tmp/multipartBody2721846186678002667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302722590,"filename":"image_01012026_21_44_55_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402056099","file1":"1402056001","file0":"1402055995","file4":"1402056254","file5":"1402056256","file3":"1402056197"},"map_files_photo_id_array":[{"photo_id":"1402056256","filename":"file5"},{"photo_id":"1402056099","filename":"file2"},{"photo_id":"1402056254","filename":"file4"},{"photo_id":"1402056001","filename":"file1"},{"photo_id":"1402055995","filename":"file0"},{"photo_id":"1402056197","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402056254":["hashtag1","hashtag2"]},{"1402056256":["hashtag1","hashtag2"]},{"1402055995":["hashtag1","hashtag2"]},{"1402056099":["hashtag1","hashtag2"]},{"1402056001":["hashtag1","hashtag2"]},{"1402056197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402056254, 1402056256, 1402055995, 1402056099, 1402056001, 1402056197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.800374031066895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:25:02.864390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/45/image_01012026_21_45_35_9738.jpg', '/home/pi/Desktop/images/01012026/21/45/image_01012026_21_45_55_10709.jpg', '/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_15_9722.jpg', '/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_25_10739.jpg', '/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_35_9565.jpg', '/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_45_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/45/image_01012026_21_45_35_9738.jpg
/home/pi/Desktop/images/01012026/21/45/image_01012026_21_45_55_10709.jpg
/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_15_9722.jpg
/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_25_10739.jpg
/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_35_9565.jpg
/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_45_9660.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":["1402056364","1402056358","1402056343","1402056360","1402056362","1402056356"],"photo_ids_order":["1402056343","1402056356","1402056358","1402056360","1402056362","1402056364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dd5193c69fc3115ba8721e65ab5317d.jpg","text":"TemporaryFile(/tmp/multipartBody552007865170891355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302763543,"filename":"image_01012026_21_46_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3ff7348a27dc95e561878b8ca425e09.jpg","text":"TemporaryFile(/tmp/multipartBody9106142637814172065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302763543,"filename":"image_01012026_21_46_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/534c9cbacd3b4d66c8d8a85b05c48bde.jpg","text":"TemporaryFile(/tmp/multipartBody1653996724061475510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302763543,"filename":"image_01012026_21_45_35_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5c9ac718bb02b39cfa08c7dfb9e02ad.jpg","text":"TemporaryFile(/tmp/multipartBody4527286058822164407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302763543,"filename":"image_01012026_21_46_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00f46348f3ad19e2b3c958948bb5466e.jpg","text":"TemporaryFile(/tmp/multipartBody8529718203647305768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302763543,"filename":"image_01012026_21_46_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe73f3e8f63cf2ad1b37697b897861f9.jpg","text":"TemporaryFile(/tmp/multipartBody8941497049467487945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302763543,"filename":"image_01012026_21_45_55_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402056358","file1":"1402056356","file0":"1402056343","file4":"1402056362","file5":"1402056364","file3":"1402056360"},"map_files_photo_id_array":[{"photo_id":"1402056364","filename":"file5"},{"photo_id":"1402056358","filename":"file2"},{"photo_id":"1402056362","filename":"file4"},{"photo_id":"1402056356","filename":"file1"},{"photo_id":"1402056343","filename":"file0"},{"photo_id":"1402056360","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402056364":["hashtag1","hashtag2"]},{"1402056358":["hashtag1","hashtag2"]},{"1402056343":["hashtag1","hashtag2"]},{"1402056360":["hashtag1","hashtag2"]},{"1402056362":["hashtag1","hashtag2"]},{"1402056356":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402056364, 1402056358, 1402056343, 1402056360, 1402056362, 1402056356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.14038562774658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:26:04.514020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_55_10564.jpg', '/home/pi/Desktop/images/01012026/21/46/image_01012026_21_47_05_9596.jpg', '/home/pi/Desktop/images/01012026/21/47/image_01012026_21_47_15_10643.jpg', '/home/pi/Desktop/images/01012026/21/47/image_01012026_21_47_25_9657.jpg', '/home/pi/Desktop/images/01012026/21/47/image_01012026_21_48_05_9652.jpg', '/home/pi/Desktop/images/01012026/21/48/image_01012026_21_48_15_10813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/46/image_01012026_21_46_55_10564.jpg
/home/pi/Desktop/images/01012026/21/46/image_01012026_21_47_05_9596.jpg
/home/pi/Desktop/images/01012026/21/47/image_01012026_21_47_15_10643.jpg
/home/pi/Desktop/images/01012026/21/47/image_01012026_21_47_25_9657.jpg
/home/pi/Desktop/images/01012026/21/47/image_01012026_21_48_05_9652.jpg
/home/pi/Desktop/images/01012026/21/48/image_01012026_21_48_15_10813.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402056370","1402056369","1402056372","1402056371","1402056374","1402056368"],"photo_ids_order":["1402056368","1402056369","1402056370","1402056371","1402056372","1402056374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7482cd18da05be152605e69696dd9a5d.jpg","text":"TemporaryFile(/tmp/multipartBody1703526071015578968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302825151,"filename":"image_01012026_21_47_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6cd8edf1f75d5680f6773078cc2857b5.jpg","text":"TemporaryFile(/tmp/multipartBody5906948748365329988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302825151,"filename":"image_01012026_21_47_05_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2acd9429647515a8b49a060a9984caef.jpg","text":"TemporaryFile(/tmp/multipartBody4330781157181604846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302825151,"filename":"image_01012026_21_48_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/438aa4459ca09cca7c491cfe168b75de.jpg","text":"TemporaryFile(/tmp/multipartBody3184076650780934734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302825151,"filename":"image_01012026_21_47_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ad593916996d80293f226ee4b2cf75b.jpg","text":"TemporaryFile(/tmp/multipartBody4195311796710354430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302825151,"filename":"image_01012026_21_48_15_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/76079c04ddc62a409e5a10b57374c2d2.jpg","text":"TemporaryFile(/tmp/multipartBody3271059033882391415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302825151,"filename":"image_01012026_21_46_55_10564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402056370","file1":"1402056369","file0":"1402056368","file4":"1402056372","file5":"1402056374","file3":"1402056371"},"map_files_photo_id_array":[{"photo_id":"1402056374","filename":"file5"},{"photo_id":"1402056370","filename":"file2"},{"photo_id":"1402056372","filename":"file4"},{"photo_id":"1402056369","filename":"file1"},{"photo_id":"1402056368","filename":"file0"},{"photo_id":"1402056371","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402056370":["hashtag1","hashtag2"]},{"1402056369":["hashtag1","hashtag2"]},{"1402056372":["hashtag1","hashtag2"]},{"1402056371":["hashtag1","hashtag2"]},{"1402056374":["hashtag1","hashtag2"]},{"1402056368":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402056370, 1402056369, 1402056372, 1402056371, 1402056374, 1402056368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38607668876648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:26:44.048476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_37_3815.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_38_1768.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_41_2675.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_47_3586.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_50_2738.jpg', '/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_54_3573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_37_3815.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_38_1768.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_41_2675.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_47_3586.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_50_2738.jpg
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_54_3573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402056391","1402056385","1402056387","1402056381","1402056389","1402056383"],"photo_ids_order":["1402056381","1402056383","1402056385","1402056387","1402056389","1402056391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c6be6ed884b771bd176dbb43d5714cfe.jpg","text":"TemporaryFile(/tmp/multipartBody6696136142469184600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302865946,"filename":"image_04112025_19_56_54_3573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a035f05824b841ce43ac491c4cd9ef92.jpg","text":"TemporaryFile(/tmp/multipartBody981706730252321751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302865946,"filename":"image_04112025_19_56_41_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/069087f42162b3c47859a8763bb0071b.jpg","text":"TemporaryFile(/tmp/multipartBody3553756994150858388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302865946,"filename":"image_04112025_19_56_47_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d609117c99e6f91a1a27ebe8d5fdfc72.jpg","text":"TemporaryFile(/tmp/multipartBody6250362700716902696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302865946,"filename":"image_04112025_19_56_37_3815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13d2b0b7c34c55457ff689eecdf449c1.jpg","text":"TemporaryFile(/tmp/multipartBody2713080816009058687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302865946,"filename":"image_04112025_19_56_50_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2015e3cff3d9f14bed63b383345eae62.jpg","text":"TemporaryFile(/tmp/multipartBody6566405338102794918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302865946,"filename":"image_04112025_19_56_38_1768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402056385","file1":"1402056383","file0":"1402056381","file4":"1402056389","file5":"1402056391","file3":"1402056387"},"map_files_photo_id_array":[{"photo_id":"1402056391","filename":"file5"},{"photo_id":"1402056385","filename":"file2"},{"photo_id":"1402056389","filename":"file4"},{"photo_id":"1402056383","filename":"file1"},{"photo_id":"1402056381","filename":"file0"},{"photo_id":"1402056387","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402056391":["hashtag1","hashtag2"]},{"1402056385":["hashtag1","hashtag2"]},{"1402056387":["hashtag1","hashtag2"]},{"1402056381":["hashtag1","hashtag2"]},{"1402056389":["hashtag1","hashtag2"]},{"1402056383":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402056391, 1402056385, 1402056387, 1402056381, 1402056389, 1402056383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.03002977371216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:27:32.201058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_57_2792.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_07_10002.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_10_1647.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_12_1637.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_14_2450.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_16_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_57_2792.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_07_10002.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_10_1647.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_12_1637.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_14_2450.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_16_1568.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.8079111576080322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:27:42.308029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_57_2792.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_07_10002.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_10_1647.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_12_1637.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_14_2450.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_16_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/56/image_04112025_19_56_57_2792.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_07_10002.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_10_1647.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_12_1637.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_14_2450.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_16_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":["1402057129","1402057021","1402057225","1402056553","1402057193","1402056689"],"photo_ids_order":["1402056553","1402056689","1402057021","1402057129","1402057193","1402057225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08226bb7f50a5b6e0eb5c4655a35865c.jpg","text":"TemporaryFile(/tmp/multipartBody5598818822798699423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302924056,"filename":"image_04112025_19_57_12_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3475fdf3f721c1cdafe09657d43ffff3.jpg","text":"TemporaryFile(/tmp/multipartBody9031801913880192748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302924056,"filename":"image_04112025_19_57_10_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b3c21f57de36c0ea89246ad7e34bf3a4.jpg","text":"TemporaryFile(/tmp/multipartBody3701839562486182093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302924056,"filename":"image_04112025_19_57_16_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3541ba9765ec0b186d4d4934bfff641.jpg","text":"TemporaryFile(/tmp/multipartBody4885848583824267977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302924056,"filename":"image_04112025_19_56_57_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a029142ec5bd6e7e35daa209d789fbe5.jpg","text":"TemporaryFile(/tmp/multipartBody8624012292436918901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302924056,"filename":"image_04112025_19_57_14_2450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2763bb9abd152cd662db58b2e6680f68.jpg","text":"TemporaryFile(/tmp/multipartBody8482013552003241030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302924056,"filename":"image_04112025_19_57_07_10002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402057021","file1":"1402056689","file0":"1402056553","file4":"1402057193","file5":"1402057225","file3":"1402057129"},"map_files_photo_id_array":[{"photo_id":"1402057225","filename":"file5"},{"photo_id":"1402057021","filename":"file2"},{"photo_id":"1402057193","filename":"file4"},{"photo_id":"1402056689","filename":"file1"},{"photo_id":"1402056553","filename":"file0"},{"photo_id":"1402057129","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402057129":["hashtag1","hashtag2"]},{"1402057021":["hashtag1","hashtag2"]},{"1402057225":["hashtag1","hashtag2"]},{"1402056553":["hashtag1","hashtag2"]},{"1402057193":["hashtag1","hashtag2"]},{"1402056689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402057129, 1402057021, 1402057225, 1402056553, 1402057193, 1402056689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.20139956474304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:28:32.437612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_20_2633.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_26_2771.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_29_2743.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_32_2886.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_41_2683.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_45_3767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_20_2633.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_26_2771.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_29_2743.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_32_2886.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_41_2683.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_45_3767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402057441","1402057411","1402057386","1402057440","1402057415","1402057439"],"photo_ids_order":["1402057386","1402057411","1402057415","1402057439","1402057440","1402057441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7afd2227b571bed165ca095126677778.jpg","text":"TemporaryFile(/tmp/multipartBody447205339388665720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302974222,"filename":"image_04112025_19_57_45_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/685f0d110344601b748802cae22b4ca3.jpg","text":"TemporaryFile(/tmp/multipartBody7173262216274806589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302974222,"filename":"image_04112025_19_57_26_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aeb39ada141dc3ff7538b8a93d9fd77c.jpg","text":"TemporaryFile(/tmp/multipartBody535362223404853793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302974222,"filename":"image_04112025_19_57_20_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ed00e6a60b70e1bc71ca691231a556f.jpg","text":"TemporaryFile(/tmp/multipartBody7981334578508643616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302974222,"filename":"image_04112025_19_57_41_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41583466be2d523e27493412b25f863e.jpg","text":"TemporaryFile(/tmp/multipartBody5781296266079364191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302974222,"filename":"image_04112025_19_57_29_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cbbfbe8231540e532680fa24cfc712d4.jpg","text":"TemporaryFile(/tmp/multipartBody6482392379347045779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767302974222,"filename":"image_04112025_19_57_32_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402057415","file1":"1402057411","file0":"1402057386","file4":"1402057440","file5":"1402057441","file3":"1402057439"},"map_files_photo_id_array":[{"photo_id":"1402057441","filename":"file5"},{"photo_id":"1402057415","filename":"file2"},{"photo_id":"1402057440","filename":"file4"},{"photo_id":"1402057411","filename":"file1"},{"photo_id":"1402057386","filename":"file0"},{"photo_id":"1402057439","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402057441":["hashtag1","hashtag2"]},{"1402057411":["hashtag1","hashtag2"]},{"1402057386":["hashtag1","hashtag2"]},{"1402057440":["hashtag1","hashtag2"]},{"1402057415":["hashtag1","hashtag2"]},{"1402057439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402057441, 1402057411, 1402057386, 1402057440, 1402057415, 1402057439)","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 = 1402057415 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_29_2743.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.81893301010132 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:29:32.618202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_51_2989.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_53_2766.jpg', '/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_56_2620.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_03_3823.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_12_6449.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_17_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_51_2989.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_53_2766.jpg
/home/pi/Desktop/images/04112025/19/57/image_04112025_19_57_56_2620.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_03_3823.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_12_6449.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_17_1660.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":["1402057558","1402057450","1402057452","1402057455","1402057458","1402057457"],"photo_ids_order":["1402057450","1402057452","1402057455","1402057457","1402057458","1402057558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc3bd416f99fecce9e18d7f85d85af85.jpg","text":"TemporaryFile(/tmp/multipartBody460214836780420102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303034419,"filename":"image_04112025_19_58_17_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c36810738262c2c23c5fa1ee38acc477.jpg","text":"TemporaryFile(/tmp/multipartBody8311983254367275294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303034419,"filename":"image_04112025_19_57_51_2989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e71994259f56e93040791f5f6f2701de.jpg","text":"TemporaryFile(/tmp/multipartBody9057081952854590026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303034419,"filename":"image_04112025_19_57_53_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80320745698bea1b9498ccf41d2aa87c.jpg","text":"TemporaryFile(/tmp/multipartBody9115735452878824531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303034419,"filename":"image_04112025_19_57_56_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f949a8992106a8e39f25ca7f920504d.jpg","text":"TemporaryFile(/tmp/multipartBody1557679872660438156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303034419,"filename":"image_04112025_19_58_12_6449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ce86f767d361eec7aa1542364c2259d.jpg","text":"TemporaryFile(/tmp/multipartBody3876124475704863821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303034419,"filename":"image_04112025_19_58_03_3823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402057455","file1":"1402057452","file0":"1402057450","file4":"1402057458","file5":"1402057558","file3":"1402057457"},"map_files_photo_id_array":[{"photo_id":"1402057558","filename":"file5"},{"photo_id":"1402057455","filename":"file2"},{"photo_id":"1402057458","filename":"file4"},{"photo_id":"1402057452","filename":"file1"},{"photo_id":"1402057450","filename":"file0"},{"photo_id":"1402057457","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402057558":["hashtag1","hashtag2"]},{"1402057450":["hashtag1","hashtag2"]},{"1402057452":["hashtag1","hashtag2"]},{"1402057455":["hashtag1","hashtag2"]},{"1402057458":["hashtag1","hashtag2"]},{"1402057457":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402057558, 1402057450, 1402057452, 1402057455, 1402057458, 1402057457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.3290503025055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:30:41.957796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_20_3565.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_27_3657.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_30_2971.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_32_2620.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_35_2667.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_38_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_20_3565.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_27_3657.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_30_2971.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_32_2620.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_35_2667.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_38_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":["1402057767","1402057691","1402057844","1402057730","1402057805","1402057897"],"photo_ids_order":["1402057691","1402057730","1402057767","1402057805","1402057844","1402057897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/895096e988aad0eb5838dfbf630dfef3.jpg","text":"TemporaryFile(/tmp/multipartBody9169150117417870835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303104079,"filename":"image_04112025_19_58_30_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49d921eb9f6eb65a47c3d057817efd97.jpg","text":"TemporaryFile(/tmp/multipartBody7413987281607721465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303104079,"filename":"image_04112025_19_58_20_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ef209bd34ae87a19ecbfbcc353c3b71d.jpg","text":"TemporaryFile(/tmp/multipartBody8643694393051536331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303104079,"filename":"image_04112025_19_58_35_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75ccf109f5024855b583393428adf297.jpg","text":"TemporaryFile(/tmp/multipartBody1128104000652961765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303104079,"filename":"image_04112025_19_58_27_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a1901244c649173ed590414a9dc339b.jpg","text":"TemporaryFile(/tmp/multipartBody5072653891390535888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303104079,"filename":"image_04112025_19_58_32_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/53ef2a9f6a9ec724c1cdea5cacbfb376.jpg","text":"TemporaryFile(/tmp/multipartBody6533426790781332476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303104079,"filename":"image_04112025_19_58_38_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402057767","file1":"1402057730","file0":"1402057691","file4":"1402057844","file5":"1402057897","file3":"1402057805"},"map_files_photo_id_array":[{"photo_id":"1402057897","filename":"file5"},{"photo_id":"1402057767","filename":"file2"},{"photo_id":"1402057844","filename":"file4"},{"photo_id":"1402057730","filename":"file1"},{"photo_id":"1402057691","filename":"file0"},{"photo_id":"1402057805","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402057767":["hashtag1","hashtag2"]},{"1402057691":["hashtag1","hashtag2"]},{"1402057844":["hashtag1","hashtag2"]},{"1402057730":["hashtag1","hashtag2"]},{"1402057805":["hashtag1","hashtag2"]},{"1402057897":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402057767, 1402057691, 1402057844, 1402057730, 1402057805, 1402057897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.02916216850281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:31:32.244257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_41_2627.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_49_7906.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_52_1816.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_54_1576.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_56_1717.jpg', '/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_59_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_41_2627.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_49_7906.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_52_1816.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_54_1576.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_56_1717.jpg
/home/pi/Desktop/images/04112025/19/58/image_04112025_19_58_59_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":["1402058091","1402058094","1402058088","1402058096","1402058084","1402058095"],"photo_ids_order":["1402058084","1402058088","1402058091","1402058094","1402058095","1402058096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bee8af3d81fb5b2887e681cb99a3e83c.jpg","text":"TemporaryFile(/tmp/multipartBody6244372766184811133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303154145,"filename":"image_04112025_19_58_52_1816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a9dd91dc15fd46fa01d3ed453e66e536.jpg","text":"TemporaryFile(/tmp/multipartBody7736699523612160615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303154145,"filename":"image_04112025_19_58_54_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98fcab7f64ee0d6a2f965f23af01c9ea.jpg","text":"TemporaryFile(/tmp/multipartBody7892538152048701088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303154145,"filename":"image_04112025_19_58_49_7906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00e9271d8f07926f586567549b9d1f64.jpg","text":"TemporaryFile(/tmp/multipartBody6447330502230393088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303154145,"filename":"image_04112025_19_58_59_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d74566c86ec5ed07d288dc464ba959df.jpg","text":"TemporaryFile(/tmp/multipartBody2861006004018899911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303154145,"filename":"image_04112025_19_58_41_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03d1f1a0b6081f688f83b9ccd596d83a.jpg","text":"TemporaryFile(/tmp/multipartBody9075298138911193878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303154145,"filename":"image_04112025_19_58_56_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402058091","file1":"1402058088","file0":"1402058084","file4":"1402058095","file5":"1402058096","file3":"1402058094"},"map_files_photo_id_array":[{"photo_id":"1402058096","filename":"file5"},{"photo_id":"1402058091","filename":"file2"},{"photo_id":"1402058095","filename":"file4"},{"photo_id":"1402058088","filename":"file1"},{"photo_id":"1402058084","filename":"file0"},{"photo_id":"1402058094","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402058091":["hashtag1","hashtag2"]},{"1402058094":["hashtag1","hashtag2"]},{"1402058088":["hashtag1","hashtag2"]},{"1402058096":["hashtag1","hashtag2"]},{"1402058084":["hashtag1","hashtag2"]},{"1402058095":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402058091, 1402058094, 1402058088, 1402058096, 1402058084, 1402058095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.12612962722778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:32:12.323788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/19/59/image_04112025_19_59_02_2653.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_07_3011.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_11_3613.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_13_2628.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_19_2574.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_22_2842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/19/59/image_04112025_19_59_02_2653.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_07_3011.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_11_3613.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_13_2628.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_19_2574.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_22_2842.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402058233","1402058289","1402058241","1402058235","1402058208","1402058278"],"photo_ids_order":["1402058208","1402058233","1402058235","1402058241","1402058278","1402058289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0239375c5e2135075e5e1743006817c3.jpg","text":"TemporaryFile(/tmp/multipartBody7662103855885925126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303195250,"filename":"image_04112025_20_01_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0b902dc65e0982599dc07c8b2b783ac.jpg","text":"TemporaryFile(/tmp/multipartBody4228019145848792941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303195250,"filename":"image_04112025_20_01_22_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/760da7b5fb0dd12051fea36997fa7913.jpg","text":"TemporaryFile(/tmp/multipartBody4848862260181189016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303195250,"filename":"image_04112025_20_01_13_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d220604af582fecbd96e07aa792df1ca.jpg","text":"TemporaryFile(/tmp/multipartBody5808954147849942808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303195250,"filename":"image_04112025_20_01_11_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a001138bc0a38e008176c45266078c25.jpg","text":"TemporaryFile(/tmp/multipartBody4412410950514751888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303195250,"filename":"image_04112025_19_59_02_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aac4173f2731cf4d4b731d794d05bd25.jpg","text":"TemporaryFile(/tmp/multipartBody7456698478655777906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303195250,"filename":"image_04112025_20_01_19_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402058235","file1":"1402058233","file0":"1402058208","file4":"1402058278","file5":"1402058289","file3":"1402058241"},"map_files_photo_id_array":[{"photo_id":"1402058289","filename":"file5"},{"photo_id":"1402058235","filename":"file2"},{"photo_id":"1402058278","filename":"file4"},{"photo_id":"1402058233","filename":"file1"},{"photo_id":"1402058208","filename":"file0"},{"photo_id":"1402058241","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402058233":["hashtag1","hashtag2"]},{"1402058289":["hashtag1","hashtag2"]},{"1402058241":["hashtag1","hashtag2"]},{"1402058235":["hashtag1","hashtag2"]},{"1402058208":["hashtag1","hashtag2"]},{"1402058278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402058233, 1402058289, 1402058241, 1402058235, 1402058208, 1402058278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.429675817489624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:33:03.096373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/48/image_01012026_21_48_25_9708.jpg', '/home/pi/Desktop/images/01012026/21/48/image_01012026_21_48_35_9673.jpg', '/home/pi/Desktop/images/01012026/21/48/image_01012026_21_48_55_10694.jpg', '/home/pi/Desktop/images/01012026/21/48/image_01012026_21_49_05_9671.jpg', '/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_15_9744.jpg', '/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_25_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/48/image_01012026_21_48_25_9708.jpg
/home/pi/Desktop/images/01012026/21/48/image_01012026_21_48_35_9673.jpg
/home/pi/Desktop/images/01012026/21/48/image_01012026_21_48_55_10694.jpg
/home/pi/Desktop/images/01012026/21/48/image_01012026_21_49_05_9671.jpg
/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_15_9744.jpg
/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_25_10658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402058328","1402058322","1402058325","1402058327","1402058321","1402058323"],"photo_ids_order":["1402058321","1402058322","1402058323","1402058325","1402058327","1402058328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a82a415292de54291221867ec36ff98.jpg","text":"TemporaryFile(/tmp/multipartBody3496780885888904493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303243880,"filename":"image_01012026_21_49_25_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9331b6f551df5e514e0b45728a8b6155.jpg","text":"TemporaryFile(/tmp/multipartBody6887572315663762377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303243880,"filename":"image_01012026_21_48_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8dbba3a9a983cf312fef186943b12982.jpg","text":"TemporaryFile(/tmp/multipartBody299132088888370963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303243880,"filename":"image_01012026_21_49_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a098903e5cdafa1b1c329879a8c306fe.jpg","text":"TemporaryFile(/tmp/multipartBody8109035543395987925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303243880,"filename":"image_01012026_21_49_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88277126de61a46a39387e2e8a4cb82f.jpg","text":"TemporaryFile(/tmp/multipartBody771450768189702254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303243880,"filename":"image_01012026_21_48_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c27be7b60b69e5a432db9bcccb2cf773.jpg","text":"TemporaryFile(/tmp/multipartBody2275725097520156844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303243880,"filename":"image_01012026_21_48_55_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402058323","file1":"1402058322","file0":"1402058321","file4":"1402058327","file5":"1402058328","file3":"1402058325"},"map_files_photo_id_array":[{"photo_id":"1402058328","filename":"file5"},{"photo_id":"1402058323","filename":"file2"},{"photo_id":"1402058327","filename":"file4"},{"photo_id":"1402058322","filename":"file1"},{"photo_id":"1402058321","filename":"file0"},{"photo_id":"1402058325","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402058328":["hashtag1","hashtag2"]},{"1402058322":["hashtag1","hashtag2"]},{"1402058325":["hashtag1","hashtag2"]},{"1402058327":["hashtag1","hashtag2"]},{"1402058321":["hashtag1","hashtag2"]},{"1402058323":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402058328, 1402058322, 1402058325, 1402058327, 1402058321, 1402058323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23187208175659 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:33:42.575408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_36_10273.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_38_1530.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_39_1589.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_41_1735.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_44_1598.jpg', '/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_58_12050.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_36_10273.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_38_1530.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_39_1589.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_41_1735.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_44_1598.jpg
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_01_58_12050.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402058337","1402058339","1402058333","1402058336","1402058335","1402058338"],"photo_ids_order":["1402058333","1402058335","1402058336","1402058337","1402058338","1402058339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea40b920178539bd5eb6314b51a76324.jpg","text":"TemporaryFile(/tmp/multipartBody2099359864214781346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303284499,"filename":"image_04112025_20_01_41_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5a5a27d355448457fea0a8f676641ad9.jpg","text":"TemporaryFile(/tmp/multipartBody2947474985928821619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303284499,"filename":"image_04112025_20_01_58_12050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59c61e67db67642bdbd5059466f03c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2742280586923252971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303284499,"filename":"image_04112025_20_01_36_10273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46fb69b456c8a2802d50c9f1ef0df48a.jpg","text":"TemporaryFile(/tmp/multipartBody6752619635441558285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303284499,"filename":"image_04112025_20_01_39_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1a254de1fc6d2aea4bf6339025f2af5.jpg","text":"TemporaryFile(/tmp/multipartBody7962043995502019447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303284499,"filename":"image_04112025_20_01_38_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a34160eeebaa21ddda3b2f6d642a6b34.jpg","text":"TemporaryFile(/tmp/multipartBody5978390895439041606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303284499,"filename":"image_04112025_20_01_44_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402058336","file1":"1402058335","file0":"1402058333","file4":"1402058338","file5":"1402058339","file3":"1402058337"},"map_files_photo_id_array":[{"photo_id":"1402058339","filename":"file5"},{"photo_id":"1402058336","filename":"file2"},{"photo_id":"1402058338","filename":"file4"},{"photo_id":"1402058335","filename":"file1"},{"photo_id":"1402058333","filename":"file0"},{"photo_id":"1402058337","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402058337":["hashtag1","hashtag2"]},{"1402058339":["hashtag1","hashtag2"]},{"1402058333":["hashtag1","hashtag2"]},{"1402058336":["hashtag1","hashtag2"]},{"1402058335":["hashtag1","hashtag2"]},{"1402058338":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402058337, 1402058339, 1402058333, 1402058336, 1402058335, 1402058338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.745116233825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:34:22.733760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_35_9746.jpg', '/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_45_9534.jpg', '/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_55_10905.jpg', '/home/pi/Desktop/images/01012026/21/49/image_01012026_21_50_05_9689.jpg', '/home/pi/Desktop/images/01012026/21/50/image_01012026_21_50_15_9667.jpg', '/home/pi/Desktop/images/01012026/21/50/image_01012026_21_50_25_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_35_9746.jpg
/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_45_9534.jpg
/home/pi/Desktop/images/01012026/21/49/image_01012026_21_49_55_10905.jpg
/home/pi/Desktop/images/01012026/21/49/image_01012026_21_50_05_9689.jpg
/home/pi/Desktop/images/01012026/21/50/image_01012026_21_50_15_9667.jpg
/home/pi/Desktop/images/01012026/21/50/image_01012026_21_50_25_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402058347","1402058349","1402058343","1402058345","1402058341","1402058350"],"photo_ids_order":["1402058341","1402058343","1402058345","1402058347","1402058349","1402058350"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f6755e9daf68834d6078a52bfd6f872.jpg","text":"TemporaryFile(/tmp/multipartBody2315960936170058069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303323334,"filename":"image_01012026_21_50_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/757d072e1667445df75a4646b4617395.jpg","text":"TemporaryFile(/tmp/multipartBody3170115811231600170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303323334,"filename":"image_01012026_21_50_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98e5949e3eff62a44e44c4137b3e785e.jpg","text":"TemporaryFile(/tmp/multipartBody2851447592135149083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303323334,"filename":"image_01012026_21_49_45_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/857c963c383c560d62f5802d36d26469.jpg","text":"TemporaryFile(/tmp/multipartBody7355421090390027570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303323334,"filename":"image_01012026_21_49_55_10905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d24f9017641cda0b0c0897c23d513bc2.jpg","text":"TemporaryFile(/tmp/multipartBody4254546256288725357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303323334,"filename":"image_01012026_21_49_35_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8dd870da8fcd935255c876562b678910.jpg","text":"TemporaryFile(/tmp/multipartBody3824021106692820353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303323334,"filename":"image_01012026_21_50_25_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402058345","file1":"1402058343","file0":"1402058341","file4":"1402058349","file5":"1402058350","file3":"1402058347"},"map_files_photo_id_array":[{"photo_id":"1402058350","filename":"file5"},{"photo_id":"1402058345","filename":"file2"},{"photo_id":"1402058349","filename":"file4"},{"photo_id":"1402058343","filename":"file1"},{"photo_id":"1402058341","filename":"file0"},{"photo_id":"1402058347","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402058347":["hashtag1","hashtag2"]},{"1402058349":["hashtag1","hashtag2"]},{"1402058343":["hashtag1","hashtag2"]},{"1402058345":["hashtag1","hashtag2"]},{"1402058341":["hashtag1","hashtag2"]},{"1402058350":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402058347, 1402058349, 1402058343, 1402058345, 1402058341, 1402058350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80011200904846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:35:02.564940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/50/image_01012026_21_50_45_9706.jpg', '/home/pi/Desktop/images/01012026/21/50/image_01012026_21_51_05_9609.jpg', '/home/pi/Desktop/images/01012026/21/51/image_01012026_21_51_15_9714.jpg', '/home/pi/Desktop/images/01012026/21/51/image_01012026_21_51_25_10711.jpg', '/home/pi/Desktop/images/01012026/21/51/image_01012026_21_51_35_9763.jpg', '/home/pi/Desktop/images/01012026/21/51/image_01012026_21_51_45_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/50/image_01012026_21_50_45_9706.jpg
/home/pi/Desktop/images/01012026/21/50/image_01012026_21_51_05_9609.jpg
/home/pi/Desktop/images/01012026/21/51/image_01012026_21_51_15_9714.jpg
/home/pi/Desktop/images/01012026/21/51/image_01012026_21_51_25_10711.jpg
/home/pi/Desktop/images/01012026/21/51/image_01012026_21_51_35_9763.jpg
/home/pi/Desktop/images/01012026/21/51/image_01012026_21_51_45_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":["1402058352","1402058361","1402058396","1402058351","1402058435","1402058470"],"photo_ids_order":["1402058351","1402058352","1402058361","1402058396","1402058435","1402058470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecd985dd2eb8213b84c31bc9e059606c.jpg","text":"TemporaryFile(/tmp/multipartBody235017634301501420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303363217,"filename":"image_01012026_21_51_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d5f8e7ad4c85663114b520bee38851c.jpg","text":"TemporaryFile(/tmp/multipartBody8892086272077566570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303363217,"filename":"image_01012026_21_51_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bbe06613ddcb16b4eba4b378b867ce55.jpg","text":"TemporaryFile(/tmp/multipartBody762995423882350050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303363217,"filename":"image_01012026_21_51_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9c2c1e2c0cf483c81642d6c256214b82.jpg","text":"TemporaryFile(/tmp/multipartBody3078325769031242412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303363217,"filename":"image_01012026_21_50_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7761dc5cd631e2ab016f0e3ef5b2bae9.jpg","text":"TemporaryFile(/tmp/multipartBody4474390280032271748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303363217,"filename":"image_01012026_21_51_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f0b2a68607b2582e44d2b8f770d8ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody1970302607147511263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303363217,"filename":"image_01012026_21_51_45_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402058361","file1":"1402058352","file0":"1402058351","file4":"1402058435","file5":"1402058470","file3":"1402058396"},"map_files_photo_id_array":[{"photo_id":"1402058470","filename":"file5"},{"photo_id":"1402058361","filename":"file2"},{"photo_id":"1402058435","filename":"file4"},{"photo_id":"1402058352","filename":"file1"},{"photo_id":"1402058351","filename":"file0"},{"photo_id":"1402058396","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402058352":["hashtag1","hashtag2"]},{"1402058361":["hashtag1","hashtag2"]},{"1402058396":["hashtag1","hashtag2"]},{"1402058351":["hashtag1","hashtag2"]},{"1402058435":["hashtag1","hashtag2"]},{"1402058470":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402058352, 1402058361, 1402058396, 1402058351, 1402058435, 1402058470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.452516078948975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:35:41.922549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/01/image_04112025_20_02_00_1641.jpg', '/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_01_1630.jpg', '/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_11_2619.jpg', '/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_13_2603.jpg', '/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_19_3576.jpg', '/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_22_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/01/image_04112025_20_02_00_1641.jpg
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_01_1630.jpg
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_11_2619.jpg
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_13_2603.jpg
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_19_3576.jpg
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_22_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402059258","1402058991","1402059120","1402059527","1402059397","1402058861"],"photo_ids_order":["1402058861","1402058991","1402059120","1402059258","1402059397","1402059527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ebe87fd694239a3b1b6e71dbd03a78f.jpg","text":"TemporaryFile(/tmp/multipartBody9203498438846692515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303403837,"filename":"image_04112025_20_02_13_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/775ed728884d8dfb88a6e08bf888c232.jpg","text":"TemporaryFile(/tmp/multipartBody6869893598854397749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303403837,"filename":"image_04112025_20_02_01_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03db02166a9362e9af64a829c9083098.jpg","text":"TemporaryFile(/tmp/multipartBody4017038329994712978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303403837,"filename":"image_04112025_20_02_11_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/74c195ff65ba71d8a84085aeaf575d24.jpg","text":"TemporaryFile(/tmp/multipartBody4772416179905147642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303403837,"filename":"image_04112025_20_02_22_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a67553187e2ab9c3a754e6b8df4b543.jpg","text":"TemporaryFile(/tmp/multipartBody4466466423506939667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303403837,"filename":"image_04112025_20_02_19_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/476440227bbaaf9b2fb968487b99235a.jpg","text":"TemporaryFile(/tmp/multipartBody3915125332702500278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303403837,"filename":"image_04112025_20_02_00_1641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402059120","file1":"1402058991","file0":"1402058861","file4":"1402059397","file5":"1402059527","file3":"1402059258"},"map_files_photo_id_array":[{"photo_id":"1402059527","filename":"file5"},{"photo_id":"1402059120","filename":"file2"},{"photo_id":"1402059397","filename":"file4"},{"photo_id":"1402058991","filename":"file1"},{"photo_id":"1402058861","filename":"file0"},{"photo_id":"1402059258","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402059258":["hashtag1","hashtag2"]},{"1402058991":["hashtag1","hashtag2"]},{"1402059120":["hashtag1","hashtag2"]},{"1402059527":["hashtag1","hashtag2"]},{"1402059397":["hashtag1","hashtag2"]},{"1402058861":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402059258, 1402058991, 1402059120, 1402059527, 1402059397, 1402058861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.044788122177124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:36:32.118118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_44_3683.jpg', '/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_49_2671.jpg', '/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_53_3624.jpg', '/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_55_2663.jpg', '/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_16_1662.jpg', '/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_35_3630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_44_3683.jpg
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_49_2671.jpg
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_53_3624.jpg
/home/pi/Desktop/images/04112025/20/02/image_04112025_20_02_55_2663.jpg
/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_16_1662.jpg
/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_35_3630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402059942","1402059965","1402059935","1402059940","1402059937","1402060114"],"photo_ids_order":["1402059935","1402059937","1402059940","1402059942","1402059965","1402060114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78f3001dced7aaea2258af8e4a30f0d3.jpg","text":"TemporaryFile(/tmp/multipartBody3034485035378899487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303454869,"filename":"image_04112025_20_02_55_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87edf2b5c09069f4af343ccf50997d5b.jpg","text":"TemporaryFile(/tmp/multipartBody3549301144455635587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303454869,"filename":"image_04112025_20_03_16_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e98823cd63aec17e70a0caf6fabefd93.jpg","text":"TemporaryFile(/tmp/multipartBody5558862656415146725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303454869,"filename":"image_04112025_20_02_44_3683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0435367780334a6db598b9103ad80b75.jpg","text":"TemporaryFile(/tmp/multipartBody2919629441884280625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303454869,"filename":"image_04112025_20_02_53_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2cb645d9a2df15798c16ff18110b3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5866302676793372310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303454869,"filename":"image_04112025_20_02_49_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ca1fa961878b31cc1def733a26ce138.jpg","text":"TemporaryFile(/tmp/multipartBody3827518058186138387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303454869,"filename":"image_04112025_20_03_35_3630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402059940","file1":"1402059937","file0":"1402059935","file4":"1402059965","file5":"1402060114","file3":"1402059942"},"map_files_photo_id_array":[{"photo_id":"1402060114","filename":"file5"},{"photo_id":"1402059940","filename":"file2"},{"photo_id":"1402059965","filename":"file4"},{"photo_id":"1402059937","filename":"file1"},{"photo_id":"1402059935","filename":"file0"},{"photo_id":"1402059942","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402059942":["hashtag1","hashtag2"]},{"1402059965":["hashtag1","hashtag2"]},{"1402059935":["hashtag1","hashtag2"]},{"1402059940":["hashtag1","hashtag2"]},{"1402059937":["hashtag1","hashtag2"]},{"1402060114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402059942, 1402059965, 1402059935, 1402059940, 1402059937, 1402060114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.60129404067993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:37:22.361432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/52/image_01012026_21_52_45_9569.jpg', '/home/pi/Desktop/images/01012026/21/52/image_01012026_21_52_55_10640.jpg', '/home/pi/Desktop/images/01012026/21/52/image_01012026_21_53_05_9635.jpg', '/home/pi/Desktop/images/01012026/21/53/image_01012026_21_53_14_9604.jpg', '/home/pi/Desktop/images/01012026/21/53/image_01012026_21_53_25_10716.jpg', '/home/pi/Desktop/images/01012026/21/53/image_01012026_21_53_35_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/52/image_01012026_21_52_45_9569.jpg
/home/pi/Desktop/images/01012026/21/52/image_01012026_21_52_55_10640.jpg
/home/pi/Desktop/images/01012026/21/52/image_01012026_21_53_05_9635.jpg
/home/pi/Desktop/images/01012026/21/53/image_01012026_21_53_14_9604.jpg
/home/pi/Desktop/images/01012026/21/53/image_01012026_21_53_25_10716.jpg
/home/pi/Desktop/images/01012026/21/53/image_01012026_21_53_35_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":["1402060528","1402060578","1402060341","1402060617","1402060415","1402060459"],"photo_ids_order":["1402060341","1402060415","1402060459","1402060528","1402060578","1402060617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b55548a62bf1cc6283b92970c9808c3.jpg","text":"TemporaryFile(/tmp/multipartBody3174462201286111550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303502956,"filename":"image_01012026_21_53_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/483e0cf9aced8f158d16c5a7dcbc024e.jpg","text":"TemporaryFile(/tmp/multipartBody1948709986330506596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303502956,"filename":"image_01012026_21_53_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/313de3ff77295fad087a6712a1afbba2.jpg","text":"TemporaryFile(/tmp/multipartBody1255915882446798646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303502956,"filename":"image_01012026_21_52_45_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb45c3a54e7275f630e3a5b366fdeb3d.jpg","text":"TemporaryFile(/tmp/multipartBody2340517184433457578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303502956,"filename":"image_01012026_21_53_35_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1741fd40a50ff443303679daf137f141.jpg","text":"TemporaryFile(/tmp/multipartBody424438758691485928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303502956,"filename":"image_01012026_21_52_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e62c92cbb8861b19c2f899609333f3c.jpg","text":"TemporaryFile(/tmp/multipartBody970019848249191894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303502956,"filename":"image_01012026_21_53_05_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402060459","file1":"1402060415","file0":"1402060341","file4":"1402060578","file5":"1402060617","file3":"1402060528"},"map_files_photo_id_array":[{"photo_id":"1402060617","filename":"file5"},{"photo_id":"1402060459","filename":"file2"},{"photo_id":"1402060578","filename":"file4"},{"photo_id":"1402060415","filename":"file1"},{"photo_id":"1402060341","filename":"file0"},{"photo_id":"1402060528","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402060528":["hashtag1","hashtag2"]},{"1402060578":["hashtag1","hashtag2"]},{"1402060341":["hashtag1","hashtag2"]},{"1402060617":["hashtag1","hashtag2"]},{"1402060415":["hashtag1","hashtag2"]},{"1402060459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402060528, 1402060578, 1402060341, 1402060617, 1402060415, 1402060459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.69981908798218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:38:12.416370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_40_2837.jpg', '/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_44_3668.jpg', '/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_46_2573.jpg', '/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_02_1653.jpg', '/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_06_3597.jpg', '/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_14_3445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_40_2837.jpg
/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_44_3668.jpg
/home/pi/Desktop/images/04112025/20/03/image_04112025_20_03_46_2573.jpg
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_02_1653.jpg
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_06_3597.jpg
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_14_3445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402060903","1402060985","1402060865","1402061026","1402060828","1402060942"],"photo_ids_order":["1402060828","1402060865","1402060903","1402060942","1402060985","1402061026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3d624b22a37823e725437847f75c904.jpg","text":"TemporaryFile(/tmp/multipartBody772365181917032366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303554195,"filename":"image_04112025_20_03_46_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e49320d8f09a38c150c5e351b2fcdacb.jpg","text":"TemporaryFile(/tmp/multipartBody7432339641009973568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303554195,"filename":"image_04112025_20_04_06_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68f61aa4638b86a7f05d95b761225825.jpg","text":"TemporaryFile(/tmp/multipartBody494317825634400782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303554195,"filename":"image_04112025_20_03_44_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1efc8bb1e56c6079ea918be95fc4104.jpg","text":"TemporaryFile(/tmp/multipartBody3490492998989476864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303554195,"filename":"image_04112025_20_04_14_3445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51e36a3924dcd5b891875f59d54aa626.jpg","text":"TemporaryFile(/tmp/multipartBody7840522824307594646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303554195,"filename":"image_04112025_20_03_40_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ad1a01ffc6f02ff624f0a171d2581248.jpg","text":"TemporaryFile(/tmp/multipartBody6084964143258242713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303554195,"filename":"image_04112025_20_04_02_1653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402060903","file1":"1402060865","file0":"1402060828","file4":"1402060985","file5":"1402061026","file3":"1402060942"},"map_files_photo_id_array":[{"photo_id":"1402061026","filename":"file5"},{"photo_id":"1402060903","filename":"file2"},{"photo_id":"1402060985","filename":"file4"},{"photo_id":"1402060865","filename":"file1"},{"photo_id":"1402060828","filename":"file0"},{"photo_id":"1402060942","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402060903":["hashtag1","hashtag2"]},{"1402060985":["hashtag1","hashtag2"]},{"1402060865":["hashtag1","hashtag2"]},{"1402061026":["hashtag1","hashtag2"]},{"1402060828":["hashtag1","hashtag2"]},{"1402060942":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402060903, 1402060985, 1402060865, 1402061026, 1402060828, 1402060942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.337740659713745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:39:03.573300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/53/image_01012026_21_53_45_9679.jpg', '/home/pi/Desktop/images/01012026/21/53/image_01012026_21_54_05_9563.jpg', '/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_15_9668.jpg', '/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_25_10730.jpg', '/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_35_9672.jpg', '/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_45_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/53/image_01012026_21_53_45_9679.jpg
/home/pi/Desktop/images/01012026/21/53/image_01012026_21_54_05_9563.jpg
/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_15_9668.jpg
/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_25_10730.jpg
/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_35_9672.jpg
/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_45_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":["1402061288","1402061336","1402061335","1402061338","1402061326","1402061248"],"photo_ids_order":["1402061248","1402061288","1402061326","1402061335","1402061336","1402061338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ffe051c29aa71c34bdd6801a88ab7095.jpg","text":"TemporaryFile(/tmp/multipartBody4374109857123099887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303604357,"filename":"image_01012026_21_54_05_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/431f6d2e28b86f2a2f0041d361f5fa52.jpg","text":"TemporaryFile(/tmp/multipartBody7992487156194480033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303604357,"filename":"image_01012026_21_54_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52587c0b731279c539623d101c6394c1.jpg","text":"TemporaryFile(/tmp/multipartBody197316241464557599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303604357,"filename":"image_01012026_21_54_25_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/018d358bb56ed2aa6debd31c3c407a2a.jpg","text":"TemporaryFile(/tmp/multipartBody1253924262311779330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303604357,"filename":"image_01012026_21_54_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dc0b12daf679ec323d9d7c51037832d.jpg","text":"TemporaryFile(/tmp/multipartBody276576410965028850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303604357,"filename":"image_01012026_21_54_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14117653e29329ae2889895bddbae485.jpg","text":"TemporaryFile(/tmp/multipartBody3428102971646000509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303604357,"filename":"image_01012026_21_53_45_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402061326","file1":"1402061288","file0":"1402061248","file4":"1402061336","file5":"1402061338","file3":"1402061335"},"map_files_photo_id_array":[{"photo_id":"1402061338","filename":"file5"},{"photo_id":"1402061326","filename":"file2"},{"photo_id":"1402061336","filename":"file4"},{"photo_id":"1402061288","filename":"file1"},{"photo_id":"1402061248","filename":"file0"},{"photo_id":"1402061335","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402061288":["hashtag1","hashtag2"]},{"1402061336":["hashtag1","hashtag2"]},{"1402061335":["hashtag1","hashtag2"]},{"1402061338":["hashtag1","hashtag2"]},{"1402061326":["hashtag1","hashtag2"]},{"1402061248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402061288, 1402061336, 1402061335, 1402061338, 1402061326, 1402061248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.720091581344604 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:39:42.629091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_16_2703.jpg', '/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_19_2665.jpg', '/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_22_2698.jpg', '/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_25_3678.jpg', '/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_32_3646.jpg', '/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_51_19730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_16_2703.jpg
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_19_2665.jpg
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_22_2698.jpg
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_25_3678.jpg
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_32_3646.jpg
/home/pi/Desktop/images/04112025/20/04/image_04112025_20_04_51_19730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402061346","1402061393","1402061653","1402061344","1402061524","1402061347"],"photo_ids_order":["1402061344","1402061346","1402061347","1402061393","1402061524","1402061653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/760677f786da4d034c009194e34de32b.jpg","text":"TemporaryFile(/tmp/multipartBody4805613320269830279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303644534,"filename":"image_04112025_20_04_19_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92525b6622c47be677636c37c613197a.jpg","text":"TemporaryFile(/tmp/multipartBody6327374233592955211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303644534,"filename":"image_04112025_20_04_25_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb14eb4973f7612cb72a1bbe5d8bcf1a.jpg","text":"TemporaryFile(/tmp/multipartBody5343782370627322512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303644534,"filename":"image_04112025_20_04_51_19730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b93a292809409833dad0fba6b43341b.jpg","text":"TemporaryFile(/tmp/multipartBody247773240168543971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303644534,"filename":"image_04112025_20_04_16_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8abccb92c8da87e6717a3acf2b386fd0.jpg","text":"TemporaryFile(/tmp/multipartBody2596591883355138726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303644534,"filename":"image_04112025_20_04_32_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50f0df40c0290c1312bc0339c385601b.jpg","text":"TemporaryFile(/tmp/multipartBody48526667671602076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303644534,"filename":"image_04112025_20_04_22_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402061347","file1":"1402061346","file0":"1402061344","file4":"1402061524","file5":"1402061653","file3":"1402061393"},"map_files_photo_id_array":[{"photo_id":"1402061653","filename":"file5"},{"photo_id":"1402061347","filename":"file2"},{"photo_id":"1402061524","filename":"file4"},{"photo_id":"1402061346","filename":"file1"},{"photo_id":"1402061344","filename":"file0"},{"photo_id":"1402061393","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402061346":["hashtag1","hashtag2"]},{"1402061393":["hashtag1","hashtag2"]},{"1402061653":["hashtag1","hashtag2"]},{"1402061344":["hashtag1","hashtag2"]},{"1402061524":["hashtag1","hashtag2"]},{"1402061347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402061346, 1402061393, 1402061653, 1402061344, 1402061524, 1402061347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.474289894104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:40:22.794825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_55_10540.jpg', '/home/pi/Desktop/images/01012026/21/54/image_01012026_21_55_05_9733.jpg', '/home/pi/Desktop/images/01012026/21/55/image_01012026_21_55_15_9844.jpg', '/home/pi/Desktop/images/01012026/21/55/image_01012026_21_55_25_10712.jpg', '/home/pi/Desktop/images/01012026/21/55/image_01012026_21_55_35_9662.jpg', '/home/pi/Desktop/images/01012026/21/55/image_01012026_21_55_45_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/54/image_01012026_21_54_55_10540.jpg
/home/pi/Desktop/images/01012026/21/54/image_01012026_21_55_05_9733.jpg
/home/pi/Desktop/images/01012026/21/55/image_01012026_21_55_15_9844.jpg
/home/pi/Desktop/images/01012026/21/55/image_01012026_21_55_25_10712.jpg
/home/pi/Desktop/images/01012026/21/55/image_01012026_21_55_35_9662.jpg
/home/pi/Desktop/images/01012026/21/55/image_01012026_21_55_45_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402062534","1402062408","1402062105","1402062269","1402062653","1402062574"],"photo_ids_order":["1402062105","1402062269","1402062408","1402062534","1402062574","1402062653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4819c015907c3a8de4deacdcc8c1bc6a.jpg","text":"TemporaryFile(/tmp/multipartBody1995072629691744938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303683356,"filename":"image_01012026_21_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/2026/1/1/30c44d57be175ad6ee0a7f8cced8df83.jpg","text":"TemporaryFile(/tmp/multipartBody7920170538931044853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303683356,"filename":"image_01012026_21_55_15_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd60258e0ff67e7197aaa23492d2b507.jpg","text":"TemporaryFile(/tmp/multipartBody4749069740660252979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303683356,"filename":"image_01012026_21_54_55_10540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cc9d1ec4142b3d07ac52401978917405.jpg","text":"TemporaryFile(/tmp/multipartBody1155469538117577129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303683356,"filename":"image_01012026_21_55_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5db4e2bb53764a891103c2982beb2b82.jpg","text":"TemporaryFile(/tmp/multipartBody9049875851344088477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303683356,"filename":"image_01012026_21_55_45_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/42744ce5727c4e8b664bdbc279ffa49c.jpg","text":"TemporaryFile(/tmp/multipartBody8752059603098925497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303683356,"filename":"image_01012026_21_55_35_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402062408","file1":"1402062269","file0":"1402062105","file4":"1402062574","file5":"1402062653","file3":"1402062534"},"map_files_photo_id_array":[{"photo_id":"1402062653","filename":"file5"},{"photo_id":"1402062408","filename":"file2"},{"photo_id":"1402062574","filename":"file4"},{"photo_id":"1402062269","filename":"file1"},{"photo_id":"1402062105","filename":"file0"},{"photo_id":"1402062534","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402062534":["hashtag1","hashtag2"]},{"1402062408":["hashtag1","hashtag2"]},{"1402062105":["hashtag1","hashtag2"]},{"1402062269":["hashtag1","hashtag2"]},{"1402062653":["hashtag1","hashtag2"]},{"1402062574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402062534, 1402062408, 1402062105, 1402062269, 1402062653, 1402062574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82911157608032 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:41:02.765639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/55/image_01012026_21_56_05_10642.jpg', '/home/pi/Desktop/images/01012026/21/56/image_01012026_21_56_25_9650.jpg', '/home/pi/Desktop/images/01012026/21/56/image_01012026_21_56_34_9772.jpg', '/home/pi/Desktop/images/01012026/21/56/image_01012026_21_56_45_10687.jpg', '/home/pi/Desktop/images/01012026/21/56/image_01012026_21_57_05_10558.jpg', '/home/pi/Desktop/images/01012026/21/57/image_01012026_21_57_15_9548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/55/image_01012026_21_56_05_10642.jpg
/home/pi/Desktop/images/01012026/21/56/image_01012026_21_56_25_9650.jpg
/home/pi/Desktop/images/01012026/21/56/image_01012026_21_56_34_9772.jpg
/home/pi/Desktop/images/01012026/21/56/image_01012026_21_56_45_10687.jpg
/home/pi/Desktop/images/01012026/21/56/image_01012026_21_57_05_10558.jpg
/home/pi/Desktop/images/01012026/21/57/image_01012026_21_57_15_9548.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":["1402063253","1402062974","1402062851","1402063293","1402063164","1402062897"],"photo_ids_order":["1402062851","1402062897","1402062974","1402063164","1402063253","1402063293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b9fe4d56854424d2d82bf61f4918c61.jpg","text":"TemporaryFile(/tmp/multipartBody2305000191108358230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303723460,"filename":"image_01012026_21_57_05_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34a83f609707fb859e0cc4edd938663d.jpg","text":"TemporaryFile(/tmp/multipartBody9149878909120030428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303723460,"filename":"image_01012026_21_56_34_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f919981f03ae43ccd702fd9b2c16131a.jpg","text":"TemporaryFile(/tmp/multipartBody3495936127366737100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303723460,"filename":"image_01012026_21_56_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85ae77a2ea7d87f638a0ef63b29819f7.jpg","text":"TemporaryFile(/tmp/multipartBody5793218532496684149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303723460,"filename":"image_01012026_21_57_15_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/618fcd2adb519547b7182967ada82f7a.jpg","text":"TemporaryFile(/tmp/multipartBody8606258399101149319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303723460,"filename":"image_01012026_21_56_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/49c1890c1e69b57588ba163e99824f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3891091973574923827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303723460,"filename":"image_01012026_21_56_25_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402062974","file1":"1402062897","file0":"1402062851","file4":"1402063253","file5":"1402063293","file3":"1402063164"},"map_files_photo_id_array":[{"photo_id":"1402063293","filename":"file5"},{"photo_id":"1402062974","filename":"file2"},{"photo_id":"1402063253","filename":"file4"},{"photo_id":"1402062897","filename":"file1"},{"photo_id":"1402062851","filename":"file0"},{"photo_id":"1402063164","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402063253":["hashtag1","hashtag2"]},{"1402062974":["hashtag1","hashtag2"]},{"1402062851":["hashtag1","hashtag2"]},{"1402063293":["hashtag1","hashtag2"]},{"1402063164":["hashtag1","hashtag2"]},{"1402062897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402063253, 1402062974, 1402062851, 1402063293, 1402063164, 1402062897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.181992292404175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:42:02.658550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/57/image_01012026_21_57_35_10747.jpg', '/home/pi/Desktop/images/01012026/21/58/image_01012026_21_58_25_9678.jpg', '/home/pi/Desktop/images/01012026/21/58/image_01012026_21_58_45_9687.jpg', '/home/pi/Desktop/images/01012026/21/58/image_01012026_21_58_55_9600.jpg', '/home/pi/Desktop/images/01012026/21/58/image_01012026_21_59_05_10588.jpg', '/home/pi/Desktop/images/01012026/21/59/image_01012026_21_59_25_10548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/57/image_01012026_21_57_35_10747.jpg
/home/pi/Desktop/images/01012026/21/58/image_01012026_21_58_25_9678.jpg
/home/pi/Desktop/images/01012026/21/58/image_01012026_21_58_45_9687.jpg
/home/pi/Desktop/images/01012026/21/58/image_01012026_21_58_55_9600.jpg
/home/pi/Desktop/images/01012026/21/58/image_01012026_21_59_05_10588.jpg
/home/pi/Desktop/images/01012026/21/59/image_01012026_21_59_25_10548.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":["1402063730","1402063777","1402063779","1402063767","1402063638","1402063688"],"photo_ids_order":["1402063638","1402063688","1402063730","1402063767","1402063777","1402063779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c0dc8a82d2e00bbd86245816114fc7a.jpg","text":"TemporaryFile(/tmp/multipartBody8311470514986479620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303784707,"filename":"image_01012026_21_58_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf2775f3b6dc4d930144eb94e6e284ca.jpg","text":"TemporaryFile(/tmp/multipartBody3717641279877691480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303784707,"filename":"image_01012026_21_59_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11fc3ca63582b70eb34b06742c13af42.jpg","text":"TemporaryFile(/tmp/multipartBody4334418351681791578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303784707,"filename":"image_01012026_21_59_25_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c64bec9c3c943de6c397d8523b0c0fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4184798580335825775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303784707,"filename":"image_01012026_21_58_55_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8002083503c9654a1d19523c859ddf69.jpg","text":"TemporaryFile(/tmp/multipartBody3812387098287745136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303784707,"filename":"image_01012026_21_57_35_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/58eb628e1526d64c1fb94aebcdeee019.jpg","text":"TemporaryFile(/tmp/multipartBody7232078856487714805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303784707,"filename":"image_01012026_21_58_25_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402063730","file1":"1402063688","file0":"1402063638","file4":"1402063777","file5":"1402063779","file3":"1402063767"},"map_files_photo_id_array":[{"photo_id":"1402063779","filename":"file5"},{"photo_id":"1402063730","filename":"file2"},{"photo_id":"1402063777","filename":"file4"},{"photo_id":"1402063688","filename":"file1"},{"photo_id":"1402063638","filename":"file0"},{"photo_id":"1402063767","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402063730":["hashtag1","hashtag2"]},{"1402063777":["hashtag1","hashtag2"]},{"1402063779":["hashtag1","hashtag2"]},{"1402063767":["hashtag1","hashtag2"]},{"1402063638":["hashtag1","hashtag2"]},{"1402063688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402063730, 1402063777, 1402063779, 1402063767, 1402063638, 1402063688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.12216854095459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:43:03.045652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/21/59/image_01012026_21_59_45_9626.jpg', '/home/pi/Desktop/images/01012026/21/59/image_01012026_21_59_55_10623.jpg', '/home/pi/Desktop/images/01012026/22/00/image_01012026_22_00_14_10053.jpg', '/home/pi/Desktop/images/01012026/22/00/image_01012026_22_00_35_9654.jpg', '/home/pi/Desktop/images/01012026/22/00/image_01012026_22_00_45_10636.jpg', '/home/pi/Desktop/images/01012026/22/01/image_01012026_22_01_25_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/21/59/image_01012026_21_59_45_9626.jpg
/home/pi/Desktop/images/01012026/21/59/image_01012026_21_59_55_10623.jpg
/home/pi/Desktop/images/01012026/22/00/image_01012026_22_00_14_10053.jpg
/home/pi/Desktop/images/01012026/22/00/image_01012026_22_00_35_9654.jpg
/home/pi/Desktop/images/01012026/22/00/image_01012026_22_00_45_10636.jpg
/home/pi/Desktop/images/01012026/22/01/image_01012026_22_01_25_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":["1402063826","1402063941","1402063785","1402063902","1402063865","1402063793"],"photo_ids_order":["1402063785","1402063793","1402063826","1402063865","1402063902","1402063941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a8e40606409035f1d3ca4a85edea691.jpg","text":"TemporaryFile(/tmp/multipartBody8183401990174040373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303844484,"filename":"image_01012026_22_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/2026/1/1/a23a32de27956c08b6217fe642b2bed0.jpg","text":"TemporaryFile(/tmp/multipartBody4036177355735793987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303844484,"filename":"image_01012026_22_01_25_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/228ab98ce9a7ce3c2161ee06d9add692.jpg","text":"TemporaryFile(/tmp/multipartBody6342999756061594038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303844484,"filename":"image_01012026_21_59_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b151a3c3035a0814a7389a239dc9f6a6.jpg","text":"TemporaryFile(/tmp/multipartBody2189240136692434420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303844484,"filename":"image_01012026_22_00_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8928f6b547788055291fad91614a941.jpg","text":"TemporaryFile(/tmp/multipartBody1712796303156253552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303844484,"filename":"image_01012026_22_00_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7fda62efa1cd471e9c5e46c0138b3df2.jpg","text":"TemporaryFile(/tmp/multipartBody7560100641383194311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303844484,"filename":"image_01012026_21_59_55_10623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402063826","file1":"1402063793","file0":"1402063785","file4":"1402063902","file5":"1402063941","file3":"1402063865"},"map_files_photo_id_array":[{"photo_id":"1402063941","filename":"file5"},{"photo_id":"1402063826","filename":"file2"},{"photo_id":"1402063902","filename":"file4"},{"photo_id":"1402063793","filename":"file1"},{"photo_id":"1402063785","filename":"file0"},{"photo_id":"1402063865","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402063826":["hashtag1","hashtag2"]},{"1402063941":["hashtag1","hashtag2"]},{"1402063785":["hashtag1","hashtag2"]},{"1402063902":["hashtag1","hashtag2"]},{"1402063865":["hashtag1","hashtag2"]},{"1402063793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402063826, 1402063941, 1402063785, 1402063902, 1402063865, 1402063793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70693588256836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:43:42.344283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_12_1576.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_14_1676.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_16_1676.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_17_1778.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_19_1548.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_21_1897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_12_1576.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_14_1676.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_16_1676.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_17_1778.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_19_1548.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_21_1897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402064102","1402064050","1402064068","1402064101","1402064049","1402064109"],"photo_ids_order":["1402064049","1402064050","1402064068","1402064101","1402064102","1402064109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fcc222b61a4bf8973934a1389995a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody1137029669281873983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303884243,"filename":"image_04112025_20_05_19_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d06300dca1c86d14dbc045763a864cb8.jpg","text":"TemporaryFile(/tmp/multipartBody2942013648308089862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303884243,"filename":"image_04112025_20_05_14_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7443160801099ad148aa4bf1396600d5.jpg","text":"TemporaryFile(/tmp/multipartBody8960470568025907399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303884243,"filename":"image_04112025_20_05_16_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/690734bedcd18bca314c5875fe0a01ef.jpg","text":"TemporaryFile(/tmp/multipartBody7851598058214148450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303884243,"filename":"image_04112025_20_05_17_1778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/52ae5a1c3d526498ebb5c304896492a6.jpg","text":"TemporaryFile(/tmp/multipartBody5561046419331058345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303884243,"filename":"image_04112025_20_05_12_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/178cd9b50cc265f5ad1cf42400130c6f.jpg","text":"TemporaryFile(/tmp/multipartBody631057038934596131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303884243,"filename":"image_04112025_20_05_21_1897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402064068","file1":"1402064050","file0":"1402064049","file4":"1402064102","file5":"1402064109","file3":"1402064101"},"map_files_photo_id_array":[{"photo_id":"1402064109","filename":"file5"},{"photo_id":"1402064068","filename":"file2"},{"photo_id":"1402064102","filename":"file4"},{"photo_id":"1402064050","filename":"file1"},{"photo_id":"1402064049","filename":"file0"},{"photo_id":"1402064101","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402064102":["hashtag1","hashtag2"]},{"1402064050":["hashtag1","hashtag2"]},{"1402064068":["hashtag1","hashtag2"]},{"1402064101":["hashtag1","hashtag2"]},{"1402064049":["hashtag1","hashtag2"]},{"1402064109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402064102, 1402064050, 1402064068, 1402064101, 1402064049, 1402064109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72761011123657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:44:22.665186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/01/image_01012026_22_01_35_10554.jpg', '/home/pi/Desktop/images/01012026/22/01/image_01012026_22_02_05_10575.jpg', '/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_15_9753.jpg', '/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_25_9750.jpg', '/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_35_9762.jpg', '/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/01/image_01012026_22_01_35_10554.jpg
/home/pi/Desktop/images/01012026/22/01/image_01012026_22_02_05_10575.jpg
/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_15_9753.jpg
/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_25_9750.jpg
/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_35_9762.jpg
/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_45_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402064173","1402064170","1402064166","1402064163","1402064162","1402064168"],"photo_ids_order":["1402064162","1402064163","1402064166","1402064168","1402064170","1402064173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ac02a15bc9aa0aedd9bb769bbeabece7.jpg","text":"TemporaryFile(/tmp/multipartBody2191692692045112641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303923260,"filename":"image_01012026_22_02_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a488e35c4f3c058a5db45649096c3197.jpg","text":"TemporaryFile(/tmp/multipartBody4589209483294922639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303923260,"filename":"image_01012026_22_02_35_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7187d889c17e02f2297ebdd02b0990e.jpg","text":"TemporaryFile(/tmp/multipartBody7662978083943423277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303923260,"filename":"image_01012026_22_02_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/35f7cbd696c7b65742948e5f5e84950a.jpg","text":"TemporaryFile(/tmp/multipartBody6437029953443181188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303923260,"filename":"image_01012026_22_02_05_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edfa99f2588709a39fbc6e34cf30c6a1.jpg","text":"TemporaryFile(/tmp/multipartBody7154104862272368880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303923260,"filename":"image_01012026_22_01_35_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/59bb6135d2af07ab6b56d09f372d9e86.jpg","text":"TemporaryFile(/tmp/multipartBody5756366247774466562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303923260,"filename":"image_01012026_22_02_25_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402064166","file1":"1402064163","file0":"1402064162","file4":"1402064170","file5":"1402064173","file3":"1402064168"},"map_files_photo_id_array":[{"photo_id":"1402064173","filename":"file5"},{"photo_id":"1402064166","filename":"file2"},{"photo_id":"1402064170","filename":"file4"},{"photo_id":"1402064163","filename":"file1"},{"photo_id":"1402064162","filename":"file0"},{"photo_id":"1402064168","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402064173":["hashtag1","hashtag2"]},{"1402064170":["hashtag1","hashtag2"]},{"1402064166":["hashtag1","hashtag2"]},{"1402064163":["hashtag1","hashtag2"]},{"1402064162":["hashtag1","hashtag2"]},{"1402064168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402064173, 1402064170, 1402064166, 1402064163, 1402064162, 1402064168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83804678916931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:45:02.588183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_55_9687.jpg', '/home/pi/Desktop/images/01012026/22/02/image_01012026_22_03_04_9576.jpg', '/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_15_10719.jpg', '/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_25_9674.jpg', '/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_34_9616.jpg', '/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_45_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/02/image_01012026_22_02_55_9687.jpg
/home/pi/Desktop/images/01012026/22/02/image_01012026_22_03_04_9576.jpg
/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_15_10719.jpg
/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_25_9674.jpg
/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_34_9616.jpg
/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_45_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":["1402064176","1402064434","1402064577","1402064175","1402064291","1402064186"],"photo_ids_order":["1402064175","1402064176","1402064186","1402064291","1402064434","1402064577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d2e7898ea89c3588e0cab198d1a86c0b.jpg","text":"TemporaryFile(/tmp/multipartBody4848583246945098195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303963227,"filename":"image_01012026_22_03_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08491951e480f7b003afbd529a19f6f6.jpg","text":"TemporaryFile(/tmp/multipartBody3746618660833791454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303963227,"filename":"image_01012026_22_03_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08a69109ac7bb50092a7349fc06ca2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1509883164109384186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303963227,"filename":"image_01012026_22_03_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/137efa0d94aea0ecf79510bf696f3939.jpg","text":"TemporaryFile(/tmp/multipartBody1054414667438574077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303963227,"filename":"image_01012026_22_02_55_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36bc24064fb7f249d0d38173e25b540d.jpg","text":"TemporaryFile(/tmp/multipartBody4711433090137212003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303963227,"filename":"image_01012026_22_03_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c8e60ee2813d3240aff2ff268802c13.jpg","text":"TemporaryFile(/tmp/multipartBody6617961677161581217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767303963227,"filename":"image_01012026_22_03_15_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402064186","file1":"1402064176","file0":"1402064175","file4":"1402064434","file5":"1402064577","file3":"1402064291"},"map_files_photo_id_array":[{"photo_id":"1402064577","filename":"file5"},{"photo_id":"1402064186","filename":"file2"},{"photo_id":"1402064434","filename":"file4"},{"photo_id":"1402064176","filename":"file1"},{"photo_id":"1402064175","filename":"file0"},{"photo_id":"1402064291","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402064176":["hashtag1","hashtag2"]},{"1402064434":["hashtag1","hashtag2"]},{"1402064577":["hashtag1","hashtag2"]},{"1402064175":["hashtag1","hashtag2"]},{"1402064291":["hashtag1","hashtag2"]},{"1402064186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402064176, 1402064434, 1402064577, 1402064175, 1402064291, 1402064186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12026000022888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:45:41.983083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_23_1753.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_24_1781.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_26_1642.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_49_22667.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_50_1686.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_52_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_23_1753.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_24_1781.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_26_1642.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_49_22667.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_50_1686.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_52_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402065331","1402065412","1402065216","1402065368","1402065065","1402065481"],"photo_ids_order":["1402065065","1402065216","1402065331","1402065368","1402065412","1402065481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c66bc8516ef436170dea52d56bce297b.jpg","text":"TemporaryFile(/tmp/multipartBody381632243675692112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304003879,"filename":"image_04112025_20_05_26_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50cd1fcd6525c8bad3cbf7042d065299.jpg","text":"TemporaryFile(/tmp/multipartBody7483785899411002697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304003879,"filename":"image_04112025_20_05_50_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fed1e9fc79cf71730afad69d1d50e243.jpg","text":"TemporaryFile(/tmp/multipartBody9011184415914765380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304003879,"filename":"image_04112025_20_05_24_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee810e77f7ec560f3c170cc103083016.jpg","text":"TemporaryFile(/tmp/multipartBody4539090911820621547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304003879,"filename":"image_04112025_20_05_49_22667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39e481ec41c8eff6e315dc79d045847e.jpg","text":"TemporaryFile(/tmp/multipartBody3563631310308275106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304003879,"filename":"image_04112025_20_05_23_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/55e076d0fec001f12a0823b7bc783f85.jpg","text":"TemporaryFile(/tmp/multipartBody1090556876748311272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304003879,"filename":"image_04112025_20_05_52_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402065331","file1":"1402065216","file0":"1402065065","file4":"1402065412","file5":"1402065481","file3":"1402065368"},"map_files_photo_id_array":[{"photo_id":"1402065481","filename":"file5"},{"photo_id":"1402065331","filename":"file2"},{"photo_id":"1402065412","filename":"file4"},{"photo_id":"1402065216","filename":"file1"},{"photo_id":"1402065065","filename":"file0"},{"photo_id":"1402065368","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402065331":["hashtag1","hashtag2"]},{"1402065412":["hashtag1","hashtag2"]},{"1402065216":["hashtag1","hashtag2"]},{"1402065368":["hashtag1","hashtag2"]},{"1402065065":["hashtag1","hashtag2"]},{"1402065481":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402065331, 1402065412, 1402065216, 1402065368, 1402065065, 1402065481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.82212519645691 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:46:32.128622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_54_1617.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_57_1633.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_59_1673.jpg', '/home/pi/Desktop/images/04112025/20/05/image_04112025_20_06_00_1617.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_05_1758.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_07_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_54_1617.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_57_1633.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_05_59_1673.jpg
/home/pi/Desktop/images/04112025/20/05/image_04112025_20_06_00_1617.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_05_1758.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_07_1603.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":["1402066173","1402065753","1402066017","1402066133","1402065968","1402065659"],"photo_ids_order":["1402065659","1402065753","1402065968","1402066017","1402066133","1402066173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8455564adcb272a9362fdc3cc126f740.jpg","text":"TemporaryFile(/tmp/multipartBody5262938559555091888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304054226,"filename":"image_04112025_20_06_07_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/305e61bce09d0b939aa9555225dcca22.jpg","text":"TemporaryFile(/tmp/multipartBody8457574487379352394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304054226,"filename":"image_04112025_20_05_57_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7eb8a2a866127a685b69c8e7350dbee0.jpg","text":"TemporaryFile(/tmp/multipartBody170785257916123302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304054226,"filename":"image_04112025_20_06_00_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5ffe5a5f258cf63ab69712327e2f638.jpg","text":"TemporaryFile(/tmp/multipartBody5763924168560088651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304054226,"filename":"image_04112025_20_06_05_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6da234c929e5a3a7ed12d3c1e99e1cdf.jpg","text":"TemporaryFile(/tmp/multipartBody4026901754061072601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304054226,"filename":"image_04112025_20_05_59_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c661a298a08ade02330cb45303960c32.jpg","text":"TemporaryFile(/tmp/multipartBody4032289688599038283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304054226,"filename":"image_04112025_20_05_54_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402065968","file1":"1402065753","file0":"1402065659","file4":"1402066133","file5":"1402066173","file3":"1402066017"},"map_files_photo_id_array":[{"photo_id":"1402066173","filename":"file5"},{"photo_id":"1402065968","filename":"file2"},{"photo_id":"1402066133","filename":"file4"},{"photo_id":"1402065753","filename":"file1"},{"photo_id":"1402065659","filename":"file0"},{"photo_id":"1402066017","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402066173":["hashtag1","hashtag2"]},{"1402065753":["hashtag1","hashtag2"]},{"1402066017":["hashtag1","hashtag2"]},{"1402066133":["hashtag1","hashtag2"]},{"1402065968":["hashtag1","hashtag2"]},{"1402065659":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402066173, 1402065753, 1402066017, 1402066133, 1402065968, 1402065659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.466506481170654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:47:32.296399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_12_1669.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_17_3420.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_19_1646.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_21_1791.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_25_2740.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_28_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_12_1669.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_17_3420.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_19_1646.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_21_1791.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_25_2740.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_28_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402066875","1402066671","1402066929","1402067015","1402066769","1402066828"],"photo_ids_order":["1402066671","1402066769","1402066828","1402066875","1402066929","1402067015"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3916cd5c6eda74eb01872ee40432e670.jpg","text":"TemporaryFile(/tmp/multipartBody7278974322208788897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304114478,"filename":"image_04112025_20_06_21_1791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fe9ca4687f0901e08096ff313fd68edf.jpg","text":"TemporaryFile(/tmp/multipartBody8301977076783123358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304114478,"filename":"image_04112025_20_06_12_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46952e134d1b8703c5cc8497ae21e7e7.jpg","text":"TemporaryFile(/tmp/multipartBody2741031432735740887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304114478,"filename":"image_04112025_20_06_25_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90082c0e8622446a14f59b95a10dadc9.jpg","text":"TemporaryFile(/tmp/multipartBody3806585365862754626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304114478,"filename":"image_04112025_20_06_28_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64775e4184ba621f7806ecc7e238cffb.jpg","text":"TemporaryFile(/tmp/multipartBody2523147809256136663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304114478,"filename":"image_04112025_20_06_17_3420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f2fae5aa3995c6b9650fe6896c7d389.jpg","text":"TemporaryFile(/tmp/multipartBody6737075603140370659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304114478,"filename":"image_04112025_20_06_19_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402066828","file1":"1402066769","file0":"1402066671","file4":"1402066929","file5":"1402067015","file3":"1402066875"},"map_files_photo_id_array":[{"photo_id":"1402067015","filename":"file5"},{"photo_id":"1402066828","filename":"file2"},{"photo_id":"1402066929","filename":"file4"},{"photo_id":"1402066769","filename":"file1"},{"photo_id":"1402066671","filename":"file0"},{"photo_id":"1402066875","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402066875":["hashtag1","hashtag2"]},{"1402066671":["hashtag1","hashtag2"]},{"1402066929":["hashtag1","hashtag2"]},{"1402067015":["hashtag1","hashtag2"]},{"1402066769":["hashtag1","hashtag2"]},{"1402066828":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402066875, 1402066671, 1402066929, 1402067015, 1402066769, 1402066828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88289833068848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:48:12.504429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_31_3665.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_34_2687.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_37_2667.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_40_3642.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_43_2780.jpg', '/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_47_3399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_31_3665.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_34_2687.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_37_2667.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_40_3642.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_43_2780.jpg
/home/pi/Desktop/images/04112025/20/06/image_04112025_20_06_47_3399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402067334","1402067441","1402067398","1402067290","1402067509","1402067500"],"photo_ids_order":["1402067290","1402067334","1402067398","1402067441","1402067500","1402067509"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c53ea6792b40ff486698b87d7d15fc14.jpg","text":"TemporaryFile(/tmp/multipartBody8001789924971465360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304154282,"filename":"image_04112025_20_06_34_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13a890f68a4db47f26df720373e7d14c.jpg","text":"TemporaryFile(/tmp/multipartBody3763804987833061994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304154282,"filename":"image_04112025_20_06_40_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c5037c4dda1c51981aeb72daee34f8f.jpg","text":"TemporaryFile(/tmp/multipartBody182956743334843382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304154282,"filename":"image_04112025_20_06_37_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/208c338d99b10eef82963318269e3ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8367371846833282367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304154282,"filename":"image_04112025_20_06_31_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/08271673462ad9851dbe3cbb57eb1854.jpg","text":"TemporaryFile(/tmp/multipartBody156343239224690961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304154282,"filename":"image_04112025_20_06_47_3399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4f8bf35fd0eaf65d95f36c9ffbc598f7.jpg","text":"TemporaryFile(/tmp/multipartBody375534216503589752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304154282,"filename":"image_04112025_20_06_43_2780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402067398","file1":"1402067334","file0":"1402067290","file4":"1402067500","file5":"1402067509","file3":"1402067441"},"map_files_photo_id_array":[{"photo_id":"1402067509","filename":"file5"},{"photo_id":"1402067398","filename":"file2"},{"photo_id":"1402067500","filename":"file4"},{"photo_id":"1402067334","filename":"file1"},{"photo_id":"1402067290","filename":"file0"},{"photo_id":"1402067441","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402067334":["hashtag1","hashtag2"]},{"1402067441":["hashtag1","hashtag2"]},{"1402067398":["hashtag1","hashtag2"]},{"1402067290":["hashtag1","hashtag2"]},{"1402067509":["hashtag1","hashtag2"]},{"1402067500":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402067334, 1402067441, 1402067398, 1402067290, 1402067509, 1402067500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36573886871338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:49:03.604903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_55_9687.jpg', '/home/pi/Desktop/images/01012026/22/03/image_01012026_22_04_05_9679.jpg', '/home/pi/Desktop/images/01012026/22/04/image_01012026_22_04_25_9646.jpg', '/home/pi/Desktop/images/01012026/22/04/image_01012026_22_04_55_9667.jpg', '/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_14_10062.jpg', '/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_25_10845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/03/image_01012026_22_03_55_9687.jpg
/home/pi/Desktop/images/01012026/22/03/image_01012026_22_04_05_9679.jpg
/home/pi/Desktop/images/01012026/22/04/image_01012026_22_04_25_9646.jpg
/home/pi/Desktop/images/01012026/22/04/image_01012026_22_04_55_9667.jpg
/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_14_10062.jpg
/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_25_10845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402067555","1402067630","1402067593","1402067671","1402067515","1402067518"],"photo_ids_order":["1402067515","1402067518","1402067555","1402067593","1402067630","1402067671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/342eb3922103820034050a77ee7f3f03.jpg","text":"TemporaryFile(/tmp/multipartBody9009329837688530342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304204466,"filename":"image_01012026_22_04_25_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37a0b2654d361a2dc9de1bf634ffd268.jpg","text":"TemporaryFile(/tmp/multipartBody8525306323107842294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304204466,"filename":"image_01012026_22_05_14_10062.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c660c2684d759a619ad4447737d9579.jpg","text":"TemporaryFile(/tmp/multipartBody1316173449653238205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304204466,"filename":"image_01012026_22_04_55_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d5bdd034613d4ce5becf70a69b2ecf20.jpg","text":"TemporaryFile(/tmp/multipartBody5672552506897384728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304204466,"filename":"image_01012026_22_05_25_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f5132bb143556fae1cead5c49d7ccf2.jpg","text":"TemporaryFile(/tmp/multipartBody3524568481126614032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304204466,"filename":"image_01012026_22_03_55_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ecb24a3988f187be96f9d10da79540c9.jpg","text":"TemporaryFile(/tmp/multipartBody4793722281247311394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304204466,"filename":"image_01012026_22_04_05_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402067555","file1":"1402067518","file0":"1402067515","file4":"1402067630","file5":"1402067671","file3":"1402067593"},"map_files_photo_id_array":[{"photo_id":"1402067671","filename":"file5"},{"photo_id":"1402067555","filename":"file2"},{"photo_id":"1402067630","filename":"file4"},{"photo_id":"1402067518","filename":"file1"},{"photo_id":"1402067515","filename":"file0"},{"photo_id":"1402067593","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402067555":["hashtag1","hashtag2"]},{"1402067630":["hashtag1","hashtag2"]},{"1402067593":["hashtag1","hashtag2"]},{"1402067671":["hashtag1","hashtag2"]},{"1402067515":["hashtag1","hashtag2"]},{"1402067518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402067555, 1402067630, 1402067593, 1402067671, 1402067515, 1402067518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97344946861267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:49:42.659443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_15_1565.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_17_1833.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_22_1828.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_24_1634.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_26_1600.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_27_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_15_1565.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_17_1833.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_22_1828.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_24_1634.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_26_1600.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_27_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402067780","1402067753","1402067770","1402067845","1402067734","1402067781"],"photo_ids_order":["1402067734","1402067753","1402067770","1402067780","1402067781","1402067845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/23d21656979aa0dca722702362270a97.jpg","text":"TemporaryFile(/tmp/multipartBody375968404644461076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304244574,"filename":"image_04112025_20_07_24_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6fcc2cbd229d56b909e08c354c769ff3.jpg","text":"TemporaryFile(/tmp/multipartBody8983362229041364061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304244574,"filename":"image_04112025_20_07_17_1833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43efa8711cf11d34856ff2136313d904.jpg","text":"TemporaryFile(/tmp/multipartBody745737661299660345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304244574,"filename":"image_04112025_20_07_22_1828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fc94f84122f0808be374cf6328dfb050.jpg","text":"TemporaryFile(/tmp/multipartBody6974728235795487596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304244574,"filename":"image_04112025_20_07_27_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d5b8f057ae0d4c1cf5971d41d7b685b.jpg","text":"TemporaryFile(/tmp/multipartBody4922964816474421843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304244574,"filename":"image_04112025_20_07_15_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c12611d56c2480b242fd0ebf896437de.jpg","text":"TemporaryFile(/tmp/multipartBody980620669796067020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304244574,"filename":"image_04112025_20_07_26_1600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402067770","file1":"1402067753","file0":"1402067734","file4":"1402067781","file5":"1402067845","file3":"1402067780"},"map_files_photo_id_array":[{"photo_id":"1402067845","filename":"file5"},{"photo_id":"1402067770","filename":"file2"},{"photo_id":"1402067781","filename":"file4"},{"photo_id":"1402067753","filename":"file1"},{"photo_id":"1402067734","filename":"file0"},{"photo_id":"1402067780","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402067780":["hashtag1","hashtag2"]},{"1402067753":["hashtag1","hashtag2"]},{"1402067770":["hashtag1","hashtag2"]},{"1402067845":["hashtag1","hashtag2"]},{"1402067734":["hashtag1","hashtag2"]},{"1402067781":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402067780, 1402067753, 1402067770, 1402067845, 1402067734, 1402067781)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.70827674865723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:50:32.836827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_29_1605.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_31_1701.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_32_1576.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_36_2689.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_42_1625.jpg', '/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_46_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_29_1605.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_31_1701.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_32_1576.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_36_2689.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_42_1625.jpg
/home/pi/Desktop/images/04112025/20/07/image_04112025_20_07_46_3729.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402068590","1402068515","1402068592","1402068419","1402068594","1402068593"],"photo_ids_order":["1402068419","1402068515","1402068590","1402068592","1402068593","1402068594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb0bed8b49358857865796193390a5e2.jpg","text":"TemporaryFile(/tmp/multipartBody1393836661536183103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304294755,"filename":"image_04112025_20_07_32_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f5d284ad6f9f788141f182b639a121b7.jpg","text":"TemporaryFile(/tmp/multipartBody5846911450041618489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304294755,"filename":"image_04112025_20_07_31_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8407d913adbf48673ef88425676c164.jpg","text":"TemporaryFile(/tmp/multipartBody3491559908883080094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304294755,"filename":"image_04112025_20_07_36_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/002d55f2e89caed33aefa3ecee8810db.jpg","text":"TemporaryFile(/tmp/multipartBody1209443347625058613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304294755,"filename":"image_04112025_20_07_29_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94f2f28b5e138fabbf17a70b3dcd456c.jpg","text":"TemporaryFile(/tmp/multipartBody784727627320755388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304294755,"filename":"image_04112025_20_07_46_3729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85f5fc9254c54f6600a107a312818b96.jpg","text":"TemporaryFile(/tmp/multipartBody3132459635165153518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304294755,"filename":"image_04112025_20_07_42_1625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402068590","file1":"1402068515","file0":"1402068419","file4":"1402068593","file5":"1402068594","file3":"1402068592"},"map_files_photo_id_array":[{"photo_id":"1402068594","filename":"file5"},{"photo_id":"1402068590","filename":"file2"},{"photo_id":"1402068593","filename":"file4"},{"photo_id":"1402068515","filename":"file1"},{"photo_id":"1402068419","filename":"file0"},{"photo_id":"1402068592","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402068590":["hashtag1","hashtag2"]},{"1402068515":["hashtag1","hashtag2"]},{"1402068592":["hashtag1","hashtag2"]},{"1402068419":["hashtag1","hashtag2"]},{"1402068594":["hashtag1","hashtag2"]},{"1402068593":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402068590, 1402068515, 1402068592, 1402068419, 1402068594, 1402068593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26914310455322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:51:11.972833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_03_1657.jpg', '/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_18_14751.jpg', '/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_21_3379.jpg', '/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_32_1739.jpg', '/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_36_1712.jpg', '/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_39_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_03_1657.jpg
/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_18_14751.jpg
/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_21_3379.jpg
/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_32_1739.jpg
/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_36_1712.jpg
/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_39_3723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402068819","1402068596","1402068779","1402068818","1402068667","1402068595"],"photo_ids_order":["1402068595","1402068596","1402068667","1402068779","1402068818","1402068819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/952a18deab6d0f2e744e29259a906acb.jpg","text":"TemporaryFile(/tmp/multipartBody4718813771592364138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304333761,"filename":"image_04112025_20_08_39_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afecc6857081aae4886149082a6d20bb.jpg","text":"TemporaryFile(/tmp/multipartBody1211796498249811272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304333761,"filename":"image_04112025_20_08_18_14751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8e7170bf77542d509f6b09679625a5b.jpg","text":"TemporaryFile(/tmp/multipartBody5785193601490046296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304333761,"filename":"image_04112025_20_08_32_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/97e39933a9f0b6a9b17c4803c08638b1.jpg","text":"TemporaryFile(/tmp/multipartBody2934016536950403004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304333761,"filename":"image_04112025_20_08_36_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9dbc690a9ef6daa00e494a32a7a97e8c.jpg","text":"TemporaryFile(/tmp/multipartBody531349150594425178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304333761,"filename":"image_04112025_20_08_21_3379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cb77a27f074e8f51c07d93eaa98e2b8a.jpg","text":"TemporaryFile(/tmp/multipartBody319188495866390411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304333761,"filename":"image_04112025_20_08_03_1657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402068667","file1":"1402068596","file0":"1402068595","file4":"1402068818","file5":"1402068819","file3":"1402068779"},"map_files_photo_id_array":[{"photo_id":"1402068819","filename":"file5"},{"photo_id":"1402068667","filename":"file2"},{"photo_id":"1402068818","filename":"file4"},{"photo_id":"1402068596","filename":"file1"},{"photo_id":"1402068595","filename":"file0"},{"photo_id":"1402068779","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402068819":["hashtag1","hashtag2"]},{"1402068596":["hashtag1","hashtag2"]},{"1402068779":["hashtag1","hashtag2"]},{"1402068818":["hashtag1","hashtag2"]},{"1402068667":["hashtag1","hashtag2"]},{"1402068595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402068819, 1402068596, 1402068779, 1402068818, 1402068667, 1402068595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.770222663879395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:52:02.565980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_34_9587.jpg', '/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_44_9780.jpg', '/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_55_10603.jpg', '/home/pi/Desktop/images/01012026/22/05/image_01012026_22_06_04_9800.jpg', '/home/pi/Desktop/images/01012026/22/06/image_01012026_22_06_14_9570.jpg', '/home/pi/Desktop/images/01012026/22/06/image_01012026_22_06_25_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_34_9587.jpg
/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_44_9780.jpg
/home/pi/Desktop/images/01012026/22/05/image_01012026_22_05_55_10603.jpg
/home/pi/Desktop/images/01012026/22/05/image_01012026_22_06_04_9800.jpg
/home/pi/Desktop/images/01012026/22/06/image_01012026_22_06_14_9570.jpg
/home/pi/Desktop/images/01012026/22/06/image_01012026_22_06_25_10662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402068989","1402068932","1402068931","1402069191","1402068930","1402069091"],"photo_ids_order":["1402068930","1402068931","1402068932","1402068989","1402069091","1402069191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/461f64d7e18d6c2023c764263dc214d8.jpg","text":"TemporaryFile(/tmp/multipartBody8565753600586543927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304383205,"filename":"image_01012026_22_06_04_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/50588b4dd7c374c5ec079b9b216a9cb9.jpg","text":"TemporaryFile(/tmp/multipartBody832909473104244660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304383205,"filename":"image_01012026_22_05_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f93641041b4130964b0f4c7e190785b8.jpg","text":"TemporaryFile(/tmp/multipartBody1380397789730785369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304383205,"filename":"image_01012026_22_05_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed51324b19bb6cbb9a394096da9e5033.jpg","text":"TemporaryFile(/tmp/multipartBody2701292195633623916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304383205,"filename":"image_01012026_22_06_25_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/89f1fd3cea4d67424280b0a747d54845.jpg","text":"TemporaryFile(/tmp/multipartBody7616101138233731457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304383205,"filename":"image_01012026_22_05_34_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd3169bf19b479a2c2e0480db9f57a62.jpg","text":"TemporaryFile(/tmp/multipartBody5173896042278335515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304383205,"filename":"image_01012026_22_06_14_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402068932","file1":"1402068931","file0":"1402068930","file4":"1402069091","file5":"1402069191","file3":"1402068989"},"map_files_photo_id_array":[{"photo_id":"1402069191","filename":"file5"},{"photo_id":"1402068932","filename":"file2"},{"photo_id":"1402069091","filename":"file4"},{"photo_id":"1402068931","filename":"file1"},{"photo_id":"1402068930","filename":"file0"},{"photo_id":"1402068989","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402068989":["hashtag1","hashtag2"]},{"1402068932":["hashtag1","hashtag2"]},{"1402068931":["hashtag1","hashtag2"]},{"1402069191":["hashtag1","hashtag2"]},{"1402068930":["hashtag1","hashtag2"]},{"1402069091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402068989, 1402068932, 1402068931, 1402069191, 1402068930, 1402069091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80614614486694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:52:42.143655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_41_1708.jpg', '/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_49_2687.jpg', '/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_09_11262.jpg', '/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_10_1612.jpg', '/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_28_2612.jpg', '/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_32_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_41_1708.jpg
/home/pi/Desktop/images/04112025/20/08/image_04112025_20_08_49_2687.jpg
/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_09_11262.jpg
/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_10_1612.jpg
/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_28_2612.jpg
/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_32_3728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402069843","1402069660","1402069624","1402069716","1402069589","1402069553"],"photo_ids_order":["1402069553","1402069589","1402069624","1402069660","1402069716","1402069843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5b02934187e607c72fa8f384ce3ba5be.jpg","text":"TemporaryFile(/tmp/multipartBody8357975419189769432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304424057,"filename":"image_04112025_20_09_32_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c9fba5d92cba96fd6432de213bb9914.jpg","text":"TemporaryFile(/tmp/multipartBody6044448126721761049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304424057,"filename":"image_04112025_20_09_10_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5fe2f950a7efce592ed05ed979829533.jpg","text":"TemporaryFile(/tmp/multipartBody401225499731402130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304424057,"filename":"image_04112025_20_09_09_11262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a35085cf402832601e40f523caeb998c.jpg","text":"TemporaryFile(/tmp/multipartBody5921451094876661144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304424057,"filename":"image_04112025_20_09_28_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab599df6f1a4943b28c78a9c6a18e30c.jpg","text":"TemporaryFile(/tmp/multipartBody6174187020887653007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304424057,"filename":"image_04112025_20_08_49_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/688c9219d7e0ddd2f97bde0797d281e2.jpg","text":"TemporaryFile(/tmp/multipartBody6449585077966299084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304424057,"filename":"image_04112025_20_08_41_1708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402069624","file1":"1402069589","file0":"1402069553","file4":"1402069716","file5":"1402069843","file3":"1402069660"},"map_files_photo_id_array":[{"photo_id":"1402069843","filename":"file5"},{"photo_id":"1402069624","filename":"file2"},{"photo_id":"1402069716","filename":"file4"},{"photo_id":"1402069589","filename":"file1"},{"photo_id":"1402069553","filename":"file0"},{"photo_id":"1402069660","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402069843":["hashtag1","hashtag2"]},{"1402069660":["hashtag1","hashtag2"]},{"1402069624":["hashtag1","hashtag2"]},{"1402069716":["hashtag1","hashtag2"]},{"1402069589":["hashtag1","hashtag2"]},{"1402069553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402069843, 1402069660, 1402069624, 1402069716, 1402069589, 1402069553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49401593208313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:53:22.363670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/06/image_01012026_22_06_44_9706.jpg', '/home/pi/Desktop/images/01012026/22/06/image_01012026_22_07_04_10620.jpg', '/home/pi/Desktop/images/01012026/22/07/image_01012026_22_07_24_9667.jpg', '/home/pi/Desktop/images/01012026/22/07/image_01012026_22_07_34_10559.jpg', '/home/pi/Desktop/images/01012026/22/07/image_01012026_22_08_05_10678.jpg', '/home/pi/Desktop/images/01012026/22/08/image_01012026_22_08_14_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/06/image_01012026_22_06_44_9706.jpg
/home/pi/Desktop/images/01012026/22/06/image_01012026_22_07_04_10620.jpg
/home/pi/Desktop/images/01012026/22/07/image_01012026_22_07_24_9667.jpg
/home/pi/Desktop/images/01012026/22/07/image_01012026_22_07_34_10559.jpg
/home/pi/Desktop/images/01012026/22/07/image_01012026_22_08_05_10678.jpg
/home/pi/Desktop/images/01012026/22/08/image_01012026_22_08_14_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":["1402070090","1402070063","1402070086","1402070023","1402070088","1402070093"],"photo_ids_order":["1402070023","1402070063","1402070086","1402070088","1402070090","1402070093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/78444897f955ad0f628ebc02e02ad149.jpg","text":"TemporaryFile(/tmp/multipartBody6541013636758096521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304462949,"filename":"image_01012026_22_08_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afb653cbc80c58d01ff577df9efbfa21.jpg","text":"TemporaryFile(/tmp/multipartBody6873537217127002065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304462949,"filename":"image_01012026_22_07_04_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/588a2505a447d8e09c856e3cf557ad53.jpg","text":"TemporaryFile(/tmp/multipartBody7958051911624529565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304462949,"filename":"image_01012026_22_07_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8abd7d7932d8fa113d4ea61c68fc362.jpg","text":"TemporaryFile(/tmp/multipartBody5948135498413489577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304462949,"filename":"image_01012026_22_06_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c40412d780a811c73544f368f1d0b3c.jpg","text":"TemporaryFile(/tmp/multipartBody4776998940628880098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304462949,"filename":"image_01012026_22_07_34_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64966d2571f2eabcec0a1d3fbc10a98d.jpg","text":"TemporaryFile(/tmp/multipartBody550616158571097202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304462949,"filename":"image_01012026_22_08_14_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402070086","file1":"1402070063","file0":"1402070023","file4":"1402070090","file5":"1402070093","file3":"1402070088"},"map_files_photo_id_array":[{"photo_id":"1402070093","filename":"file5"},{"photo_id":"1402070086","filename":"file2"},{"photo_id":"1402070090","filename":"file4"},{"photo_id":"1402070063","filename":"file1"},{"photo_id":"1402070023","filename":"file0"},{"photo_id":"1402070088","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402070090":["hashtag1","hashtag2"]},{"1402070063":["hashtag1","hashtag2"]},{"1402070086":["hashtag1","hashtag2"]},{"1402070023":["hashtag1","hashtag2"]},{"1402070088":["hashtag1","hashtag2"]},{"1402070093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402070090, 1402070063, 1402070086, 1402070023, 1402070088, 1402070093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49008822441101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:54:03.038924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/08/image_01012026_22_08_35_10757.jpg', '/home/pi/Desktop/images/01012026/22/08/image_01012026_22_08_44_9714.jpg', '/home/pi/Desktop/images/01012026/22/08/image_01012026_22_08_54_9682.jpg', '/home/pi/Desktop/images/01012026/22/08/image_01012026_22_09_04_9815.jpg', '/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_14_10607.jpg', '/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_24_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/08/image_01012026_22_08_35_10757.jpg
/home/pi/Desktop/images/01012026/22/08/image_01012026_22_08_44_9714.jpg
/home/pi/Desktop/images/01012026/22/08/image_01012026_22_08_54_9682.jpg
/home/pi/Desktop/images/01012026/22/08/image_01012026_22_09_04_9815.jpg
/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_14_10607.jpg
/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_24_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":["1402070156","1402070231","1402070240","1402070239","1402070268","1402070192"],"photo_ids_order":["1402070156","1402070192","1402070231","1402070239","1402070240","1402070268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30898427810f5ebaaaa0bb2a3b539b27.jpg","text":"TemporaryFile(/tmp/multipartBody6000989164510579318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304503689,"filename":"image_01012026_22_08_35_10757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bab9415d77fca7a2912e5260c93ed989.jpg","text":"TemporaryFile(/tmp/multipartBody6367206643708870724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304503689,"filename":"image_01012026_22_08_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7675d5f439c1f23ed88cdc91aee6ea3c.jpg","text":"TemporaryFile(/tmp/multipartBody356201497914691981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304503689,"filename":"image_01012026_22_09_14_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/638048ddf7709c1cfdacdeb548c95f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3622255564972734677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304503689,"filename":"image_01012026_22_09_04_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38e33c7c0ab6931926c1f2745a6e2bf2.jpg","text":"TemporaryFile(/tmp/multipartBody622119024418283618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304503689,"filename":"image_01012026_22_09_24_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03f36adcbe68042825efe3bce779b2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8248303309317646251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304503689,"filename":"image_01012026_22_08_44_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402070231","file1":"1402070192","file0":"1402070156","file4":"1402070240","file5":"1402070268","file3":"1402070239"},"map_files_photo_id_array":[{"photo_id":"1402070268","filename":"file5"},{"photo_id":"1402070231","filename":"file2"},{"photo_id":"1402070240","filename":"file4"},{"photo_id":"1402070192","filename":"file1"},{"photo_id":"1402070156","filename":"file0"},{"photo_id":"1402070239","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402070156":["hashtag1","hashtag2"]},{"1402070231":["hashtag1","hashtag2"]},{"1402070240":["hashtag1","hashtag2"]},{"1402070239":["hashtag1","hashtag2"]},{"1402070268":["hashtag1","hashtag2"]},{"1402070192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402070156, 1402070231, 1402070240, 1402070239, 1402070268, 1402070192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.061081409454346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:54:42.492062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_40_2601.jpg', '/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_43_3328.jpg', '/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_46_2928.jpg', '/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_57_1601.jpg', '/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_11_3281.jpg', '/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_13_1802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_40_2601.jpg
/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_43_3328.jpg
/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_46_2928.jpg
/home/pi/Desktop/images/04112025/20/09/image_04112025_20_09_57_1601.jpg
/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_11_3281.jpg
/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_13_1802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402070319","1402070318","1402070321","1402070315","1402070323","1402070316"],"photo_ids_order":["1402070315","1402070316","1402070318","1402070319","1402070321","1402070323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e5106e3b90cb6ca471642c3ae060981.jpg","text":"TemporaryFile(/tmp/multipartBody3706938528599162874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304544431,"filename":"image_04112025_20_09_57_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/721f474b09d80df27626f45421d3179e.jpg","text":"TemporaryFile(/tmp/multipartBody5975435519019021943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304544431,"filename":"image_04112025_20_09_46_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cff4777101a8c656b5317ce587ad2af.jpg","text":"TemporaryFile(/tmp/multipartBody1800599651450606397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304544431,"filename":"image_04112025_20_10_11_3281.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c320a2a4df62c6c7cebf486fc61b6518.jpg","text":"TemporaryFile(/tmp/multipartBody1110201059027511109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304544431,"filename":"image_04112025_20_09_40_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b5838fe4144966fef2dfae17ff79ffd.jpg","text":"TemporaryFile(/tmp/multipartBody5806123038828190295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304544431,"filename":"image_04112025_20_10_13_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea6d407487a1a3839dbe18d70596e02d.jpg","text":"TemporaryFile(/tmp/multipartBody2417492418427032703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304544431,"filename":"image_04112025_20_09_43_3328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402070318","file1":"1402070316","file0":"1402070315","file4":"1402070321","file5":"1402070323","file3":"1402070319"},"map_files_photo_id_array":[{"photo_id":"1402070323","filename":"file5"},{"photo_id":"1402070318","filename":"file2"},{"photo_id":"1402070321","filename":"file4"},{"photo_id":"1402070316","filename":"file1"},{"photo_id":"1402070315","filename":"file0"},{"photo_id":"1402070319","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402070319":["hashtag1","hashtag2"]},{"1402070318":["hashtag1","hashtag2"]},{"1402070321":["hashtag1","hashtag2"]},{"1402070315":["hashtag1","hashtag2"]},{"1402070323":["hashtag1","hashtag2"]},{"1402070316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402070319, 1402070318, 1402070321, 1402070315, 1402070323, 1402070316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.56459331512451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:55:32.690218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_14_1649.jpg', '/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_46_1641.jpg', '/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_48_1605.jpg', '/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_53_1786.jpg', '/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_56_1612.jpg', '/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_59_1623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_14_1649.jpg
/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_46_1641.jpg
/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_48_1605.jpg
/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_53_1786.jpg
/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_56_1612.jpg
/home/pi/Desktop/images/04112025/20/10/image_04112025_20_10_59_1623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402070336","1402070333","1402070327","1402070329","1402070331","1402070334"],"photo_ids_order":["1402070327","1402070329","1402070331","1402070333","1402070334","1402070336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af3219d5af7ee80445e5c5d6301a4ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4868229117792978041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304594645,"filename":"image_04112025_20_10_59_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/874e1e498588330abc49d413c3ba6295.jpg","text":"TemporaryFile(/tmp/multipartBody7251333846989501301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304594645,"filename":"image_04112025_20_10_53_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7553e98a7c46b52cf3a917f04c034e23.jpg","text":"TemporaryFile(/tmp/multipartBody1411872908740801367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304594645,"filename":"image_04112025_20_10_14_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d58e0cecbf8fdd5ab4f9e2eb630a86b.jpg","text":"TemporaryFile(/tmp/multipartBody8867137156660047633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304594645,"filename":"image_04112025_20_10_46_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d4c61661ee9e94196c56d0fdaf8205ee.jpg","text":"TemporaryFile(/tmp/multipartBody1175952269502763382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304594645,"filename":"image_04112025_20_10_48_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/51591b285640b81ea7de10f7571be8a9.jpg","text":"TemporaryFile(/tmp/multipartBody7095524455374476422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304594645,"filename":"image_04112025_20_10_56_1612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402070331","file1":"1402070329","file0":"1402070327","file4":"1402070334","file5":"1402070336","file3":"1402070333"},"map_files_photo_id_array":[{"photo_id":"1402070336","filename":"file5"},{"photo_id":"1402070331","filename":"file2"},{"photo_id":"1402070334","filename":"file4"},{"photo_id":"1402070329","filename":"file1"},{"photo_id":"1402070327","filename":"file0"},{"photo_id":"1402070333","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402070336":["hashtag1","hashtag2"]},{"1402070333":["hashtag1","hashtag2"]},{"1402070327":["hashtag1","hashtag2"]},{"1402070329":["hashtag1","hashtag2"]},{"1402070331":["hashtag1","hashtag2"]},{"1402070334":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402070336, 1402070333, 1402070327, 1402070329, 1402070331, 1402070334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.998759746551514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:56:22.369775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_34_9799.jpg', '/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_44_9695.jpg', '/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_14_10058.jpg', '/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_25_10837.jpg', '/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_35_9773.jpg', '/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_45_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_34_9799.jpg
/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_44_9695.jpg
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_14_10058.jpg
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_25_10837.jpg
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_35_9773.jpg
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_45_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.48818206787109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 22:56:32.273209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_05_1712.jpg', '/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_06_1861.jpg', '/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_44_1572.jpg', '/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_48_1618.jpg', '/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_54_1649.jpg', '/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_12_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_05_1712.jpg
/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_06_1861.jpg
/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_44_1572.jpg
/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_48_1618.jpg
/home/pi/Desktop/images/04112025/20/11/image_04112025_20_11_54_1649.jpg
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_12_1625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402070357","1402070348","1402070353","1402070356","1402070344","1402070355"],"photo_ids_order":["1402070344","1402070348","1402070353","1402070355","1402070356","1402070357"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a4443bdf6aad75d29e0d33f63d96bc7.jpg","text":"TemporaryFile(/tmp/multipartBody3545635651030884212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304654796,"filename":"image_04112025_20_12_12_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/57410af09db953d42efc688a4c38e40c.jpg","text":"TemporaryFile(/tmp/multipartBody3282705786570557911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304654796,"filename":"image_04112025_20_11_06_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c5beb4fd22efd64ca68dab5efb210acb.jpg","text":"TemporaryFile(/tmp/multipartBody6578188667468863070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304654796,"filename":"image_04112025_20_11_44_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/154024d8d41f8371c816865c83ccbfd0.jpg","text":"TemporaryFile(/tmp/multipartBody3238234436190607916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304654796,"filename":"image_04112025_20_11_54_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0529e37a78a5020eafcdaba60084b79c.jpg","text":"TemporaryFile(/tmp/multipartBody8933298683211663860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304654796,"filename":"image_04112025_20_11_05_1712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d4b38873432d7c4056f583fc9b9e8dd.jpg","text":"TemporaryFile(/tmp/multipartBody5789153967870827114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304654796,"filename":"image_04112025_20_11_48_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402070353","file1":"1402070348","file0":"1402070344","file4":"1402070356","file5":"1402070357","file3":"1402070355"},"map_files_photo_id_array":[{"photo_id":"1402070357","filename":"file5"},{"photo_id":"1402070353","filename":"file2"},{"photo_id":"1402070356","filename":"file4"},{"photo_id":"1402070348","filename":"file1"},{"photo_id":"1402070344","filename":"file0"},{"photo_id":"1402070355","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402070357":["hashtag1","hashtag2"]},{"1402070348":["hashtag1","hashtag2"]},{"1402070353":["hashtag1","hashtag2"]},{"1402070356":["hashtag1","hashtag2"]},{"1402070344":["hashtag1","hashtag2"]},{"1402070355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402070357, 1402070348, 1402070353, 1402070356, 1402070344, 1402070355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93144917488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 22:57:22.511915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_34_9799.jpg', '/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_44_9695.jpg', '/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_14_10058.jpg', '/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_25_10837.jpg', '/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_35_9773.jpg', '/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_45_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_34_9799.jpg
/home/pi/Desktop/images/01012026/22/09/image_01012026_22_09_44_9695.jpg
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_14_10058.jpg
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_25_10837.jpg
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_35_9773.jpg
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_10_45_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":["1402070369","1402070360","1402070365","1402070368","1402070362","1402070367"],"photo_ids_order":["1402070360","1402070362","1402070365","1402070367","1402070368","1402070369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21a7b5a1766b9d7e7e1ee19ffae4f5d0.jpg","text":"TemporaryFile(/tmp/multipartBody1971125310166192931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304703110,"filename":"image_01012026_22_10_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14730d4a793e9b157e57d64bf6de3e5b.jpg","text":"TemporaryFile(/tmp/multipartBody7814551626896473393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304703110,"filename":"image_01012026_22_09_34_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d8f4163c366c44d7692f7578d51ae58.jpg","text":"TemporaryFile(/tmp/multipartBody6345673150862777209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304703110,"filename":"image_01012026_22_10_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15d86a51639d71cd9c968aeceb66a4bd.jpg","text":"TemporaryFile(/tmp/multipartBody2397026770041212133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304703110,"filename":"image_01012026_22_10_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ecb5704a09733fd747deaadf6f7ad69.jpg","text":"TemporaryFile(/tmp/multipartBody4849443616421484518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304703110,"filename":"image_01012026_22_09_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9674b68b26c10fd1d31b04e3f058220.jpg","text":"TemporaryFile(/tmp/multipartBody2238501767035933984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304703110,"filename":"image_01012026_22_10_25_10837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402070365","file1":"1402070362","file0":"1402070360","file4":"1402070368","file5":"1402070369","file3":"1402070367"},"map_files_photo_id_array":[{"photo_id":"1402070369","filename":"file5"},{"photo_id":"1402070365","filename":"file2"},{"photo_id":"1402070368","filename":"file4"},{"photo_id":"1402070362","filename":"file1"},{"photo_id":"1402070360","filename":"file0"},{"photo_id":"1402070367","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402070369":["hashtag1","hashtag2"]},{"1402070360":["hashtag1","hashtag2"]},{"1402070365":["hashtag1","hashtag2"]},{"1402070368":["hashtag1","hashtag2"]},{"1402070362":["hashtag1","hashtag2"]},{"1402070367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402070369, 1402070360, 1402070365, 1402070368, 1402070362, 1402070367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30730605125427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 22:59:02.893852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/10/image_01012026_22_11_05_10629.jpg', '/home/pi/Desktop/images/01012026/22/11/image_01012026_22_11_15_9676.jpg', '/home/pi/Desktop/images/01012026/22/11/image_01012026_22_11_25_9635.jpg', '/home/pi/Desktop/images/01012026/22/11/image_01012026_22_11_45_9640.jpg', '/home/pi/Desktop/images/01012026/22/11/image_01012026_22_11_55_9951.jpg', '/home/pi/Desktop/images/01012026/22/11/image_01012026_22_12_05_10534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/10/image_01012026_22_11_05_10629.jpg
/home/pi/Desktop/images/01012026/22/11/image_01012026_22_11_15_9676.jpg
/home/pi/Desktop/images/01012026/22/11/image_01012026_22_11_25_9635.jpg
/home/pi/Desktop/images/01012026/22/11/image_01012026_22_11_45_9640.jpg
/home/pi/Desktop/images/01012026/22/11/image_01012026_22_11_55_9951.jpg
/home/pi/Desktop/images/01012026/22/11/image_01012026_22_12_05_10534.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":["1402070861","1402070810","1402070938","1402070947","1402070949","1402070901"],"photo_ids_order":["1402070810","1402070861","1402070901","1402070938","1402070947","1402070949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/afe39795091368b5200f7c988519e8e8.jpg","text":"TemporaryFile(/tmp/multipartBody3674244743411328086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304803728,"filename":"image_01012026_22_11_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a3a51b5651996a6ac70f371fd6eb51d9.jpg","text":"TemporaryFile(/tmp/multipartBody691476205691962656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304803728,"filename":"image_01012026_22_11_05_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1108b2f0d32f13d65e79d6f72d33e821.jpg","text":"TemporaryFile(/tmp/multipartBody2535930797198138272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304803728,"filename":"image_01012026_22_11_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dacd41c77299eae78ab219985338cab8.jpg","text":"TemporaryFile(/tmp/multipartBody4887869422898981136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304803728,"filename":"image_01012026_22_11_55_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b5904b9df6edd7df3b8ee65fb526c04.jpg","text":"TemporaryFile(/tmp/multipartBody3582316269564762809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304803728,"filename":"image_01012026_22_12_05_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce2333f45c41ad5cb342f09037cafad8.jpg","text":"TemporaryFile(/tmp/multipartBody3824035933447628636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304803728,"filename":"image_01012026_22_11_25_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402070901","file1":"1402070861","file0":"1402070810","file4":"1402070947","file5":"1402070949","file3":"1402070938"},"map_files_photo_id_array":[{"photo_id":"1402070949","filename":"file5"},{"photo_id":"1402070901","filename":"file2"},{"photo_id":"1402070947","filename":"file4"},{"photo_id":"1402070861","filename":"file1"},{"photo_id":"1402070810","filename":"file0"},{"photo_id":"1402070938","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402070861":["hashtag1","hashtag2"]},{"1402070810":["hashtag1","hashtag2"]},{"1402070938":["hashtag1","hashtag2"]},{"1402070947":["hashtag1","hashtag2"]},{"1402070949":["hashtag1","hashtag2"]},{"1402070901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402070861, 1402070810, 1402070938, 1402070947, 1402070949, 1402070901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83672285079956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:00:02.588923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_15_9513.jpg', '/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_24_9696.jpg', '/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_35_10503.jpg', '/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_45_9811.jpg', '/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_54_9620.jpg', '/home/pi/Desktop/images/01012026/22/12/image_01012026_22_13_05_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_15_9513.jpg
/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_24_9696.jpg
/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_35_10503.jpg
/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_45_9811.jpg
/home/pi/Desktop/images/01012026/22/12/image_01012026_22_12_54_9620.jpg
/home/pi/Desktop/images/01012026/22/12/image_01012026_22_13_05_10666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402072356","1402072305","1402072265","1402072226","1402072154","1402072004"],"photo_ids_order":["1402072004","1402072154","1402072226","1402072265","1402072305","1402072356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ba0b967d617af215ac1b753db60e628.jpg","text":"TemporaryFile(/tmp/multipartBody4407722025551827393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304863214,"filename":"image_01012026_22_13_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/953c889fee59b832b45074b4a7ade8cb.jpg","text":"TemporaryFile(/tmp/multipartBody6588288787592144284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304863214,"filename":"image_01012026_22_12_54_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/407f1d24d790d37c201ca765baed1006.jpg","text":"TemporaryFile(/tmp/multipartBody8960461344413861662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304863214,"filename":"image_01012026_22_12_45_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/facea7fa18457cb0f73d31ee7706b26d.jpg","text":"TemporaryFile(/tmp/multipartBody8708744218196087355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304863214,"filename":"image_01012026_22_12_35_10503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e1f73363386e46d580581f39e8872f41.jpg","text":"TemporaryFile(/tmp/multipartBody5189308925000289363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304863214,"filename":"image_01012026_22_12_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9b3d8a178c62d22acd03425cf8e89e9d.jpg","text":"TemporaryFile(/tmp/multipartBody279518964673067385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304863214,"filename":"image_01012026_22_12_15_9513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402072226","file1":"1402072154","file0":"1402072004","file4":"1402072305","file5":"1402072356","file3":"1402072265"},"map_files_photo_id_array":[{"photo_id":"1402072356","filename":"file5"},{"photo_id":"1402072226","filename":"file2"},{"photo_id":"1402072305","filename":"file4"},{"photo_id":"1402072154","filename":"file1"},{"photo_id":"1402072004","filename":"file0"},{"photo_id":"1402072265","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402072356":["hashtag1","hashtag2"]},{"1402072305":["hashtag1","hashtag2"]},{"1402072265":["hashtag1","hashtag2"]},{"1402072226":["hashtag1","hashtag2"]},{"1402072154":["hashtag1","hashtag2"]},{"1402072004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402072356, 1402072305, 1402072265, 1402072226, 1402072154, 1402072004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91448712348938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:00:42.105715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_14_1755.jpg', '/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_17_1773.jpg', '/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_19_1676.jpg', '/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_33_7100.jpg', '/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_35_1588.jpg', '/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_36_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_14_1755.jpg
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_17_1773.jpg
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_19_1676.jpg
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_33_7100.jpg
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_35_1588.jpg
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_36_1669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402072690","1402072653","1402072691","1402072766","1402072652","1402072613"],"photo_ids_order":["1402072613","1402072652","1402072653","1402072690","1402072691","1402072766"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1485f6707f9ae9aa785c179d96ac02cf.jpg","text":"TemporaryFile(/tmp/multipartBody3591564343080261513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304904001,"filename":"image_04112025_20_12_33_7100.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aade2a6460a8babf071e3fb55a9fceea.jpg","text":"TemporaryFile(/tmp/multipartBody760397908944666922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304904001,"filename":"image_04112025_20_12_19_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73203ff7a357c194a5c89a2c251ab420.jpg","text":"TemporaryFile(/tmp/multipartBody6816213818063529183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304904001,"filename":"image_04112025_20_12_35_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9de6a46732d7926e007689553865a56a.jpg","text":"TemporaryFile(/tmp/multipartBody2546590527156349958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304904001,"filename":"image_04112025_20_12_36_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48ddf66aa24615c99f219ddfed5bc089.jpg","text":"TemporaryFile(/tmp/multipartBody8403539685541179351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304904001,"filename":"image_04112025_20_12_17_1773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8404b93dab9170a6f99606620f5700d0.jpg","text":"TemporaryFile(/tmp/multipartBody3363890193258993385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304904001,"filename":"image_04112025_20_12_14_1755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402072653","file1":"1402072652","file0":"1402072613","file4":"1402072691","file5":"1402072766","file3":"1402072690"},"map_files_photo_id_array":[{"photo_id":"1402072766","filename":"file5"},{"photo_id":"1402072653","filename":"file2"},{"photo_id":"1402072691","filename":"file4"},{"photo_id":"1402072652","filename":"file1"},{"photo_id":"1402072613","filename":"file0"},{"photo_id":"1402072690","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402072690":["hashtag1","hashtag2"]},{"1402072653":["hashtag1","hashtag2"]},{"1402072691":["hashtag1","hashtag2"]},{"1402072766":["hashtag1","hashtag2"]},{"1402072652":["hashtag1","hashtag2"]},{"1402072613":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402072690, 1402072653, 1402072691, 1402072766, 1402072652, 1402072613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51827907562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:01:22.245779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/13/image_01012026_22_13_15_9703.jpg', '/home/pi/Desktop/images/01012026/22/13/image_01012026_22_13_25_9699.jpg', '/home/pi/Desktop/images/01012026/22/13/image_01012026_22_13_45_9603.jpg', '/home/pi/Desktop/images/01012026/22/13/image_01012026_22_13_55_10603.jpg', '/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_15_9531.jpg', '/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_25_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/13/image_01012026_22_13_15_9703.jpg
/home/pi/Desktop/images/01012026/22/13/image_01012026_22_13_25_9699.jpg
/home/pi/Desktop/images/01012026/22/13/image_01012026_22_13_45_9603.jpg
/home/pi/Desktop/images/01012026/22/13/image_01012026_22_13_55_10603.jpg
/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_15_9531.jpg
/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_25_9849.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402072936","1402072966","1402072893","1402072896","1402072938","1402072914"],"photo_ids_order":["1402072893","1402072896","1402072914","1402072936","1402072938","1402072966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f61c7daa3306ce8cead877540b63b31b.jpg","text":"TemporaryFile(/tmp/multipartBody2268219721055059015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304942833,"filename":"image_01012026_22_13_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1a20e39512bfa711dc5ad918195f523f.jpg","text":"TemporaryFile(/tmp/multipartBody5295546946571498345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304942833,"filename":"image_01012026_22_14_25_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6fca7eb79e4680fdf491dbf1b3bb26ea.jpg","text":"TemporaryFile(/tmp/multipartBody1367304740945461017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304942833,"filename":"image_01012026_22_13_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/88f017c9328770041622406e8f212fce.jpg","text":"TemporaryFile(/tmp/multipartBody4952662543902639681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304942833,"filename":"image_01012026_22_13_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c72e17635e8c7293331e439420db45e.jpg","text":"TemporaryFile(/tmp/multipartBody3928786707668883274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304942833,"filename":"image_01012026_22_14_15_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ce9eacf4f525a1cf726774e5f4efc54a.jpg","text":"TemporaryFile(/tmp/multipartBody9016677126053593561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304942833,"filename":"image_01012026_22_13_45_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402072914","file1":"1402072896","file0":"1402072893","file4":"1402072938","file5":"1402072966","file3":"1402072936"},"map_files_photo_id_array":[{"photo_id":"1402072966","filename":"file5"},{"photo_id":"1402072914","filename":"file2"},{"photo_id":"1402072938","filename":"file4"},{"photo_id":"1402072896","filename":"file1"},{"photo_id":"1402072893","filename":"file0"},{"photo_id":"1402072936","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402072936":["hashtag1","hashtag2"]},{"1402072966":["hashtag1","hashtag2"]},{"1402072893":["hashtag1","hashtag2"]},{"1402072896":["hashtag1","hashtag2"]},{"1402072938":["hashtag1","hashtag2"]},{"1402072914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402072936, 1402072966, 1402072893, 1402072896, 1402072938, 1402072914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.37935924530029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:02:02.913659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_34_9802.jpg', '/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_45_10541.jpg', '/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_55_9603.jpg', '/home/pi/Desktop/images/01012026/22/16/image_01012026_22_16_14_10037.jpg', '/home/pi/Desktop/images/01012026/22/16/image_01012026_22_16_35_9623.jpg', '/home/pi/Desktop/images/01012026/22/16/image_01012026_22_17_04_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_34_9802.jpg
/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_45_10541.jpg
/home/pi/Desktop/images/01012026/22/14/image_01012026_22_14_55_9603.jpg
/home/pi/Desktop/images/01012026/22/16/image_01012026_22_16_14_10037.jpg
/home/pi/Desktop/images/01012026/22/16/image_01012026_22_16_35_9623.jpg
/home/pi/Desktop/images/01012026/22/16/image_01012026_22_17_04_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":["1402073059","1402073023","1402073203","1402072985","1402072979","1402073095"],"photo_ids_order":["1402072979","1402072985","1402073023","1402073059","1402073095","1402073203"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/99b08b2ef30b9a9f8886c41a403d6d71.jpg","text":"TemporaryFile(/tmp/multipartBody6792662369532657605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304983590,"filename":"image_01012026_22_16_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ed51f428d6d609b0477fe1e7252a9c7e.jpg","text":"TemporaryFile(/tmp/multipartBody5881940445746787054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304983590,"filename":"image_01012026_22_14_55_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d10a71d35aebc5ab2ebd0e558447491d.jpg","text":"TemporaryFile(/tmp/multipartBody6234982642186404897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304983590,"filename":"image_01012026_22_17_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3dd4b3a7ea7777faa86bea28e4113f9.jpg","text":"TemporaryFile(/tmp/multipartBody2277108515718078218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304983590,"filename":"image_01012026_22_14_45_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/abcfe17737963922d407e072e1c243c6.jpg","text":"TemporaryFile(/tmp/multipartBody8878613389287588159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304983590,"filename":"image_01012026_22_14_34_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/14eb371d57cd62470b18dc8d9169a27f.jpg","text":"TemporaryFile(/tmp/multipartBody7473577794832627800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767304983590,"filename":"image_01012026_22_16_35_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402073023","file1":"1402072985","file0":"1402072979","file4":"1402073095","file5":"1402073203","file3":"1402073059"},"map_files_photo_id_array":[{"photo_id":"1402073203","filename":"file5"},{"photo_id":"1402073023","filename":"file2"},{"photo_id":"1402073095","filename":"file4"},{"photo_id":"1402072985","filename":"file1"},{"photo_id":"1402072979","filename":"file0"},{"photo_id":"1402073059","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402073059":["hashtag1","hashtag2"]},{"1402073023":["hashtag1","hashtag2"]},{"1402073203":["hashtag1","hashtag2"]},{"1402072985":["hashtag1","hashtag2"]},{"1402072979":["hashtag1","hashtag2"]},{"1402073095":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402073059, 1402073023, 1402073203, 1402072985, 1402072979, 1402073095)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30557894706726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:02:42.391171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_45_1855.jpg', '/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_47_1671.jpg', '/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_54_1737.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_05_5734.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_12_1584.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_14_1876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_45_1855.jpg
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_47_1671.jpg
/home/pi/Desktop/images/04112025/20/12/image_04112025_20_12_54_1737.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_05_5734.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_12_1584.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_14_1876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402073967","1402073931","1402073715","1402073972","1402073861","1402073896"],"photo_ids_order":["1402073715","1402073861","1402073896","1402073931","1402073967","1402073972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/68b7334acc268cd340db56e0113e50d2.jpg","text":"TemporaryFile(/tmp/multipartBody1783375465893097501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305024308,"filename":"image_04112025_20_13_12_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/851104c19fc610092e33407be9f49bb7.jpg","text":"TemporaryFile(/tmp/multipartBody897443261677201151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305024308,"filename":"image_04112025_20_13_05_5734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2976c4087efa4d602875fa92979a32e7.jpg","text":"TemporaryFile(/tmp/multipartBody3903025115858639749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305024308,"filename":"image_04112025_20_12_45_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b506b6bfb9102b2b4f96039f66840a7.jpg","text":"TemporaryFile(/tmp/multipartBody2341840040725257442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305024308,"filename":"image_04112025_20_13_14_1876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87bcfded4347ecd987ee3fee11e0053e.jpg","text":"TemporaryFile(/tmp/multipartBody8088075073748399175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305024308,"filename":"image_04112025_20_12_47_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/879d456e69cd97fe8faa82431707254e.jpg","text":"TemporaryFile(/tmp/multipartBody4463808892097840465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305024308,"filename":"image_04112025_20_12_54_1737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402073896","file1":"1402073861","file0":"1402073715","file4":"1402073967","file5":"1402073972","file3":"1402073931"},"map_files_photo_id_array":[{"photo_id":"1402073972","filename":"file5"},{"photo_id":"1402073896","filename":"file2"},{"photo_id":"1402073967","filename":"file4"},{"photo_id":"1402073861","filename":"file1"},{"photo_id":"1402073715","filename":"file0"},{"photo_id":"1402073931","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402073967":["hashtag1","hashtag2"]},{"1402073931":["hashtag1","hashtag2"]},{"1402073715":["hashtag1","hashtag2"]},{"1402073972":["hashtag1","hashtag2"]},{"1402073861":["hashtag1","hashtag2"]},{"1402073896":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402073967, 1402073931, 1402073715, 1402073972, 1402073861, 1402073896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04665017127991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:03:22.579644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_15_10593.jpg', '/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_25_9639.jpg', '/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_35_10525.jpg', '/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_45_9735.jpg', '/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_55_10152.jpg', '/home/pi/Desktop/images/01012026/22/18/image_01012026_22_18_14_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_15_10593.jpg
/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_25_9639.jpg
/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_35_10525.jpg
/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_45_9735.jpg
/home/pi/Desktop/images/01012026/22/17/image_01012026_22_17_55_10152.jpg
/home/pi/Desktop/images/01012026/22/18/image_01012026_22_18_14_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":["1402074294","1402074225","1402074204","1402074268","1402074160","1402074291"],"photo_ids_order":["1402074160","1402074204","1402074225","1402074268","1402074291","1402074294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5af9799f9d51c8f4a133b00c99d3542c.jpg","text":"TemporaryFile(/tmp/multipartBody114645117334515388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305063155,"filename":"image_01012026_22_18_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7666a79d25b0c649c4f5111ebc84bd65.jpg","text":"TemporaryFile(/tmp/multipartBody5405523129114063211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305063155,"filename":"image_01012026_22_17_35_10525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d1f56c22bc1360f17c2f0f9d2f2f0bcc.jpg","text":"TemporaryFile(/tmp/multipartBody1073576626372472949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305063155,"filename":"image_01012026_22_17_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af2fbcc9b2987df2cfde0fe2d7484cf0.jpg","text":"TemporaryFile(/tmp/multipartBody4772793571988364555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305063155,"filename":"image_01012026_22_17_45_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b64ffb2a4fcfdd4658b2473e7a67d843.jpg","text":"TemporaryFile(/tmp/multipartBody5865728455742495326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305063155,"filename":"image_01012026_22_17_15_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ca8c3dc5d41cd2488ba93417efc789e.jpg","text":"TemporaryFile(/tmp/multipartBody8277029089992370345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305063155,"filename":"image_01012026_22_17_55_10152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402074225","file1":"1402074204","file0":"1402074160","file4":"1402074291","file5":"1402074294","file3":"1402074268"},"map_files_photo_id_array":[{"photo_id":"1402074294","filename":"file5"},{"photo_id":"1402074225","filename":"file2"},{"photo_id":"1402074291","filename":"file4"},{"photo_id":"1402074204","filename":"file1"},{"photo_id":"1402074160","filename":"file0"},{"photo_id":"1402074268","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402074294":["hashtag1","hashtag2"]},{"1402074225":["hashtag1","hashtag2"]},{"1402074204":["hashtag1","hashtag2"]},{"1402074268":["hashtag1","hashtag2"]},{"1402074160":["hashtag1","hashtag2"]},{"1402074291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402074294, 1402074225, 1402074204, 1402074268, 1402074160, 1402074291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.524446964263916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:04:03.422431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/18/image_01012026_22_18_35_9816.jpg', '/home/pi/Desktop/images/01012026/22/18/image_01012026_22_18_45_9745.jpg', '/home/pi/Desktop/images/01012026/22/18/image_01012026_22_18_54_9775.jpg', '/home/pi/Desktop/images/01012026/22/18/image_01012026_22_19_04_9889.jpg', '/home/pi/Desktop/images/01012026/22/19/image_01012026_22_19_15_10723.jpg', '/home/pi/Desktop/images/01012026/22/19/image_01012026_22_19_25_9911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/18/image_01012026_22_18_35_9816.jpg
/home/pi/Desktop/images/01012026/22/18/image_01012026_22_18_45_9745.jpg
/home/pi/Desktop/images/01012026/22/18/image_01012026_22_18_54_9775.jpg
/home/pi/Desktop/images/01012026/22/18/image_01012026_22_19_04_9889.jpg
/home/pi/Desktop/images/01012026/22/19/image_01012026_22_19_15_10723.jpg
/home/pi/Desktop/images/01012026/22/19/image_01012026_22_19_25_9911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402074297","1402074296","1402074300","1402074302","1402074295","1402074298"],"photo_ids_order":["1402074295","1402074296","1402074297","1402074298","1402074300","1402074302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f88bfc70190af137fe65adbe26f3aba.jpg","text":"TemporaryFile(/tmp/multipartBody5375665759560468238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305104147,"filename":"image_01012026_22_18_54_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d22a5a16d6fada37e9005444dd50312.jpg","text":"TemporaryFile(/tmp/multipartBody4584851218414604949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305104147,"filename":"image_01012026_22_18_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e8bbc526161f47d88d5c00fbcd142442.jpg","text":"TemporaryFile(/tmp/multipartBody2820634532278051243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305104147,"filename":"image_01012026_22_19_15_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85cd5cdd5a20d6e2c1bab6f85d408406.jpg","text":"TemporaryFile(/tmp/multipartBody1348770019025329935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305104147,"filename":"image_01012026_22_19_25_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90bffa7089c8f911b078e57fed3c71a6.jpg","text":"TemporaryFile(/tmp/multipartBody8134988458991424739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305104147,"filename":"image_01012026_22_18_35_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e9d87cdc216fe5f84107b71e56415e90.jpg","text":"TemporaryFile(/tmp/multipartBody8676981145975915885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305104147,"filename":"image_01012026_22_19_04_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402074297","file1":"1402074296","file0":"1402074295","file4":"1402074300","file5":"1402074302","file3":"1402074298"},"map_files_photo_id_array":[{"photo_id":"1402074302","filename":"file5"},{"photo_id":"1402074297","filename":"file2"},{"photo_id":"1402074300","filename":"file4"},{"photo_id":"1402074296","filename":"file1"},{"photo_id":"1402074295","filename":"file0"},{"photo_id":"1402074298","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402074297":["hashtag1","hashtag2"]},{"1402074296":["hashtag1","hashtag2"]},{"1402074300":["hashtag1","hashtag2"]},{"1402074302":["hashtag1","hashtag2"]},{"1402074295":["hashtag1","hashtag2"]},{"1402074298":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402074297, 1402074296, 1402074300, 1402074302, 1402074295, 1402074298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04660725593567 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:04:42.763774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_16_1678.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_22_1933.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_25_1639.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_29_1609.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_32_1668.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_34_1857.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_16_1678.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_22_1933.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_25_1639.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_29_1609.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_32_1668.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_34_1857.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402074387","1402074426","1402074312","1402074306","1402074350","1402074308"],"photo_ids_order":["1402074306","1402074308","1402074312","1402074350","1402074387","1402074426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f233749bfe93b440cf0efec9857b69f0.jpg","text":"TemporaryFile(/tmp/multipartBody5689006879185709768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305144537,"filename":"image_04112025_20_13_32_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1221c457f3afc405114330b573a74629.jpg","text":"TemporaryFile(/tmp/multipartBody854493017146038117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305144537,"filename":"image_04112025_20_13_34_1857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/687c020df413155c7ad3578272a9d5e4.jpg","text":"TemporaryFile(/tmp/multipartBody429948524201114586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305144537,"filename":"image_04112025_20_13_25_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c67c125772348d17e535a0109b4d60df.jpg","text":"TemporaryFile(/tmp/multipartBody4460966717109643753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305144537,"filename":"image_04112025_20_13_16_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0955357586299c0a43af3da0c95d9fb.jpg","text":"TemporaryFile(/tmp/multipartBody6473540816088497875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305144537,"filename":"image_04112025_20_13_29_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2460580ce4b3e431930620641277ee99.jpg","text":"TemporaryFile(/tmp/multipartBody2534831644295043515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305144537,"filename":"image_04112025_20_13_22_1933.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402074312","file1":"1402074308","file0":"1402074306","file4":"1402074387","file5":"1402074426","file3":"1402074350"},"map_files_photo_id_array":[{"photo_id":"1402074426","filename":"file5"},{"photo_id":"1402074312","filename":"file2"},{"photo_id":"1402074387","filename":"file4"},{"photo_id":"1402074308","filename":"file1"},{"photo_id":"1402074306","filename":"file0"},{"photo_id":"1402074350","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402074387":["hashtag1","hashtag2"]},{"1402074426":["hashtag1","hashtag2"]},{"1402074312":["hashtag1","hashtag2"]},{"1402074306":["hashtag1","hashtag2"]},{"1402074350":["hashtag1","hashtag2"]},{"1402074308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402074387, 1402074426, 1402074312, 1402074306, 1402074350, 1402074308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.346823930740356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:05:22.046174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/19/image_01012026_22_19_44_9601.jpg', '/home/pi/Desktop/images/01012026/22/19/image_01012026_22_19_55_10603.jpg', '/home/pi/Desktop/images/01012026/22/20/image_01012026_22_20_25_10642.jpg', '/home/pi/Desktop/images/01012026/22/20/image_01012026_22_20_45_10664.jpg', '/home/pi/Desktop/images/01012026/22/20/image_01012026_22_20_55_9618.jpg', '/home/pi/Desktop/images/01012026/22/20/image_01012026_22_21_05_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/19/image_01012026_22_19_44_9601.jpg
/home/pi/Desktop/images/01012026/22/19/image_01012026_22_19_55_10603.jpg
/home/pi/Desktop/images/01012026/22/20/image_01012026_22_20_25_10642.jpg
/home/pi/Desktop/images/01012026/22/20/image_01012026_22_20_45_10664.jpg
/home/pi/Desktop/images/01012026/22/20/image_01012026_22_20_55_9618.jpg
/home/pi/Desktop/images/01012026/22/20/image_01012026_22_21_05_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402074684","1402074771","1402074645","1402074534","1402074716","1402074602"],"photo_ids_order":["1402074534","1402074602","1402074645","1402074684","1402074716","1402074771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/100944f67693fecd9a96801c58b99423.jpg","text":"TemporaryFile(/tmp/multipartBody2086550183502550794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305182672,"filename":"image_01012026_22_20_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/72b59bb2bb01e0004c2b44b15ec1e9ae.jpg","text":"TemporaryFile(/tmp/multipartBody4435569973966883498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305182672,"filename":"image_01012026_22_21_05_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39e56ede07cf26ffaac73a0bc19dcac5.jpg","text":"TemporaryFile(/tmp/multipartBody5675528388628948208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305182672,"filename":"image_01012026_22_20_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0936fc71f41d4442f949af6d125f8a2.jpg","text":"TemporaryFile(/tmp/multipartBody2441723735309678964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305182672,"filename":"image_01012026_22_19_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a142449b51a33d6628549744dc2aa72.jpg","text":"TemporaryFile(/tmp/multipartBody1810162868375842433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305182672,"filename":"image_01012026_22_20_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d84934cfbba3a6c07a98716dfae4d96f.jpg","text":"TemporaryFile(/tmp/multipartBody3211104032888687514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305182672,"filename":"image_01012026_22_19_55_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402074645","file1":"1402074602","file0":"1402074534","file4":"1402074716","file5":"1402074771","file3":"1402074684"},"map_files_photo_id_array":[{"photo_id":"1402074771","filename":"file5"},{"photo_id":"1402074645","filename":"file2"},{"photo_id":"1402074716","filename":"file4"},{"photo_id":"1402074602","filename":"file1"},{"photo_id":"1402074534","filename":"file0"},{"photo_id":"1402074684","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402074684":["hashtag1","hashtag2"]},{"1402074771":["hashtag1","hashtag2"]},{"1402074645":["hashtag1","hashtag2"]},{"1402074534":["hashtag1","hashtag2"]},{"1402074716":["hashtag1","hashtag2"]},{"1402074602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402074684, 1402074771, 1402074645, 1402074534, 1402074716, 1402074602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.93410539627075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:06:12.106528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_35_1591.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_37_1793.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_42_3676.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_45_2625.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_49_3554.jpg', '/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_51_2222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_35_1591.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_37_1793.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_42_3676.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_45_2625.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_49_3554.jpg
/home/pi/Desktop/images/04112025/20/13/image_04112025_20_13_51_2222.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402075193","1402075277","1402075237","1402075327","1402075086","1402075149"],"photo_ids_order":["1402075086","1402075149","1402075193","1402075237","1402075277","1402075327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf636fe2d99dca68a54aa64818daab6a.jpg","text":"TemporaryFile(/tmp/multipartBody2183429108371888339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305234315,"filename":"image_04112025_20_13_42_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9ea576881b7e75249b28185653903997.jpg","text":"TemporaryFile(/tmp/multipartBody3640730293238924361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305234315,"filename":"image_04112025_20_13_49_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/28b385de9c9a0df0144718c9f48fed35.jpg","text":"TemporaryFile(/tmp/multipartBody6205643258456697138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305234315,"filename":"image_04112025_20_13_45_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15796d2df2392a3a3bd9e881d2f266e1.jpg","text":"TemporaryFile(/tmp/multipartBody3111738685543296893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305234315,"filename":"image_04112025_20_13_51_2222.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1ab4ae46906595b14310a6010d740b1a.jpg","text":"TemporaryFile(/tmp/multipartBody1239223824931735495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305234315,"filename":"image_04112025_20_13_35_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4cddb1752b87d20e2112da89dae86a5a.jpg","text":"TemporaryFile(/tmp/multipartBody1125093446364088744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305234315,"filename":"image_04112025_20_13_37_1793.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402075193","file1":"1402075149","file0":"1402075086","file4":"1402075277","file5":"1402075327","file3":"1402075237"},"map_files_photo_id_array":[{"photo_id":"1402075327","filename":"file5"},{"photo_id":"1402075193","filename":"file2"},{"photo_id":"1402075277","filename":"file4"},{"photo_id":"1402075149","filename":"file1"},{"photo_id":"1402075086","filename":"file0"},{"photo_id":"1402075237","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402075193":["hashtag1","hashtag2"]},{"1402075277":["hashtag1","hashtag2"]},{"1402075237":["hashtag1","hashtag2"]},{"1402075327":["hashtag1","hashtag2"]},{"1402075086":["hashtag1","hashtag2"]},{"1402075149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402075193, 1402075277, 1402075237, 1402075327, 1402075086, 1402075149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.41924214363098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:07:03.017217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_15_9644.jpg', '/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_25_10573.jpg', '/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_35_9647.jpg', '/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_45_10396.jpg', '/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_55_10157.jpg', '/home/pi/Desktop/images/01012026/22/21/image_01012026_22_22_05_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_15_9644.jpg
/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_25_10573.jpg
/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_35_9647.jpg
/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_45_10396.jpg
/home/pi/Desktop/images/01012026/22/21/image_01012026_22_21_55_10157.jpg
/home/pi/Desktop/images/01012026/22/21/image_01012026_22_22_05_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":["1402075716","1402075682","1402075631","1402075648","1402075630","1402075680"],"photo_ids_order":["1402075630","1402075631","1402075648","1402075680","1402075682","1402075716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3e9c066a68c3841915470419314261a7.jpg","text":"TemporaryFile(/tmp/multipartBody8064393542131174214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305284135,"filename":"image_01012026_22_22_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dd33f7f5e9704bc5ea7de2e061a08736.jpg","text":"TemporaryFile(/tmp/multipartBody2717551264377461893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305284135,"filename":"image_01012026_22_21_55_10157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48301b3ecbe7f880c21b989775e440c1.jpg","text":"TemporaryFile(/tmp/multipartBody4605044342141403918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305284135,"filename":"image_01012026_22_21_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9e08cc3ad7db9528966d4d97f9093cc.jpg","text":"TemporaryFile(/tmp/multipartBody556771373262915393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305284135,"filename":"image_01012026_22_21_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ebfcf90b17831b5e26d6bf9ca15dbcb0.jpg","text":"TemporaryFile(/tmp/multipartBody8995246726048823927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305284135,"filename":"image_01012026_22_21_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e785183e00b182adc426a1d60a30318f.jpg","text":"TemporaryFile(/tmp/multipartBody299845362269828572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305284135,"filename":"image_01012026_22_21_45_10396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402075648","file1":"1402075631","file0":"1402075630","file4":"1402075682","file5":"1402075716","file3":"1402075680"},"map_files_photo_id_array":[{"photo_id":"1402075716","filename":"file5"},{"photo_id":"1402075648","filename":"file2"},{"photo_id":"1402075682","filename":"file4"},{"photo_id":"1402075631","filename":"file1"},{"photo_id":"1402075630","filename":"file0"},{"photo_id":"1402075680","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402075716":["hashtag1","hashtag2"]},{"1402075682":["hashtag1","hashtag2"]},{"1402075631":["hashtag1","hashtag2"]},{"1402075648":["hashtag1","hashtag2"]},{"1402075630":["hashtag1","hashtag2"]},{"1402075680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402075716, 1402075682, 1402075631, 1402075648, 1402075630, 1402075680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.85306644439697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:08:02.994795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/22/image_01012026_22_22_25_10600.jpg', '/home/pi/Desktop/images/01012026/22/22/image_01012026_22_22_35_9595.jpg', '/home/pi/Desktop/images/01012026/22/22/image_01012026_22_22_45_9624.jpg', '/home/pi/Desktop/images/01012026/22/22/image_01012026_22_22_55_10520.jpg', '/home/pi/Desktop/images/01012026/22/22/image_01012026_22_23_05_9701.jpg', '/home/pi/Desktop/images/01012026/22/23/image_01012026_22_23_25_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/22/image_01012026_22_22_25_10600.jpg
/home/pi/Desktop/images/01012026/22/22/image_01012026_22_22_35_9595.jpg
/home/pi/Desktop/images/01012026/22/22/image_01012026_22_22_45_9624.jpg
/home/pi/Desktop/images/01012026/22/22/image_01012026_22_22_55_10520.jpg
/home/pi/Desktop/images/01012026/22/22/image_01012026_22_23_05_9701.jpg
/home/pi/Desktop/images/01012026/22/23/image_01012026_22_23_25_10726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402075928","1402075969","1402076002","1402075995","1402075906","1402075962"],"photo_ids_order":["1402075906","1402075928","1402075962","1402075969","1402075995","1402076002"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ab7adf0beb5a7a8358ccf5e0895ab0d6.jpg","text":"TemporaryFile(/tmp/multipartBody4806083222108479124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305343662,"filename":"image_01012026_22_22_35_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff27c4507323640db789805b95ba0757.jpg","text":"TemporaryFile(/tmp/multipartBody7800762839774695684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305343662,"filename":"image_01012026_22_22_55_10520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fc481e1d96768b20119d2e3461df58a.jpg","text":"TemporaryFile(/tmp/multipartBody3926438160898896975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305343662,"filename":"image_01012026_22_23_25_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f7eb106715b4a7cb523ebc8dc876bc89.jpg","text":"TemporaryFile(/tmp/multipartBody895801904270937838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305343662,"filename":"image_01012026_22_23_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/224bbc12ef853b7424c3de78522e0ece.jpg","text":"TemporaryFile(/tmp/multipartBody6996459530015758152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305343662,"filename":"image_01012026_22_22_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b06b26f567a53eef0882e4b11ab94ab.jpg","text":"TemporaryFile(/tmp/multipartBody397714812734085554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305343662,"filename":"image_01012026_22_22_45_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402075962","file1":"1402075928","file0":"1402075906","file4":"1402075995","file5":"1402076002","file3":"1402075969"},"map_files_photo_id_array":[{"photo_id":"1402076002","filename":"file5"},{"photo_id":"1402075962","filename":"file2"},{"photo_id":"1402075995","filename":"file4"},{"photo_id":"1402075928","filename":"file1"},{"photo_id":"1402075906","filename":"file0"},{"photo_id":"1402075969","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402075928":["hashtag1","hashtag2"]},{"1402075969":["hashtag1","hashtag2"]},{"1402076002":["hashtag1","hashtag2"]},{"1402075995":["hashtag1","hashtag2"]},{"1402075906":["hashtag1","hashtag2"]},{"1402075962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402075928, 1402075969, 1402076002, 1402075995, 1402075906, 1402075962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67036819458008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:08:42.319088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_01_6024.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_32_31362.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_35_1756.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_39_1873.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_40_1650.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_44_1579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_01_6024.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_32_31362.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_35_1756.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_39_1873.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_40_1650.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_44_1579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402076007","1402076123","1402076048","1402076015","1402076167","1402076088"],"photo_ids_order":["1402076007","1402076015","1402076048","1402076088","1402076123","1402076167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb3a64a21246c98eae4889a53666964c.jpg","text":"TemporaryFile(/tmp/multipartBody3353616510969779248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305384096,"filename":"image_04112025_20_14_01_6024.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a814dc25d065718f593c9c1bd6e15fea.jpg","text":"TemporaryFile(/tmp/multipartBody5045040037919562425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305384096,"filename":"image_04112025_20_14_40_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d50c888cc64825fffb45d3a17c7264e.jpg","text":"TemporaryFile(/tmp/multipartBody2210902537725068625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305384096,"filename":"image_04112025_20_14_35_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29de2bb099e669134a0da7ddb3f78535.jpg","text":"TemporaryFile(/tmp/multipartBody488863291096741114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305384096,"filename":"image_04112025_20_14_32_31362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a10d60e6cb45cc02bf0e1fa82daa9bae.jpg","text":"TemporaryFile(/tmp/multipartBody3544814078178727090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305384096,"filename":"image_04112025_20_14_44_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5623fdf5bd27505444578e978475aaf8.jpg","text":"TemporaryFile(/tmp/multipartBody6649622020154324087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305384096,"filename":"image_04112025_20_14_39_1873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402076048","file1":"1402076015","file0":"1402076007","file4":"1402076123","file5":"1402076167","file3":"1402076088"},"map_files_photo_id_array":[{"photo_id":"1402076167","filename":"file5"},{"photo_id":"1402076048","filename":"file2"},{"photo_id":"1402076123","filename":"file4"},{"photo_id":"1402076015","filename":"file1"},{"photo_id":"1402076007","filename":"file0"},{"photo_id":"1402076088","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402076007":["hashtag1","hashtag2"]},{"1402076123":["hashtag1","hashtag2"]},{"1402076048":["hashtag1","hashtag2"]},{"1402076015":["hashtag1","hashtag2"]},{"1402076167":["hashtag1","hashtag2"]},{"1402076088":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402076007, 1402076123, 1402076048, 1402076015, 1402076167, 1402076088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73161792755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:09:22.589285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/23/image_01012026_22_23_35_9680.jpg', '/home/pi/Desktop/images/01012026/22/23/image_01012026_22_23_45_10526.jpg', '/home/pi/Desktop/images/01012026/22/23/image_01012026_22_23_55_9508.jpg', '/home/pi/Desktop/images/01012026/22/24/image_01012026_22_24_14_9747.jpg', '/home/pi/Desktop/images/01012026/22/24/image_01012026_22_24_25_10526.jpg', '/home/pi/Desktop/images/01012026/22/24/image_01012026_22_24_34_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/23/image_01012026_22_23_35_9680.jpg
/home/pi/Desktop/images/01012026/22/23/image_01012026_22_23_45_10526.jpg
/home/pi/Desktop/images/01012026/22/23/image_01012026_22_23_55_9508.jpg
/home/pi/Desktop/images/01012026/22/24/image_01012026_22_24_14_9747.jpg
/home/pi/Desktop/images/01012026/22/24/image_01012026_22_24_25_10526.jpg
/home/pi/Desktop/images/01012026/22/24/image_01012026_22_24_34_9604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402076456","1402076293","1402076337","1402076418","1402076495","1402076378"],"photo_ids_order":["1402076293","1402076337","1402076378","1402076418","1402076456","1402076495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3f26581eec65507ba8638ce8e0e01cad.jpg","text":"TemporaryFile(/tmp/multipartBody5817482535427393071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305423180,"filename":"image_01012026_22_24_25_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cde98db767cf511f048e11492e5bb039.jpg","text":"TemporaryFile(/tmp/multipartBody3175981114768734280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305423180,"filename":"image_01012026_22_23_35_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6f853d67e192535787d2ee11ce1e8ce.jpg","text":"TemporaryFile(/tmp/multipartBody679611368263270567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305423180,"filename":"image_01012026_22_23_45_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/990683b4593008cd7836203e2f956fe6.jpg","text":"TemporaryFile(/tmp/multipartBody852587749337188384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305423180,"filename":"image_01012026_22_24_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/318d04208fbfe86ae5eac0ca0bc5b593.jpg","text":"TemporaryFile(/tmp/multipartBody4010174665868360411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305423180,"filename":"image_01012026_22_24_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb0a722628c99208165782e42727521f.jpg","text":"TemporaryFile(/tmp/multipartBody5227680693002257562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305423180,"filename":"image_01012026_22_23_55_9508.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402076378","file1":"1402076337","file0":"1402076293","file4":"1402076456","file5":"1402076495","file3":"1402076418"},"map_files_photo_id_array":[{"photo_id":"1402076495","filename":"file5"},{"photo_id":"1402076378","filename":"file2"},{"photo_id":"1402076456","filename":"file4"},{"photo_id":"1402076337","filename":"file1"},{"photo_id":"1402076293","filename":"file0"},{"photo_id":"1402076418","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402076456":["hashtag1","hashtag2"]},{"1402076293":["hashtag1","hashtag2"]},{"1402076337":["hashtag1","hashtag2"]},{"1402076418":["hashtag1","hashtag2"]},{"1402076495":["hashtag1","hashtag2"]},{"1402076378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402076456, 1402076293, 1402076337, 1402076418, 1402076495, 1402076378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.88562059402466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:10:03.151518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/26/image_01012026_22_26_44_8730.jpg', '/home/pi/Desktop/images/01012026/22/26/image_01012026_22_26_54_9833.jpg', '/home/pi/Desktop/images/01012026/22/26/image_01012026_22_27_04_9870.jpg', '/home/pi/Desktop/images/01012026/22/27/image_01012026_22_27_34_9742.jpg', '/home/pi/Desktop/images/01012026/22/27/image_01012026_22_27_45_10705.jpg', '/home/pi/Desktop/images/01012026/22/27/image_01012026_22_27_54_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/26/image_01012026_22_26_44_8730.jpg
/home/pi/Desktop/images/01012026/22/26/image_01012026_22_26_54_9833.jpg
/home/pi/Desktop/images/01012026/22/26/image_01012026_22_27_04_9870.jpg
/home/pi/Desktop/images/01012026/22/27/image_01012026_22_27_34_9742.jpg
/home/pi/Desktop/images/01012026/22/27/image_01012026_22_27_45_10705.jpg
/home/pi/Desktop/images/01012026/22/27/image_01012026_22_27_54_9547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402076690","1402077112","1402076903","1402077010","1402077240","1402076805"],"photo_ids_order":["1402076690","1402076805","1402076903","1402077010","1402077112","1402077240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb2cb366fe6fd17183c5005fba517eed.jpg","text":"TemporaryFile(/tmp/multipartBody2246442133546796178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305464034,"filename":"image_01012026_22_26_44_8730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/823a09db7d952b0881e1f712d05c9d99.jpg","text":"TemporaryFile(/tmp/multipartBody378314109217948884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305464034,"filename":"image_01012026_22_27_45_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb6bc88cee498e54449a3dac44885713.jpg","text":"TemporaryFile(/tmp/multipartBody8652259179508414415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305464034,"filename":"image_01012026_22_27_04_9870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/af385845cb323ed828ea0da72b114a11.jpg","text":"TemporaryFile(/tmp/multipartBody5084323896782163413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305464034,"filename":"image_01012026_22_27_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7b6db35fbfff921b4f05cee098f1e44.jpg","text":"TemporaryFile(/tmp/multipartBody1491334313766965125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305464034,"filename":"image_01012026_22_27_54_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/814822ca5815d0c2568361141b155127.jpg","text":"TemporaryFile(/tmp/multipartBody1720056259400238291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305464034,"filename":"image_01012026_22_26_54_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402076903","file1":"1402076805","file0":"1402076690","file4":"1402077112","file5":"1402077240","file3":"1402077010"},"map_files_photo_id_array":[{"photo_id":"1402077240","filename":"file5"},{"photo_id":"1402076903","filename":"file2"},{"photo_id":"1402077112","filename":"file4"},{"photo_id":"1402076805","filename":"file1"},{"photo_id":"1402076690","filename":"file0"},{"photo_id":"1402077010","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402076690":["hashtag1","hashtag2"]},{"1402077112":["hashtag1","hashtag2"]},{"1402076903":["hashtag1","hashtag2"]},{"1402077010":["hashtag1","hashtag2"]},{"1402077240":["hashtag1","hashtag2"]},{"1402076805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402076690, 1402077112, 1402076903, 1402077010, 1402077240, 1402076805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03349947929382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:10:42.705985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_45_1598.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_47_1723.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_49_1631.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_50_1614.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_52_1646.jpg', '/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_56_2422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_45_1598.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_47_1723.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_49_1631.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_50_1614.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_52_1646.jpg
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_56_2422.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402077605","1402077554","1402077553","1402077888","1402077555","1402077528"],"photo_ids_order":["1402077528","1402077553","1402077554","1402077555","1402077605","1402077888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10b4db9028e5ab012dc5648ca2936838.jpg","text":"TemporaryFile(/tmp/multipartBody9084130605511503596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305504618,"filename":"image_04112025_20_14_52_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a8d808f05a459247f2a63104efacd333.jpg","text":"TemporaryFile(/tmp/multipartBody9187103914706095872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305504618,"filename":"image_04112025_20_14_49_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfc1d204c01510d7061c94a5d233e52d.jpg","text":"TemporaryFile(/tmp/multipartBody2606807436660551920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305504618,"filename":"image_04112025_20_14_47_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e22c3902ea0e4aa70744659f15ae198f.jpg","text":"TemporaryFile(/tmp/multipartBody5655350853677187705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305504618,"filename":"image_04112025_20_14_56_2422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/898f323b90624d53023d404d02eaa4a8.jpg","text":"TemporaryFile(/tmp/multipartBody6537859191380593226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305504618,"filename":"image_04112025_20_14_50_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6855beaaf7a90bf6b485f9cdbf014c33.jpg","text":"TemporaryFile(/tmp/multipartBody4505933240605289023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305504618,"filename":"image_04112025_20_14_45_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402077554","file1":"1402077553","file0":"1402077528","file4":"1402077605","file5":"1402077888","file3":"1402077555"},"map_files_photo_id_array":[{"photo_id":"1402077888","filename":"file5"},{"photo_id":"1402077554","filename":"file2"},{"photo_id":"1402077605","filename":"file4"},{"photo_id":"1402077553","filename":"file1"},{"photo_id":"1402077528","filename":"file0"},{"photo_id":"1402077555","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402077605":["hashtag1","hashtag2"]},{"1402077554":["hashtag1","hashtag2"]},{"1402077553":["hashtag1","hashtag2"]},{"1402077888":["hashtag1","hashtag2"]},{"1402077555":["hashtag1","hashtag2"]},{"1402077528":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402077605, 1402077554, 1402077553, 1402077888, 1402077555, 1402077528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.17402243614197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:11:31.925607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_58_1770.jpg', '/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_02_4395.jpg', '/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_06_1971.jpg', '/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_08_1711.jpg', '/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_48_39833.jpg', '/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_51_1693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/14/image_04112025_20_14_58_1770.jpg
/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_02_4395.jpg
/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_06_1971.jpg
/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_08_1711.jpg
/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_48_39833.jpg
/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_51_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":["1402078252","1402078177","1402078257","1402078215","1402078256","1402078139"],"photo_ids_order":["1402078139","1402078177","1402078215","1402078252","1402078256","1402078257"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5ac08396068c4d6c01fd93c4c2f0d65.jpg","text":"TemporaryFile(/tmp/multipartBody2205667794088925596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305553840,"filename":"image_04112025_20_15_08_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c90b7553d184a25b01cf29f0f3f5771.jpg","text":"TemporaryFile(/tmp/multipartBody7230251231212160192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305553840,"filename":"image_04112025_20_15_02_4395.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9f015ed450a6030f7ac09e58541e5832.jpg","text":"TemporaryFile(/tmp/multipartBody468264018579432274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305553840,"filename":"image_04112025_20_15_51_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6ab2469254ca85fd3275ce0a7f79270.jpg","text":"TemporaryFile(/tmp/multipartBody6711603115017135763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305553840,"filename":"image_04112025_20_15_06_1971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bad8115184d131d743fbd546c6841524.jpg","text":"TemporaryFile(/tmp/multipartBody654681574178342608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305553840,"filename":"image_04112025_20_15_48_39833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f2a2483200a6c21f90ae128e0cafd4a.jpg","text":"TemporaryFile(/tmp/multipartBody710437369922256878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305553840,"filename":"image_04112025_20_14_58_1770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402078215","file1":"1402078177","file0":"1402078139","file4":"1402078256","file5":"1402078257","file3":"1402078252"},"map_files_photo_id_array":[{"photo_id":"1402078257","filename":"file5"},{"photo_id":"1402078215","filename":"file2"},{"photo_id":"1402078256","filename":"file4"},{"photo_id":"1402078177","filename":"file1"},{"photo_id":"1402078139","filename":"file0"},{"photo_id":"1402078252","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402078252":["hashtag1","hashtag2"]},{"1402078177":["hashtag1","hashtag2"]},{"1402078257":["hashtag1","hashtag2"]},{"1402078215":["hashtag1","hashtag2"]},{"1402078256":["hashtag1","hashtag2"]},{"1402078139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402078252, 1402078177, 1402078257, 1402078215, 1402078256, 1402078139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.258609771728516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:12:12.296894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_53_1664.jpg', '/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_58_1596.jpg', '/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_59_1718.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_01_1672.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_04_1571.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_07_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_53_1664.jpg
/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_58_1596.jpg
/home/pi/Desktop/images/04112025/20/15/image_04112025_20_15_59_1718.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_01_1672.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_04_1571.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_07_1581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402078851","1402078842","1402078806","1402078694","1402078853","1402078888"],"photo_ids_order":["1402078694","1402078806","1402078842","1402078851","1402078853","1402078888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2da7afd86e80a1c8c9d3b5f4d032a99f.jpg","text":"TemporaryFile(/tmp/multipartBody5445464091533804862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305599292,"filename":"image_04112025_20_16_01_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38161164a9f43c19cae700b3db65726f.jpg","text":"TemporaryFile(/tmp/multipartBody6857536542407323654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305599292,"filename":"image_04112025_20_15_59_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c24c4c9966539d6d7c9c43396d7c23dd.jpg","text":"TemporaryFile(/tmp/multipartBody3762655364942829447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305599292,"filename":"image_04112025_20_15_58_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/96ccbf7ccc515c0a11cfa755578bac02.jpg","text":"TemporaryFile(/tmp/multipartBody6686078937133442723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305599292,"filename":"image_04112025_20_15_53_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0706fc8d2315b9996e0f385248582efb.jpg","text":"TemporaryFile(/tmp/multipartBody7561216283230023815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305599292,"filename":"image_04112025_20_16_04_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/27741a1bb4008bb3ad416bde20c3dfec.jpg","text":"TemporaryFile(/tmp/multipartBody5639691143479369681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305599292,"filename":"image_04112025_20_16_07_1581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402078842","file1":"1402078806","file0":"1402078694","file4":"1402078853","file5":"1402078888","file3":"1402078851"},"map_files_photo_id_array":[{"photo_id":"1402078888","filename":"file5"},{"photo_id":"1402078842","filename":"file2"},{"photo_id":"1402078853","filename":"file4"},{"photo_id":"1402078806","filename":"file1"},{"photo_id":"1402078694","filename":"file0"},{"photo_id":"1402078851","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402078851":["hashtag1","hashtag2"]},{"1402078842":["hashtag1","hashtag2"]},{"1402078806":["hashtag1","hashtag2"]},{"1402078694":["hashtag1","hashtag2"]},{"1402078853":["hashtag1","hashtag2"]},{"1402078888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402078851, 1402078842, 1402078806, 1402078694, 1402078853, 1402078888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.08820176124573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:13:03.124458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/27/image_01012026_22_28_04_9721.jpg', '/home/pi/Desktop/images/01012026/22/28/image_01012026_22_28_15_10659.jpg', '/home/pi/Desktop/images/01012026/22/28/image_01012026_22_28_24_9643.jpg', '/home/pi/Desktop/images/01012026/22/28/image_01012026_22_28_45_10808.jpg', '/home/pi/Desktop/images/01012026/22/28/image_01012026_22_28_54_9548.jpg', '/home/pi/Desktop/images/01012026/22/28/image_01012026_22_29_05_10565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/27/image_01012026_22_28_04_9721.jpg
/home/pi/Desktop/images/01012026/22/28/image_01012026_22_28_15_10659.jpg
/home/pi/Desktop/images/01012026/22/28/image_01012026_22_28_24_9643.jpg
/home/pi/Desktop/images/01012026/22/28/image_01012026_22_28_45_10808.jpg
/home/pi/Desktop/images/01012026/22/28/image_01012026_22_28_54_9548.jpg
/home/pi/Desktop/images/01012026/22/28/image_01012026_22_29_05_10565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402079064","1402079061","1402079063","1402079065","1402079068","1402079062"],"photo_ids_order":["1402079061","1402079062","1402079063","1402079064","1402079065","1402079068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/087538abe53208114b6f95c3a9a3063c.jpg","text":"TemporaryFile(/tmp/multipartBody8709827530248516329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305643799,"filename":"image_01012026_22_28_45_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22152820d44eb3993cec68d1a066d778.jpg","text":"TemporaryFile(/tmp/multipartBody5036334181295093897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305643799,"filename":"image_01012026_22_28_04_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34f5663d57371414a482ffa1c459b049.jpg","text":"TemporaryFile(/tmp/multipartBody7923777468524889255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305643799,"filename":"image_01012026_22_28_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aae34fe8401d4cb58f205e00327bc11a.jpg","text":"TemporaryFile(/tmp/multipartBody6485203280864093716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305643799,"filename":"image_01012026_22_28_54_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1b1bcbf18d58647a1d492600ea3dc293.jpg","text":"TemporaryFile(/tmp/multipartBody1592431098447077368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305643799,"filename":"image_01012026_22_29_05_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95e235c34db945b1dc0aaf6f3b32e426.jpg","text":"TemporaryFile(/tmp/multipartBody6924022641198178993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305643799,"filename":"image_01012026_22_28_15_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402079063","file1":"1402079062","file0":"1402079061","file4":"1402079065","file5":"1402079068","file3":"1402079064"},"map_files_photo_id_array":[{"photo_id":"1402079068","filename":"file5"},{"photo_id":"1402079063","filename":"file2"},{"photo_id":"1402079065","filename":"file4"},{"photo_id":"1402079062","filename":"file1"},{"photo_id":"1402079061","filename":"file0"},{"photo_id":"1402079064","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402079064":["hashtag1","hashtag2"]},{"1402079061":["hashtag1","hashtag2"]},{"1402079063":["hashtag1","hashtag2"]},{"1402079065":["hashtag1","hashtag2"]},{"1402079068":["hashtag1","hashtag2"]},{"1402079062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402079064, 1402079061, 1402079063, 1402079065, 1402079068, 1402079062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41783308982849 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:13:42.525815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_09_1704.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_11_1583.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_12_1646.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_16_1616.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_17_1684.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_19_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_09_1704.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_11_1583.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_12_1646.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_16_1616.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_17_1684.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_19_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402079076","1402079079","1402079073","1402079075","1402079078","1402079077"],"photo_ids_order":["1402079073","1402079075","1402079076","1402079077","1402079078","1402079079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85bbdaaa534fa6a8ccd3e72011168e3c.jpg","text":"TemporaryFile(/tmp/multipartBody6556232897545016688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305684443,"filename":"image_04112025_20_16_12_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c01dfccf709acff772fd14e10e7ba7ce.jpg","text":"TemporaryFile(/tmp/multipartBody7380730412389540570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305684443,"filename":"image_04112025_20_16_19_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/371b174c01fd6a3aa78e11dcd06aa3cb.jpg","text":"TemporaryFile(/tmp/multipartBody8897005022512265885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305684443,"filename":"image_04112025_20_16_09_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3c3070d7f05a35f4515ed25849bbb65.jpg","text":"TemporaryFile(/tmp/multipartBody3177666800391675420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305684443,"filename":"image_04112025_20_16_11_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/786f80e8d570eb96a2a065f6d9b6f829.jpg","text":"TemporaryFile(/tmp/multipartBody313316867601390448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305684443,"filename":"image_04112025_20_16_17_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a2abe34d54b10c414d63efb59eaa5c0b.jpg","text":"TemporaryFile(/tmp/multipartBody1666615930481907968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305684443,"filename":"image_04112025_20_16_16_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402079076","file1":"1402079075","file0":"1402079073","file4":"1402079078","file5":"1402079079","file3":"1402079077"},"map_files_photo_id_array":[{"photo_id":"1402079079","filename":"file5"},{"photo_id":"1402079076","filename":"file2"},{"photo_id":"1402079078","filename":"file4"},{"photo_id":"1402079075","filename":"file1"},{"photo_id":"1402079073","filename":"file0"},{"photo_id":"1402079077","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402079076":["hashtag1","hashtag2"]},{"1402079079":["hashtag1","hashtag2"]},{"1402079073":["hashtag1","hashtag2"]},{"1402079075":["hashtag1","hashtag2"]},{"1402079078":["hashtag1","hashtag2"]},{"1402079077":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402079076, 1402079079, 1402079073, 1402079075, 1402079078, 1402079077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55183124542236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:14:22.683920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/29/image_01012026_22_29_24_9679.jpg', '/home/pi/Desktop/images/01012026/22/29/image_01012026_22_29_34_9727.jpg', '/home/pi/Desktop/images/01012026/22/29/image_01012026_22_29_45_10773.jpg', '/home/pi/Desktop/images/01012026/22/29/image_01012026_22_29_55_9775.jpg', '/home/pi/Desktop/images/01012026/22/30/image_01012026_22_30_15_10057.jpg', '/home/pi/Desktop/images/01012026/22/30/image_01012026_22_30_25_10796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/29/image_01012026_22_29_24_9679.jpg
/home/pi/Desktop/images/01012026/22/29/image_01012026_22_29_34_9727.jpg
/home/pi/Desktop/images/01012026/22/29/image_01012026_22_29_45_10773.jpg
/home/pi/Desktop/images/01012026/22/29/image_01012026_22_29_55_9775.jpg
/home/pi/Desktop/images/01012026/22/30/image_01012026_22_30_15_10057.jpg
/home/pi/Desktop/images/01012026/22/30/image_01012026_22_30_25_10796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402079082","1402079085","1402079093","1402079087","1402079081","1402079089"],"photo_ids_order":["1402079081","1402079082","1402079085","1402079087","1402079089","1402079093"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e6effa1abbc3c57b48eed1eb2a1877cb.jpg","text":"TemporaryFile(/tmp/multipartBody3185863040305145433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305723275,"filename":"image_01012026_22_29_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dd3a0e6f7795331f1c2c2b1d360b9fb.jpg","text":"TemporaryFile(/tmp/multipartBody2393170080342464500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305723275,"filename":"image_01012026_22_29_45_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cdd8d12e1acae436e1918fd17dd099d.jpg","text":"TemporaryFile(/tmp/multipartBody5516828271430011415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305723275,"filename":"image_01012026_22_30_25_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba5f285f3660c3eb53ac454f06391b8f.jpg","text":"TemporaryFile(/tmp/multipartBody4781638839767308744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305723275,"filename":"image_01012026_22_29_55_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/598d581b4959c14f9ca569f97abcf6c4.jpg","text":"TemporaryFile(/tmp/multipartBody6211638758339687721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305723275,"filename":"image_01012026_22_29_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2b5c963a596c9e8f2b4f1d47cee4ba4.jpg","text":"TemporaryFile(/tmp/multipartBody7603887880068223016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305723275,"filename":"image_01012026_22_30_15_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402079085","file1":"1402079082","file0":"1402079081","file4":"1402079089","file5":"1402079093","file3":"1402079087"},"map_files_photo_id_array":[{"photo_id":"1402079093","filename":"file5"},{"photo_id":"1402079085","filename":"file2"},{"photo_id":"1402079089","filename":"file4"},{"photo_id":"1402079082","filename":"file1"},{"photo_id":"1402079081","filename":"file0"},{"photo_id":"1402079087","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402079082":["hashtag1","hashtag2"]},{"1402079085":["hashtag1","hashtag2"]},{"1402079093":["hashtag1","hashtag2"]},{"1402079087":["hashtag1","hashtag2"]},{"1402079081":["hashtag1","hashtag2"]},{"1402079089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402079082, 1402079085, 1402079093, 1402079087, 1402079081, 1402079089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.023367166519165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:15:02.582876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/30/image_01012026_22_30_35_9941.jpg', '/home/pi/Desktop/images/01012026/22/30/image_01012026_22_30_45_9625.jpg', '/home/pi/Desktop/images/01012026/22/31/image_01012026_22_31_05_3623.jpg', '/home/pi/Desktop/images/01012026/22/31/image_01012026_22_31_15_10674.jpg', '/home/pi/Desktop/images/01012026/22/31/image_01012026_22_31_25_9662.jpg', '/home/pi/Desktop/images/01012026/22/31/image_01012026_22_31_35_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/30/image_01012026_22_30_35_9941.jpg
/home/pi/Desktop/images/01012026/22/30/image_01012026_22_30_45_9625.jpg
/home/pi/Desktop/images/01012026/22/31/image_01012026_22_31_05_3623.jpg
/home/pi/Desktop/images/01012026/22/31/image_01012026_22_31_15_10674.jpg
/home/pi/Desktop/images/01012026/22/31/image_01012026_22_31_25_9662.jpg
/home/pi/Desktop/images/01012026/22/31/image_01012026_22_31_35_9817.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":["1402079268","1402079550","1402079192","1402079350","1402079722","1402079644"],"photo_ids_order":["1402079192","1402079268","1402079350","1402079550","1402079644","1402079722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e96f8b6c9e0150a2a8a079807cc322cd.jpg","text":"TemporaryFile(/tmp/multipartBody5773129659259720555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305763266,"filename":"image_01012026_22_30_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f5a97158b6a106d2791ae0b3ff6208e.jpg","text":"TemporaryFile(/tmp/multipartBody4025014688970289311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305763266,"filename":"image_01012026_22_31_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e78ebb66b2a30ae78f636d8cb596e2d.jpg","text":"TemporaryFile(/tmp/multipartBody2115149148789714435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305763266,"filename":"image_01012026_22_30_35_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/77d092dbf2ac6017e8a1a530d799aba7.jpg","text":"TemporaryFile(/tmp/multipartBody3452391194637147082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305763266,"filename":"image_01012026_22_31_05_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f299ddd9abf8e060b93b19b1bea13b98.jpg","text":"TemporaryFile(/tmp/multipartBody3327715626623320488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305763266,"filename":"image_01012026_22_31_35_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cfcb703b66467193bdf234f0feedad2.jpg","text":"TemporaryFile(/tmp/multipartBody4898126700356210593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305763266,"filename":"image_01012026_22_31_25_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402079350","file1":"1402079268","file0":"1402079192","file4":"1402079644","file5":"1402079722","file3":"1402079550"},"map_files_photo_id_array":[{"photo_id":"1402079722","filename":"file5"},{"photo_id":"1402079350","filename":"file2"},{"photo_id":"1402079644","filename":"file4"},{"photo_id":"1402079268","filename":"file1"},{"photo_id":"1402079192","filename":"file0"},{"photo_id":"1402079550","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402079268":["hashtag1","hashtag2"]},{"1402079550":["hashtag1","hashtag2"]},{"1402079192":["hashtag1","hashtag2"]},{"1402079350":["hashtag1","hashtag2"]},{"1402079722":["hashtag1","hashtag2"]},{"1402079644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402079268, 1402079550, 1402079192, 1402079350, 1402079722, 1402079644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.17450141906738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:16:03.096429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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
2026-01-01 23:16:12.610265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_25_2829.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_27_1718.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_30_3334.jpg', '/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_35_1660.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_04_6119.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_08_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_25_2829.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_27_1718.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_30_3334.jpg
/home/pi/Desktop/images/04112025/20/16/image_04112025_20_16_35_1660.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_04_6119.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_08_1704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402080358","1402080244","1402080281","1402080197","1402080320","1402080410"],"photo_ids_order":["1402080197","1402080244","1402080281","1402080320","1402080358","1402080410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/37ad32cb3aee404cb7ac15c5a9a32ad7.jpg","text":"TemporaryFile(/tmp/multipartBody2341995173231217362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305834407,"filename":"image_04112025_20_17_04_6119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e5fbb5e2d5d108d0aaf041b903ca710.jpg","text":"TemporaryFile(/tmp/multipartBody3064188042524721140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305834407,"filename":"image_04112025_20_16_27_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/80962f17bfa40d4a97f7bff770a52e99.jpg","text":"TemporaryFile(/tmp/multipartBody8948196678362361067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305834407,"filename":"image_04112025_20_16_30_3334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/101a982bbc56232d3d4b9cd974a84584.jpg","text":"TemporaryFile(/tmp/multipartBody8008258049680370965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305834407,"filename":"image_04112025_20_16_25_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c30428285bb1dc5109e6d3bef688dd2b.jpg","text":"TemporaryFile(/tmp/multipartBody5441801895385505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305834407,"filename":"image_04112025_20_16_35_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8138ad3b74660fa34d42361f775a20dc.jpg","text":"TemporaryFile(/tmp/multipartBody6950185206541671059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305834407,"filename":"image_04112025_20_17_08_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402080281","file1":"1402080244","file0":"1402080197","file4":"1402080358","file5":"1402080410","file3":"1402080320"},"map_files_photo_id_array":[{"photo_id":"1402080410","filename":"file5"},{"photo_id":"1402080281","filename":"file2"},{"photo_id":"1402080358","filename":"file4"},{"photo_id":"1402080244","filename":"file1"},{"photo_id":"1402080197","filename":"file0"},{"photo_id":"1402080320","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402080358":["hashtag1","hashtag2"]},{"1402080244":["hashtag1","hashtag2"]},{"1402080281":["hashtag1","hashtag2"]},{"1402080197":["hashtag1","hashtag2"]},{"1402080320":["hashtag1","hashtag2"]},{"1402080410":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402080358, 1402080244, 1402080281, 1402080197, 1402080320, 1402080410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.048388719558716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:17:10.031941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/31/image_01012026_22_32_05_9789.jpg', '/home/pi/Desktop/images/01012026/22/32/image_01012026_22_32_15_9715.jpg', '/home/pi/Desktop/images/01012026/22/32/image_01012026_22_32_35_9663.jpg', '/home/pi/Desktop/images/01012026/22/32/image_01012026_22_32_45_9549.jpg', '/home/pi/Desktop/images/01012026/22/32/image_01012026_22_32_55_10537.jpg', '/home/pi/Desktop/images/01012026/22/33/image_01012026_22_33_25_10109.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/31/image_01012026_22_32_05_9789.jpg
/home/pi/Desktop/images/01012026/22/32/image_01012026_22_32_15_9715.jpg
/home/pi/Desktop/images/01012026/22/32/image_01012026_22_32_35_9663.jpg
/home/pi/Desktop/images/01012026/22/32/image_01012026_22_32_45_9549.jpg
/home/pi/Desktop/images/01012026/22/32/image_01012026_22_32_55_10537.jpg
/home/pi/Desktop/images/01012026/22/33/image_01012026_22_33_25_10109.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":["1402081411","1402081713","1402081373","1402081643","1402081502","1402081619"],"photo_ids_order":["1402081373","1402081411","1402081502","1402081619","1402081643","1402081713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/330c7f056b301f40330b948ad6ed1e7b.jpg","text":"TemporaryFile(/tmp/multipartBody8953526656840733535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305893125,"filename":"image_01012026_22_32_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/020a31af1b5eb1b63bdc6e785d889697.jpg","text":"TemporaryFile(/tmp/multipartBody5896391534671877644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305893125,"filename":"image_01012026_22_33_25_10109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fb106b2dd2de664f9f4fb13efc2d588a.jpg","text":"TemporaryFile(/tmp/multipartBody5462337244610488799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305893125,"filename":"image_01012026_22_32_05_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f16a6d292909475f9d4901635fb94c9.jpg","text":"TemporaryFile(/tmp/multipartBody1678839279634839043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305893125,"filename":"image_01012026_22_32_55_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0db0cc93eed1e0890eb98ea5064ee965.jpg","text":"TemporaryFile(/tmp/multipartBody1516038989898276193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305893125,"filename":"image_01012026_22_32_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/905e459c9ff5687fb38484a4e3847a36.jpg","text":"TemporaryFile(/tmp/multipartBody1697311679971980113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305893125,"filename":"image_01012026_22_32_45_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402081502","file1":"1402081411","file0":"1402081373","file4":"1402081643","file5":"1402081713","file3":"1402081619"},"map_files_photo_id_array":[{"photo_id":"1402081713","filename":"file5"},{"photo_id":"1402081502","filename":"file2"},{"photo_id":"1402081643","filename":"file4"},{"photo_id":"1402081411","filename":"file1"},{"photo_id":"1402081373","filename":"file0"},{"photo_id":"1402081619","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402081411":["hashtag1","hashtag2"]},{"1402081713":["hashtag1","hashtag2"]},{"1402081373":["hashtag1","hashtag2"]},{"1402081643":["hashtag1","hashtag2"]},{"1402081502":["hashtag1","hashtag2"]},{"1402081619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402081411, 1402081713, 1402081373, 1402081643, 1402081502, 1402081619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67206120491028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:18:02.830913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/33/image_01012026_22_33_35_9750.jpg', '/home/pi/Desktop/images/01012026/22/33/image_01012026_22_33_45_10608.jpg', '/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_15_10642.jpg', '/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_25_9792.jpg', '/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_35_9537.jpg', '/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_45_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/33/image_01012026_22_33_35_9750.jpg
/home/pi/Desktop/images/01012026/22/33/image_01012026_22_33_45_10608.jpg
/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_15_10642.jpg
/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_25_9792.jpg
/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_35_9537.jpg
/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_45_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402082085","1402082058","1402082096","1402081973","1402082030","1402082094"],"photo_ids_order":["1402081973","1402082030","1402082058","1402082085","1402082094","1402082096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/98ae758eb1c4e4457c82f43dda43f35e.jpg","text":"TemporaryFile(/tmp/multipartBody3488024871930968421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305943462,"filename":"image_01012026_22_34_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c268e0a0ed09179be14b289331386e7a.jpg","text":"TemporaryFile(/tmp/multipartBody1041130394054852068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305943462,"filename":"image_01012026_22_34_15_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/539597f8df5243ce442a7c9877bfa08f.jpg","text":"TemporaryFile(/tmp/multipartBody9002278386882741865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305943462,"filename":"image_01012026_22_34_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/10e1ac9e5038cecca20da8452394e61f.jpg","text":"TemporaryFile(/tmp/multipartBody8279605292815867935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305943462,"filename":"image_01012026_22_33_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f302cdba2c9c17354fe0f1c05175a82.jpg","text":"TemporaryFile(/tmp/multipartBody7799281407158630344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305943462,"filename":"image_01012026_22_33_45_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3fc0ee9d8a814c36f03a06983641219.jpg","text":"TemporaryFile(/tmp/multipartBody6725879321806938299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305943462,"filename":"image_01012026_22_34_35_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402082058","file1":"1402082030","file0":"1402081973","file4":"1402082094","file5":"1402082096","file3":"1402082085"},"map_files_photo_id_array":[{"photo_id":"1402082096","filename":"file5"},{"photo_id":"1402082058","filename":"file2"},{"photo_id":"1402082094","filename":"file4"},{"photo_id":"1402082030","filename":"file1"},{"photo_id":"1402081973","filename":"file0"},{"photo_id":"1402082085","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402082085":["hashtag1","hashtag2"]},{"1402082058":["hashtag1","hashtag2"]},{"1402082096":["hashtag1","hashtag2"]},{"1402081973":["hashtag1","hashtag2"]},{"1402082030":["hashtag1","hashtag2"]},{"1402082094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402082085, 1402082058, 1402082096, 1402081973, 1402082030, 1402082094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81324291229248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:18:42.461352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_09_1655.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_11_1542.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_13_1705.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_16_1611.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_25_9124.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_27_1593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_09_1655.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_11_1542.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_13_1705.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_16_1611.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_25_9124.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_27_1593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402082157","1402082118","1402082103","1402082194","1402082101","1402082104"],"photo_ids_order":["1402082101","1402082103","1402082104","1402082118","1402082157","1402082194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4cf2bc64a4087e815085c1c5817ab49b.jpg","text":"TemporaryFile(/tmp/multipartBody135841490815190491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305984385,"filename":"image_04112025_20_17_25_9124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/62dede8043ca699cab591de638659b8d.jpg","text":"TemporaryFile(/tmp/multipartBody8841483228291665170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305984385,"filename":"image_04112025_20_17_16_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5358e5d2bbb294505b9fcb334046cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2185179057112125892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305984385,"filename":"image_04112025_20_17_11_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3d7cc5ca54c4317631a2410fcc46899.jpg","text":"TemporaryFile(/tmp/multipartBody8629054832648120566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305984385,"filename":"image_04112025_20_17_27_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c77cae3f02826473ce29a3a67aa1fbd5.jpg","text":"TemporaryFile(/tmp/multipartBody1359380158245511105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305984385,"filename":"image_04112025_20_17_09_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/500551c57f7bb5a93e481878e4d1ef17.jpg","text":"TemporaryFile(/tmp/multipartBody1828548925868443720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767305984385,"filename":"image_04112025_20_17_13_1705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402082104","file1":"1402082103","file0":"1402082101","file4":"1402082157","file5":"1402082194","file3":"1402082118"},"map_files_photo_id_array":[{"photo_id":"1402082194","filename":"file5"},{"photo_id":"1402082104","filename":"file2"},{"photo_id":"1402082157","filename":"file4"},{"photo_id":"1402082103","filename":"file1"},{"photo_id":"1402082101","filename":"file0"},{"photo_id":"1402082118","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402082157":["hashtag1","hashtag2"]},{"1402082118":["hashtag1","hashtag2"]},{"1402082103":["hashtag1","hashtag2"]},{"1402082194":["hashtag1","hashtag2"]},{"1402082101":["hashtag1","hashtag2"]},{"1402082104":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402082157, 1402082118, 1402082103, 1402082194, 1402082101, 1402082104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51399087905884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:19:22.618671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_55_9624.jpg', '/home/pi/Desktop/images/01012026/22/35/image_01012026_22_35_25_10780.jpg', '/home/pi/Desktop/images/01012026/22/35/image_01012026_22_35_35_9586.jpg', '/home/pi/Desktop/images/01012026/22/35/image_01012026_22_35_55_10671.jpg', '/home/pi/Desktop/images/01012026/22/35/image_01012026_22_36_05_9670.jpg', '/home/pi/Desktop/images/01012026/22/36/image_01012026_22_36_15_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/34/image_01012026_22_34_55_9624.jpg
/home/pi/Desktop/images/01012026/22/35/image_01012026_22_35_25_10780.jpg
/home/pi/Desktop/images/01012026/22/35/image_01012026_22_35_35_9586.jpg
/home/pi/Desktop/images/01012026/22/35/image_01012026_22_35_55_10671.jpg
/home/pi/Desktop/images/01012026/22/35/image_01012026_22_36_05_9670.jpg
/home/pi/Desktop/images/01012026/22/36/image_01012026_22_36_15_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":["1402082532","1402082453","1402082333","1402082416","1402082493","1402082373"],"photo_ids_order":["1402082333","1402082373","1402082416","1402082453","1402082493","1402082532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a99c16c836711b20efd7d60f10e9723.jpg","text":"TemporaryFile(/tmp/multipartBody1126253151909882583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306023215,"filename":"image_01012026_22_36_15_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/faac30ca6e520b630db617efaa2f7965.jpg","text":"TemporaryFile(/tmp/multipartBody3821595497790082223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306023215,"filename":"image_01012026_22_35_55_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29f1dd67f2d063dbcb694efa14b3c4f3.jpg","text":"TemporaryFile(/tmp/multipartBody8617846465087481204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306023215,"filename":"image_01012026_22_34_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e26fd5dd46fa62303802e4493b8b20ff.jpg","text":"TemporaryFile(/tmp/multipartBody626088334941783978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306023215,"filename":"image_01012026_22_35_35_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/38aacb99e806ab88f25c5649229661c0.jpg","text":"TemporaryFile(/tmp/multipartBody1914912769766150198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306023215,"filename":"image_01012026_22_36_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0bf2c6d6baa47469afeb8170b26c649d.jpg","text":"TemporaryFile(/tmp/multipartBody3893160864598130401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306023215,"filename":"image_01012026_22_35_25_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402082416","file1":"1402082373","file0":"1402082333","file4":"1402082493","file5":"1402082532","file3":"1402082453"},"map_files_photo_id_array":[{"photo_id":"1402082532","filename":"file5"},{"photo_id":"1402082416","filename":"file2"},{"photo_id":"1402082493","filename":"file4"},{"photo_id":"1402082373","filename":"file1"},{"photo_id":"1402082333","filename":"file0"},{"photo_id":"1402082453","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402082532":["hashtag1","hashtag2"]},{"1402082453":["hashtag1","hashtag2"]},{"1402082333":["hashtag1","hashtag2"]},{"1402082416":["hashtag1","hashtag2"]},{"1402082493":["hashtag1","hashtag2"]},{"1402082373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402082532, 1402082453, 1402082333, 1402082416, 1402082493, 1402082373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98352026939392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:20:02.306540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/36/image_01012026_22_36_35_10707.jpg', '/home/pi/Desktop/images/01012026/22/36/image_01012026_22_36_55_9696.jpg', '/home/pi/Desktop/images/01012026/22/36/image_01012026_22_37_04_9874.jpg', '/home/pi/Desktop/images/01012026/22/37/image_01012026_22_37_15_10606.jpg', '/home/pi/Desktop/images/01012026/22/37/image_01012026_22_37_34_9631.jpg', '/home/pi/Desktop/images/01012026/22/37/image_01012026_22_37_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/36/image_01012026_22_36_35_10707.jpg
/home/pi/Desktop/images/01012026/22/36/image_01012026_22_36_55_9696.jpg
/home/pi/Desktop/images/01012026/22/36/image_01012026_22_37_04_9874.jpg
/home/pi/Desktop/images/01012026/22/37/image_01012026_22_37_15_10606.jpg
/home/pi/Desktop/images/01012026/22/37/image_01012026_22_37_34_9631.jpg
/home/pi/Desktop/images/01012026/22/37/image_01012026_22_37_55_9705.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":["1402082661","1402082658","1402082663","1402082660","1402082665","1402082659"],"photo_ids_order":["1402082658","1402082659","1402082660","1402082661","1402082663","1402082665"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/39e2fa4c1e33b5b04c8a9451349f89cb.jpg","text":"TemporaryFile(/tmp/multipartBody2448916870529425025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306062932,"filename":"image_01012026_22_37_15_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54c38b3d7d98c1deb26524275a6d80c5.jpg","text":"TemporaryFile(/tmp/multipartBody681131963240406442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306062932,"filename":"image_01012026_22_36_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6f6ab306ad6c2e7a00db7605fff35871.jpg","text":"TemporaryFile(/tmp/multipartBody1156216347935001494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306062932,"filename":"image_01012026_22_37_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/228b4d4bd4421ceca4b2ddac5a0142f8.jpg","text":"TemporaryFile(/tmp/multipartBody544381076540621944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306062932,"filename":"image_01012026_22_37_04_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0759143281bacabd587cabfc8825b3df.jpg","text":"TemporaryFile(/tmp/multipartBody6194772146274698938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306062932,"filename":"image_01012026_22_37_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5aa6478bbcd75d79d4ef776404415d40.jpg","text":"TemporaryFile(/tmp/multipartBody5594421619827482744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306062932,"filename":"image_01012026_22_36_55_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402082660","file1":"1402082659","file0":"1402082658","file4":"1402082663","file5":"1402082665","file3":"1402082661"},"map_files_photo_id_array":[{"photo_id":"1402082665","filename":"file5"},{"photo_id":"1402082660","filename":"file2"},{"photo_id":"1402082663","filename":"file4"},{"photo_id":"1402082659","filename":"file1"},{"photo_id":"1402082658","filename":"file0"},{"photo_id":"1402082661","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402082661":["hashtag1","hashtag2"]},{"1402082658":["hashtag1","hashtag2"]},{"1402082663":["hashtag1","hashtag2"]},{"1402082660":["hashtag1","hashtag2"]},{"1402082665":["hashtag1","hashtag2"]},{"1402082659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402082661, 1402082658, 1402082663, 1402082660, 1402082665, 1402082659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63562369346619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:21:02.729591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/37/image_01012026_22_38_04_9597.jpg', '/home/pi/Desktop/images/01012026/22/38/image_01012026_22_38_25_9703.jpg', '/home/pi/Desktop/images/01012026/22/38/image_01012026_22_38_45_10640.jpg', '/home/pi/Desktop/images/01012026/22/38/image_01012026_22_38_55_9529.jpg', '/home/pi/Desktop/images/01012026/22/38/image_01012026_22_39_04_9592.jpg', '/home/pi/Desktop/images/01012026/22/39/image_01012026_22_39_24_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/37/image_01012026_22_38_04_9597.jpg
/home/pi/Desktop/images/01012026/22/38/image_01012026_22_38_25_9703.jpg
/home/pi/Desktop/images/01012026/22/38/image_01012026_22_38_45_10640.jpg
/home/pi/Desktop/images/01012026/22/38/image_01012026_22_38_55_9529.jpg
/home/pi/Desktop/images/01012026/22/38/image_01012026_22_39_04_9592.jpg
/home/pi/Desktop/images/01012026/22/39/image_01012026_22_39_24_9594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402083173","1402083302","1402082890","1402082956","1402083360","1402083039"],"photo_ids_order":["1402082890","1402082956","1402083039","1402083173","1402083302","1402083360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/303506bc8c4f3e90ec326092e8211522.jpg","text":"TemporaryFile(/tmp/multipartBody3417040383954024946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306123378,"filename":"image_01012026_22_38_55_9529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b703be0914dedd3ea9cd80bf959dc86c.jpg","text":"TemporaryFile(/tmp/multipartBody1209539249960031869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306123378,"filename":"image_01012026_22_39_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bd4202771a39218f672b8b68d8eaae36.jpg","text":"TemporaryFile(/tmp/multipartBody7128590172934071075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306123378,"filename":"image_01012026_22_38_04_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7d8f081e3b3f84019c9652a1ea20cbb3.jpg","text":"TemporaryFile(/tmp/multipartBody8525106311851834601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306123378,"filename":"image_01012026_22_38_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d499b3be750e99c40db1347055225dc0.jpg","text":"TemporaryFile(/tmp/multipartBody1542427653837904876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306123378,"filename":"image_01012026_22_39_24_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1f06ae42c3b7577e0be727b1d5bb0532.jpg","text":"TemporaryFile(/tmp/multipartBody1280277653478264143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306123378,"filename":"image_01012026_22_38_45_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402083039","file1":"1402082956","file0":"1402082890","file4":"1402083302","file5":"1402083360","file3":"1402083173"},"map_files_photo_id_array":[{"photo_id":"1402083360","filename":"file5"},{"photo_id":"1402083039","filename":"file2"},{"photo_id":"1402083302","filename":"file4"},{"photo_id":"1402082956","filename":"file1"},{"photo_id":"1402082890","filename":"file0"},{"photo_id":"1402083173","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402083173":["hashtag1","hashtag2"]},{"1402083302":["hashtag1","hashtag2"]},{"1402082890":["hashtag1","hashtag2"]},{"1402082956":["hashtag1","hashtag2"]},{"1402083360":["hashtag1","hashtag2"]},{"1402083039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402083173, 1402083302, 1402082890, 1402082956, 1402083360, 1402083039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70612359046936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:21:42.070279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_28_1678.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_32_1708.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_34_1833.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_41_6998.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_47_5945.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_48_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_28_1678.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_32_1708.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_34_1833.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_41_6998.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_47_5945.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_48_1648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402083728","1402083769","1402083849","1402083690","1402083645","1402083804"],"photo_ids_order":["1402083645","1402083690","1402083728","1402083769","1402083804","1402083849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6dda681b1fb8d513925150ec5ed03928.jpg","text":"TemporaryFile(/tmp/multipartBody7464572930252865356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306163982,"filename":"image_04112025_20_17_34_1833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f6f527efd136d38bc422f8930f7c96ef.jpg","text":"TemporaryFile(/tmp/multipartBody4092678924608076344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306163982,"filename":"image_04112025_20_17_41_6998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ec4674e2a95941af12ff2111f6b194e9.jpg","text":"TemporaryFile(/tmp/multipartBody5608407190240111817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306163982,"filename":"image_04112025_20_17_48_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03ce03bd7bfd7a79b1c9bc62671c72ed.jpg","text":"TemporaryFile(/tmp/multipartBody1599814245962972405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306163982,"filename":"image_04112025_20_17_32_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1511c431680571b8b20f116203122eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3536059905165219560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306163982,"filename":"image_04112025_20_17_28_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7aab5434b612f5058997ba31d241e040.jpg","text":"TemporaryFile(/tmp/multipartBody7771890328688911499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306163982,"filename":"image_04112025_20_17_47_5945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402083728","file1":"1402083690","file0":"1402083645","file4":"1402083804","file5":"1402083849","file3":"1402083769"},"map_files_photo_id_array":[{"photo_id":"1402083849","filename":"file5"},{"photo_id":"1402083728","filename":"file2"},{"photo_id":"1402083804","filename":"file4"},{"photo_id":"1402083690","filename":"file1"},{"photo_id":"1402083645","filename":"file0"},{"photo_id":"1402083769","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402083728":["hashtag1","hashtag2"]},{"1402083769":["hashtag1","hashtag2"]},{"1402083849":["hashtag1","hashtag2"]},{"1402083690":["hashtag1","hashtag2"]},{"1402083645":["hashtag1","hashtag2"]},{"1402083804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402083728, 1402083769, 1402083849, 1402083690, 1402083645, 1402083804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.86995244026184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:22:22.255709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/39/image_01012026_22_39_35_10580.jpg', '/home/pi/Desktop/images/01012026/22/39/image_01012026_22_39_45_9582.jpg', '/home/pi/Desktop/images/01012026/22/40/image_01012026_22_40_15_10057.jpg', '/home/pi/Desktop/images/01012026/22/40/image_01012026_22_40_25_10651.jpg', '/home/pi/Desktop/images/01012026/22/41/image_01012026_22_41_15_10033.jpg', '/home/pi/Desktop/images/01012026/22/41/image_01012026_22_41_25_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/39/image_01012026_22_39_35_10580.jpg
/home/pi/Desktop/images/01012026/22/39/image_01012026_22_39_45_9582.jpg
/home/pi/Desktop/images/01012026/22/40/image_01012026_22_40_15_10057.jpg
/home/pi/Desktop/images/01012026/22/40/image_01012026_22_40_25_10651.jpg
/home/pi/Desktop/images/01012026/22/41/image_01012026_22_41_15_10033.jpg
/home/pi/Desktop/images/01012026/22/41/image_01012026_22_41_25_9789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402083884","1402083878","1402083881","1402083875","1402083873","1402083879"],"photo_ids_order":["1402083873","1402083875","1402083878","1402083879","1402083881","1402083884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/75178aecaaaf9f4095cf4a15dc17593d.jpg","text":"TemporaryFile(/tmp/multipartBody483951787946135454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306202884,"filename":"image_01012026_22_41_25_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21ac7b280b44076da5cdc6044daf3761.jpg","text":"TemporaryFile(/tmp/multipartBody6404684940807959584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306202884,"filename":"image_01012026_22_40_15_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4e81c48b333c1f7dad9a300f0d01ae27.jpg","text":"TemporaryFile(/tmp/multipartBody8261025516093595374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306202884,"filename":"image_01012026_22_41_15_10033.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3cc800f302590b29df52b338219d3321.jpg","text":"TemporaryFile(/tmp/multipartBody8146021534429339877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306202884,"filename":"image_01012026_22_39_45_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a6718b5e69a965db028af1bf3f1ab042.jpg","text":"TemporaryFile(/tmp/multipartBody8263576353073811497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306202884,"filename":"image_01012026_22_39_35_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9d7ec83bb71d95764917912ec3598649.jpg","text":"TemporaryFile(/tmp/multipartBody4393704084543363151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306202884,"filename":"image_01012026_22_40_25_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402083878","file1":"1402083875","file0":"1402083873","file4":"1402083881","file5":"1402083884","file3":"1402083879"},"map_files_photo_id_array":[{"photo_id":"1402083884","filename":"file5"},{"photo_id":"1402083878","filename":"file2"},{"photo_id":"1402083881","filename":"file4"},{"photo_id":"1402083875","filename":"file1"},{"photo_id":"1402083873","filename":"file0"},{"photo_id":"1402083879","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402083884":["hashtag1","hashtag2"]},{"1402083878":["hashtag1","hashtag2"]},{"1402083881":["hashtag1","hashtag2"]},{"1402083875":["hashtag1","hashtag2"]},{"1402083873":["hashtag1","hashtag2"]},{"1402083879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402083884, 1402083878, 1402083881, 1402083875, 1402083873, 1402083879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78219819068909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:23:03.263836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/41/image_01012026_22_41_35_9626.jpg', '/home/pi/Desktop/images/01012026/22/41/image_01012026_22_41_45_10635.jpg', '/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_16_9771.jpg', '/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_25_9788.jpg', '/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_35_9627.jpg', '/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_46_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/41/image_01012026_22_41_35_9626.jpg
/home/pi/Desktop/images/01012026/22/41/image_01012026_22_41_45_10635.jpg
/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_16_9771.jpg
/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_25_9788.jpg
/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_35_9627.jpg
/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_46_10713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402084199","1402084124","1402084081","1402084054","1402084162","1402084018"],"photo_ids_order":["1402084018","1402084054","1402084081","1402084124","1402084162","1402084199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2a3f9a96596ec26607ecf8d07b27ddad.jpg","text":"TemporaryFile(/tmp/multipartBody8836698173473402078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306243909,"filename":"image_01012026_22_42_46_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/626d7985e74bd5a7705d782fca01644e.jpg","text":"TemporaryFile(/tmp/multipartBody7357236451236063635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306243909,"filename":"image_01012026_22_42_25_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/60f1e861214054a94c7e1b5ae4a8faeb.jpg","text":"TemporaryFile(/tmp/multipartBody217941541368170278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306243909,"filename":"image_01012026_22_42_16_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3af88385f3f763977d6b03b5bd634c5.jpg","text":"TemporaryFile(/tmp/multipartBody4859381320895172390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306243909,"filename":"image_01012026_22_41_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0d4e0e7c93d85e5cee85c665bcdfac44.jpg","text":"TemporaryFile(/tmp/multipartBody5514588919481936444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306243909,"filename":"image_01012026_22_42_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2c4a8ab0b6e15fad68c538714ea6b22.jpg","text":"TemporaryFile(/tmp/multipartBody3238144646377934322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306243909,"filename":"image_01012026_22_41_35_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402084081","file1":"1402084054","file0":"1402084018","file4":"1402084162","file5":"1402084199","file3":"1402084124"},"map_files_photo_id_array":[{"photo_id":"1402084199","filename":"file5"},{"photo_id":"1402084081","filename":"file2"},{"photo_id":"1402084162","filename":"file4"},{"photo_id":"1402084054","filename":"file1"},{"photo_id":"1402084018","filename":"file0"},{"photo_id":"1402084124","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402084199":["hashtag1","hashtag2"]},{"1402084124":["hashtag1","hashtag2"]},{"1402084081":["hashtag1","hashtag2"]},{"1402084054":["hashtag1","hashtag2"]},{"1402084162":["hashtag1","hashtag2"]},{"1402084018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402084199, 1402084124, 1402084081, 1402084054, 1402084162, 1402084018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05245590209961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:23:42.526091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_52_1595.jpg', '/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_58_6713.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_02_1903.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_14_1642.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_19_1540.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_20_1694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_52_1595.jpg
/home/pi/Desktop/images/04112025/20/17/image_04112025_20_17_58_6713.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_02_1903.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_14_1642.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_19_1540.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_20_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":["1402084631","1402084564","1402084479","1402084527","1402084602","1402084404"],"photo_ids_order":["1402084404","1402084479","1402084527","1402084564","1402084602","1402084631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4cdefa11cb5ddf5f3ae4061a3b8f5de.jpg","text":"TemporaryFile(/tmp/multipartBody8564614296474681829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306284428,"filename":"image_04112025_20_18_20_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c820a14a6ee708751cb561139f3ea2d7.jpg","text":"TemporaryFile(/tmp/multipartBody9167092238393845521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306284428,"filename":"image_04112025_20_18_14_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46c02c449a9463c5b4c6787f4bf0b687.jpg","text":"TemporaryFile(/tmp/multipartBody8716358108793912406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306284428,"filename":"image_04112025_20_17_58_6713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15e4cb283a36237673f3341644951c50.jpg","text":"TemporaryFile(/tmp/multipartBody7600287838728298914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306284428,"filename":"image_04112025_20_18_02_1903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3db1262cc201758edb63320ef79cfd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5255420394884958008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306284428,"filename":"image_04112025_20_18_19_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4bf0346c984c9b59ca49d79e258b769a.jpg","text":"TemporaryFile(/tmp/multipartBody3613136838645801557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306284428,"filename":"image_04112025_20_17_52_1595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402084527","file1":"1402084479","file0":"1402084404","file4":"1402084602","file5":"1402084631","file3":"1402084564"},"map_files_photo_id_array":[{"photo_id":"1402084631","filename":"file5"},{"photo_id":"1402084527","filename":"file2"},{"photo_id":"1402084602","filename":"file4"},{"photo_id":"1402084479","filename":"file1"},{"photo_id":"1402084404","filename":"file0"},{"photo_id":"1402084564","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402084631":["hashtag1","hashtag2"]},{"1402084564":["hashtag1","hashtag2"]},{"1402084479":["hashtag1","hashtag2"]},{"1402084527":["hashtag1","hashtag2"]},{"1402084602":["hashtag1","hashtag2"]},{"1402084404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402084631, 1402084564, 1402084479, 1402084527, 1402084602, 1402084404)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.043177127838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:24:32.945172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_22_1680.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_24_1938.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_25_1616.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_27_1653.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_29_1609.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_32_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_22_1680.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_24_1938.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_25_1616.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_27_1653.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_29_1609.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_32_1716.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: 7.298883676528931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:24:42.614291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_22_1680.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_24_1938.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_25_1616.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_27_1653.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_29_1609.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_32_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_22_1680.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_24_1938.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_25_1616.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_27_1653.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_29_1609.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_32_1716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402084937","1402085191","1402085092","1402085020","1402085135","1402084973"],"photo_ids_order":["1402084937","1402084973","1402085020","1402085092","1402085135","1402085191"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3d932d7a1666641435153bb6bcee5fd4.jpg","text":"TemporaryFile(/tmp/multipartBody8672467586313256741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306344274,"filename":"image_04112025_20_18_22_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8012e2b745371ce97c34e18dcd68f87.jpg","text":"TemporaryFile(/tmp/multipartBody9133022753849269329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306344274,"filename":"image_04112025_20_18_32_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/426ae51eee0610c94ab95b503c63eeef.jpg","text":"TemporaryFile(/tmp/multipartBody9086758275071790677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306344274,"filename":"image_04112025_20_18_27_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f3161a08b31e9674a92102bfcce4e1d1.jpg","text":"TemporaryFile(/tmp/multipartBody2036567738937975084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306344274,"filename":"image_04112025_20_18_25_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b557f832c4b843dacd375f10e051d323.jpg","text":"TemporaryFile(/tmp/multipartBody187935963760639207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306344274,"filename":"image_04112025_20_18_29_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3700e4f8897670f9a00ead1433d22fb.jpg","text":"TemporaryFile(/tmp/multipartBody3207024141779073276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306344274,"filename":"image_04112025_20_18_24_1938.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402085020","file1":"1402084973","file0":"1402084937","file4":"1402085135","file5":"1402085191","file3":"1402085092"},"map_files_photo_id_array":[{"photo_id":"1402085191","filename":"file5"},{"photo_id":"1402085020","filename":"file2"},{"photo_id":"1402085135","filename":"file4"},{"photo_id":"1402084973","filename":"file1"},{"photo_id":"1402084937","filename":"file0"},{"photo_id":"1402085092","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402084937":["hashtag1","hashtag2"]},{"1402085191":["hashtag1","hashtag2"]},{"1402085092":["hashtag1","hashtag2"]},{"1402085020":["hashtag1","hashtag2"]},{"1402085135":["hashtag1","hashtag2"]},{"1402084973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402084937, 1402085191, 1402085092, 1402085020, 1402085135, 1402084973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.752888679504395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:25:21.870486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_55_9546.jpg', '/home/pi/Desktop/images/01012026/22/42/image_01012026_22_43_05_9673.jpg', '/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_16_10837.jpg', '/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_25_9565.jpg', '/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_35_9692.jpg', '/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_46_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/42/image_01012026_22_42_55_9546.jpg
/home/pi/Desktop/images/01012026/22/42/image_01012026_22_43_05_9673.jpg
/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_16_10837.jpg
/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_25_9565.jpg
/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_35_9692.jpg
/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_46_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402085312","1402085275","1402085341","1402085349","1402085277","1402085279"],"photo_ids_order":["1402085275","1402085277","1402085279","1402085312","1402085341","1402085349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c3638e3a49563cf88976e0c023ed1713.jpg","text":"TemporaryFile(/tmp/multipartBody2294988158007561033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306382431,"filename":"image_01012026_22_43_25_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/667adff084a72f3125c42c392b43f2e6.jpg","text":"TemporaryFile(/tmp/multipartBody8111043533922344102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306382431,"filename":"image_01012026_22_42_55_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b0cc8353497ecae56011eaa0ed9c413b.jpg","text":"TemporaryFile(/tmp/multipartBody688305656831412359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306382431,"filename":"image_01012026_22_43_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2f05de003ee2b043cc33bc75e5a60da9.jpg","text":"TemporaryFile(/tmp/multipartBody1016149847078517018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306382431,"filename":"image_01012026_22_43_46_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/66df5f31e432dd59383ad8e4763c2b51.jpg","text":"TemporaryFile(/tmp/multipartBody4907376765585710295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306382431,"filename":"image_01012026_22_43_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/618918e36444813a6798f9ce4e74ef11.jpg","text":"TemporaryFile(/tmp/multipartBody2264799747740728357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306382431,"filename":"image_01012026_22_43_16_10837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402085279","file1":"1402085277","file0":"1402085275","file4":"1402085341","file5":"1402085349","file3":"1402085312"},"map_files_photo_id_array":[{"photo_id":"1402085349","filename":"file5"},{"photo_id":"1402085279","filename":"file2"},{"photo_id":"1402085341","filename":"file4"},{"photo_id":"1402085277","filename":"file1"},{"photo_id":"1402085275","filename":"file0"},{"photo_id":"1402085312","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402085312":["hashtag1","hashtag2"]},{"1402085275":["hashtag1","hashtag2"]},{"1402085341":["hashtag1","hashtag2"]},{"1402085349":["hashtag1","hashtag2"]},{"1402085277":["hashtag1","hashtag2"]},{"1402085279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402085312, 1402085275, 1402085341, 1402085349, 1402085277, 1402085279)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.95104789733887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:26:12.967118
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 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 15
2026-01-01 23:26:22.000063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_55_9649.jpg', '/home/pi/Desktop/images/01012026/22/43/image_01012026_22_44_05_9704.jpg', '/home/pi/Desktop/images/01012026/22/44/image_01012026_22_44_16_10591.jpg', '/home/pi/Desktop/images/01012026/22/44/image_01012026_22_44_35_9685.jpg', '/home/pi/Desktop/images/01012026/22/44/image_01012026_22_44_55_9823.jpg', '/home/pi/Desktop/images/01012026/22/45/image_01012026_22_45_14_10057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/43/image_01012026_22_43_55_9649.jpg
/home/pi/Desktop/images/01012026/22/43/image_01012026_22_44_05_9704.jpg
/home/pi/Desktop/images/01012026/22/44/image_01012026_22_44_16_10591.jpg
/home/pi/Desktop/images/01012026/22/44/image_01012026_22_44_35_9685.jpg
/home/pi/Desktop/images/01012026/22/44/image_01012026_22_44_55_9823.jpg
/home/pi/Desktop/images/01012026/22/45/image_01012026_22_45_14_10057.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402085380","1402085565","1402085486","1402085450","1402085525","1402085414"],"photo_ids_order":["1402085380","1402085414","1402085450","1402085486","1402085525","1402085565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6625ee9b05884a8e633090f0e2e2cf22.jpg","text":"TemporaryFile(/tmp/multipartBody386573430360250607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306442561,"filename":"image_01012026_22_43_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/802d33a5293972c6ac9f07e7500d7c55.jpg","text":"TemporaryFile(/tmp/multipartBody3512239942603689405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306442561,"filename":"image_01012026_22_45_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/607330f81ee6728b1f4dd350924202da.jpg","text":"TemporaryFile(/tmp/multipartBody1265962199881638619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306442561,"filename":"image_01012026_22_44_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/36137f70f3090bebdaebfc6db08e4cd7.jpg","text":"TemporaryFile(/tmp/multipartBody644758399141602997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306442561,"filename":"image_01012026_22_44_16_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/022ff3d4a695451a9e15a7164cc91967.jpg","text":"TemporaryFile(/tmp/multipartBody4043186084479861446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306442561,"filename":"image_01012026_22_44_55_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dca65052f98791a2f0b8acb73cf4af2a.jpg","text":"TemporaryFile(/tmp/multipartBody8164234681585792033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306442561,"filename":"image_01012026_22_44_05_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402085450","file1":"1402085414","file0":"1402085380","file4":"1402085525","file5":"1402085565","file3":"1402085486"},"map_files_photo_id_array":[{"photo_id":"1402085565","filename":"file5"},{"photo_id":"1402085450","filename":"file2"},{"photo_id":"1402085525","filename":"file4"},{"photo_id":"1402085414","filename":"file1"},{"photo_id":"1402085380","filename":"file0"},{"photo_id":"1402085486","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402085380":["hashtag1","hashtag2"]},{"1402085565":["hashtag1","hashtag2"]},{"1402085486":["hashtag1","hashtag2"]},{"1402085450":["hashtag1","hashtag2"]},{"1402085525":["hashtag1","hashtag2"]},{"1402085414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402085380, 1402085565, 1402085486, 1402085450, 1402085525, 1402085414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52849841117859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:27:02.865457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/45/image_01012026_22_45_44_9732.jpg', '/home/pi/Desktop/images/01012026/22/45/image_01012026_22_45_55_10580.jpg', '/home/pi/Desktop/images/01012026/22/45/image_01012026_22_46_04_9787.jpg', '/home/pi/Desktop/images/01012026/22/46/image_01012026_22_46_24_9856.jpg', '/home/pi/Desktop/images/01012026/22/46/image_01012026_22_46_54_9544.jpg', '/home/pi/Desktop/images/01012026/22/46/image_01012026_22_47_05_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/45/image_01012026_22_45_44_9732.jpg
/home/pi/Desktop/images/01012026/22/45/image_01012026_22_45_55_10580.jpg
/home/pi/Desktop/images/01012026/22/45/image_01012026_22_46_04_9787.jpg
/home/pi/Desktop/images/01012026/22/46/image_01012026_22_46_24_9856.jpg
/home/pi/Desktop/images/01012026/22/46/image_01012026_22_46_54_9544.jpg
/home/pi/Desktop/images/01012026/22/46/image_01012026_22_47_05_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":["1402085779","1402085707","1402085850","1402085814","1402085888","1402085744"],"photo_ids_order":["1402085707","1402085744","1402085779","1402085814","1402085850","1402085888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/df659bc3ab950fbe6b68b31c65791309.jpg","text":"TemporaryFile(/tmp/multipartBody3783618860831050797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306483542,"filename":"image_01012026_22_46_04_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e8dbecc3205f8e25d1712320ccb3eb2.jpg","text":"TemporaryFile(/tmp/multipartBody6894294004963056093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306483542,"filename":"image_01012026_22_45_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3039265515ccda79882953dc3603076.jpg","text":"TemporaryFile(/tmp/multipartBody8630245900536564037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306483542,"filename":"image_01012026_22_46_54_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5ad298c192e257fda9b7e5f63842ca22.jpg","text":"TemporaryFile(/tmp/multipartBody1063184361433396083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306483542,"filename":"image_01012026_22_46_24_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9803239316c792f9379fa96b534fe27f.jpg","text":"TemporaryFile(/tmp/multipartBody2424685428050161261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306483542,"filename":"image_01012026_22_47_05_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b8efecbf81dd8bfc83f282fad8584699.jpg","text":"TemporaryFile(/tmp/multipartBody6481213148589907973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306483542,"filename":"image_01012026_22_45_55_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402085779","file1":"1402085744","file0":"1402085707","file4":"1402085850","file5":"1402085888","file3":"1402085814"},"map_files_photo_id_array":[{"photo_id":"1402085888","filename":"file5"},{"photo_id":"1402085779","filename":"file2"},{"photo_id":"1402085850","filename":"file4"},{"photo_id":"1402085744","filename":"file1"},{"photo_id":"1402085707","filename":"file0"},{"photo_id":"1402085814","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402085779":["hashtag1","hashtag2"]},{"1402085707":["hashtag1","hashtag2"]},{"1402085850":["hashtag1","hashtag2"]},{"1402085814":["hashtag1","hashtag2"]},{"1402085888":["hashtag1","hashtag2"]},{"1402085744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402085779, 1402085707, 1402085850, 1402085814, 1402085888, 1402085744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09707856178284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:27:42.310417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_34_1686.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_38_4318.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_40_1717.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_42_1730.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_43_1706.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_47_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_34_1686.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_38_4318.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_40_1717.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_42_1730.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_43_1706.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_47_1730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402085988","1402085946","1402086003","1402085913","1402086020","1402085981"],"photo_ids_order":["1402085913","1402085946","1402085981","1402085988","1402086003","1402086020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4e33a15f654ce3601a659d17341fd61.jpg","text":"TemporaryFile(/tmp/multipartBody99006637482088139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306524216,"filename":"image_04112025_20_18_42_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9da05aba0621ab75abb282dc53944c91.jpg","text":"TemporaryFile(/tmp/multipartBody519282113141381632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306524216,"filename":"image_04112025_20_18_38_4318.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/91b65a890f0a3ebb597cb239aaf10fe6.jpg","text":"TemporaryFile(/tmp/multipartBody8872095602326958821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306524216,"filename":"image_04112025_20_18_43_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ee09bd8557797690d164cb806b39394f.jpg","text":"TemporaryFile(/tmp/multipartBody1581792562929536669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306524216,"filename":"image_04112025_20_18_34_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/70f8eee0aa252a097320793f496947c6.jpg","text":"TemporaryFile(/tmp/multipartBody5484480581726348787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306524216,"filename":"image_04112025_20_18_47_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/30eabc16d4640bbab3e91a9c1381ea1f.jpg","text":"TemporaryFile(/tmp/multipartBody3969966245302533078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306524216,"filename":"image_04112025_20_18_40_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402085981","file1":"1402085946","file0":"1402085913","file4":"1402086003","file5":"1402086020","file3":"1402085988"},"map_files_photo_id_array":[{"photo_id":"1402086020","filename":"file5"},{"photo_id":"1402085981","filename":"file2"},{"photo_id":"1402086003","filename":"file4"},{"photo_id":"1402085946","filename":"file1"},{"photo_id":"1402085913","filename":"file0"},{"photo_id":"1402085988","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402085988":["hashtag1","hashtag2"]},{"1402085946":["hashtag1","hashtag2"]},{"1402086003":["hashtag1","hashtag2"]},{"1402085913":["hashtag1","hashtag2"]},{"1402086020":["hashtag1","hashtag2"]},{"1402085981":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402085988, 1402085946, 1402086003, 1402085913, 1402086020, 1402085981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88005828857422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:28:22.474974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/47/image_01012026_22_47_24_9568.jpg', '/home/pi/Desktop/images/01012026/22/47/image_01012026_22_47_45_9678.jpg', '/home/pi/Desktop/images/01012026/22/47/image_01012026_22_47_54_9537.jpg', '/home/pi/Desktop/images/01012026/22/47/image_01012026_22_48_05_10738.jpg', '/home/pi/Desktop/images/01012026/22/48/image_01012026_22_48_14_9691.jpg', '/home/pi/Desktop/images/01012026/22/48/image_01012026_22_48_24_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/47/image_01012026_22_47_24_9568.jpg
/home/pi/Desktop/images/01012026/22/47/image_01012026_22_47_45_9678.jpg
/home/pi/Desktop/images/01012026/22/47/image_01012026_22_47_54_9537.jpg
/home/pi/Desktop/images/01012026/22/47/image_01012026_22_48_05_10738.jpg
/home/pi/Desktop/images/01012026/22/48/image_01012026_22_48_14_9691.jpg
/home/pi/Desktop/images/01012026/22/48/image_01012026_22_48_24_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":["1402086031","1402086025","1402086033","1402086027","1402086029","1402086023"],"photo_ids_order":["1402086023","1402086025","1402086027","1402086029","1402086031","1402086033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56c66058a6436ed5cabea6cebff2d876.jpg","text":"TemporaryFile(/tmp/multipartBody646373831029620233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306563102,"filename":"image_01012026_22_48_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/493db5349ce2a6efe77017bb99816d56.jpg","text":"TemporaryFile(/tmp/multipartBody7071236493097649317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306563102,"filename":"image_01012026_22_47_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a982f960da922682e0a809c26c7015c7.jpg","text":"TemporaryFile(/tmp/multipartBody547830836298671768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306563102,"filename":"image_01012026_22_48_24_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dfe664ff74a422bb950b225a335cf8a2.jpg","text":"TemporaryFile(/tmp/multipartBody6237166007332283193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306563102,"filename":"image_01012026_22_47_54_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d2b136a04d53ea40b73241c95bc2e07.jpg","text":"TemporaryFile(/tmp/multipartBody5236057699187490520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306563102,"filename":"image_01012026_22_48_05_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f339e1edc5f9fa88c0f866857ad26451.jpg","text":"TemporaryFile(/tmp/multipartBody2387188609622434106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306563102,"filename":"image_01012026_22_47_24_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086027","file1":"1402086025","file0":"1402086023","file4":"1402086031","file5":"1402086033","file3":"1402086029"},"map_files_photo_id_array":[{"photo_id":"1402086033","filename":"file5"},{"photo_id":"1402086027","filename":"file2"},{"photo_id":"1402086031","filename":"file4"},{"photo_id":"1402086025","filename":"file1"},{"photo_id":"1402086023","filename":"file0"},{"photo_id":"1402086029","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086031":["hashtag1","hashtag2"]},{"1402086025":["hashtag1","hashtag2"]},{"1402086033":["hashtag1","hashtag2"]},{"1402086027":["hashtag1","hashtag2"]},{"1402086029":["hashtag1","hashtag2"]},{"1402086023":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086031, 1402086025, 1402086033, 1402086027, 1402086029, 1402086023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.753952503204346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:29:03.881514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/48/image_01012026_22_48_35_10671.jpg', '/home/pi/Desktop/images/01012026/22/48/image_01012026_22_48_54_9648.jpg', '/home/pi/Desktop/images/01012026/22/48/image_01012026_22_49_05_10577.jpg', '/home/pi/Desktop/images/01012026/22/49/image_01012026_22_49_14_9681.jpg', '/home/pi/Desktop/images/01012026/22/49/image_01012026_22_49_25_10589.jpg', '/home/pi/Desktop/images/01012026/22/49/image_01012026_22_49_35_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/48/image_01012026_22_48_35_10671.jpg
/home/pi/Desktop/images/01012026/22/48/image_01012026_22_48_54_9648.jpg
/home/pi/Desktop/images/01012026/22/48/image_01012026_22_49_05_10577.jpg
/home/pi/Desktop/images/01012026/22/49/image_01012026_22_49_14_9681.jpg
/home/pi/Desktop/images/01012026/22/49/image_01012026_22_49_25_10589.jpg
/home/pi/Desktop/images/01012026/22/49/image_01012026_22_49_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":["1402086040","1402086037","1402086042","1402086036","1402086045","1402086039"],"photo_ids_order":["1402086036","1402086037","1402086039","1402086040","1402086042","1402086045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61ab8c2d8fe94934a73ae91c47bee800.jpg","text":"TemporaryFile(/tmp/multipartBody2193716727511297266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306604581,"filename":"image_01012026_22_49_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b85f9d778c7a3cf8e2f1bd9c1ecbfeab.jpg","text":"TemporaryFile(/tmp/multipartBody2409858635589924052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306604581,"filename":"image_01012026_22_48_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/64cfbf385bee3433ea71a1033e6533bd.jpg","text":"TemporaryFile(/tmp/multipartBody8290290933723723569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306604581,"filename":"image_01012026_22_49_25_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54e238abb2c5b4facaf7bd6ccee0787e.jpg","text":"TemporaryFile(/tmp/multipartBody1428242707602096223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306604581,"filename":"image_01012026_22_48_35_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8861581e544b16668145b9f4142ed342.jpg","text":"TemporaryFile(/tmp/multipartBody7436967679128144366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306604581,"filename":"image_01012026_22_49_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f08bbb61be8d3652d3c3a627d5ffcb64.jpg","text":"TemporaryFile(/tmp/multipartBody6268915643524996768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306604581,"filename":"image_01012026_22_49_05_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086039","file1":"1402086037","file0":"1402086036","file4":"1402086042","file5":"1402086045","file3":"1402086040"},"map_files_photo_id_array":[{"photo_id":"1402086045","filename":"file5"},{"photo_id":"1402086039","filename":"file2"},{"photo_id":"1402086042","filename":"file4"},{"photo_id":"1402086037","filename":"file1"},{"photo_id":"1402086036","filename":"file0"},{"photo_id":"1402086040","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086040":["hashtag1","hashtag2"]},{"1402086037":["hashtag1","hashtag2"]},{"1402086042":["hashtag1","hashtag2"]},{"1402086036":["hashtag1","hashtag2"]},{"1402086045":["hashtag1","hashtag2"]},{"1402086039":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086040, 1402086037, 1402086042, 1402086036, 1402086045, 1402086039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16114807128906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:29:42.673850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_54_4035.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_57_3080.jpg', '/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_59_1675.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_19_18645.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_28_8979.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_30_1700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_54_4035.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_57_3080.jpg
/home/pi/Desktop/images/04112025/20/18/image_04112025_20_18_59_1675.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_19_18645.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_28_8979.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_30_1700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086052","1402086055","1402086054","1402086057","1402086053","1402086056"],"photo_ids_order":["1402086052","1402086053","1402086054","1402086055","1402086056","1402086057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/995216af05930fa087df5589c222dc14.jpg","text":"TemporaryFile(/tmp/multipartBody5498967008289599471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306644584,"filename":"image_04112025_20_18_54_4035.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3ad63d8c04e77d13802fd5492d0ace5d.jpg","text":"TemporaryFile(/tmp/multipartBody8353284181140561978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306644584,"filename":"image_04112025_20_19_19_18645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e0a16231a5f41e1b260f35eba28714e2.jpg","text":"TemporaryFile(/tmp/multipartBody3841795258382446667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306644584,"filename":"image_04112025_20_18_59_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81bf6b88c6867c37eb78be54ba001dea.jpg","text":"TemporaryFile(/tmp/multipartBody5610473726739040102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306644584,"filename":"image_04112025_20_19_30_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9744f5ed065a5200568d39bbc84f734e.jpg","text":"TemporaryFile(/tmp/multipartBody4602842880560188961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306644584,"filename":"image_04112025_20_18_57_3080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/29309a49f3774d1122ae1a12cec459c1.jpg","text":"TemporaryFile(/tmp/multipartBody7838936321890270377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306644584,"filename":"image_04112025_20_19_28_8979.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086054","file1":"1402086053","file0":"1402086052","file4":"1402086056","file5":"1402086057","file3":"1402086055"},"map_files_photo_id_array":[{"photo_id":"1402086057","filename":"file5"},{"photo_id":"1402086054","filename":"file2"},{"photo_id":"1402086056","filename":"file4"},{"photo_id":"1402086053","filename":"file1"},{"photo_id":"1402086052","filename":"file0"},{"photo_id":"1402086055","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086052":["hashtag1","hashtag2"]},{"1402086055":["hashtag1","hashtag2"]},{"1402086054":["hashtag1","hashtag2"]},{"1402086057":["hashtag1","hashtag2"]},{"1402086053":["hashtag1","hashtag2"]},{"1402086056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086052, 1402086055, 1402086054, 1402086057, 1402086053, 1402086056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34692621231079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:30:22.826727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/49/image_01012026_22_49_55_10692.jpg', '/home/pi/Desktop/images/01012026/22/50/image_01012026_22_50_35_9612.jpg', '/home/pi/Desktop/images/01012026/22/50/image_01012026_22_50_45_9672.jpg', '/home/pi/Desktop/images/01012026/22/50/image_01012026_22_50_56_10781.jpg', '/home/pi/Desktop/images/01012026/22/50/image_01012026_22_51_05_9629.jpg', '/home/pi/Desktop/images/01012026/22/51/image_01012026_22_51_26_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/49/image_01012026_22_49_55_10692.jpg
/home/pi/Desktop/images/01012026/22/50/image_01012026_22_50_35_9612.jpg
/home/pi/Desktop/images/01012026/22/50/image_01012026_22_50_45_9672.jpg
/home/pi/Desktop/images/01012026/22/50/image_01012026_22_50_56_10781.jpg
/home/pi/Desktop/images/01012026/22/50/image_01012026_22_51_05_9629.jpg
/home/pi/Desktop/images/01012026/22/51/image_01012026_22_51_26_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":["1402086070","1402086064","1402086058","1402086066","1402086060","1402086062"],"photo_ids_order":["1402086058","1402086060","1402086062","1402086064","1402086066","1402086070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de17fa80dedb849da73f70473856a994.jpg","text":"TemporaryFile(/tmp/multipartBody4474611019619099195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306683461,"filename":"image_01012026_22_51_26_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/172f7b5a7e499e23e751ff681a52e1cc.jpg","text":"TemporaryFile(/tmp/multipartBody3177759355990042682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306683461,"filename":"image_01012026_22_50_56_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0adeab0f09ac00e1f99c2f87b6610bdc.jpg","text":"TemporaryFile(/tmp/multipartBody669770700903019036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306683461,"filename":"image_01012026_22_49_55_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa9996e671250f76d5478128151228b6.jpg","text":"TemporaryFile(/tmp/multipartBody2452141005567460636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306683461,"filename":"image_01012026_22_51_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b366d9f58f4aab50109a3da5b835cd7d.jpg","text":"TemporaryFile(/tmp/multipartBody5781130294728329410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306683461,"filename":"image_01012026_22_50_35_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/de2baa55642945cd43cb78d219029fe9.jpg","text":"TemporaryFile(/tmp/multipartBody6048170574912319361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306683461,"filename":"image_01012026_22_50_45_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086062","file1":"1402086060","file0":"1402086058","file4":"1402086066","file5":"1402086070","file3":"1402086064"},"map_files_photo_id_array":[{"photo_id":"1402086070","filename":"file5"},{"photo_id":"1402086062","filename":"file2"},{"photo_id":"1402086066","filename":"file4"},{"photo_id":"1402086060","filename":"file1"},{"photo_id":"1402086058","filename":"file0"},{"photo_id":"1402086064","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086070":["hashtag1","hashtag2"]},{"1402086064":["hashtag1","hashtag2"]},{"1402086058":["hashtag1","hashtag2"]},{"1402086066":["hashtag1","hashtag2"]},{"1402086060":["hashtag1","hashtag2"]},{"1402086062":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086070, 1402086064, 1402086058, 1402086066, 1402086060, 1402086062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45869016647339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:31:02.740635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/51/image_01012026_22_51_35_9689.jpg', '/home/pi/Desktop/images/01012026/22/51/image_01012026_22_51_55_9640.jpg', '/home/pi/Desktop/images/01012026/22/51/image_01012026_22_52_05_10722.jpg', '/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_15_9642.jpg', '/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_26_10617.jpg', '/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_35_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/51/image_01012026_22_51_35_9689.jpg
/home/pi/Desktop/images/01012026/22/51/image_01012026_22_51_55_9640.jpg
/home/pi/Desktop/images/01012026/22/51/image_01012026_22_52_05_10722.jpg
/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_15_9642.jpg
/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_26_10617.jpg
/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_35_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":["1402086085","1402086079","1402086081","1402086078","1402086082","1402086076"],"photo_ids_order":["1402086076","1402086078","1402086079","1402086081","1402086082","1402086085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8ec4ee42e41ad55542145715b395eda6.jpg","text":"TemporaryFile(/tmp/multipartBody2186397865640666742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306723504,"filename":"image_01012026_22_52_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a0a4044239c72cdb12738d3bf683e590.jpg","text":"TemporaryFile(/tmp/multipartBody1019141667715816584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306723504,"filename":"image_01012026_22_52_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8c1e6e4579911a07bd94c6390f407573.jpg","text":"TemporaryFile(/tmp/multipartBody754184680749858888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306723504,"filename":"image_01012026_22_52_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c8e45ce84d6b273b682aa189a2943742.jpg","text":"TemporaryFile(/tmp/multipartBody6311854133722108928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306723504,"filename":"image_01012026_22_51_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81c4bcf91bd08cfcf48b014583c402eb.jpg","text":"TemporaryFile(/tmp/multipartBody7249361095532104756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306723504,"filename":"image_01012026_22_52_26_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0da0422866ce576a188b2029b28d2069.jpg","text":"TemporaryFile(/tmp/multipartBody4716241807773789037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306723504,"filename":"image_01012026_22_51_35_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086079","file1":"1402086078","file0":"1402086076","file4":"1402086082","file5":"1402086085","file3":"1402086081"},"map_files_photo_id_array":[{"photo_id":"1402086085","filename":"file5"},{"photo_id":"1402086079","filename":"file2"},{"photo_id":"1402086082","filename":"file4"},{"photo_id":"1402086078","filename":"file1"},{"photo_id":"1402086076","filename":"file0"},{"photo_id":"1402086081","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086085":["hashtag1","hashtag2"]},{"1402086079":["hashtag1","hashtag2"]},{"1402086081":["hashtag1","hashtag2"]},{"1402086078":["hashtag1","hashtag2"]},{"1402086082":["hashtag1","hashtag2"]},{"1402086076":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086085, 1402086079, 1402086081, 1402086078, 1402086082, 1402086076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15420579910278 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:31:42.093632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_32_1790.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_43_11351.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_54_1759.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_56_2282.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_58_1623.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_20_00_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_32_1790.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_43_11351.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_54_1759.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_56_2282.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_58_1623.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_20_00_1670.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.8132200241088867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:32:02.734398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_45_9652.jpg', '/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_55_9718.jpg', '/home/pi/Desktop/images/01012026/22/52/image_01012026_22_53_05_10638.jpg', '/home/pi/Desktop/images/01012026/22/53/image_01012026_22_53_15_9794.jpg', '/home/pi/Desktop/images/01012026/22/53/image_01012026_22_53_45_9714.jpg', '/home/pi/Desktop/images/01012026/22/53/image_01012026_22_53_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_45_9652.jpg
/home/pi/Desktop/images/01012026/22/52/image_01012026_22_52_55_9718.jpg
/home/pi/Desktop/images/01012026/22/52/image_01012026_22_53_05_10638.jpg
/home/pi/Desktop/images/01012026/22/53/image_01012026_22_53_15_9794.jpg
/home/pi/Desktop/images/01012026/22/53/image_01012026_22_53_45_9714.jpg
/home/pi/Desktop/images/01012026/22/53/image_01012026_22_53_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":["1402086100","1402086099","1402086103","1402086095","1402086101","1402086097"],"photo_ids_order":["1402086095","1402086097","1402086099","1402086100","1402086101","1402086103"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/737e1e5a8be9f13153cf4a048bbcd7f3.jpg","text":"TemporaryFile(/tmp/multipartBody4930777407942767772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306783352,"filename":"image_01012026_22_53_15_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ed221419a31c761c34cd2bc66888f13.jpg","text":"TemporaryFile(/tmp/multipartBody8242088676483273095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306783352,"filename":"image_01012026_22_53_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0c8de4532af79d6a4ffb8a7e4331466.jpg","text":"TemporaryFile(/tmp/multipartBody8963346585105199151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306783352,"filename":"image_01012026_22_53_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b82aad771ec1343e9f43d77936a04883.jpg","text":"TemporaryFile(/tmp/multipartBody5390461393510860496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306783352,"filename":"image_01012026_22_52_45_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/90bf83176e326fd03dae86b9be8c918e.jpg","text":"TemporaryFile(/tmp/multipartBody2542821469767289741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306783352,"filename":"image_01012026_22_53_45_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/948df747ebb8f1eece92ec86e3092f36.jpg","text":"TemporaryFile(/tmp/multipartBody8617752784177907726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306783352,"filename":"image_01012026_22_52_55_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086099","file1":"1402086097","file0":"1402086095","file4":"1402086101","file5":"1402086103","file3":"1402086100"},"map_files_photo_id_array":[{"photo_id":"1402086103","filename":"file5"},{"photo_id":"1402086099","filename":"file2"},{"photo_id":"1402086101","filename":"file4"},{"photo_id":"1402086097","filename":"file1"},{"photo_id":"1402086095","filename":"file0"},{"photo_id":"1402086100","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086100":["hashtag1","hashtag2"]},{"1402086099":["hashtag1","hashtag2"]},{"1402086103":["hashtag1","hashtag2"]},{"1402086095":["hashtag1","hashtag2"]},{"1402086101":["hashtag1","hashtag2"]},{"1402086097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086100, 1402086099, 1402086103, 1402086095, 1402086101, 1402086097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94695472717285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:32:42.297017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_32_1790.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_43_11351.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_54_1759.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_56_2282.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_58_1623.jpg', '/home/pi/Desktop/images/04112025/20/19/image_04112025_20_20_00_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_32_1790.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_43_11351.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_54_1759.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_56_2282.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_19_58_1623.jpg
/home/pi/Desktop/images/04112025/20/19/image_04112025_20_20_00_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086112","1402086111","1402086114","1402086108","1402086113","1402086110"],"photo_ids_order":["1402086108","1402086110","1402086111","1402086112","1402086113","1402086114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/22b477e7b722260c5bbb42743e99a54f.jpg","text":"TemporaryFile(/tmp/multipartBody3591016133839599227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306824065,"filename":"image_04112025_20_19_56_2282.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/46e0d69649c2058fc8b3b9fcd32213b7.jpg","text":"TemporaryFile(/tmp/multipartBody5719028470260234773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306824065,"filename":"image_04112025_20_19_54_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/979fa8a846d9f338e8d8464e4d5facc8.jpg","text":"TemporaryFile(/tmp/multipartBody6936436423217649374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306824065,"filename":"image_04112025_20_20_00_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7001259c6fb86b86ecbbd40e3ecdf16.jpg","text":"TemporaryFile(/tmp/multipartBody4857518534619417495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306824065,"filename":"image_04112025_20_19_32_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a7ae1be26056b3e185556942319e9ee.jpg","text":"TemporaryFile(/tmp/multipartBody4940291362734211162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306824065,"filename":"image_04112025_20_19_58_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/41698cb357ee5602672e948f850a09e9.jpg","text":"TemporaryFile(/tmp/multipartBody5257828396784375275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306824065,"filename":"image_04112025_20_19_43_11351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086111","file1":"1402086110","file0":"1402086108","file4":"1402086113","file5":"1402086114","file3":"1402086112"},"map_files_photo_id_array":[{"photo_id":"1402086114","filename":"file5"},{"photo_id":"1402086111","filename":"file2"},{"photo_id":"1402086113","filename":"file4"},{"photo_id":"1402086110","filename":"file1"},{"photo_id":"1402086108","filename":"file0"},{"photo_id":"1402086112","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086112":["hashtag1","hashtag2"]},{"1402086111":["hashtag1","hashtag2"]},{"1402086114":["hashtag1","hashtag2"]},{"1402086108":["hashtag1","hashtag2"]},{"1402086113":["hashtag1","hashtag2"]},{"1402086110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086112, 1402086111, 1402086114, 1402086108, 1402086113, 1402086110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96358799934387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:33:22.595176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/53/image_01012026_22_54_06_10914.jpg', '/home/pi/Desktop/images/01012026/22/54/image_01012026_22_54_15_9729.jpg', '/home/pi/Desktop/images/01012026/22/54/image_01012026_22_54_45_9754.jpg', '/home/pi/Desktop/images/01012026/22/54/image_01012026_22_54_55_9598.jpg', '/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_14_10057.jpg', '/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_25_10761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/53/image_01012026_22_54_06_10914.jpg
/home/pi/Desktop/images/01012026/22/54/image_01012026_22_54_15_9729.jpg
/home/pi/Desktop/images/01012026/22/54/image_01012026_22_54_45_9754.jpg
/home/pi/Desktop/images/01012026/22/54/image_01012026_22_54_55_9598.jpg
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_14_10057.jpg
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_25_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":["1402086123","1402086117","1402086122","1402086116","1402086125","1402086119"],"photo_ids_order":["1402086116","1402086117","1402086119","1402086122","1402086123","1402086125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/715e412f75d862aa4f89554c0fb97bc9.jpg","text":"TemporaryFile(/tmp/multipartBody3872629713177162300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306863197,"filename":"image_01012026_22_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/2026/1/1/16f1980361ac63fb5ac68018219c0792.jpg","text":"TemporaryFile(/tmp/multipartBody6126592763856559060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306863197,"filename":"image_01012026_22_54_15_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e5b84233ace2deb3c0e977f15d123ad2.jpg","text":"TemporaryFile(/tmp/multipartBody5801131225893753079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306863197,"filename":"image_01012026_22_54_55_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f572244513aa3edf212f0e01a609c32f.jpg","text":"TemporaryFile(/tmp/multipartBody8880466156473502426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306863197,"filename":"image_01012026_22_54_06_10914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1fdc14b5325309798409af45c97ad2f3.jpg","text":"TemporaryFile(/tmp/multipartBody3596655449523179169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306863197,"filename":"image_01012026_22_55_25_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/aa4aec7071e2a5ea77d6ab301a16203f.jpg","text":"TemporaryFile(/tmp/multipartBody5773920494421445283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306863197,"filename":"image_01012026_22_54_45_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086119","file1":"1402086117","file0":"1402086116","file4":"1402086123","file5":"1402086125","file3":"1402086122"},"map_files_photo_id_array":[{"photo_id":"1402086125","filename":"file5"},{"photo_id":"1402086119","filename":"file2"},{"photo_id":"1402086123","filename":"file4"},{"photo_id":"1402086117","filename":"file1"},{"photo_id":"1402086116","filename":"file0"},{"photo_id":"1402086122","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086123":["hashtag1","hashtag2"]},{"1402086117":["hashtag1","hashtag2"]},{"1402086122":["hashtag1","hashtag2"]},{"1402086116":["hashtag1","hashtag2"]},{"1402086125":["hashtag1","hashtag2"]},{"1402086119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086123, 1402086117, 1402086122, 1402086116, 1402086125, 1402086119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15471148490906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:34:03.242638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_35_9637.jpg', '/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_44_9573.jpg', '/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_55_10615.jpg', '/home/pi/Desktop/images/01012026/22/55/image_01012026_22_56_05_9677.jpg', '/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_25_9614.jpg', '/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_35_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_35_9637.jpg
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_44_9573.jpg
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_55_10615.jpg
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_56_05_9677.jpg
/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_25_9614.jpg
/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_35_9667.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.5393261909484863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:34:12.609088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_01_1730.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_03_1908.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_09_1795.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_11_1922.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_12_1564.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_15_1511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_01_1730.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_03_1908.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_09_1795.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_11_1922.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_12_1564.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_15_1511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086142","1402086133","1402086136","1402086138","1402086131","1402086140"],"photo_ids_order":["1402086131","1402086133","1402086136","1402086138","1402086140","1402086142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/015ec02fbc727568b17a81fa1f51a05f.jpg","text":"TemporaryFile(/tmp/multipartBody6016519323717876043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306914437,"filename":"image_04112025_20_20_15_1511.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/00ba54b3718359ed0b384387f4431ec7.jpg","text":"TemporaryFile(/tmp/multipartBody5154338400766470938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306914437,"filename":"image_04112025_20_20_03_1908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1d9ce47bd5f37f106e2977effd0ea711.jpg","text":"TemporaryFile(/tmp/multipartBody9188368375060118310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306914437,"filename":"image_04112025_20_20_09_1795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06295c1bcfe809b636380a8524c6ed70.jpg","text":"TemporaryFile(/tmp/multipartBody6141698074884814766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306914437,"filename":"image_04112025_20_20_11_1922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/94d30dc19bbb52c2fd8c44adeb6069ac.jpg","text":"TemporaryFile(/tmp/multipartBody389266601322484242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306914437,"filename":"image_04112025_20_20_01_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6ea3b59ae11eb04c5993f17a40a039dd.jpg","text":"TemporaryFile(/tmp/multipartBody1854308478932383307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306914437,"filename":"image_04112025_20_20_12_1564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086136","file1":"1402086133","file0":"1402086131","file4":"1402086140","file5":"1402086142","file3":"1402086138"},"map_files_photo_id_array":[{"photo_id":"1402086142","filename":"file5"},{"photo_id":"1402086136","filename":"file2"},{"photo_id":"1402086140","filename":"file4"},{"photo_id":"1402086133","filename":"file1"},{"photo_id":"1402086131","filename":"file0"},{"photo_id":"1402086138","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086142":["hashtag1","hashtag2"]},{"1402086133":["hashtag1","hashtag2"]},{"1402086136":["hashtag1","hashtag2"]},{"1402086138":["hashtag1","hashtag2"]},{"1402086131":["hashtag1","hashtag2"]},{"1402086140":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086142, 1402086133, 1402086136, 1402086138, 1402086131, 1402086140)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32919788360596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:35:03.458649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_35_9637.jpg', '/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_44_9573.jpg', '/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_55_10615.jpg', '/home/pi/Desktop/images/01012026/22/55/image_01012026_22_56_05_9677.jpg', '/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_25_9614.jpg', '/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_35_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_35_9637.jpg
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_44_9573.jpg
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_55_55_10615.jpg
/home/pi/Desktop/images/01012026/22/55/image_01012026_22_56_05_9677.jpg
/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_25_9614.jpg
/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_35_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":["1402086151","1402086145","1402086148","1402086147","1402086146","1402086149"],"photo_ids_order":["1402086145","1402086146","1402086147","1402086148","1402086149","1402086151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0862144482e5910d387e5424bcf58b6b.jpg","text":"TemporaryFile(/tmp/multipartBody8726899951885712472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306964117,"filename":"image_01012026_22_56_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73026507522dd1dc066364e26c426f7b.jpg","text":"TemporaryFile(/tmp/multipartBody6342871050235572239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306964117,"filename":"image_01012026_22_55_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61368d749c6fbbfb4da8c4babb4f512e.jpg","text":"TemporaryFile(/tmp/multipartBody508562535558878370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306964117,"filename":"image_01012026_22_56_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/85118caa37de4152f79e0784613eb724.jpg","text":"TemporaryFile(/tmp/multipartBody6247836449535720307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306964117,"filename":"image_01012026_22_55_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5316a76d71b5e4c394f0ecfc34c994ee.jpg","text":"TemporaryFile(/tmp/multipartBody8008546926505691988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306964117,"filename":"image_01012026_22_55_44_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45d2e6839165b1825c10f963d600fed2.jpg","text":"TemporaryFile(/tmp/multipartBody1815583150188466325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767306964117,"filename":"image_01012026_22_56_25_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086147","file1":"1402086146","file0":"1402086145","file4":"1402086149","file5":"1402086151","file3":"1402086148"},"map_files_photo_id_array":[{"photo_id":"1402086151","filename":"file5"},{"photo_id":"1402086147","filename":"file2"},{"photo_id":"1402086149","filename":"file4"},{"photo_id":"1402086146","filename":"file1"},{"photo_id":"1402086145","filename":"file0"},{"photo_id":"1402086148","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086151":["hashtag1","hashtag2"]},{"1402086145":["hashtag1","hashtag2"]},{"1402086148":["hashtag1","hashtag2"]},{"1402086147":["hashtag1","hashtag2"]},{"1402086146":["hashtag1","hashtag2"]},{"1402086149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086151, 1402086145, 1402086148, 1402086147, 1402086146, 1402086149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.974236726760864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:35:42.837121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_17_1653.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_18_1628.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_20_1555.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_23_1616.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_32_5716.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_34_1829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_17_1653.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_18_1628.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_20_1555.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_23_1616.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_32_5716.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_34_1829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086162","1402086156","1402086159","1402086158","1402086161","1402086160"],"photo_ids_order":["1402086156","1402086158","1402086159","1402086160","1402086161","1402086162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0250731b42873b1aec8fb2e04192193d.jpg","text":"TemporaryFile(/tmp/multipartBody3434199255412198567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307004849,"filename":"image_04112025_20_20_34_1829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7b4aa520a6cbfa79117e46c0e2211fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1827391254800898526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307004849,"filename":"image_04112025_20_20_17_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dc0542bbc08de8de6010a7051583f91.jpg","text":"TemporaryFile(/tmp/multipartBody8240701104654149871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307004849,"filename":"image_04112025_20_20_20_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a79502cef900d5ba3a917de1d9511e14.jpg","text":"TemporaryFile(/tmp/multipartBody755613471626565149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307004849,"filename":"image_04112025_20_20_18_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86cb273f7916e96697cbc9bb66556154.jpg","text":"TemporaryFile(/tmp/multipartBody6801502274151218145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307004849,"filename":"image_04112025_20_20_32_5716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/13aedc8d8cdfe3c9728e3ec053ed30f2.jpg","text":"TemporaryFile(/tmp/multipartBody2112212397831563698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307004849,"filename":"image_04112025_20_20_23_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086159","file1":"1402086158","file0":"1402086156","file4":"1402086161","file5":"1402086162","file3":"1402086160"},"map_files_photo_id_array":[{"photo_id":"1402086162","filename":"file5"},{"photo_id":"1402086159","filename":"file2"},{"photo_id":"1402086161","filename":"file4"},{"photo_id":"1402086158","filename":"file1"},{"photo_id":"1402086156","filename":"file0"},{"photo_id":"1402086160","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086162":["hashtag1","hashtag2"]},{"1402086156":["hashtag1","hashtag2"]},{"1402086159":["hashtag1","hashtag2"]},{"1402086158":["hashtag1","hashtag2"]},{"1402086161":["hashtag1","hashtag2"]},{"1402086160":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086162, 1402086156, 1402086159, 1402086158, 1402086161, 1402086160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94111204147339 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:36:22.002650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_45_10610.jpg', '/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_55_9875.jpg', '/home/pi/Desktop/images/01012026/22/56/image_01012026_22_57_05_9685.jpg', '/home/pi/Desktop/images/01012026/22/57/image_01012026_22_57_15_9796.jpg', '/home/pi/Desktop/images/01012026/22/57/image_01012026_22_57_25_10626.jpg', '/home/pi/Desktop/images/01012026/22/57/image_01012026_22_57_45_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_45_10610.jpg
/home/pi/Desktop/images/01012026/22/56/image_01012026_22_56_55_9875.jpg
/home/pi/Desktop/images/01012026/22/56/image_01012026_22_57_05_9685.jpg
/home/pi/Desktop/images/01012026/22/57/image_01012026_22_57_15_9796.jpg
/home/pi/Desktop/images/01012026/22/57/image_01012026_22_57_25_10626.jpg
/home/pi/Desktop/images/01012026/22/57/image_01012026_22_57_45_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086163","1402086171","1402086165","1402086174","1402086167","1402086169"],"photo_ids_order":["1402086163","1402086165","1402086167","1402086169","1402086171","1402086174"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6b41f43c4387e7e61685e5a4179e4f16.jpg","text":"TemporaryFile(/tmp/multipartBody6199410269867919653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307042599,"filename":"image_01012026_22_56_45_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e506b205479d67d7227cae01298a9eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8375921286136666519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307042599,"filename":"image_01012026_22_57_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6e5383c73222842fae67faedc6e602d8.jpg","text":"TemporaryFile(/tmp/multipartBody8321388893952713100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307042599,"filename":"image_01012026_22_56_55_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4828b265244fab5b5431dee156beb07c.jpg","text":"TemporaryFile(/tmp/multipartBody8499666928738795481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307042599,"filename":"image_01012026_22_57_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1dd9ff23a287f3d2a3807fbacf2c9e91.jpg","text":"TemporaryFile(/tmp/multipartBody7418878817263294503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307042599,"filename":"image_01012026_22_57_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4dd65dfa249717c9a2bee8324bfbaeea.jpg","text":"TemporaryFile(/tmp/multipartBody1471151741485694409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307042599,"filename":"image_01012026_22_57_15_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086167","file1":"1402086165","file0":"1402086163","file4":"1402086171","file5":"1402086174","file3":"1402086169"},"map_files_photo_id_array":[{"photo_id":"1402086174","filename":"file5"},{"photo_id":"1402086167","filename":"file2"},{"photo_id":"1402086171","filename":"file4"},{"photo_id":"1402086165","filename":"file1"},{"photo_id":"1402086163","filename":"file0"},{"photo_id":"1402086169","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086163":["hashtag1","hashtag2"]},{"1402086171":["hashtag1","hashtag2"]},{"1402086165":["hashtag1","hashtag2"]},{"1402086174":["hashtag1","hashtag2"]},{"1402086167":["hashtag1","hashtag2"]},{"1402086169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086163, 1402086171, 1402086165, 1402086174, 1402086167, 1402086169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26089525222778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:37:02.913819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/57/image_01012026_22_57_55_10586.jpg', '/home/pi/Desktop/images/01012026/22/57/image_01012026_22_58_05_9652.jpg', '/home/pi/Desktop/images/01012026/22/58/image_01012026_22_58_14_9632.jpg', '/home/pi/Desktop/images/01012026/22/58/image_01012026_22_58_25_10554.jpg', '/home/pi/Desktop/images/01012026/22/58/image_01012026_22_58_35_10081.jpg', '/home/pi/Desktop/images/01012026/22/59/image_01012026_22_59_35_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/57/image_01012026_22_57_55_10586.jpg
/home/pi/Desktop/images/01012026/22/57/image_01012026_22_58_05_9652.jpg
/home/pi/Desktop/images/01012026/22/58/image_01012026_22_58_14_9632.jpg
/home/pi/Desktop/images/01012026/22/58/image_01012026_22_58_25_10554.jpg
/home/pi/Desktop/images/01012026/22/58/image_01012026_22_58_35_10081.jpg
/home/pi/Desktop/images/01012026/22/59/image_01012026_22_59_35_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":["1402086178","1402086180","1402086177","1402086182","1402086176","1402086179"],"photo_ids_order":["1402086176","1402086177","1402086178","1402086179","1402086180","1402086182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bdaed44b86a618eac057bf0273091ecf.jpg","text":"TemporaryFile(/tmp/multipartBody8743713938667265620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307083560,"filename":"image_01012026_22_58_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1bdaf00459f2f389ea1d010851ba1264.jpg","text":"TemporaryFile(/tmp/multipartBody715419624026760546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307083560,"filename":"image_01012026_22_58_35_10081.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7c71c3b004794aef7c22d291d3b0523f.jpg","text":"TemporaryFile(/tmp/multipartBody4314132742739825856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307083560,"filename":"image_01012026_22_58_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7ea5bfab2be243c8e6b81e4c5f232a6d.jpg","text":"TemporaryFile(/tmp/multipartBody3271635781876069171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307083560,"filename":"image_01012026_22_59_35_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bf49d165b72e91c6df00d778b3324011.jpg","text":"TemporaryFile(/tmp/multipartBody2134894340851612667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307083560,"filename":"image_01012026_22_57_55_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/81b5dbb662e049651c42e8cd1f9f79ff.jpg","text":"TemporaryFile(/tmp/multipartBody386852820357958652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307083560,"filename":"image_01012026_22_58_25_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086178","file1":"1402086177","file0":"1402086176","file4":"1402086180","file5":"1402086182","file3":"1402086179"},"map_files_photo_id_array":[{"photo_id":"1402086182","filename":"file5"},{"photo_id":"1402086178","filename":"file2"},{"photo_id":"1402086180","filename":"file4"},{"photo_id":"1402086177","filename":"file1"},{"photo_id":"1402086176","filename":"file0"},{"photo_id":"1402086179","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086178":["hashtag1","hashtag2"]},{"1402086180":["hashtag1","hashtag2"]},{"1402086177":["hashtag1","hashtag2"]},{"1402086182":["hashtag1","hashtag2"]},{"1402086176":["hashtag1","hashtag2"]},{"1402086179":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086178, 1402086180, 1402086177, 1402086182, 1402086176, 1402086179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.145652294158936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:37:42.223433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_36_1700.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_43_1717.jpg', '/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_56_2673.jpg', '/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_05_2672.jpg', '/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_08_2704.jpg', '/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_12_3719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_36_1700.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_43_1717.jpg
/home/pi/Desktop/images/04112025/20/20/image_04112025_20_20_56_2673.jpg
/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_05_2672.jpg
/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_08_2704.jpg
/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_12_3719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086190","1402086192","1402086189","1402086191","1402086193","1402086187"],"photo_ids_order":["1402086187","1402086189","1402086190","1402086191","1402086192","1402086193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d101eec117ddc377ecd12522f8afc864.jpg","text":"TemporaryFile(/tmp/multipartBody1274721075071778410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307124136,"filename":"image_04112025_20_20_56_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e591e608121d3554d5183cf1afc1e5b.jpg","text":"TemporaryFile(/tmp/multipartBody8546506627743346132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307124136,"filename":"image_04112025_20_21_08_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/397fc5960a7f005c8b33df2ae17e5fb0.jpg","text":"TemporaryFile(/tmp/multipartBody1023699244487881448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307124136,"filename":"image_04112025_20_20_43_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8f5658ee500ffea635a0e267c7594dc6.jpg","text":"TemporaryFile(/tmp/multipartBody1797551918281171193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307124136,"filename":"image_04112025_20_21_05_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/065242dac686e0170b5b2eb21e16ba42.jpg","text":"TemporaryFile(/tmp/multipartBody1131817042160706699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307124136,"filename":"image_04112025_20_21_12_3719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d4f8f3b08076fca73335ec9df30dcf5.jpg","text":"TemporaryFile(/tmp/multipartBody2493142974454428532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307124136,"filename":"image_04112025_20_20_36_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086190","file1":"1402086189","file0":"1402086187","file4":"1402086192","file5":"1402086193","file3":"1402086191"},"map_files_photo_id_array":[{"photo_id":"1402086193","filename":"file5"},{"photo_id":"1402086190","filename":"file2"},{"photo_id":"1402086192","filename":"file4"},{"photo_id":"1402086189","filename":"file1"},{"photo_id":"1402086187","filename":"file0"},{"photo_id":"1402086191","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086190":["hashtag1","hashtag2"]},{"1402086192":["hashtag1","hashtag2"]},{"1402086189":["hashtag1","hashtag2"]},{"1402086191":["hashtag1","hashtag2"]},{"1402086193":["hashtag1","hashtag2"]},{"1402086187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086190, 1402086192, 1402086189, 1402086191, 1402086193, 1402086187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.630980491638184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:38:22.403519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/22/59/image_01012026_22_59_54_9724.jpg', '/home/pi/Desktop/images/01012026/22/59/image_01012026_23_00_05_10559.jpg', '/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_15_9666.jpg', '/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_25_10640.jpg', '/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_35_9707.jpg', '/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_45_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/22/59/image_01012026_22_59_54_9724.jpg
/home/pi/Desktop/images/01012026/22/59/image_01012026_23_00_05_10559.jpg
/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_15_9666.jpg
/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_25_10640.jpg
/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_35_9707.jpg
/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_45_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":["1402086198","1402086202","1402086204","1402086200","1402086206","1402086196"],"photo_ids_order":["1402086196","1402086198","1402086200","1402086202","1402086204","1402086206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/05e832f7cc98544fd6c8c491afac5d02.jpg","text":"TemporaryFile(/tmp/multipartBody5661424227914105013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307163037,"filename":"image_01012026_23_00_05_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4ac6608c30c6b888190534e09ac35f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8896577861745574826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307163037,"filename":"image_01012026_23_00_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92ac7cef1cf5cf92e16ec89ea0ccb621.jpg","text":"TemporaryFile(/tmp/multipartBody4958912082972719741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307163037,"filename":"image_01012026_23_00_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/136885d9327333d88cf755cd9909bccb.jpg","text":"TemporaryFile(/tmp/multipartBody8065515049131129141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307163037,"filename":"image_01012026_23_00_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b9ec224db4b421f88bc38103ce04702d.jpg","text":"TemporaryFile(/tmp/multipartBody7132793548589339944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307163037,"filename":"image_01012026_23_00_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f9eb263cfb8069092a6fd18144013f1.jpg","text":"TemporaryFile(/tmp/multipartBody8354472382003543951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307163037,"filename":"image_01012026_22_59_54_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086200","file1":"1402086198","file0":"1402086196","file4":"1402086204","file5":"1402086206","file3":"1402086202"},"map_files_photo_id_array":[{"photo_id":"1402086206","filename":"file5"},{"photo_id":"1402086200","filename":"file2"},{"photo_id":"1402086204","filename":"file4"},{"photo_id":"1402086198","filename":"file1"},{"photo_id":"1402086196","filename":"file0"},{"photo_id":"1402086202","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086198":["hashtag1","hashtag2"]},{"1402086202":["hashtag1","hashtag2"]},{"1402086204":["hashtag1","hashtag2"]},{"1402086200":["hashtag1","hashtag2"]},{"1402086206":["hashtag1","hashtag2"]},{"1402086196":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086198, 1402086202, 1402086204, 1402086200, 1402086206, 1402086196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.105653047561646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:39:03.575652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_55_10737.jpg', '/home/pi/Desktop/images/01012026/23/00/image_01012026_23_01_05_9734.jpg', '/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_15_9668.jpg', '/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_25_9853.jpg', '/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_35_10515.jpg', '/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_45_9787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/00/image_01012026_23_00_55_10737.jpg
/home/pi/Desktop/images/01012026/23/00/image_01012026_23_01_05_9734.jpg
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_15_9668.jpg
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_25_9853.jpg
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_35_10515.jpg
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_45_9787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086211","1402086208","1402086210","1402086213","1402086207","1402086209"],"photo_ids_order":["1402086207","1402086208","1402086209","1402086210","1402086211","1402086213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/21ddca6241b188a3318acda16344e442.jpg","text":"TemporaryFile(/tmp/multipartBody3989474916680662466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307204365,"filename":"image_01012026_23_01_35_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e3074ac35418812124db73b25574764e.jpg","text":"TemporaryFile(/tmp/multipartBody5548787879260116360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307204365,"filename":"image_01012026_23_01_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c669c870a9355eebfd8eed036de29d7.jpg","text":"TemporaryFile(/tmp/multipartBody8820945017630071536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307204365,"filename":"image_01012026_23_01_25_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a35735c33724f59f3bdc53bc35958a04.jpg","text":"TemporaryFile(/tmp/multipartBody4773681916799033639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307204365,"filename":"image_01012026_23_01_45_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/153445d9c9fe74cba10dd6c5575e4c46.jpg","text":"TemporaryFile(/tmp/multipartBody5712780888121831230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307204365,"filename":"image_01012026_23_00_55_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/610a56290334e1c71263219287b94eb1.jpg","text":"TemporaryFile(/tmp/multipartBody2618418790943022553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307204365,"filename":"image_01012026_23_01_15_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086209","file1":"1402086208","file0":"1402086207","file4":"1402086211","file5":"1402086213","file3":"1402086210"},"map_files_photo_id_array":[{"photo_id":"1402086213","filename":"file5"},{"photo_id":"1402086209","filename":"file2"},{"photo_id":"1402086211","filename":"file4"},{"photo_id":"1402086208","filename":"file1"},{"photo_id":"1402086207","filename":"file0"},{"photo_id":"1402086210","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086211":["hashtag1","hashtag2"]},{"1402086208":["hashtag1","hashtag2"]},{"1402086210":["hashtag1","hashtag2"]},{"1402086213":["hashtag1","hashtag2"]},{"1402086207":["hashtag1","hashtag2"]},{"1402086209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086211, 1402086208, 1402086210, 1402086213, 1402086207, 1402086209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.876352310180664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:39:42.572833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_18_3283.jpg', '/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_23_2700.jpg', '/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_30_3664.jpg', '/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_32_2597.jpg', '/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_32_8613.jpg', '/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_44_11657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_18_3283.jpg
/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_23_2700.jpg
/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_30_3664.jpg
/home/pi/Desktop/images/04112025/20/21/image_04112025_20_21_32_2597.jpg
/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_32_8613.jpg
/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_44_11657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086223","1402086220","1402086222","1402086221","1402086224","1402086218"],"photo_ids_order":["1402086218","1402086220","1402086221","1402086222","1402086223","1402086224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2665932b2203e0e17325171102fcb4e1.jpg","text":"TemporaryFile(/tmp/multipartBody5855927466949313245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307244543,"filename":"image_04112025_20_22_32_8613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbd84bbdb1aee6fcc544ce504b4cbd65.jpg","text":"TemporaryFile(/tmp/multipartBody5960593634144472361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307244543,"filename":"image_04112025_20_21_23_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8d376dce367d568fab5f24660ee008bf.jpg","text":"TemporaryFile(/tmp/multipartBody3176250985656215055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307244543,"filename":"image_04112025_20_21_32_2597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/edf50673df28901b677a10b684455127.jpg","text":"TemporaryFile(/tmp/multipartBody4558584500316644759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307244543,"filename":"image_04112025_20_21_30_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15ba193fac60dbf5539638f077415ab9.jpg","text":"TemporaryFile(/tmp/multipartBody7850893445869281637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307244543,"filename":"image_04112025_20_22_44_11657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31ebb8247b4d4c7daee751fc1e631920.jpg","text":"TemporaryFile(/tmp/multipartBody1223842681341429487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307244543,"filename":"image_04112025_20_21_18_3283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086221","file1":"1402086220","file0":"1402086218","file4":"1402086223","file5":"1402086224","file3":"1402086222"},"map_files_photo_id_array":[{"photo_id":"1402086224","filename":"file5"},{"photo_id":"1402086221","filename":"file2"},{"photo_id":"1402086223","filename":"file4"},{"photo_id":"1402086220","filename":"file1"},{"photo_id":"1402086218","filename":"file0"},{"photo_id":"1402086222","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086223":["hashtag1","hashtag2"]},{"1402086220":["hashtag1","hashtag2"]},{"1402086222":["hashtag1","hashtag2"]},{"1402086221":["hashtag1","hashtag2"]},{"1402086224":["hashtag1","hashtag2"]},{"1402086218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086223, 1402086220, 1402086222, 1402086221, 1402086224, 1402086218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48610711097717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:40:22.779798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_54_9600.jpg', '/home/pi/Desktop/images/01012026/23/01/image_01012026_23_02_05_10624.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_15_9720.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_24_9678.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_35_10610.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_45_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_54_9600.jpg
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_02_05_10624.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_15_9720.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_24_9678.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_35_10610.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_45_9822.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.48982715606689453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:40:32.766076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_51_1560.jpg', '/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_53_1639.jpg', '/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_54_1572.jpg', '/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_56_1649.jpg', '/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_03_6919.jpg', '/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_13_1675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_51_1560.jpg
/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_53_1639.jpg
/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_54_1572.jpg
/home/pi/Desktop/images/04112025/20/22/image_04112025_20_22_56_1649.jpg
/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_03_6919.jpg
/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_13_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
<Response [200]>
b'{"photo_ids":["1402086241","1402086240","1402086234","1402086237","1402086231","1402086239"],"photo_ids_order":["1402086231","1402086234","1402086237","1402086239","1402086240","1402086241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31e586666582fbda92d30cb2d3573144.jpg","text":"TemporaryFile(/tmp/multipartBody6804783927999403858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307294682,"filename":"image_04112025_20_23_13_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3bda7ca00dda4706b4b7f86643ea00e5.jpg","text":"TemporaryFile(/tmp/multipartBody1518193091640374285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307294682,"filename":"image_04112025_20_23_03_6919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e172511785b3c2de6241544069e2d12.jpg","text":"TemporaryFile(/tmp/multipartBody8420956218550666984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307294682,"filename":"image_04112025_20_22_53_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9377b7cb1f0138c67a0e827b827b7c3e.jpg","text":"TemporaryFile(/tmp/multipartBody2196743804557344854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307294682,"filename":"image_04112025_20_22_54_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/339f56e6ad42a110b633c2bd09cfc026.jpg","text":"TemporaryFile(/tmp/multipartBody2325604937333553624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307294682,"filename":"image_04112025_20_22_51_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1541e70e3e59bf67aeab33c8a899c115.jpg","text":"TemporaryFile(/tmp/multipartBody4219269229888537724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307294682,"filename":"image_04112025_20_22_56_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086237","file1":"1402086234","file0":"1402086231","file4":"1402086240","file5":"1402086241","file3":"1402086239"},"map_files_photo_id_array":[{"photo_id":"1402086241","filename":"file5"},{"photo_id":"1402086237","filename":"file2"},{"photo_id":"1402086240","filename":"file4"},{"photo_id":"1402086234","filename":"file1"},{"photo_id":"1402086231","filename":"file0"},{"photo_id":"1402086239","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086241":["hashtag1","hashtag2"]},{"1402086240":["hashtag1","hashtag2"]},{"1402086234":["hashtag1","hashtag2"]},{"1402086237":["hashtag1","hashtag2"]},{"1402086231":["hashtag1","hashtag2"]},{"1402086239":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086241, 1402086240, 1402086234, 1402086237, 1402086231, 1402086239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74199438095093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:41:11.899502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_15_1678.jpg', '/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_17_1632.jpg', '/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_39_1602.jpg', '/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_47_2842.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_03_13036.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_06_3196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_15_1678.jpg
/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_17_1632.jpg
/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_39_1602.jpg
/home/pi/Desktop/images/04112025/20/23/image_04112025_20_23_47_2842.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_03_13036.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_06_3196.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086244","1402086247","1402086249","1402086243","1402086251","1402086245"],"photo_ids_order":["1402086243","1402086244","1402086245","1402086247","1402086249","1402086251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/283a5feb058ca04c0cc13ea0a6e08ad1.jpg","text":"TemporaryFile(/tmp/multipartBody1316828617353350927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307333704,"filename":"image_04112025_20_23_17_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cab7220d2d6222e49cbf7e1a7cac83e7.jpg","text":"TemporaryFile(/tmp/multipartBody3696211707922892089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307333704,"filename":"image_04112025_20_23_47_2842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/113dd4cabfb2d835a40342710976fa35.jpg","text":"TemporaryFile(/tmp/multipartBody2473459546534051912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307333704,"filename":"image_04112025_20_24_03_13036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5dbc9988b5dac1820eb20447d3ec350b.jpg","text":"TemporaryFile(/tmp/multipartBody5986911174134736461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307333704,"filename":"image_04112025_20_23_15_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31fa3d5ebf0df4aa1c6e58f93f19882a.jpg","text":"TemporaryFile(/tmp/multipartBody266530621970708690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307333704,"filename":"image_04112025_20_24_06_3196.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ff8aab2c29693aacf13327a740e19655.jpg","text":"TemporaryFile(/tmp/multipartBody1705195238841235601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307333704,"filename":"image_04112025_20_23_39_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086245","file1":"1402086244","file0":"1402086243","file4":"1402086249","file5":"1402086251","file3":"1402086247"},"map_files_photo_id_array":[{"photo_id":"1402086251","filename":"file5"},{"photo_id":"1402086245","filename":"file2"},{"photo_id":"1402086249","filename":"file4"},{"photo_id":"1402086244","filename":"file1"},{"photo_id":"1402086243","filename":"file0"},{"photo_id":"1402086247","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086244":["hashtag1","hashtag2"]},{"1402086247":["hashtag1","hashtag2"]},{"1402086249":["hashtag1","hashtag2"]},{"1402086243":["hashtag1","hashtag2"]},{"1402086251":["hashtag1","hashtag2"]},{"1402086245":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086244, 1402086247, 1402086249, 1402086243, 1402086251, 1402086245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37166929244995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:42:02.530957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_54_9600.jpg', '/home/pi/Desktop/images/01012026/23/01/image_01012026_23_02_05_10624.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_15_9720.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_24_9678.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_35_10610.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_45_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_54_9600.jpg
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_02_05_10624.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_15_9720.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_24_9678.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_35_10610.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_45_9822.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.5262818336486816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:42:12.064043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_08_1738.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_10_1621.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_16_3453.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_18_1643.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_20_1802.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_21_1551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_08_1738.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_10_1621.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_16_3453.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_18_1643.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_20_1802.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_21_1551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086262","1402086264","1402086267","1402086258","1402086269","1402086260"],"photo_ids_order":["1402086258","1402086260","1402086262","1402086264","1402086267","1402086269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0b501b8a3a46dca7b066ce042f86082c.jpg","text":"TemporaryFile(/tmp/multipartBody7807480690978675670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307393911,"filename":"image_04112025_20_24_16_3453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e7c8f7e928a3449ae94242e30a708f99.jpg","text":"TemporaryFile(/tmp/multipartBody864362583752672629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307393911,"filename":"image_04112025_20_24_18_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a591334897048c20ebacd5cc5d0aa82.jpg","text":"TemporaryFile(/tmp/multipartBody2927155243426734503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307393911,"filename":"image_04112025_20_24_20_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/830fda6c708fc95604ad0eb7cfe1b564.jpg","text":"TemporaryFile(/tmp/multipartBody8687590892357538145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307393911,"filename":"image_04112025_20_24_08_1738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bb415e16098d24ee0cf5e0e9f8a28197.jpg","text":"TemporaryFile(/tmp/multipartBody8188663511637863232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307393911,"filename":"image_04112025_20_24_21_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fead97fb0c19a317fc15e713e4066228.jpg","text":"TemporaryFile(/tmp/multipartBody994645038910409773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307393911,"filename":"image_04112025_20_24_10_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086262","file1":"1402086260","file0":"1402086258","file4":"1402086267","file5":"1402086269","file3":"1402086264"},"map_files_photo_id_array":[{"photo_id":"1402086269","filename":"file5"},{"photo_id":"1402086262","filename":"file2"},{"photo_id":"1402086267","filename":"file4"},{"photo_id":"1402086260","filename":"file1"},{"photo_id":"1402086258","filename":"file0"},{"photo_id":"1402086264","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086262":["hashtag1","hashtag2"]},{"1402086264":["hashtag1","hashtag2"]},{"1402086267":["hashtag1","hashtag2"]},{"1402086258":["hashtag1","hashtag2"]},{"1402086269":["hashtag1","hashtag2"]},{"1402086260":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086262, 1402086264, 1402086267, 1402086258, 1402086269, 1402086260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36476469039917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:43:02.775255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_54_9600.jpg', '/home/pi/Desktop/images/01012026/23/01/image_01012026_23_02_05_10624.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_15_9720.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_24_9678.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_35_10610.jpg', '/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_45_9822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_01_54_9600.jpg
/home/pi/Desktop/images/01012026/23/01/image_01012026_23_02_05_10624.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_15_9720.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_24_9678.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_35_10610.jpg
/home/pi/Desktop/images/01012026/23/02/image_01012026_23_02_45_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":["1402086277","1402086279","1402086276","1402086281","1402086275","1402086278"],"photo_ids_order":["1402086275","1402086276","1402086277","1402086278","1402086279","1402086281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c42530c09d101b96be3ea5ede8626d4e.jpg","text":"TemporaryFile(/tmp/multipartBody6365331339917270637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307443436,"filename":"image_01012026_23_02_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a4558714d76ce6e7a73f3f3fe8141384.jpg","text":"TemporaryFile(/tmp/multipartBody8604531302148433554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307443436,"filename":"image_01012026_23_02_35_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5004ed0be464dc9192d28f6fcbef2710.jpg","text":"TemporaryFile(/tmp/multipartBody6368211593338777930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307443436,"filename":"image_01012026_23_02_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/c4cb6840262542e95f5164cc89974a05.jpg","text":"TemporaryFile(/tmp/multipartBody2100363319465143711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307443436,"filename":"image_01012026_23_02_45_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a5e2470eaec56b6fdd0e66486b36bab0.jpg","text":"TemporaryFile(/tmp/multipartBody5500733564467561149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307443436,"filename":"image_01012026_23_01_54_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48c3bc45d07216155878f9701c403a89.jpg","text":"TemporaryFile(/tmp/multipartBody2617522146813158440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307443436,"filename":"image_01012026_23_02_24_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086277","file1":"1402086276","file0":"1402086275","file4":"1402086279","file5":"1402086281","file3":"1402086278"},"map_files_photo_id_array":[{"photo_id":"1402086281","filename":"file5"},{"photo_id":"1402086277","filename":"file2"},{"photo_id":"1402086279","filename":"file4"},{"photo_id":"1402086276","filename":"file1"},{"photo_id":"1402086275","filename":"file0"},{"photo_id":"1402086278","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086277":["hashtag1","hashtag2"]},{"1402086279":["hashtag1","hashtag2"]},{"1402086276":["hashtag1","hashtag2"]},{"1402086281":["hashtag1","hashtag2"]},{"1402086275":["hashtag1","hashtag2"]},{"1402086278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086277, 1402086279, 1402086276, 1402086281, 1402086275, 1402086278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61718463897705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:43:42.364591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_23_1587.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_24_1654.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_30_5747.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_32_1612.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_33_1624.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_35_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_23_1587.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_24_1654.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_30_5747.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_32_1612.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_33_1624.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_35_1569.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086291","1402086293","1402086290","1402086287","1402086292","1402086289"],"photo_ids_order":["1402086287","1402086289","1402086290","1402086291","1402086292","1402086293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5d6ca3eb51116908a899f862142439e3.jpg","text":"TemporaryFile(/tmp/multipartBody3426652027815214938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307484302,"filename":"image_04112025_20_24_32_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/40c64122323d62d6f21b0e93a77fc946.jpg","text":"TemporaryFile(/tmp/multipartBody5792181640610455981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307484302,"filename":"image_04112025_20_24_35_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cf6ef07740429f3da13756971774ccd0.jpg","text":"TemporaryFile(/tmp/multipartBody8797247788462824408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307484302,"filename":"image_04112025_20_24_30_5747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bc30b68e4f7181ee50a4c3a32f0cf674.jpg","text":"TemporaryFile(/tmp/multipartBody6501532190926536233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307484302,"filename":"image_04112025_20_24_23_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/34a9a0a46fb73a4591e6793eb19c6fb3.jpg","text":"TemporaryFile(/tmp/multipartBody1762470207134252225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307484302,"filename":"image_04112025_20_24_33_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2af95a53df25e6198be0b59997bb6ee1.jpg","text":"TemporaryFile(/tmp/multipartBody5895123673386564429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307484302,"filename":"image_04112025_20_24_24_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086290","file1":"1402086289","file0":"1402086287","file4":"1402086292","file5":"1402086293","file3":"1402086291"},"map_files_photo_id_array":[{"photo_id":"1402086293","filename":"file5"},{"photo_id":"1402086290","filename":"file2"},{"photo_id":"1402086292","filename":"file4"},{"photo_id":"1402086289","filename":"file1"},{"photo_id":"1402086287","filename":"file0"},{"photo_id":"1402086291","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086291":["hashtag1","hashtag2"]},{"1402086293":["hashtag1","hashtag2"]},{"1402086290":["hashtag1","hashtag2"]},{"1402086287":["hashtag1","hashtag2"]},{"1402086292":["hashtag1","hashtag2"]},{"1402086289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086291, 1402086293, 1402086290, 1402086287, 1402086292, 1402086289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42707657814026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:44:22.708311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/03/image_01012026_23_03_25_9605.jpg', '/home/pi/Desktop/images/01012026/23/03/image_01012026_23_03_35_10705.jpg', '/home/pi/Desktop/images/01012026/23/03/image_01012026_23_03_45_9727.jpg', '/home/pi/Desktop/images/01012026/23/04/image_01012026_23_04_25_9582.jpg', '/home/pi/Desktop/images/01012026/23/04/image_01012026_23_04_35_9811.jpg', '/home/pi/Desktop/images/01012026/23/04/image_01012026_23_04_45_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/03/image_01012026_23_03_25_9605.jpg
/home/pi/Desktop/images/01012026/23/03/image_01012026_23_03_35_10705.jpg
/home/pi/Desktop/images/01012026/23/03/image_01012026_23_03_45_9727.jpg
/home/pi/Desktop/images/01012026/23/04/image_01012026_23_04_25_9582.jpg
/home/pi/Desktop/images/01012026/23/04/image_01012026_23_04_35_9811.jpg
/home/pi/Desktop/images/01012026/23/04/image_01012026_23_04_45_10693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086304","1402086300","1402086296","1402086299","1402086308","1402086302"],"photo_ids_order":["1402086296","1402086299","1402086300","1402086302","1402086304","1402086308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2c6181783f0d57f6eed509c51613ff29.jpg","text":"TemporaryFile(/tmp/multipartBody6762929606947426663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307523309,"filename":"image_01012026_23_04_35_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a3ccc95bb3343478ab33aba2d44747d.jpg","text":"TemporaryFile(/tmp/multipartBody9110804838838350843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307523309,"filename":"image_01012026_23_03_45_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f41e1857726dbe5f5940b507dc2e377c.jpg","text":"TemporaryFile(/tmp/multipartBody8066251186151012904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307523309,"filename":"image_01012026_23_03_25_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/170bdf727c41cd36b7f271618a6f2406.jpg","text":"TemporaryFile(/tmp/multipartBody4101499388313557662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307523309,"filename":"image_01012026_23_03_35_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1138721fb20c2f551eb456beb6c5e3c3.jpg","text":"TemporaryFile(/tmp/multipartBody4651604992776614593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307523309,"filename":"image_01012026_23_04_45_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6715bd4482542c2470fc466009215f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3629520614695497607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307523309,"filename":"image_01012026_23_04_25_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086300","file1":"1402086299","file0":"1402086296","file4":"1402086304","file5":"1402086308","file3":"1402086302"},"map_files_photo_id_array":[{"photo_id":"1402086308","filename":"file5"},{"photo_id":"1402086300","filename":"file2"},{"photo_id":"1402086304","filename":"file4"},{"photo_id":"1402086299","filename":"file1"},{"photo_id":"1402086296","filename":"file0"},{"photo_id":"1402086302","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086304":["hashtag1","hashtag2"]},{"1402086300":["hashtag1","hashtag2"]},{"1402086296":["hashtag1","hashtag2"]},{"1402086299":["hashtag1","hashtag2"]},{"1402086308":["hashtag1","hashtag2"]},{"1402086302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086304, 1402086300, 1402086296, 1402086299, 1402086308, 1402086302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.39749550819397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:45:03.453693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/04/image_01012026_23_04_55_9557.jpg', '/home/pi/Desktop/images/01012026/23/04/image_01012026_23_05_04_9653.jpg', '/home/pi/Desktop/images/01012026/23/05/image_01012026_23_05_25_9748.jpg', '/home/pi/Desktop/images/01012026/23/05/image_01012026_23_05_35_9692.jpg', '/home/pi/Desktop/images/01012026/23/05/image_01012026_23_05_45_10671.jpg', '/home/pi/Desktop/images/01012026/23/05/image_01012026_23_05_55_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/04/image_01012026_23_04_55_9557.jpg
/home/pi/Desktop/images/01012026/23/04/image_01012026_23_05_04_9653.jpg
/home/pi/Desktop/images/01012026/23/05/image_01012026_23_05_25_9748.jpg
/home/pi/Desktop/images/01012026/23/05/image_01012026_23_05_35_9692.jpg
/home/pi/Desktop/images/01012026/23/05/image_01012026_23_05_45_10671.jpg
/home/pi/Desktop/images/01012026/23/05/image_01012026_23_05_55_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":["1402086316","1402086313","1402086315","1402086318","1402086311","1402086314"],"photo_ids_order":["1402086311","1402086313","1402086314","1402086315","1402086316","1402086318"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2539df188631ceaf20f41dbabc342ce7.jpg","text":"TemporaryFile(/tmp/multipartBody3100312074011020154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307564162,"filename":"image_01012026_23_05_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/61373b6b5df611935f6977127614ecec.jpg","text":"TemporaryFile(/tmp/multipartBody2078780330316317933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307564162,"filename":"image_01012026_23_05_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eb287ba414d602b67c5ca5da4ffae388.jpg","text":"TemporaryFile(/tmp/multipartBody5610760649528621367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307564162,"filename":"image_01012026_23_05_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5e6b08ffae1143850cbb521080796ca0.jpg","text":"TemporaryFile(/tmp/multipartBody4741306212759541518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307564162,"filename":"image_01012026_23_05_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/44f3720df4fc670ec0d76a739a37e4b4.jpg","text":"TemporaryFile(/tmp/multipartBody75328175608619782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307564162,"filename":"image_01012026_23_04_55_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a33ed11458eebbbef3c29a49998e78e.jpg","text":"TemporaryFile(/tmp/multipartBody5745511735291901742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307564162,"filename":"image_01012026_23_05_25_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086314","file1":"1402086313","file0":"1402086311","file4":"1402086316","file5":"1402086318","file3":"1402086315"},"map_files_photo_id_array":[{"photo_id":"1402086318","filename":"file5"},{"photo_id":"1402086314","filename":"file2"},{"photo_id":"1402086316","filename":"file4"},{"photo_id":"1402086313","filename":"file1"},{"photo_id":"1402086311","filename":"file0"},{"photo_id":"1402086315","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086316":["hashtag1","hashtag2"]},{"1402086313":["hashtag1","hashtag2"]},{"1402086315":["hashtag1","hashtag2"]},{"1402086318":["hashtag1","hashtag2"]},{"1402086311":["hashtag1","hashtag2"]},{"1402086314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086316, 1402086313, 1402086315, 1402086318, 1402086311, 1402086314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08930158615112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:45:42.846405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_40_1608.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_41_1574.jpg', '/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_43_1731.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_10_25504.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_22_11929.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_46_23415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_40_1608.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_41_1574.jpg
/home/pi/Desktop/images/04112025/20/24/image_04112025_20_24_43_1731.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_10_25504.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_22_11929.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_46_23415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086325","1402086328","1402086327","1402086324","1402086326","1402086323"],"photo_ids_order":["1402086323","1402086324","1402086325","1402086326","1402086327","1402086328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/701e1ba786e656f789184651b2e4466e.jpg","text":"TemporaryFile(/tmp/multipartBody3386994838546613259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307604751,"filename":"image_04112025_20_24_43_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/79665b1b8456602afd65d03895633f04.jpg","text":"TemporaryFile(/tmp/multipartBody3276191792329612937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307604751,"filename":"image_04112025_20_25_46_23415.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/727d7ed59de158dfcf4d9fe65b6ef481.jpg","text":"TemporaryFile(/tmp/multipartBody5349106655646099868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307604751,"filename":"image_04112025_20_25_22_11929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/384939b487cdec2959b68621210af9ce.jpg","text":"TemporaryFile(/tmp/multipartBody7088348741294456678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307604751,"filename":"image_04112025_20_24_41_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7a539410b807c6012aa083b44bb4b09b.jpg","text":"TemporaryFile(/tmp/multipartBody8251690041020868733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307604751,"filename":"image_04112025_20_25_10_25504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e440a93d1c5443c2ae34a64d7e94002b.jpg","text":"TemporaryFile(/tmp/multipartBody5393967322832006067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307604751,"filename":"image_04112025_20_24_40_1608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086325","file1":"1402086324","file0":"1402086323","file4":"1402086327","file5":"1402086328","file3":"1402086326"},"map_files_photo_id_array":[{"photo_id":"1402086328","filename":"file5"},{"photo_id":"1402086325","filename":"file2"},{"photo_id":"1402086327","filename":"file4"},{"photo_id":"1402086324","filename":"file1"},{"photo_id":"1402086323","filename":"file0"},{"photo_id":"1402086326","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086325":["hashtag1","hashtag2"]},{"1402086328":["hashtag1","hashtag2"]},{"1402086327":["hashtag1","hashtag2"]},{"1402086324":["hashtag1","hashtag2"]},{"1402086326":["hashtag1","hashtag2"]},{"1402086323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086325, 1402086328, 1402086327, 1402086324, 1402086326, 1402086323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08215260505676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:46:22.009143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/05/image_01012026_23_06_05_9825.jpg', '/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_15_9829.jpg', '/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_25_10579.jpg', '/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_35_9621.jpg', '/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_45_9896.jpg', '/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_55_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/05/image_01012026_23_06_05_9825.jpg
/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_15_9829.jpg
/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_25_10579.jpg
/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_35_9621.jpg
/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_45_9896.jpg
/home/pi/Desktop/images/01012026/23/06/image_01012026_23_06_55_10576.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086340","1402086334","1402086336","1402086330","1402086332","1402086329"],"photo_ids_order":["1402086329","1402086330","1402086332","1402086334","1402086336","1402086340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/54613b712a248b636e5063e6aa7f3b8b.jpg","text":"TemporaryFile(/tmp/multipartBody1709631428977034025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307642608,"filename":"image_01012026_23_06_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/dbc6e1e20d37288e0ea32dceb5b6bd67.jpg","text":"TemporaryFile(/tmp/multipartBody919482169222104071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307642608,"filename":"image_01012026_23_06_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/92058c0eb7a6a01f2a266544ab611d31.jpg","text":"TemporaryFile(/tmp/multipartBody3003316270040487714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307642608,"filename":"image_01012026_23_06_45_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9cbbcfebf4acdd5d3cd1f4a57123bb1c.jpg","text":"TemporaryFile(/tmp/multipartBody422115868733232576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307642608,"filename":"image_01012026_23_06_15_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/43146ed45c85b21578d894c5ceff3197.jpg","text":"TemporaryFile(/tmp/multipartBody4272815567214497082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307642608,"filename":"image_01012026_23_06_25_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/11cb286acb01dc1f830f4a0cb1e17b8c.jpg","text":"TemporaryFile(/tmp/multipartBody8906518725446602533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307642608,"filename":"image_01012026_23_06_05_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086332","file1":"1402086330","file0":"1402086329","file4":"1402086336","file5":"1402086340","file3":"1402086334"},"map_files_photo_id_array":[{"photo_id":"1402086340","filename":"file5"},{"photo_id":"1402086332","filename":"file2"},{"photo_id":"1402086336","filename":"file4"},{"photo_id":"1402086330","filename":"file1"},{"photo_id":"1402086329","filename":"file0"},{"photo_id":"1402086334","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086340":["hashtag1","hashtag2"]},{"1402086334":["hashtag1","hashtag2"]},{"1402086336":["hashtag1","hashtag2"]},{"1402086330":["hashtag1","hashtag2"]},{"1402086332":["hashtag1","hashtag2"]},{"1402086329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086340, 1402086334, 1402086336, 1402086330, 1402086332, 1402086329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.856515407562256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:47:02.832362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/06/image_01012026_23_07_05_9677.jpg', '/home/pi/Desktop/images/01012026/23/07/image_01012026_23_07_15_9683.jpg', '/home/pi/Desktop/images/01012026/23/07/image_01012026_23_07_35_9587.jpg', '/home/pi/Desktop/images/01012026/23/07/image_01012026_23_07_45_9703.jpg', '/home/pi/Desktop/images/01012026/23/08/image_01012026_23_08_15_9863.jpg', '/home/pi/Desktop/images/01012026/23/08/image_01012026_23_08_25_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/06/image_01012026_23_07_05_9677.jpg
/home/pi/Desktop/images/01012026/23/07/image_01012026_23_07_15_9683.jpg
/home/pi/Desktop/images/01012026/23/07/image_01012026_23_07_35_9587.jpg
/home/pi/Desktop/images/01012026/23/07/image_01012026_23_07_45_9703.jpg
/home/pi/Desktop/images/01012026/23/08/image_01012026_23_08_15_9863.jpg
/home/pi/Desktop/images/01012026/23/08/image_01012026_23_08_25_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":["1402086349","1402086351","1402086354","1402086350","1402086347","1402086352"],"photo_ids_order":["1402086347","1402086349","1402086350","1402086351","1402086352","1402086354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/63b6f8c5548390d7ba550d01d5cf9b38.jpg","text":"TemporaryFile(/tmp/multipartBody8684767134386731906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307683479,"filename":"image_01012026_23_07_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b49ed4d934bb155efdcc6ae930b804a4.jpg","text":"TemporaryFile(/tmp/multipartBody4936472657172698615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307683479,"filename":"image_01012026_23_07_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9630c9ac9e337a8c781fc0d1b58957e5.jpg","text":"TemporaryFile(/tmp/multipartBody601708216793396336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307683479,"filename":"image_01012026_23_08_25_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6153aa4e43faabb0f6824bada6b4f2a1.jpg","text":"TemporaryFile(/tmp/multipartBody1854850412786985090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307683479,"filename":"image_01012026_23_07_35_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/724d226da63447bd6db024404ee933b3.jpg","text":"TemporaryFile(/tmp/multipartBody3565692020565918135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307683479,"filename":"image_01012026_23_07_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a1e9e7d1372f980352cdb7b8534c811d.jpg","text":"TemporaryFile(/tmp/multipartBody3131566622241657720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307683479,"filename":"image_01012026_23_08_15_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086350","file1":"1402086349","file0":"1402086347","file4":"1402086352","file5":"1402086354","file3":"1402086351"},"map_files_photo_id_array":[{"photo_id":"1402086354","filename":"file5"},{"photo_id":"1402086350","filename":"file2"},{"photo_id":"1402086352","filename":"file4"},{"photo_id":"1402086349","filename":"file1"},{"photo_id":"1402086347","filename":"file0"},{"photo_id":"1402086351","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086349":["hashtag1","hashtag2"]},{"1402086351":["hashtag1","hashtag2"]},{"1402086354":["hashtag1","hashtag2"]},{"1402086350":["hashtag1","hashtag2"]},{"1402086347":["hashtag1","hashtag2"]},{"1402086352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086349, 1402086351, 1402086354, 1402086350, 1402086347, 1402086352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83931827545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:47:42.318789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_48_1729.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_51_1908.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_53_1626.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_59_1835.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_03_3632.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_05_1741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_48_1729.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_51_1908.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_53_1626.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_59_1835.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_03_3632.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_05_1741.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.7972056865692139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:48:02.877956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/08/image_01012026_23_08_35_10254.jpg', '/home/pi/Desktop/images/01012026/23/08/image_01012026_23_08_55_10575.jpg', '/home/pi/Desktop/images/01012026/23/08/image_01012026_23_09_05_9697.jpg', '/home/pi/Desktop/images/01012026/23/09/image_01012026_23_09_35_10602.jpg', '/home/pi/Desktop/images/01012026/23/09/image_01012026_23_09_45_9632.jpg', '/home/pi/Desktop/images/01012026/23/09/image_01012026_23_09_54_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/08/image_01012026_23_08_35_10254.jpg
/home/pi/Desktop/images/01012026/23/08/image_01012026_23_08_55_10575.jpg
/home/pi/Desktop/images/01012026/23/08/image_01012026_23_09_05_9697.jpg
/home/pi/Desktop/images/01012026/23/09/image_01012026_23_09_35_10602.jpg
/home/pi/Desktop/images/01012026/23/09/image_01012026_23_09_45_9632.jpg
/home/pi/Desktop/images/01012026/23/09/image_01012026_23_09_54_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":["1402086372","1402086366","1402086369","1402086368","1402086370","1402086367"],"photo_ids_order":["1402086366","1402086367","1402086368","1402086369","1402086370","1402086372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7f204e52e4cc9d099e908dc7bf19ed17.jpg","text":"TemporaryFile(/tmp/multipartBody3956583833259369625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307743497,"filename":"image_01012026_23_09_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/336332d48c2cbc92707341edc224a65a.jpg","text":"TemporaryFile(/tmp/multipartBody3796958437744769920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307743497,"filename":"image_01012026_23_08_35_10254.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2d38208ce0211534d02aebc43e8d937e.jpg","text":"TemporaryFile(/tmp/multipartBody4784073345119941761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307743497,"filename":"image_01012026_23_09_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/86877121704d1008720360c624821cc9.jpg","text":"TemporaryFile(/tmp/multipartBody6694608483422115025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307743497,"filename":"image_01012026_23_09_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cea6792e76d749c4c5d5ee32d68f46bb.jpg","text":"TemporaryFile(/tmp/multipartBody6287709847437743736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307743497,"filename":"image_01012026_23_09_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bba6ee81905bfd81096cb9b058640d75.jpg","text":"TemporaryFile(/tmp/multipartBody3793961000506425169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307743497,"filename":"image_01012026_23_08_55_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086368","file1":"1402086367","file0":"1402086366","file4":"1402086370","file5":"1402086372","file3":"1402086369"},"map_files_photo_id_array":[{"photo_id":"1402086372","filename":"file5"},{"photo_id":"1402086368","filename":"file2"},{"photo_id":"1402086370","filename":"file4"},{"photo_id":"1402086367","filename":"file1"},{"photo_id":"1402086366","filename":"file0"},{"photo_id":"1402086369","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086372":["hashtag1","hashtag2"]},{"1402086366":["hashtag1","hashtag2"]},{"1402086369":["hashtag1","hashtag2"]},{"1402086368":["hashtag1","hashtag2"]},{"1402086370":["hashtag1","hashtag2"]},{"1402086367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086372, 1402086366, 1402086369, 1402086368, 1402086370, 1402086367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94805026054382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:48:42.512979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_48_1729.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_51_1908.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_53_1626.jpg', '/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_59_1835.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_03_3632.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_05_1741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_48_1729.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_51_1908.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_53_1626.jpg
/home/pi/Desktop/images/04112025/20/25/image_04112025_20_25_59_1835.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_03_3632.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_05_1741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086382","1402086381","1402086384","1402086378","1402086383","1402086385"],"photo_ids_order":["1402086378","1402086381","1402086382","1402086383","1402086384","1402086385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1c1fb4e8f627682ec499ebb981bb7a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5715599214718306088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307784332,"filename":"image_04112025_20_25_53_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5cea4cba5c04b50a9ef6b0249dd43003.jpg","text":"TemporaryFile(/tmp/multipartBody8826425625971361596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307784332,"filename":"image_04112025_20_25_51_1908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/56ee993c639ed6b092a7891b5dcac226.jpg","text":"TemporaryFile(/tmp/multipartBody568883438859329601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307784332,"filename":"image_04112025_20_26_03_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/774ee21d12abf21cd19e1aee36af1097.jpg","text":"TemporaryFile(/tmp/multipartBody6195781533783541051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307784332,"filename":"image_04112025_20_25_48_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/805768bae2a7fab4390af31e94cf4b59.jpg","text":"TemporaryFile(/tmp/multipartBody1819830305269520239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307784332,"filename":"image_04112025_20_25_59_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4debb318ea2fd6405a16f2c68d0cadfa.jpg","text":"TemporaryFile(/tmp/multipartBody8849357039147670800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307784332,"filename":"image_04112025_20_26_05_1741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086382","file1":"1402086381","file0":"1402086378","file4":"1402086384","file5":"1402086385","file3":"1402086383"},"map_files_photo_id_array":[{"photo_id":"1402086385","filename":"file5"},{"photo_id":"1402086382","filename":"file2"},{"photo_id":"1402086384","filename":"file4"},{"photo_id":"1402086381","filename":"file1"},{"photo_id":"1402086378","filename":"file0"},{"photo_id":"1402086383","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086382":["hashtag1","hashtag2"]},{"1402086381":["hashtag1","hashtag2"]},{"1402086384":["hashtag1","hashtag2"]},{"1402086378":["hashtag1","hashtag2"]},{"1402086383":["hashtag1","hashtag2"]},{"1402086385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086382, 1402086381, 1402086384, 1402086378, 1402086383, 1402086385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74889826774597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:49:22.645686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/09/image_01012026_23_10_05_10636.jpg', '/home/pi/Desktop/images/01012026/23/10/image_01012026_23_10_24_9706.jpg', '/home/pi/Desktop/images/01012026/23/10/image_01012026_23_10_45_9619.jpg', '/home/pi/Desktop/images/01012026/23/10/image_01012026_23_10_54_9625.jpg', '/home/pi/Desktop/images/01012026/23/10/image_01012026_23_11_05_10617.jpg', '/home/pi/Desktop/images/01012026/23/11/image_01012026_23_11_35_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/09/image_01012026_23_10_05_10636.jpg
/home/pi/Desktop/images/01012026/23/10/image_01012026_23_10_24_9706.jpg
/home/pi/Desktop/images/01012026/23/10/image_01012026_23_10_45_9619.jpg
/home/pi/Desktop/images/01012026/23/10/image_01012026_23_10_54_9625.jpg
/home/pi/Desktop/images/01012026/23/10/image_01012026_23_11_05_10617.jpg
/home/pi/Desktop/images/01012026/23/11/image_01012026_23_11_35_9555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086390","1402086387","1402086392","1402086397","1402086394","1402086388"],"photo_ids_order":["1402086387","1402086388","1402086390","1402086392","1402086394","1402086397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a008b8d3a2fd6e516e523ac7b40def78.jpg","text":"TemporaryFile(/tmp/multipartBody6859433050836667857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307823247,"filename":"image_01012026_23_10_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2e99b0ce34286a6787819678f36a336e.jpg","text":"TemporaryFile(/tmp/multipartBody2740750257530089276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307823247,"filename":"image_01012026_23_10_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3180d795dcf5c883139f9ade8dce54e2.jpg","text":"TemporaryFile(/tmp/multipartBody744667331259684472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307823247,"filename":"image_01012026_23_10_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca89f92d25c6b5ef57a6161d56c7d51d.jpg","text":"TemporaryFile(/tmp/multipartBody6950836376546008279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307823247,"filename":"image_01012026_23_11_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d8605d1c537a7d32710a8bbb22bbd696.jpg","text":"TemporaryFile(/tmp/multipartBody3824035498099141387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307823247,"filename":"image_01012026_23_11_05_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/47f7eb8f2f35026cefa070354934e2c3.jpg","text":"TemporaryFile(/tmp/multipartBody6221482259699227444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307823247,"filename":"image_01012026_23_10_24_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086390","file1":"1402086388","file0":"1402086387","file4":"1402086394","file5":"1402086397","file3":"1402086392"},"map_files_photo_id_array":[{"photo_id":"1402086397","filename":"file5"},{"photo_id":"1402086390","filename":"file2"},{"photo_id":"1402086394","filename":"file4"},{"photo_id":"1402086388","filename":"file1"},{"photo_id":"1402086387","filename":"file0"},{"photo_id":"1402086392","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086390":["hashtag1","hashtag2"]},{"1402086387":["hashtag1","hashtag2"]},{"1402086392":["hashtag1","hashtag2"]},{"1402086397":["hashtag1","hashtag2"]},{"1402086394":["hashtag1","hashtag2"]},{"1402086388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086390, 1402086387, 1402086392, 1402086397, 1402086394, 1402086388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95155954360962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:50:02.319582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/12/image_01012026_23_12_14_9729.jpg', '/home/pi/Desktop/images/01012026/23/12/image_01012026_23_12_25_10602.jpg', '/home/pi/Desktop/images/01012026/23/12/image_01012026_23_12_35_9716.jpg', '/home/pi/Desktop/images/01012026/23/12/image_01012026_23_12_44_9749.jpg', '/home/pi/Desktop/images/01012026/23/12/image_01012026_23_13_05_9642.jpg', '/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_15_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/12/image_01012026_23_12_14_9729.jpg
/home/pi/Desktop/images/01012026/23/12/image_01012026_23_12_25_10602.jpg
/home/pi/Desktop/images/01012026/23/12/image_01012026_23_12_35_9716.jpg
/home/pi/Desktop/images/01012026/23/12/image_01012026_23_12_44_9749.jpg
/home/pi/Desktop/images/01012026/23/12/image_01012026_23_13_05_9642.jpg
/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_15_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":["1402086403","1402086400","1402086399","1402086402","1402086405","1402086401"],"photo_ids_order":["1402086399","1402086400","1402086401","1402086402","1402086403","1402086405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b15f27c0a5d80a6220402fbfd09fedf.jpg","text":"TemporaryFile(/tmp/multipartBody4435468995833399996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307862960,"filename":"image_01012026_23_13_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/45f0585df9a9db002aa480d6d5f38fc7.jpg","text":"TemporaryFile(/tmp/multipartBody7886284397434315857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307862960,"filename":"image_01012026_23_12_25_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/083cdc334314a7d77c3e577b6c7d1256.jpg","text":"TemporaryFile(/tmp/multipartBody8764126345232847366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307862960,"filename":"image_01012026_23_12_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e084d549bc4058cb02e928c048cfad9.jpg","text":"TemporaryFile(/tmp/multipartBody108166217532571344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307862960,"filename":"image_01012026_23_12_44_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ca3d9654eafabcd5b4a6daaf4518429d.jpg","text":"TemporaryFile(/tmp/multipartBody3486800586961390800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307862960,"filename":"image_01012026_23_13_15_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d47c4670c49fb853990a3cce01fc4110.jpg","text":"TemporaryFile(/tmp/multipartBody6172224896123627697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307862960,"filename":"image_01012026_23_12_35_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086401","file1":"1402086400","file0":"1402086399","file4":"1402086403","file5":"1402086405","file3":"1402086402"},"map_files_photo_id_array":[{"photo_id":"1402086405","filename":"file5"},{"photo_id":"1402086401","filename":"file2"},{"photo_id":"1402086403","filename":"file4"},{"photo_id":"1402086400","filename":"file1"},{"photo_id":"1402086399","filename":"file0"},{"photo_id":"1402086402","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086403":["hashtag1","hashtag2"]},{"1402086400":["hashtag1","hashtag2"]},{"1402086399":["hashtag1","hashtag2"]},{"1402086402":["hashtag1","hashtag2"]},{"1402086405":["hashtag1","hashtag2"]},{"1402086401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086403, 1402086400, 1402086399, 1402086402, 1402086405, 1402086401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99835681915283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:50:41.889871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_19_7694.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_22_1594.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_33_10450.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_38_3232.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_41_1590.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_43_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_19_7694.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_22_1594.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_33_10450.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_38_3232.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_41_1590.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_43_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":["1402086415","1402086414","1402086417","1402086411","1402086413","1402086416"],"photo_ids_order":["1402086411","1402086413","1402086414","1402086415","1402086416","1402086417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/31b0dc9df386e07c2295a9fb2f37bf50.jpg","text":"TemporaryFile(/tmp/multipartBody2207457000563915417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307903802,"filename":"image_04112025_20_26_38_3232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a3724b075339d655be8ab1c1388e2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2320555318345654567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307903802,"filename":"image_04112025_20_26_33_10450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/1e038b1c0fd0e4774d1fb565b451a2a4.jpg","text":"TemporaryFile(/tmp/multipartBody3963519644328855977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307903802,"filename":"image_04112025_20_26_43_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ea473ca91b6f98fcf8ef086622baec8c.jpg","text":"TemporaryFile(/tmp/multipartBody7313122521504841531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307903802,"filename":"image_04112025_20_26_19_7694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/668d82eacf925d5d74b723d8007e49d3.jpg","text":"TemporaryFile(/tmp/multipartBody4448278380133455875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307903802,"filename":"image_04112025_20_26_22_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7be3a22039f90a52f4dee53c373fbd23.jpg","text":"TemporaryFile(/tmp/multipartBody817090320075227825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307903802,"filename":"image_04112025_20_26_41_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086414","file1":"1402086413","file0":"1402086411","file4":"1402086416","file5":"1402086417","file3":"1402086415"},"map_files_photo_id_array":[{"photo_id":"1402086417","filename":"file5"},{"photo_id":"1402086414","filename":"file2"},{"photo_id":"1402086416","filename":"file4"},{"photo_id":"1402086413","filename":"file1"},{"photo_id":"1402086411","filename":"file0"},{"photo_id":"1402086415","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086415":["hashtag1","hashtag2"]},{"1402086414":["hashtag1","hashtag2"]},{"1402086417":["hashtag1","hashtag2"]},{"1402086411":["hashtag1","hashtag2"]},{"1402086413":["hashtag1","hashtag2"]},{"1402086416":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086415, 1402086414, 1402086417, 1402086411, 1402086413, 1402086416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.351033210754395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:51:22.212345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_25_10435.jpg', '/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_35_9732.jpg', '/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_45_10317.jpg', '/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_55_9749.jpg', '/home/pi/Desktop/images/01012026/23/13/image_01012026_23_14_05_9582.jpg', '/home/pi/Desktop/images/01012026/23/14/image_01012026_23_15_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_25_10435.jpg
/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_35_9732.jpg
/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_45_10317.jpg
/home/pi/Desktop/images/01012026/23/13/image_01012026_23_13_55_9749.jpg
/home/pi/Desktop/images/01012026/23/13/image_01012026_23_14_05_9582.jpg
/home/pi/Desktop/images/01012026/23/14/image_01012026_23_15_05_10701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086421","1402086424","1402086418","1402086426","1402086428","1402086422"],"photo_ids_order":["1402086418","1402086421","1402086422","1402086424","1402086426","1402086428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b02e20cfdccbe1b66c4224e2609b4d93.jpg","text":"TemporaryFile(/tmp/multipartBody4984438907493701180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307942821,"filename":"image_01012026_23_13_35_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d471b87c0e25bbcc78c1ec498c14a25b.jpg","text":"TemporaryFile(/tmp/multipartBody8924410962655490056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307942821,"filename":"image_01012026_23_13_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3b29bf6514bd29ba29891853b39a52ba.jpg","text":"TemporaryFile(/tmp/multipartBody5753360751069472991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307942821,"filename":"image_01012026_23_13_25_10435.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/eaa63df53c3344430f3fca33a9b91955.jpg","text":"TemporaryFile(/tmp/multipartBody9049683292608380168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307942821,"filename":"image_01012026_23_14_05_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/07130378bdeee142eec0246db50db08a.jpg","text":"TemporaryFile(/tmp/multipartBody3704689137362706513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307942821,"filename":"image_01012026_23_15_05_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7cc5fba91ecfcf955e07b0f9d9726407.jpg","text":"TemporaryFile(/tmp/multipartBody6208216148841243889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307942821,"filename":"image_01012026_23_13_45_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086422","file1":"1402086421","file0":"1402086418","file4":"1402086426","file5":"1402086428","file3":"1402086424"},"map_files_photo_id_array":[{"photo_id":"1402086428","filename":"file5"},{"photo_id":"1402086422","filename":"file2"},{"photo_id":"1402086426","filename":"file4"},{"photo_id":"1402086421","filename":"file1"},{"photo_id":"1402086418","filename":"file0"},{"photo_id":"1402086424","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086421":["hashtag1","hashtag2"]},{"1402086424":["hashtag1","hashtag2"]},{"1402086418":["hashtag1","hashtag2"]},{"1402086426":["hashtag1","hashtag2"]},{"1402086428":["hashtag1","hashtag2"]},{"1402086422":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086421, 1402086424, 1402086418, 1402086426, 1402086428, 1402086422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.361950635910034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:52:02.910708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_15_9676.jpg', '/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_25_9633.jpg', '/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_34_9759.jpg', '/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_45_10648.jpg', '/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_55_9613.jpg', '/home/pi/Desktop/images/01012026/23/15/image_01012026_23_16_04_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_15_9676.jpg
/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_25_9633.jpg
/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_34_9759.jpg
/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_45_10648.jpg
/home/pi/Desktop/images/01012026/23/15/image_01012026_23_15_55_9613.jpg
/home/pi/Desktop/images/01012026/23/15/image_01012026_23_16_04_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":["1402086433","1402086432","1402086435","1402086437","1402086431","1402086434"],"photo_ids_order":["1402086431","1402086432","1402086433","1402086434","1402086435","1402086437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/15de48bbb794bdc1cdf73ff580d5a795.jpg","text":"TemporaryFile(/tmp/multipartBody8328302976053942473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307983548,"filename":"image_01012026_23_15_34_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fdc0645830f167122b29d49988737a6b.jpg","text":"TemporaryFile(/tmp/multipartBody573136309155730180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307983548,"filename":"image_01012026_23_15_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e240de103f126c352ab515712c365015.jpg","text":"TemporaryFile(/tmp/multipartBody6797232616469682593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307983548,"filename":"image_01012026_23_15_55_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fff5115a4b6cd663414efc53d36e39ba.jpg","text":"TemporaryFile(/tmp/multipartBody7152065522185075054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307983548,"filename":"image_01012026_23_16_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4a7af1639966eeff49fef26be1b0f2ba.jpg","text":"TemporaryFile(/tmp/multipartBody8836808255256494724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307983548,"filename":"image_01012026_23_15_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/9e4ec718d2b86ae38296d7255447d3a0.jpg","text":"TemporaryFile(/tmp/multipartBody6975254463183001176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767307983548,"filename":"image_01012026_23_15_45_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086433","file1":"1402086432","file0":"1402086431","file4":"1402086435","file5":"1402086437","file3":"1402086434"},"map_files_photo_id_array":[{"photo_id":"1402086437","filename":"file5"},{"photo_id":"1402086433","filename":"file2"},{"photo_id":"1402086435","filename":"file4"},{"photo_id":"1402086432","filename":"file1"},{"photo_id":"1402086431","filename":"file0"},{"photo_id":"1402086434","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086433":["hashtag1","hashtag2"]},{"1402086432":["hashtag1","hashtag2"]},{"1402086435":["hashtag1","hashtag2"]},{"1402086437":["hashtag1","hashtag2"]},{"1402086431":["hashtag1","hashtag2"]},{"1402086434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086433, 1402086432, 1402086435, 1402086437, 1402086431, 1402086434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25259518623352 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:52:42.417610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_45_1600.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_46_1704.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_51_1655.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_53_1610.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_54_1591.jpg', '/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_56_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_45_1600.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_46_1704.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_51_1655.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_53_1610.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_54_1591.jpg
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_56_1608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086448","1402086442","1402086445","1402086444","1402086447","1402086446"],"photo_ids_order":["1402086442","1402086444","1402086445","1402086446","1402086447","1402086448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6542a3639f4dc7ca6f0f21807703644e.jpg","text":"TemporaryFile(/tmp/multipartBody7980931963184237951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308024377,"filename":"image_04112025_20_26_56_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3534bec1ab7bebb7a043a61bd5fd5ca3.jpg","text":"TemporaryFile(/tmp/multipartBody8552364523216240286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308024377,"filename":"image_04112025_20_26_45_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/421de1d040ae214728fd62f89fd0c7d8.jpg","text":"TemporaryFile(/tmp/multipartBody8212678368033026469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308024377,"filename":"image_04112025_20_26_51_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e94f62885421a6004b49a04897578b36.jpg","text":"TemporaryFile(/tmp/multipartBody116819389159742985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308024377,"filename":"image_04112025_20_26_46_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8802a0b18b3c8a4db55b386053a74b3f.jpg","text":"TemporaryFile(/tmp/multipartBody8921396117278611844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308024377,"filename":"image_04112025_20_26_54_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a99d22619b1d1e228f3a703232a01ced.jpg","text":"TemporaryFile(/tmp/multipartBody8852524764844016188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308024377,"filename":"image_04112025_20_26_53_1610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086445","file1":"1402086444","file0":"1402086442","file4":"1402086447","file5":"1402086448","file3":"1402086446"},"map_files_photo_id_array":[{"photo_id":"1402086448","filename":"file5"},{"photo_id":"1402086445","filename":"file2"},{"photo_id":"1402086447","filename":"file4"},{"photo_id":"1402086444","filename":"file1"},{"photo_id":"1402086442","filename":"file0"},{"photo_id":"1402086446","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086448":["hashtag1","hashtag2"]},{"1402086442":["hashtag1","hashtag2"]},{"1402086445":["hashtag1","hashtag2"]},{"1402086444":["hashtag1","hashtag2"]},{"1402086447":["hashtag1","hashtag2"]},{"1402086446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086448, 1402086442, 1402086445, 1402086444, 1402086447, 1402086446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.951457262039185 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 15
2026-01-01 23:53:22.601862
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/16/image_01012026_23_16_25_9587.jpg', '/home/pi/Desktop/images/01012026/23/16/image_01012026_23_16_34_9618.jpg', '/home/pi/Desktop/images/01012026/23/16/image_01012026_23_16_45_10597.jpg', '/home/pi/Desktop/images/01012026/23/16/image_01012026_23_16_55_9690.jpg', '/home/pi/Desktop/images/01012026/23/16/image_01012026_23_17_05_9751.jpg', '/home/pi/Desktop/images/01012026/23/17/image_01012026_23_17_15_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/16/image_01012026_23_16_25_9587.jpg
/home/pi/Desktop/images/01012026/23/16/image_01012026_23_16_34_9618.jpg
/home/pi/Desktop/images/01012026/23/16/image_01012026_23_16_45_10597.jpg
/home/pi/Desktop/images/01012026/23/16/image_01012026_23_16_55_9690.jpg
/home/pi/Desktop/images/01012026/23/16/image_01012026_23_17_05_9751.jpg
/home/pi/Desktop/images/01012026/23/17/image_01012026_23_17_15_10623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086460","1402086454","1402086453","1402086456","1402086458","1402086451"],"photo_ids_order":["1402086451","1402086453","1402086454","1402086456","1402086458","1402086460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/091eb7d0ddd1719e43ee272a9058d456.jpg","text":"TemporaryFile(/tmp/multipartBody7551456767570714680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308063214,"filename":"image_01012026_23_17_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/73f984a0f0ffca992dd5a150f3be0f85.jpg","text":"TemporaryFile(/tmp/multipartBody6796574785301703194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308063214,"filename":"image_01012026_23_16_45_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/651ec35069b37be26c09b154ddefa052.jpg","text":"TemporaryFile(/tmp/multipartBody8153851229745254481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308063214,"filename":"image_01012026_23_16_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/738082dad921215c09fcd35d0603eaa8.jpg","text":"TemporaryFile(/tmp/multipartBody9112106623459122399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308063214,"filename":"image_01012026_23_16_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/87d93824e7d84996e850301e00a84e79.jpg","text":"TemporaryFile(/tmp/multipartBody2714392778578554158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308063214,"filename":"image_01012026_23_17_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/03c81bb0eb3ae575dbf872665de5caae.jpg","text":"TemporaryFile(/tmp/multipartBody6024130727736637122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308063214,"filename":"image_01012026_23_16_25_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086454","file1":"1402086453","file0":"1402086451","file4":"1402086458","file5":"1402086460","file3":"1402086456"},"map_files_photo_id_array":[{"photo_id":"1402086460","filename":"file5"},{"photo_id":"1402086454","filename":"file2"},{"photo_id":"1402086458","filename":"file4"},{"photo_id":"1402086453","filename":"file1"},{"photo_id":"1402086451","filename":"file0"},{"photo_id":"1402086456","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086460":["hashtag1","hashtag2"]},{"1402086454":["hashtag1","hashtag2"]},{"1402086453":["hashtag1","hashtag2"]},{"1402086456":["hashtag1","hashtag2"]},{"1402086458":["hashtag1","hashtag2"]},{"1402086451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086460, 1402086454, 1402086453, 1402086456, 1402086458, 1402086451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.890156984329224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:54:03.402411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/17/image_01012026_23_17_45_10654.jpg', '/home/pi/Desktop/images/01012026/23/17/image_01012026_23_17_55_9644.jpg', '/home/pi/Desktop/images/01012026/23/17/image_01012026_23_18_05_9751.jpg', '/home/pi/Desktop/images/01012026/23/18/image_01012026_23_18_15_10186.jpg', '/home/pi/Desktop/images/01012026/23/18/image_01012026_23_18_34_9842.jpg', '/home/pi/Desktop/images/01012026/23/18/image_01012026_23_18_45_10809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/17/image_01012026_23_17_45_10654.jpg
/home/pi/Desktop/images/01012026/23/17/image_01012026_23_17_55_9644.jpg
/home/pi/Desktop/images/01012026/23/17/image_01012026_23_18_05_9751.jpg
/home/pi/Desktop/images/01012026/23/18/image_01012026_23_18_15_10186.jpg
/home/pi/Desktop/images/01012026/23/18/image_01012026_23_18_34_9842.jpg
/home/pi/Desktop/images/01012026/23/18/image_01012026_23_18_45_10809.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086463","1402086462","1402086465","1402086468","1402086464","1402086466"],"photo_ids_order":["1402086462","1402086463","1402086464","1402086465","1402086466","1402086468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/2abd210d23287740f002ab1c559edb78.jpg","text":"TemporaryFile(/tmp/multipartBody1804114387180931448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308104080,"filename":"image_01012026_23_17_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/fec4548a4b5049064a20c74a95e48157.jpg","text":"TemporaryFile(/tmp/multipartBody4438346445498377008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308104080,"filename":"image_01012026_23_17_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5f74cde0afda679d04faf579bf22cc27.jpg","text":"TemporaryFile(/tmp/multipartBody740435626925318269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308104080,"filename":"image_01012026_23_18_15_10186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b7e6cb58a31a40353d9db22e86ffbd73.jpg","text":"TemporaryFile(/tmp/multipartBody5360140692869511371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308104080,"filename":"image_01012026_23_18_45_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/625321db866cf6da188532b7c21a5051.jpg","text":"TemporaryFile(/tmp/multipartBody1316049335425734549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308104080,"filename":"image_01012026_23_18_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/8a87fef92d1161923b84e99c3cc6028e.jpg","text":"TemporaryFile(/tmp/multipartBody2139238370652325181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308104080,"filename":"image_01012026_23_18_34_9842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086464","file1":"1402086463","file0":"1402086462","file4":"1402086466","file5":"1402086468","file3":"1402086465"},"map_files_photo_id_array":[{"photo_id":"1402086468","filename":"file5"},{"photo_id":"1402086464","filename":"file2"},{"photo_id":"1402086466","filename":"file4"},{"photo_id":"1402086463","filename":"file1"},{"photo_id":"1402086462","filename":"file0"},{"photo_id":"1402086465","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086463":["hashtag1","hashtag2"]},{"1402086462":["hashtag1","hashtag2"]},{"1402086465":["hashtag1","hashtag2"]},{"1402086468":["hashtag1","hashtag2"]},{"1402086464":["hashtag1","hashtag2"]},{"1402086466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086463, 1402086462, 1402086465, 1402086468, 1402086464, 1402086466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01334834098816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:54:42.813294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_58_1609.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_09_11425.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_11_1630.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_14_1716.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_16_1744.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_18_1911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/26/image_04112025_20_26_58_1609.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_09_11425.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_11_1630.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_14_1716.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_16_1744.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_18_1911.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086480","1402086477","1402086474","1402086476","1402086479","1402086478"],"photo_ids_order":["1402086474","1402086476","1402086477","1402086478","1402086479","1402086480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6a817daaa5696d75fd4a28d14e82266a.jpg","text":"TemporaryFile(/tmp/multipartBody1621208507562402578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308144714,"filename":"image_04112025_20_27_18_1911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5c7f87fa3b736a0f7aa08d87a93e3bd.jpg","text":"TemporaryFile(/tmp/multipartBody4049406180459426805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308144714,"filename":"image_04112025_20_27_11_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d155a79d947d302df86630fb48a77f52.jpg","text":"TemporaryFile(/tmp/multipartBody2203228402334566603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308144714,"filename":"image_04112025_20_26_58_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/48db4ac4e0bea489f67afbe502d198dd.jpg","text":"TemporaryFile(/tmp/multipartBody641799759721271115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308144714,"filename":"image_04112025_20_27_09_11425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/06ac2c2095746e011f13e9a6061c1153.jpg","text":"TemporaryFile(/tmp/multipartBody6385297983080246824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308144714,"filename":"image_04112025_20_27_16_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a04d7a48d6f004a2795afa03087538ca.jpg","text":"TemporaryFile(/tmp/multipartBody2921648970398123229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308144714,"filename":"image_04112025_20_27_14_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086477","file1":"1402086476","file0":"1402086474","file4":"1402086479","file5":"1402086480","file3":"1402086478"},"map_files_photo_id_array":[{"photo_id":"1402086480","filename":"file5"},{"photo_id":"1402086477","filename":"file2"},{"photo_id":"1402086479","filename":"file4"},{"photo_id":"1402086476","filename":"file1"},{"photo_id":"1402086474","filename":"file0"},{"photo_id":"1402086478","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086480":["hashtag1","hashtag2"]},{"1402086477":["hashtag1","hashtag2"]},{"1402086474":["hashtag1","hashtag2"]},{"1402086476":["hashtag1","hashtag2"]},{"1402086479":["hashtag1","hashtag2"]},{"1402086478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086480, 1402086477, 1402086474, 1402086476, 1402086479, 1402086478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.227782011032104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:55:31.928733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_20_1784.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_22_1931.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_24_1943.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_29_1798.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_30_1654.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_32_1586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_20_1784.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_22_1931.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_24_1943.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_29_1798.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_30_1654.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_32_1586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086492","1402086485","1402086490","1402086484","1402086493","1402086487"],"photo_ids_order":["1402086484","1402086485","1402086487","1402086490","1402086492","1402086493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6d104650f976daa99d806cc57a542317.jpg","text":"TemporaryFile(/tmp/multipartBody1326045418861851097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308193882,"filename":"image_04112025_20_27_30_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/bfe93520c4a36911145e24a5032571d4.jpg","text":"TemporaryFile(/tmp/multipartBody5400493510769075465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308193882,"filename":"image_04112025_20_27_22_1931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/3df19937e188c523c0994324eeda2575.jpg","text":"TemporaryFile(/tmp/multipartBody6779383113719616697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308193882,"filename":"image_04112025_20_27_29_1798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/239e9a76df054a40cc8cdda940abeba9.jpg","text":"TemporaryFile(/tmp/multipartBody2382273188576969463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308193882,"filename":"image_04112025_20_27_20_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/f73cd619de647aad91499217d117349f.jpg","text":"TemporaryFile(/tmp/multipartBody845674700359212813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308193882,"filename":"image_04112025_20_27_32_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/d0f9e3940d4ba56f29044ffec808a514.jpg","text":"TemporaryFile(/tmp/multipartBody205142153329287875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308193882,"filename":"image_04112025_20_27_24_1943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086487","file1":"1402086485","file0":"1402086484","file4":"1402086492","file5":"1402086493","file3":"1402086490"},"map_files_photo_id_array":[{"photo_id":"1402086493","filename":"file5"},{"photo_id":"1402086487","filename":"file2"},{"photo_id":"1402086492","filename":"file4"},{"photo_id":"1402086485","filename":"file1"},{"photo_id":"1402086484","filename":"file0"},{"photo_id":"1402086490","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086492":["hashtag1","hashtag2"]},{"1402086485":["hashtag1","hashtag2"]},{"1402086490":["hashtag1","hashtag2"]},{"1402086484":["hashtag1","hashtag2"]},{"1402086493":["hashtag1","hashtag2"]},{"1402086487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086492, 1402086485, 1402086490, 1402086484, 1402086493, 1402086487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67595839500427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:56:12.143589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_34_1636.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_36_1952.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_37_1697.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_39_1616.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_41_1702.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_42_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_34_1636.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_36_1952.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_37_1697.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_39_1616.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_41_1702.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_42_1678.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086505","1402086495","1402086498","1402086496","1402086500","1402086503"],"photo_ids_order":["1402086495","1402086496","1402086498","1402086500","1402086503","1402086505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/5c8d19941934e2142ad799501d6ab458.jpg","text":"TemporaryFile(/tmp/multipartBody727913822623747154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308233941,"filename":"image_04112025_20_27_42_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/4c69bd4718dc684e3bca054195db1572.jpg","text":"TemporaryFile(/tmp/multipartBody6544487694907398528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308233941,"filename":"image_04112025_20_27_34_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cd817c42ea177bcd0926484779480849.jpg","text":"TemporaryFile(/tmp/multipartBody3892569806031005784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308233941,"filename":"image_04112025_20_27_37_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/ba567848314fd939ef8ede74c60b0f71.jpg","text":"TemporaryFile(/tmp/multipartBody5850967855937629177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308233941,"filename":"image_04112025_20_27_36_1952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/7e3b64dabc1beaa8d9781be7fe454756.jpg","text":"TemporaryFile(/tmp/multipartBody5134674105405642377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308233941,"filename":"image_04112025_20_27_39_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a7f1fb58ba966305e0e77fc7c7e2aac.jpg","text":"TemporaryFile(/tmp/multipartBody3631431137476079272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308233941,"filename":"image_04112025_20_27_41_1702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086498","file1":"1402086496","file0":"1402086495","file4":"1402086503","file5":"1402086505","file3":"1402086500"},"map_files_photo_id_array":[{"photo_id":"1402086505","filename":"file5"},{"photo_id":"1402086498","filename":"file2"},{"photo_id":"1402086503","filename":"file4"},{"photo_id":"1402086496","filename":"file1"},{"photo_id":"1402086495","filename":"file0"},{"photo_id":"1402086500","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086505":["hashtag1","hashtag2"]},{"1402086495":["hashtag1","hashtag2"]},{"1402086498":["hashtag1","hashtag2"]},{"1402086496":["hashtag1","hashtag2"]},{"1402086500":["hashtag1","hashtag2"]},{"1402086503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086505, 1402086495, 1402086498, 1402086496, 1402086500, 1402086503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.675854206085205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2026-01-01 23:57:02.968807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
  port_id : 29866072
  datou_current_id : 4297234
in upload_from_sqlite, uploading in 29866072
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/01012026/23/18/image_01012026_23_18_55_9583.jpg', '/home/pi/Desktop/images/01012026/23/18/image_01012026_23_19_05_9835.jpg', '/home/pi/Desktop/images/01012026/23/19/image_01012026_23_19_15_9876.jpg', '/home/pi/Desktop/images/01012026/23/19/image_01012026_23_19_25_10624.jpg', '/home/pi/Desktop/images/01012026/23/19/image_01012026_23_19_35_9663.jpg', '/home/pi/Desktop/images/01012026/23/19/image_01012026_23_19_44_9544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4297234&datou=0
/home/pi/Desktop/images/01012026/23/18/image_01012026_23_18_55_9583.jpg
/home/pi/Desktop/images/01012026/23/18/image_01012026_23_19_05_9835.jpg
/home/pi/Desktop/images/01012026/23/19/image_01012026_23_19_15_9876.jpg
/home/pi/Desktop/images/01012026/23/19/image_01012026_23_19_25_10624.jpg
/home/pi/Desktop/images/01012026/23/19/image_01012026_23_19_35_9663.jpg
/home/pi/Desktop/images/01012026/23/19/image_01012026_23_19_44_9544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086514","1402086511","1402086508","1402086510","1402086512","1402086509"],"photo_ids_order":["1402086508","1402086509","1402086510","1402086511","1402086512","1402086514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/703e535c5200e8a84161987d0017e832.jpg","text":"TemporaryFile(/tmp/multipartBody252038839400242165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308283663,"filename":"image_01012026_23_19_44_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/09f4616575cab3ebd8b532a8ba151c19.jpg","text":"TemporaryFile(/tmp/multipartBody4941880090595956824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308283663,"filename":"image_01012026_23_19_25_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/847c4c60d01f6bd0809a0c91dcd294a8.jpg","text":"TemporaryFile(/tmp/multipartBody2314280776765971076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308283663,"filename":"image_01012026_23_18_55_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/a711e69a97c644972470c93496eb5dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6839167955603973526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308283663,"filename":"image_01012026_23_19_15_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/6c4e3e2b67629bf6cb0fa84d2ca1a3b4.jpg","text":"TemporaryFile(/tmp/multipartBody2779348518119293009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308283663,"filename":"image_01012026_23_19_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/0a220beb8c54c71febae352f6e310a57.jpg","text":"TemporaryFile(/tmp/multipartBody6267934206976857522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308283663,"filename":"image_01012026_23_19_05_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086510","file1":"1402086509","file0":"1402086508","file4":"1402086512","file5":"1402086514","file3":"1402086511"},"map_files_photo_id_array":[{"photo_id":"1402086514","filename":"file5"},{"photo_id":"1402086510","filename":"file2"},{"photo_id":"1402086512","filename":"file4"},{"photo_id":"1402086509","filename":"file1"},{"photo_id":"1402086508","filename":"file0"},{"photo_id":"1402086511","filename":"file3"}],"portfolio_id":29866072,"hashtag_by_photo_ids":[{"1402086514":["hashtag1","hashtag2"]},{"1402086511":["hashtag1","hashtag2"]},{"1402086508":["hashtag1","hashtag2"]},{"1402086510":["hashtag1","hashtag2"]},{"1402086512":["hashtag1","hashtag2"]},{"1402086509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29866072 used, photo_id : ArrayBuffer(1402086514, 1402086511, 1402086508, 1402086510, 1402086512, 1402086509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64830732345581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 70 --only_old 1
2026-01-01 23:57:42.300518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20260101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251023 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251024 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251025 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251026 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251027 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251028 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251029 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251030 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31102025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251031 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251101 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251102 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251103 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251104 ORDER BY id_local ASC LIMIT 6;
  port_id : 28123427
  datou_current_id : 3991749
in upload_from_sqlite, uploading in 28123427
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_44_1757.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_46_1787.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_47_1558.jpg', '/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_49_1718.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_04_1656.jpg', '/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_08_4107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=3991749&datou=0
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_44_1757.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_46_1787.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_47_1558.jpg
/home/pi/Desktop/images/04112025/20/27/image_04112025_20_27_49_1718.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_04_1656.jpg
/home/pi/Desktop/images/04112025/20/28/image_04112025_20_28_08_4107.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1402086520","1402086523","1402086526","1402086525","1402086522","1402086524"],"photo_ids_order":["1402086520","1402086522","1402086523","1402086524","1402086525","1402086526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/085823aaa6290ba7b0228dae212e5b39.jpg","text":"TemporaryFile(/tmp/multipartBody6622758319312734411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308324250,"filename":"image_04112025_20_27_44_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/e2a48270ec83ef85e86c9325cf8064e2.jpg","text":"TemporaryFile(/tmp/multipartBody8981326066132701373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308324250,"filename":"image_04112025_20_27_47_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/b5496d7cfe9a94279d82a0840df84f1e.jpg","text":"TemporaryFile(/tmp/multipartBody6625149172507634005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308324250,"filename":"image_04112025_20_28_08_4107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/95708e38cc5c9aaa72367736be9fdd32.jpg","text":"TemporaryFile(/tmp/multipartBody2168608085150777909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308324250,"filename":"image_04112025_20_28_04_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/cfc7b0e11e40f8c3bbb110b3415b77ca.jpg","text":"TemporaryFile(/tmp/multipartBody3001210786120725827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308324250,"filename":"image_04112025_20_27_46_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/1/032240729bab17ceb5690d327b462988.jpg","text":"TemporaryFile(/tmp/multipartBody8791992377246132986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1767308324250,"filename":"image_04112025_20_27_49_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1402086523","file1":"1402086522","file0":"1402086520","file4":"1402086525","file5":"1402086526","file3":"1402086524"},"map_files_photo_id_array":[{"photo_id":"1402086526","filename":"file5"},{"photo_id":"1402086523","filename":"file2"},{"photo_id":"1402086525","filename":"file4"},{"photo_id":"1402086522","filename":"file1"},{"photo_id":"1402086520","filename":"file0"},{"photo_id":"1402086524","filename":"file3"}],"portfolio_id":28123427,"hashtag_by_photo_ids":[{"1402086520":["hashtag1","hashtag2"]},{"1402086523":["hashtag1","hashtag2"]},{"1402086526":["hashtag1","hashtag2"]},{"1402086525":["hashtag1","hashtag2"]},{"1402086522":["hashtag1","hashtag2"]},{"1402086524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28123427 used, photo_id : ArrayBuffer(1402086520, 1402086523, 1402086526, 1402086525, 1402086522, 1402086524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.20998740196228 secondes ---
